/*
 *             Copyright (c) 2003-2025, 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(_0x283fcf,_0x1fca02){'object'==typeof exports&&'undefined'!=typeof module?_0x1fca02(exports,require('ckeditor5')):'function'==typeof define&&define['amd']?define(['exports','ckeditor5'],_0x1fca02):_0x1fca02((_0x283fcf='undefined'!=typeof globalThis?globalThis:_0x283fcf||self)['CKEDITOR_PREMIUM_FEATURES']={},_0x283fcf['CKEDITOR']);}(this,function(exports,ckeditor5){'use strict';const _0x2f0cf5='_ungrouppedCommands';function _0x261519(_0x120d01,_0x172ba0){const _0x3ce784=(0x0,_0x172ba0['t'])('Other');return _0x120d01['length']?'groupId'in _0x120d01[0x0]?_0x120d01:[{'groupId':_0x2f0cf5,'groupLabel':_0x3ce784,'order':0x1/0x0,'commands':_0x120d01}]:[{'groupId':_0x2f0cf5,'groupLabel':_0x3ce784,'order':0x1/0x0,'commands':[]}];}const DomDataTransfer$1=globalThis['DataTransfer'],_0x2e8e58='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:_0x2e356c}=this,_0x4cd79d=['ck-fake-ai-selection'];_0x2e356c['config']['get']('ai.assistant.useTheme')&&_0x4cd79d['push']('ck-ai-assistant-ui_theme'),_0x2e356c['conversion']['for']('editingDowncast')['markerToHighlight']({'model':_0x2e8e58,'view':{'classes':_0x4cd79d,'priority':0xc}}),_0x2e356c['conversion']['for']('editingDowncast')['markerToElement']({'model':_0x2e8e58,'view':(_0x423085,{writer:_0x49267e})=>{if(!_0x423085['markerRange']['isCollapsed'])return null;const _0x3832f6=_0x49267e['createUIElement']('span');return _0x49267e['addClass'](['ck-fake-ai-selection','ck-fake-ai-selection_collapsed'],_0x3832f6),_0x3832f6;}});}['afterInit'](){_0x328f9d(this);}['showFakeVisualSelection'](){const _0x17b019=this['editor']['model'];_0x17b019['change'](_0x35fbee=>{const _0x35a882=_0x17b019['document']['selection']['getRanges']();let _0x440f84=0x0;for(const _0x4fa0f3 of _0x35a882){const _0x2d3bd7=_0x2e8e58+':'+_0x440f84;if(_0x17b019['markers']['has'](_0x2d3bd7))_0x35fbee['updateMarker'](_0x2d3bd7,{'range':_0x4fa0f3});else{if(_0x4fa0f3['start']['isAtEnd']){const _0x4bcd71=_0x4fa0f3['start']['getLastMatchingPosition'](({item:_0x367362})=>!_0x17b019['schema']['isContent'](_0x367362),{'boundaries':_0x4fa0f3});_0x35fbee['addMarker'](_0x2d3bd7,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x35fbee['createRange'](_0x4bcd71,_0x4fa0f3['end'])});}else _0x35fbee['addMarker'](_0x2d3bd7,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x4fa0f3});}_0x440f84++;}});}['hideFakeVisualSelection'](){const _0x2096ad=this['editor']['model'],_0x23478d=Array['from'](this['editor']['model']['markers']['getMarkersGroup'](_0x2e8e58));_0x23478d['length']&&_0x2096ad['change'](_0x1af739=>{_0x23478d['forEach'](_0x2b539c=>{_0x1af739['removeMarker'](_0x2b539c);});});}['insertContent'](_0x5df03e,_0x30d4ee){const _0x3d1011=this['_getAISelection'](),_0x568c78=_0x30d4ee||_0x3d1011['getFirstRange']();this['editor']['model']['canEditAt'](_0x568c78)&&this['editor']['model']['change'](_0x2c61a3=>{this['hideFakeVisualSelection'](),_0x30d4ee||this['_resetContentOfSelectedTableCells'](_0x2c61a3,_0x3d1011),this['_pasteHTMLUsingClipboard']({'insertAt':_0x568c78,'writer':_0x2c61a3,'html':_0x5df03e});});}['insertContentBelow'](_0xa79808){const {model:_0x200b59}=this['editor'],_0x1267fb=this['_getAISelection']();_0x200b59['change'](()=>{const _0x246ed6=this['_prepareTableInsertBelowPosition'](_0xa79808,_0x1267fb)||this['_getDefaultInsertBelowPosition'](_0x1267fb);this['insertContent'](_0xa79808,_0x246ed6);});}['_getAISelection'](){const _0x2d4ff1=this['editor']['model'],_0x56051c=Array['from'](_0x2d4ff1['markers']['getMarkersGroup'](_0x2e8e58))['map'](_0x872540=>_0x872540['getRange']());return _0x2d4ff1['createSelection'](_0x56051c);}['_pasteHTMLUsingClipboard']({writer:_0x79c114,html:_0x3e83aa,insertAt:_0x19fa3f}){const {view:_0x5fa49a}=this['editor']['editing'],_0x15e23c=this['editor']['plugins']['get'](ckeditor5['ClipboardPipeline']),_0x3c3363=new DomDataTransfer$1();_0x3c3363['setData']('text/html',_0x3e83aa);const _0x51a796=new ClipboardEvent('paste',{'clipboardData':_0x3c3363}),_0x4eebde=new ckeditor5['ViewDocumentDomEventData'](_0x5fa49a,_0x51a796,{'dataTransfer':new ckeditor5['ViewDataTransfer'](_0x3c3363)});_0x79c114['setSelection'](_0x19fa3f);const _0x583208=(_0x503d29,_0x53f1d5)=>{_0x53f1d5['resultRange']&&_0x79c114['setSelection'](_0x53f1d5['resultRange']);};_0x15e23c['once']('contentInsertion',_0x583208,{'priority':'lowest'}),_0x5fa49a['document']['fire']('paste',_0x4eebde),_0x15e23c['off']('contentInsertion',_0x583208);}['_getDefaultInsertBelowPosition'](_0x5bea8b){const {model:_0x28fed9}=this['editor'],_0x57934f=Array['from'](_0x5bea8b['getSelectedBlocks']());return _0x57934f['length']?_0x28fed9['createPositionAfter'](_0x57934f['pop']()):_0x5bea8b['getLastPosition']();}['_prepareTableInsertBelowPosition'](_0x2c8d3a,_0x2a9514){const {model:_0x67da5c,plugins:_0x3d6fcc}=this['editor'];if(_0x3d6fcc['has']('TableUtils')){const _0x4b1441=_0x3d6fcc['get']('TableUtils')['getSelectedTableCells'](_0x2a9514);if(_0x4b1441['length']){const _0x444b4e=this['_getTableRowCountFromContent'](_0x2c8d3a),_0x3e4a57=this['_createEmptyTableRows'](_0x4b1441,_0x444b4e);return _0x67da5c['createPositionAt'](_0x3e4a57,0x0);}}return null;}['_getTableRowCountFromContent'](_0x9fc4ec){const _0x4b7c24=this['editor']['plugins']['get']('TableUtils'),_0x88e2f7=this['editor']['data']['parse'](_0x9fc4ec),_0x255135=Array['from'](_0x88e2f7['getChildren']())['filter'](_0x385424=>_0x385424['is']('element','table'));let _0x30333c=0x0;return _0x255135['forEach'](_0x523cd6=>{_0x30333c+=_0x4b7c24['getRows'](_0x523cd6);}),_0x30333c;}['_createEmptyTableRows'](_0x59db3e,_0x128fea){const _0x35ed56=this['editor']['plugins']['get']('TableUtils'),_0x13d34f=_0x35ed56['getRowIndexes'](_0x59db3e),_0x279ec4=_0x35ed56['getColumnIndexes'](_0x59db3e),_0x2d28a8=_0x13d34f['last']+0x1,_0x413b28=_0x279ec4['first'],_0x575ab0=_0x59db3e[0x0]['findAncestor']('table');for(let _0x5afac6=0x0;_0x5afac6<_0x128fea;_0x5afac6++)_0x35ed56['insertRows'](_0x575ab0,{'at':_0x2d28a8});return _0x575ab0['getChild'](_0x2d28a8)['getChild'](_0x413b28);}['_resetContentOfSelectedTableCells'](_0x1d2444,_0x5b8dd6){const {plugins:_0x2f5841}=this['editor'],{model:_0x49731f}=_0x1d2444;if(!_0x2f5841['has']('TableUtils'))return;_0x2f5841['get']('TableUtils')['getSelectedTableCells'](_0x5b8dd6)['length']&&_0x49731f['deleteContent'](_0x5b8dd6);}}async function _0x328f9d(_0x648007){const _0x4860d5=_0x428b33([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]),_0x2b8ff4=window[_0x428b33([0x44,0x61,0x74,0x65])][_0x428b33([0x6e,0x6f,0x77])](),_0x368d7e=_0x648007[_0x428b33([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x4daa80=new window[(_0x428b33([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3935bf=>{_0x368d7e[_0x428b33([0x6f,0x6e,0x63,0x65])](_0x428b33([0x72,0x65,0x61,0x64,0x79]),_0x3935bf);}),_0x610172={[_0x428b33([0x6b,0x74,0x79])]:_0x428b33([0x45,0x43]),[_0x428b33([0x75,0x73,0x65])]:_0x428b33([0x73,0x69,0x67]),[_0x428b33([0x63,0x72,0x76])]:_0x428b33([0x50,0x2d,0x32,0x35,0x36]),[_0x428b33([0x78])]:_0x428b33([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]),[_0x428b33([0x79])]:_0x428b33([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]),[_0x428b33([0x61,0x6c,0x67])]:_0x428b33([0x45,0x53,0x32,0x35,0x36])},_0x2aa8a2=_0x368d7e[_0x428b33([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x428b33([0x67,0x65,0x74])](_0x428b33([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x4c20f4=await(async function(){let _0x47a37c,_0x1f6c00=null,_0x2ce8d3=null;try{if(_0x2aa8a2==_0x428b33([0x47,0x50,0x4c]))return _0x428b33([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x47a37c=(function(){const _0x40b733=_0x2aa8a2[_0x428b33([0x73,0x70,0x6c,0x69,0x74])](_0x428b33([0x2e]));if(0x3!=_0x40b733[_0x428b33([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;const _0x1c6376=_0x40b733[0x1];return _0xe418f4(_0x1c6376);function _0xe418f4(_0x27471c){const _0x559a0d=_0x509b92(_0x27471c);return _0x559a0d&&_0x5376dd()?_0x559a0d:null;function _0x5376dd(){const _0x4119de=_0x559a0d[_0x428b33([0x6a,0x74,0x69])],_0x45ae43=window[_0x428b33([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4119de[_0x428b33([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4119de[_0x428b33([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x435a8f={..._0x559a0d,[_0x428b33([0x6a,0x74,0x69])]:_0x4119de[_0x428b33([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x4119de[_0x428b33([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x435a8f[_0x428b33([0x76,0x63])],_0x3fbfeb(_0x435a8f)==_0x45ae43;}}}()),!_0x47a37c)return _0x428b33([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);_0x47a37c[_0x428b33([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x2ce8d3=function(_0x3a5806,_0x1eb0d9){return new window[(_0x428b33([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3e4943=>{if(_0x509d02())return _0x3e4943(_0x428b33([0x56,0x61,0x6c,0x69,0x64]));_0x56837f(),_0x368d7e[_0x428b33([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x428b33([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x2edeea=!0x1;const _0x2d408e=ckeditor5['uid']();function _0xa0e060(_0x1bddfa){return!!_0x1bddfa&&(typeof _0x1bddfa===_0x428b33([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x1bddfa===_0x428b33([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x1bddfa[_0x428b33([0x74,0x68,0x65,0x6e])]===_0x428b33([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x1bddfa[_0x428b33([0x63,0x61,0x74,0x63,0x68])]===_0x428b33([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x3c08ea(_0x44d450){_0x5611a3(_0x44d450)[_0x428b33([0x74,0x68,0x65,0x6e])](_0x51fd4f=>{if(!_0x51fd4f||_0x51fd4f[_0x428b33([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x428b33([0x6f,0x6b]))return _0x428b33([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x212179(_0x3fbfeb(_0x2d408e+_0x1eb0d9))!=_0x51fd4f[_0x428b33([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x428b33([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x428b33([0x56,0x61,0x6c,0x69,0x64]);})[_0x428b33([0x74,0x68,0x65,0x6e])](_0x2f432b=>(_0x4d0976(),_0x2f432b),()=>{const _0x579021=_0x5de5cb();return null==_0x579021?(_0x4d0976(),_0x428b33([0x56,0x61,0x6c,0x69,0x64])):_0x428b33(_0x2b8ff4-_0x579021>0x240c8400?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x428b33([0x74,0x68,0x65,0x6e])](_0x3e4943)[_0x428b33([0x63,0x61,0x74,0x63,0x68])](()=>{_0x3e4943(_0x428b33([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x140e19=0x36ee80;function _0x4d0976(){const _0x2ae6c2=_0x428b33([0x6c,0x6c,0x63,0x74,0x2d])+_0x212179(_0x3fbfeb(_0x3a5806)),_0xdc0edd=_0x25547a(_0x212179(window[_0x428b33([0x4d,0x61,0x74,0x68])][_0x428b33([0x63,0x65,0x69,0x6c])](_0x2b8ff4/_0x140e19)));window[_0x428b33([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x428b33([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2ae6c2,_0xdc0edd);}function _0x5de5cb(){const _0x475676=_0x428b33([0x6c,0x6c,0x63,0x74,0x2d])+_0x212179(_0x3fbfeb(_0x3a5806)),_0x394efa=window[_0x428b33([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x428b33([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x475676);return _0x394efa?window[_0x428b33([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x25547a(_0x394efa),0x10)*_0x140e19:null;}function _0x5611a3(_0xeb504){return new window[(_0x428b33([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x44d781,_0x1ce6f3)=>{_0xeb504[_0x428b33([0x74,0x68,0x65,0x6e])](_0x44d781,_0x1ce6f3),window[_0x428b33([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x1ce6f3,0x1d4c0);});}}_0x368d7e[_0x428b33([0x6f,0x6e])](_0x428b33([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x814efe,_0x5d8bbd)=>{if(_0x5d8bbd[0x0]!=_0x3a5806)return _0x3e4943(_0x428b33([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x5d8bbd[0x1]={..._0x5d8bbd[0x1],[_0x428b33([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x2d408e};},{[_0x428b33([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x428b33([0x68,0x69,0x67,0x68])}),_0x368d7e[_0x428b33([0x6f,0x6e])](_0x428b33([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x1f4cb6=>{_0xa0e060(_0x1f4cb6[_0x428b33([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x2edeea=!0x0,_0x3c08ea(_0x1f4cb6[_0x428b33([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x428b33([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x428b33([0x6c,0x6f,0x77])}),_0x4daa80[_0x428b33([0x74,0x68,0x65,0x6e])](()=>{_0x2edeea||_0x3e4943(_0x428b33([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x509d02(){return _0x368d7e[_0x428b33([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x428b33([0x76,0x69,0x65,0x77])][_0x428b33([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x428b33([0x61,0x75,0x74,0x6f]);}function _0x56837f(){_0x368d7e[_0x428b33([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x428b33([0x76,0x69,0x65,0x77])][_0x428b33([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x428b33([0x61,0x75,0x74,0x6f]);}}(_0x47a37c[_0x428b33([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x47a37c[_0x428b33([0x6a,0x74,0x69])]));const _0x2fec5e=await(async function(){let _0x4289bb=!0x0;try{const _0x47b3e9=_0x2aa8a2[_0x428b33([0x73,0x70,0x6c,0x69,0x74])](_0x428b33([0x2e])),[_0x49b9aa,_0x274d3f,_0x555015]=_0x47b3e9;return _0x595443(_0x49b9aa),await _0x2f8303(_0x49b9aa,_0x274d3f,_0x555015),_0x4289bb;}catch{return!0x1;}function _0x595443(_0x6c35d4){const _0x2f59a0=_0x509b92(_0x6c35d4);_0x2f59a0&&_0x2f59a0[_0x428b33([0x61,0x6c,0x67])]==_0x428b33([0x45,0x53,0x32,0x35,0x36])||(_0x4289bb=!0x1);}async function _0x2f8303(_0x34f67c,_0x4f2a8d,_0x3607ca){const _0x36e493=window[_0x428b33([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x428b33([0x66,0x72,0x6f,0x6d])](_0x3ef251(_0x3607ca),_0x1d0b46=>_0x1d0b46[_0x428b33([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x364c12=new window[(_0x428b33([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x428b33([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x34f67c+_0x428b33([0x2e])+_0x4f2a8d),_0x4185c3=window[_0x428b33([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x428b33([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x4185c3)return;const _0x3b5c70=await _0x4185c3[_0x428b33([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x428b33([0x6a,0x77,0x6b]),_0x610172,{[_0x428b33([0x6e,0x61,0x6d,0x65])]:_0x428b33([0x45,0x43,0x44,0x53,0x41]),[_0x428b33([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x428b33([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x428b33([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x4185c3[_0x428b33([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x428b33([0x6e,0x61,0x6d,0x65])]:_0x428b33([0x45,0x43,0x44,0x53,0x41]),[_0x428b33([0x68,0x61,0x73,0x68])]:{[_0x428b33([0x6e,0x61,0x6d,0x65])]:_0x428b33([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x3b5c70,_0x36e493,_0x364c12)||(_0x4289bb=!0x1);}}());return _0x2fec5e?(function(){const _0x4408d1=_0x47a37c[_0x428b33([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];if(!_0x4408d1)return!0x1;if(_0x4408d1[_0x428b33([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x428b33([0x2a])))return!0x0;if(_0x4408d1[_0x428b33([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x428b33([0x41,0x49])))return!0x0;return!0x1;}())?(function(){const _0x5c6423=[_0x428b33([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x428b33([0x74,0x72,0x69,0x61,0x6c])][_0x428b33([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x47a37c[_0x428b33([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x2b8ff4/0x3e8:0x68f03580;return _0x47a37c[_0x428b33([0x65,0x78,0x70])]<_0x5c6423;}())?_0x428b33([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):(function(){const _0x158bf2=_0x47a37c[_0x428b33([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x158bf2||0x0==_0x158bf2[_0x428b33([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x3daa5a}=new URL(window[_0x428b33([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x158bf2[_0x428b33([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3daa5a))return!0x0;const _0x9b37e8=_0x3daa5a[_0x428b33([0x73,0x70,0x6c,0x69,0x74])](_0x428b33([0x2e]));return _0x158bf2[_0x428b33([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x33fecc=>_0x33fecc[_0x428b33([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x428b33([0x2a])))[_0x428b33([0x6d,0x61,0x70])](_0x3c950d=>_0x3c950d[_0x428b33([0x73,0x70,0x6c,0x69,0x74])](_0x428b33([0x2e])))[_0x428b33([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2fa7c7=>_0x2fa7c7[_0x428b33([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x9b37e8[_0x428b33([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x428b33([0x6d,0x61,0x70])](_0x3799d7=>Array(_0x9b37e8[_0x428b33([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x3799d7[_0x428b33([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x428b33([0x66,0x69,0x6c,0x6c])](_0x3799d7[0x0]===_0x428b33([0x2a])?_0x428b33([0x2a]):'')[_0x428b33([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x3799d7))[_0x428b33([0x73,0x6f,0x6d,0x65])](_0x449f58=>_0x9b37e8[_0x428b33([0x65,0x76,0x65,0x72,0x79])]((_0x5b0228,_0x4ab864)=>_0x449f58[_0x4ab864]===_0x5b0228||_0x449f58[_0x4ab864]===_0x428b33([0x2a])));}())?(_0x47a37c[_0x428b33([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x428b33([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x1f6c00=_0x3da0e2(_0x428b33([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x47a37c[_0x428b33([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x428b33([0x74,0x72,0x69,0x61,0x6c])&&(_0x1f6c00=_0x3da0e2(_0x428b33([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await(function(){if(_0x1f6c00&&_0x2ce8d3)return new window[(_0x428b33([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2b130f,_0x330bac)=>{_0x1f6c00[_0x428b33([0x74,0x68,0x65,0x6e])](_0x2b130f,_0x330bac),_0x2ce8d3[_0x428b33([0x74,0x68,0x65,0x6e])](_0x38339b=>{_0x38339b!=_0x428b33([0x56,0x61,0x6c,0x69,0x64])&&_0x2b130f(_0x38339b);},_0x330bac);});return _0x1f6c00||_0x2ce8d3||_0x428b33([0x56,0x61,0x6c,0x69,0x64]);}())):_0x428b33([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x428b33([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x428b33([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x428b33([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}}());function _0x3da0e2(_0x598c22){const _0x4ed803=[new window[(_0x428b33([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x402c36=>setTimeout(_0x402c36,0x93ecc)),_0x4daa80[_0x428b33([0x74,0x68,0x65,0x6e])](()=>new window[(_0x428b33([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x934a1e=>{let _0x47e905=0x0;_0x368d7e[_0x428b33([0x6d,0x6f,0x64,0x65,0x6c])][_0x428b33([0x6f,0x6e])](_0x428b33([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x5c7bf7,_0x36731a)=>{_0x36731a[0x0][_0x428b33([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x47e905++,0x1f8==_0x47e905&&(_0x934a1e(),_0x5c7bf7[_0x428b33([0x6f,0x66,0x66])]());});}))];return window[_0x428b33([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x428b33([0x72,0x61,0x63,0x65])](_0x4ed803)[_0x428b33([0x74,0x68,0x65,0x6e])](()=>_0x598c22);}function _0x509b92(_0x4de05f){return _0x4de05f[_0x428b33([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x428b33([0x65,0x79]))?JSON[_0x428b33([0x70,0x61,0x72,0x73,0x65])](_0x3ef251(_0x4de05f)):null;}function _0x3ef251(_0x156f0e){return window[_0x428b33([0x61,0x74,0x6f,0x62])](_0x156f0e[_0x428b33([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x428b33([0x2b]))[_0x428b33([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x428b33([0x2f])));}function _0x3fbfeb(_0x44b609){let _0x504146=0x1505;function _0xd3cae5(_0x36f312){for(let _0x500a94=0x0;_0x500a94<_0x36f312[_0x428b33([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x500a94++){const _0xa9aa26=_0x36f312[_0x428b33([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x500a94);_0x504146=(_0x504146<<0x5)+_0x504146+_0xa9aa26,_0x504146&=_0x504146;}}return function _0x49a308(_0xff4d99){Array[_0x428b33([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0xff4d99)?_0xff4d99[_0x428b33([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x49a308):_0xff4d99&&typeof _0xff4d99==_0x428b33([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x428b33([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0xff4d99)[_0x428b33([0x73,0x6f,0x72,0x74])]()[_0x428b33([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x2ad41d,_0x170aa3])=>{_0xd3cae5(_0x2ad41d),_0x49a308(_0x170aa3);}):_0xd3cae5(window[_0x428b33([0x53,0x74,0x72,0x69,0x6e,0x67])](_0xff4d99));}(_0x44b609),_0x504146>>>0x0;}function _0x212179(_0x2fe828){return _0x2fe828[_0x428b33([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x428b33([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x428b33([0x30]));}function _0x25547a(_0x590c10){return _0x590c10[_0x428b33([0x73,0x70,0x6c,0x69,0x74])]('')[_0x428b33([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x428b33([0x6a,0x6f,0x69,0x6e])]('');}function _0x5b3fe1(){}function _0x428b33(_0x1902cb){return _0x1902cb['map'](_0x42768e=>String['fromCharCode'](_0x42768e))['join']('');}!function(_0x5b070a){const _0x37eef0=(function(){const _0x42e41f=window[_0x428b33([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x428b33([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x428b33([0x6e,0x6f,0x77])]())[_0x428b33([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x428b33([0x2e]),'');let _0xd6554=_0x428b33([0x6e]);for(let _0x1ec7f3=0x0;_0x1ec7f3<_0x42e41f[_0x428b33([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1ec7f3+=0x2){let _0x49d73d=window[_0x428b33([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x42e41f[_0x428b33([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1ec7f3,_0x1ec7f3+0x2));_0x49d73d>=_0x4860d5[_0x428b33([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x49d73d-=_0x4860d5[_0x428b33([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0xd6554+=_0x4860d5[_0x49d73d];}return _0xd6554;}());_0x368d7e[_0x37eef0]=_0x428b33([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x5b070a,_0x5b070a!=_0x428b33([0x56,0x61,0x6c,0x69,0x64])&&(async function(){await _0x4daa80,_0x368d7e[_0x428b33([0x6d,0x6f,0x64,0x65,0x6c])][_0x428b33([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x5b3fe1,_0x368d7e[_0x428b33([0x6d,0x6f,0x64,0x65,0x6c])][_0x428b33([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x5b3fe1,_0x368d7e[_0x428b33([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x428b33([0x6d,0x6f,0x64,0x65,0x6c]));}());}(_0x4c20f4);}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(_0x4cd0ef){super(_0x4cd0ef),this['name']='AIRequestError';}}function getTranslation$j(_0xb4ee5b,_0x23dc11,_0x3f7eb2){const t=_0xb4ee5b['t'];switch(_0x23dc11){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',_0x3f7eb2);case'Error\x20during\x20AI\x20content\x20generation:\x20%0':return t('Error\x20during\x20AI\x20content\x20generation:\x20%0',_0x3f7eb2);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'},_0x3f7eb2);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 _0x23dc11;}}class ShowAIAssistantCommand extends ckeditor5['Command']{['_commandDefinitions'];constructor(_0x435c60,_0x38a7d7){super(_0x435c60),this['_commandDefinitions']=_0x38a7d7,this['set']('enabledCommandsIds',[]),this['on']('change:_hasContext',(_0x3fc0ba,_0x48fc7d,_0x35f35e)=>{this['isEnabled']&&(this['enabledCommandsIds']=_getEnabledCommands(this['_commandDefinitions'],_0x35f35e));}),this['set']('_hasContext',!0x1),this['on']('change:isEnabled',(_0x287be8,_0x34e8d5,_0x7f1947)=>{this['enabledCommandsIds']=_0x7f1947?_getEnabledCommands(this['_commandDefinitions'],this['_hasContext']):[];});}['refresh'](){const _0x3553e5=this['editor']['model'];this['_hasContext']=_isContextAvailable(_0x3553e5);const _0x3ab51b=_0x3553e5['document']['selection'],_0x1cf0d0=this['editor']['config']['get']('ai.assistant.disabledElements');for(const _0x18a153 of _0x3ab51b['getRanges']())for(const _0xcc1590 of _0x18a153['getItems']())if(_0xcc1590['is']('element')&&_0x1cf0d0['includes'](_0xcc1590['name']))return void(this['isEnabled']=!0x1);this['isEnabled']=!0x0;}['execute'](_0xa184d='',_0x57c182='',_0x1c587a='custom'){this['editor']['plugins']['get'](AIAssistantUI)['showUI'](_0xa184d,_0x57c182,_0x1c587a);}}function _isContextAvailable(_0x11ca86){const _0x387ad6=_0x11ca86['document']['selection'];return _0x387ad6['isCollapsed']?0x0!==[..._0x387ad6['getSelectedBlocks']()]['length']&&![..._0x387ad6['getSelectedBlocks']()][0x0]['isEmpty']:!!_0x11ca86['hasContent'](_0x387ad6['getFirstRange']());}function _getEnabledCommands(_0x2cf10a,_0x32693a){const _0x221cbc=new Set();for(const _0x170988 of _0x2cf10a['values']())(_0x32693a||!0x1===_0x170988['requiresContent'])&&_0x221cbc['add'](_0x170988['id']);return Array['from'](_0x221cbc);}const _0x9316cd=0x64,_0x3fe5dd=new RegExp(/^(.*?)<[a-zA-Z][a-zA-Z0-9_\-.]*[ >]/,'is');class AIAssistantController extends/* #__PURE__ -- @preserve */
ckeditor5['ObservableMixin'](){['editor'];['textAdapter'];['view'];['_sanitizationContainer'];['_domParser'];['_xmlSerializer'];constructor(_0x33dd75,_0x1a833d,_0x20363d){super(),this['editor']=_0x33dd75,this['textAdapter']=_0x1a833d,this['_sanitizationContainer']=document['createElement']('div'),this['_domParser']=new DOMParser(),this['_xmlSerializer']=new XMLSerializer(),this['view']=_0x20363d,this['set']({'initialContext':'','currentContext':'','currentResponse':'','previousContext':void 0x0,'previousQuery':void 0x0,'previousLabel':void 0x0,'isProcessing':!0x1}),this['on']('set:currentContext',(_0x422895,_0x428ab1,_0x3065be)=>{this['view']['value']=this['_sanitizeHTML'](_0x3065be);}),this['listenTo'](this['view'],'submitPrompt',(_0x56e908,_0x2a01fd)=>{const _0x5bcec4=this['currentContext']||this['initialContext'];this['_handleQuery'](_0x2a01fd,_0x5bcec4,'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:_0x499e9a,query:_0xcb08cc,htmlContent:_0x12c235,label:_0x4d8eee,mainActionLabel:_0x3722b8}){this['view']['prompt']=_0x4d8eee,this['view']['mainAction']=_0x3722b8,this['initialContext']=_0x12c235,_0xcb08cc&&(this['view']['isRendered']?this['_handleQuery'](_0xcb08cc,_0x12c235,_0x499e9a,_0x4d8eee):this['view']['once']('render',()=>{this['_handleQuery'](_0xcb08cc,_0x12c235,_0x499e9a,_0x4d8eee);}));}['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'](_0x5702a8,_0x262f76,_0x5935ba,_0x3fd4da){return this['isProcessing']=!0x0,this['view']['startProcessing'](),this['previousContext']=_0x262f76,this['previousQuery']=_0x5702a8,this['previousLabel']=_0x3fd4da||_0x5702a8,this['previousActionId']=_0x5935ba,new Promise(_0xdc991a=>{this['textAdapter']['makeRequest']({'query':_0x5702a8,'context':_0x262f76,'onData':_0x327098=>{this['currentResponse']=_0x327098,this['currentContext']=this['_parseAndNormalizeContent'](this['currentResponse']);},'actionId':_0x5935ba})['then'](()=>{!this['currentContext']&&this['currentResponse']&&(this['currentContext']=this['_parseAndNormalizeContent'](this['currentResponse'],!0x0));})['catch'](_0x2994ac=>{_0x2994ac instanceof AIRequestError?this['view']['handleError'](_0x2994ac['message']):this['view']['handleError'](),_0xdc991a();})['finally'](()=>{this['stopProcessing'](),_0xdc991a();});});}['_parseAndNormalizeContent'](_0x551672,_0x36bc4d=!0x1){const _0x24b077=_0x3fe5dd['exec'](_0x551672);_0x551672=_0x24b077?_0x551672['substring'](_0x24b077[0x1]['length']):_0x551672['length']<_0x9316cd&&!_0x36bc4d?'':this['_stripMarkdownSyntax'](_0x551672);const _0x24a593=this['_domParser']['parseFromString'](_0x551672,'text/html');if(_0x24b077){const _0x2ff5b6=Array['from'](_0x24a593['body']['childNodes']);_0x2ff5b6['reverse']();for(const _0x37450f of _0x2ff5b6){if(_0x37450f['nodeType']==Node['ELEMENT_NODE'])break;_0x37450f['remove']();}}const _0x2dc14f=this['editor']['data']['processor']['toView'](this['_xmlSerializer']['serializeToString'](_0x24a593['body']));this['_isH1TagSupportEnabled']()||this['_normalizeResponseHeadings'](_0x2dc14f);const _0x5a58c4=this['editor']['config']['get']('ai.assistant.preserveComments'),_0x396524=this['editor']['data']['toModel'](_0x2dc14f);return _0x5a58c4||_0x396524['markers']['clear'](),this['editor']['data']['stringify'](_0x396524);}['_normalizeResponseHeadings'](_0x1dd7e2){const _0x4a76c3=new ckeditor5['ViewUpcastWriter'](this['editor']['editing']['view']['document']),_0x34abda=new ckeditor5['Matcher']({'name':/^h[1-5]$/}),_0xce2328=[];let _0x2a5671=!0x1;for(const _0x5301aa of _0x1dd7e2)_0x5301aa['is']('element')&&_0x34abda['match'](_0x5301aa)&&(_0xce2328['push'](_0x5301aa),'h1'==_0x5301aa['name']&&(_0x2a5671=!0x0));if(_0x2a5671){for(const _0x16d47f of _0xce2328)_0x4a76c3['rename']('h'+(parseInt(_0x16d47f['name'][0x1])+0x1),_0x16d47f);}}['_isH1TagSupportEnabled'](){const {data:_0x36bf19,editing:_0x2e3c6f}=this['editor'],_0x5c6eb9=_0x36bf19['htmlProcessor']['toView']('<h1></h1>'),_0x146af8=_0x36bf19['toView'](_0x36bf19['toModel'](_0x5c6eb9));return!!_0x2e3c6f['view']['domConverter']['viewToDom'](_0x146af8)['querySelector']('h1');}['_sanitizeHTML'](_0x4c4652){return this['editor']['editing']['view']['domConverter']['setContentOf'](this['_sanitizationContainer'],_0x4c4652),this['_sanitizationContainer']['innerHTML'];}['_stripMarkdownSyntax'](_0x21d285){const _0x4ede48=_0x21d285['trim']();return _0x4ede48['startsWith']('```html')?_0x4ede48['endsWith']('```')?_0x4ede48['substring'](0x7,_0x4ede48['length']-0x3):_0x4ede48['substring'](0x7):_0x21d285;}}const AIFormToolbarViewMainActionLabel={'REPLACE':'replace','INSERT':'insert'};class _0x3aafb8 extends ckeditor5['ToolbarView']{constructor(_0x2a4289){super(_0x2a4289),this['set']('isVisible',!0x1),this['set']('mainAction',AIFormToolbarViewMainActionLabel['REPLACE']),this['replaceButton']=this['_createButton']('','ck-button-action'),this['replaceButton']['bind']('label')['to'](this,'mainAction',_0x4f044c=>getTranslation$j(_0x2a4289,'AI_'+_0x4f044c['toUpperCase']()+'_CONTENT')),this['insertButton']=this['_createButton'](getTranslation$j(_0x2a4289,'Insert\x20below')),this['tryAgainButton']=this['_createButton'](getTranslation$j(_0x2a4289,'Try\x20again')),this['stopButton']=this['_createButton'](getTranslation$j(_0x2a4289,'Stop'));const _0x560d2f=this['bindTemplate'];this['extendTemplate']({'attributes':{'class':['ck-ai-form__toolbar',_0x560d2f['if']('isVisible','ck-hidden',_0x551060=>!_0x551060)]}}),this['items']['addMany']([this['replaceButton'],this['insertButton'],this['tryAgainButton'],this['stopButton']]);}['_createButton'](_0x5cdde3,_0x7615b5){const _0x402b98=new ckeditor5['ButtonView'](this['locale']);return _0x402b98['set']({'label':_0x5cdde3,'class':_0x7615b5||'','isVisible':!0x0,'withText':!0x0}),_0x402b98;}}class AIFormContentArea extends ckeditor5['View']{['contentFieldView'];['copyButtonView'];constructor(_0x1e6fc2,_0x5d9f20=''){super(_0x1e6fc2),this['set']({'value':null,'isVisible':!0x1,'isProcessing':!0x1});const _0x17671f=this['bindTemplate'];this['contentFieldView']=new ContentFieldView(_0x1e6fc2,_0x5d9f20),this['copyButtonView']=this['_createCopyButton'](),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-form__content-area-wrapper',_0x17671f['if']('isVisible','ck-hidden',_0x4ea4a1=>!_0x4ea4a1)],'tabindex':'-1'},'children':[{'tag':'div','attributes':{'class':['ck','ck-ai-form__content-area',_0x17671f['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 _0x57adc8=!0x1;this['on']('change:value',(_0x6407ad,_0x2c6213,_0x26dcde)=>{const _0x4c3655=!this['contentFieldView']['element']['querySelector']('.ck-ai-form__loader');this['contentFieldView']['setContent'](_0x26dcde),this['isProcessing']&&_0x4c3655&&!_0x57adc8&&this['element']['scrollTo']({'top':this['element']['scrollHeight'],'behavior':'smooth'});}),this['on']('change:isProcessing',(_0x454d6d,_0x46ddd8,_0x4fa1bc)=>{_0x57adc8=!0x1,_0x4fa1bc?(this['value']=null,this['contentFieldView']['appendLoader']()):this['value']||this['contentFieldView']['setContent']('');}),this['listenTo'](this['element'],'wheel',()=>{_0x57adc8=!0x0;}),this['listenTo'](this['element'],'mousedown',()=>{_0x57adc8=!0x0;});}['focus'](){this['element']['focus']();}['_createCopyButton'](){const _0x280a38=this['locale'],_0x19ed31=new ckeditor5['ButtonView'](this['locale']),_0x1d2a6b='ck-ai-form__copy-button';return _0x19ed31['set']({'label':getTranslation$j(_0x280a38,'Copy'),'icon':ckeditor5['IconCopy'],'class':_0x1d2a6b,'tooltip':!0x0}),_0x19ed31['bind']('isVisible')['to'](this,'value',_0x15ac07=>!!_0x15ac07),_0x19ed31['bind']('isEnabled')['to'](this,'isProcessing',_0x4018aa=>!_0x4018aa),_0x19ed31['on']('execute',()=>{this['_copyHTMLToClipboard'](this['contentFieldView']['element']),_0x19ed31['icon']=ckeditor5['IconCheck'],_0x19ed31['class']=_0x1d2a6b+'\x20ck-ai-form__copy-button--copied',this['focus'](),setTimeout(()=>{_0x19ed31['icon']=ckeditor5['IconCopy'],_0x19ed31['class']=_0x1d2a6b;},0x3e8);}),_0x19ed31;}['_copyHTMLToClipboard'](_0x5b9681){const {window:_0x1db3fd,document:_0x2c300e}=ckeditor5['global'];if(_0x1db3fd['ClipboardItem']){const {Blob:_0x142909,ClipboardItem:_0x618e3c}=_0x1db3fd,_0x50f163=[new _0x618e3c({'text/html':new _0x142909([_0x5b9681['innerHTML']],{'type':'text/html'}),'text/plain':new _0x142909([_0x5b9681['textContent']||''],{'type':'text/plain'})})];navigator['clipboard']['write'](_0x50f163);}else{const _0x443492=_0x2c300e['createElement']('div');_0x443492['style']['position']='absolute',_0x443492['style']['left']='-9999px',_0x443492['innerHTML']='<span>[</span>'+_0x5b9681['innerHTML']+'<span>]</span>',_0x2c300e['body']['appendChild'](_0x443492);const _0xfd2c86=_0x2c300e['createRange']();_0xfd2c86['setStartAfter'](_0x443492['firstElementChild']),_0xfd2c86['setEndBefore'](_0x443492['lastElementChild']);const _0x906363=_0x1db3fd['getSelection']();_0x906363['removeAllRanges'](),_0x906363['addRange'](_0xfd2c86),_0x2c300e['execCommand']('copy'),_0x443492['remove']();}}}class ContentFieldView extends ckeditor5['View']{constructor(_0x1da23c,_0x43f044=''){super(_0x1da23c),this['loaderView']=this['_createLoader'](),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-content',_0x43f044,'ck-reset_all-excluded','ck-ai-form__content-field']}});}['setContent'](_0x5db495){this['element']['innerHTML']=_0x5db495;}['appendLoader'](){this['element']['appendChild'](this['loaderView']['element']);}['_createLoader'](){const _0x2b7775=new ckeditor5['View'](),_0xe0891b=this['locale'],_0x333416=new ckeditor5['SpinnerView']();return _0x333416['isVisible']=!0x0,_0x2b7775['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-form__loader']},'children':[_0x333416,{'text':getTranslation$j(_0xe0891b,'AI\x20is\x20writing...')}]}),_0x2b7775['render'](),_0x2b7775;}}class _0x1b0f87 extends ckeditor5['View']{constructor(_0x3000ea,_0x9f0a17=''){super(_0x3000ea);const _0xe58d22=new ckeditor5['IconView'](),_0x18a09d=this['bindTemplate'];this['set']('text',_0x9f0a17),_0xe58d22['content']=ckeditor5['IconError'],this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-form__error']},'children':[_0xe58d22,{'text':_0x18a09d['to']('text')}]});}}class AIFormPromptView extends ckeditor5['AutocompleteView']{['submitButtonView'];['showHistoryButtonView'];constructor(_0xe66d12,_0x30eabd){super(_0xe66d12,_0x30eabd),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',(_0x27dbf7,_0x85d4eb)=>{_0x27dbf7['target']==this['queryView']['fieldView']['element']&&(this['submit'](),_0x85d4eb());});}['_createSubmitButton'](){const _0xec2d34=new ckeditor5['ButtonView'](this['locale']),_0x387abc=this['locale'];return _0xec2d34['set']({'icon':ckeditor5['IconSubmit'],'label':getTranslation$j(_0x387abc,'Submit'),'isVisible':!0x0,'tooltip':!0x0,'class':'ck-ai-form__submit'}),_0xec2d34['on']('execute',()=>{this['submit']();}),_0xec2d34['bind']('isEnabled')['to'](this['queryView']['fieldView'],'isEmpty',this,'isEnabled',(_0xaee10b,_0x1a160c)=>!_0xaee10b&&_0x1a160c),_0xec2d34;}['_createShowHistoryButton'](){const _0x5e4741=new ckeditor5['ButtonView'](this['locale']),_0x570ad8=this['resultsView'],_0x22580f=this['locale'];_0x5e4741['set']({'label':getTranslation$j(_0x22580f,'History'),'withText':!0x1,'icon':ckeditor5['IconAIHistory'],'tooltip':!0x0,'tooltipPosition':'sw','class':'ck-ai-form__toggle-history'}),_0x5e4741['bind']('isOn')['to'](_0x570ad8,'isVisible'),_0x5e4741['bind']('isEnabled')['to'](this,'isEnabled'),_0x5e4741['on']('execute',()=>{_0x570ad8['isVisible']=!_0x570ad8['isVisible'],_0x570ad8['isVisible']?this['filteredView']['focus']():this['focus']();});const _0x397037=()=>{ckeditor5['global']['window']['requestAnimationFrame'](()=>{if(ckeditor5['isVisible'](this['element'])){const _0x53ab6f=new ckeditor5['Rect'](this['queryView']['fieldView']['element']),_0x169740=_0x53ab6f['width'],_0x310d41='rtl'===_0x22580f['uiLanguageDirection']?'left':'right';_0x53ab6f['excludeScrollbarsAndBorders'](),_0x5e4741['element']['style'][_0x310d41]=_0x169740-_0x53ab6f['width']+0x1+'px';}});};return this['queryView']['fieldView']['on']('update',_0x397037),this['on']('render',_0x397037),_0x5e4741;}['submit'](){const _0x6e22f1=this['queryView']['fieldView']['element']['value'];this['fire']('submit',_0x6e22f1);}['focus'](_0x59efb6){-0x1===_0x59efb6?this['focusCycler']['focusLast']():this['focusCycler']['focusFirst']();}}class AIHistoryListView extends ckeditor5['ListView']{['historyGroupView'];['clearHistoryButton'];constructor(_0x40eb9b){super(_0x40eb9b),this['clearHistoryButton']=this['_createClearHistoryButton'](),this['historyGroupView']=new ckeditor5['ListItemGroupView'](),this['historyGroupView']['children']['add'](this['clearHistoryButton'],0x1),this['historyGroupView']['label']=getTranslation$j(_0x40eb9b,'Prompt\x20history'),this['historyGroupView']['items']['delegate']('execute')['to'](this),this['items']['add'](this['historyGroupView']);}['filter'](){let _0x281d66=0x0;for(const _0x46b213 of this['items'])_0x281d66+=_0x46b213['items']['length'];return{'resultsCount':_0x281d66,'totalItemsCount':_0x281d66};}['_createClearHistoryButton'](){const _0x31d35f=this['locale'],_0x5ee69f=new ckeditor5['ButtonView'](this['locale']);return _0x5ee69f['set']({'label':'('+getTranslation$j(_0x31d35f,'Clear')+')','withText':!0x0}),_0x5ee69f['on']('execute',()=>this['fire']('clearHistory')),_0x5ee69f;}}function isUnsafeProperty(_0x51cec5){return'__proto__'===_0x51cec5;}function _0x5a968e(_0x6f5e9b){switch(typeof _0x6f5e9b){case'number':case'symbol':return!0x1;case'string':return _0x6f5e9b['includes']('.')||_0x6f5e9b['includes']('[')||_0x6f5e9b['includes'](']');}}function toKey(_0x460aff){return'string'==typeof _0x460aff||'symbol'==typeof _0x460aff?_0x460aff:Object['is'](_0x460aff?.['valueOf']?.(),-0x0)?'-0':String(_0x460aff);}function toPath(_0x34314c){const _0x51dddd=[],_0x2a4e36=_0x34314c['length'];if(0x0===_0x2a4e36)return _0x51dddd;let _0x273043=0x0,_0x3b006c='',_0x31904b='',_0xdae004=!0x1;for(0x2e===_0x34314c['charCodeAt'](0x0)&&(_0x51dddd['push'](''),_0x273043++);_0x273043<_0x2a4e36;){const _0x192ed9=_0x34314c[_0x273043];_0x31904b?'\x5c'===_0x192ed9&&_0x273043+0x1<_0x2a4e36?(_0x273043++,_0x3b006c+=_0x34314c[_0x273043]):_0x192ed9===_0x31904b?_0x31904b='':_0x3b006c+=_0x192ed9:_0xdae004?'\x22'===_0x192ed9||'\x27'===_0x192ed9?_0x31904b=_0x192ed9:']'===_0x192ed9?(_0xdae004=!0x1,_0x51dddd['push'](_0x3b006c),_0x3b006c=''):_0x3b006c+=_0x192ed9:'['===_0x192ed9?(_0xdae004=!0x0,_0x3b006c&&(_0x51dddd['push'](_0x3b006c),_0x3b006c='')):'.'===_0x192ed9?_0x3b006c&&(_0x51dddd['push'](_0x3b006c),_0x3b006c=''):_0x3b006c+=_0x192ed9,_0x273043++;}return _0x3b006c&&_0x51dddd['push'](_0x3b006c),_0x51dddd;}function get(_0x15f2c8,_0x2202b0,_0x4e7b5a){if(null==_0x15f2c8)return _0x4e7b5a;switch(typeof _0x2202b0){case'string':{if(isUnsafeProperty(_0x2202b0))return _0x4e7b5a;const _0x29769a=_0x15f2c8[_0x2202b0];return void 0x0===_0x29769a?_0x5a968e(_0x2202b0)?get(_0x15f2c8,toPath(_0x2202b0),_0x4e7b5a):_0x4e7b5a:_0x29769a;}case'number':case'symbol':{'number'==typeof _0x2202b0&&(_0x2202b0=toKey(_0x2202b0));const _0x56f3df=_0x15f2c8[_0x2202b0];return void 0x0===_0x56f3df?_0x4e7b5a:_0x56f3df;}default:{if(Array['isArray'](_0x2202b0))return getWithPath(_0x15f2c8,_0x2202b0,_0x4e7b5a);if(isUnsafeProperty(_0x2202b0=Object['is'](_0x2202b0?.['valueOf'](),-0x0)?'-0':String(_0x2202b0)))return _0x4e7b5a;const _0x113b96=_0x15f2c8[_0x2202b0];return void 0x0===_0x113b96?_0x4e7b5a:_0x113b96;}}}function getWithPath(_0x358974,_0x5f159c,_0x1fe5fb){if(0x0===_0x5f159c['length'])return _0x1fe5fb;let _0x357fb0=_0x358974;for(let _0x3e7c19=0x0;_0x3e7c19<_0x5f159c['length'];_0x3e7c19++){if(null==_0x357fb0)return _0x1fe5fb;if(isUnsafeProperty(_0x5f159c[_0x3e7c19]))return _0x1fe5fb;_0x357fb0=_0x357fb0[_0x5f159c[_0x3e7c19]];}return void 0x0===_0x357fb0?_0x1fe5fb:_0x357fb0;}function isObject$3(_0xd9202c){return null!==_0xd9202c&&('object'==typeof _0xd9202c||'function'==typeof _0xd9202c);}function isPrimitive(_0x4f2897){return null==_0x4f2897||'object'!=typeof _0x4f2897&&'function'!=typeof _0x4f2897;}function _0x56875c(_0x4c5463,_0x422c50){return _0x4c5463===_0x422c50||Number['isNaN'](_0x4c5463)&&Number['isNaN'](_0x422c50);}function getSymbols(_0x5772ab){return Object['getOwnPropertySymbols'](_0x5772ab)['filter'](_0x4b1094=>Object['prototype']['propertyIsEnumerable']['call'](_0x5772ab,_0x4b1094));}function getTag(_0x558c3c){return null==_0x558c3c?void 0x0===_0x558c3c?'[object\x20Undefined]':'[object\x20Null]':Object['prototype']['toString']['call'](_0x558c3c);}const _0x266575='[object\x20RegExp]',stringTag='[object\x20String]',_0x441024='[object\x20Number]',_0xc19a64='[object\x20Boolean]',argumentsTag='[object\x20Arguments]',_0x51b588='[object\x20Symbol]',dateTag='[object\x20Date]',_0x37f020='[object\x20Map]',setTag='[object\x20Set]',_0x30b9ec='[object\x20Array]',functionTag='[object\x20Function]',_0x3410f6='[object\x20ArrayBuffer]',objectTag='[object\x20Object]',_0x438b95='[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 _0x4fe867(_0x2c85af){return ArrayBuffer['isView'](_0x2c85af)&&!(_0x2c85af instanceof DataView);}function cloneDeepWith$1(_0x32ee7f,_0x58a876){return cloneDeepWithImpl(_0x32ee7f,void 0x0,_0x32ee7f,new Map(),_0x58a876);}function cloneDeepWithImpl(_0x43c603,_0x4511e3,_0x38ec9c,_0x227c76=new Map(),_0x4a84f4=void 0x0){const _0x2df32d=_0x4a84f4?.(_0x43c603,_0x4511e3,_0x38ec9c,_0x227c76);if(null!=_0x2df32d)return _0x2df32d;if(isPrimitive(_0x43c603))return _0x43c603;if(_0x227c76['has'](_0x43c603))return _0x227c76['get'](_0x43c603);if(Array['isArray'](_0x43c603)){const _0x24456b=new Array(_0x43c603['length']);_0x227c76['set'](_0x43c603,_0x24456b);for(let _0x554eda=0x0;_0x554eda<_0x43c603['length'];_0x554eda++)_0x24456b[_0x554eda]=cloneDeepWithImpl(_0x43c603[_0x554eda],_0x554eda,_0x38ec9c,_0x227c76,_0x4a84f4);return Object['hasOwn'](_0x43c603,'index')&&(_0x24456b['index']=_0x43c603['index']),Object['hasOwn'](_0x43c603,'input')&&(_0x24456b['input']=_0x43c603['input']),_0x24456b;}if(_0x43c603 instanceof Date)return new Date(_0x43c603['getTime']());if(_0x43c603 instanceof RegExp){const _0x4eea86=new RegExp(_0x43c603['source'],_0x43c603['flags']);return _0x4eea86['lastIndex']=_0x43c603['lastIndex'],_0x4eea86;}if(_0x43c603 instanceof Map){const _0x4e60b3=new Map();_0x227c76['set'](_0x43c603,_0x4e60b3);for(const [_0x320fd7,_0x2cf5ce]of _0x43c603)_0x4e60b3['set'](_0x320fd7,cloneDeepWithImpl(_0x2cf5ce,_0x320fd7,_0x38ec9c,_0x227c76,_0x4a84f4));return _0x4e60b3;}if(_0x43c603 instanceof Set){const _0x2f3c6a=new Set();_0x227c76['set'](_0x43c603,_0x2f3c6a);for(const _0x2b767f of _0x43c603)_0x2f3c6a['add'](cloneDeepWithImpl(_0x2b767f,void 0x0,_0x38ec9c,_0x227c76,_0x4a84f4));return _0x2f3c6a;}if('undefined'!=typeof Buffer&&Buffer['isBuffer'](_0x43c603))return _0x43c603['subarray']();if(_0x4fe867(_0x43c603)){const _0x232773=new(Object['getPrototypeOf'](_0x43c603))['constructor'](_0x43c603['length']);_0x227c76['set'](_0x43c603,_0x232773);for(let _0x27e33e=0x0;_0x27e33e<_0x43c603['length'];_0x27e33e++)_0x232773[_0x27e33e]=cloneDeepWithImpl(_0x43c603[_0x27e33e],_0x27e33e,_0x38ec9c,_0x227c76,_0x4a84f4);return _0x232773;}if(_0x43c603 instanceof ArrayBuffer||'undefined'!=typeof SharedArrayBuffer&&_0x43c603 instanceof SharedArrayBuffer)return _0x43c603['slice'](0x0);if(_0x43c603 instanceof DataView){const _0x38450e=new DataView(_0x43c603['buffer']['slice'](0x0),_0x43c603['byteOffset'],_0x43c603['byteLength']);return _0x227c76['set'](_0x43c603,_0x38450e),copyProperties(_0x38450e,_0x43c603,_0x38ec9c,_0x227c76,_0x4a84f4),_0x38450e;}if('undefined'!=typeof File&&_0x43c603 instanceof File){const _0x3b24a8=new File([_0x43c603],_0x43c603['name'],{'type':_0x43c603['type']});return _0x227c76['set'](_0x43c603,_0x3b24a8),copyProperties(_0x3b24a8,_0x43c603,_0x38ec9c,_0x227c76,_0x4a84f4),_0x3b24a8;}if(_0x43c603 instanceof Blob){const _0x32e085=new Blob([_0x43c603],{'type':_0x43c603['type']});return _0x227c76['set'](_0x43c603,_0x32e085),copyProperties(_0x32e085,_0x43c603,_0x38ec9c,_0x227c76,_0x4a84f4),_0x32e085;}if(_0x43c603 instanceof Error){const _0x521247=new _0x43c603['constructor']();return _0x227c76['set'](_0x43c603,_0x521247),_0x521247['message']=_0x43c603['message'],_0x521247['name']=_0x43c603['name'],_0x521247['stack']=_0x43c603['stack'],_0x521247['cause']=_0x43c603['cause'],copyProperties(_0x521247,_0x43c603,_0x38ec9c,_0x227c76,_0x4a84f4),_0x521247;}if('object'==typeof _0x43c603&&isCloneableObject(_0x43c603)){const _0x460c7d=Object['create'](Object['getPrototypeOf'](_0x43c603));return _0x227c76['set'](_0x43c603,_0x460c7d),copyProperties(_0x460c7d,_0x43c603,_0x38ec9c,_0x227c76,_0x4a84f4),_0x460c7d;}return _0x43c603;}function copyProperties(_0x4fb29d,_0x145fc3,_0x3a82ed=_0x4fb29d,_0x3230f8,_0x46abb7){const _0x5187b7=[...Object['keys'](_0x145fc3),...getSymbols(_0x145fc3)];for(let _0x5d1f33=0x0;_0x5d1f33<_0x5187b7['length'];_0x5d1f33++){const _0xee67d9=_0x5187b7[_0x5d1f33],_0x2489e1=Object['getOwnPropertyDescriptor'](_0x4fb29d,_0xee67d9);(null==_0x2489e1||_0x2489e1['writable'])&&(_0x4fb29d[_0xee67d9]=cloneDeepWithImpl(_0x145fc3[_0xee67d9],_0xee67d9,_0x3a82ed,_0x3230f8,_0x46abb7));}}function isCloneableObject(_0x4ebf65){switch(getTag(_0x4ebf65)){case argumentsTag:case _0x30b9ec:case _0x3410f6:case dataViewTag:case _0xc19a64:case dateTag:case float32ArrayTag:case float64ArrayTag:case int8ArrayTag:case int16ArrayTag:case int32ArrayTag:case _0x37f020:case _0x441024:case objectTag:case _0x266575:case setTag:case stringTag:case _0x51b588:case uint8ArrayTag:case uint8ClampedArrayTag:case uint16ArrayTag:case uint32ArrayTag:return!0x0;default:return!0x1;}}function _0x2aa034(_0x32a45f){return cloneDeepWithImpl(_0x32a45f,void 0x0,_0x32a45f,new Map(),void 0x0);}function cloneDeepWith(_0x1540b8,_0x13b526){return cloneDeepWith$1(_0x1540b8,(_0x4e6365,_0x579648,_0x47c133,_0x13d034)=>{if('object'==typeof _0x1540b8)switch(Object['prototype']['toString']['call'](_0x1540b8)){case _0x441024:case stringTag:case _0xc19a64:{const _0x46b625=new _0x1540b8['constructor'](_0x1540b8?.['valueOf']());return copyProperties(_0x46b625,_0x1540b8),_0x46b625;}case argumentsTag:{const _0xfecad7={};return copyProperties(_0xfecad7,_0x1540b8),_0xfecad7['length']=_0x1540b8['length'],_0xfecad7[Symbol['iterator']]=_0x1540b8[Symbol['iterator']],_0xfecad7;}default:return;}});}function _0x3db43b(_0x5d55be){return cloneDeepWith(_0x5d55be);}const _0x3ff762=/^(?:0|[1-9]\d*)$/;function _0x26b454(_0x48cdcd,_0x9a1880=Number['MAX_SAFE_INTEGER']){switch(typeof _0x48cdcd){case'number':return Number['isInteger'](_0x48cdcd)&&_0x48cdcd>=0x0&&_0x48cdcd<_0x9a1880;case'symbol':return!0x1;case'string':return _0x3ff762['test'](_0x48cdcd);}}function isObjectLike(_0x520ce8){return'object'==typeof _0x520ce8&&null!==_0x520ce8;}function _0x29d3cb(_0x383c26){return'symbol'==typeof _0x383c26||_0x383c26 instanceof Symbol;}const _0x484e38=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,_0x3cc12c=/^\w*$/;function _0x2ddc51(_0x51bb20,_0x45bd08){return!Array['isArray'](_0x51bb20)&&(!('number'!=typeof _0x51bb20&&'boolean'!=typeof _0x51bb20&&null!=_0x51bb20&&!_0x29d3cb(_0x51bb20))||('string'==typeof _0x51bb20&&(_0x3cc12c['test'](_0x51bb20)||!_0x484e38['test'](_0x51bb20))||null!=_0x45bd08&&Object['hasOwn'](_0x45bd08,_0x51bb20)));}function unset(_0x47fda4,_0x20b895){if(null==_0x47fda4)return!0x0;switch(typeof _0x20b895){case'symbol':case'number':case'object':if(Array['isArray'](_0x20b895))return unsetWithPath(_0x47fda4,_0x20b895);if('number'==typeof _0x20b895?_0x20b895=toKey(_0x20b895):'object'==typeof _0x20b895&&(_0x20b895=Object['is'](_0x20b895?.['valueOf'](),-0x0)?'-0':String(_0x20b895)),isUnsafeProperty(_0x20b895))return!0x1;if(void 0x0===_0x47fda4?.[_0x20b895])return!0x0;try{return delete _0x47fda4[_0x20b895],!0x0;}catch{return!0x1;}case'string':if(void 0x0===_0x47fda4?.[_0x20b895]&&_0x5a968e(_0x20b895))return unsetWithPath(_0x47fda4,toPath(_0x20b895));if(isUnsafeProperty(_0x20b895))return!0x1;try{return delete _0x47fda4[_0x20b895],!0x0;}catch{return!0x1;}}}function unsetWithPath(_0xf831b8,_0x43faee){const _0x11af1c=get(_0xf831b8,_0x43faee['slice'](0x0,-0x1),_0xf831b8),_0x247bd3=_0x43faee[_0x43faee['length']-0x1];if(void 0x0===_0x11af1c?.[_0x247bd3])return!0x0;if(isUnsafeProperty(_0x247bd3))return!0x1;try{return delete _0x11af1c[_0x247bd3],!0x0;}catch{return!0x1;}}const _0x411dff=(_0x4dff80,_0x1f754e,_0x7080cd)=>{const _0xbfeeea=_0x4dff80[_0x1f754e];Object['hasOwn'](_0x4dff80,_0x1f754e)&&_0x56875c(_0xbfeeea,_0x7080cd)&&(void 0x0!==_0x7080cd||_0x1f754e in _0x4dff80)||(_0x4dff80[_0x1f754e]=_0x7080cd);};function updateWith(_0x4d13b1,_0x31ec72,_0x4c065e,_0x12d12b){if(null==_0x4d13b1&&!isObject$3(_0x4d13b1))return _0x4d13b1;const _0x989ffe=_0x2ddc51(_0x31ec72,_0x4d13b1)?[_0x31ec72]:Array['isArray'](_0x31ec72)?_0x31ec72:'string'==typeof _0x31ec72?toPath(_0x31ec72):[_0x31ec72];let _0x59e228=_0x4d13b1;for(let _0x5bfc95=0x0;_0x5bfc95<_0x989ffe['length']&&null!=_0x59e228;_0x5bfc95++){const _0x3716ce=toKey(_0x989ffe[_0x5bfc95]);if(isUnsafeProperty(_0x3716ce))continue;let _0x5c8dbd;if(_0x5bfc95===_0x989ffe['length']-0x1)_0x5c8dbd=_0x4c065e(_0x59e228[_0x3716ce]);else{const _0x1ac50e=_0x59e228[_0x3716ce],_0x39fbc4=_0x12d12b?.(_0x1ac50e,_0x3716ce,_0x4d13b1);_0x5c8dbd=void 0x0!==_0x39fbc4?_0x39fbc4:isObject$3(_0x1ac50e)?_0x1ac50e:_0x26b454(_0x989ffe[_0x5bfc95+0x1])?[]:{};}_0x411dff(_0x59e228,_0x3716ce,_0x5c8dbd),_0x59e228=_0x59e228[_0x3716ce];}return _0x4d13b1;}function set(_0x3d1ba3,_0x14ca6d,_0x27bb43){return updateWith(_0x3d1ba3,_0x14ca6d,()=>_0x27bb43,()=>{});}function _0x2d7f55(_0x13d851,_0x390aa6,{signal:_0xf5bfc8,edges:_0x53fccd}={}){let _0x4ceb04,_0x258877=null;const _0x823a4f=null!=_0x53fccd&&_0x53fccd['includes']('leading'),_0xa37372=null==_0x53fccd||_0x53fccd['includes']('trailing'),_0xd805dc=()=>{null!==_0x258877&&(_0x13d851['apply'](_0x4ceb04,_0x258877),_0x4ceb04=void 0x0,_0x258877=null);};let _0x39adeb=null;const _0x1a6ce6=()=>{null!=_0x39adeb&&clearTimeout(_0x39adeb),_0x39adeb=setTimeout(()=>{_0x39adeb=null,_0xa37372&&_0xd805dc(),_0x27edb2();},_0x390aa6);},_0x39fd22=()=>{null!==_0x39adeb&&(clearTimeout(_0x39adeb),_0x39adeb=null);},_0x27edb2=()=>{_0x39fd22(),_0x4ceb04=void 0x0,_0x258877=null;},_0x35d5f2=function(..._0x17d3e1){if(_0xf5bfc8?.['aborted'])return;_0x4ceb04=this,_0x258877=_0x17d3e1;const _0x50495e=null==_0x39adeb;_0x1a6ce6(),_0x823a4f&&_0x50495e&&_0xd805dc();};return _0x35d5f2['schedule']=_0x1a6ce6,_0x35d5f2['cancel']=_0x27edb2,_0x35d5f2['flush']=()=>{_0x39fd22(),_0xd805dc();},_0xf5bfc8?.['addEventListener']('abort',_0x27edb2,{'once':!0x0}),_0x35d5f2;}function _0x4313fa(_0x46f923,_0x175933=0x0,_0x4ec223={}){'object'!=typeof _0x4ec223&&(_0x4ec223={});const {leading:_0x3e35ce=!0x1,trailing:_0x52f48f=!0x0,maxWait:_0x1439f4}=_0x4ec223,_0x1f83cd=Array(0x2);let _0xd560dd;_0x3e35ce&&(_0x1f83cd[0x0]='leading'),_0x52f48f&&(_0x1f83cd[0x1]='trailing');let _0x404d88=null;const _0x4f2b59=_0x2d7f55(function(..._0x1f3278){_0xd560dd=_0x46f923['apply'](this,_0x1f3278),_0x404d88=null;},_0x175933,{'edges':_0x1f83cd}),_0x55fc7e=function(..._0x3a60e8){return null!=_0x1439f4&&(null===_0x404d88&&(_0x404d88=Date['now']()),Date['now']()-_0x404d88>=_0x1439f4)?(_0xd560dd=_0x46f923['apply'](this,_0x3a60e8),_0x404d88=Date['now'](),_0x4f2b59['cancel'](),_0x4f2b59['schedule'](),_0xd560dd):(_0x4f2b59['apply'](this,_0x3a60e8),_0xd560dd);};return _0x55fc7e['cancel']=_0x4f2b59['cancel'],_0x55fc7e['flush']=()=>(_0x4f2b59['flush'](),_0xd560dd),_0x55fc7e;}function throttle$1(_0x1d8a60,_0x11206f=0x0,_0x1b30fb={}){'object'!=typeof _0x1b30fb&&(_0x1b30fb={});const {leading:_0x3a0219=!0x0,trailing:_0x19c943=!0x0}=_0x1b30fb;return _0x4313fa(_0x1d8a60,_0x11206f,{'leading':_0x3a0219,'trailing':_0x19c943,'maxWait':_0x11206f});}function toString$2(_0x557a3b){if(null==_0x557a3b)return'';if('string'==typeof _0x557a3b)return _0x557a3b;if(Array['isArray'](_0x557a3b))return _0x557a3b['map'](toString$2)['join'](',');const _0x2a6bf7=String(_0x557a3b);return'0'===_0x2a6bf7&&Object['is'](Number(_0x557a3b),-0x0)?'-0':_0x2a6bf7;}function isPlainObject$1(_0x4d56a6){if(!_0x4d56a6||'object'!=typeof _0x4d56a6)return!0x1;const _0x192638=Object['getPrototypeOf'](_0x4d56a6);return!(null!==_0x192638&&_0x192638!==Object['prototype']&&null!==Object['getPrototypeOf'](_0x192638))&&'[object\x20Object]'===Object['prototype']['toString']['call'](_0x4d56a6);}function isEqualWith(_0x2121c1,_0x3ef63e,_0x4b1ed8){return isEqualWithImpl(_0x2121c1,_0x3ef63e,void 0x0,void 0x0,void 0x0,void 0x0,_0x4b1ed8);}function isEqualWithImpl(_0x4ec15f,_0x341385,_0x42b2aa,_0x400a57,_0x4c23d2,_0x2bbcc1,_0x2026f3){const _0x33ab64=_0x2026f3(_0x4ec15f,_0x341385,_0x42b2aa,_0x400a57,_0x4c23d2,_0x2bbcc1);if(void 0x0!==_0x33ab64)return _0x33ab64;if(typeof _0x4ec15f==typeof _0x341385)switch(typeof _0x4ec15f){case'bigint':case'string':case'boolean':case'symbol':case'undefined':case'function':return _0x4ec15f===_0x341385;case'number':return _0x4ec15f===_0x341385||Object['is'](_0x4ec15f,_0x341385);case'object':return areObjectsEqual(_0x4ec15f,_0x341385,_0x2bbcc1,_0x2026f3);}return areObjectsEqual(_0x4ec15f,_0x341385,_0x2bbcc1,_0x2026f3);}function areObjectsEqual(_0x5bc737,_0x172040,_0xab2a3a,_0x4ba5ba){if(Object['is'](_0x5bc737,_0x172040))return!0x0;let _0x3198f6=getTag(_0x5bc737),_0x5f1ead=getTag(_0x172040);if(_0x3198f6===argumentsTag&&(_0x3198f6=objectTag),_0x5f1ead===argumentsTag&&(_0x5f1ead=objectTag),_0x3198f6!==_0x5f1ead)return!0x1;switch(_0x3198f6){case stringTag:return _0x5bc737['toString']()===_0x172040['toString']();case _0x441024:return _0x56875c(_0x5bc737['valueOf'](),_0x172040['valueOf']());case _0xc19a64:case dateTag:case _0x51b588:return Object['is'](_0x5bc737['valueOf'](),_0x172040['valueOf']());case _0x266575:return _0x5bc737['source']===_0x172040['source']&&_0x5bc737['flags']===_0x172040['flags'];case functionTag:return _0x5bc737===_0x172040;}const _0x41aa69=(_0xab2a3a=_0xab2a3a??new Map())['get'](_0x5bc737),_0x2c43e5=_0xab2a3a['get'](_0x172040);if(null!=_0x41aa69&&null!=_0x2c43e5)return _0x41aa69===_0x172040;_0xab2a3a['set'](_0x5bc737,_0x172040),_0xab2a3a['set'](_0x172040,_0x5bc737);try{switch(_0x3198f6){case _0x37f020:if(_0x5bc737['size']!==_0x172040['size'])return!0x1;for(const [_0x4d6ab3,_0x481799]of _0x5bc737['entries']())if(!_0x172040['has'](_0x4d6ab3)||!isEqualWithImpl(_0x481799,_0x172040['get'](_0x4d6ab3),_0x4d6ab3,_0x5bc737,_0x172040,_0xab2a3a,_0x4ba5ba))return!0x1;return!0x0;case setTag:{if(_0x5bc737['size']!==_0x172040['size'])return!0x1;const _0x3c231f=Array['from'](_0x5bc737['values']()),_0x3111fe=Array['from'](_0x172040['values']());for(let _0x4b2b08=0x0;_0x4b2b08<_0x3c231f['length'];_0x4b2b08++){const _0x4377d2=_0x3c231f[_0x4b2b08],_0x32b755=_0x3111fe['findIndex'](_0x4b5752=>isEqualWithImpl(_0x4377d2,_0x4b5752,void 0x0,_0x5bc737,_0x172040,_0xab2a3a,_0x4ba5ba));if(-0x1===_0x32b755)return!0x1;_0x3111fe['splice'](_0x32b755,0x1);}return!0x0;}case _0x30b9ec: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'](_0x5bc737)!==Buffer['isBuffer'](_0x172040))return!0x1;if(_0x5bc737['length']!==_0x172040['length'])return!0x1;for(let _0x5d7ae9=0x0;_0x5d7ae9<_0x5bc737['length'];_0x5d7ae9++)if(!isEqualWithImpl(_0x5bc737[_0x5d7ae9],_0x172040[_0x5d7ae9],_0x5d7ae9,_0x5bc737,_0x172040,_0xab2a3a,_0x4ba5ba))return!0x1;return!0x0;case _0x3410f6:return _0x5bc737['byteLength']===_0x172040['byteLength']&&areObjectsEqual(new Uint8Array(_0x5bc737),new Uint8Array(_0x172040),_0xab2a3a,_0x4ba5ba);case dataViewTag:return _0x5bc737['byteLength']===_0x172040['byteLength']&&_0x5bc737['byteOffset']===_0x172040['byteOffset']&&areObjectsEqual(new Uint8Array(_0x5bc737),new Uint8Array(_0x172040),_0xab2a3a,_0x4ba5ba);case _0x438b95:return _0x5bc737['name']===_0x172040['name']&&_0x5bc737['message']===_0x172040['message'];case objectTag:{if(!(areObjectsEqual(_0x5bc737['constructor'],_0x172040['constructor'],_0xab2a3a,_0x4ba5ba)||isPlainObject$1(_0x5bc737)&&isPlainObject$1(_0x172040)))return!0x1;const _0x462740=[...Object['keys'](_0x5bc737),...getSymbols(_0x5bc737)],_0x2289d1=[...Object['keys'](_0x172040),...getSymbols(_0x172040)];if(_0x462740['length']!==_0x2289d1['length'])return!0x1;for(let _0x3ed647=0x0;_0x3ed647<_0x462740['length'];_0x3ed647++){const _0x13f03a=_0x462740[_0x3ed647],_0x5a8c83=_0x5bc737[_0x13f03a];if(!Object['hasOwn'](_0x172040,_0x13f03a))return!0x1;if(!isEqualWithImpl(_0x5a8c83,_0x172040[_0x13f03a],_0x13f03a,_0x5bc737,_0x172040,_0xab2a3a,_0x4ba5ba))return!0x1;}return!0x0;}default:return!0x1;}}finally{_0xab2a3a['delete'](_0x5bc737),_0xab2a3a['delete'](_0x172040);}}function _0xc82a96(){}function _0x5d9d2a(_0x54ed38,_0x10fd65){return isEqualWith(_0x54ed38,_0x10fd65,_0xc82a96);}function isPlainObject(_0x35a6a8){if('object'!=typeof _0x35a6a8)return!0x1;if(null==_0x35a6a8)return!0x1;if(null===Object['getPrototypeOf'](_0x35a6a8))return!0x0;if('[object\x20Object]'!==Object['prototype']['toString']['call'](_0x35a6a8)){const _0x41a5e2=_0x35a6a8[Symbol['toStringTag']];if(null==_0x41a5e2)return!0x1;return!!Object['getOwnPropertyDescriptor'](_0x35a6a8,Symbol['toStringTag'])?.['writable']&&_0x35a6a8['toString']()==='[object\x20'+_0x41a5e2+']';}let _0xe10751=_0x35a6a8;for(;null!==Object['getPrototypeOf'](_0xe10751);)_0xe10751=Object['getPrototypeOf'](_0xe10751);return Object['getPrototypeOf'](_0x35a6a8)===_0xe10751;}function omit(_0x574baf,..._0x1b58ff){if(null==_0x574baf)return{};const _0x4b512f=_0x2aa034(_0x574baf);for(let _0xfe8978=0x0;_0xfe8978<_0x1b58ff['length'];_0xfe8978++){let _0x1852bb=_0x1b58ff[_0xfe8978];switch(typeof _0x1852bb){case'object':Array['isArray'](_0x1852bb)||(_0x1852bb=Array['from'](_0x1852bb));for(let _0x38100e=0x0;_0x38100e<_0x1852bb['length'];_0x38100e++){unset(_0x4b512f,_0x1852bb[_0x38100e]);}break;case'string':case'symbol':case'number':unset(_0x4b512f,_0x1852bb);}}return _0x4b512f;}function isElement$2(_0x5d9f48){return isObjectLike(_0x5d9f48)&&0x1===_0x5d9f48['nodeType']&&!isPlainObject(_0x5d9f48);}const htmlEscapes={'&':'&amp;','<':'&lt;','>':'&gt;','\x22':'&quot;','\x27':'&#39;'};function _0x5ddcc8(_0x4d6eed){return _0x4d6eed['replace'](/[&<>"']/g,_0x50a77d=>htmlEscapes[_0x50a77d]);}function _0x26b325(_0x1c3358){return _0x5ddcc8(toString$2(_0x1c3358));}function _0x56e5aa(_0x449f33){return _0x449f33['replace'](/[\\^$.*+?()[\]{}|]/g,'\x5c$&');}function _0x127f3c(_0x13b697){return _0x56e5aa(toString$2(_0x13b697));}const htmlUnescapes={'&amp;':'&','&lt;':'<','&gt;':'>','&quot;':'\x22','&#39;':'\x27'};function _0x1e4e62(_0x2d0be8){return _0x2d0be8['replace'](/&(?:amp|lt|gt|quot|#(0+)?39);/g,_0x5e9577=>htmlUnescapes[_0x5e9577]||'\x27');}function _0x588c6c(_0x5292fe){return _0x1e4e62(toString$2(_0x5292fe));}class AIHistoryListItemView extends ckeditor5['ListItemView']{constructor(_0x1828a3){super();const _0x41a55d=new ckeditor5['ButtonLabelView'](),_0x55fe68=new ckeditor5['ButtonView'](this['locale'],_0x41a55d);this['children']['add'](_0x55fe68),_0x55fe68['set']({'label':_0x1828a3['prompt'],'withText':!0x0}),_0x55fe68['on']('execute',()=>{this['fire']('execute',{'value':_0x588c6c(_0x1828a3['prompt'])});});}}const _0x4c5161='CKEditor/AIFormView/PromptHistory',_0xf76514=0x14;class PromptHistory extends ckeditor5['Collection']{constructor(){super(),this['_loadFromSessionStorage'](),this['on']('add',(_0x591606,_0x5ec5ce)=>{const _0x368c03=normalizePromptText(_0x5ec5ce['prompt']);for(const _0x132c56 of this)if(_0x132c56!=_0x5ec5ce&&normalizePromptText(_0x132c56['prompt'])===_0x368c03){this['remove'](_0x132c56);break;}this['length']>_0xf76514&&this['remove'](this['last']),this['_saveToSessionStorage']();}),this['on']('remove',()=>{this['_saveToSessionStorage']();});}['_loadFromSessionStorage'](){const _0xce3c88=sessionStorage['getItem'](_0x4c5161)||'[]';this['addMany'](JSON['parse'](_0xce3c88));}['_saveToSessionStorage'](){sessionStorage['setItem'](_0x4c5161,JSON['stringify'](this['map'](_0x5eeb41=>_0x5eeb41)));}}function normalizePromptText(_0x51ebff){return _0x51ebff['toLowerCase']()['trim']();}class _0x5c6f7f extends ckeditor5['View']{['focusTracker'];['keystrokes'];['contentArea'];['toolbar'];['promptView'];['errorView'];['_focusables'];['focusCycler'];['_promptHistory'];constructor(_0x813127,_0x2f448b,_0x30b610=''){super(_0x813127),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 _0x1b0f87(_0x813127),this['contentArea']=new AIFormContentArea(_0x813127,_0x30b610),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 _0x24e6e5=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-form',_0x2f448b],'tabindex':'-1'},'children':[{'tag':'div','attributes':{'class':['ck','ck-ai-form-content']},'children':[{'tag':'div','attributes':{'class':[_0x24e6e5['if']('isError','ck-hidden',_0x1a8680=>!_0x1a8680)]},'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'](_0x9f3592=0x1){-0x1===_0x9f3592?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 _0x203f1a=this['locale'],_0x33616f=new AIFormPromptView(_0x203f1a,{'queryView':{'label':getTranslation$j(_0x203f1a,'Ask\x20AI\x20to\x20edit\x20or\x20generate'),'creator':ckeditor5['createLabeledTextarea'],'showIcon':!0x1,'showResetButton':!0x1},'infoView':{'text':{'noSearchableItems':{'primary':getTranslation$j(_0x203f1a,'Empty\x20history'),'secondary':getTranslation$j(_0x203f1a,'Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.')}}},'filteredView':this['_createHistoryView'](),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1});return _0x33616f['bind']('isEnabled')['to'](this,'isEnabled',this,'isProcessing',(_0x3c77f6,_0x2c1708)=>_0x3c77f6&&!_0x2c1708),this['listenTo'](_0x33616f,'submit',(_0x100901,_0x28c164)=>{this['prompt']=_0x28c164;const _0x564123=_0x26b325(_0x28c164);this['fire']('submitPrompt',_0x564123),_0x28c164['trim']()&&this['_promptHistory']['add']({'prompt':_0x564123},0x0);},{'priority':'high'}),_0x33616f;}['_createHistoryView'](){const _0x464286=new AIHistoryListView(this['locale']);return _0x464286['historyGroupView']['items']['bindTo'](this['_promptHistory'])['as'](AIHistoryListItemView),_0x464286['on']('clearHistory',()=>{this['_promptHistory']['clear'](),this['promptView']['search'](''),this['promptView']['focus']();}),_0x464286;}['_createToolbar'](){const _0x312c00=new _0x3aafb8(this['locale']);return _0x312c00['replaceButton']['bind']('isEnabled')['to'](this,'isEnabled',this,'isProcessing',this,'value',(_0xd0e2ec,_0x5e52fa,_0x309a5b)=>_0xd0e2ec&&!_0x5e52fa&&!!_0x309a5b),_0x312c00['replaceButton']['delegate']('execute')['to'](this,'replaceContent'),_0x312c00['insertButton']['bind']('isEnabled')['to'](this,'isEnabled',this,'isProcessing',this,'value',(_0x1801ad,_0x12dba0,_0x510983)=>_0x1801ad&&!_0x12dba0&&!!_0x510983),_0x312c00['insertButton']['delegate']('execute')['to'](this,'insertContentBelow'),_0x312c00['tryAgainButton']['bind']('isEnabled')['to'](this,'isEnabled',this,'isProcessing',(_0x191f88,_0x359ad3)=>_0x191f88&&!_0x359ad3),_0x312c00['tryAgainButton']['delegate']('execute')['to'](this,'tryAgainEvent'),_0x312c00['stopButton']['bind']('isEnabled')['to'](this,'isProcessing'),_0x312c00['stopButton']['delegate']('execute')['to'](this,'stopProcessing'),_0x312c00;}['startProcessing'](){this['value']='',this['isError']=!0x1,this['isProcessing']=!0x0,this['contentArea']['isVisible']=!0x0,this['toolbar']['isVisible']=!0x0,this['contentArea']['focus']();}['finishProcessing'](){const _0x257d97=this['locale'];this['isProcessing']=!0x1,this['prompt']='',this['promptView']['reset'](),this['value']&&(this['promptView']['queryView']['label']=getTranslation$j(_0x257d97,'Ask\x20AI\x20to\x20improve\x20generated\x20text'));}['handleError'](_0x475fc7){const _0x1bd57f=this['locale'];this['finishProcessing'](),this['isError']=!0x0,this['errorView']['text']=_0x475fc7||getTranslation$j(_0x1bd57f,'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(_0xf1f56f){super(_0xf1f56f),_0xf1f56f['config']['define']('ai.assistant.disabledElements',['media','rawHtml','tableOfContents']),_0xf1f56f['config']['define']('ai.assistant.contentAreaCssClass',''),_0xf1f56f['config']['define']('ai.assistant.useTheme',!0x0),this['_uiCssClasses']='ck-ai-assistant-ui'+(_0xf1f56f['config']['get']('ai.assistant.useTheme')?'\x20ck-ai-assistant-ui_theme':'');}['init'](){const {editor:_0x12605a}=this;this['_aiAdapter']=_0x12605a['plugins']['get'](AIAdapter),this['_dialog']=_0x12605a['plugins']['get'](ckeditor5['Dialog']),this['_formView']=null,this['_commandDefinitions']=this['_getResolvedCommandsDefinitions']();const _0x5e5202=new ShowAIAssistantCommand(_0x12605a,Array['from'](this['_commandDefinitions']['values']()));_0x12605a['commands']['add']('showAIAssistant',_0x5e5202),_0x12605a['ui']['componentFactory']['add']('aiCommands',_0x4458e9=>{const _0x2230d3=ckeditor5['createDropdown'](_0x4458e9);return _0x2230d3['set']({'class':'ck-ai-commands-dropdown\x20'+this['_uiCssClasses']}),_0x2230d3['buttonView']['set']({'label':getTranslation$j(_0x4458e9,'AI\x20Commands'),'icon':ckeditor5['IconMagicWand'],'tooltip':!0x0}),_0x2230d3['on']('execute',_0x2e0807=>this['_onExecute'](_0x2e0807['source']['id'])),ckeditor5['addMenuToDropdown'](_0x2230d3,_0x12605a['ui']['view']['body'],getMenuDropdownDefinition(_0x12605a),{'ariaLabel':getTranslation$j(_0x4458e9,'AI\x20Commands')}),_0x2230d3['menuView']['menuPanelClass']='ck-ai-commands-dropdown\x20'+this['_uiCssClasses'],_0x5e5202['on']('change:enabledCommandsIds',_0x29fc1a),_0x2230d3['menuView']['once']('render',_0x29fc1a),_0x2230d3;function _0x29fc1a(){_0x2230d3['isEnabled']=_0x5e5202['enabledCommandsIds']['length']>0x0;for(const _0x5e4135 of _0x2230d3['menuView']['buttons'])_0x5e4135['isEnabled']=_0x5e5202['enabledCommandsIds']['includes'](_0x5e4135['id']);}}),_0x12605a['ui']['componentFactory']['add']('menuBar:aiCommands',_0x3f8fb0=>{const _0x257b0b=new ckeditor5['MenuBarMenuView'](_0x3f8fb0);_0x257b0b['buttonView']['set']({'label':getTranslation$j(_0x3f8fb0,'AI\x20Commands'),'icon':ckeditor5['IconMagicWand']}),_0x257b0b['bind']('isEnabled')['to'](_0x5e5202,'enabledCommandsIds',_0x1adf3e=>_0x1adf3e['length']>0x0);const _0xea8c95=_0x261519(_0x12605a['config']['get']('ai.assistant.commands'),_0x3f8fb0);return this['_populateMenuBarMenu'](_0x5e5202,_0x257b0b,_0xea8c95,_0x491411=>this['_onExecute'](_0x491411)),_0x257b0b;}),_0x12605a['ui']['componentFactory']['add']('aiAssistant',()=>{const _0x211cb9=this['_createAIAssistantUIButton'](ckeditor5['ButtonView']);return _0x211cb9['set']({'tooltip':!0x0,'class':'ck-ai-assistant-button\x20'+this['_uiCssClasses']}),_0x211cb9;}),_0x12605a['ui']['componentFactory']['add']('menuBar:aiAssistant',()=>{const _0x458d95=this['_createAIAssistantUIButton'](ckeditor5['MenuBarMenuListItemButtonView']);return _0x458d95['set']({'role':'menuitemcheckbox'}),_0x458d95;}),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x22c8b7=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x8fea26;for(const _0x31c795 in _0x22c8b7){const _0x242b4f=_0x31c795,_0x54cf8f=_0x22c8b7[_0x242b4f];if('aiLicenseKeyValid'==_0x54cf8f||'aiLicenseKeyInvalid'==_0x54cf8f||'aiLicenseKeyExpired'==_0x54cf8f||'aiLicenseKeyDomainLimit'==_0x54cf8f||'aiLicenseKeyNotAllowed'==_0x54cf8f||'aiLicenseKeyEvaluationLimit'==_0x54cf8f||'aiLicenseKeyTrialLimit'==_0x54cf8f||'aiLicenseKeyUsageLimit'==_0x54cf8f){delete _0x22c8b7[_0x242b4f],_0x8fea26=_0x54cf8f,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'aiLicenseKeyInvalid'==_0x8fea26&&_0x22c8b7['_showLicenseError']('invalid'),'aiLicenseKeyExpired'==_0x8fea26&&_0x22c8b7['_showLicenseError']('expired'),'aiLicenseKeyDomainLimit'==_0x8fea26&&_0x22c8b7['_showLicenseError']('domainLimit'),'aiLicenseKeyNotAllowed'==_0x8fea26&&_0x22c8b7['_showLicenseError']('featureNotAllowed','AIAssistant'),'aiLicenseKeyEvaluationLimit'==_0x8fea26&&_0x22c8b7['_showLicenseError']('evaluationLimit'),'aiLicenseKeyTrialLimit'==_0x8fea26&&_0x22c8b7['_showLicenseError']('trialLimit'),'aiLicenseKeyUsageLimit'==_0x8fea26&&_0x22c8b7['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['showUI'](_0x3d06d7='',_0x90907d='',_0x686fb1='custom'){const _0x53d1cb=this['editor'],_0x25a1de=_0x53d1cb['editing']['view'],_0x20e10a=_0x53d1cb['plugins']['get'](AIAssistantEditing),_0x5c51c4=_0x53d1cb['plugins']['get'](ckeditor5['ClipboardMarkersUtils']);_0x20e10a['showFakeVisualSelection']();const _0x4ab516=new DomDataTransfer(),_0x32ed64=new ClipboardEvent('copy',{'clipboardData':_0x4ab516}),_0x132661=new ckeditor5['ViewDataTransfer'](_0x4ab516),_0x55ae50=new ckeditor5['ViewDocumentDomEventData'](_0x25a1de,_0x32ed64,{'dataTransfer':_0x132661});_0x5c51c4['_forceMarkersCopy']('comment',()=>{_0x25a1de['document']['fire']('copy',_0x55ae50);}),this['_formView']||(this['_initView'](),this['_aiAssistantController']=new AIAssistantController(_0x53d1cb,this['_aiAdapter']['textAdapter'],this['_formView']));let _0x258112=_0x132661['getData']('text/html');const _0x3510b0=_0x53d1cb['model']['document']['selection'],_0x54e85f=Array['from'](_0x3510b0['getRanges']());0x1===_0x54e85f['length']&&_0x54e85f[0x0]['isFlat']&&!_0x3510b0['getSelectedElement']()&&''!==_0x258112['replace'](/&nbsp;/g,'')['trim']()&&(_0x258112='<p>'+_0x258112+'</p>'),this['_aiAssistantController']['updateView']({'actionId':_0x686fb1,'query':_0x3d06d7,'htmlContent':_0x258112,'label':_0x90907d,'mainActionLabel':AIFormToolbarViewMainActionLabel[_0x53d1cb['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'](),_0x20e10a['hideFakeVisualSelection']();}}):this['_dialog']['view']['wasMoved']||this['_dialog']['view']['updatePosition']();}['hideUI'](){this['_dialog']['hide']();}['_getResolvedCommandsDefinitions'](){const _0x45295f=new Map(),_0x4ffe15=_0x261519(this['editor']['config']['get']('ai.assistant.commands'),this['editor']['locale']);for(const _0x213fb2 of _0x4ffe15)for(const _0x14b89c of _0x213fb2['commands'])_0x45295f['set'](_0x14b89c['id'],{..._0x14b89c,'groupId':_0x213fb2['groupId'],'groupLabel':_0x213fb2['groupLabel']||_0x213fb2['groupId']});return _0x45295f;}['_createAIAssistantUIButton'](_0xaceb8a){const _0x2a6588=this['editor'],_0x15ec91=_0x2a6588['commands']['get']('showAIAssistant'),_0x587168=new _0xaceb8a(_0x2a6588['locale']);return _0x587168['set']({'label':getTranslation$j(_0x2a6588['locale'],'AI\x20Assistant'),'icon':ckeditor5['IconRobotPencil'],'isToggleable':!0x0}),_0x587168['bind']('isEnabled')['to'](_0x15ec91),_0x587168['bind']('isOn')['to'](this['_dialog'],'id',_0x2e28e0=>'aiAssistant'===_0x2e28e0),this['listenTo'](_0x587168,'execute',()=>{_0x587168['isOn']?this['hideUI']():_0x15ec91['execute']();}),_0x587168;}['_initView'](){const _0x57796a=this['editor']['plugins']['get'](AIAssistantEditing);this['_formView']=new _0x5c6f7f(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',()=>{_0x57796a['insertContent'](this['_aiAssistantController']['currentContext']),this['hideUI']();}),this['listenTo'](this['_formView'],'insertContentBelow',()=>{_0x57796a['insertContentBelow'](this['_aiAssistantController']['currentContext']),this['hideUI']();}),this['_initAriaAiStatusChangeAnnouncements']();}['_initAriaAiStatusChangeAnnouncements'](){const {locale:_0x3cf221,ui:{ariaLiveAnnouncer:_0x2c47dc}}=this['editor'];this['_formView']['contentArea']['on']('change:isProcessing',(_0x484a3d,_0x6fb1d2,_0x3b9366)=>{const _0x43a7db=this['_aiAssistantController']['currentContext'];_0x3b9366?_0x2c47dc['announce'](getTranslation$j(_0x3cf221,'AI\x20is\x20writing')):_0x43a7db&&_0x2c47dc['announce'](getTranslation$j(_0x3cf221,'Generated\x20content:\x20%0',_0x43a7db),{'politeness':'polite','isUnsafeHTML':!0x0});}),this['_formView']['on']('change:isError',(_0x4e0ba5,_0x599987,_0x465241)=>{if(_0x465241){const _0x242520=this['_formView']['errorView']['text'];_0x2c47dc['announce'](getTranslation$j(_0x3cf221,'Error\x20during\x20AI\x20content\x20generation:\x20%0',_0x242520));}});}['_onExecute'](_0x2c25fb){const _0x1f3080=this['_commandDefinitions']['get'](_0x2c25fb),_0x9a316c=this['editor'],_0x4b84a2=_0x9a316c['model']['document']['selection'],_0x367d61=_0x9a316c['commands']['get']('showAIAssistant'),_0x106d4d=_0x9a316c['plugins']['get'](AIAssistantEditing),_0x17822b=''+(_0x1f3080['groupId']!==_0x2f0cf5?_0x1f3080['groupLabel']+':\x20':'')+_0x1f3080['label'];if(!0x1!==_0x1f3080['requiresContent']&&_0x4b84a2['isCollapsed']){const _0x124a08=ckeditor5['first'](_0x4b84a2['getSelectedBlocks']())||_0x9a316c['model']['schema']['getLimitElement'](_0x4b84a2);_0x9a316c['model']['change'](_0x2cc7f8=>{_0x2cc7f8['setSelection'](_0x124a08,'in');});}_0x106d4d['showFakeVisualSelection'](),_0x367d61['execute'](_0x1f3080['prompt'],_0x17822b,'command:'+_0x2c25fb);}['_populateMenuBarMenu'](_0x301e23,_0x46c262,_0x4df77e,_0x364e9b){const _0x57c964=this['editor'],_0x54a232=_0x57c964['locale'],_0x496eda=new ckeditor5['MenuBarMenuListView'](_0x54a232),_0x4b3832=sortDefinitionsByOrder(_0x57c964,_0x4df77e)['filter'](_0x366897=>_0x366897['commands']['length']);0x1===_0x4b3832['length']?this['_getMenuBarGroupButtons']({'command':_0x301e23,'commands':_0x4b3832[0x0]['commands'],'parentMenuView':_0x46c262,'onExecute':_0x364e9b})['forEach'](_0x17b9bb=>_0x496eda['items']['add'](_0x17b9bb)):_0x4b3832['forEach'](({groupId:_0x1fa000,groupLabel:_0x43cc94,commands:_0x5d2367})=>{const _0x521618=new ckeditor5['MenuBarMenuListItemView'](_0x54a232,_0x46c262),_0x3ecf17=new ckeditor5['MenuBarMenuView'](_0x54a232),_0x19ab9e=new ckeditor5['MenuBarMenuListView'](_0x54a232),_0x25fc67=this['_getMenuBarGroupButtons']({'command':_0x301e23,'commands':_0x5d2367,'parentMenuView':_0x3ecf17,'onExecute':_0x364e9b});_0x3ecf17['buttonView']['set']({'label':_0x43cc94||_0x1fa000}),_0x3ecf17['delegate']('execute')['to'](_0x46c262),_0x19ab9e['items']['addMany'](_0x25fc67),_0x3ecf17['panelView']['children']['add'](_0x19ab9e),_0x521618['children']['add'](_0x3ecf17),_0x496eda['items']['add'](_0x521618);}),_0x46c262['panelView']['children']['add'](_0x496eda);}['_getMenuBarGroupButtons']({command:_0x47044b,commands:_0x56656b,parentMenuView:_0xf2885f,onExecute:_0x1dea7d}){const _0x45d274=this['editor'],_0x1f109c=_0x45d274['locale'];return sortDefinitionsByOrder(_0x45d274,_0x56656b)['map'](_0x488ef6=>{const _0x4aa172=new ckeditor5['MenuBarMenuListItemView'](_0x1f109c,_0xf2885f),_0x42049a=new ckeditor5['MenuBarMenuListItemButtonView'](_0x1f109c);return _0x42049a['set']({'label':_0x488ef6['label']}),_0x42049a['delegate']('execute')['to'](_0xf2885f),_0x42049a['on']('execute',()=>_0x1dea7d(_0x488ef6['id'])),_0x42049a['bind']('isEnabled')['to'](_0x47044b,'enabledCommandsIds',_0x560ade=>_0x560ade['includes'](_0x488ef6['id'])),_0x4aa172['children']['add'](_0x42049a),_0x4aa172;});}}function getMenuDropdownDefinition(_0x4bdb31){const _0x905c64=_0x261519(_0x4bdb31['config']['get']('ai.assistant.commands'),_0x4bdb31['locale']),_0x5a1340=sortDefinitionsByOrder(_0x4bdb31,_0x905c64)['filter'](_0x5e9d07=>_0x5e9d07['commands']['length']);return 0x1===_0x5a1340['length']?sortDefinitionsByOrder(_0x4bdb31,_0x5a1340[0x0]['commands'])['map'](_0x5f21a6=>({'id':_0x5f21a6['id'],'label':_0x5f21a6['label']})):_0x5a1340['map'](_0x53d7cc=>{const {groupId:_0x31d684,groupLabel:_0x270408,commands:_0x98bd94}=_0x53d7cc,_0x1517ac=sortDefinitionsByOrder(_0x4bdb31,_0x98bd94)['map'](_0x2cbce7=>({'id':_0x2cbce7['id'],'label':_0x2cbce7['label']}));return{'id':_0x31d684,'menu':_0x270408||_0x31d684,'children':_0x1517ac};});}function sortDefinitionsCallback(_0x281bc6,_0x1d398d){return void 0x0!==_0x281bc6['order']&&void 0x0===_0x1d398d['order']?0x1:void 0x0===_0x281bc6['order']&&void 0x0!==_0x1d398d['order']?-0x1:void 0x0!==_0x281bc6['order']&&void 0x0!==_0x1d398d['order']?_0x281bc6['order']-_0x1d398d['order']:0x0;}function sortDefinitionsByOrder(_0x483d90,_0x19aa5d){_0x19aa5d['sort'](sortDefinitionsCallback);const _0x1e46ba={},_0x26660d=[];for(const _0x243906 of _0x19aa5d)if(void 0x0!==_0x243906['order']){if(_0x243906['order']in _0x1e46ba)throw new ckeditor5['CKEditorError']('ai-commands-config-order-collision',_0x483d90,{'conflictingDefinitions':[_0x243906,_0x1e46ba[_0x243906['order']]]});_0x1e46ba[_0x243906['order']]=_0x243906,_0x26660d['splice'](_0x243906['order'],0x0,_0x243906);}else _0x26660d['push'](_0x243906);return _0x26660d;}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(_0x33850b){super(_0x33850b);const _0x3f8dad=_0x33850b['config'],_0x18e580=_0x33850b['locale'];_0x3f8dad['define']('ai.assistant.preserveComments',!0x0),_0x3f8dad['define']('ai.assistant.commands',getDefaultAICommands(_0x18e580)),_0x3f8dad['define']('ai.assistant.extraCommandGroups',[]),_0x3f8dad['define']('ai.assistant.removeCommands',[]);let _0x1e5cba=_0x261519(_0x3f8dad['get']('ai.assistant.commands'),_0x18e580);const _0x54643e=_0x3f8dad['get']('ai.assistant.extraCommandGroups'),_0x282d88=_0x3f8dad['get']('ai.assistant.removeCommands');_0x54643e['forEach'](_0x18190c=>{const _0x35bdfa=_0x1e5cba['find'](_0x3c00e5=>_0x3c00e5['groupId']===_0x18190c['groupId']);_0x35bdfa?_0x35bdfa['commands']=_0x35bdfa['commands']['concat'](_0x18190c['commands']):_0x1e5cba['push'](_0x18190c);}),_0x1e5cba=_0x1e5cba['filter'](_0x557ec7=>!_0x282d88['includes'](_0x557ec7['groupId'])),_0x1e5cba['forEach'](_0x4bf936=>{_0x4bf936['commands']=_0x4bf936['commands']['filter'](_0x5c7843=>!_0x282d88['includes'](_0x5c7843['id']));}),_0x3f8dad['set']('ai.assistant.commands',_0x1e5cba);}}function getDefaultAICommands(_0x32f826){return[{'groupId':'editOrReview','groupLabel':getTranslation$j(_0x32f826,'Edit\x20or\x20review'),'commands':[{'id':'improveWriting','label':getTranslation$j(_0x32f826,'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(_0x32f826,'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(_0x32f826,'Make\x20longer'),'prompt':'Improve\x20this\x20content\x20by\x20using\x20descriptive\x20language\x20and\x20inserting\x20more\x20information\x20and\x20more\x20detailed\x20explanations.'},{'id':'simplifyLanguage','label':getTranslation$j(_0x32f826,'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(_0x32f826,'Generate\x20from\x20selection'),'commands':[{'id':'summarize','label':getTranslation$j(_0x32f826,'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(_0x32f826,'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(_0x32f826,'Change\x20tone'),'commands':[{'id':'professional','label':getTranslation$j(_0x32f826,'Professional'),'prompt':'Improve\x20using\x20polished,\x20formal,\x20and\x20respectful\x20language\x20to\x20convey\x20professional\x20expertise\x20and\x20competence.'},{'id':'casual','label':getTranslation$j(_0x32f826,'Casual'),'prompt':'Improve\x20using\x20casual,\x20informal\x20language\x20to\x20convey\x20a\x20casual\x20conversation\x20with\x20a\x20real\x20person.'},{'id':'direct','label':getTranslation$j(_0x32f826,'Direct'),'prompt':'Improve\x20using\x20direct\x20language,\x20using\x20only\x20the\x20essential\x20information.'},{'id':'confident','label':getTranslation$j(_0x32f826,'Confident'),'prompt':'Improve\x20using\x20compelling,\x20optimistic\x20language\x20to\x20convey\x20confidence\x20in\x20the\x20writing.'},{'id':'friendly','label':getTranslation$j(_0x32f826,'Friendly'),'prompt':'Improve\x20using\x20friendly,\x20comforting\x20language,\x20to\x20convey\x20understanding\x20and\x20empathy.'}]},{'groupId':'changeStyle','groupLabel':getTranslation$j(_0x32f826,'Change\x20style'),'commands':[{'id':'business','label':getTranslation$j(_0x32f826,'Business'),'prompt':'Rewrite\x20this\x20content\x20as\x20a\x20business\x20professional\x20with\x20formal\x20language.'},{'id':'legal','label':getTranslation$j(_0x32f826,'Legal'),'prompt':'Rewrite\x20this\x20content\x20as\x20a\x20legal\x20professional\x20using\x20valid\x20legal\x20terminology.'},{'id':'journalism','label':getTranslation$j(_0x32f826,'Journalism'),'prompt':'Rewrite\x20this\x20content\x20as\x20a\x20journalist\x20using\x20engaging\x20language\x20to\x20convey\x20the\x20importance\x20of\x20the\x20information.'},{'id':'poetic','label':getTranslation$j(_0x32f826,'Poetic'),'prompt':'Rewrite\x20this\x20content\x20as\x20a\x20poem\x20using\x20poetic\x20techniques\x20without\x20losing\x20the\x20original\x20meaning.'}]},{'groupId':'translate','groupLabel':getTranslation$j(_0x32f826,'Translate'),'commands':[{'id':'translateEnglish','label':getTranslation$j(_0x32f826,'English'),'prompt':'Translate\x20the\x20content\x20to\x20English\x20language.'},{'id':'translateSpanish','label':getTranslation$j(_0x32f826,'Spanish'),'prompt':'Translate\x20the\x20content\x20to\x20Spanish\x20language.'},{'id':'translatePortuguese','label':getTranslation$j(_0x32f826,'Portuguese'),'prompt':'Translate\x20the\x20content\x20to\x20Portuguese\x20language.'},{'id':'translateGerman','label':getTranslation$j(_0x32f826,'German'),'prompt':'Translate\x20the\x20content\x20to\x20German\x20language.'},{'id':'translateFrench','label':getTranslation$j(_0x32f826,'French'),'prompt':'Translate\x20the\x20content\x20to\x20French\x20language.'},{'id':'translateChinese','label':getTranslation$j(_0x32f826,'Simplified\x20Chinese'),'prompt':'Translate\x20the\x20content\x20to\x20Simplified\x20Chinese\x20language.'},{'id':'translateHindi','label':getTranslation$j(_0x32f826,'Hindi'),'prompt':'Translate\x20the\x20content\x20to\x20Hindi\x20language.'},{'id':'translateArabic','label':getTranslation$j(_0x32f826,'Arabic'),'prompt':'Translate\x20the\x20content\x20to\x20Arabic\x20language.'}]}];}class AITextAdapter extends ckeditor5['Plugin']{['abortController'];static get['requires'](){return[AIAdapter];}constructor(_0x242331){super(_0x242331),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'](_0x53e5a4){return this['sendRequest'](_0x53e5a4)['catch'](_0x223a71=>{if(_0x223a71 instanceof AIRequestError)return Promise['reject'](_0x223a71);if('AbortError'==_0x223a71['name'])return Promise['resolve']();throw console['error'](_0x223a71),new ckeditor5['CKEditorError']('aitextadapter-send-request-failed',null);});}async['_prepareRequestHeaders'](_0x12e04e,_0xdb721e){const _0x2ea52b=this['editor']['locale'],_0x2bb019={'Content-Type':'application/json'};if('object'==typeof _0x12e04e)Object['assign'](_0x2bb019,_0x12e04e);else{if(_0x12e04e)try{const _0x39b456=await _0x12e04e(_0xdb721e);Object['assign'](_0x2bb019,_0x39b456);}catch{return Promise['reject'](new AIRequestError(getTranslation$j(_0x2ea52b,'AI_ERROR_GET_HEADERS')));}}return _0x2bb019;}async['_prepareRequestParameters'](_0x2dfe80,_0x32053b){const _0x429763=this['editor']['locale'];if('object'==typeof _0x2dfe80)return _0x2dfe80;try{return await _0x2dfe80(_0x32053b);}catch{return Promise['reject'](new AIRequestError(getTranslation$j(_0x429763,'AI_ERROR_GET_PARAMETERS')));}}}class OpenAITextAdapter extends AITextAdapter{['_apiUrl'];['_requestHeaders'];['_requestParameters'];static get['pluginName'](){return'OpenAITextAdapter';}constructor(_0x56d689){super(_0x56d689),_0x56d689['config']['define']('ai.assistant.adapter.openAI.apiUrl','https://api.openai.com/v1/chat/completions'),_0x56d689['config']['get']('ai.assistant.adapter.openAI.requestParameters')||_0x56d689['config']['define']('ai.assistant.adapter.openAI.requestParameters',{'model':'gpt-4o','temperature':0x1,'top_p':0x1,'stream':!0x0}),this['_apiUrl']=_0x56d689['config']['get']('ai.assistant.adapter.openAI.apiUrl'),this['_requestHeaders']=_0x56d689['config']['get']('ai.assistant.adapter.openAI.requestHeaders')||{},this['_requestParameters']=_0x56d689['config']['get']('ai.assistant.adapter.openAI.requestParameters');}async['sendRequest']({query:_0x58908a,context:_0x2ccdd0,onData:_0x572015,actionId:_0x5218eb}){const _0x5e8fad=this['editor']['locale'],_0x480af8=await this['prepareMessages'](_0x58908a,_0x2ccdd0,_0x5218eb),_0x44b390=await this['_prepareRequestHeaders'](this['_requestHeaders'],_0x5218eb),_0x510e5d=await this['_prepareRequestParameters'](this['_requestParameters'],_0x5218eb),_0x5339ee={'messages':_0x480af8,..._0x510e5d},_0x21f6e1={'method':'POST','headers':_0x44b390,'body':JSON['stringify'](_0x5339ee),'signal':this['abortController']['signal']},_0x2ef8dc=await fetch(this['_apiUrl'],_0x21f6e1);if(_0x2ef8dc['ok'])return _0x510e5d['stream']?await this['_readStreamableResponse'](_0x2ef8dc,_0x572015):await this['_readStaticResponse'](_0x2ef8dc,_0x572015),Promise['resolve']();{const _0x260360=await _0x2ef8dc['text']();return _0x260360['includes']('context_length_exceeded')?Promise['reject'](new AIRequestError(getTranslation$j(_0x5e8fad,'AI_ERROR_CONTEXT_LENGTH'))):_0x260360['includes']('Moderation')?Promise['reject'](new AIRequestError(getTranslation$j(_0x5e8fad,'AI_ERROR_MODERATION'))):Promise['reject'](new Error(_0x260360));}}async['prepareMessages'](_0x5b9dc8,_0x4b3ab5,_0x3a7070){let _0x3ed46f,_0x4d1c81;return _0x4b3ab5?(_0x3ed46f='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.',_0x4d1c81='Instruction:\x0a'+_0x5b9dc8+'\x0aYou\x20must\x20keep\x20the\x20text\x20formatting.\x0a\x0aContent:\x0a'+_0x4b3ab5):(_0x3ed46f='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.',_0x4d1c81=_0x5b9dc8),[{'role':'system','content':_0x3ed46f},{'role':'user','content':_0x4d1c81}];}async['_readStreamableResponse'](_0x29800c,_0x1dd4f5){const _0x1a229b=_0x29800c['body']['getReader'](),_0x1e7e25=new TextDecoder();let _0x43acd4='',_0x21aa07='',_0x4cfb06='',_0x410b38=!0x1;for(;!_0x410b38;){const {done:_0x4042ea,value:_0x3d10c3}=await _0x1a229b['read'](),_0x5ce615=_0x43acd4+_0x1e7e25['decode'](_0x3d10c3);let _0x2ab172='';_0x410b38=_0x4042ea;try{_0x2ab172=this['_cleanUpData'](_0x5ce615),_0x43acd4='';}catch{_0x43acd4=_0x5ce615;continue;}_0x21aa07+=_0x2ab172,!_0x410b38&&this['_isBufferIncomplete'](_0x21aa07)||_0x21aa07&&(_0x4cfb06+=_0x21aa07,_0x21aa07='',_0x1dd4f5(_0x4cfb06));}return Promise['resolve']();}async['_readStaticResponse'](_0xedba0,_0x4f3db3){return _0x4f3db3((await _0xedba0['json']())['choices'][0x0]['message']['content']),Promise['resolve']();}['_isBufferIncomplete'](_0x1e9708){const _0xd5f594=_0x1e9708['split']('<')['length']!==_0x1e9708['split']('>')['length'],_0x2cad7c=_0x1e9708['length']<0x1e;return _0xd5f594&&_0x2cad7c;}['_cleanUpData'](_0x9ab0d1){return _0x9ab0d1['split'](/\n(?![^{]*\})/g)['map'](_0x3bc9ff=>_0x3bc9ff['replace']('data:\x20',''))['filter'](_0x141bd7=>_0x141bd7&&_0x141bd7['length']>0x0&&'[DONE]'!==_0x141bd7)['map'](_0x5ab85c=>{const {choices:_0xf60f4d}=JSON['parse'](_0x5ab85c);if(_0xf60f4d[0x0]?.['delta']?.['content'])return _0xf60f4d[0x0]['delta']['content'];})['filter'](_0x69e46c=>_0x69e46c)['join']('');}}function resolveEventStreamConfig(_0x1216dd){const _0x261316=_0x1216dd['signer'],_0x107dec=_0x1216dd['signer'],_0x51a2c1=Object['assign'](_0x1216dd,{'eventSigner':_0x261316,'messageSigner':_0x107dec}),_0x3d4af0=_0x51a2c1['eventStreamPayloadHandlerProvider'](_0x51a2c1);return Object['assign'](_0x51a2c1,{'eventStreamPayloadHandler':_0x3d4af0});}const getHttpHandlerExtensionConfiguration=_0x13d3a9=>({'setHttpHandler'(_0x3191b8){_0x13d3a9['httpHandler']=_0x3191b8;},'httpHandler':()=>_0x13d3a9['httpHandler'],'updateHttpClientConfig'(_0x2a34d7,_0x235ec1){_0x13d3a9['httpHandler']?.['updateHttpClientConfig'](_0x2a34d7,_0x235ec1);},'httpHandlerConfigs':()=>_0x13d3a9['httpHandler']['httpHandlerConfigs']()}),resolveHttpHandlerRuntimeConfig=_0x52e43f=>({'httpHandler':_0x52e43f['httpHandler']()});var EndpointURLScheme,AlgorithmId;!function(_0x53056f){_0x53056f['HTTP']='http',_0x53056f['HTTPS']='https';}(EndpointURLScheme||(EndpointURLScheme={})),function(_0x597d59){_0x597d59['MD5']='md5',_0x597d59['CRC32']='crc32',_0x597d59['CRC32C']='crc32c',_0x597d59['SHA1']='sha1',_0x597d59['SHA256']='sha256';}(AlgorithmId||(AlgorithmId={}));const _0x4b6685='__smithy_context';class HttpRequest{constructor(_0x1b341c){this['method']=_0x1b341c['method']||'GET',this['hostname']=_0x1b341c['hostname']||'localhost',this['port']=_0x1b341c['port'],this['query']=_0x1b341c['query']||{},this['headers']=_0x1b341c['headers']||{},this['body']=_0x1b341c['body'],this['protocol']=_0x1b341c['protocol']?':'!==_0x1b341c['protocol']['slice'](-0x1)?_0x1b341c['protocol']+':':_0x1b341c['protocol']:'https:',this['path']=_0x1b341c['path']?'/'!==_0x1b341c['path']['charAt'](0x0)?'/'+_0x1b341c['path']:_0x1b341c['path']:'/',this['username']=_0x1b341c['username'],this['password']=_0x1b341c['password'],this['fragment']=_0x1b341c['fragment'];}static['clone'](_0x405bc1){const _0x15ab82=new HttpRequest({..._0x405bc1,'headers':{..._0x405bc1['headers']}});return _0x15ab82['query']&&(_0x15ab82['query']=_0x2467fe(_0x15ab82['query'])),_0x15ab82;}static['isInstance'](_0x1d671e){if(!_0x1d671e)return!0x1;const _0x5eb008=_0x1d671e;return'method'in _0x5eb008&&'protocol'in _0x5eb008&&'hostname'in _0x5eb008&&'path'in _0x5eb008&&'object'==typeof _0x5eb008['query']&&'object'==typeof _0x5eb008['headers'];}['clone'](){return HttpRequest['clone'](this);}}function _0x2467fe(_0x58cd61){return Object['keys'](_0x58cd61)['reduce']((_0x3ad25a,_0x3c6d7e)=>{const _0x182670=_0x58cd61[_0x3c6d7e];return{..._0x3ad25a,[_0x3c6d7e]:Array['isArray'](_0x182670)?[..._0x182670]:_0x182670};},{});}class HttpResponse{constructor(_0x1539de){this['statusCode']=_0x1539de['statusCode'],this['reason']=_0x1539de['reason'],this['headers']=_0x1539de['headers']||{},this['body']=_0x1539de['body'];}static['isInstance'](_0x43dddd){if(!_0x43dddd)return!0x1;const _0x5a90ce=_0x43dddd;return'number'==typeof _0x5a90ce['statusCode']&&'object'==typeof _0x5a90ce['headers'];}}function resolveHostHeaderConfig(_0x456973){return _0x456973;}const hostHeaderMiddleware=_0x1e6126=>_0x43c8a8=>async _0x48999d=>{if(!HttpRequest['isInstance'](_0x48999d['request']))return _0x43c8a8(_0x48999d);const {request:_0x113332}=_0x48999d,{handlerProtocol:_0x5e2f4e=''}=_0x1e6126['requestHandler']['metadata']||{};if(_0x5e2f4e['indexOf']('h2')>=0x0&&!_0x113332['headers'][':authority'])delete _0x113332['headers']['host'],_0x113332['headers'][':authority']=_0x113332['hostname']+(_0x113332['port']?':'+_0x113332['port']:'');else{if(!_0x113332['headers']['host']){let _0x41a6b3=_0x113332['hostname'];null!=_0x113332['port']&&(_0x41a6b3+=':'+_0x113332['port']),_0x113332['headers']['host']=_0x41a6b3;}}return _0x43c8a8(_0x48999d);},hostHeaderMiddlewareOptions={'name':'hostHeaderMiddleware','step':'build','priority':'low','tags':['HOST'],'override':!0x0},getHostHeaderPlugin=_0x387435=>({'applyToStack':_0x54b6fd=>{_0x54b6fd['add'](hostHeaderMiddleware(_0x387435),hostHeaderMiddlewareOptions);}}),_0x39cf20=()=>(_0xd543eb,_0x2c4b14)=>async _0x5249cd=>{try{const _0x307e76=await _0xd543eb(_0x5249cd),{clientName:_0x2dc315,commandName:_0x22606d,logger:_0x1fae9f,dynamoDbDocumentClientOptions:_0x515f37={}}=_0x2c4b14,{overrideInputFilterSensitiveLog:_0x1cb84e,overrideOutputFilterSensitiveLog:_0x1cbd10}=_0x515f37,_0x5283d4=_0x1cb84e??_0x2c4b14['inputFilterSensitiveLog'],_0x4d201f=_0x1cbd10??_0x2c4b14['outputFilterSensitiveLog'],{$metadata:_0x4bfecc,..._0x1de8f6}=_0x307e76['output'];return _0x1fae9f?.['info']?.({'clientName':_0x2dc315,'commandName':_0x22606d,'input':_0x5283d4(_0x5249cd['input']),'output':_0x4d201f(_0x1de8f6),'metadata':_0x4bfecc}),_0x307e76;}catch(_0x188af2){const {clientName:_0x440d73,commandName:_0x4a2888,logger:_0x3fb7f9,dynamoDbDocumentClientOptions:_0x16ac01={}}=_0x2c4b14,{overrideInputFilterSensitiveLog:_0x4f47fc}=_0x16ac01,_0x2faf29=_0x4f47fc??_0x2c4b14['inputFilterSensitiveLog'];throw _0x3fb7f9?.['error']?.({'clientName':_0x440d73,'commandName':_0x4a2888,'input':_0x2faf29(_0x5249cd['input']),'error':_0x188af2,'metadata':_0x188af2['$metadata']}),_0x188af2;}},loggerMiddlewareOptions={'name':'loggerMiddleware','tags':['LOGGER'],'step':'initialize','override':!0x0},getLoggerPlugin=_0x251596=>({'applyToStack':_0x413ec3=>{_0x413ec3['add'](_0x39cf20(),loggerMiddlewareOptions);}}),_0x447e8c='X-Amzn-Trace-Id',_0x46fa11='AWS_LAMBDA_FUNCTION_NAME',_0x28ec83='_X_AMZN_TRACE_ID',recursionDetectionMiddleware=_0xd373fc=>_0x319dcc=>async _0x5b64a4=>{const {request:_0x21382a}=_0x5b64a4;if(!HttpRequest['isInstance'](_0x21382a)||'node'!==_0xd373fc['runtime'])return _0x319dcc(_0x5b64a4);const _0x420dfd=Object['keys'](_0x21382a['headers']??{})['find'](_0x487676=>_0x487676['toLowerCase']()===_0x447e8c['toLowerCase']())??_0x447e8c;if(_0x21382a['headers']['hasOwnProperty'](_0x420dfd))return _0x319dcc(_0x5b64a4);const _0x288608=process['env'][_0x46fa11],_0x431094=process['env'][_0x28ec83],_0x180e60=_0xc99fad=>'string'==typeof _0xc99fad&&_0xc99fad['length']>0x0;return _0x180e60(_0x288608)&&_0x180e60(_0x431094)&&(_0x21382a['headers'][_0x447e8c]=_0x431094),_0x319dcc({..._0x5b64a4,'request':_0x21382a});},addRecursionDetectionMiddlewareOptions={'step':'build','tags':['RECURSION_DETECTION'],'name':'recursionDetectionMiddleware','override':!0x0,'priority':'low'},getRecursionDetectionPlugin=_0x4c30b4=>({'applyToStack':_0x4711df=>{_0x4711df['add'](recursionDetectionMiddleware(_0x4c30b4),addRecursionDetectionMiddlewareOptions);}}),getSmithyContext=_0x4dea4d=>_0x4dea4d[_0x4b6685]||(_0x4dea4d[_0x4b6685]={}),_0x5b0699=_0x33be8b=>{if('function'==typeof _0x33be8b)return _0x33be8b;const _0x1c7cac=Promise['resolve'](_0x33be8b);return()=>_0x1c7cac;},resolveAuthOptions=(_0x28e5e4,_0x2a5749)=>{if(!_0x2a5749||0x0===_0x2a5749['length'])return _0x28e5e4;const _0x4619e7=[];for(const _0x5137a9 of _0x2a5749)for(const _0x10fe42 of _0x28e5e4){_0x10fe42['schemeId']['split']('#')[0x1]===_0x5137a9&&_0x4619e7['push'](_0x10fe42);}for(const _0x145c37 of _0x28e5e4)_0x4619e7['find'](({schemeId:_0x5402a1})=>_0x5402a1===_0x145c37['schemeId'])||_0x4619e7['push'](_0x145c37);return _0x4619e7;};function convertHttpAuthSchemesToMap(_0x1d28c2){const _0x1277e9=new Map();for(const _0xa27fc0 of _0x1d28c2)_0x1277e9['set'](_0xa27fc0['schemeId'],_0xa27fc0);return _0x1277e9;}const httpAuthSchemeMiddleware=(_0x1ca5d4,_0x22b319)=>(_0x3d6d90,_0x368088)=>async _0x2f3d4b=>{const _0x15e471=_0x1ca5d4['httpAuthSchemeProvider'](await _0x22b319['httpAuthSchemeParametersProvider'](_0x1ca5d4,_0x368088,_0x2f3d4b['input'])),_0x4706e3=_0x1ca5d4['authSchemePreference']?await _0x1ca5d4['authSchemePreference']():[],_0x19a833=resolveAuthOptions(_0x15e471,_0x4706e3),_0x3385c3=convertHttpAuthSchemesToMap(_0x1ca5d4['httpAuthSchemes']),_0x1c9460=getSmithyContext(_0x368088),_0x3f1d32=[];for(const _0x4ae749 of _0x19a833){const _0x41e915=_0x3385c3['get'](_0x4ae749['schemeId']);if(!_0x41e915){_0x3f1d32['push']('HttpAuthScheme\x20`'+_0x4ae749['schemeId']+'`\x20was\x20not\x20enabled\x20for\x20this\x20service.');continue;}const _0x47efcd=_0x41e915['identityProvider'](await _0x22b319['identityProviderConfigProvider'](_0x1ca5d4));if(!_0x47efcd){_0x3f1d32['push']('HttpAuthScheme\x20`'+_0x4ae749['schemeId']+'`\x20did\x20not\x20have\x20an\x20IdentityProvider\x20configured.');continue;}const {identityProperties:_0x1a8a30={},signingProperties:_0x45c29f={}}=_0x4ae749['propertiesExtractor']?.(_0x1ca5d4,_0x368088)||{};_0x4ae749['identityProperties']=Object['assign'](_0x4ae749['identityProperties']||{},_0x1a8a30),_0x4ae749['signingProperties']=Object['assign'](_0x4ae749['signingProperties']||{},_0x45c29f),_0x1c9460['selectedHttpAuthScheme']={'httpAuthOption':_0x4ae749,'identity':await _0x47efcd(_0x4ae749['identityProperties']),'signer':_0x41e915['signer']};break;}if(!_0x1c9460['selectedHttpAuthScheme'])throw new Error(_0x3f1d32['join']('\x0a'));return _0x3d6d90(_0x2f3d4b);},httpAuthSchemeEndpointRuleSetMiddlewareOptions={'step':'serialize','tags':['HTTP_AUTH_SCHEME'],'name':'httpAuthSchemeMiddleware','override':!0x0,'relation':'before','toMiddleware':'endpointV2Middleware'},getHttpAuthSchemeEndpointRuleSetPlugin=(_0x2dc712,{httpAuthSchemeParametersProvider:_0x45eba1,identityProviderConfigProvider:_0x165ad4})=>({'applyToStack':_0x335f0d=>{_0x335f0d['addRelativeTo'](httpAuthSchemeMiddleware(_0x2dc712,{'httpAuthSchemeParametersProvider':_0x45eba1,'identityProviderConfigProvider':_0x165ad4}),httpAuthSchemeEndpointRuleSetMiddlewareOptions);}}),_0x59287f=(_0x1f149c,_0x56faef)=>(_0x4964f9,_0x5e1b3b)=>async _0x55dfde=>{const {response:_0x2f90f2}=await _0x4964f9(_0x55dfde);try{return{'response':_0x2f90f2,'output':await _0x56faef(_0x2f90f2,_0x1f149c)};}catch(_0x16788e){if(Object['defineProperty'](_0x16788e,'$response',{'value':_0x2f90f2}),!('$metadata'in _0x16788e)){const _0x2dfe84='Deserialization\x20error:\x20to\x20see\x20the\x20raw\x20response,\x20inspect\x20the\x20hidden\x20field\x20{error}.$response\x20on\x20this\x20object.';try{_0x16788e['message']+='\x0a\x20\x20'+_0x2dfe84;}catch(_0x104fa8){_0x5e1b3b['logger']&&'NoOpLogger'!==_0x5e1b3b['logger']?.['constructor']?.['name']?_0x5e1b3b['logger']?.['warn']?.(_0x2dfe84):console['warn'](_0x2dfe84);}void 0x0!==_0x16788e['$responseBodyText']&&_0x16788e['$response']&&(_0x16788e['$response']['body']=_0x16788e['$responseBodyText']);try{if(HttpResponse['isInstance'](_0x2f90f2)){const {headers:_0x378502={}}=_0x2f90f2,_0x115569=Object['entries'](_0x378502);_0x16788e['$metadata']={'httpStatusCode':_0x2f90f2['statusCode'],'requestId':_0x2e2e64(/^x-[\w-]+-request-?id$/,_0x115569),'extendedRequestId':_0x2e2e64(/^x-[\w-]+-id-2$/,_0x115569),'cfId':_0x2e2e64(/^x-[\w-]+-cf-id$/,_0x115569)};}}catch(_0x234fcc){}}throw _0x16788e;}},_0x2e2e64=(_0x229818,_0x21a259)=>(_0x21a259['find'](([_0xd300a7])=>_0xd300a7['match'](_0x229818))||[void 0x0,void 0x0])[0x1],_0x188ccd=(_0x11d8c2,_0x30f3c6)=>(_0x2fd424,_0xd5cf07)=>async _0x211769=>{const _0x594007=_0x11d8c2,_0x5a4054=_0xd5cf07['endpointV2']?.['url']&&_0x594007['urlParser']?async()=>_0x594007['urlParser'](_0xd5cf07['endpointV2']['url']):_0x594007['endpoint'];if(!_0x5a4054)throw new Error('No\x20valid\x20endpoint\x20provider\x20available.');const _0x32be62=await _0x30f3c6(_0x211769['input'],{..._0x11d8c2,'endpoint':_0x5a4054});return _0x2fd424({..._0x211769,'request':_0x32be62});},deserializerMiddlewareOption={'name':'deserializerMiddleware','step':'deserialize','tags':['DESERIALIZER'],'override':!0x0},serializerMiddlewareOption={'name':'serializerMiddleware','step':'serialize','tags':['SERIALIZER'],'override':!0x0};function getSerdePlugin(_0x4018c7,_0x42630b,_0x572e43){return{'applyToStack':_0x43d749=>{_0x43d749['add'](_0x59287f(_0x4018c7,_0x572e43),deserializerMiddlewareOption),_0x43d749['add'](_0x188ccd(_0x4018c7,_0x42630b),serializerMiddlewareOption);}};}const defaultErrorHandler=_0x6bd71b=>_0x262117=>{throw _0x262117;},defaultSuccessHandler=(_0x2feca0,_0x257b89)=>{},httpSigningMiddleware=_0x58291a=>(_0x58d8ab,_0x4d823f)=>async _0x2073dd=>{if(!HttpRequest['isInstance'](_0x2073dd['request']))return _0x58d8ab(_0x2073dd);const _0xd23605=getSmithyContext(_0x4d823f)['selectedHttpAuthScheme'];if(!_0xd23605)throw new Error('No\x20HttpAuthScheme\x20was\x20selected:\x20unable\x20to\x20sign\x20request');const {httpAuthOption:{signingProperties:_0x1224b4={}},identity:_0x4e30a1,signer:_0x3ebfe5}=_0xd23605,_0x7f0303=await _0x58d8ab({..._0x2073dd,'request':await _0x3ebfe5['sign'](_0x2073dd['request'],_0x4e30a1,_0x1224b4)})['catch']((_0x3ebfe5['errorHandler']||defaultErrorHandler)(_0x1224b4));return(_0x3ebfe5['successHandler']||defaultSuccessHandler)(_0x7f0303['response'],_0x1224b4),_0x7f0303;},httpSigningMiddlewareOptions={'step':'finalizeRequest','tags':['HTTP_SIGNING'],'name':'httpSigningMiddleware','aliases':['apiKeyMiddleware','tokenMiddleware','awsAuthMiddleware'],'override':!0x0,'relation':'after','toMiddleware':'retryMiddleware'},getHttpSigningPlugin=_0x41d991=>({'applyToStack':_0x20471b=>{_0x20471b['addRelativeTo'](httpSigningMiddleware(),httpSigningMiddlewareOptions);}}),_0x558c3a=_0x1d0ac4=>{if('function'==typeof _0x1d0ac4)return _0x1d0ac4;const _0x30f3af=Promise['resolve'](_0x1d0ac4);return()=>_0x30f3af;},alphabetByEncoding={},alphabetByValue=new Array(0x40);for(let _0x58539c=0x0,_0x2ecb7a='A'['charCodeAt'](0x0),_0x50db23='Z'['charCodeAt'](0x0);_0x58539c+_0x2ecb7a<=_0x50db23;_0x58539c++){const _0x50df64=String['fromCharCode'](_0x58539c+_0x2ecb7a);alphabetByEncoding[_0x50df64]=_0x58539c,alphabetByValue[_0x58539c]=_0x50df64;}for(let _0x15e494=0x0,_0x4e9e07='a'['charCodeAt'](0x0),_0x264a1b='z'['charCodeAt'](0x0);_0x15e494+_0x4e9e07<=_0x264a1b;_0x15e494++){const _0x1f8318=String['fromCharCode'](_0x15e494+_0x4e9e07),_0x50e9f7=_0x15e494+0x1a;alphabetByEncoding[_0x1f8318]=_0x50e9f7,alphabetByValue[_0x50e9f7]=_0x1f8318;}for(let _0x2a604c=0x0;_0x2a604c<0xa;_0x2a604c++){alphabetByEncoding[_0x2a604c['toString'](0xa)]=_0x2a604c+0x34;const _0x5a4b83=_0x2a604c['toString'](0xa),_0x3596fe=_0x2a604c+0x34;alphabetByEncoding[_0x5a4b83]=_0x3596fe,alphabetByValue[_0x3596fe]=_0x5a4b83;}alphabetByEncoding['+']=0x3e,alphabetByValue[0x3e]='+',alphabetByEncoding['/']=0x3f,alphabetByValue[0x3f]='/';const bitsPerLetter=0x6,bitsPerByte=0x8,maxLetterValue=0x3f,_0x11bf6f=_0x5ca3c5=>{let _0x1e03e1=_0x5ca3c5['length']/0x4*0x3;'=='===_0x5ca3c5['slice'](-0x2)?_0x1e03e1-=0x2:'='===_0x5ca3c5['slice'](-0x1)&&_0x1e03e1--;const _0x17df2e=new ArrayBuffer(_0x1e03e1),_0x594646=new DataView(_0x17df2e);for(let _0x1269af=0x0;_0x1269af<_0x5ca3c5['length'];_0x1269af+=0x4){let _0x56df4d=0x0,_0x3eab6c=0x0;for(let _0x2deb76=_0x1269af,_0x439f95=_0x1269af+0x3;_0x2deb76<=_0x439f95;_0x2deb76++)if('='!==_0x5ca3c5[_0x2deb76]){if(!(_0x5ca3c5[_0x2deb76]in alphabetByEncoding))throw new TypeError('Invalid\x20character\x20'+_0x5ca3c5[_0x2deb76]+'\x20in\x20base64\x20string.');_0x56df4d|=alphabetByEncoding[_0x5ca3c5[_0x2deb76]]<<(_0x439f95-_0x2deb76)*bitsPerLetter,_0x3eab6c+=bitsPerLetter;}else _0x56df4d>>=bitsPerLetter;const _0x5918e0=_0x1269af/0x4*0x3;_0x56df4d>>=_0x3eab6c%bitsPerByte;const _0x1777f8=Math['floor'](_0x3eab6c/bitsPerByte);for(let _0x5c0234=0x0;_0x5c0234<_0x1777f8;_0x5c0234++){const _0x1e193b=(_0x1777f8-_0x5c0234-0x1)*bitsPerByte;_0x594646['setUint8'](_0x5918e0+_0x5c0234,(_0x56df4d&0xff<<_0x1e193b)>>_0x1e193b);}}return new Uint8Array(_0x17df2e);},fromUtf8$2=_0x409186=>new TextEncoder()['encode'](_0x409186),toUint8Array=_0x376f88=>'string'==typeof _0x376f88?fromUtf8$2(_0x376f88):ArrayBuffer['isView'](_0x376f88)?new Uint8Array(_0x376f88['buffer'],_0x376f88['byteOffset'],_0x376f88['byteLength']/Uint8Array['BYTES_PER_ELEMENT']):new Uint8Array(_0x376f88),toUtf8=_0x524760=>{if('string'==typeof _0x524760)return _0x524760;if('object'!=typeof _0x524760||'number'!=typeof _0x524760['byteOffset']||'number'!=typeof _0x524760['byteLength'])throw new Error('@smithy/util-utf8:\x20toUtf8\x20encoder\x20function\x20only\x20accepts\x20string\x20|\x20Uint8Array.');return new TextDecoder('utf-8')['decode'](_0x524760);};function toBase64(_0x447f02){let _0x9ba300;_0x9ba300='string'==typeof _0x447f02?fromUtf8$2(_0x447f02):_0x447f02;const _0x80b9b5='object'==typeof _0x9ba300&&'number'==typeof _0x9ba300['length'],_0x4f3bb7='object'==typeof _0x9ba300&&'number'==typeof _0x9ba300['byteOffset']&&'number'==typeof _0x9ba300['byteLength'];if(!_0x80b9b5&&!_0x4f3bb7)throw new Error('@smithy/util-base64:\x20toBase64\x20encoder\x20function\x20only\x20accepts\x20string\x20|\x20Uint8Array.');let _0x3f0f9a='';for(let _0x43710c=0x0;_0x43710c<_0x9ba300['length'];_0x43710c+=0x3){let _0x3f2b85=0x0,_0x4c8373=0x0;for(let _0x5db307=_0x43710c,_0xb33d94=Math['min'](_0x43710c+0x3,_0x9ba300['length']);_0x5db307<_0xb33d94;_0x5db307++)_0x3f2b85|=_0x9ba300[_0x5db307]<<(_0xb33d94-_0x5db307-0x1)*bitsPerByte,_0x4c8373+=bitsPerByte;const _0x1f2b93=Math['ceil'](_0x4c8373/bitsPerLetter);_0x3f2b85<<=_0x1f2b93*bitsPerLetter-_0x4c8373;for(let _0x27ab6e=0x1;_0x27ab6e<=_0x1f2b93;_0x27ab6e++){const _0x1cb020=(_0x1f2b93-_0x27ab6e)*bitsPerLetter;_0x3f0f9a+=alphabetByValue[(_0x3f2b85&maxLetterValue<<_0x1cb020)>>_0x1cb020];}_0x3f0f9a+='=='['slice'](0x0,0x4-_0x1f2b93);}return _0x3f0f9a;}function transformToString(_0x12362d,_0x45aa9b='utf-8'){return'base64'===_0x45aa9b?toBase64(_0x12362d):toUtf8(_0x12362d);}function transformFromString(_0x381578,_0xaf50ae){return'base64'===_0xaf50ae?Uint8ArrayBlobAdapter['mutate'](_0x11bf6f(_0x381578)):Uint8ArrayBlobAdapter['mutate'](fromUtf8$2(_0x381578));}class Uint8ArrayBlobAdapter extends Uint8Array{static['fromString'](_0x353546,_0x52d45d='utf-8'){if('string'==typeof _0x353546)return transformFromString(_0x353546,_0x52d45d);throw new Error('Unsupported\x20conversion\x20from\x20'+typeof _0x353546+'\x20to\x20Uint8ArrayBlobAdapter.');}static['mutate'](_0x174e1c){return Object['setPrototypeOf'](_0x174e1c,Uint8ArrayBlobAdapter['prototype']),_0x174e1c;}['transformToString'](_0x111070='utf-8'){return transformToString(this,_0x111070);}}const _0x3bcfd9=_0x42d104=>encodeURIComponent(_0x42d104)['replace'](/[!'()*]/g,_0x5469ac),_0x5469ac=_0xfc4d59=>'%'+_0xfc4d59['charCodeAt'](0x0)['toString'](0x10)['toUpperCase']();function buildQueryString(_0x570ebc){const _0x4d1d96=[];for(let _0x37d129 of Object['keys'](_0x570ebc)['sort']()){const _0x4a1ff2=_0x570ebc[_0x37d129];if(_0x37d129=_0x3bcfd9(_0x37d129),Array['isArray'](_0x4a1ff2)){for(let _0x40f99d=0x0,_0x3b1b40=_0x4a1ff2['length'];_0x40f99d<_0x3b1b40;_0x40f99d++)_0x4d1d96['push'](_0x37d129+'='+_0x3bcfd9(_0x4a1ff2[_0x40f99d]));}else{let _0x35e746=_0x37d129;(_0x4a1ff2||'string'==typeof _0x4a1ff2)&&(_0x35e746+='='+_0x3bcfd9(_0x4a1ff2)),_0x4d1d96['push'](_0x35e746);}}return _0x4d1d96['join']('&');}function createRequest(_0x36fc04,_0x106f21){return new Request(_0x36fc04,_0x106f21);}function requestTimeout(_0x1fdce9=0x0){return new Promise((_0x2abeac,_0x39aea2)=>{_0x1fdce9&&setTimeout(()=>{const _0x78b667=new Error('Request\x20did\x20not\x20complete\x20within\x20'+_0x1fdce9+'\x20ms');_0x78b667['name']='TimeoutError',_0x39aea2(_0x78b667);},_0x1fdce9);});}const keepAliveSupport={'supported':void 0x0};class FetchHttpHandler{static['create'](_0x49e5e1){return'function'==typeof _0x49e5e1?.['handle']?_0x49e5e1:new FetchHttpHandler(_0x49e5e1);}constructor(_0x227cbc){'function'==typeof _0x227cbc?this['configProvider']=_0x227cbc()['then'](_0x2e041b=>_0x2e041b||{}):(this['config']=_0x227cbc??{},this['configProvider']=Promise['resolve'](this['config'])),void 0x0===keepAliveSupport['supported']&&(keepAliveSupport['supported']=Boolean('undefined'!=typeof Request&&'keepalive'in createRequest('https://[::1]')));}['destroy'](){}async['handle'](_0x285c06,{abortSignal:_0x32ce4a,requestTimeout:_0x3d0c8f}={}){this['config']||(this['config']=await this['configProvider']);const _0x534549=_0x3d0c8f??this['config']['requestTimeout'],_0x39d22e=!0x0===this['config']['keepAlive'],_0x57e44f=this['config']['credentials'];if(_0x32ce4a?.['aborted']){const _0x29fea0=new Error('Request\x20aborted');return _0x29fea0['name']='AbortError',Promise['reject'](_0x29fea0);}let _0x255598=_0x285c06['path'];const _0x1ffdc3=buildQueryString(_0x285c06['query']||{});_0x1ffdc3&&(_0x255598+='?'+_0x1ffdc3),_0x285c06['fragment']&&(_0x255598+='#'+_0x285c06['fragment']);let _0x14aec2='';(null!=_0x285c06['username']||null!=_0x285c06['password'])&&(_0x14aec2=(_0x285c06['username']??'')+':'+(_0x285c06['password']??'')+'@');const {port:_0x59c74f,method:_0x13f360}=_0x285c06,_0x583876=_0x285c06['protocol']+'//'+_0x14aec2+_0x285c06['hostname']+(_0x59c74f?':'+_0x59c74f:'')+_0x255598,_0xbe02b9='GET'===_0x13f360||'HEAD'===_0x13f360?void 0x0:_0x285c06['body'],_0x5f1dc0={'body':_0xbe02b9,'headers':new Headers(_0x285c06['headers']),'method':_0x13f360,'credentials':_0x57e44f};this['config']?.['cache']&&(_0x5f1dc0['cache']=this['config']['cache']),_0xbe02b9&&(_0x5f1dc0['duplex']='half'),'undefined'!=typeof AbortController&&(_0x5f1dc0['signal']=_0x32ce4a),keepAliveSupport['supported']&&(_0x5f1dc0['keepalive']=_0x39d22e),'function'==typeof this['config']['requestInit']&&Object['assign'](_0x5f1dc0,this['config']['requestInit'](_0x285c06));let _0x5c467b=()=>{};const _0xcce749=createRequest(_0x583876,_0x5f1dc0),_0x5de0bc=[fetch(_0xcce749)['then'](_0x48d5e6=>{const _0x54344c=_0x48d5e6['headers'],_0x1e7340={};for(const _0x5955c2 of _0x54344c['entries']())_0x1e7340[_0x5955c2[0x0]]=_0x5955c2[0x1];return null!=_0x48d5e6['body']?{'response':new HttpResponse({'headers':_0x1e7340,'reason':_0x48d5e6['statusText'],'statusCode':_0x48d5e6['status'],'body':_0x48d5e6['body']})}:_0x48d5e6['blob']()['then'](_0x5eeb67=>({'response':new HttpResponse({'headers':_0x1e7340,'reason':_0x48d5e6['statusText'],'statusCode':_0x48d5e6['status'],'body':_0x5eeb67})}));}),requestTimeout(_0x534549)];return _0x32ce4a&&_0x5de0bc['push'](new Promise((_0x336f43,_0x447046)=>{const _0x573d84=()=>{const _0x230432=new Error('Request\x20aborted');_0x230432['name']='AbortError',_0x447046(_0x230432);};if('function'==typeof _0x32ce4a['addEventListener']){const _0x5368ef=_0x32ce4a;_0x5368ef['addEventListener']('abort',_0x573d84,{'once':!0x0}),_0x5c467b=()=>_0x5368ef['removeEventListener']('abort',_0x573d84);}else _0x32ce4a['onabort']=_0x573d84;})),Promise['race'](_0x5de0bc)['finally'](_0x5c467b);}['updateHttpClientConfig'](_0x2291dc,_0x33061b){this['config']=void 0x0,this['configProvider']=this['configProvider']['then'](_0x25491b=>(_0x25491b[_0x2291dc]=_0x33061b,_0x25491b));}['httpHandlerConfigs'](){return this['config']??{};}}const streamCollector=async _0x4d9383=>'function'==typeof Blob&&_0x4d9383 instanceof Blob||'Blob'===_0x4d9383['constructor']?.['name']?void 0x0!==Blob['prototype']['arrayBuffer']?new Uint8Array(await _0x4d9383['arrayBuffer']()):collectBlob(_0x4d9383):collectStream(_0x4d9383);async function collectBlob(_0x4ee954){const _0x1eaba0=await _0x184b11(_0x4ee954),_0x3bf5a6=_0x11bf6f(_0x1eaba0);return new Uint8Array(_0x3bf5a6);}async function collectStream(_0x109706){const _0x22eb43=[],_0x5be4a8=_0x109706['getReader']();let _0x16dca8=!0x1,_0x53fc85=0x0;for(;!_0x16dca8;){const {done:_0x3d13bd,value:_0x5c6117}=await _0x5be4a8['read']();_0x5c6117&&(_0x22eb43['push'](_0x5c6117),_0x53fc85+=_0x5c6117['length']),_0x16dca8=_0x3d13bd;}const _0x25a119=new Uint8Array(_0x53fc85);let _0x5d9daa=0x0;for(const _0x162022 of _0x22eb43)_0x25a119['set'](_0x162022,_0x5d9daa),_0x5d9daa+=_0x162022['length'];return _0x25a119;}function _0x184b11(_0x1a7104){return new Promise((_0x267fc4,_0x360d68)=>{const _0x3376d5=new FileReader();_0x3376d5['onloadend']=()=>{if(0x2!==_0x3376d5['readyState'])return _0x360d68(new Error('Reader\x20aborted\x20too\x20early'));const _0x56e0aa=_0x3376d5['result']??'',_0x293e3f=_0x56e0aa['indexOf'](','),_0x21ad5c=_0x293e3f>-0x1?_0x293e3f+0x1:_0x56e0aa['length'];_0x267fc4(_0x56e0aa['substring'](_0x21ad5c));},_0x3376d5['onabort']=()=>_0x360d68(new Error('Read\x20aborted')),_0x3376d5['onerror']=()=>_0x360d68(_0x3376d5['error']),_0x3376d5['readAsDataURL'](_0x1a7104);});}const _0x46f59c={},_0x5392ae={};for(let _0x4a741d=0x0;_0x4a741d<0x100;_0x4a741d++){let _0x329ed0=_0x4a741d['toString'](0x10)['toLowerCase']();0x1===_0x329ed0['length']&&(_0x329ed0='0'+_0x329ed0),_0x46f59c[_0x4a741d]=_0x329ed0,_0x5392ae[_0x329ed0]=_0x4a741d;}function _0x3d1b9d(_0x5f4c8f){if(_0x5f4c8f['length']%0x2!=0x0)throw new Error('Hex\x20encoded\x20strings\x20must\x20have\x20an\x20even\x20number\x20length');const _0x107945=new Uint8Array(_0x5f4c8f['length']/0x2);for(let _0x5152a9=0x0;_0x5152a9<_0x5f4c8f['length'];_0x5152a9+=0x2){const _0x364df7=_0x5f4c8f['slice'](_0x5152a9,_0x5152a9+0x2)['toLowerCase']();if(!(_0x364df7 in _0x5392ae))throw new Error('Cannot\x20decode\x20unrecognized\x20sequence\x20'+_0x364df7+'\x20as\x20hexadecimal');_0x107945[_0x5152a9/0x2]=_0x5392ae[_0x364df7];}return _0x107945;}function toHex(_0x3f9b01){let _0x3ee3a7='';for(let _0x2b748=0x0;_0x2b748<_0x3f9b01['byteLength'];_0x2b748++)_0x3ee3a7+=_0x46f59c[_0x3f9b01[_0x2b748]];return _0x3ee3a7;}const collectBody=async(_0x234b0e=new Uint8Array(),_0x526a12)=>{if(_0x234b0e instanceof Uint8Array)return Uint8ArrayBlobAdapter['mutate'](_0x234b0e);if(!_0x234b0e)return Uint8ArrayBlobAdapter['mutate'](new Uint8Array());const _0x5ef34c=_0x526a12['streamCollector'](_0x234b0e);return Uint8ArrayBlobAdapter['mutate'](await _0x5ef34c);};function extendedEncodeURIComponent(_0x110b98){return encodeURIComponent(_0x110b98)['replace'](/[!'()*]/g,function(_0x13844c){return'%'+_0x13844c['charCodeAt'](0x0)['toString'](0x10)['toUpperCase']();});}const _0x538a47=_0x1f6a03=>'function'==typeof _0x1f6a03?_0x1f6a03():_0x1f6a03;class TypeRegistry{constructor(_0x16c137,_0x3f26d3=new Map()){this['namespace']=_0x16c137,this['schemas']=_0x3f26d3;}static['for'](_0x492444){return TypeRegistry['registries']['has'](_0x492444)||TypeRegistry['registries']['set'](_0x492444,new TypeRegistry(_0x492444)),TypeRegistry['registries']['get'](_0x492444);}['register'](_0xfb06a3,_0x6ddaa9){const _0x3ce04e=this['normalizeShapeId'](_0xfb06a3);TypeRegistry['for'](this['getNamespace'](_0xfb06a3))['schemas']['set'](_0x3ce04e,_0x6ddaa9);}['getSchema'](_0x49cb8d){const _0x52cf96=this['normalizeShapeId'](_0x49cb8d);if(!this['schemas']['has'](_0x52cf96))throw new Error('@smithy/core/schema\x20-\x20schema\x20not\x20found\x20for\x20'+_0x52cf96);return this['schemas']['get'](_0x52cf96);}['getBaseException'](){for(const [_0x3d7cfd,_0x388f39]of this['schemas']['entries']())if(_0x3d7cfd['startsWith']('smithy.ts.sdk.synthetic.')&&_0x3d7cfd['endsWith']('ServiceException'))return _0x388f39;}['find'](_0x163e84){return[...this['schemas']['values']()]['find'](_0x163e84);}['destroy'](){TypeRegistry['registries']['delete'](this['namespace']),this['schemas']['clear']();}['normalizeShapeId'](_0x4c5b1d){return _0x4c5b1d['includes']('#')?_0x4c5b1d:this['namespace']+'#'+_0x4c5b1d;}['getNamespace'](_0x8a414e){return this['normalizeShapeId'](_0x8a414e)['split']('#')[0x0];}}TypeRegistry['registries']=new Map();let _0x30377f=class{static['assign'](_0x4f5468,_0x1acbdb){const _0x4c1890=Object['assign'](_0x4f5468,_0x1acbdb);return TypeRegistry['for'](_0x4c1890['namespace'])['register'](_0x4c1890['name'],_0x4c1890),_0x4c1890;}static[Symbol['hasInstance']](_0x8a9330){const _0x5216b8=this['prototype']['isPrototypeOf'](_0x8a9330);if(!_0x5216b8&&'object'==typeof _0x8a9330&&null!==_0x8a9330)return _0x8a9330['symbol']===this['symbol'];return _0x5216b8;}['getName'](){return this['namespace']+'#'+this['name'];}};class ListSchema extends _0x30377f{constructor(){super(...arguments),this['symbol']=ListSchema['symbol'];}}ListSchema['symbol']=Symbol['for']('@smithy/lis');class _0x2272cf extends _0x30377f{constructor(){super(...arguments),this['symbol']=_0x2272cf['symbol'];}}_0x2272cf['symbol']=Symbol['for']('@smithy/map');class StructureSchema extends _0x30377f{constructor(){super(...arguments),this['symbol']=StructureSchema['symbol'];}}StructureSchema['symbol']=Symbol['for']('@smithy/str');const _0x2e167e={'BLOB':0x15,'STREAMING_BLOB':0x2a,'BOOLEAN':0x2,'STRING':0x0,'NUMERIC':0x1,'BIG_INTEGER':0x11,'BIG_DECIMAL':0x13,'DOCUMENT':0xf,'TIMESTAMP_DEFAULT':0x4,'TIMESTAMP_DATE_TIME':0x5,'TIMESTAMP_HTTP_DATE':0x6,'TIMESTAMP_EPOCH_SECONDS':0x7,'LIST_MODIFIER':0x40,'MAP_MODIFIER':0x80};class _0x29a1f1 extends _0x30377f{constructor(){super(...arguments),this['symbol']=_0x29a1f1['symbol'];}}_0x29a1f1['symbol']=Symbol['for']('@smithy/sim');class _0x38b8e3{constructor(_0x285d3d,_0x5cb590){this['ref']=_0x285d3d,this['memberName']=_0x5cb590,this['symbol']=_0x38b8e3['symbol'];const _0xce806f=[];let _0x14f41b=_0x285d3d,_0x3047c1=_0x285d3d;for(this['_isMemberSchema']=!0x1;Array['isArray'](_0x14f41b);)_0xce806f['push'](_0x14f41b[0x1]),_0x14f41b=_0x14f41b[0x0],_0x3047c1=_0x538a47(_0x14f41b),this['_isMemberSchema']=!0x0;if(_0xce806f['length']>0x0){this['memberTraits']={};for(let _0x22d386=_0xce806f['length']-0x1;_0x22d386>=0x0;--_0x22d386){const _0x1c5501=_0xce806f[_0x22d386];Object['assign'](this['memberTraits'],_0x38b8e3['translateTraits'](_0x1c5501));}}else this['memberTraits']=0x0;if(_0x3047c1 instanceof _0x38b8e3)return Object['assign'](this,_0x3047c1),this['memberTraits']=Object['assign']({},_0x3047c1['getMemberTraits'](),this['getMemberTraits']()),this['normalizedTraits']=void 0x0,void(this['memberName']=_0x5cb590??_0x3047c1['memberName']);if(this['schema']=_0x538a47(_0x3047c1),this['schema']&&'object'==typeof this['schema']?this['traits']=this['schema']?.['traits']??{}:this['traits']=0x0,this['name']=(this['schema']instanceof _0x30377f?this['schema']['getName']?.():void 0x0)??this['memberName']??this['getSchemaName'](),this['_isMemberSchema']&&!_0x5cb590)throw new Error('@smithy/core/schema\x20-\x20NormalizedSchema\x20member\x20init\x20'+this['getName'](!0x0)+'\x20missing\x20member\x20name.');}static[Symbol['hasInstance']](_0xb373f9){return _0x30377f[Symbol['hasInstance']]['bind'](this)(_0xb373f9);}static['of'](_0x252b4a){if(_0x252b4a instanceof _0x38b8e3)return _0x252b4a;if(Array['isArray'](_0x252b4a)){const [_0x1138bc,_0x36ee57]=_0x252b4a;if(_0x1138bc instanceof _0x38b8e3)return Object['assign'](_0x1138bc['getMergedTraits'](),_0x38b8e3['translateTraits'](_0x36ee57)),_0x1138bc;throw new Error('@smithy/core/schema\x20-\x20may\x20not\x20init\x20unwrapped\x20member\x20schema='+JSON['stringify'](_0x252b4a,null,0x2)+'.');}return new _0x38b8e3(_0x252b4a);}static['translateTraits'](_0x1f612b){if('object'==typeof _0x1f612b)return _0x1f612b;_0x1f612b|=0x0;const _0x370b45={};let _0x2822e2=0x0;for(const _0x3cddab of['httpLabel','idempotent','idempotencyToken','sensitive','httpPayload','httpResponseCode','httpQueryParams'])0x1==(_0x1f612b>>_0x2822e2++&0x1)&&(_0x370b45[_0x3cddab]=0x1);return _0x370b45;}['getSchema'](){return this['schema']instanceof _0x38b8e3?(Object['assign'](this,{'schema':this['schema']['getSchema']()}),this['schema']):this['schema']instanceof _0x29a1f1?_0x538a47(this['schema']['schemaRef']):_0x538a47(this['schema']);}['getName'](_0x39f069=!0x1){return!_0x39f069&&this['name']&&this['name']['includes']('#')?this['name']['split']('#')[0x1]:this['name']||void 0x0;}['getMemberName'](){if(!this['isMemberSchema']())throw new Error('@smithy/core/schema\x20-\x20non-member\x20schema:\x20'+this['getName'](!0x0));return this['memberName'];}['isMemberSchema'](){return this['_isMemberSchema'];}['isUnitSchema'](){return'unit'===this['getSchema']();}['isListSchema'](){const _0x321a75=this['getSchema']();return'number'==typeof _0x321a75?_0x321a75>=_0x2e167e['LIST_MODIFIER']&&_0x321a75<_0x2e167e['MAP_MODIFIER']:_0x321a75 instanceof ListSchema;}['isMapSchema'](){const _0x24ca14=this['getSchema']();return'number'==typeof _0x24ca14?_0x24ca14>=_0x2e167e['MAP_MODIFIER']&&_0x24ca14<=0xff:_0x24ca14 instanceof _0x2272cf;}['isStructSchema'](){const _0x24b43c=this['getSchema']();return null!==_0x24b43c&&'object'==typeof _0x24b43c&&'members'in _0x24b43c||_0x24b43c instanceof StructureSchema;}['isBlobSchema'](){return this['getSchema']()===_0x2e167e['BLOB']||this['getSchema']()===_0x2e167e['STREAMING_BLOB'];}['isTimestampSchema'](){const _0x4ac238=this['getSchema']();return'number'==typeof _0x4ac238&&_0x4ac238>=_0x2e167e['TIMESTAMP_DEFAULT']&&_0x4ac238<=_0x2e167e['TIMESTAMP_EPOCH_SECONDS'];}['isDocumentSchema'](){return this['getSchema']()===_0x2e167e['DOCUMENT'];}['isStringSchema'](){return this['getSchema']()===_0x2e167e['STRING'];}['isBooleanSchema'](){return this['getSchema']()===_0x2e167e['BOOLEAN'];}['isNumericSchema'](){return this['getSchema']()===_0x2e167e['NUMERIC'];}['isBigIntegerSchema'](){return this['getSchema']()===_0x2e167e['BIG_INTEGER'];}['isBigDecimalSchema'](){return this['getSchema']()===_0x2e167e['BIG_DECIMAL'];}['isStreaming'](){return!!this['getMergedTraits']()['streaming']||this['getSchema']()===_0x2e167e['STREAMING_BLOB'];}['isIdempotencyToken'](){return'number'==typeof this['traits']?!(0x4&~this['traits']):'object'==typeof this['traits']&&!!this['traits']['idempotencyToken'];}['getMergedTraits'](){return this['normalizedTraits']??(this['normalizedTraits']={...this['getOwnTraits'](),...this['getMemberTraits']()});}['getMemberTraits'](){return _0x38b8e3['translateTraits'](this['memberTraits']);}['getOwnTraits'](){return _0x38b8e3['translateTraits'](this['traits']);}['getKeySchema'](){if(this['isDocumentSchema']())return this['memberFrom']([_0x2e167e['DOCUMENT'],0x0],'key');if(!this['isMapSchema']())throw new Error('@smithy/core/schema\x20-\x20cannot\x20get\x20key\x20for\x20non-map:\x20'+this['getName'](!0x0));const _0x55ebb9=this['getSchema']();return'number'==typeof _0x55ebb9?this['memberFrom']([0x3f&_0x55ebb9,0x0],'key'):this['memberFrom']([_0x55ebb9['keySchema'],0x0],'key');}['getValueSchema'](){const _0x18f8d3=this['getSchema']();if('number'==typeof _0x18f8d3){if(this['isMapSchema']())return this['memberFrom']([0x3f&_0x18f8d3,0x0],'value');if(this['isListSchema']())return this['memberFrom']([0x3f&_0x18f8d3,0x0],'member');}if(_0x18f8d3&&'object'==typeof _0x18f8d3){if(this['isStructSchema']())throw new Error('may\x20not\x20getValueSchema()\x20on\x20structure\x20'+this['getName'](!0x0));const _0x2fab98=_0x18f8d3;if('valueSchema'in _0x2fab98){if(this['isMapSchema']())return this['memberFrom']([_0x2fab98['valueSchema'],0x0],'value');if(this['isListSchema']())return this['memberFrom']([_0x2fab98['valueSchema'],0x0],'member');}}if(this['isDocumentSchema']())return this['memberFrom']([_0x2e167e['DOCUMENT'],0x0],'value');throw new Error('@smithy/core/schema\x20-\x20'+this['getName'](!0x0)+'\x20has\x20no\x20value\x20member.');}['hasMemberSchema'](_0x14acf9){if(this['isStructSchema']())return this['getSchema']()['memberNames']['includes'](_0x14acf9);return!0x1;}['getMemberSchema'](_0x2ad938){if(this['isStructSchema']()){const _0x353f08=this['getSchema']();if(!_0x353f08['memberNames']['includes'](_0x2ad938))throw new Error('@smithy/core/schema\x20-\x20'+this['getName'](!0x0)+'\x20has\x20no\x20member='+_0x2ad938+'.');const _0x53647b=_0x353f08['memberNames']['indexOf'](_0x2ad938),_0xd9182e=_0x353f08['memberList'][_0x53647b];return this['memberFrom'](Array['isArray'](_0xd9182e)?_0xd9182e:[_0xd9182e,0x0],_0x2ad938);}if(this['isDocumentSchema']())return this['memberFrom']([_0x2e167e['DOCUMENT'],0x0],_0x2ad938);throw new Error('@smithy/core/schema\x20-\x20'+this['getName'](!0x0)+'\x20has\x20no\x20members.');}['getMemberSchemas'](){const _0xc283b8={};try{for(const [_0x3e8f8a,_0x222594]of this['structIterator']())_0xc283b8[_0x3e8f8a]=_0x222594;}catch(_0x4f29f0){}return _0xc283b8;}['getEventStreamMember'](){if(this['isStructSchema']()){for(const [_0x442873,_0x40c4a5]of this['structIterator']())if(_0x40c4a5['isStreaming']()&&_0x40c4a5['isStructSchema']())return _0x442873;}return'';}*['structIterator'](){if(this['isUnitSchema']())return;if(!this['isStructSchema']())throw new Error('@smithy/core/schema\x20-\x20cannot\x20iterate\x20non-struct\x20schema.');const _0xb7e89d=this['getSchema']();for(let _0x1ef6a5=0x0;_0x1ef6a5<_0xb7e89d['memberNames']['length'];++_0x1ef6a5)yield[_0xb7e89d['memberNames'][_0x1ef6a5],this['memberFrom']([_0xb7e89d['memberList'][_0x1ef6a5],0x0],_0xb7e89d['memberNames'][_0x1ef6a5])];}['memberFrom'](_0xcbb70e,_0x113c1c){return _0xcbb70e instanceof _0x38b8e3?Object['assign'](_0xcbb70e,{'memberName':_0x113c1c,'_isMemberSchema':!0x0}):new _0x38b8e3(_0xcbb70e,_0x113c1c);}['getSchemaName'](){const _0x158264=this['getSchema']();if('number'==typeof _0x158264){const _0x2bdbd5=0x3f&_0x158264,_0x590243=0xc0&_0x158264,_0x5c95d4=Object['entries'](_0x2e167e)['find'](([,_0x4eef8f])=>_0x4eef8f===_0x2bdbd5)?.[0x0]??'Unknown';switch(_0x590243){case _0x2e167e['MAP_MODIFIER']:return _0x5c95d4+'Map';case _0x2e167e['LIST_MODIFIER']:return _0x5c95d4+'List';case 0x0:return _0x5c95d4;}}return'Unknown';}}_0x38b8e3['symbol']=Symbol['for']('@smithy/nor');const expectLong=_0x53f56d=>{if(null!=_0x53f56d){if(Number['isInteger'](_0x53f56d)&&!Number['isNaN'](_0x53f56d))return _0x53f56d;throw new TypeError('Expected\x20integer,\x20got\x20'+typeof _0x53f56d+':\x20'+_0x53f56d);}},expectInt32=_0xc33b32=>expectSizedInt(_0xc33b32,0x20),expectSizedInt=(_0x51a432,_0x1d425a)=>{const _0xa7de46=expectLong(_0x51a432);if(void 0x0!==_0xa7de46&&castInt(_0xa7de46,_0x1d425a)!==_0xa7de46)throw new TypeError('Expected\x20'+_0x1d425a+'-bit\x20integer,\x20got\x20'+_0x51a432);return _0xa7de46;},castInt=(_0x127dc9,_0x152964)=>{switch(_0x152964){case 0x20:return Int32Array['of'](_0x127dc9)[0x0];case 0x10:return Int16Array['of'](_0x127dc9)[0x0];case 0x8:return Int8Array['of'](_0x127dc9)[0x0];}},expectString=_0x48daa7=>{if(null!=_0x48daa7){if('string'==typeof _0x48daa7)return _0x48daa7;if(['boolean','number','bigint']['includes'](typeof _0x48daa7))return _0x5d2852['warn'](stackTraceWarning('Expected\x20string,\x20got\x20'+typeof _0x48daa7+':\x20'+_0x48daa7)),String(_0x48daa7);throw new TypeError('Expected\x20string,\x20got\x20'+typeof _0x48daa7+':\x20'+_0x48daa7);}},stackTraceWarning=_0x20c5a7=>String(new TypeError(_0x20c5a7)['stack']||_0x20c5a7)['split']('\x0a')['slice'](0x0,0x5)['filter'](_0x471cca=>!_0x471cca['includes']('stackTraceWarning'))['join']('\x0a'),_0x5d2852={'warn':console['warn']};let getRandomValues;const _0x544ecd=new Uint8Array(0x10);function _0x3ea64c(){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(_0x544ecd);}const byteToHex=[];for(let _0x519d06=0x0;_0x519d06<0x100;++_0x519d06)byteToHex['push']((_0x519d06+0x100)['toString'](0x10)['slice'](0x1));function unsafeStringify(_0x12a7ff,_0x1b9f06=0x0){return byteToHex[_0x12a7ff[_0x1b9f06+0x0]]+byteToHex[_0x12a7ff[_0x1b9f06+0x1]]+byteToHex[_0x12a7ff[_0x1b9f06+0x2]]+byteToHex[_0x12a7ff[_0x1b9f06+0x3]]+'-'+byteToHex[_0x12a7ff[_0x1b9f06+0x4]]+byteToHex[_0x12a7ff[_0x1b9f06+0x5]]+'-'+byteToHex[_0x12a7ff[_0x1b9f06+0x6]]+byteToHex[_0x12a7ff[_0x1b9f06+0x7]]+'-'+byteToHex[_0x12a7ff[_0x1b9f06+0x8]]+byteToHex[_0x12a7ff[_0x1b9f06+0x9]]+'-'+byteToHex[_0x12a7ff[_0x1b9f06+0xa]]+byteToHex[_0x12a7ff[_0x1b9f06+0xb]]+byteToHex[_0x12a7ff[_0x1b9f06+0xc]]+byteToHex[_0x12a7ff[_0x1b9f06+0xd]]+byteToHex[_0x12a7ff[_0x1b9f06+0xe]]+byteToHex[_0x12a7ff[_0x1b9f06+0xf]];}const _0x22301e='undefined'!=typeof crypto&&crypto['randomUUID']&&crypto['randomUUID']['bind'](crypto);var native$1={'randomUUID':_0x22301e};function _0x141be2(_0x5119ab,_0x1156ed,_0x133d92){if(native$1['randomUUID']&&!_0x5119ab)return native$1['randomUUID']();const _0x149a2b=(_0x5119ab=_0x5119ab||{})['random']||(_0x5119ab['rng']||_0x3ea64c)();return _0x149a2b[0x6]=0xf&_0x149a2b[0x6]|0x40,_0x149a2b[0x8]=0x3f&_0x149a2b[0x8]|0x80,unsafeStringify(_0x149a2b);}const resolvedPath=(_0x4c75ca,_0x248f42,_0x381458,_0x113812,_0x47755e,_0x5d27a2)=>{if(null==_0x248f42||void 0x0===_0x248f42[_0x381458])throw new Error('No\x20value\x20provided\x20for\x20input\x20HTTP\x20label:\x20'+_0x381458+'.');{const _0x2046d5=_0x113812();if(_0x2046d5['length']<=0x0)throw new Error('Empty\x20value\x20provided\x20for\x20input\x20HTTP\x20label:\x20'+_0x381458+'.');_0x4c75ca=_0x4c75ca['replace'](_0x47755e,_0x5d27a2?_0x2046d5['split']('/')['map'](_0x2b5264=>extendedEncodeURIComponent(_0x2b5264))['join']('/'):extendedEncodeURIComponent(_0x2046d5));}return _0x4c75ca;};function requestBuilder(_0x5278a8,_0x362f81){return new RequestBuilder(_0x5278a8,_0x362f81);}class RequestBuilder{constructor(_0x2b8802,_0x3096c8){this['input']=_0x2b8802,this['context']=_0x3096c8,this['query']={},this['method']='',this['headers']={},this['path']='',this['body']=null,this['hostname']='',this['resolvePathStack']=[];}async['build'](){const {hostname:_0x1db588,protocol:_0x57bcaf='https',port:_0xb050f,path:_0x5bc1e5}=await this['context']['endpoint']();this['path']=_0x5bc1e5;for(const _0x594707 of this['resolvePathStack'])_0x594707(this['path']);return new HttpRequest({'protocol':_0x57bcaf,'hostname':this['hostname']||_0x1db588,'port':_0xb050f,'method':this['method'],'path':this['path'],'query':this['query'],'body':this['body'],'headers':this['headers']});}['hn'](_0x3cd226){return this['hostname']=_0x3cd226,this;}['bp'](_0x32fe40){return this['resolvePathStack']['push'](_0x2a663f=>{this['path']=''+(_0x2a663f?.['endsWith']('/')?_0x2a663f['slice'](0x0,-0x1):_0x2a663f||'')+_0x32fe40;}),this;}['p'](_0x42738b,_0x21a9a1,_0x4df9cc,_0x2e324e){return this['resolvePathStack']['push'](_0xac5b84=>{this['path']=resolvedPath(_0xac5b84,this['input'],_0x42738b,_0x21a9a1,_0x4df9cc,_0x2e324e);}),this;}['h'](_0x253c1a){return this['headers']=_0x253c1a,this;}['q'](_0x13bb2f){return this['query']=_0x13bb2f,this;}['b'](_0x32dbfa){return this['body']=_0x32dbfa,this;}['m'](_0x5db437){return this['method']=_0x5db437,this;}}function setFeature$1(_0x5b565e,_0x9f7658,_0x50103f){_0x5b565e['__smithy_context']?_0x5b565e['__smithy_context']['features']||(_0x5b565e['__smithy_context']['features']={}):_0x5b565e['__smithy_context']={'features':{}},_0x5b565e['__smithy_context']['features'][_0x9f7658]=_0x50103f;}class DefaultIdentityProviderConfig{constructor(_0x146a44){this['authSchemes']=new Map();for(const [_0x1e1c8b,_0x4229ed]of Object['entries'](_0x146a44))void 0x0!==_0x4229ed&&this['authSchemes']['set'](_0x1e1c8b,_0x4229ed);}['getIdentityProvider'](_0x2fb990){return this['authSchemes']['get'](_0x2fb990);}}const createIsIdentityExpiredFunction=_0x2df8ed=>_0x565e03=>doesIdentityRequireRefresh(_0x565e03)&&_0x565e03['expiration']['getTime']()-Date['now']()<_0x2df8ed,_0xd586b3=0x493e0,isIdentityExpired=createIsIdentityExpiredFunction(_0xd586b3),doesIdentityRequireRefresh=_0x321d07=>void 0x0!==_0x321d07['expiration'],memoizeIdentityProvider=(_0x400f5d,_0xc52f29,_0x4de1f1)=>{if(void 0x0===_0x400f5d)return;const _0x1ec350='function'!=typeof _0x400f5d?async()=>Promise['resolve'](_0x400f5d):_0x400f5d;let _0x18f764,_0x1e469c,_0x2cdd84,_0x41feae=!0x1;const _0x241928=async _0x352686=>{_0x1e469c||(_0x1e469c=_0x1ec350(_0x352686));try{_0x18f764=await _0x1e469c,_0x2cdd84=!0x0,_0x41feae=!0x1;}finally{_0x1e469c=void 0x0;}return _0x18f764;};return void 0x0===_0xc52f29?async _0x45d799=>(_0x2cdd84&&!_0x45d799?.['forceRefresh']||(_0x18f764=await _0x241928(_0x45d799)),_0x18f764):async _0x8d03f=>(_0x2cdd84&&!_0x8d03f?.['forceRefresh']||(_0x18f764=await _0x241928(_0x8d03f)),_0x41feae?_0x18f764:_0x4de1f1(_0x18f764)?_0xc52f29(_0x18f764)?(await _0x241928(_0x8d03f),_0x18f764):_0x18f764:(_0x41feae=!0x0,_0x18f764));},_0x4a9eda=void 0x0;function isValidUserAgentAppId(_0x260113){return void 0x0===_0x260113||'string'==typeof _0x260113&&_0x260113['length']<=0x32;}function resolveUserAgentConfig(_0x1b3c60){const _0x1174e3=_0x558c3a(_0x1b3c60['userAgentAppId']??_0x4a9eda),{customUserAgent:_0x54bec2}=_0x1b3c60;return Object['assign'](_0x1b3c60,{'customUserAgent':'string'==typeof _0x54bec2?[[_0x54bec2]]:_0x54bec2,'userAgentAppId':async()=>{const _0x3b56e8=await _0x1174e3();if(!isValidUserAgentAppId(_0x3b56e8)){const _0x4c2d37='NoOpLogger'!==_0x1b3c60['logger']?.['constructor']?.['name']&&_0x1b3c60['logger']?_0x1b3c60['logger']:console;'string'!=typeof _0x3b56e8?_0x4c2d37?.['warn']('userAgentAppId\x20must\x20be\x20a\x20string\x20or\x20undefined.'):_0x3b56e8['length']>0x32&&_0x4c2d37?.['warn']('The\x20provided\x20userAgentAppId\x20exceeds\x20the\x20maximum\x20length\x20of\x2050\x20characters.');}return _0x3b56e8;}});}class EndpointCache{constructor({size:_0x2e259f,params:_0x5dce17}){this['data']=new Map(),this['parameters']=[],this['capacity']=_0x2e259f??0x32,_0x5dce17&&(this['parameters']=_0x5dce17);}['get'](_0x51b607,_0x338818){const _0x3cdd12=this['hash'](_0x51b607);if(!0x1===_0x3cdd12)return _0x338818();if(!this['data']['has'](_0x3cdd12)){if(this['data']['size']>this['capacity']+0xa){const _0x41faa8=this['data']['keys']();let _0x288a98=0x0;for(;;){const {value:_0x52a26b,done:_0x314917}=_0x41faa8['next']();if(this['data']['delete'](_0x52a26b),_0x314917||++_0x288a98>0xa)break;}}this['data']['set'](_0x3cdd12,_0x338818());}return this['data']['get'](_0x3cdd12);}['size'](){return this['data']['size'];}['hash'](_0x36839b){let _0x27f732='';const {parameters:_0x27e006}=this;if(0x0===_0x27e006['length'])return!0x1;for(const _0x5cda01 of _0x27e006){const _0x457651=String(_0x36839b[_0x5cda01]??'');if(_0x457651['includes']('|;'))return!0x1;_0x27f732+=_0x457651+'|;';}return _0x27f732;}}const _0x4de723=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}$'),_0x54c457=_0x1d2c6a=>_0x4de723['test'](_0x1d2c6a)||_0x1d2c6a['startsWith']('[')&&_0x1d2c6a['endsWith'](']'),_0x29abed=new RegExp('^(?!.*-$)(?!-)[a-zA-Z0-9-]{1,63}$'),isValidHostLabel=(_0x31b35a,_0x4515a4=!0x1)=>{if(!_0x4515a4)return _0x29abed['test'](_0x31b35a);const _0x39f06e=_0x31b35a['split']('.');for(const _0x4683ff of _0x39f06e)if(!isValidHostLabel(_0x4683ff))return!0x1;return!0x0;},customEndpointFunctions={},_0x4eeae8='endpoints';function toDebugString(_0x2cf5ca){return'object'!=typeof _0x2cf5ca||null==_0x2cf5ca?_0x2cf5ca:'ref'in _0x2cf5ca?'$'+toDebugString(_0x2cf5ca['ref']):'fn'in _0x2cf5ca?_0x2cf5ca['fn']+'('+(_0x2cf5ca['argv']||[])['map'](toDebugString)['join'](',\x20')+')':JSON['stringify'](_0x2cf5ca,null,0x2);}class EndpointError extends Error{constructor(_0xd1424c){super(_0xd1424c),this['name']='EndpointError';}}const _0xd06bf9=(_0xfbd295,_0x5cf5d4)=>_0xfbd295===_0x5cf5d4,getAttrPathList=_0x283853=>{const _0x3d6587=_0x283853['split']('.'),_0x4bc144=[];for(const _0x4edebe of _0x3d6587){const _0x9a243b=_0x4edebe['indexOf']('[');if(-0x1!==_0x9a243b){if(_0x4edebe['indexOf'](']')!==_0x4edebe['length']-0x1)throw new EndpointError('Path:\x20\x27'+_0x283853+'\x27\x20does\x20not\x20end\x20with\x20\x27]\x27');const _0x11b1fd=_0x4edebe['slice'](_0x9a243b+0x1,-0x1);if(Number['isNaN'](parseInt(_0x11b1fd)))throw new EndpointError('Invalid\x20array\x20index:\x20\x27'+_0x11b1fd+'\x27\x20in\x20path:\x20\x27'+_0x283853+'\x27');0x0!==_0x9a243b&&_0x4bc144['push'](_0x4edebe['slice'](0x0,_0x9a243b)),_0x4bc144['push'](_0x11b1fd);}else _0x4bc144['push'](_0x4edebe);}return _0x4bc144;},getAttr=(_0x44a4e5,_0x5c863c)=>getAttrPathList(_0x5c863c)['reduce']((_0x45fd01,_0x358410)=>{if('object'!=typeof _0x45fd01)throw new EndpointError('Index\x20\x27'+_0x358410+'\x27\x20in\x20\x27'+_0x5c863c+'\x27\x20not\x20found\x20in\x20\x27'+JSON['stringify'](_0x44a4e5)+'\x27');return Array['isArray'](_0x45fd01)?_0x45fd01[parseInt(_0x358410)]:_0x45fd01[_0x358410];},_0x44a4e5),isSet=_0x55193a=>null!=_0x55193a,not=_0x1a013e=>!_0x1a013e,_0x30c23a={[EndpointURLScheme['HTTP']]:0x50,[EndpointURLScheme['HTTPS']]:0x1bb},_0xd5ade1=_0x2a0282=>{const _0x4e8b85=((()=>{try{if(_0x2a0282 instanceof URL)return _0x2a0282;if('object'==typeof _0x2a0282&&'hostname'in _0x2a0282){const {hostname:_0x1208fc,port:_0x39bdec,protocol:_0x2abe45='',path:_0x29dc2f='',query:_0x145ab8={}}=_0x2a0282,_0x133f24=new URL(_0x2abe45+'//'+_0x1208fc+(_0x39bdec?':'+_0x39bdec:'')+_0x29dc2f);return _0x133f24['search']=Object['entries'](_0x145ab8)['map'](([_0x1d05f5,_0x4cd639])=>_0x1d05f5+'='+_0x4cd639)['join']('&'),_0x133f24;}return new URL(_0x2a0282);}catch(_0x42ae3c){return null;}})());if(!_0x4e8b85)return console['error']('Unable\x20to\x20parse\x20'+JSON['stringify'](_0x2a0282)+'\x20as\x20a\x20whatwg\x20URL.'),null;const _0x15e055=_0x4e8b85['href'],{host:_0x26c277,hostname:_0x2e613e,pathname:_0x3965bd,protocol:_0x19623c,search:_0x2cc164}=_0x4e8b85;if(_0x2cc164)return null;const _0x23a924=_0x19623c['slice'](0x0,-0x1);if(!Object['values'](EndpointURLScheme)['includes'](_0x23a924))return null;const _0x2f1556=_0x54c457(_0x2e613e);return{'scheme':_0x23a924,'authority':''+_0x26c277+(_0x15e055['includes'](_0x26c277+':'+_0x30c23a[_0x23a924])||'string'==typeof _0x2a0282&&_0x2a0282['includes'](_0x26c277+':'+_0x30c23a[_0x23a924])?':'+_0x30c23a[_0x23a924]:''),'path':_0x3965bd,'normalizedPath':_0x3965bd['endsWith']('/')?_0x3965bd:_0x3965bd+'/','isIp':_0x2f1556};},stringEquals=(_0xd412af,_0x295969)=>_0xd412af===_0x295969,substring=(_0x231e83,_0x57a216,_0x1efa05,_0x2711bb)=>_0x57a216>=_0x1efa05||_0x231e83['length']<_0x1efa05?null:_0x2711bb?_0x231e83['substring'](_0x231e83['length']-_0x1efa05,_0x231e83['length']-_0x57a216):_0x231e83['substring'](_0x57a216,_0x1efa05),_0x4ec0ba=_0xb92021=>encodeURIComponent(_0xb92021)['replace'](/[!*'()]/g,_0x438606=>'%'+_0x438606['charCodeAt'](0x0)['toString'](0x10)['toUpperCase']()),endpointFunctions={'booleanEquals':_0xd06bf9,'getAttr':getAttr,'isSet':isSet,'isValidHostLabel':isValidHostLabel,'not':not,'parseURL':_0xd5ade1,'stringEquals':stringEquals,'substring':substring,'uriEncode':_0x4ec0ba},evaluateTemplate=(_0x4e5778,_0x3b22e3)=>{const _0x17cfd6=[],_0x2f9cc2={..._0x3b22e3['endpointParams'],..._0x3b22e3['referenceRecord']};let _0x325480=0x0;for(;_0x325480<_0x4e5778['length'];){const _0x43457b=_0x4e5778['indexOf']('{',_0x325480);if(-0x1===_0x43457b){_0x17cfd6['push'](_0x4e5778['slice'](_0x325480));break;}_0x17cfd6['push'](_0x4e5778['slice'](_0x325480,_0x43457b));const _0x260a8c=_0x4e5778['indexOf']('}',_0x43457b);if(-0x1===_0x260a8c){_0x17cfd6['push'](_0x4e5778['slice'](_0x43457b));break;}'{'===_0x4e5778[_0x43457b+0x1]&&'}'===_0x4e5778[_0x260a8c+0x1]&&(_0x17cfd6['push'](_0x4e5778['slice'](_0x43457b+0x1,_0x260a8c)),_0x325480=_0x260a8c+0x2);const _0x2512e4=_0x4e5778['substring'](_0x43457b+0x1,_0x260a8c);if(_0x2512e4['includes']('#')){const [_0x10ef48,_0x1aacdd]=_0x2512e4['split']('#');_0x17cfd6['push'](getAttr(_0x2f9cc2[_0x10ef48],_0x1aacdd));}else _0x17cfd6['push'](_0x2f9cc2[_0x2512e4]);_0x325480=_0x260a8c+0x1;}return _0x17cfd6['join']('');},getReferenceValue=({ref:_0xa91291},_0x462530)=>({..._0x462530['endpointParams'],..._0x462530['referenceRecord']}[_0xa91291]),evaluateExpression=(_0x85d6a,_0x2301e5,_0x389881)=>{if('string'==typeof _0x85d6a)return evaluateTemplate(_0x85d6a,_0x389881);if(_0x85d6a['fn'])return callFunction(_0x85d6a,_0x389881);if(_0x85d6a['ref'])return getReferenceValue(_0x85d6a,_0x389881);throw new EndpointError('\x27'+_0x2301e5+'\x27:\x20'+String(_0x85d6a)+'\x20is\x20not\x20a\x20string,\x20function\x20or\x20reference.');},callFunction=({fn:_0x476b15,argv:_0x2ba456},_0x5cc75a)=>{const _0x5ca463=_0x2ba456['map'](_0x41e1c9=>['boolean','number']['includes'](typeof _0x41e1c9)?_0x41e1c9:evaluateExpression(_0x41e1c9,'arg',_0x5cc75a)),_0x45617d=_0x476b15['split']('.');return _0x45617d[0x0]in customEndpointFunctions&&null!=_0x45617d[0x1]?customEndpointFunctions[_0x45617d[0x0]][_0x45617d[0x1]](..._0x5ca463):endpointFunctions[_0x476b15](..._0x5ca463);},evaluateCondition=({assign:_0x219d07,..._0x29be4d},_0x4448f0)=>{if(_0x219d07&&_0x219d07 in _0x4448f0['referenceRecord'])throw new EndpointError('\x27'+_0x219d07+'\x27\x20is\x20already\x20defined\x20in\x20Reference\x20Record.');const _0x30739b=callFunction(_0x29be4d,_0x4448f0);return _0x4448f0['logger']?.['debug']?.(_0x4eeae8+'\x20evaluateCondition:\x20'+toDebugString(_0x29be4d)+'\x20=\x20'+toDebugString(_0x30739b)),{'result':''===_0x30739b||!!_0x30739b,...null!=_0x219d07&&{'toAssign':{'name':_0x219d07,'value':_0x30739b}}};},evaluateConditions=(_0x46e39e=[],_0x42e14c)=>{const _0x3187a1={};for(const _0x44d520 of _0x46e39e){const {result:_0x4d00e8,toAssign:_0x36ce9a}=evaluateCondition(_0x44d520,{..._0x42e14c,'referenceRecord':{..._0x42e14c['referenceRecord'],..._0x3187a1}});if(!_0x4d00e8)return{'result':_0x4d00e8};_0x36ce9a&&(_0x3187a1[_0x36ce9a['name']]=_0x36ce9a['value'],_0x42e14c['logger']?.['debug']?.(_0x4eeae8+'\x20assign:\x20'+_0x36ce9a['name']+'\x20:=\x20'+toDebugString(_0x36ce9a['value'])));}return{'result':!0x0,'referenceRecord':_0x3187a1};},getEndpointHeaders=(_0x3ee747,_0x4a0662)=>Object['entries'](_0x3ee747)['reduce']((_0x1d7817,[_0x5d90ee,_0x4a7274])=>({..._0x1d7817,[_0x5d90ee]:_0x4a7274['map'](_0x225f67=>{const _0x4ce836=evaluateExpression(_0x225f67,'Header\x20value\x20entry',_0x4a0662);if('string'!=typeof _0x4ce836)throw new EndpointError('Header\x20\x27'+_0x5d90ee+'\x27\x20value\x20\x27'+_0x4ce836+'\x27\x20is\x20not\x20a\x20string');return _0x4ce836;})}),{}),getEndpointProperty=(_0x20fb86,_0x2ebc24)=>{if(Array['isArray'](_0x20fb86))return _0x20fb86['map'](_0x9b4694=>getEndpointProperty(_0x9b4694,_0x2ebc24));switch(typeof _0x20fb86){case'string':return evaluateTemplate(_0x20fb86,_0x2ebc24);case'object':if(null===_0x20fb86)throw new EndpointError('Unexpected\x20endpoint\x20property:\x20'+_0x20fb86);return getEndpointProperties(_0x20fb86,_0x2ebc24);case'boolean':return _0x20fb86;default:throw new EndpointError('Unexpected\x20endpoint\x20property\x20type:\x20'+typeof _0x20fb86);}},getEndpointProperties=(_0x3d2cba,_0x397aae)=>Object['entries'](_0x3d2cba)['reduce']((_0x96ce0f,[_0x21c6c7,_0x401a34])=>({..._0x96ce0f,[_0x21c6c7]:getEndpointProperty(_0x401a34,_0x397aae)}),{}),getEndpointUrl=(_0x2e3cf3,_0x2cf1f5)=>{const _0x120366=evaluateExpression(_0x2e3cf3,'Endpoint\x20URL',_0x2cf1f5);if('string'==typeof _0x120366)try{return new URL(_0x120366);}catch(_0x21375c){throw console['error']('Failed\x20to\x20construct\x20URL\x20with\x20'+_0x120366,_0x21375c),_0x21375c;}throw new EndpointError('Endpoint\x20URL\x20must\x20be\x20a\x20string,\x20got\x20'+typeof _0x120366);},evaluateEndpointRule=(_0x4cbcca,_0x56a379)=>{const {conditions:_0x295f65,endpoint:_0xb83e79}=_0x4cbcca,{result:_0x1db55c,referenceRecord:_0x4bcfc2}=evaluateConditions(_0x295f65,_0x56a379);if(!_0x1db55c)return;const _0x46e0ff={..._0x56a379,'referenceRecord':{..._0x56a379['referenceRecord'],..._0x4bcfc2}},{url:_0x462161,properties:_0x1b9ae0,headers:_0x5bcd6d}=_0xb83e79;return _0x56a379['logger']?.['debug']?.(_0x4eeae8+'\x20Resolving\x20endpoint\x20from\x20template:\x20'+toDebugString(_0xb83e79)),{...null!=_0x5bcd6d&&{'headers':getEndpointHeaders(_0x5bcd6d,_0x46e0ff)},...null!=_0x1b9ae0&&{'properties':getEndpointProperties(_0x1b9ae0,_0x46e0ff)},'url':getEndpointUrl(_0x462161,_0x46e0ff)};},evaluateErrorRule=(_0x56333a,_0x59c8f1)=>{const {conditions:_0x11ad66,error:_0x34e029}=_0x56333a,{result:_0x1163fd,referenceRecord:_0x1916b9}=evaluateConditions(_0x11ad66,_0x59c8f1);if(_0x1163fd)throw new EndpointError(evaluateExpression(_0x34e029,'Error',{..._0x59c8f1,'referenceRecord':{..._0x59c8f1['referenceRecord'],..._0x1916b9}}));},evaluateTreeRule=(_0x4adae9,_0x17a211)=>{const {conditions:_0x6cca4f,rules:_0x1c5a00}=_0x4adae9,{result:_0x4d3406,referenceRecord:_0x1ef2e1}=evaluateConditions(_0x6cca4f,_0x17a211);if(_0x4d3406)return evaluateRules(_0x1c5a00,{..._0x17a211,'referenceRecord':{..._0x17a211['referenceRecord'],..._0x1ef2e1}});},evaluateRules=(_0x54f6a1,_0x5cd327)=>{for(const _0x557eab of _0x54f6a1)if('endpoint'===_0x557eab['type']){const _0x1d8ff0=evaluateEndpointRule(_0x557eab,_0x5cd327);if(_0x1d8ff0)return _0x1d8ff0;}else{if('error'===_0x557eab['type'])evaluateErrorRule(_0x557eab,_0x5cd327);else{if('tree'!==_0x557eab['type'])throw new EndpointError('Unknown\x20endpoint\x20rule:\x20'+_0x557eab);{const _0x2e4cbc=evaluateTreeRule(_0x557eab,_0x5cd327);if(_0x2e4cbc)return _0x2e4cbc;}}}throw new EndpointError('Rules\x20evaluation\x20failed');},resolveEndpoint=(_0x477380,_0x4887e3)=>{const {endpointParams:_0x218323,logger:_0x5c7c6a}=_0x4887e3,{parameters:_0x4b3330,rules:_0x3ca18b}=_0x477380;_0x4887e3['logger']?.['debug']?.(_0x4eeae8+'\x20Initial\x20EndpointParams:\x20'+toDebugString(_0x218323));const _0x14abce=Object['entries'](_0x4b3330)['filter'](([,_0x1ae0cf])=>null!=_0x1ae0cf['default'])['map'](([_0x497e87,_0xa6d10d])=>[_0x497e87,_0xa6d10d['default']]);if(_0x14abce['length']>0x0){for(const [_0x2ccb37,_0x58f344]of _0x14abce)_0x218323[_0x2ccb37]=_0x218323[_0x2ccb37]??_0x58f344;}const _0x261d3a=Object['entries'](_0x4b3330)['filter'](([,_0x4e9dd6])=>_0x4e9dd6['required'])['map'](([_0x3bd83d])=>_0x3bd83d);for(const _0x45fcdc of _0x261d3a)if(null==_0x218323[_0x45fcdc])throw new EndpointError('Missing\x20required\x20parameter:\x20\x27'+_0x45fcdc+'\x27');const _0x312d82=evaluateRules(_0x3ca18b,{'endpointParams':_0x218323,'logger':_0x5c7c6a,'referenceRecord':{}});return _0x4887e3['logger']?.['debug']?.(_0x4eeae8+'\x20Resolved\x20endpoint:\x20'+toDebugString(_0x312d82)),_0x312d82;},isVirtualHostableS3Bucket=(_0x3c636f,_0x33f00d=!0x1)=>{if(_0x33f00d){for(const _0xb5394b of _0x3c636f['split']('.'))if(!isVirtualHostableS3Bucket(_0xb5394b))return!0x1;return!0x0;}return!!isValidHostLabel(_0x3c636f)&&(!(_0x3c636f['length']<0x3||_0x3c636f['length']>0x3f)&&(_0x3c636f===_0x3c636f['toLowerCase']()&&!_0x54c457(_0x3c636f)));},_0x400435=':',_0x2a6e66='/',_0x5abe7c=_0x2ac790=>{const _0x106822=_0x2ac790['split'](_0x400435);if(_0x106822['length']<0x6)return null;const [_0x56b120,_0xfe754a,_0x22274e,_0x13252e,_0x30b7b6,..._0x2cd4e7]=_0x106822;if('arn'!==_0x56b120||''===_0xfe754a||''===_0x22274e||''===_0x2cd4e7['join'](_0x400435))return null;return{'partition':_0xfe754a,'service':_0x22274e,'region':_0x13252e,'accountId':_0x30b7b6,'resourceId':_0x2cd4e7['map'](_0x477727=>_0x477727['split'](_0x2a6e66))['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-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-7':{'description':'Asia\x20Pacific\x20(Thailand)'},'aws-global':{'description':'AWS\x20Standard\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\x20China\x20global\x20region'},'cn-north-1':{'description':'China\x20(Beijing)'},'cn-northwest-1':{'description':'China\x20(Ningxia)'}}},{'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\x20GovCloud\x20(US)\x20global\x20region'},'us-gov-east-1':{'description':'AWS\x20GovCloud\x20(US-East)'},'us-gov-west-1':{'description':'AWS\x20GovCloud\x20(US-West)'}}},{'id':'aws-iso','outputs':{'dnsSuffix':'c2s.ic.gov','dualStackDnsSuffix':'c2s.ic.gov','implicitGlobalRegion':'us-iso-east-1','name':'aws-iso','supportsDualStack':!0x1,'supportsFIPS':!0x0},'regionRegex':'^us\x5c-iso\x5c-\x5cw+\x5c-\x5cd+$','regions':{'aws-iso-global':{'description':'AWS\x20ISO\x20(US)\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':'sc2s.sgov.gov','implicitGlobalRegion':'us-isob-east-1','name':'aws-iso-b','supportsDualStack':!0x1,'supportsFIPS':!0x0},'regionRegex':'^us\x5c-isob\x5c-\x5cw+\x5c-\x5cd+$','regions':{'aws-iso-b-global':{'description':'AWS\x20ISOB\x20(US)\x20global\x20region'},'us-isob-east-1':{'description':'US\x20ISOB\x20East\x20(Ohio)'}}},{'id':'aws-iso-e','outputs':{'dnsSuffix':'cloud.adc-e.uk','dualStackDnsSuffix':'cloud.adc-e.uk','implicitGlobalRegion':'eu-isoe-west-1','name':'aws-iso-e','supportsDualStack':!0x1,'supportsFIPS':!0x0},'regionRegex':'^eu\x5c-isoe\x5c-\x5cw+\x5c-\x5cd+$','regions':{'aws-iso-e-global':{'description':'AWS\x20ISOE\x20(Europe)\x20global\x20region'},'eu-isoe-west-1':{'description':'EU\x20ISOE\x20West'}}},{'id':'aws-iso-f','outputs':{'dnsSuffix':'csp.hci.ic.gov','dualStackDnsSuffix':'csp.hci.ic.gov','implicitGlobalRegion':'us-isof-south-1','name':'aws-iso-f','supportsDualStack':!0x1,'supportsFIPS':!0x0},'regionRegex':'^us\x5c-isof\x5c-\x5cw+\x5c-\x5cd+$','regions':{'aws-iso-f-global':{'description':'AWS\x20ISOF\x20global\x20region'},'us-isof-east-1':{'description':'US\x20ISOF\x20EAST'},'us-isof-south-1':{'description':'US\x20ISOF\x20SOUTH'}}},{'id':'aws-eusc','outputs':{'dnsSuffix':'amazonaws.eu','dualStackDnsSuffix':'amazonaws.eu','implicitGlobalRegion':'eusc-de-east-1','name':'aws-eusc','supportsDualStack':!0x1,'supportsFIPS':!0x0},'regionRegex':'^eusc\x5c-(de)\x5c-\x5cw+\x5c-\x5cd+$','regions':{'eusc-de-east-1':{'description':'EU\x20(Germany)'}}}],partitionsInfo={'partitions':partitions};let selectedPartitionsInfo=partitionsInfo;const partition=_0x31221b=>{const {partitions:_0x1c5b1e}=selectedPartitionsInfo;for(const _0x3c1b2b of _0x1c5b1e){const {regions:_0x524a12,outputs:_0x44354d}=_0x3c1b2b;for(const [_0x1094d5,_0x4a522e]of Object['entries'](_0x524a12))if(_0x1094d5===_0x31221b)return{..._0x44354d,..._0x4a522e};}for(const _0x14e05f of _0x1c5b1e){const {regionRegex:_0x55d6c3,outputs:_0x574be7}=_0x14e05f;if(new RegExp(_0x55d6c3)['test'](_0x31221b))return{..._0x574be7};}const _0x10f3e4=_0x1c5b1e['find'](_0x499eb1=>'aws'===_0x499eb1['id']);if(!_0x10f3e4)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{..._0x10f3e4['outputs']};},awsEndpointFunctions={'isVirtualHostableS3Bucket':isVirtualHostableS3Bucket,'parseArn':_0x5abe7c,'partition':partition};function setCredentialFeature(_0x8ac7ac,_0x1de365,_0x4dc634){return _0x8ac7ac['$source']||(_0x8ac7ac['$source']={}),_0x8ac7ac['$source'][_0x1de365]=_0x4dc634,_0x8ac7ac;}function setFeature(_0x1a7aec,_0x2a0ec9,_0x38782a){_0x1a7aec['__aws_sdk_context']?_0x1a7aec['__aws_sdk_context']['features']||(_0x1a7aec['__aws_sdk_context']['features']={}):_0x1a7aec['__aws_sdk_context']={'features':{}},_0x1a7aec['__aws_sdk_context']['features'][_0x2a0ec9]=_0x38782a;}customEndpointFunctions['aws']=awsEndpointFunctions;const getDateHeader=_0x1a2b4e=>HttpResponse['isInstance'](_0x1a2b4e)?_0x1a2b4e['headers']?.['date']??_0x1a2b4e['headers']?.['Date']:void 0x0,getSkewCorrectedDate=_0xac5966=>new Date(Date['now']()+_0xac5966),_0x4b9c86=(_0x963d95,_0xd7193f)=>Math['abs'](getSkewCorrectedDate(_0xd7193f)['getTime']()-_0x963d95)>=0x493e0,getUpdatedSystemClockOffset=(_0x3f9f7d,_0x969808)=>{const _0x569fbb=Date['parse'](_0x3f9f7d);return _0x4b9c86(_0x569fbb,_0x969808)?_0x569fbb-Date['now']():_0x969808;},throwSigningPropertyError=(_0x182d6c,_0x2c8a49)=>{if(!_0x2c8a49)throw new Error('Property\x20`'+_0x182d6c+'`\x20is\x20not\x20resolved\x20for\x20AWS\x20SDK\x20SigV4Auth');return _0x2c8a49;},validateSigningProperties=async _0x10935e=>{const _0x2d7515=throwSigningPropertyError('context',_0x10935e['context']),_0x44a807=throwSigningPropertyError('config',_0x10935e['config']),_0x28a091=_0x2d7515['endpointV2']?.['properties']?.['authSchemes']?.[0x0],_0x246437=throwSigningPropertyError('signer',_0x44a807['signer']),_0x27c474=await _0x246437(_0x28a091),_0x32a2e7=_0x10935e?.['signingRegion'],_0x26967f=_0x10935e?.['signingRegionSet'],_0x4cb716=_0x10935e?.['signingName'];return{'config':_0x44a807,'signer':_0x27c474,'signingRegion':_0x32a2e7,'signingRegionSet':_0x26967f,'signingName':_0x4cb716};};class _0x57d815{async['sign'](_0x4baa03,_0x3321ef,_0x3ad476){if(!HttpRequest['isInstance'](_0x4baa03))throw new Error('The\x20request\x20is\x20not\x20an\x20instance\x20of\x20`HttpRequest`\x20and\x20cannot\x20be\x20signed');const _0x5af279=await validateSigningProperties(_0x3ad476),{config:_0x134d34,signer:_0x35824c}=_0x5af279;let {signingRegion:_0x46b38f,signingName:_0x1f6220}=_0x5af279;const _0x30f2df=_0x3ad476['context'];if(_0x30f2df?.['authSchemes']?.['length']){const [_0x3cd548,_0x226537]=_0x30f2df['authSchemes'];'sigv4a'===_0x3cd548?.['name']&&'sigv4'===_0x226537?.['name']&&(_0x46b38f=_0x226537?.['signingRegion']??_0x46b38f,_0x1f6220=_0x226537?.['signingName']??_0x1f6220);}return await _0x35824c['sign'](_0x4baa03,{'signingDate':getSkewCorrectedDate(_0x134d34['systemClockOffset']),'signingRegion':_0x46b38f,'signingService':_0x1f6220});}['errorHandler'](_0x328793){return _0x32b87f=>{const _0x47c199=_0x32b87f['ServerTime']??getDateHeader(_0x32b87f['$response']);if(_0x47c199){const _0x298146=throwSigningPropertyError('config',_0x328793['config']),_0x2baf7a=_0x298146['systemClockOffset'];_0x298146['systemClockOffset']=getUpdatedSystemClockOffset(_0x47c199,_0x298146['systemClockOffset']),_0x298146['systemClockOffset']!==_0x2baf7a&&_0x32b87f['$metadata']&&(_0x32b87f['$metadata']['clockSkewCorrected']=!0x0);}throw _0x32b87f;};}['successHandler'](_0x5601b0,_0x49e4ff){const _0x521f2e=getDateHeader(_0x5601b0);if(_0x521f2e){const _0x461c3a=throwSigningPropertyError('config',_0x49e4ff['config']);_0x461c3a['systemClockOffset']=getUpdatedSystemClockOffset(_0x521f2e,_0x461c3a['systemClockOffset']);}}}const _0x434170=(_0x483844,_0x21d2bb,_0x5a6d18)=>{let _0x5ebb1a,_0x58eae4,_0xe6fd39,_0x3f6b02=!0x1;return async _0x3552e1=>(_0xe6fd39&&!_0x3552e1?.['forceRefresh']||(_0x5ebb1a=await((async()=>{_0x58eae4||(_0x58eae4=_0x483844());try{_0x5ebb1a=await _0x58eae4,_0xe6fd39=!0x0,_0x3f6b02=!0x1;}finally{_0x58eae4=void 0x0;}return _0x5ebb1a;})())),_0x5ebb1a);},_0xf629ce='X-Amz-Algorithm',_0xabb69d='X-Amz-Credential',_0x3cc1f7='X-Amz-Date',_0x4991a8='X-Amz-SignedHeaders',_0x5d8899='X-Amz-Expires',_0xfa87d6='X-Amz-Signature',_0xfcdcf9='X-Amz-Security-Token',_0x184959='authorization',_0x219f6b=_0x3cc1f7['toLowerCase'](),_0x14bfe8='date',_0x3f18c7=[_0x184959,_0x219f6b,_0x14bfe8],_0x2d1d18=_0xfa87d6['toLowerCase'](),_0x37f947='x-amz-content-sha256',_0x3ebb07=_0xfcdcf9['toLowerCase'](),_0xcc96fe={'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},_0xa108f9=/^proxy-/,_0x257500=/^sec-/,_0x4b6b16='AWS4-HMAC-SHA256',_0x529807='AWS4-HMAC-SHA256-PAYLOAD',_0x2d5f01='UNSIGNED-PAYLOAD',_0x4efe58=0x32,_0x25b871='aws4_request',_0x5e2f15=0x93a80,_0x3ca169={},_0x1a0354=[],createScope=(_0x2f810a,_0x2c3716,_0x3de613)=>_0x2f810a+'/'+_0x2c3716+'/'+_0x3de613+'/'+_0x25b871,getSigningKey=async(_0x5a21ea,_0x1056ee,_0x466b4a,_0x208f18,_0x1ea66a)=>{const _0x2b9331=_0x466b4a+':'+_0x208f18+':'+_0x1ea66a+':'+toHex(await _0x31ce6b(_0x5a21ea,_0x1056ee['secretAccessKey'],_0x1056ee['accessKeyId']))+':'+_0x1056ee['sessionToken'];if(_0x2b9331 in _0x3ca169)return _0x3ca169[_0x2b9331];for(_0x1a0354['push'](_0x2b9331);_0x1a0354['length']>_0x4efe58;)delete _0x3ca169[_0x1a0354['shift']()];let _0x563f85='AWS4'+_0x1056ee['secretAccessKey'];for(const _0x26c698 of[_0x466b4a,_0x208f18,_0x1ea66a,_0x25b871])_0x563f85=await _0x31ce6b(_0x5a21ea,_0x563f85,_0x26c698);return _0x3ca169[_0x2b9331]=_0x563f85;},_0x31ce6b=(_0x547f03,_0x373e9b,_0x35ef7c)=>{const _0x527939=new _0x547f03(_0x373e9b);return _0x527939['update'](toUint8Array(_0x35ef7c)),_0x527939['digest']();},getCanonicalHeaders=({headers:_0x55ba34},_0x4c17ec,_0x1803b1)=>{const _0x5a7c98={};for(const _0x506d23 of Object['keys'](_0x55ba34)['sort']()){if(null==_0x55ba34[_0x506d23])continue;const _0x550917=_0x506d23['toLowerCase']();(_0x550917 in _0xcc96fe||_0x4c17ec?.['has'](_0x550917)||_0xa108f9['test'](_0x550917)||_0x257500['test'](_0x550917))&&(!_0x1803b1||_0x1803b1&&!_0x1803b1['has'](_0x550917))||(_0x5a7c98[_0x550917]=_0x55ba34[_0x506d23]['trim']()['replace'](/\s+/g,'\x20'));}return _0x5a7c98;},_0x114c76=_0xd82d7b=>'function'==typeof ArrayBuffer&&_0xd82d7b instanceof ArrayBuffer||'[object\x20ArrayBuffer]'===Object['prototype']['toString']['call'](_0xd82d7b),getPayloadHash=async({headers:_0x1e94ea,body:_0x20fde7},_0x236638)=>{for(const _0x50f938 of Object['keys'](_0x1e94ea))if(_0x50f938['toLowerCase']()===_0x37f947)return _0x1e94ea[_0x50f938];if(null==_0x20fde7)return'e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855';if('string'==typeof _0x20fde7||ArrayBuffer['isView'](_0x20fde7)||_0x114c76(_0x20fde7)){const _0x170702=new _0x236638();return _0x170702['update'](toUint8Array(_0x20fde7)),toHex(await _0x170702['digest']());}return _0x2d5f01;};class HeaderFormatter{['format'](_0x31aab7){const _0x49af4b=[];for(const _0x35b242 of Object['keys'](_0x31aab7)){const _0x35c696=fromUtf8$2(_0x35b242);_0x49af4b['push'](Uint8Array['from']([_0x35c696['byteLength']]),_0x35c696,this['formatHeaderValue'](_0x31aab7[_0x35b242]));}const _0x8c12b5=new Uint8Array(_0x49af4b['reduce']((_0x427a3d,_0x581f5b)=>_0x427a3d+_0x581f5b['byteLength'],0x0));let _0x222008=0x0;for(const _0xe2228b of _0x49af4b)_0x8c12b5['set'](_0xe2228b,_0x222008),_0x222008+=_0xe2228b['byteLength'];return _0x8c12b5;}['formatHeaderValue'](_0x11c31d){switch(_0x11c31d['type']){case'boolean':return Uint8Array['from']([_0x11c31d['value']?0x0:0x1]);case'byte':return Uint8Array['from']([0x2,_0x11c31d['value']]);case'short':const _0x3dd52f=new DataView(new ArrayBuffer(0x3));return _0x3dd52f['setUint8'](0x0,0x3),_0x3dd52f['setInt16'](0x1,_0x11c31d['value'],!0x1),new Uint8Array(_0x3dd52f['buffer']);case'integer':const _0x44cca3=new DataView(new ArrayBuffer(0x5));return _0x44cca3['setUint8'](0x0,0x4),_0x44cca3['setInt32'](0x1,_0x11c31d['value'],!0x1),new Uint8Array(_0x44cca3['buffer']);case'long':const _0x37cc5a=new Uint8Array(0x9);return _0x37cc5a[0x0]=0x5,_0x37cc5a['set'](_0x11c31d['value']['bytes'],0x1),_0x37cc5a;case'binary':const _0x2dbc06=new DataView(new ArrayBuffer(0x3+_0x11c31d['value']['byteLength']));_0x2dbc06['setUint8'](0x0,0x6),_0x2dbc06['setUint16'](0x1,_0x11c31d['value']['byteLength'],!0x1);const _0x1fb0bf=new Uint8Array(_0x2dbc06['buffer']);return _0x1fb0bf['set'](_0x11c31d['value'],0x3),_0x1fb0bf;case'string':const _0x28b0c2=fromUtf8$2(_0x11c31d['value']),_0x8ce2d3=new DataView(new ArrayBuffer(0x3+_0x28b0c2['byteLength']));_0x8ce2d3['setUint8'](0x0,0x7),_0x8ce2d3['setUint16'](0x1,_0x28b0c2['byteLength'],!0x1);const _0xb89866=new Uint8Array(_0x8ce2d3['buffer']);return _0xb89866['set'](_0x28b0c2,0x3),_0xb89866;case'timestamp':const _0x4170f9=new Uint8Array(0x9);return _0x4170f9[0x0]=0x8,_0x4170f9['set'](Int64$1['fromNumber'](_0x11c31d['value']['valueOf']())['bytes'],0x1),_0x4170f9;case'uuid':if(!_0x5d2359['test'](_0x11c31d['value']))throw new Error('Invalid\x20UUID\x20received:\x20'+_0x11c31d['value']);const _0x2c85d1=new Uint8Array(0x11);return _0x2c85d1[0x0]=0x9,_0x2c85d1['set'](_0x3d1b9d(_0x11c31d['value']['replace'](/\-/g,'')),0x1),_0x2c85d1;}}}var _0x419517;!function(_0x4c77fc){_0x4c77fc[_0x4c77fc['boolTrue']=0x0]='boolTrue',_0x4c77fc[_0x4c77fc['boolFalse']=0x1]='boolFalse',_0x4c77fc[_0x4c77fc['byte']=0x2]='byte',_0x4c77fc[_0x4c77fc['short']=0x3]='short',_0x4c77fc[_0x4c77fc['integer']=0x4]='integer',_0x4c77fc[_0x4c77fc['long']=0x5]='long',_0x4c77fc[_0x4c77fc['byteArray']=0x6]='byteArray',_0x4c77fc[_0x4c77fc['string']=0x7]='string',_0x4c77fc[_0x4c77fc['timestamp']=0x8]='timestamp',_0x4c77fc[_0x4c77fc['uuid']=0x9]='uuid';}(_0x419517||(_0x419517={}));const _0x5d2359=/^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$/;let Int64$1=class _0x4ab664{constructor(_0x5e2019){if(this['bytes']=_0x5e2019,0x8!==_0x5e2019['byteLength'])throw new Error('Int64\x20buffers\x20must\x20be\x20exactly\x208\x20bytes');}static['fromNumber'](_0x26708e){if(_0x26708e>0x8000000000000000||_0x26708e<-0x8000000000000000)throw new Error(_0x26708e+'\x20is\x20too\x20large\x20(or,\x20if\x20negative,\x20too\x20small)\x20to\x20represent\x20as\x20an\x20Int64');const _0x16973b=new Uint8Array(0x8);for(let _0x5496b8=0x7,_0x34d721=Math['abs'](Math['round'](_0x26708e));_0x5496b8>-0x1&&_0x34d721>0x0;_0x5496b8--,_0x34d721/=0x100)_0x16973b[_0x5496b8]=_0x34d721;return _0x26708e<0x0&&negate$1(_0x16973b),new _0x4ab664(_0x16973b);}['valueOf'](){const _0x3470cf=this['bytes']['slice'](0x0),_0x459e2a=0x80&_0x3470cf[0x0];return _0x459e2a&&negate$1(_0x3470cf),parseInt(toHex(_0x3470cf),0x10)*(_0x459e2a?-0x1:0x1);}['toString'](){return String(this['valueOf']());}};function negate$1(_0x499ed1){for(let _0x352119=0x0;_0x352119<0x8;_0x352119++)_0x499ed1[_0x352119]^=0xff;for(let _0x3090cf=0x7;_0x3090cf>-0x1&&(_0x499ed1[_0x3090cf]++,0x0===_0x499ed1[_0x3090cf]);_0x3090cf--);}const _0x194312=(_0x58fa6e,_0x3ce5a7)=>{_0x58fa6e=_0x58fa6e['toLowerCase']();for(const _0x5c319a of Object['keys'](_0x3ce5a7))if(_0x58fa6e===_0x5c319a['toLowerCase']())return!0x0;return!0x1;},_0x43f40d=(_0xb31189,_0x436274={})=>{const {headers:_0x3b6343,query:_0x35539d={}}=HttpRequest['clone'](_0xb31189);for(const _0x316c1d of Object['keys'](_0x3b6343)){const _0x54d6cf=_0x316c1d['toLowerCase']();('x-amz-'===_0x54d6cf['slice'](0x0,0x6)&&!_0x436274['unhoistableHeaders']?.['has'](_0x54d6cf)||_0x436274['hoistableHeaders']?.['has'](_0x54d6cf))&&(_0x35539d[_0x316c1d]=_0x3b6343[_0x316c1d],delete _0x3b6343[_0x316c1d]);}return{..._0xb31189,'headers':_0x3b6343,'query':_0x35539d};},prepareRequest=_0x4bcc94=>{_0x4bcc94=HttpRequest['clone'](_0x4bcc94);for(const _0x5516dd of Object['keys'](_0x4bcc94['headers']))_0x3f18c7['indexOf'](_0x5516dd['toLowerCase']())>-0x1&&delete _0x4bcc94['headers'][_0x5516dd];return _0x4bcc94;},getCanonicalQuery=({query:_0x39d49e={}})=>{const _0x216141=[],_0x123ff0={};for(const _0x25b8c4 of Object['keys'](_0x39d49e)){if(_0x25b8c4['toLowerCase']()===_0x2d1d18)continue;const _0x46f2ac=_0x3bcfd9(_0x25b8c4);_0x216141['push'](_0x46f2ac);const _0x1b76d0=_0x39d49e[_0x25b8c4];'string'==typeof _0x1b76d0?_0x123ff0[_0x46f2ac]=_0x46f2ac+'='+_0x3bcfd9(_0x1b76d0):Array['isArray'](_0x1b76d0)&&(_0x123ff0[_0x46f2ac]=_0x1b76d0['slice'](0x0)['reduce']((_0x5d92f5,_0x2898d1)=>_0x5d92f5['concat']([_0x46f2ac+'='+_0x3bcfd9(_0x2898d1)]),[])['sort']()['join']('&'));}return _0x216141['sort']()['map'](_0x2d4898=>_0x123ff0[_0x2d4898])['filter'](_0x154bd2=>_0x154bd2)['join']('&');},_0x512803=_0x596f75=>toDate(_0x596f75)['toISOString']()['replace'](/\.\d{3}Z$/,'Z'),toDate=_0x1ab5c2=>'number'==typeof _0x1ab5c2?new Date(0x3e8*_0x1ab5c2):'string'==typeof _0x1ab5c2?Number(_0x1ab5c2)?new Date(0x3e8*Number(_0x1ab5c2)):new Date(_0x1ab5c2):_0x1ab5c2;class SignatureV4Base{constructor({applyChecksum:_0x201224,credentials:_0x716011,region:_0x48c1a7,service:_0x364ba2,sha256:_0x429d87,uriEscapePath:_0x33f425=!0x0}){this['service']=_0x364ba2,this['sha256']=_0x429d87,this['uriEscapePath']=_0x33f425,this['applyChecksum']='boolean'!=typeof _0x201224||_0x201224,this['regionProvider']=_0x5b0699(_0x48c1a7),this['credentialProvider']=_0x5b0699(_0x716011);}['createCanonicalRequest'](_0x2b93a8,_0x2aa60d,_0x1718ff){const _0x1e1fe1=Object['keys'](_0x2aa60d)['sort']();return _0x2b93a8['method']+'\x0a'+this['getCanonicalPath'](_0x2b93a8)+'\x0a'+getCanonicalQuery(_0x2b93a8)+'\x0a'+_0x1e1fe1['map'](_0x2fe9f2=>_0x2fe9f2+':'+_0x2aa60d[_0x2fe9f2])['join']('\x0a')+'\x0a\x0a'+_0x1e1fe1['join'](';')+'\x0a'+_0x1718ff;}async['createStringToSign'](_0x3de285,_0x385a87,_0x40bbca,_0x3d713e){const _0x16f554=new this['sha256']();return _0x16f554['update'](toUint8Array(_0x40bbca)),_0x3d713e+'\x0a'+_0x3de285+'\x0a'+_0x385a87+'\x0a'+toHex(await _0x16f554['digest']());}['getCanonicalPath']({path:_0x3aec6a}){if(this['uriEscapePath']){const _0x1c8181=[];for(const _0x26b529 of _0x3aec6a['split']('/'))0x0!==_0x26b529?.['length']&&'.'!==_0x26b529&&('..'===_0x26b529?_0x1c8181['pop']():_0x1c8181['push'](_0x26b529));const _0x21a3b9=''+(_0x3aec6a?.['startsWith']('/')?'/':'')+_0x1c8181['join']('/')+(_0x1c8181['length']>0x0&&_0x3aec6a?.['endsWith']('/')?'/':'');return _0x3bcfd9(_0x21a3b9)['replace'](/%2F/g,'/');}return _0x3aec6a;}['validateResolvedCredentials'](_0x3d28e2){if('object'!=typeof _0x3d28e2||'string'!=typeof _0x3d28e2['accessKeyId']||'string'!=typeof _0x3d28e2['secretAccessKey'])throw new Error('Resolved\x20credential\x20object\x20is\x20not\x20valid');}['formatDate'](_0x30a39f){const _0x2c015e=_0x512803(_0x30a39f)['replace'](/[\-:]/g,'');return{'longDate':_0x2c015e,'shortDate':_0x2c015e['slice'](0x0,0x8)};}['getCanonicalHeaderList'](_0x4c9c6c){return Object['keys'](_0x4c9c6c)['sort']()['join'](';');}}class SignatureV4 extends SignatureV4Base{constructor({applyChecksum:_0x44eec3,credentials:_0x5d224b,region:_0x5daa9a,service:_0x73df4e,sha256:_0x588fe5,uriEscapePath:_0x5a57f8=!0x0}){super({'applyChecksum':_0x44eec3,'credentials':_0x5d224b,'region':_0x5daa9a,'service':_0x73df4e,'sha256':_0x588fe5,'uriEscapePath':_0x5a57f8}),this['headerFormatter']=new HeaderFormatter();}async['presign'](_0x72c5d4,_0x54d35f={}){const {signingDate:_0x223c11=new Date(),expiresIn:_0x449197=0xe10,unsignableHeaders:_0x418a8e,unhoistableHeaders:_0x1be856,signableHeaders:_0x5ec2a3,hoistableHeaders:_0xc76b86,signingRegion:_0x55940c,signingService:_0x13e62f}=_0x54d35f,_0xb651d4=await this['credentialProvider']();this['validateResolvedCredentials'](_0xb651d4);const _0x5b8f29=_0x55940c??await this['regionProvider'](),{longDate:_0x4ca387,shortDate:_0x36b919}=this['formatDate'](_0x223c11);if(_0x449197>_0x5e2f15)return Promise['reject']('Signature\x20version\x204\x20presigned\x20URLs\x20must\x20have\x20an\x20expiration\x20date\x20less\x20than\x20one\x20week\x20in\x20the\x20future');const _0x3ac967=createScope(_0x36b919,_0x5b8f29,_0x13e62f??this['service']),_0x298fdc=_0x43f40d(prepareRequest(_0x72c5d4),{'unhoistableHeaders':_0x1be856,'hoistableHeaders':_0xc76b86});_0xb651d4['sessionToken']&&(_0x298fdc['query'][_0xfcdcf9]=_0xb651d4['sessionToken']),_0x298fdc['query'][_0xf629ce]=_0x4b6b16,_0x298fdc['query'][_0xabb69d]=_0xb651d4['accessKeyId']+'/'+_0x3ac967,_0x298fdc['query'][_0x3cc1f7]=_0x4ca387,_0x298fdc['query'][_0x5d8899]=_0x449197['toString'](0xa);const _0x3c0bf6=getCanonicalHeaders(_0x298fdc,_0x418a8e,_0x5ec2a3);return _0x298fdc['query'][_0x4991a8]=this['getCanonicalHeaderList'](_0x3c0bf6),_0x298fdc['query'][_0xfa87d6]=await this['getSignature'](_0x4ca387,_0x3ac967,this['getSigningKey'](_0xb651d4,_0x5b8f29,_0x36b919,_0x13e62f),this['createCanonicalRequest'](_0x298fdc,_0x3c0bf6,await getPayloadHash(_0x72c5d4,this['sha256']))),_0x298fdc;}async['sign'](_0x504df1,_0x316618){return'string'==typeof _0x504df1?this['signString'](_0x504df1,_0x316618):_0x504df1['headers']&&_0x504df1['payload']?this['signEvent'](_0x504df1,_0x316618):_0x504df1['message']?this['signMessage'](_0x504df1,_0x316618):this['signRequest'](_0x504df1,_0x316618);}async['signEvent']({headers:_0x141853,payload:_0x5dfdc5},{signingDate:_0x18be73=new Date(),priorSignature:_0x32418d,signingRegion:_0x2a66f3,signingService:_0x2ca9e5}){const _0x2096ae=_0x2a66f3??await this['regionProvider'](),{shortDate:_0x5c2380,longDate:_0x56e3af}=this['formatDate'](_0x18be73),_0x5e6092=createScope(_0x5c2380,_0x2096ae,_0x2ca9e5??this['service']),_0x5b92c1=await getPayloadHash({'headers':{},'body':_0x5dfdc5},this['sha256']),_0x197029=new this['sha256']();_0x197029['update'](_0x141853);const _0x131002=toHex(await _0x197029['digest']()),_0x2b9d99=[_0x529807,_0x56e3af,_0x5e6092,_0x32418d,_0x131002,_0x5b92c1]['join']('\x0a');return this['signString'](_0x2b9d99,{'signingDate':_0x18be73,'signingRegion':_0x2096ae,'signingService':_0x2ca9e5});}async['signMessage'](_0x2d2a5b,{signingDate:_0x206e92=new Date(),signingRegion:_0x442eca,signingService:_0x51d284}){return this['signEvent']({'headers':this['headerFormatter']['format'](_0x2d2a5b['message']['headers']),'payload':_0x2d2a5b['message']['body']},{'signingDate':_0x206e92,'signingRegion':_0x442eca,'signingService':_0x51d284,'priorSignature':_0x2d2a5b['priorSignature']})['then'](_0x553a5b=>({'message':_0x2d2a5b['message'],'signature':_0x553a5b}));}async['signString'](_0x450515,{signingDate:_0x4e879e=new Date(),signingRegion:_0x2b7cab,signingService:_0x35d353}={}){const _0x458612=await this['credentialProvider']();this['validateResolvedCredentials'](_0x458612);const _0x34a588=_0x2b7cab??await this['regionProvider'](),{shortDate:_0x344042}=this['formatDate'](_0x4e879e),_0x3b7b74=new this['sha256'](await this['getSigningKey'](_0x458612,_0x34a588,_0x344042,_0x35d353));return _0x3b7b74['update'](toUint8Array(_0x450515)),toHex(await _0x3b7b74['digest']());}async['signRequest'](_0x3a430f,{signingDate:_0x44fc91=new Date(),signableHeaders:_0x48ffcd,unsignableHeaders:_0x4756ec,signingRegion:_0x54da41,signingService:_0x4b9918}={}){const _0x5823e5=await this['credentialProvider']();this['validateResolvedCredentials'](_0x5823e5);const _0x5cbd62=_0x54da41??await this['regionProvider'](),_0x51cc43=prepareRequest(_0x3a430f),{longDate:_0x4129f4,shortDate:_0x56735d}=this['formatDate'](_0x44fc91),_0xa06098=createScope(_0x56735d,_0x5cbd62,_0x4b9918??this['service']);_0x51cc43['headers'][_0x219f6b]=_0x4129f4,_0x5823e5['sessionToken']&&(_0x51cc43['headers'][_0x3ebb07]=_0x5823e5['sessionToken']);const _0xb27660=await getPayloadHash(_0x51cc43,this['sha256']);!_0x194312(_0x37f947,_0x51cc43['headers'])&&this['applyChecksum']&&(_0x51cc43['headers'][_0x37f947]=_0xb27660);const _0x525463=getCanonicalHeaders(_0x51cc43,_0x4756ec,_0x48ffcd),_0x15445f=await this['getSignature'](_0x4129f4,_0xa06098,this['getSigningKey'](_0x5823e5,_0x5cbd62,_0x56735d,_0x4b9918),this['createCanonicalRequest'](_0x51cc43,_0x525463,_0xb27660));return _0x51cc43['headers'][_0x184959]=_0x4b6b16+'\x20Credential='+_0x5823e5['accessKeyId']+'/'+_0xa06098+',\x20SignedHeaders='+this['getCanonicalHeaderList'](_0x525463)+',\x20Signature='+_0x15445f,_0x51cc43;}async['getSignature'](_0x41174b,_0x4ef837,_0x3244b1,_0x5bc1ae){const _0x2f98ce=await this['createStringToSign'](_0x41174b,_0x4ef837,_0x5bc1ae,_0x4b6b16),_0x10c2fb=new this['sha256'](await _0x3244b1);return _0x10c2fb['update'](toUint8Array(_0x2f98ce)),toHex(await _0x10c2fb['digest']());}['getSigningKey'](_0x1057ac,_0x3bb6f0,_0x342c1b,_0x34a951){return getSigningKey(this['sha256'],_0x1057ac,_0x342c1b,_0x3bb6f0,_0x34a951||this['service']);}}const _0x1bd0e2=_0x250f5a=>{let _0x5cc3b6,_0x3d8d2a=_0x250f5a['credentials'],_0x3b180a=!!_0x250f5a['credentials'];Object['defineProperty'](_0x250f5a,'credentials',{'set'(_0x535e9c){_0x535e9c&&_0x535e9c!==_0x3d8d2a&&_0x535e9c!==_0x5cc3b6&&(_0x3b180a=!0x0),_0x3d8d2a=_0x535e9c;const _0x5d962a=normalizeCredentialProvider(_0x250f5a,{'credentials':_0x3d8d2a,'credentialDefaultProvider':_0x250f5a['credentialDefaultProvider']}),_0x26ad85=_0x34bc03(_0x250f5a,_0x5d962a);_0x3b180a&&!_0x26ad85['attributed']?(_0x5cc3b6=async _0x24a6f0=>_0x26ad85(_0x24a6f0)['then'](_0x463532=>setCredentialFeature(_0x463532,'CREDENTIALS_CODE','e')),_0x5cc3b6['memoized']=_0x26ad85['memoized'],_0x5cc3b6['configBound']=_0x26ad85['configBound'],_0x5cc3b6['attributed']=!0x0):_0x5cc3b6=_0x26ad85;},'get':()=>_0x5cc3b6,'enumerable':!0x0,'configurable':!0x0}),_0x250f5a['credentials']=_0x3d8d2a;const {signingEscapePath:_0x3c4c8a=!0x0,systemClockOffset:_0x14364b=_0x250f5a['systemClockOffset']||0x0,sha256:_0x381a8b}=_0x250f5a;let _0x366a8a;return _0x366a8a=_0x250f5a['signer']?_0x558c3a(_0x250f5a['signer']):_0x250f5a['regionInfoProvider']?()=>_0x558c3a(_0x250f5a['region'])()['then'](async _0x5b7277=>[await _0x250f5a['regionInfoProvider'](_0x5b7277,{'useFipsEndpoint':await _0x250f5a['useFipsEndpoint'](),'useDualstackEndpoint':await _0x250f5a['useDualstackEndpoint']()})||{},_0x5b7277])['then'](([_0x3b2b11,_0x5f3dc7])=>{const {signingRegion:_0x1b7a49,signingService:_0x19b3fd}=_0x3b2b11;_0x250f5a['signingRegion']=_0x250f5a['signingRegion']||_0x1b7a49||_0x5f3dc7,_0x250f5a['signingName']=_0x250f5a['signingName']||_0x19b3fd||_0x250f5a['serviceId'];const _0x1afafb={..._0x250f5a,'credentials':_0x250f5a['credentials'],'region':_0x250f5a['signingRegion'],'service':_0x250f5a['signingName'],'sha256':_0x381a8b,'uriEscapePath':_0x3c4c8a};return new(_0x250f5a['signerConstructor']||SignatureV4)(_0x1afafb);}):async _0x27cf88=>{const _0x14de8f=(_0x27cf88=Object['assign']({},{'name':'sigv4','signingName':_0x250f5a['signingName']||_0x250f5a['defaultSigningName'],'signingRegion':await _0x558c3a(_0x250f5a['region'])(),'properties':{}},_0x27cf88))['signingRegion'],_0x4e6106=_0x27cf88['signingName'];_0x250f5a['signingRegion']=_0x250f5a['signingRegion']||_0x14de8f,_0x250f5a['signingName']=_0x250f5a['signingName']||_0x4e6106||_0x250f5a['serviceId'];const _0x25ba3b={..._0x250f5a,'credentials':_0x250f5a['credentials'],'region':_0x250f5a['signingRegion'],'service':_0x250f5a['signingName'],'sha256':_0x381a8b,'uriEscapePath':_0x3c4c8a};return new(_0x250f5a['signerConstructor']||SignatureV4)(_0x25ba3b);},Object['assign'](_0x250f5a,{'systemClockOffset':_0x14364b,'signingEscapePath':_0x3c4c8a,'signer':_0x366a8a});};function normalizeCredentialProvider(_0x10bef9,{credentials:_0x40f584,credentialDefaultProvider:_0x3fb111}){let _0x57e998;return _0x57e998=_0x40f584?_0x40f584?.['memoized']?_0x40f584:memoizeIdentityProvider(_0x40f584,isIdentityExpired,doesIdentityRequireRefresh):_0x3fb111?_0x558c3a(_0x3fb111(Object['assign']({},_0x10bef9,{'parentClientConfig':_0x10bef9}))):async()=>{throw new Error('@aws-sdk/core::resolveAwsSdkSigV4Config\x20-\x20`credentials`\x20not\x20provided\x20and\x20no\x20credentialDefaultProvider\x20was\x20configured.');},_0x57e998['memoized']=!0x0,_0x57e998;}function _0x34bc03(_0x159481,_0x539359){if(_0x539359['configBound'])return _0x539359;const _0x58995c=async _0x59e3df=>_0x539359({..._0x59e3df,'callerClientConfig':_0x159481});return _0x58995c['memoized']=_0x539359['memoized'],_0x58995c['configBound']=!0x0,_0x58995c;}const _0x282101='function'==typeof TextEncoder?new TextEncoder():null,calculateBodyLength=_0x3cbb09=>{if('string'==typeof _0x3cbb09){if(_0x282101)return _0x282101['encode'](_0x3cbb09)['byteLength'];let _0x5cc952=_0x3cbb09['length'];for(let _0x1a7775=_0x5cc952-0x1;_0x1a7775>=0x0;_0x1a7775--){const _0x49d1c1=_0x3cbb09['charCodeAt'](_0x1a7775);_0x49d1c1>0x7f&&_0x49d1c1<=0x7ff?_0x5cc952++:_0x49d1c1>0x7ff&&_0x49d1c1<=0xffff&&(_0x5cc952+=0x2),_0x49d1c1>=0xdc00&&_0x49d1c1<=0xdfff&&_0x1a7775--;}return _0x5cc952;}if('number'==typeof _0x3cbb09['byteLength'])return _0x3cbb09['byteLength'];if('number'==typeof _0x3cbb09['size'])return _0x3cbb09['size'];throw new Error('Body\x20Length\x20computation\x20failed\x20for\x20'+_0x3cbb09);},getAllAliases=(_0x20cb5b,_0x27d93a)=>{const _0x37a3ec=[];if(_0x20cb5b&&_0x37a3ec['push'](_0x20cb5b),_0x27d93a){for(const _0x15d302 of _0x27d93a)_0x37a3ec['push'](_0x15d302);}return _0x37a3ec;},getMiddlewareNameWithAliases=(_0x3c1f24,_0x4ae15f)=>''+(_0x3c1f24||'anonymous')+(_0x4ae15f&&_0x4ae15f['length']>0x0?'\x20(a.k.a.\x20'+_0x4ae15f['join'](',')+')':''),constructStack=()=>{let _0x453ab7=[],_0x2db035=[],_0x2d68a7=!0x1;const _0x157aff=new Set(),_0x279a65=_0xb6e497=>(_0x453ab7['forEach'](_0x4cc3b5=>{_0xb6e497['add'](_0x4cc3b5['middleware'],{..._0x4cc3b5});}),_0x2db035['forEach'](_0xb7a73e=>{_0xb6e497['addRelativeTo'](_0xb7a73e['middleware'],{..._0xb7a73e});}),_0xb6e497['identifyOnResolve']?.(_0x2f61f8['identifyOnResolve']()),_0xb6e497),_0x5c159c=_0x44bd1c=>{const _0x25b2f9=[];return _0x44bd1c['before']['forEach'](_0x4088c0=>{0x0===_0x4088c0['before']['length']&&0x0===_0x4088c0['after']['length']?_0x25b2f9['push'](_0x4088c0):_0x25b2f9['push'](..._0x5c159c(_0x4088c0));}),_0x25b2f9['push'](_0x44bd1c),_0x44bd1c['after']['reverse']()['forEach'](_0x17e90e=>{0x0===_0x17e90e['before']['length']&&0x0===_0x17e90e['after']['length']?_0x25b2f9['push'](_0x17e90e):_0x25b2f9['push'](..._0x5c159c(_0x17e90e));}),_0x25b2f9;},_0x4d52b0=(_0x5d0ba1=!0x1)=>{const _0x15d60c=[],_0x3ec8ac=[],_0x194dde={};_0x453ab7['forEach'](_0x580145=>{const _0x33f720={..._0x580145,'before':[],'after':[]};for(const _0x27632c of getAllAliases(_0x33f720['name'],_0x33f720['aliases']))_0x194dde[_0x27632c]=_0x33f720;_0x15d60c['push'](_0x33f720);}),_0x2db035['forEach'](_0x17b854=>{const _0xf84fa6={..._0x17b854,'before':[],'after':[]};for(const _0x53ae38 of getAllAliases(_0xf84fa6['name'],_0xf84fa6['aliases']))_0x194dde[_0x53ae38]=_0xf84fa6;_0x3ec8ac['push'](_0xf84fa6);}),_0x3ec8ac['forEach'](_0x243dfa=>{if(_0x243dfa['toMiddleware']){const _0xdf11e1=_0x194dde[_0x243dfa['toMiddleware']];if(void 0x0===_0xdf11e1){if(_0x5d0ba1)return;throw new Error(_0x243dfa['toMiddleware']+'\x20is\x20not\x20found\x20when\x20adding\x20'+getMiddlewareNameWithAliases(_0x243dfa['name'],_0x243dfa['aliases'])+'\x20middleware\x20'+_0x243dfa['relation']+'\x20'+_0x243dfa['toMiddleware']);}'after'===_0x243dfa['relation']&&_0xdf11e1['after']['push'](_0x243dfa),'before'===_0x243dfa['relation']&&_0xdf11e1['before']['push'](_0x243dfa);}});const _0x38768a=(_0x246dae=_0x15d60c,_0x246dae['sort']((_0x2f8c16,_0x4d6baf)=>stepWeights[_0x4d6baf['step']]-stepWeights[_0x2f8c16['step']]||priorityWeights[_0x4d6baf['priority']||'normal']-priorityWeights[_0x2f8c16['priority']||'normal']))['map'](_0x5c159c)['reduce']((_0x53efb4,_0x6b10c3)=>(_0x53efb4['push'](..._0x6b10c3),_0x53efb4),[]);var _0x246dae;return _0x38768a;},_0x2f61f8={'add':(_0x590c57,_0xd4d273={})=>{const {name:_0x28b77,override:_0x2df9eb,aliases:_0x1aba64}=_0xd4d273,_0x5a8619={'step':'initialize','priority':'normal','middleware':_0x590c57,..._0xd4d273},_0x31877b=getAllAliases(_0x28b77,_0x1aba64);if(_0x31877b['length']>0x0){if(_0x31877b['some'](_0x2091e1=>_0x157aff['has'](_0x2091e1))){if(!_0x2df9eb)throw new Error('Duplicate\x20middleware\x20name\x20\x27'+getMiddlewareNameWithAliases(_0x28b77,_0x1aba64)+'\x27');for(const _0x3f83c4 of _0x31877b){const _0x439346=_0x453ab7['findIndex'](_0x5e05dc=>_0x5e05dc['name']===_0x3f83c4||_0x5e05dc['aliases']?.['some'](_0x5ee24a=>_0x5ee24a===_0x3f83c4));if(-0x1===_0x439346)continue;const _0x2d797c=_0x453ab7[_0x439346];if(_0x2d797c['step']!==_0x5a8619['step']||_0x5a8619['priority']!==_0x2d797c['priority'])throw new Error('\x22'+getMiddlewareNameWithAliases(_0x2d797c['name'],_0x2d797c['aliases'])+'\x22\x20middleware\x20with\x20'+_0x2d797c['priority']+'\x20priority\x20in\x20'+_0x2d797c['step']+'\x20step\x20cannot\x20be\x20overridden\x20by\x20\x22'+getMiddlewareNameWithAliases(_0x28b77,_0x1aba64)+'\x22\x20middleware\x20with\x20'+_0x5a8619['priority']+'\x20priority\x20in\x20'+_0x5a8619['step']+'\x20step.');_0x453ab7['splice'](_0x439346,0x1);}}for(const _0x1fdab1 of _0x31877b)_0x157aff['add'](_0x1fdab1);}_0x453ab7['push'](_0x5a8619);},'addRelativeTo':(_0x40bdbd,_0x17613c)=>{const {name:_0x2f2d5f,override:_0x405bb5,aliases:_0x5eb5e5}=_0x17613c,_0x582e63={'middleware':_0x40bdbd,..._0x17613c},_0x34d900=getAllAliases(_0x2f2d5f,_0x5eb5e5);if(_0x34d900['length']>0x0){if(_0x34d900['some'](_0x5a803e=>_0x157aff['has'](_0x5a803e))){if(!_0x405bb5)throw new Error('Duplicate\x20middleware\x20name\x20\x27'+getMiddlewareNameWithAliases(_0x2f2d5f,_0x5eb5e5)+'\x27');for(const _0x281e4b of _0x34d900){const _0xef5476=_0x2db035['findIndex'](_0x187f0a=>_0x187f0a['name']===_0x281e4b||_0x187f0a['aliases']?.['some'](_0x57e248=>_0x57e248===_0x281e4b));if(-0x1===_0xef5476)continue;const _0x5b38bc=_0x2db035[_0xef5476];if(_0x5b38bc['toMiddleware']!==_0x582e63['toMiddleware']||_0x5b38bc['relation']!==_0x582e63['relation'])throw new Error('\x22'+getMiddlewareNameWithAliases(_0x5b38bc['name'],_0x5b38bc['aliases'])+'\x22\x20middleware\x20'+_0x5b38bc['relation']+'\x20\x22'+_0x5b38bc['toMiddleware']+'\x22\x20middleware\x20cannot\x20be\x20overridden\x20by\x20\x22'+getMiddlewareNameWithAliases(_0x2f2d5f,_0x5eb5e5)+'\x22\x20middleware\x20'+_0x582e63['relation']+'\x20\x22'+_0x582e63['toMiddleware']+'\x22\x20middleware.');_0x2db035['splice'](_0xef5476,0x1);}}for(const _0x167b22 of _0x34d900)_0x157aff['add'](_0x167b22);}_0x2db035['push'](_0x582e63);},'clone':()=>_0x279a65(constructStack()),'use':_0x2dbc86=>{_0x2dbc86['applyToStack'](_0x2f61f8);},'remove':_0x498427=>'string'==typeof _0x498427?(_0x3ba36f=>{let _0x1c8252=!0x1;const _0x285b84=_0x3ad4fa=>{const _0x43be68=getAllAliases(_0x3ad4fa['name'],_0x3ad4fa['aliases']);if(_0x43be68['includes'](_0x3ba36f)){_0x1c8252=!0x0;for(const _0x54e392 of _0x43be68)_0x157aff['delete'](_0x54e392);return!0x1;}return!0x0;};return _0x453ab7=_0x453ab7['filter'](_0x285b84),_0x2db035=_0x2db035['filter'](_0x285b84),_0x1c8252;})(_0x498427):(_0x4487aa=>{let _0x406264=!0x1;const _0x4db554=_0x4554f1=>{if(_0x4554f1['middleware']===_0x4487aa){_0x406264=!0x0;for(const _0x32d287 of getAllAliases(_0x4554f1['name'],_0x4554f1['aliases']))_0x157aff['delete'](_0x32d287);return!0x1;}return!0x0;};return _0x453ab7=_0x453ab7['filter'](_0x4db554),_0x2db035=_0x2db035['filter'](_0x4db554),_0x406264;})(_0x498427),'removeByTag':_0x3c292d=>{let _0xc8797c=!0x1;const _0x4792b3=_0x577429=>{const {tags:_0x20f42d,name:_0x708ad8,aliases:_0x4d745f}=_0x577429;if(_0x20f42d&&_0x20f42d['includes'](_0x3c292d)){const _0xe5b45f=getAllAliases(_0x708ad8,_0x4d745f);for(const _0x1f387a of _0xe5b45f)_0x157aff['delete'](_0x1f387a);return _0xc8797c=!0x0,!0x1;}return!0x0;};return _0x453ab7=_0x453ab7['filter'](_0x4792b3),_0x2db035=_0x2db035['filter'](_0x4792b3),_0xc8797c;},'concat':_0x4f69de=>{const _0x5c73c2=_0x279a65(constructStack());return _0x5c73c2['use'](_0x4f69de),_0x5c73c2['identifyOnResolve'](_0x2d68a7||_0x5c73c2['identifyOnResolve']()||(_0x4f69de['identifyOnResolve']?.()??!0x1)),_0x5c73c2;},'applyToStack':_0x279a65,'identify':()=>_0x4d52b0(!0x0)['map'](_0x53c5d4=>{const _0x23f799=_0x53c5d4['step']??_0x53c5d4['relation']+'\x20'+_0x53c5d4['toMiddleware'];return getMiddlewareNameWithAliases(_0x53c5d4['name'],_0x53c5d4['aliases'])+'\x20-\x20'+_0x23f799;}),'identifyOnResolve':_0x47ff9f=>('boolean'==typeof _0x47ff9f&&(_0x2d68a7=_0x47ff9f),_0x2d68a7),'resolve':(_0x4e785b,_0x444deb)=>{for(const _0x5bb21e of _0x4d52b0()['map'](_0x965abe=>_0x965abe['middleware'])['reverse']())_0x4e785b=_0x5bb21e(_0x4e785b,_0x444deb);return _0x2d68a7&&console['log'](_0x2f61f8['identify']()),_0x4e785b;}};return _0x2f61f8;},stepWeights={'initialize':0x5,'serialize':0x4,'build':0x3,'finalizeRequest':0x2,'deserialize':0x1},priorityWeights={'high':0x3,'normal':0x2,'low':0x1};class Client{constructor(_0x50aea9){this['config']=_0x50aea9,this['middlewareStack']=constructStack();}['send'](_0xee5849,_0x5cc4d5,_0x1c72e9){const _0x1265c3='function'!=typeof _0x5cc4d5?_0x5cc4d5:void 0x0,_0x500299='function'==typeof _0x5cc4d5?_0x5cc4d5:_0x1c72e9;let _0x94b16e;if(void 0x0===_0x1265c3&&!0x0===this['config']['cacheMiddleware']){this['handlers']||(this['handlers']=new WeakMap());const _0x394544=this['handlers'];_0x394544['has'](_0xee5849['constructor'])?_0x94b16e=_0x394544['get'](_0xee5849['constructor']):(_0x94b16e=_0xee5849['resolveMiddleware'](this['middlewareStack'],this['config'],_0x1265c3),_0x394544['set'](_0xee5849['constructor'],_0x94b16e));}else delete this['handlers'],_0x94b16e=_0xee5849['resolveMiddleware'](this['middlewareStack'],this['config'],_0x1265c3);if(!_0x500299)return _0x94b16e(_0xee5849)['then'](_0x1c655a=>_0x1c655a['output']);_0x94b16e(_0xee5849)['then'](_0x21b12e=>_0x500299(null,_0x21b12e['output']),_0x1e194b=>_0x500299(_0x1e194b))['catch'](()=>{});}['destroy'](){this['config']?.['requestHandler']?.['destroy']?.(),delete this['handlers'];}}const _0x2b200a='***SensitiveInformation***';function schemaLogFilter(_0x18fddb,_0xeacf83){if(null==_0xeacf83)return _0xeacf83;const _0x3aaa77=_0x38b8e3['of'](_0x18fddb);if(_0x3aaa77['getMergedTraits']()['sensitive'])return _0x2b200a;if(_0x3aaa77['isListSchema']()){if(!!_0x3aaa77['getValueSchema']()['getMergedTraits']()['sensitive'])return _0x2b200a;}else{if(_0x3aaa77['isMapSchema']()){if(!!_0x3aaa77['getKeySchema']()['getMergedTraits']()['sensitive']||!!_0x3aaa77['getValueSchema']()['getMergedTraits']()['sensitive'])return _0x2b200a;}else{if(_0x3aaa77['isStructSchema']()&&'object'==typeof _0xeacf83){const _0x11f6d0=_0xeacf83,_0x168e6b={};for(const [_0x18b81b,_0xe28f7e]of _0x3aaa77['structIterator']())null!=_0x11f6d0[_0x18b81b]&&(_0x168e6b[_0x18b81b]=schemaLogFilter(_0xe28f7e,_0x11f6d0[_0x18b81b]));return _0x168e6b;}}}return _0xeacf83;}class _0x48af2e{constructor(){this['middlewareStack']=constructStack();}static['classBuilder'](){return new _0x1529eb();}['resolveMiddlewareWithContext'](_0x4dfc13,_0x4c4be3,_0x5aa864,{middlewareFn:_0x575019,clientName:_0x2aacad,commandName:_0x16797f,inputFilterSensitiveLog:_0x12342f,outputFilterSensitiveLog:_0x5519ae,smithyContext:_0x35f279,additionalContext:_0x231e08,CommandCtor:_0x226d7e}){for(const _0x14550a of _0x575019['bind'](this)(_0x226d7e,_0x4dfc13,_0x4c4be3,_0x5aa864))this['middlewareStack']['use'](_0x14550a);const _0x560345=_0x4dfc13['concat'](this['middlewareStack']),{logger:_0x40f3bf}=_0x4c4be3,_0x524f2e={'logger':_0x40f3bf,'clientName':_0x2aacad,'commandName':_0x16797f,'inputFilterSensitiveLog':_0x12342f,'outputFilterSensitiveLog':_0x5519ae,[_0x4b6685]:{'commandInstance':this,..._0x35f279},..._0x231e08},{requestHandler:_0x1a7f08}=_0x4c4be3;return _0x560345['resolve'](_0x3d744b=>_0x1a7f08['handle'](_0x3d744b['request'],_0x5aa864||{}),_0x524f2e);}}class _0x1529eb{constructor(){this['_init']=()=>{},this['_ep']={},this['_middlewareFn']=()=>[],this['_commandName']='',this['_clientName']='',this['_additionalContext']={},this['_smithyContext']={},this['_inputFilterSensitiveLog']=void 0x0,this['_outputFilterSensitiveLog']=void 0x0,this['_serializer']=null,this['_deserializer']=null;}['init'](_0x1a4de6){this['_init']=_0x1a4de6;}['ep'](_0x187e97){return this['_ep']=_0x187e97,this;}['m'](_0x1c407e){return this['_middlewareFn']=_0x1c407e,this;}['s'](_0x3dae3c,_0x34e9e9,_0x1599f8={}){return this['_smithyContext']={'service':_0x3dae3c,'operation':_0x34e9e9,..._0x1599f8},this;}['c'](_0x476499={}){return this['_additionalContext']=_0x476499,this;}['n'](_0x563b1d,_0x52b432){return this['_clientName']=_0x563b1d,this['_commandName']=_0x52b432,this;}['f'](_0x55915d=_0x4f6aaa=>_0x4f6aaa,_0x3e0faa=_0x1096e6=>_0x1096e6){return this['_inputFilterSensitiveLog']=_0x55915d,this['_outputFilterSensitiveLog']=_0x3e0faa,this;}['ser'](_0x27c60c){return this['_serializer']=_0x27c60c,this;}['de'](_0x4be254){return this['_deserializer']=_0x4be254,this;}['sc'](_0xb81570){return this['_operationSchema']=_0xb81570,this['_smithyContext']['operationSchema']=_0xb81570,this;}['build'](){const _0x3525b2=this;let _0x4b5698;return _0x4b5698=class extends _0x48af2e{static['getEndpointParameterInstructions'](){return _0x3525b2['_ep'];}constructor(...[_0x1d051f]){super(),this['serialize']=_0x3525b2['_serializer'],this['deserialize']=_0x3525b2['_deserializer'],this['input']=_0x1d051f??{},_0x3525b2['_init'](this),this['schema']=_0x3525b2['_operationSchema'];}['resolveMiddleware'](_0x2f6f60,_0x1f538a,_0x2858f3){return this['resolveMiddlewareWithContext'](_0x2f6f60,_0x1f538a,_0x2858f3,{'CommandCtor':_0x4b5698,'middlewareFn':_0x3525b2['_middlewareFn'],'clientName':_0x3525b2['_clientName'],'commandName':_0x3525b2['_commandName'],'inputFilterSensitiveLog':_0x3525b2['_inputFilterSensitiveLog']??(_0x3525b2['_operationSchema']?schemaLogFilter['bind'](null,_0x3525b2['_operationSchema']['input']):_0x190444=>_0x190444),'outputFilterSensitiveLog':_0x3525b2['_outputFilterSensitiveLog']??(_0x3525b2['_operationSchema']?schemaLogFilter['bind'](null,_0x3525b2['_operationSchema']['output']):_0x4bf0d3=>_0x4bf0d3),'smithyContext':_0x3525b2['_smithyContext'],'additionalContext':_0x3525b2['_additionalContext']});}};}}const _0x3dbab3='***SensitiveInformation***';class ServiceException extends Error{constructor(_0x4c509e){super(_0x4c509e['message']),Object['setPrototypeOf'](this,Object['getPrototypeOf'](this)['constructor']['prototype']),this['name']=_0x4c509e['name'],this['$fault']=_0x4c509e['$fault'],this['$metadata']=_0x4c509e['$metadata'];}static['isInstance'](_0x2948c0){if(!_0x2948c0)return!0x1;const _0x2be0fc=_0x2948c0;return ServiceException['prototype']['isPrototypeOf'](_0x2be0fc)||Boolean(_0x2be0fc['$fault'])&&Boolean(_0x2be0fc['$metadata'])&&('client'===_0x2be0fc['$fault']||'server'===_0x2be0fc['$fault']);}static[Symbol['hasInstance']](_0x196de4){if(!_0x196de4)return!0x1;const _0x1f1a09=_0x196de4;return this===ServiceException?ServiceException['isInstance'](_0x196de4):!!ServiceException['isInstance'](_0x196de4)&&(_0x1f1a09['name']&&this['name']?this['prototype']['isPrototypeOf'](_0x196de4)||_0x1f1a09['name']===this['name']:this['prototype']['isPrototypeOf'](_0x196de4));}}const decorateServiceException=(_0x425673,_0x5d1927={})=>{Object['entries'](_0x5d1927)['filter'](([,_0x3d0e1e])=>void 0x0!==_0x3d0e1e)['forEach'](([_0x213681,_0x48ae0b])=>{null!=_0x425673[_0x213681]&&''!==_0x425673[_0x213681]||(_0x425673[_0x213681]=_0x48ae0b);});const _0x31a62d=_0x425673['message']||_0x425673['Message']||'UnknownError';return _0x425673['message']=_0x31a62d,delete _0x425673['Message'],_0x425673;},throwDefaultError$1=({output:_0x2cacfb,parsedBody:_0x2eeb6b,exceptionCtor:_0xb0204f,errorCode:_0x2c0e6a})=>{const _0x25cb18=deserializeMetadata$1(_0x2cacfb),_0x2dff57=_0x25cb18['httpStatusCode']?_0x25cb18['httpStatusCode']+'':void 0x0,_0x449dbd=new _0xb0204f({'name':_0x2eeb6b?.['code']||_0x2eeb6b?.['Code']||_0x2c0e6a||_0x2dff57||'UnknownError','$fault':'client','$metadata':_0x25cb18});throw decorateServiceException(_0x449dbd,_0x2eeb6b);},withBaseException=_0x4d30d4=>({output:_0x1936af,parsedBody:_0x3286e4,errorCode:_0x51b5ce})=>{throwDefaultError$1({'output':_0x1936af,'parsedBody':_0x3286e4,'exceptionCtor':_0x4d30d4,'errorCode':_0x51b5ce});},deserializeMetadata$1=_0x572bd3=>({'httpStatusCode':_0x572bd3['statusCode'],'requestId':_0x572bd3['headers']['x-amzn-requestid']??_0x572bd3['headers']['x-amzn-request-id']??_0x572bd3['headers']['x-amz-request-id'],'extendedRequestId':_0x572bd3['headers']['x-amz-id-2'],'cfId':_0x572bd3['headers']['x-amz-cf-id']}),loadConfigsForDefaultMode=_0x3c5b99=>{switch(_0x3c5b99){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=_0x47354d=>{const _0x1361ea=[];for(const _0x555a53 in AlgorithmId){const _0x49f2ef=AlgorithmId[_0x555a53];void 0x0!==_0x47354d[_0x49f2ef]&&_0x1361ea['push']({'algorithmId':()=>_0x49f2ef,'checksumConstructor':()=>_0x47354d[_0x49f2ef]});}return{'addChecksumAlgorithm'(_0x53cf4a){_0x1361ea['push'](_0x53cf4a);},'checksumAlgorithms':()=>_0x1361ea};},resolveChecksumRuntimeConfig=_0xdb072a=>{const _0x9647ee={};return _0xdb072a['checksumAlgorithms']()['forEach'](_0x351e64=>{_0x9647ee[_0x351e64['algorithmId']()]=_0x351e64['checksumConstructor']();}),_0x9647ee;},getRetryConfiguration=_0x2ef5f5=>({'setRetryStrategy'(_0x3979cf){_0x2ef5f5['retryStrategy']=_0x3979cf;},'retryStrategy':()=>_0x2ef5f5['retryStrategy']}),resolveRetryRuntimeConfig=_0x184503=>{const _0x30df68={};return _0x30df68['retryStrategy']=_0x184503['retryStrategy'](),_0x30df68;},getDefaultExtensionConfiguration=_0x30a33d=>Object['assign'](getChecksumConfiguration(_0x30a33d),getRetryConfiguration(_0x30a33d)),resolveDefaultRuntimeConfig=_0x814b1a=>Object['assign'](resolveChecksumRuntimeConfig(_0x814b1a),resolveRetryRuntimeConfig(_0x814b1a)),_0x84e3c8=_0x4ab59f=>null!=_0x4ab59f;class _0x4aafce{['trace'](){}['debug'](){}['info'](){}['warn'](){}['error'](){}}function _0x298558(_0x1332fe,_0x4c2ddc,_0x48f6cf){let _0x31afe2,_0x34369f,_0x618991;if(void 0x0===_0x4c2ddc&&void 0x0===_0x48f6cf)_0x31afe2={},_0x618991=_0x1332fe;else{if(_0x31afe2=_0x1332fe,'function'==typeof _0x4c2ddc)return _0x34369f=_0x4c2ddc,_0x618991=_0x48f6cf,mapWithFilter(_0x31afe2,_0x34369f,_0x618991);_0x618991=_0x4c2ddc;}for(const _0x3ec129 of Object['keys'](_0x618991))Array['isArray'](_0x618991[_0x3ec129])?applyInstruction(_0x31afe2,null,_0x618991,_0x3ec129):_0x31afe2[_0x3ec129]=_0x618991[_0x3ec129];return _0x31afe2;}const take=(_0x57ae80,_0x100510)=>{const _0x468a07={};for(const _0x42524a in _0x100510)applyInstruction(_0x468a07,_0x57ae80,_0x100510,_0x42524a);return _0x468a07;},mapWithFilter=(_0x3865f3,_0x388b9d,_0x4262e8)=>_0x298558(_0x3865f3,Object['entries'](_0x4262e8)['reduce']((_0x4bbf14,[_0x1cca67,_0xa76f12])=>(Array['isArray'](_0xa76f12)?_0x4bbf14[_0x1cca67]=_0xa76f12:_0x4bbf14[_0x1cca67]='function'==typeof _0xa76f12?[_0x388b9d,_0xa76f12()]:[_0x388b9d,_0xa76f12],_0x4bbf14),{})),applyInstruction=(_0x412202,_0x47bd4f,_0x2e162c,_0x230ae9)=>{if(null!==_0x47bd4f){let _0x4a454a=_0x2e162c[_0x230ae9];'function'==typeof _0x4a454a&&(_0x4a454a=[,_0x4a454a]);const [_0x24850d=_0x1cd5b3,_0x1ea036=_0x17bd04,_0x51bd0b=_0x230ae9]=_0x4a454a;return void(('function'==typeof _0x24850d&&_0x24850d(_0x47bd4f[_0x51bd0b])||'function'!=typeof _0x24850d&&_0x24850d)&&(_0x412202[_0x230ae9]=_0x1ea036(_0x47bd4f[_0x51bd0b])));}let [_0x3dc898,_0xe4a5e4]=_0x2e162c[_0x230ae9];if('function'==typeof _0xe4a5e4){let _0x471838;const _0x34e330=void 0x0===_0x3dc898&&null!=(_0x471838=_0xe4a5e4()),_0x4f53f6='function'==typeof _0x3dc898&&!!_0x3dc898(void 0x0)||'function'!=typeof _0x3dc898&&!!_0x3dc898;_0x34e330?_0x412202[_0x230ae9]=_0x471838:_0x4f53f6&&(_0x412202[_0x230ae9]=_0xe4a5e4());}else{const _0x2cd444=void 0x0===_0x3dc898&&null!=_0xe4a5e4,_0x1d2c26='function'==typeof _0x3dc898&&!!_0x3dc898(_0xe4a5e4)||'function'!=typeof _0x3dc898&&!!_0x3dc898;(_0x2cd444||_0x1d2c26)&&(_0x412202[_0x230ae9]=_0xe4a5e4);}},_0x1cd5b3=_0x5a400d=>null!=_0x5a400d,_0x17bd04=_0x28693f=>_0x28693f,collectBodyString=(_0x41d468,_0x4588c3)=>collectBody(_0x41d468,_0x4588c3)['then'](_0x640afe=>_0x4588c3['utf8Encoder'](_0x640afe)),_0x42596b=(_0x54e501,_0x3b4f1a)=>collectBodyString(_0x54e501,_0x3b4f1a)['then'](_0x503db3=>{if(_0x503db3['length'])try{return JSON['parse'](_0x503db3);}catch(_0x23fd2c){throw'SyntaxError'===_0x23fd2c?.['name']&&Object['defineProperty'](_0x23fd2c,'$responseBodyText',{'value':_0x503db3}),_0x23fd2c;}return{};}),_0x5e7110=async(_0x104e30,_0x31103f)=>{const _0xea6142=await _0x42596b(_0x104e30,_0x31103f);return _0xea6142['message']=_0xea6142['message']??_0xea6142['Message'],_0xea6142;},loadRestJsonErrorCode=(_0x1ab011,_0x1b370d)=>{const _0x3d96bb=(_0x1d0d04,_0x27b22a)=>Object['keys'](_0x1d0d04)['find'](_0x2e3663=>_0x2e3663['toLowerCase']()===_0x27b22a['toLowerCase']()),_0x474c6e=_0x55e96f=>{let _0x522692=_0x55e96f;return'number'==typeof _0x522692&&(_0x522692=_0x522692['toString']()),_0x522692['indexOf'](',')>=0x0&&(_0x522692=_0x522692['split'](',')[0x0]),_0x522692['indexOf'](':')>=0x0&&(_0x522692=_0x522692['split'](':')[0x0]),_0x522692['indexOf']('#')>=0x0&&(_0x522692=_0x522692['split']('#')[0x1]),_0x522692;},_0x54608b=_0x3d96bb(_0x1ab011['headers'],'x-amzn-errortype');if(void 0x0!==_0x54608b)return _0x474c6e(_0x1ab011['headers'][_0x54608b]);if(_0x1b370d&&'object'==typeof _0x1b370d){const _0x5373b6=_0x3d96bb(_0x1b370d,'code');if(_0x5373b6&&void 0x0!==_0x1b370d[_0x5373b6])return _0x474c6e(_0x1b370d[_0x5373b6]);if(void 0x0!==_0x1b370d['__type'])return _0x474c6e(_0x1b370d['__type']);}};var _0x23937e='undefined'!=typeof globalThis?globalThis:'undefined'!=typeof window?window:'undefined'!=typeof global?global:'undefined'!=typeof self?self:{};const _0xa1c518=/\d{12}\.ddb/;async function checkFeatures(_0x5459bc,_0x6c52c6,_0x1280dd){const _0x75b810=_0x1280dd['request'];if('rpc-v2-cbor'===_0x75b810?.['headers']?.['smithy-protocol']&&setFeature(_0x5459bc,'PROTOCOL_RPC_V2_CBOR','M'),'function'==typeof _0x6c52c6['retryStrategy']){const _0x25f7f7=await _0x6c52c6['retryStrategy']();'function'==typeof _0x25f7f7['acquireInitialRetryToken']?_0x25f7f7['constructor']?.['name']?.['includes']('Adaptive')?setFeature(_0x5459bc,'RETRY_MODE_ADAPTIVE','F'):setFeature(_0x5459bc,'RETRY_MODE_STANDARD','E'):setFeature(_0x5459bc,'RETRY_MODE_LEGACY','D');}if('function'==typeof _0x6c52c6['accountIdEndpointMode']){const _0x6b6d62=_0x5459bc['endpointV2'];switch(String(_0x6b6d62?.['url']?.['hostname'])['match'](_0xa1c518)&&setFeature(_0x5459bc,'ACCOUNT_ID_ENDPOINT','O'),await _0x6c52c6['accountIdEndpointMode']?.()){case'disabled':setFeature(_0x5459bc,'ACCOUNT_ID_MODE_DISABLED','Q');break;case'preferred':setFeature(_0x5459bc,'ACCOUNT_ID_MODE_PREFERRED','P');break;case'required':setFeature(_0x5459bc,'ACCOUNT_ID_MODE_REQUIRED','R');}}const _0x2a4a37=_0x5459bc['__smithy_context']?.['selectedHttpAuthScheme']?.['identity'];if(_0x2a4a37?.['$source']){const _0x510aff=_0x2a4a37;_0x510aff['accountId']&&setFeature(_0x5459bc,'RESOLVED_ACCOUNT_ID','T');for(const [_0x3c90e3,_0x51f46d]of Object['entries'](_0x510aff['$source']??{}))setFeature(_0x5459bc,_0x3c90e3,_0x51f46d);}}const _0xbfb9f7='user-agent',_0x5aed6d='x-amz-user-agent',_0x4096d2='\x20',_0x68d397='/',_0x2e12cf=/[^\!\$\%\&\'\*\+\-\.\^\_\`\|\~\d\w]/g,_0x19b2f7=/[^\!\$\%\&\'\*\+\-\.\^\_\`\|\~\d\w\#]/g,_0x1bfb0a='-',_0x3fc952=0x400;function encodeFeatures(_0x15656c){let _0x911d82='';for(const _0x498dd1 in _0x15656c){const _0x3ab38a=_0x15656c[_0x498dd1];if(!(_0x911d82['length']+_0x3ab38a['length']+0x1<=_0x3fc952))break;_0x911d82['length']?_0x911d82+=','+_0x3ab38a:_0x911d82+=_0x3ab38a;}return _0x911d82;}const userAgentMiddleware=_0x5ef7e0=>(_0x2e23e3,_0x463918)=>async _0x232dc5=>{const {request:_0x15848b}=_0x232dc5;if(!HttpRequest['isInstance'](_0x15848b))return _0x2e23e3(_0x232dc5);const {headers:_0xb9005f}=_0x15848b,_0x5996c1=_0x463918?.['userAgent']?.['map'](escapeUserAgent)||[],_0x140130=(await _0x5ef7e0['defaultUserAgentProvider']())['map'](escapeUserAgent);await checkFeatures(_0x463918,_0x5ef7e0,_0x232dc5);const _0x24fcfb=_0x463918;_0x140130['push']('m/'+encodeFeatures(Object['assign']({},_0x463918['__smithy_context']?.['features'],_0x24fcfb['__aws_sdk_context']?.['features'])));const _0x386d9f=_0x5ef7e0?.['customUserAgent']?.['map'](escapeUserAgent)||[],_0x493901=await _0x5ef7e0['userAgentAppId']();_0x493901&&_0x140130['push'](escapeUserAgent(['app/'+_0x493901]));const _0x9f7548=[]['concat']([..._0x140130,..._0x5996c1,..._0x386d9f])['join'](_0x4096d2),_0x27f97f=[..._0x140130['filter'](_0xacc36a=>_0xacc36a['startsWith']('aws-sdk-')),..._0x386d9f]['join'](_0x4096d2);return'browser'!==_0x5ef7e0['runtime']?(_0x27f97f&&(_0xb9005f[_0x5aed6d]=_0xb9005f[_0x5aed6d]?_0xb9005f[_0xbfb9f7]+'\x20'+_0x27f97f:_0x27f97f),_0xb9005f[_0xbfb9f7]=_0x9f7548):_0xb9005f[_0x5aed6d]=_0x9f7548,_0x2e23e3({..._0x232dc5,'request':_0x15848b});},escapeUserAgent=_0x413ee2=>{const _0x3b4793=_0x413ee2[0x0]['split'](_0x68d397)['map'](_0x121aab=>_0x121aab['replace'](_0x2e12cf,_0x1bfb0a))['join'](_0x68d397),_0x444a76=_0x413ee2[0x1]?.['replace'](_0x19b2f7,_0x1bfb0a),_0x2942fe=_0x3b4793['indexOf'](_0x68d397),_0x4689b7=_0x3b4793['substring'](0x0,_0x2942fe);let _0x228ba9=_0x3b4793['substring'](_0x2942fe+0x1);return'api'===_0x4689b7&&(_0x228ba9=_0x228ba9['toLowerCase']()),[_0x4689b7,_0x228ba9,_0x444a76]['filter'](_0x5919ee=>_0x5919ee&&_0x5919ee['length']>0x0)['reduce']((_0x397f04,_0x4d0550,_0x441102)=>{switch(_0x441102){case 0x0:return _0x4d0550;case 0x1:return _0x397f04+'/'+_0x4d0550;default:return _0x397f04+'#'+_0x4d0550;}},'');},getUserAgentMiddlewareOptions={'name':'getUserAgentMiddleware','step':'build','priority':'low','tags':['SET_USER_AGENT','USER_AGENT'],'override':!0x0},getUserAgentPlugin=_0xe2b686=>({'applyToStack':_0x25d82a=>{_0x25d82a['add'](userAgentMiddleware(_0xe2b686),getUserAgentMiddlewareOptions);}}),_0x210d13=!0x1,_0x15cff8=!0x1,_0x12de79=_0x2cb9dd=>'string'==typeof _0x2cb9dd&&(_0x2cb9dd['startsWith']('fips-')||_0x2cb9dd['endsWith']('-fips')),getRealRegion=_0x374e68=>_0x12de79(_0x374e68)?['fips-aws-global','aws-fips']['includes'](_0x374e68)?'us-east-1':_0x374e68['replace'](/fips-(dkr-|prod-)?|-fips/,''):_0x374e68,_0x2b3ffe=_0x128841=>{const {region:_0x3b8698,useFipsEndpoint:_0x2e2078}=_0x128841;if(!_0x3b8698)throw new Error('Region\x20is\x20missing');return Object['assign'](_0x128841,{'region':async()=>{if('string'==typeof _0x3b8698)return getRealRegion(_0x3b8698);const _0x4e3e9d=await _0x3b8698();return getRealRegion(_0x4e3e9d);},'useFipsEndpoint':async()=>{const _0x3d0c41='string'==typeof _0x3b8698?_0x3b8698:await _0x3b8698();return!!_0x12de79(_0x3d0c41)||('function'!=typeof _0x2e2078?Promise['resolve'](!!_0x2e2078):_0x2e2078());}});},resolveEventStreamSerdeConfig=_0x2d2125=>Object['assign'](_0x2d2125,{'eventStreamMarshaller':_0x2d2125['eventStreamSerdeProvider'](_0x2d2125)}),_0x5880db='content-length';function contentLengthMiddleware(_0xec2946){return _0x4b301d=>async _0x1ff2a8=>{const _0x5e4914=_0x1ff2a8['request'];if(HttpRequest['isInstance'](_0x5e4914)){const {body:_0x103233,headers:_0xc3aeea}=_0x5e4914;if(_0x103233&&-0x1===Object['keys'](_0xc3aeea)['map'](_0x3677c5=>_0x3677c5['toLowerCase']())['indexOf'](_0x5880db))try{const _0x206424=_0xec2946(_0x103233);_0x5e4914['headers']={..._0x5e4914['headers'],[_0x5880db]:String(_0x206424)};}catch(_0x4f2bfb){}}return _0x4b301d({..._0x1ff2a8,'request':_0x5e4914});};}const contentLengthMiddlewareOptions={'step':'build','tags':['SET_CONTENT_LENGTH','CONTENT_LENGTH'],'name':'contentLengthMiddleware','override':!0x0},getContentLengthPlugin=_0x4b0dfe=>({'applyToStack':_0x3f092c=>{_0x3f092c['add'](contentLengthMiddleware(_0x4b0dfe['bodyLengthChecker']),contentLengthMiddlewareOptions);}}),_0x5afa51=async _0xf6627d=>{const _0x282625=_0xf6627d?.['Bucket']||'';if('string'==typeof _0xf6627d['Bucket']&&(_0xf6627d['Bucket']=_0x282625['replace'](/#/g,encodeURIComponent('#'))['replace'](/\?/g,encodeURIComponent('?'))),isArnBucketName(_0x282625)){if(!0x0===_0xf6627d['ForcePathStyle'])throw new Error('Path-style\x20addressing\x20cannot\x20be\x20used\x20with\x20ARN\x20buckets');}else(!isDnsCompatibleBucketName(_0x282625)||-0x1!==_0x282625['indexOf']('.')&&!String(_0xf6627d['Endpoint'])['startsWith']('http:')||_0x282625['toLowerCase']()!==_0x282625||_0x282625['length']<0x3)&&(_0xf6627d['ForcePathStyle']=!0x0);return _0xf6627d['DisableMultiRegionAccessPoints']&&(_0xf6627d['disableMultiRegionAccessPoints']=!0x0,_0xf6627d['DisableMRAP']=!0x0),_0xf6627d;},_0x1f9979=/^[a-z0-9][a-z0-9\.\-]{1,61}[a-z0-9]$/,_0x23945f=/(\d+\.){3}\d+/,_0x2fd9a8=/\.\./,isDnsCompatibleBucketName=_0x548738=>_0x1f9979['test'](_0x548738)&&!_0x23945f['test'](_0x548738)&&!_0x2fd9a8['test'](_0x548738),isArnBucketName=_0x50c304=>{const [_0x5adc3c,_0x2f5952,_0x5e0bb0,,,_0x44ff77]=_0x50c304['split'](':'),_0x3a37cf='arn'===_0x5adc3c&&_0x50c304['split'](':')['length']>=0x6,_0x352660=Boolean(_0x3a37cf&&_0x2f5952&&_0x5e0bb0&&_0x44ff77);if(_0x3a37cf&&!_0x352660)throw new Error('Invalid\x20ARN:\x20'+_0x50c304+'\x20was\x20an\x20invalid\x20ARN.');return _0x352660;},createConfigValueProvider=(_0x78ddc3,_0xa7c687,_0xb426bd)=>{const _0x16784d=async()=>{const _0x3af0db=_0xb426bd[_0x78ddc3]??_0xb426bd[_0xa7c687];return'function'==typeof _0x3af0db?_0x3af0db():_0x3af0db;};return'credentialScope'===_0x78ddc3||'CredentialScope'===_0xa7c687?async()=>{const _0x2d14e0='function'==typeof _0xb426bd['credentials']?await _0xb426bd['credentials']():_0xb426bd['credentials'];return _0x2d14e0?.['credentialScope']??_0x2d14e0?.['CredentialScope'];}:'accountId'===_0x78ddc3||'AccountId'===_0xa7c687?async()=>{const _0x2eb708='function'==typeof _0xb426bd['credentials']?await _0xb426bd['credentials']():_0xb426bd['credentials'];return _0x2eb708?.['accountId']??_0x2eb708?.['AccountId'];}:'endpoint'===_0x78ddc3||'endpoint'===_0xa7c687?async()=>{if(!0x1===_0xb426bd['isCustomEndpoint'])return;const _0xed2a9b=await _0x16784d();if(_0xed2a9b&&'object'==typeof _0xed2a9b){if('url'in _0xed2a9b)return _0xed2a9b['url']['href'];if('hostname'in _0xed2a9b){const {protocol:_0x2d463e,hostname:_0x979e9c,port:_0x15153c,path:_0x18545b}=_0xed2a9b;return _0x2d463e+'//'+_0x979e9c+(_0x15153c?':'+_0x15153c:'')+_0x18545b;}}return _0xed2a9b;}:_0x16784d;},getEndpointFromConfig=async _0x5b7fe1=>{};function parseQueryString(_0x2f429d){const _0x3259ae={};if(_0x2f429d=_0x2f429d['replace'](/^\?/,''))for(const _0x5c454b of _0x2f429d['split']('&')){let [_0x56620c,_0x3469b6=null]=_0x5c454b['split']('=');_0x56620c=decodeURIComponent(_0x56620c),_0x3469b6&&(_0x3469b6=decodeURIComponent(_0x3469b6)),_0x56620c in _0x3259ae?Array['isArray'](_0x3259ae[_0x56620c])?_0x3259ae[_0x56620c]['push'](_0x3469b6):_0x3259ae[_0x56620c]=[_0x3259ae[_0x56620c],_0x3469b6]:_0x3259ae[_0x56620c]=_0x3469b6;}return _0x3259ae;}const _0x44bd35=_0x4a01ab=>{if('string'==typeof _0x4a01ab)return _0x44bd35(new URL(_0x4a01ab));const {hostname:_0x5473e1,pathname:_0x4b7005,port:_0xe96906,protocol:_0x68cccc,search:_0x19a351}=_0x4a01ab;let _0x32eff0;return _0x19a351&&(_0x32eff0=parseQueryString(_0x19a351)),{'hostname':_0x5473e1,'port':_0xe96906?parseInt(_0xe96906):void 0x0,'protocol':_0x68cccc,'path':_0x4b7005,'query':_0x32eff0};},toEndpointV1=_0x3fe5b9=>'object'==typeof _0x3fe5b9?'url'in _0x3fe5b9?_0x44bd35(_0x3fe5b9['url']):_0x3fe5b9:_0x44bd35(_0x3fe5b9),getEndpointFromInstructions=async(_0x313c59,_0xda7d8e,_0xfd7db1,_0xf9e8db)=>{if(!_0xfd7db1['isCustomEndpoint']){let _0x4485d3;_0x4485d3=_0xfd7db1['serviceConfiguredEndpoint']?await _0xfd7db1['serviceConfiguredEndpoint']():await getEndpointFromConfig(_0xfd7db1['serviceId']),_0x4485d3&&(_0xfd7db1['endpoint']=()=>Promise['resolve'](toEndpointV1(_0x4485d3)),_0xfd7db1['isCustomEndpoint']=!0x0);}const _0x2223e1=await _0x37e6fe(_0x313c59,_0xda7d8e,_0xfd7db1);if('function'!=typeof _0xfd7db1['endpointProvider'])throw new Error('config.endpointProvider\x20is\x20not\x20set.');return _0xfd7db1['endpointProvider'](_0x2223e1,_0xf9e8db);},_0x37e6fe=async(_0x7ca07c,_0x156f81,_0x1a8d0b)=>{const _0x30d9dc={},_0x4511f1=_0x156f81?.['getEndpointParameterInstructions']?.()||{};for(const [_0x127446,_0xa1f207]of Object['entries'](_0x4511f1))switch(_0xa1f207['type']){case'staticContextParams':_0x30d9dc[_0x127446]=_0xa1f207['value'];break;case'contextParams':_0x30d9dc[_0x127446]=_0x7ca07c[_0xa1f207['name']];break;case'clientContextParams':case'builtInParams':_0x30d9dc[_0x127446]=await createConfigValueProvider(_0xa1f207['name'],_0x127446,_0x1a8d0b)();break;case'operationContextParams':_0x30d9dc[_0x127446]=_0xa1f207['get'](_0x7ca07c);break;default:throw new Error('Unrecognized\x20endpoint\x20parameter\x20instruction:\x20'+JSON['stringify'](_0xa1f207));}return 0x0===Object['keys'](_0x4511f1)['length']&&Object['assign'](_0x30d9dc,_0x1a8d0b),'s3'===String(_0x1a8d0b['serviceId'])['toLowerCase']()&&await _0x5afa51(_0x30d9dc),_0x30d9dc;},endpointMiddleware=({config:_0x28bd30,instructions:_0xc8d31e})=>(_0x122d4f,_0x46477e)=>async _0x379458=>{_0x28bd30['isCustomEndpoint']&&setFeature$1(_0x46477e,'ENDPOINT_OVERRIDE','N');const _0x43272e=await getEndpointFromInstructions(_0x379458['input'],{'getEndpointParameterInstructions':()=>_0xc8d31e},{..._0x28bd30},_0x46477e);_0x46477e['endpointV2']=_0x43272e,_0x46477e['authSchemes']=_0x43272e['properties']?.['authSchemes'];const _0x495918=_0x46477e['authSchemes']?.[0x0];if(_0x495918){_0x46477e['signing_region']=_0x495918['signingRegion'],_0x46477e['signing_service']=_0x495918['signingName'];const _0x21520d=getSmithyContext(_0x46477e),_0x507f53=_0x21520d?.['selectedHttpAuthScheme']?.['httpAuthOption'];_0x507f53&&(_0x507f53['signingProperties']=Object['assign'](_0x507f53['signingProperties']||{},{'signing_region':_0x495918['signingRegion'],'signingRegion':_0x495918['signingRegion'],'signing_service':_0x495918['signingName'],'signingName':_0x495918['signingName'],'signingRegionSet':_0x495918['signingRegionSet']},_0x495918['properties']));}return _0x122d4f({..._0x379458});},endpointMiddlewareOptions={'step':'serialize','tags':['ENDPOINT_PARAMETERS','ENDPOINT_V2','ENDPOINT'],'name':'endpointV2Middleware','override':!0x0,'relation':'before','toMiddleware':serializerMiddlewareOption['name']},getEndpointPlugin=(_0x56f1cc,_0x28ffd4)=>({'applyToStack':_0x5a05cc=>{_0x5a05cc['addRelativeTo'](endpointMiddleware({'config':_0x56f1cc,'instructions':_0x28ffd4}),endpointMiddlewareOptions);}}),resolveEndpointConfig=_0x5027bd=>{const _0x2d845b=_0x5027bd['tls']??!0x0,{endpoint:_0x78d82a,useDualstackEndpoint:_0x45c3f5,useFipsEndpoint:_0x55d51e}=_0x5027bd,_0x397749=null!=_0x78d82a?async()=>toEndpointV1(await _0x5b0699(_0x78d82a)()):void 0x0,_0xcb37d5=!!_0x78d82a,_0x53cb18=Object['assign'](_0x5027bd,{'endpoint':_0x397749,'tls':_0x2d845b,'isCustomEndpoint':_0xcb37d5,'useDualstackEndpoint':_0x5b0699(_0x45c3f5??!0x1),'useFipsEndpoint':_0x5b0699(_0x55d51e??!0x1)});let _0x637b6e;return _0x53cb18['serviceConfiguredEndpoint']=async()=>(_0x5027bd['serviceId']&&!_0x637b6e&&(_0x637b6e=getEndpointFromConfig(_0x5027bd['serviceId'])),_0x637b6e),_0x53cb18;};var _0xfb62a;!function(_0x4418db){_0x4418db['STANDARD']='standard',_0x4418db['ADAPTIVE']='adaptive';}(_0xfb62a||(_0xfb62a={}));const _0x124a07=0x3,_0x35d5ca=_0xfb62a['STANDARD'],_0x5ac4f0=['BandwidthLimitExceeded','EC2ThrottledException','LimitExceededException','PriorRequestNotComplete','ProvisionedThroughputExceededException','RequestLimitExceeded','RequestThrottled','RequestThrottledException','SlowDown','ThrottledException','Throttling','ThrottlingException','TooManyRequestsException','TransactionInProgressException'],_0x3532d0=['TimeoutError','RequestTimeout','RequestTimeoutException'],_0x2caee4=[0x1f4,0x1f6,0x1f7,0x1f8],_0x5a3b55=['ECONNRESET','ECONNREFUSED','EPIPE','ETIMEDOUT'],_0x86e38d=['EHOSTUNREACH','ENETUNREACH','ENOTFOUND'],isClockSkewCorrectedError=_0x7ad9f1=>_0x7ad9f1['$metadata']?.['clockSkewCorrected'],isBrowserNetworkError=_0x58e896=>{const _0xd8a39b=new Set(['Failed\x20to\x20fetch','NetworkError\x20when\x20attempting\x20to\x20fetch\x20resource','The\x20Internet\x20connection\x20appears\x20to\x20be\x20offline','Load\x20failed','Network\x20request\x20failed']);return!!(_0x58e896&&_0x58e896 instanceof TypeError)&&_0xd8a39b['has'](_0x58e896['message']);},isThrottlingError=_0x395a52=>0x1ad===_0x395a52['$metadata']?.['httpStatusCode']||_0x5ac4f0['includes'](_0x395a52['name'])||0x1==_0x395a52['$retryable']?.['throttling'],isTransientError=(_0x106546,_0x5dc194=0x0)=>isClockSkewCorrectedError(_0x106546)||_0x3532d0['includes'](_0x106546['name'])||_0x5a3b55['includes'](_0x106546?.['code']||'')||_0x86e38d['includes'](_0x106546?.['code']||'')||_0x2caee4['includes'](_0x106546['$metadata']?.['httpStatusCode']||0x0)||isBrowserNetworkError(_0x106546)||void 0x0!==_0x106546['cause']&&_0x5dc194<=0xa&&isTransientError(_0x106546['cause'],_0x5dc194+0x1),_0x367887=_0x44bf92=>{if(void 0x0!==_0x44bf92['$metadata']?.['httpStatusCode']){const _0x18d783=_0x44bf92['$metadata']['httpStatusCode'];return 0x1f4<=_0x18d783&&_0x18d783<=0x257&&!isTransientError(_0x44bf92);}return!0x1;};class DefaultRateLimiter{constructor(_0x3b8205){this['currentCapacity']=0x0,this['enabled']=!0x1,this['lastMaxRate']=0x0,this['measuredTxRate']=0x0,this['requestCount']=0x0,this['lastTimestamp']=0x0,this['timeWindow']=0x0,this['beta']=_0x3b8205?.['beta']??0.7,this['minCapacity']=_0x3b8205?.['minCapacity']??0x1,this['minFillRate']=_0x3b8205?.['minFillRate']??0.5,this['scaleConstant']=_0x3b8205?.['scaleConstant']??0.4,this['smooth']=_0x3b8205?.['smooth']??0.8;const _0x14ad71=this['getCurrentTimeInSeconds']();this['lastThrottleTime']=_0x14ad71,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'](_0x3e2e94){if(this['enabled']){if(this['refillTokenBucket'](),_0x3e2e94>this['currentCapacity']){const _0xd05c5=(_0x3e2e94-this['currentCapacity'])/this['fillRate']*0x3e8;await new Promise(_0x2fb94e=>DefaultRateLimiter['setTimeoutFn'](_0x2fb94e,_0xd05c5));}this['currentCapacity']=this['currentCapacity']-_0x3e2e94;}}['refillTokenBucket'](){const _0x571aca=this['getCurrentTimeInSeconds']();if(!this['lastTimestamp'])return void(this['lastTimestamp']=_0x571aca);const _0x5ee6a4=(_0x571aca-this['lastTimestamp'])*this['fillRate'];this['currentCapacity']=Math['min'](this['maxCapacity'],this['currentCapacity']+_0x5ee6a4),this['lastTimestamp']=_0x571aca;}['updateClientSendingRate'](_0x971241){let _0x556390;if(this['updateMeasuredRate'](),isThrottlingError(_0x971241)){const _0x1be2dc=this['enabled']?Math['min'](this['measuredTxRate'],this['fillRate']):this['measuredTxRate'];this['lastMaxRate']=_0x1be2dc,this['calculateTimeWindow'](),this['lastThrottleTime']=this['getCurrentTimeInSeconds'](),_0x556390=this['cubicThrottle'](_0x1be2dc),this['enableTokenBucket']();}else this['calculateTimeWindow'](),_0x556390=this['cubicSuccess'](this['getCurrentTimeInSeconds']());const _0x414feb=Math['min'](_0x556390,0x2*this['measuredTxRate']);this['updateTokenBucketRate'](_0x414feb);}['calculateTimeWindow'](){this['timeWindow']=this['getPrecise'](Math['pow'](this['lastMaxRate']*(0x1-this['beta'])/this['scaleConstant'],0x1/0x3));}['cubicThrottle'](_0x12194f){return this['getPrecise'](_0x12194f*this['beta']);}['cubicSuccess'](_0x23945c){return this['getPrecise'](this['scaleConstant']*Math['pow'](_0x23945c-this['lastThrottleTime']-this['timeWindow'],0x3)+this['lastMaxRate']);}['enableTokenBucket'](){this['enabled']=!0x0;}['updateTokenBucketRate'](_0x1f0efe){this['refillTokenBucket'](),this['fillRate']=Math['max'](_0x1f0efe,this['minFillRate']),this['maxCapacity']=Math['max'](_0x1f0efe,this['minCapacity']),this['currentCapacity']=Math['min'](this['currentCapacity'],this['maxCapacity']);}['updateMeasuredRate'](){const t=this['getCurrentTimeInSeconds'](),_0x363a1d=Math['floor'](0x2*t)/0x2;if(this['requestCount']++,_0x363a1d>this['lastTxRateBucket']){const _0x156c61=this['requestCount']/(_0x363a1d-this['lastTxRateBucket']);this['measuredTxRate']=this['getPrecise'](_0x156c61*this['smooth']+this['measuredTxRate']*(0x1-this['smooth'])),this['requestCount']=0x0,this['lastTxRateBucket']=_0x363a1d;}}['getPrecise'](_0x9d2806){return parseFloat(_0x9d2806['toFixed'](0x8));}}DefaultRateLimiter['setTimeoutFn']=setTimeout;const _0x3090b1=0x64,_0x47372e=0x4e20,_0x201381=0x1f4,_0x51d8c8=0x1f4,_0x446cce=0x5,_0x1f4fd1=0xa,_0x344005=0x1,_0xf2f72='amz-sdk-invocation-id',_0x68ae40='amz-sdk-request',getDefaultRetryBackoffStrategy=()=>{let _0x574fc8=_0x3090b1;return{'computeNextBackoffDelay':_0x2a8362=>Math['floor'](Math['min'](_0x47372e,Math['random']()*0x2**_0x2a8362*_0x574fc8)),'setDelayBase':_0x5129e1=>{_0x574fc8=_0x5129e1;}};},createDefaultRetryToken=({retryDelay:_0x367416,retryCount:_0x32cf71,retryCost:_0x3bee1b})=>({'getRetryCount':()=>_0x32cf71,'getRetryDelay':()=>Math['min'](_0x47372e,_0x367416),'getRetryCost':()=>_0x3bee1b});class StandardRetryStrategy{constructor(_0x1b42fb){this['maxAttempts']=_0x1b42fb,this['mode']=_0xfb62a['STANDARD'],this['capacity']=_0x51d8c8,this['retryBackoffStrategy']=getDefaultRetryBackoffStrategy(),this['maxAttemptsProvider']='function'==typeof _0x1b42fb?_0x1b42fb:async()=>_0x1b42fb;}async['acquireInitialRetryToken'](_0x3ad442){return createDefaultRetryToken({'retryDelay':_0x3090b1,'retryCount':0x0});}async['refreshRetryTokenForRetry'](_0x62ec34,_0x5aa6d0){const _0x315a54=await this['getMaxAttempts']();if(this['shouldRetry'](_0x62ec34,_0x5aa6d0,_0x315a54)){const _0x59f8fe=_0x5aa6d0['errorType'];this['retryBackoffStrategy']['setDelayBase']('THROTTLING'===_0x59f8fe?_0x201381:_0x3090b1);const _0x30c5c7=this['retryBackoffStrategy']['computeNextBackoffDelay'](_0x62ec34['getRetryCount']()),_0xab9c20=_0x5aa6d0['retryAfterHint']?Math['max'](_0x5aa6d0['retryAfterHint']['getTime']()-Date['now']()||0x0,_0x30c5c7):_0x30c5c7,_0x49cc50=this['getCapacityCost'](_0x59f8fe);return this['capacity']-=_0x49cc50,createDefaultRetryToken({'retryDelay':_0xab9c20,'retryCount':_0x62ec34['getRetryCount']()+0x1,'retryCost':_0x49cc50});}throw new Error('No\x20retry\x20token\x20available');}['recordSuccess'](_0x299ce3){this['capacity']=Math['max'](_0x51d8c8,this['capacity']+(_0x299ce3['getRetryCost']()??_0x344005));}['getCapacity'](){return this['capacity'];}async['getMaxAttempts'](){try{return await this['maxAttemptsProvider']();}catch(_0x3cc214){return console['warn']('Max\x20attempts\x20provider\x20could\x20not\x20resolve.\x20Using\x20default\x20of\x20'+_0x124a07),_0x124a07;}}['shouldRetry'](_0x560b15,_0x2f39de,_0x37e767){return _0x560b15['getRetryCount']()+0x1<_0x37e767&&this['capacity']>=this['getCapacityCost'](_0x2f39de['errorType'])&&this['isRetryableError'](_0x2f39de['errorType']);}['getCapacityCost'](_0x783f5f){return'TRANSIENT'===_0x783f5f?_0x1f4fd1:_0x446cce;}['isRetryableError'](_0x282c41){return'THROTTLING'===_0x282c41||'TRANSIENT'===_0x282c41;}}class AdaptiveRetryStrategy{constructor(_0x3a3ec7,_0x22ff9f){this['maxAttemptsProvider']=_0x3a3ec7,this['mode']=_0xfb62a['ADAPTIVE'];const {rateLimiter:_0x559029}=_0x22ff9f??{};this['rateLimiter']=_0x559029??new DefaultRateLimiter(),this['standardRetryStrategy']=new StandardRetryStrategy(_0x3a3ec7);}async['acquireInitialRetryToken'](_0x3545ff){return await this['rateLimiter']['getSendToken'](),this['standardRetryStrategy']['acquireInitialRetryToken'](_0x3545ff);}async['refreshRetryTokenForRetry'](_0x554b54,_0x30acf8){return this['rateLimiter']['updateClientSendingRate'](_0x30acf8),this['standardRetryStrategy']['refreshRetryTokenForRetry'](_0x554b54,_0x30acf8);}['recordSuccess'](_0x4dc18f){this['rateLimiter']['updateClientSendingRate']({}),this['standardRetryStrategy']['recordSuccess'](_0x4dc18f);}}const _0x3d7627=_0x37314b=>_0x37314b instanceof Error?_0x37314b:_0x37314b instanceof Object?Object['assign'](new Error(),_0x37314b):'string'==typeof _0x37314b?new Error(_0x37314b):new Error('AWS\x20SDK\x20error\x20wrapper\x20for\x20'+_0x37314b),resolveRetryConfig=_0x447529=>{const {retryStrategy:_0xd41b80,retryMode:_0x2855b5,maxAttempts:_0x2e2170}=_0x447529,_0x4fc97c=_0x5b0699(_0x2e2170??_0x124a07);return Object['assign'](_0x447529,{'maxAttempts':_0x4fc97c,'retryStrategy':async()=>{if(_0xd41b80)return _0xd41b80;return await _0x5b0699(_0x2855b5)()===_0xfb62a['ADAPTIVE']?new AdaptiveRetryStrategy(_0x4fc97c):new StandardRetryStrategy(_0x4fc97c);}});},isStreamingPayload=_0x46a673=>_0x46a673?.['body']instanceof ReadableStream,retryMiddleware=_0x3f262c=>(_0x43d911,_0xf5a61e)=>async _0x23bc4f=>{let _0x31471b=await _0x3f262c['retryStrategy']();const _0x2a1ab2=await _0x3f262c['maxAttempts']();if(!isRetryStrategyV2(_0x31471b))return _0x31471b?.['mode']&&(_0xf5a61e['userAgent']=[..._0xf5a61e['userAgent']||[],['cfg/retry-mode',_0x31471b['mode']]]),_0x31471b['retry'](_0x43d911,_0x23bc4f);{let _0x2c8481=await _0x31471b['acquireInitialRetryToken'](_0xf5a61e['partition_id']),_0x3f7866=new Error(),_0xe35fef=0x0,_0x13aa3b=0x0;const {request:_0x2835cb}=_0x23bc4f,_0x533367=HttpRequest['isInstance'](_0x2835cb);for(_0x533367&&(_0x2835cb['headers'][_0xf2f72]=_0x141be2());;)try{_0x533367&&(_0x2835cb['headers'][_0x68ae40]='attempt='+(_0xe35fef+0x1)+';\x20max='+_0x2a1ab2);const {response:_0x5d56d7,output:_0x47b6c3}=await _0x43d911(_0x23bc4f);return _0x31471b['recordSuccess'](_0x2c8481),_0x47b6c3['$metadata']['attempts']=_0xe35fef+0x1,_0x47b6c3['$metadata']['totalRetryDelay']=_0x13aa3b,{'response':_0x5d56d7,'output':_0x47b6c3};}catch(_0xa6751d){const _0x4e2be3=getRetryErrorInfo(_0xa6751d);if(_0x3f7866=_0x3d7627(_0xa6751d),_0x533367&&isStreamingPayload(_0x2835cb))throw(_0xf5a61e['logger']instanceof _0x4aafce?console:_0xf5a61e['logger'])?.['warn']('An\x20error\x20was\x20encountered\x20in\x20a\x20non-retryable\x20streaming\x20request.'),_0x3f7866;try{_0x2c8481=await _0x31471b['refreshRetryTokenForRetry'](_0x2c8481,_0x4e2be3);}catch(_0x22d225){throw _0x3f7866['$metadata']||(_0x3f7866['$metadata']={}),_0x3f7866['$metadata']['attempts']=_0xe35fef+0x1,_0x3f7866['$metadata']['totalRetryDelay']=_0x13aa3b,_0x3f7866;}_0xe35fef=_0x2c8481['getRetryCount']();const _0xec3ac5=_0x2c8481['getRetryDelay']();_0x13aa3b+=_0xec3ac5,await new Promise(_0x3792d8=>setTimeout(_0x3792d8,_0xec3ac5));}}},isRetryStrategyV2=_0xccd259=>void 0x0!==_0xccd259['acquireInitialRetryToken']&&void 0x0!==_0xccd259['refreshRetryTokenForRetry']&&void 0x0!==_0xccd259['recordSuccess'],getRetryErrorInfo=_0x4630e1=>{const _0x209539={'error':_0x4630e1,'errorType':getRetryErrorType(_0x4630e1)},_0x39f227=getRetryAfterHint(_0x4630e1['$response']);return _0x39f227&&(_0x209539['retryAfterHint']=_0x39f227),_0x209539;},getRetryErrorType=_0x4992b7=>isThrottlingError(_0x4992b7)?'THROTTLING':isTransientError(_0x4992b7)?'TRANSIENT':_0x367887(_0x4992b7)?'SERVER_ERROR':'CLIENT_ERROR',retryMiddlewareOptions={'name':'retryMiddleware','tags':['RETRY'],'step':'finalizeRequest','priority':'high','override':!0x0},getRetryPlugin=_0x564971=>({'applyToStack':_0x28381d=>{_0x28381d['add'](retryMiddleware(_0x564971),retryMiddlewareOptions);}}),getRetryAfterHint=_0x5db431=>{if(!HttpResponse['isInstance'](_0x5db431))return;const _0x27d687=Object['keys'](_0x5db431['headers'])['find'](_0xb54eab=>'retry-after'===_0xb54eab['toLowerCase']());if(!_0x27d687)return;const _0x188be0=_0x5db431['headers'][_0x27d687],_0x70da48=Number(_0x188be0);if(!Number['isNaN'](_0x70da48))return new Date(0x3e8*_0x70da48);return new Date(_0x188be0);},defaultBedrockRuntimeHttpAuthSchemeParametersProvider=async(_0x595c3a,_0xbdfb0b,_0x2ccce9)=>({'operation':getSmithyContext(_0xbdfb0b)['operation'],'region':await _0x5b0699(_0x595c3a['region'])()||((()=>{throw new Error('expected\x20`region`\x20to\x20be\x20configured\x20for\x20`aws.auth#sigv4`');})())});function createAwsAuthSigv4HttpAuthOption(_0x174b7f){return{'schemeId':'aws.auth#sigv4','signingProperties':{'name':'bedrock','region':_0x174b7f['region']},'propertiesExtractor':(_0x2f2ac7,_0x33e1b7)=>({'signingProperties':{'config':_0x2f2ac7,'context':_0x33e1b7}})};}const defaultBedrockRuntimeHttpAuthSchemeProvider=_0x42ca02=>{const _0x25b72c=[];return _0x42ca02['operation'],_0x25b72c['push'](createAwsAuthSigv4HttpAuthOption(_0x42ca02)),_0x25b72c;},resolveHttpAuthSchemeConfig=_0x362f01=>{const _0x35991c=_0x1bd0e2(_0x362f01);return Object['assign'](_0x35991c,{'authSchemePreference':_0x5b0699(_0x362f01['authSchemePreference']??[])});},resolveClientEndpointParameters=_0xec6136=>Object['assign'](_0xec6136,{'useDualstackEndpoint':_0xec6136['useDualstackEndpoint']??!0x1,'useFipsEndpoint':_0xec6136['useFipsEndpoint']??!0x1,'defaultSigningName':'bedrock'}),_0x40e853={'UseFIPS':{'type':'builtInParams','name':'useFipsEndpoint'},'Endpoint':{'type':'builtInParams','name':'endpoint'},'Region':{'type':'builtInParams','name':'region'},'UseDualStack':{'type':'builtInParams','name':'useDualstackEndpoint'}};var _0x3fa9fe='3.823.0',_0x274383={'version':_0x3fa9fe};const fromUtf8$1=_0x79444e=>new TextEncoder()['encode'](_0x79444e);var fromUtf8='undefined'!=typeof Buffer&&Buffer['from']?function(_0x47bf0d){return Buffer['from'](_0x47bf0d,'utf8');}:fromUtf8$1;function convertToBuffer(_0xc4102d){return _0xc4102d instanceof Uint8Array?_0xc4102d:'string'==typeof _0xc4102d?fromUtf8(_0xc4102d):ArrayBuffer['isView'](_0xc4102d)?new Uint8Array(_0xc4102d['buffer'],_0xc4102d['byteOffset'],_0xc4102d['byteLength']/Uint8Array['BYTES_PER_ELEMENT']):new Uint8Array(_0xc4102d);}function isEmptyData(_0x2de156){return'string'==typeof _0x2de156?0x0===_0x2de156['length']:0x0===_0x2de156['byteLength'];}function uint32ArrayFrom(_0x4898ea){if(!Uint32Array['from']){for(var _0x89a934=new Uint32Array(_0x4898ea['length']),_0x222865=0x0;_0x222865<_0x4898ea['length'];)_0x89a934[_0x222865]=_0x4898ea[_0x222865],_0x222865+=0x1;return _0x89a934;}return Uint32Array['from'](_0x4898ea);}var _0x18fe2e={'name':'SHA-256'},_0x49056e={'name':'HMAC','hash':_0x18fe2e},_0x442df6=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 _0x286405={};function locateWindow(){return'undefined'!=typeof window?window:'undefined'!=typeof self?self:_0x286405;}var _0x36891e=(function(){function _0x2f7d50(_0x1b7966){this['toHash']=new Uint8Array(0x0),this['secret']=_0x1b7966,this['reset']();}return _0x2f7d50['prototype']['update']=function(_0x723477){if(!isEmptyData(_0x723477)){var _0x3d7e1e=convertToBuffer(_0x723477),_0x34aeb1=new Uint8Array(this['toHash']['byteLength']+_0x3d7e1e['byteLength']);_0x34aeb1['set'](this['toHash'],0x0),_0x34aeb1['set'](_0x3d7e1e,this['toHash']['byteLength']),this['toHash']=_0x34aeb1;}},_0x2f7d50['prototype']['digest']=function(){var _0x473a2b=this;return this['key']?this['key']['then'](function(_0x2f58c4){return locateWindow()['crypto']['subtle']['sign'](_0x49056e,_0x2f58c4,_0x473a2b['toHash'])['then'](function(_0x53cf59){return new Uint8Array(_0x53cf59);});}):isEmptyData(this['toHash'])?Promise['resolve'](_0x442df6):Promise['resolve']()['then'](function(){return locateWindow()['crypto']['subtle']['digest'](_0x18fe2e,_0x473a2b['toHash']);})['then'](function(_0x1519ed){return Promise['resolve'](new Uint8Array(_0x1519ed));});},_0x2f7d50['prototype']['reset']=function(){var _0x485050=this;this['toHash']=new Uint8Array(0x0),this['secret']&&void 0x0!==this['secret']&&(this['key']=new Promise(function(_0x1c5055,_0x1e0357){locateWindow()['crypto']['subtle']['importKey']('raw',convertToBuffer(_0x485050['secret']),_0x49056e,!0x1,['sign'])['then'](_0x1c5055,_0x1e0357);}),this['key']['catch'](function(){}));},_0x2f7d50;}());function __awaiter(_0x70cfc0,_0x4718f7,_0x6ea51c,_0x3cd782){return new(_0x6ea51c||(_0x6ea51c=Promise))(function(_0x584d29,_0x269fb8){function _0x397986(_0x569691){try{_0x25c7c7(_0x3cd782['next'](_0x569691));}catch(_0x2ec532){_0x269fb8(_0x2ec532);}}function _0x20f017(_0x1718e4){try{_0x25c7c7(_0x3cd782['throw'](_0x1718e4));}catch(_0x306c71){_0x269fb8(_0x306c71);}}function _0x25c7c7(_0xa4d079){_0xa4d079['done']?_0x584d29(_0xa4d079['value']):function(_0x81f1cd){return _0x81f1cd instanceof _0x6ea51c?_0x81f1cd:new _0x6ea51c(function(_0x3b9a2e){_0x3b9a2e(_0x81f1cd);});}(_0xa4d079['value'])['then'](_0x397986,_0x20f017);}_0x25c7c7((_0x3cd782=_0x3cd782['apply'](_0x70cfc0,[]))['next']());});}function __generator(_0x4578a8,_0x56f04d){var _0x56b961,_0x39de91,t,_0x5f19da={'label':0x0,'sent':function(){if(0x1&t[0x0])throw t[0x1];return t[0x1];},'trys':[],'ops':[]},_0x4b28dc=Object['create'](('function'==typeof Iterator?Iterator:Object)['prototype']);return _0x4b28dc['next']=_0x3ca059(0x0),_0x4b28dc['throw']=_0x3ca059(0x1),_0x4b28dc['return']=_0x3ca059(0x2),'function'==typeof Symbol&&(_0x4b28dc[Symbol['iterator']]=function(){return this;}),_0x4b28dc;function _0x3ca059(_0x14e617){return function(_0x1276c7){return function(_0xf11051){if(_0x56b961)throw new TypeError('Generator\x20is\x20already\x20executing.');for(;_0x4b28dc&&(_0x4b28dc=0x0,_0xf11051[0x0]&&(_0x5f19da=0x0)),_0x5f19da;)try{if(_0x56b961=0x1,_0x39de91&&(t=0x2&_0xf11051[0x0]?_0x39de91['return']:_0xf11051[0x0]?_0x39de91['throw']||((t=_0x39de91['return'])&&t['call'](_0x39de91),0x0):_0x39de91['next'])&&!(t=t['call'](_0x39de91,_0xf11051[0x1]))['done'])return t;switch(_0x39de91=0x0,t&&(_0xf11051=[0x2&_0xf11051[0x0],t['value']]),_0xf11051[0x0]){case 0x0:case 0x1:t=_0xf11051;break;case 0x4:return _0x5f19da['label']++,{'value':_0xf11051[0x1],'done':!0x1};case 0x5:_0x5f19da['label']++,_0x39de91=_0xf11051[0x1],_0xf11051=[0x0];continue;case 0x7:_0xf11051=_0x5f19da['ops']['pop'](),_0x5f19da['trys']['pop']();continue;default:if(!(t=_0x5f19da['trys'],(t=t['length']>0x0&&t[t['length']-0x1])||0x6!==_0xf11051[0x0]&&0x2!==_0xf11051[0x0])){_0x5f19da=0x0;continue;}if(0x3===_0xf11051[0x0]&&(!t||_0xf11051[0x1]>t[0x0]&&_0xf11051[0x1]<t[0x3])){_0x5f19da['label']=_0xf11051[0x1];break;}if(0x6===_0xf11051[0x0]&&_0x5f19da['label']<t[0x1]){_0x5f19da['label']=t[0x1],t=_0xf11051;break;}if(t&&_0x5f19da['label']<t[0x2]){_0x5f19da['label']=t[0x2],_0x5f19da['ops']['push'](_0xf11051);break;}t[0x2]&&_0x5f19da['ops']['pop'](),_0x5f19da['trys']['pop']();continue;}_0xf11051=_0x56f04d['call'](_0x4578a8,_0x5f19da);}catch(_0x52f4df){_0xf11051=[0x6,_0x52f4df],_0x39de91=0x0;}finally{_0x56b961=t=0x0;}if(0x5&_0xf11051[0x0])throw _0xf11051[0x1];return{'value':_0xf11051[0x0]?_0xf11051[0x1]:void 0x0,'done':!0x0};}([_0x14e617,_0x1276c7]);};}}function _0x45d0b3(_0x37e3e8){var _0x48aaf9='function'==typeof Symbol&&Symbol['iterator'],_0x40c597=_0x48aaf9&&_0x37e3e8[_0x48aaf9],_0x247519=0x0;if(_0x40c597)return _0x40c597['call'](_0x37e3e8);if(_0x37e3e8&&'number'==typeof _0x37e3e8['length'])return{'next':function(){return _0x37e3e8&&_0x247519>=_0x37e3e8['length']&&(_0x37e3e8=void 0x0),{'value':_0x37e3e8&&_0x37e3e8[_0x247519++],'done':!_0x37e3e8};}};throw new TypeError(_0x48aaf9?'Object\x20is\x20not\x20iterable.':'Symbol.iterator\x20is\x20not\x20defined.');}'function'==typeof SuppressedError&&SuppressedError;var _0x2b6321=0x40,_0x30b981=0x20,_0x442cc3=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]),_0x123c9c=[0x6a09e667,0xbb67ae85,0x3c6ef372,0xa54ff53a,0x510e527f,0x9b05688c,0x1f83d9ab,0x5be0cd19],_0x27b0f2=Math['pow'](0x2,0x35)-0x1,_0xf6958d=(function(){function _0x1fe32c(){this['state']=Int32Array['from'](_0x123c9c),this['temp']=new Int32Array(0x40),this['buffer']=new Uint8Array(0x40),this['bufferLength']=0x0,this['bytesHashed']=0x0,this['finished']=!0x1;}return _0x1fe32c['prototype']['update']=function(_0x55780d){if(this['finished'])throw new Error('Attempted\x20to\x20update\x20an\x20already\x20finished\x20hash.');var _0x875006=0x0,_0x501e38=_0x55780d['byteLength'];if(this['bytesHashed']+=_0x501e38,0x8*this['bytesHashed']>_0x27b0f2)throw new Error('Cannot\x20hash\x20more\x20than\x202^53\x20-\x201\x20bits');for(;_0x501e38>0x0;)this['buffer'][this['bufferLength']++]=_0x55780d[_0x875006++],_0x501e38--,this['bufferLength']===_0x2b6321&&(this['hashBuffer'](),this['bufferLength']=0x0);},_0x1fe32c['prototype']['digest']=function(){if(!this['finished']){var _0x54198a=0x8*this['bytesHashed'],_0x19cd01=new DataView(this['buffer']['buffer'],this['buffer']['byteOffset'],this['buffer']['byteLength']),_0x3ad0dd=this['bufferLength'];if(_0x19cd01['setUint8'](this['bufferLength']++,0x80),_0x3ad0dd%_0x2b6321>=_0x2b6321-0x8){for(var _0x195271=this['bufferLength'];_0x195271<_0x2b6321;_0x195271++)_0x19cd01['setUint8'](_0x195271,0x0);this['hashBuffer'](),this['bufferLength']=0x0;}for(_0x195271=this['bufferLength'];_0x195271<_0x2b6321-0x8;_0x195271++)_0x19cd01['setUint8'](_0x195271,0x0);_0x19cd01['setUint32'](_0x2b6321-0x8,Math['floor'](_0x54198a/0x100000000),!0x0),_0x19cd01['setUint32'](_0x2b6321-0x4,_0x54198a),this['hashBuffer'](),this['finished']=!0x0;}var _0xa79228=new Uint8Array(_0x30b981);for(_0x195271=0x0;_0x195271<0x8;_0x195271++)_0xa79228[0x4*_0x195271]=this['state'][_0x195271]>>>0x18&0xff,_0xa79228[0x4*_0x195271+0x1]=this['state'][_0x195271]>>>0x10&0xff,_0xa79228[0x4*_0x195271+0x2]=this['state'][_0x195271]>>>0x8&0xff,_0xa79228[0x4*_0x195271+0x3]=this['state'][_0x195271]>>>0x0&0xff;return _0xa79228;},_0x1fe32c['prototype']['hashBuffer']=function(){for(var _0x107987=this['buffer'],_0x14aa49=this['state'],_0x22559f=_0x14aa49[0x0],_0x1c4fd7=_0x14aa49[0x1],_0x22e712=_0x14aa49[0x2],_0x75ee88=_0x14aa49[0x3],_0x3023b0=_0x14aa49[0x4],_0x4ea874=_0x14aa49[0x5],_0x289fca=_0x14aa49[0x6],_0x295c3b=_0x14aa49[0x7],_0x2cd087=0x0;_0x2cd087<_0x2b6321;_0x2cd087++){if(_0x2cd087<0x10)this['temp'][_0x2cd087]=(0xff&_0x107987[0x4*_0x2cd087])<<0x18|(0xff&_0x107987[0x4*_0x2cd087+0x1])<<0x10|(0xff&_0x107987[0x4*_0x2cd087+0x2])<<0x8|0xff&_0x107987[0x4*_0x2cd087+0x3];else{var _0x144cae=this['temp'][_0x2cd087-0x2],_0x266022=(_0x144cae>>>0x11|_0x144cae<<0xf)^(_0x144cae>>>0x13|_0x144cae<<0xd)^_0x144cae>>>0xa,_0x1431ac=((_0x144cae=this['temp'][_0x2cd087-0xf])>>>0x7|_0x144cae<<0x19)^(_0x144cae>>>0x12|_0x144cae<<0xe)^_0x144cae>>>0x3;this['temp'][_0x2cd087]=(_0x266022+this['temp'][_0x2cd087-0x7]|0x0)+(_0x1431ac+this['temp'][_0x2cd087-0x10]|0x0);}var _0x2f0bd5=(((_0x3023b0>>>0x6|_0x3023b0<<0x1a)^(_0x3023b0>>>0xb|_0x3023b0<<0x15)^(_0x3023b0>>>0x19|_0x3023b0<<0x7))+(_0x3023b0&_0x4ea874^~_0x3023b0&_0x289fca)|0x0)+(_0x295c3b+(_0x442cc3[_0x2cd087]+this['temp'][_0x2cd087]|0x0)|0x0)|0x0,_0x5ef2d4=((_0x22559f>>>0x2|_0x22559f<<0x1e)^(_0x22559f>>>0xd|_0x22559f<<0x13)^(_0x22559f>>>0x16|_0x22559f<<0xa))+(_0x22559f&_0x1c4fd7^_0x22559f&_0x22e712^_0x1c4fd7&_0x22e712)|0x0;_0x295c3b=_0x289fca,_0x289fca=_0x4ea874,_0x4ea874=_0x3023b0,_0x3023b0=_0x75ee88+_0x2f0bd5|0x0,_0x75ee88=_0x22e712,_0x22e712=_0x1c4fd7,_0x1c4fd7=_0x22559f,_0x22559f=_0x2f0bd5+_0x5ef2d4|0x0;}_0x14aa49[0x0]+=_0x22559f,_0x14aa49[0x1]+=_0x1c4fd7,_0x14aa49[0x2]+=_0x22e712,_0x14aa49[0x3]+=_0x75ee88,_0x14aa49[0x4]+=_0x3023b0,_0x14aa49[0x5]+=_0x4ea874,_0x14aa49[0x6]+=_0x289fca,_0x14aa49[0x7]+=_0x295c3b;},_0x1fe32c;}()),_0xa51f82=(function(){function _0x20c879(_0xe8ec6c){this['secret']=_0xe8ec6c,this['hash']=new _0xf6958d(),this['reset']();}return _0x20c879['prototype']['update']=function(_0x3ee687){if(!isEmptyData(_0x3ee687)&&!this['error'])try{this['hash']['update'](convertToBuffer(_0x3ee687));}catch(_0x187f29){this['error']=_0x187f29;}},_0x20c879['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']();},_0x20c879['prototype']['digest']=function(){return __awaiter(this,void 0x0,void 0x0,function(){return __generator(this,function(_0x3e45b9){return[0x2,this['digestSync']()];});});},_0x20c879['prototype']['reset']=function(){if(this['hash']=new _0xf6958d(),this['secret']){this['outer']=new _0xf6958d();var _0x126764=bufferFromSecret(this['secret']),_0x34916d=new Uint8Array(_0x2b6321);_0x34916d['set'](_0x126764);for(var _0x122a4a=0x0;_0x122a4a<_0x2b6321;_0x122a4a++)_0x126764[_0x122a4a]^=0x36,_0x34916d[_0x122a4a]^=0x5c;this['hash']['update'](_0x126764),this['outer']['update'](_0x34916d);for(_0x122a4a=0x0;_0x122a4a<_0x126764['byteLength'];_0x122a4a++)_0x126764[_0x122a4a]=0x0;}},_0x20c879;}());function bufferFromSecret(_0x52b9e5){var _0x314ca3=convertToBuffer(_0x52b9e5);if(_0x314ca3['byteLength']>_0x2b6321){var _0x2f5f80=new _0xf6958d();_0x2f5f80['update'](_0x314ca3),_0x314ca3=_0x2f5f80['digest']();}var _0x300434=new Uint8Array(_0x2b6321);return _0x300434['set'](_0x314ca3),_0x300434;}var subtleCryptoMethods=['decrypt','digest','encrypt','exportKey','generateKey','importKey','sign','verify'];function supportsWebCrypto(_0xf263ba){return!(!supportsSecureRandom(_0xf263ba)||'object'!=typeof _0xf263ba['crypto']['subtle'])&&supportsSubtleCrypto(_0xf263ba['crypto']['subtle']);}function supportsSecureRandom(_0x45a0a7){return'object'==typeof _0x45a0a7&&'object'==typeof _0x45a0a7['crypto']&&'function'==typeof _0x45a0a7['crypto']['getRandomValues'];}function supportsSubtleCrypto(_0x391df4){return _0x391df4&&subtleCryptoMethods['every'](function(_0x2d4f31){return'function'==typeof _0x391df4[_0x2d4f31];});}var _0x567642=(function(){function _0x47313f(_0x59300c){supportsWebCrypto(locateWindow())?this['hash']=new _0x36891e(_0x59300c):this['hash']=new _0xa51f82(_0x59300c);}return _0x47313f['prototype']['update']=function(_0x54b3d7,_0xb02baf){this['hash']['update'](convertToBuffer(_0x54b3d7));},_0x47313f['prototype']['digest']=function(){return this['hash']['digest']();},_0x47313f['prototype']['reset']=function(){this['hash']['reset']();},_0x47313f;}()),_0x6828b2={'exports':{}},_0x3c3d5b=_0x6828b2['exports'],_0x268b82;function requireEs5(){return _0x268b82||(_0x268b82=0x1,function(_0x426fc8){_0x426fc8['exports']=function(_0x46659d){var t={};function _0x4c2f2f(_0xa1c70b){if(t[_0xa1c70b])return t[_0xa1c70b]['exports'];var _0x2a0a59=t[_0xa1c70b]={'i':_0xa1c70b,'l':!0x1,'exports':{}};return _0x46659d[_0xa1c70b]['call'](_0x2a0a59['exports'],_0x2a0a59,_0x2a0a59['exports'],_0x4c2f2f),_0x2a0a59['l']=!0x0,_0x2a0a59['exports'];}return _0x4c2f2f['m']=_0x46659d,_0x4c2f2f['c']=t,_0x4c2f2f['d']=function(_0x2d7cce,t,_0x4108ee){_0x4c2f2f['o'](_0x2d7cce,t)||Object['defineProperty'](_0x2d7cce,t,{'enumerable':!0x0,'get':_0x4108ee});},_0x4c2f2f['r']=function(_0x56a9de){'undefined'!=typeof Symbol&&Symbol['toStringTag']&&Object['defineProperty'](_0x56a9de,Symbol['toStringTag'],{'value':'Module'}),Object['defineProperty'](_0x56a9de,'__esModule',{'value':!0x0});},_0x4c2f2f['t']=function(_0x530638,t){if(0x1&t&&(_0x530638=_0x4c2f2f(_0x530638)),0x8&t)return _0x530638;if(0x4&t&&'object'==typeof _0x530638&&_0x530638&&_0x530638['__esModule'])return _0x530638;var _0x3b8dbc=Object['create'](null);if(_0x4c2f2f['r'](_0x3b8dbc),Object['defineProperty'](_0x3b8dbc,'default',{'enumerable':!0x0,'value':_0x530638}),0x2&t&&'string'!=typeof _0x530638){for(var _0x333ca8 in _0x530638)_0x4c2f2f['d'](_0x3b8dbc,_0x333ca8,function(t){return _0x530638[t];}['bind'](null,_0x333ca8));}return _0x3b8dbc;},_0x4c2f2f['n']=function(_0x4fcba7){var t=_0x4fcba7&&_0x4fcba7['__esModule']?function(){return _0x4fcba7['default'];}:function(){return _0x4fcba7;};return _0x4c2f2f['d'](t,'a',t),t;},_0x4c2f2f['o']=function(_0x2d96c2,t){return Object['prototype']['hasOwnProperty']['call'](_0x2d96c2,t);},_0x4c2f2f['p']='',_0x4c2f2f(_0x4c2f2f['s']=0x5a);}({0x11:function(_0x54350d,t,_0x13915d){t['__esModule']=!0x0,t['default']=void 0x0;var _0x12e851=_0x13915d(0x12),_0x42d881=(function(){function _0x2d6160(){}return _0x2d6160['getFirstMatch']=function(_0x3e2104,t){var _0x17e14a=t['match'](_0x3e2104);return _0x17e14a&&_0x17e14a['length']>0x0&&_0x17e14a[0x1]||'';},_0x2d6160['getSecondMatch']=function(_0x453ac6,t){var _0x55a330=t['match'](_0x453ac6);return _0x55a330&&_0x55a330['length']>0x1&&_0x55a330[0x2]||'';},_0x2d6160['matchAndReturnConst']=function(_0x590238,t,_0x22e9f7){if(_0x590238['test'](t))return _0x22e9f7;},_0x2d6160['getWindowsVersionName']=function(_0xad1f41){switch(_0xad1f41){case'NT':return'NT';case'XP':case'NT\x205.1':return'XP';case'NT\x205.0':return'2000';case'NT\x205.2':return'2003';case'NT\x206.0':return'Vista';case'NT\x206.1':return'7';case'NT\x206.2':return'8';case'NT\x206.3':return'8.1';case'NT\x2010.0':return'10';default:return;}},_0x2d6160['getMacOSVersionName']=function(_0x19db4b){var t=_0x19db4b['split']('.')['splice'](0x0,0x2)['map'](function(_0x1fab95){return parseInt(_0x1fab95,0xa)||0x0;});if(t['push'](0x0),0xa===t[0x0])switch(t[0x1]){case 0x5:return'Leopard';case 0x6:return'Snow\x20Leopard';case 0x7:return'Lion';case 0x8:return'Mountain\x20Lion';case 0x9:return'Mavericks';case 0xa:return'Yosemite';case 0xb:return'El\x20Capitan';case 0xc:return'Sierra';case 0xd:return'High\x20Sierra';case 0xe:return'Mojave';case 0xf:return'Catalina';default:return;}},_0x2d6160['getAndroidVersionName']=function(_0x4219b5){var t=_0x4219b5['split']('.')['splice'](0x0,0x2)['map'](function(_0xb98f4a){return parseInt(_0xb98f4a,0xa)||0x0;});if(t['push'](0x0),!(0x1===t[0x0]&&t[0x1]<0x5))return 0x1===t[0x0]&&t[0x1]<0x6?'Cupcake':0x1===t[0x0]&&t[0x1]>=0x6?'Donut':0x2===t[0x0]&&t[0x1]<0x2?'Eclair':0x2===t[0x0]&&0x2===t[0x1]?'Froyo':0x2===t[0x0]&&t[0x1]>0x2?'Gingerbread':0x3===t[0x0]?'Honeycomb':0x4===t[0x0]&&t[0x1]<0x1?'Ice\x20Cream\x20Sandwich':0x4===t[0x0]&&t[0x1]<0x4?'Jelly\x20Bean':0x4===t[0x0]&&t[0x1]>=0x4?'KitKat':0x5===t[0x0]?'Lollipop':0x6===t[0x0]?'Marshmallow':0x7===t[0x0]?'Nougat':0x8===t[0x0]?'Oreo':0x9===t[0x0]?'Pie':void 0x0;},_0x2d6160['getVersionPrecision']=function(_0x81a486){return _0x81a486['split']('.')['length'];},_0x2d6160['compareVersions']=function(t,_0x591836,_0x3b94d1){void 0x0===_0x3b94d1&&(_0x3b94d1=!0x1);var _0x481562=_0x2d6160['getVersionPrecision'](t),_0x345a32=_0x2d6160['getVersionPrecision'](_0x591836),_0x2ac8c1=Math['max'](_0x481562,_0x345a32),_0x3e6c44=0x0,_0xc11889=_0x2d6160['map']([t,_0x591836],function(t){var _0x55cfed=_0x2ac8c1-_0x2d6160['getVersionPrecision'](t),_0x1a111d=t+new Array(_0x55cfed+0x1)['join']('.0');return _0x2d6160['map'](_0x1a111d['split']('.'),function(_0x5ed1c3){return new Array(0x14-_0x5ed1c3['length'])['join']('0')+_0x5ed1c3;})['reverse']();});for(_0x3b94d1&&(_0x3e6c44=_0x2ac8c1-Math['min'](_0x481562,_0x345a32)),_0x2ac8c1-=0x1;_0x2ac8c1>=_0x3e6c44;){if(_0xc11889[0x0][_0x2ac8c1]>_0xc11889[0x1][_0x2ac8c1])return 0x1;if(_0xc11889[0x0][_0x2ac8c1]===_0xc11889[0x1][_0x2ac8c1]){if(_0x2ac8c1===_0x3e6c44)return 0x0;_0x2ac8c1-=0x1;}else{if(_0xc11889[0x0][_0x2ac8c1]<_0xc11889[0x1][_0x2ac8c1])return-0x1;}}},_0x2d6160['map']=function(_0x515a76,t){var _0x5b7cc7,_0x370fe7=[];if(Array['prototype']['map'])return Array['prototype']['map']['call'](_0x515a76,t);for(_0x5b7cc7=0x0;_0x5b7cc7<_0x515a76['length'];_0x5b7cc7+=0x1)_0x370fe7['push'](t(_0x515a76[_0x5b7cc7]));return _0x370fe7;},_0x2d6160['find']=function(_0x57e225,t){var _0x9b8a3b,_0x2d5fa7;if(Array['prototype']['find'])return Array['prototype']['find']['call'](_0x57e225,t);for(_0x9b8a3b=0x0,_0x2d5fa7=_0x57e225['length'];_0x9b8a3b<_0x2d5fa7;_0x9b8a3b+=0x1){var _0xb41f3f=_0x57e225[_0x9b8a3b];if(t(_0xb41f3f,_0x9b8a3b))return _0xb41f3f;}},_0x2d6160['assign']=function(_0x2bb1f7){for(var t,_0x4c3651,_0x34ae68=_0x2bb1f7,_0x2efb64=arguments['length'],_0x575c1e=new Array(_0x2efb64>0x1?_0x2efb64-0x1:0x0),_0x33045b=0x1;_0x33045b<_0x2efb64;_0x33045b++)_0x575c1e[_0x33045b-0x1]=arguments[_0x33045b];if(Object['assign'])return Object['assign']['apply'](Object,[_0x2bb1f7]['concat'](_0x575c1e));var _0x54d5e=function(){var _0x12333b=_0x575c1e[t];'object'==typeof _0x12333b&&null!==_0x12333b&&Object['keys'](_0x12333b)['forEach'](function(t){_0x34ae68[t]=_0x12333b[t];});};for(t=0x0,_0x4c3651=_0x575c1e['length'];t<_0x4c3651;t+=0x1)_0x54d5e();return _0x2bb1f7;},_0x2d6160['getBrowserAlias']=function(_0x3d1242){return _0x12e851['BROWSER_ALIASES_MAP'][_0x3d1242];},_0x2d6160['getBrowserTypeByAlias']=function(_0x3bb9cc){return _0x12e851['BROWSER_MAP'][_0x3bb9cc]||'';},_0x2d6160;}());t['default']=_0x42d881,_0x54350d['exports']=t['default'];},0x12:function(_0x19a640,t,_0x21c41a){t['__esModule']=!0x0,t['ENGINE_MAP']=t['OS_MAP']=t['PLATFORMS_MAP']=t['BROWSER_MAP']=t['BROWSER_ALIASES_MAP']=void 0x0,t['BROWSER_ALIASES_MAP']={'Amazon\x20Silk':'amazon_silk','Android\x20Browser':'android','Bada':'bada','BlackBerry':'blackberry','Chrome':'chrome','Chromium':'chromium','Electron':'electron','Epiphany':'epiphany','Firefox':'firefox','Focus':'focus','Generic':'generic','Google\x20Search':'google_search','Googlebot':'googlebot','Internet\x20Explorer':'ie','K-Meleon':'k_meleon','Maxthon':'maxthon','Microsoft\x20Edge':'edge','MZ\x20Browser':'mz','NAVER\x20Whale\x20Browser':'naver','Opera':'opera','Opera\x20Coast':'opera_coast','Pale\x20Moon':'pale_moon','PhantomJS':'phantomjs','Puffin':'puffin','QupZilla':'qupzilla','QQ':'qq','QQLite':'qqlite','Safari':'safari','Sailfish':'sailfish','Samsung\x20Internet\x20for\x20Android':'samsung_internet','SeaMonkey':'seamonkey','Sleipnir':'sleipnir','Swing':'swing','Tizen':'tizen','UC\x20Browser':'uc','Vivaldi':'vivaldi','WebOS\x20Browser':'webos','WeChat':'wechat','Yandex\x20Browser':'yandex','Roku':'roku'},t['BROWSER_MAP']={'amazon_silk':'Amazon\x20Silk','android':'Android\x20Browser','bada':'Bada','blackberry':'BlackBerry','chrome':'Chrome','chromium':'Chromium','electron':'Electron','epiphany':'Epiphany','firefox':'Firefox','focus':'Focus','generic':'Generic','googlebot':'Googlebot','google_search':'Google\x20Search','ie':'Internet\x20Explorer','k_meleon':'K-Meleon','maxthon':'Maxthon','edge':'Microsoft\x20Edge','mz':'MZ\x20Browser','naver':'NAVER\x20Whale\x20Browser','opera':'Opera','opera_coast':'Opera\x20Coast','pale_moon':'Pale\x20Moon','phantomjs':'PhantomJS','puffin':'Puffin','qupzilla':'QupZilla','qq':'QQ\x20Browser','qqlite':'QQ\x20Browser\x20Lite','safari':'Safari','sailfish':'Sailfish','samsung_internet':'Samsung\x20Internet\x20for\x20Android','seamonkey':'SeaMonkey','sleipnir':'Sleipnir','swing':'Swing','tizen':'Tizen','uc':'UC\x20Browser','vivaldi':'Vivaldi','webos':'WebOS\x20Browser','wechat':'WeChat','yandex':'Yandex\x20Browser'},t['PLATFORMS_MAP']={'tablet':'tablet','mobile':'mobile','desktop':'desktop','tv':'tv','bot':'bot'},t['OS_MAP']={'WindowsPhone':'Windows\x20Phone','Windows':'Windows','MacOS':'macOS','iOS':'iOS','Android':'Android','WebOS':'WebOS','BlackBerry':'BlackBerry','Bada':'Bada','Tizen':'Tizen','Linux':'Linux','ChromeOS':'Chrome\x20OS','PlayStation4':'PlayStation\x204','Roku':'Roku'},t['ENGINE_MAP']={'EdgeHTML':'EdgeHTML','Blink':'Blink','Trident':'Trident','Presto':'Presto','Gecko':'Gecko','WebKit':'WebKit'};},0x5a:function(_0x535bdc,t,_0x83591b){t['__esModule']=!0x0,t['default']=void 0x0;var _0x167cd2,_0xf36e37=(_0x167cd2=_0x83591b(0x5b))&&_0x167cd2['__esModule']?_0x167cd2:{'default':_0x167cd2},_0x3fb240=_0x83591b(0x12);function _0x2ab820(_0x15bce5,t){for(var _0x49aca4=0x0;_0x49aca4<t['length'];_0x49aca4++){var _0x207091=t[_0x49aca4];_0x207091['enumerable']=_0x207091['enumerable']||!0x1,_0x207091['configurable']=!0x0,'value'in _0x207091&&(_0x207091['writable']=!0x0),Object['defineProperty'](_0x15bce5,_0x207091['key'],_0x207091);}}var _0x241cc5=(function(){function _0xf1b8b(){}var t,_0x12ba3e,_0x4d8200;return _0xf1b8b['getParser']=function(_0x5c09a3,t){if(void 0x0===t&&(t=!0x1),'string'!=typeof _0x5c09a3)throw new Error('UserAgent\x20should\x20be\x20a\x20string');return new _0xf36e37['default'](_0x5c09a3,t);},_0xf1b8b['parse']=function(_0x20f889){return new _0xf36e37['default'](_0x20f889)['getResult']();},t=_0xf1b8b,_0x4d8200=[{'key':'BROWSER_MAP','get':function(){return _0x3fb240['BROWSER_MAP'];}},{'key':'ENGINE_MAP','get':function(){return _0x3fb240['ENGINE_MAP'];}},{'key':'OS_MAP','get':function(){return _0x3fb240['OS_MAP'];}},{'key':'PLATFORMS_MAP','get':function(){return _0x3fb240['PLATFORMS_MAP'];}}],(_0x12ba3e=null)&&_0x2ab820(t['prototype'],_0x12ba3e),_0x4d8200&&_0x2ab820(t,_0x4d8200),_0xf1b8b;}());t['default']=_0x241cc5,_0x535bdc['exports']=t['default'];},0x5b:function(_0x43a95a,t,_0x24a3fc){t['__esModule']=!0x0,t['default']=void 0x0;var _0x5a1525=_0x37b8b0(_0x24a3fc(0x5c)),_0x34a3b1=_0x37b8b0(_0x24a3fc(0x5d)),_0x2532e0=_0x37b8b0(_0x24a3fc(0x5e)),_0x41b089=_0x37b8b0(_0x24a3fc(0x5f)),_0x250955=_0x37b8b0(_0x24a3fc(0x11));function _0x37b8b0(_0x351a82){return _0x351a82&&_0x351a82['__esModule']?_0x351a82:{'default':_0x351a82};}var _0x403d44=(function(){function _0x4fc4ee(_0x2b2770,t){if(void 0x0===t&&(t=!0x1),null==_0x2b2770||''===_0x2b2770)throw new Error('UserAgent\x20parameter\x20can\x27t\x20be\x20empty');this['_ua']=_0x2b2770,this['parsedResult']={},!0x0!==t&&this['parse']();}var t=_0x4fc4ee['prototype'];return t['getUA']=function(){return this['_ua'];},t['test']=function(_0x224c7b){return _0x224c7b['test'](this['_ua']);},t['parseBrowser']=function(){var _0x26957b=this;this['parsedResult']['browser']={};var t=_0x250955['default']['find'](_0x5a1525['default'],function(t){if('function'==typeof t['test'])return t['test'](_0x26957b);if(Array['isArray'](t['test']))return t['test']['some'](function(t){return _0x26957b['test'](t);});throw new Error('Browser\x27s\x20test\x20function\x20is\x20not\x20valid');});return t&&(this['parsedResult']['browser']=t['describe'](this['getUA']())),this['parsedResult']['browser'];},t['getBrowser']=function(){return this['parsedResult']['browser']?this['parsedResult']['browser']:this['parseBrowser']();},t['getBrowserName']=function(_0x2e7b95){return _0x2e7b95?String(this['getBrowser']()['name'])['toLowerCase']()||'':this['getBrowser']()['name']||'';},t['getBrowserVersion']=function(){return this['getBrowser']()['version'];},t['getOS']=function(){return this['parsedResult']['os']?this['parsedResult']['os']:this['parseOS']();},t['parseOS']=function(){var _0x16be5e=this;this['parsedResult']['os']={};var t=_0x250955['default']['find'](_0x34a3b1['default'],function(t){if('function'==typeof t['test'])return t['test'](_0x16be5e);if(Array['isArray'](t['test']))return t['test']['some'](function(t){return _0x16be5e['test'](t);});throw new Error('Browser\x27s\x20test\x20function\x20is\x20not\x20valid');});return t&&(this['parsedResult']['os']=t['describe'](this['getUA']())),this['parsedResult']['os'];},t['getOSName']=function(_0x4f0f3e){var t=this['getOS']()['name'];return _0x4f0f3e?String(t)['toLowerCase']()||'':t||'';},t['getOSVersion']=function(){return this['getOS']()['version'];},t['getPlatform']=function(){return this['parsedResult']['platform']?this['parsedResult']['platform']:this['parsePlatform']();},t['getPlatformType']=function(_0xbff30f){void 0x0===_0xbff30f&&(_0xbff30f=!0x1);var t=this['getPlatform']()['type'];return _0xbff30f?String(t)['toLowerCase']()||'':t||'';},t['parsePlatform']=function(){var _0x4e744f=this;this['parsedResult']['platform']={};var t=_0x250955['default']['find'](_0x2532e0['default'],function(t){if('function'==typeof t['test'])return t['test'](_0x4e744f);if(Array['isArray'](t['test']))return t['test']['some'](function(t){return _0x4e744f['test'](t);});throw new Error('Browser\x27s\x20test\x20function\x20is\x20not\x20valid');});return t&&(this['parsedResult']['platform']=t['describe'](this['getUA']())),this['parsedResult']['platform'];},t['getEngine']=function(){return this['parsedResult']['engine']?this['parsedResult']['engine']:this['parseEngine']();},t['getEngineName']=function(_0x4b4e07){return _0x4b4e07?String(this['getEngine']()['name'])['toLowerCase']()||'':this['getEngine']()['name']||'';},t['parseEngine']=function(){var _0x524ee1=this;this['parsedResult']['engine']={};var t=_0x250955['default']['find'](_0x41b089['default'],function(t){if('function'==typeof t['test'])return t['test'](_0x524ee1);if(Array['isArray'](t['test']))return t['test']['some'](function(t){return _0x524ee1['test'](t);});throw new Error('Browser\x27s\x20test\x20function\x20is\x20not\x20valid');});return t&&(this['parsedResult']['engine']=t['describe'](this['getUA']())),this['parsedResult']['engine'];},t['parse']=function(){return this['parseBrowser'](),this['parseOS'](),this['parsePlatform'](),this['parseEngine'](),this;},t['getResult']=function(){return _0x250955['default']['assign']({},this['parsedResult']);},t['satisfies']=function(_0x43eb71){var t=this,_0x590e3b={},_0x439409=0x0,_0x4df9c9={},_0x443d95=0x0;if(Object['keys'](_0x43eb71)['forEach'](function(t){var _0x2f5279=_0x43eb71[t];'string'==typeof _0x2f5279?(_0x4df9c9[t]=_0x2f5279,_0x443d95+=0x1):'object'==typeof _0x2f5279&&(_0x590e3b[t]=_0x2f5279,_0x439409+=0x1);}),_0x439409>0x0){var _0x14cd84=Object['keys'](_0x590e3b),_0x240af2=_0x250955['default']['find'](_0x14cd84,function(_0x420474){return t['isOS'](_0x420474);});if(_0x240af2){var _0x5a5ceb=this['satisfies'](_0x590e3b[_0x240af2]);if(void 0x0!==_0x5a5ceb)return _0x5a5ceb;}var _0x29039b=_0x250955['default']['find'](_0x14cd84,function(_0x15f6c7){return t['isPlatform'](_0x15f6c7);});if(_0x29039b){var _0xd177bb=this['satisfies'](_0x590e3b[_0x29039b]);if(void 0x0!==_0xd177bb)return _0xd177bb;}}if(_0x443d95>0x0){var _0x17642d=Object['keys'](_0x4df9c9),_0xdcbc4=_0x250955['default']['find'](_0x17642d,function(_0x4e9ed8){return t['isBrowser'](_0x4e9ed8,!0x0);});if(void 0x0!==_0xdcbc4)return this['compareVersion'](_0x4df9c9[_0xdcbc4]);}},t['isBrowser']=function(_0x9f4a45,t){void 0x0===t&&(t=!0x1);var _0x198848=this['getBrowserName']()['toLowerCase'](),_0x36d836=_0x9f4a45['toLowerCase'](),_0x1b2080=_0x250955['default']['getBrowserTypeByAlias'](_0x36d836);return t&&_0x1b2080&&(_0x36d836=_0x1b2080['toLowerCase']()),_0x36d836===_0x198848;},t['compareVersion']=function(_0x89d87f){var t=[0x0],_0x387419=_0x89d87f,_0x544ed5=!0x1,_0x39782c=this['getBrowserVersion']();if('string'==typeof _0x39782c)return'>'===_0x89d87f[0x0]||'<'===_0x89d87f[0x0]?(_0x387419=_0x89d87f['substr'](0x1),'='===_0x89d87f[0x1]?(_0x544ed5=!0x0,_0x387419=_0x89d87f['substr'](0x2)):t=[],'>'===_0x89d87f[0x0]?t['push'](0x1):t['push'](-0x1)):'='===_0x89d87f[0x0]?_0x387419=_0x89d87f['substr'](0x1):'~'===_0x89d87f[0x0]&&(_0x544ed5=!0x0,_0x387419=_0x89d87f['substr'](0x1)),t['indexOf'](_0x250955['default']['compareVersions'](_0x39782c,_0x387419,_0x544ed5))>-0x1;},t['isOS']=function(_0x3d5de1){return this['getOSName'](!0x0)===String(_0x3d5de1)['toLowerCase']();},t['isPlatform']=function(_0x1ded9d){return this['getPlatformType'](!0x0)===String(_0x1ded9d)['toLowerCase']();},t['isEngine']=function(_0x58cd11){return this['getEngineName'](!0x0)===String(_0x58cd11)['toLowerCase']();},t['is']=function(_0x5bb2f5,t){return void 0x0===t&&(t=!0x1),this['isBrowser'](_0x5bb2f5,t)||this['isOS'](_0x5bb2f5)||this['isPlatform'](_0x5bb2f5);},t['some']=function(_0x43aa5a){var t=this;return void 0x0===_0x43aa5a&&(_0x43aa5a=[]),_0x43aa5a['some'](function(_0x367fea){return t['is'](_0x367fea);});},_0x4fc4ee;}());t['default']=_0x403d44,_0x43a95a['exports']=t['default'];},0x5c:function(_0x3feff2,t,_0x1ff347){t['__esModule']=!0x0,t['default']=void 0x0;var _0x1917a5,_0x4fd540=(_0x1917a5=_0x1ff347(0x11))&&_0x1917a5['__esModule']?_0x1917a5:{'default':_0x1917a5},_0xe5d933=/version\/(\d+(\.?_?\d+)+)/i,_0x1bd733=[{'test':[/googlebot/i],'describe':function(_0x5b79d8){var t={'name':'Googlebot'},_0x10df92=_0x4fd540['default']['getFirstMatch'](/googlebot\/(\d+(\.\d+))/i,_0x5b79d8)||_0x4fd540['default']['getFirstMatch'](_0xe5d933,_0x5b79d8);return _0x10df92&&(t['version']=_0x10df92),t;}},{'test':[/opera/i],'describe':function(_0x56da7a){var t={'name':'Opera'},_0x5b7400=_0x4fd540['default']['getFirstMatch'](_0xe5d933,_0x56da7a)||_0x4fd540['default']['getFirstMatch'](/(?:opera)[\s/](\d+(\.?_?\d+)+)/i,_0x56da7a);return _0x5b7400&&(t['version']=_0x5b7400),t;}},{'test':[/opr\/|opios/i],'describe':function(_0x47c48f){var t={'name':'Opera'},_0x12f0ff=_0x4fd540['default']['getFirstMatch'](/(?:opr|opios)[\s/](\S+)/i,_0x47c48f)||_0x4fd540['default']['getFirstMatch'](_0xe5d933,_0x47c48f);return _0x12f0ff&&(t['version']=_0x12f0ff),t;}},{'test':[/SamsungBrowser/i],'describe':function(_0x28bcb6){var t={'name':'Samsung\x20Internet\x20for\x20Android'},_0x2bab69=_0x4fd540['default']['getFirstMatch'](_0xe5d933,_0x28bcb6)||_0x4fd540['default']['getFirstMatch'](/(?:SamsungBrowser)[\s/](\d+(\.?_?\d+)+)/i,_0x28bcb6);return _0x2bab69&&(t['version']=_0x2bab69),t;}},{'test':[/Whale/i],'describe':function(_0x148e4b){var t={'name':'NAVER\x20Whale\x20Browser'},_0x3f13d7=_0x4fd540['default']['getFirstMatch'](_0xe5d933,_0x148e4b)||_0x4fd540['default']['getFirstMatch'](/(?:whale)[\s/](\d+(?:\.\d+)+)/i,_0x148e4b);return _0x3f13d7&&(t['version']=_0x3f13d7),t;}},{'test':[/PaleMoon/i],'describe':function(_0xdc2541){var t={'name':'Pale\x20Moon'},_0x4d0107=_0x4fd540['default']['getFirstMatch'](_0xe5d933,_0xdc2541)||_0x4fd540['default']['getFirstMatch'](/(?:PaleMoon)[\s/](\d+(?:\.\d+)+)/i,_0xdc2541);return _0x4d0107&&(t['version']=_0x4d0107),t;}},{'test':[/MZBrowser/i],'describe':function(_0x4ae2a4){var t={'name':'MZ\x20Browser'},_0x4f9f83=_0x4fd540['default']['getFirstMatch'](/(?:MZBrowser)[\s/](\d+(?:\.\d+)+)/i,_0x4ae2a4)||_0x4fd540['default']['getFirstMatch'](_0xe5d933,_0x4ae2a4);return _0x4f9f83&&(t['version']=_0x4f9f83),t;}},{'test':[/focus/i],'describe':function(_0x5ac9f2){var t={'name':'Focus'},_0x2c8ea0=_0x4fd540['default']['getFirstMatch'](/(?:focus)[\s/](\d+(?:\.\d+)+)/i,_0x5ac9f2)||_0x4fd540['default']['getFirstMatch'](_0xe5d933,_0x5ac9f2);return _0x2c8ea0&&(t['version']=_0x2c8ea0),t;}},{'test':[/swing/i],'describe':function(_0x56db05){var t={'name':'Swing'},_0x5493d4=_0x4fd540['default']['getFirstMatch'](/(?:swing)[\s/](\d+(?:\.\d+)+)/i,_0x56db05)||_0x4fd540['default']['getFirstMatch'](_0xe5d933,_0x56db05);return _0x5493d4&&(t['version']=_0x5493d4),t;}},{'test':[/coast/i],'describe':function(_0x2488ee){var t={'name':'Opera\x20Coast'},_0x2ff072=_0x4fd540['default']['getFirstMatch'](_0xe5d933,_0x2488ee)||_0x4fd540['default']['getFirstMatch'](/(?:coast)[\s/](\d+(\.?_?\d+)+)/i,_0x2488ee);return _0x2ff072&&(t['version']=_0x2ff072),t;}},{'test':[/opt\/\d+(?:.?_?\d+)+/i],'describe':function(_0x126b80){var t={'name':'Opera\x20Touch'},_0x22720e=_0x4fd540['default']['getFirstMatch'](/(?:opt)[\s/](\d+(\.?_?\d+)+)/i,_0x126b80)||_0x4fd540['default']['getFirstMatch'](_0xe5d933,_0x126b80);return _0x22720e&&(t['version']=_0x22720e),t;}},{'test':[/yabrowser/i],'describe':function(_0x2a49da){var t={'name':'Yandex\x20Browser'},_0x5048b5=_0x4fd540['default']['getFirstMatch'](/(?:yabrowser)[\s/](\d+(\.?_?\d+)+)/i,_0x2a49da)||_0x4fd540['default']['getFirstMatch'](_0xe5d933,_0x2a49da);return _0x5048b5&&(t['version']=_0x5048b5),t;}},{'test':[/ucbrowser/i],'describe':function(_0x6f29b9){var t={'name':'UC\x20Browser'},_0x2a38ba=_0x4fd540['default']['getFirstMatch'](_0xe5d933,_0x6f29b9)||_0x4fd540['default']['getFirstMatch'](/(?:ucbrowser)[\s/](\d+(\.?_?\d+)+)/i,_0x6f29b9);return _0x2a38ba&&(t['version']=_0x2a38ba),t;}},{'test':[/Maxthon|mxios/i],'describe':function(_0x4e097a){var t={'name':'Maxthon'},_0x23741f=_0x4fd540['default']['getFirstMatch'](_0xe5d933,_0x4e097a)||_0x4fd540['default']['getFirstMatch'](/(?:Maxthon|mxios)[\s/](\d+(\.?_?\d+)+)/i,_0x4e097a);return _0x23741f&&(t['version']=_0x23741f),t;}},{'test':[/epiphany/i],'describe':function(_0x33340c){var t={'name':'Epiphany'},_0x5f054f=_0x4fd540['default']['getFirstMatch'](_0xe5d933,_0x33340c)||_0x4fd540['default']['getFirstMatch'](/(?:epiphany)[\s/](\d+(\.?_?\d+)+)/i,_0x33340c);return _0x5f054f&&(t['version']=_0x5f054f),t;}},{'test':[/puffin/i],'describe':function(_0x5d89aa){var t={'name':'Puffin'},_0x2d17f8=_0x4fd540['default']['getFirstMatch'](_0xe5d933,_0x5d89aa)||_0x4fd540['default']['getFirstMatch'](/(?:puffin)[\s/](\d+(\.?_?\d+)+)/i,_0x5d89aa);return _0x2d17f8&&(t['version']=_0x2d17f8),t;}},{'test':[/sleipnir/i],'describe':function(_0x5ed3bb){var t={'name':'Sleipnir'},_0x5d3074=_0x4fd540['default']['getFirstMatch'](_0xe5d933,_0x5ed3bb)||_0x4fd540['default']['getFirstMatch'](/(?:sleipnir)[\s/](\d+(\.?_?\d+)+)/i,_0x5ed3bb);return _0x5d3074&&(t['version']=_0x5d3074),t;}},{'test':[/k-meleon/i],'describe':function(_0x228fa6){var t={'name':'K-Meleon'},_0xe5db75=_0x4fd540['default']['getFirstMatch'](_0xe5d933,_0x228fa6)||_0x4fd540['default']['getFirstMatch'](/(?:k-meleon)[\s/](\d+(\.?_?\d+)+)/i,_0x228fa6);return _0xe5db75&&(t['version']=_0xe5db75),t;}},{'test':[/micromessenger/i],'describe':function(_0x2240a3){var t={'name':'WeChat'},_0x290960=_0x4fd540['default']['getFirstMatch'](/(?:micromessenger)[\s/](\d+(\.?_?\d+)+)/i,_0x2240a3)||_0x4fd540['default']['getFirstMatch'](_0xe5d933,_0x2240a3);return _0x290960&&(t['version']=_0x290960),t;}},{'test':[/qqbrowser/i],'describe':function(_0x30a051){var t={'name':/qqbrowserlite/i['test'](_0x30a051)?'QQ\x20Browser\x20Lite':'QQ\x20Browser'},_0x13de39=_0x4fd540['default']['getFirstMatch'](/(?:qqbrowserlite|qqbrowser)[/](\d+(\.?_?\d+)+)/i,_0x30a051)||_0x4fd540['default']['getFirstMatch'](_0xe5d933,_0x30a051);return _0x13de39&&(t['version']=_0x13de39),t;}},{'test':[/msie|trident/i],'describe':function(_0x3558ce){var t={'name':'Internet\x20Explorer'},_0x31b6b3=_0x4fd540['default']['getFirstMatch'](/(?:msie |rv:)(\d+(\.?_?\d+)+)/i,_0x3558ce);return _0x31b6b3&&(t['version']=_0x31b6b3),t;}},{'test':[/\sedg\//i],'describe':function(_0x4d96d5){var t={'name':'Microsoft\x20Edge'},_0x4e590e=_0x4fd540['default']['getFirstMatch'](/\sedg\/(\d+(\.?_?\d+)+)/i,_0x4d96d5);return _0x4e590e&&(t['version']=_0x4e590e),t;}},{'test':[/edg([ea]|ios)/i],'describe':function(_0x800a64){var t={'name':'Microsoft\x20Edge'},_0x53a305=_0x4fd540['default']['getSecondMatch'](/edg([ea]|ios)\/(\d+(\.?_?\d+)+)/i,_0x800a64);return _0x53a305&&(t['version']=_0x53a305),t;}},{'test':[/vivaldi/i],'describe':function(_0x5cb32e){var t={'name':'Vivaldi'},_0x1f7fb8=_0x4fd540['default']['getFirstMatch'](/vivaldi\/(\d+(\.?_?\d+)+)/i,_0x5cb32e);return _0x1f7fb8&&(t['version']=_0x1f7fb8),t;}},{'test':[/seamonkey/i],'describe':function(_0x3b18c0){var t={'name':'SeaMonkey'},_0x40b2f8=_0x4fd540['default']['getFirstMatch'](/seamonkey\/(\d+(\.?_?\d+)+)/i,_0x3b18c0);return _0x40b2f8&&(t['version']=_0x40b2f8),t;}},{'test':[/sailfish/i],'describe':function(_0x594363){var t={'name':'Sailfish'},_0x4c277e=_0x4fd540['default']['getFirstMatch'](/sailfish\s?browser\/(\d+(\.\d+)?)/i,_0x594363);return _0x4c277e&&(t['version']=_0x4c277e),t;}},{'test':[/silk/i],'describe':function(_0x34da5d){var t={'name':'Amazon\x20Silk'},_0xd387aa=_0x4fd540['default']['getFirstMatch'](/silk\/(\d+(\.?_?\d+)+)/i,_0x34da5d);return _0xd387aa&&(t['version']=_0xd387aa),t;}},{'test':[/phantom/i],'describe':function(_0x4fb8cf){var t={'name':'PhantomJS'},_0x2bdd55=_0x4fd540['default']['getFirstMatch'](/phantomjs\/(\d+(\.?_?\d+)+)/i,_0x4fb8cf);return _0x2bdd55&&(t['version']=_0x2bdd55),t;}},{'test':[/slimerjs/i],'describe':function(_0x3d0bfb){var t={'name':'SlimerJS'},_0x2c10d2=_0x4fd540['default']['getFirstMatch'](/slimerjs\/(\d+(\.?_?\d+)+)/i,_0x3d0bfb);return _0x2c10d2&&(t['version']=_0x2c10d2),t;}},{'test':[/blackberry|\bbb\d+/i,/rim\stablet/i],'describe':function(_0x195028){var t={'name':'BlackBerry'},_0x1cb09f=_0x4fd540['default']['getFirstMatch'](_0xe5d933,_0x195028)||_0x4fd540['default']['getFirstMatch'](/blackberry[\d]+\/(\d+(\.?_?\d+)+)/i,_0x195028);return _0x1cb09f&&(t['version']=_0x1cb09f),t;}},{'test':[/(web|hpw)[o0]s/i],'describe':function(_0x3ed2f1){var t={'name':'WebOS\x20Browser'},_0x58303b=_0x4fd540['default']['getFirstMatch'](_0xe5d933,_0x3ed2f1)||_0x4fd540['default']['getFirstMatch'](/w(?:eb)?[o0]sbrowser\/(\d+(\.?_?\d+)+)/i,_0x3ed2f1);return _0x58303b&&(t['version']=_0x58303b),t;}},{'test':[/bada/i],'describe':function(_0x25dd44){var t={'name':'Bada'},_0x42aedc=_0x4fd540['default']['getFirstMatch'](/dolfin\/(\d+(\.?_?\d+)+)/i,_0x25dd44);return _0x42aedc&&(t['version']=_0x42aedc),t;}},{'test':[/tizen/i],'describe':function(_0x48110f){var t={'name':'Tizen'},_0x40c48c=_0x4fd540['default']['getFirstMatch'](/(?:tizen\s?)?browser\/(\d+(\.?_?\d+)+)/i,_0x48110f)||_0x4fd540['default']['getFirstMatch'](_0xe5d933,_0x48110f);return _0x40c48c&&(t['version']=_0x40c48c),t;}},{'test':[/qupzilla/i],'describe':function(_0x103e2d){var t={'name':'QupZilla'},_0x2e3e63=_0x4fd540['default']['getFirstMatch'](/(?:qupzilla)[\s/](\d+(\.?_?\d+)+)/i,_0x103e2d)||_0x4fd540['default']['getFirstMatch'](_0xe5d933,_0x103e2d);return _0x2e3e63&&(t['version']=_0x2e3e63),t;}},{'test':[/firefox|iceweasel|fxios/i],'describe':function(_0x4ad6ce){var t={'name':'Firefox'},_0x3fb883=_0x4fd540['default']['getFirstMatch'](/(?:firefox|iceweasel|fxios)[\s/](\d+(\.?_?\d+)+)/i,_0x4ad6ce);return _0x3fb883&&(t['version']=_0x3fb883),t;}},{'test':[/electron/i],'describe':function(_0x185dfa){var t={'name':'Electron'},_0x2a879c=_0x4fd540['default']['getFirstMatch'](/(?:electron)\/(\d+(\.?_?\d+)+)/i,_0x185dfa);return _0x2a879c&&(t['version']=_0x2a879c),t;}},{'test':[/MiuiBrowser/i],'describe':function(_0x389b53){var t={'name':'Miui'},_0x39af04=_0x4fd540['default']['getFirstMatch'](/(?:MiuiBrowser)[\s/](\d+(\.?_?\d+)+)/i,_0x389b53);return _0x39af04&&(t['version']=_0x39af04),t;}},{'test':[/chromium/i],'describe':function(_0x31f7c5){var t={'name':'Chromium'},_0x2349c=_0x4fd540['default']['getFirstMatch'](/(?:chromium)[\s/](\d+(\.?_?\d+)+)/i,_0x31f7c5)||_0x4fd540['default']['getFirstMatch'](_0xe5d933,_0x31f7c5);return _0x2349c&&(t['version']=_0x2349c),t;}},{'test':[/chrome|crios|crmo/i],'describe':function(_0xb6457d){var t={'name':'Chrome'},_0x3c7af0=_0x4fd540['default']['getFirstMatch'](/(?:chrome|crios|crmo)\/(\d+(\.?_?\d+)+)/i,_0xb6457d);return _0x3c7af0&&(t['version']=_0x3c7af0),t;}},{'test':[/GSA/i],'describe':function(_0x51c2c2){var t={'name':'Google\x20Search'},_0x1b7fc4=_0x4fd540['default']['getFirstMatch'](/(?:GSA)\/(\d+(\.?_?\d+)+)/i,_0x51c2c2);return _0x1b7fc4&&(t['version']=_0x1b7fc4),t;}},{'test':function(_0x27c22e){var t=!_0x27c22e['test'](/like android/i),_0x4c41f9=_0x27c22e['test'](/android/i);return t&&_0x4c41f9;},'describe':function(_0x158748){var t={'name':'Android\x20Browser'},_0x3ac8da=_0x4fd540['default']['getFirstMatch'](_0xe5d933,_0x158748);return _0x3ac8da&&(t['version']=_0x3ac8da),t;}},{'test':[/playstation 4/i],'describe':function(_0x3098a1){var t={'name':'PlayStation\x204'},_0x1c3000=_0x4fd540['default']['getFirstMatch'](_0xe5d933,_0x3098a1);return _0x1c3000&&(t['version']=_0x1c3000),t;}},{'test':[/safari|applewebkit/i],'describe':function(_0x53f31a){var t={'name':'Safari'},_0x548855=_0x4fd540['default']['getFirstMatch'](_0xe5d933,_0x53f31a);return _0x548855&&(t['version']=_0x548855),t;}},{'test':[/.*/i],'describe':function(_0xacb800){var t=-0x1!==_0xacb800['search']('\x5c(')?/^(.*)\/(.*)[ \t]\((.*)/:/^(.*)\/(.*) /;return{'name':_0x4fd540['default']['getFirstMatch'](t,_0xacb800),'version':_0x4fd540['default']['getSecondMatch'](t,_0xacb800)};}}];t['default']=_0x1bd733,_0x3feff2['exports']=t['default'];},0x5d:function(_0x2213b8,t,_0x10a1d0){t['__esModule']=!0x0,t['default']=void 0x0;var _0x4ab645,_0x10f3f1=(_0x4ab645=_0x10a1d0(0x11))&&_0x4ab645['__esModule']?_0x4ab645:{'default':_0x4ab645},_0xcccb1=_0x10a1d0(0x12),_0x13435a=[{'test':[/Roku\/DVP/],'describe':function(_0x45a26a){var t=_0x10f3f1['default']['getFirstMatch'](/Roku\/DVP-(\d+\.\d+)/i,_0x45a26a);return{'name':_0xcccb1['OS_MAP']['Roku'],'version':t};}},{'test':[/windows phone/i],'describe':function(_0x1f8299){var t=_0x10f3f1['default']['getFirstMatch'](/windows phone (?:os)?\s?(\d+(\.\d+)*)/i,_0x1f8299);return{'name':_0xcccb1['OS_MAP']['WindowsPhone'],'version':t};}},{'test':[/windows /i],'describe':function(_0x5f2ea4){var t=_0x10f3f1['default']['getFirstMatch'](/Windows ((NT|XP)( \d\d?.\d)?)/i,_0x5f2ea4),_0x39b58d=_0x10f3f1['default']['getWindowsVersionName'](t);return{'name':_0xcccb1['OS_MAP']['Windows'],'version':t,'versionName':_0x39b58d};}},{'test':[/Macintosh(.*?) FxiOS(.*?)\//],'describe':function(_0x1e8c53){var t={'name':_0xcccb1['OS_MAP']['iOS']},_0x1ffe34=_0x10f3f1['default']['getSecondMatch'](/(Version\/)(\d[\d.]+)/,_0x1e8c53);return _0x1ffe34&&(t['version']=_0x1ffe34),t;}},{'test':[/macintosh/i],'describe':function(_0x7f864d){var t=_0x10f3f1['default']['getFirstMatch'](/mac os x (\d+(\.?_?\d+)+)/i,_0x7f864d)['replace'](/[_\s]/g,'.'),_0x230ad8=_0x10f3f1['default']['getMacOSVersionName'](t),_0x45af24={'name':_0xcccb1['OS_MAP']['MacOS'],'version':t};return _0x230ad8&&(_0x45af24['versionName']=_0x230ad8),_0x45af24;}},{'test':[/(ipod|iphone|ipad)/i],'describe':function(_0x147574){var t=_0x10f3f1['default']['getFirstMatch'](/os (\d+([_\s]\d+)*) like mac os x/i,_0x147574)['replace'](/[_\s]/g,'.');return{'name':_0xcccb1['OS_MAP']['iOS'],'version':t};}},{'test':function(_0x10d5b5){var t=!_0x10d5b5['test'](/like android/i),_0x4eeec6=_0x10d5b5['test'](/android/i);return t&&_0x4eeec6;},'describe':function(_0x5e8d48){var t=_0x10f3f1['default']['getFirstMatch'](/android[\s/-](\d+(\.\d+)*)/i,_0x5e8d48),_0x4c9cc8=_0x10f3f1['default']['getAndroidVersionName'](t),_0x1b1e50={'name':_0xcccb1['OS_MAP']['Android'],'version':t};return _0x4c9cc8&&(_0x1b1e50['versionName']=_0x4c9cc8),_0x1b1e50;}},{'test':[/(web|hpw)[o0]s/i],'describe':function(_0x36dbbe){var t=_0x10f3f1['default']['getFirstMatch'](/(?:web|hpw)[o0]s\/(\d+(\.\d+)*)/i,_0x36dbbe),_0x525067={'name':_0xcccb1['OS_MAP']['WebOS']};return t&&t['length']&&(_0x525067['version']=t),_0x525067;}},{'test':[/blackberry|\bbb\d+/i,/rim\stablet/i],'describe':function(_0x371614){var t=_0x10f3f1['default']['getFirstMatch'](/rim\stablet\sos\s(\d+(\.\d+)*)/i,_0x371614)||_0x10f3f1['default']['getFirstMatch'](/blackberry\d+\/(\d+([_\s]\d+)*)/i,_0x371614)||_0x10f3f1['default']['getFirstMatch'](/\bbb(\d+)/i,_0x371614);return{'name':_0xcccb1['OS_MAP']['BlackBerry'],'version':t};}},{'test':[/bada/i],'describe':function(_0x3ac456){var t=_0x10f3f1['default']['getFirstMatch'](/bada\/(\d+(\.\d+)*)/i,_0x3ac456);return{'name':_0xcccb1['OS_MAP']['Bada'],'version':t};}},{'test':[/tizen/i],'describe':function(_0x12cc86){var t=_0x10f3f1['default']['getFirstMatch'](/tizen[/\s](\d+(\.\d+)*)/i,_0x12cc86);return{'name':_0xcccb1['OS_MAP']['Tizen'],'version':t};}},{'test':[/linux/i],'describe':function(){return{'name':_0xcccb1['OS_MAP']['Linux']};}},{'test':[/CrOS/],'describe':function(){return{'name':_0xcccb1['OS_MAP']['ChromeOS']};}},{'test':[/PlayStation 4/],'describe':function(_0x121ead){var t=_0x10f3f1['default']['getFirstMatch'](/PlayStation 4[/\s](\d+(\.\d+)*)/i,_0x121ead);return{'name':_0xcccb1['OS_MAP']['PlayStation4'],'version':t};}}];t['default']=_0x13435a,_0x2213b8['exports']=t['default'];},0x5e:function(_0x2347ac,t,_0x454a09){t['__esModule']=!0x0,t['default']=void 0x0;var _0x3d610b,_0x1ff653=(_0x3d610b=_0x454a09(0x11))&&_0x3d610b['__esModule']?_0x3d610b:{'default':_0x3d610b},_0x1dda40=_0x454a09(0x12),_0x38aecc=[{'test':[/googlebot/i],'describe':function(){return{'type':_0x1dda40['PLATFORMS_MAP']['bot'],'vendor':'Google'};}},{'test':[/huawei/i],'describe':function(_0x567f9){var t=_0x1ff653['default']['getFirstMatch'](/(can-l01)/i,_0x567f9)&&'Nova',_0x1f0e75={'type':_0x1dda40['PLATFORMS_MAP']['mobile'],'vendor':'Huawei'};return t&&(_0x1f0e75['model']=t),_0x1f0e75;}},{'test':[/nexus\s*(?:7|8|9|10).*/i],'describe':function(){return{'type':_0x1dda40['PLATFORMS_MAP']['tablet'],'vendor':'Nexus'};}},{'test':[/ipad/i],'describe':function(){return{'type':_0x1dda40['PLATFORMS_MAP']['tablet'],'vendor':'Apple','model':'iPad'};}},{'test':[/Macintosh(.*?) FxiOS(.*?)\//],'describe':function(){return{'type':_0x1dda40['PLATFORMS_MAP']['tablet'],'vendor':'Apple','model':'iPad'};}},{'test':[/kftt build/i],'describe':function(){return{'type':_0x1dda40['PLATFORMS_MAP']['tablet'],'vendor':'Amazon','model':'Kindle\x20Fire\x20HD\x207'};}},{'test':[/silk/i],'describe':function(){return{'type':_0x1dda40['PLATFORMS_MAP']['tablet'],'vendor':'Amazon'};}},{'test':[/tablet(?! pc)/i],'describe':function(){return{'type':_0x1dda40['PLATFORMS_MAP']['tablet']};}},{'test':function(_0x300016){var t=_0x300016['test'](/ipod|iphone/i),_0x2196bf=_0x300016['test'](/like (ipod|iphone)/i);return t&&!_0x2196bf;},'describe':function(_0x53cd07){var t=_0x1ff653['default']['getFirstMatch'](/(ipod|iphone)/i,_0x53cd07);return{'type':_0x1dda40['PLATFORMS_MAP']['mobile'],'vendor':'Apple','model':t};}},{'test':[/nexus\s*[0-6].*/i,/galaxy nexus/i],'describe':function(){return{'type':_0x1dda40['PLATFORMS_MAP']['mobile'],'vendor':'Nexus'};}},{'test':[/Nokia/i],'describe':function(_0x594f65){var t=_0x1ff653['default']['getFirstMatch'](/Nokia\s+([0-9]+(\.[0-9]+)?)/i,_0x594f65),_0x162bdb={'type':_0x1dda40['PLATFORMS_MAP']['mobile'],'vendor':'Nokia'};return t&&(_0x162bdb['model']=t),_0x162bdb;}},{'test':[/[^-]mobi/i],'describe':function(){return{'type':_0x1dda40['PLATFORMS_MAP']['mobile']};}},{'test':function(_0x6ed921){return'blackberry'===_0x6ed921['getBrowserName'](!0x0);},'describe':function(){return{'type':_0x1dda40['PLATFORMS_MAP']['mobile'],'vendor':'BlackBerry'};}},{'test':function(_0x1db30b){return'bada'===_0x1db30b['getBrowserName'](!0x0);},'describe':function(){return{'type':_0x1dda40['PLATFORMS_MAP']['mobile']};}},{'test':function(_0x455a16){return'windows\x20phone'===_0x455a16['getBrowserName']();},'describe':function(){return{'type':_0x1dda40['PLATFORMS_MAP']['mobile'],'vendor':'Microsoft'};}},{'test':function(_0x329d02){var t=Number(String(_0x329d02['getOSVersion']())['split']('.')[0x0]);return'android'===_0x329d02['getOSName'](!0x0)&&t>=0x3;},'describe':function(){return{'type':_0x1dda40['PLATFORMS_MAP']['tablet']};}},{'test':function(_0x14de41){return'android'===_0x14de41['getOSName'](!0x0);},'describe':function(){return{'type':_0x1dda40['PLATFORMS_MAP']['mobile']};}},{'test':function(_0x239395){return'macos'===_0x239395['getOSName'](!0x0);},'describe':function(){return{'type':_0x1dda40['PLATFORMS_MAP']['desktop'],'vendor':'Apple'};}},{'test':function(_0x3cdab5){return'windows'===_0x3cdab5['getOSName'](!0x0);},'describe':function(){return{'type':_0x1dda40['PLATFORMS_MAP']['desktop']};}},{'test':function(_0x8365df){return'linux'===_0x8365df['getOSName'](!0x0);},'describe':function(){return{'type':_0x1dda40['PLATFORMS_MAP']['desktop']};}},{'test':function(_0x44e3a1){return'playstation\x204'===_0x44e3a1['getOSName'](!0x0);},'describe':function(){return{'type':_0x1dda40['PLATFORMS_MAP']['tv']};}},{'test':function(_0x8e36cf){return'roku'===_0x8e36cf['getOSName'](!0x0);},'describe':function(){return{'type':_0x1dda40['PLATFORMS_MAP']['tv']};}}];t['default']=_0x38aecc,_0x2347ac['exports']=t['default'];},0x5f:function(_0x3b6f35,t,_0x384188){t['__esModule']=!0x0,t['default']=void 0x0;var _0x2e4bd8,_0x24e0f4=(_0x2e4bd8=_0x384188(0x11))&&_0x2e4bd8['__esModule']?_0x2e4bd8:{'default':_0x2e4bd8},_0x28a519=_0x384188(0x12),_0x3d63f1=[{'test':function(_0xb38f43){return'microsoft\x20edge'===_0xb38f43['getBrowserName'](!0x0);},'describe':function(_0x185515){if(/\sedg\//i['test'](_0x185515))return{'name':_0x28a519['ENGINE_MAP']['Blink']};var t=_0x24e0f4['default']['getFirstMatch'](/edge\/(\d+(\.?_?\d+)+)/i,_0x185515);return{'name':_0x28a519['ENGINE_MAP']['EdgeHTML'],'version':t};}},{'test':[/trident/i],'describe':function(_0x46b8e4){var t={'name':_0x28a519['ENGINE_MAP']['Trident']},_0x42ecd4=_0x24e0f4['default']['getFirstMatch'](/trident\/(\d+(\.?_?\d+)+)/i,_0x46b8e4);return _0x42ecd4&&(t['version']=_0x42ecd4),t;}},{'test':function(_0x308396){return _0x308396['test'](/presto/i);},'describe':function(_0x5893d1){var t={'name':_0x28a519['ENGINE_MAP']['Presto']},_0x1c0c9c=_0x24e0f4['default']['getFirstMatch'](/presto\/(\d+(\.?_?\d+)+)/i,_0x5893d1);return _0x1c0c9c&&(t['version']=_0x1c0c9c),t;}},{'test':function(_0x2489d7){var t=_0x2489d7['test'](/gecko/i),_0x1a2bb1=_0x2489d7['test'](/like gecko/i);return t&&!_0x1a2bb1;},'describe':function(_0x5064fc){var t={'name':_0x28a519['ENGINE_MAP']['Gecko']},_0x1fbd19=_0x24e0f4['default']['getFirstMatch'](/gecko\/(\d+(\.?_?\d+)+)/i,_0x5064fc);return _0x1fbd19&&(t['version']=_0x1fbd19),t;}},{'test':[/(apple)?webkit\/537\.36/i],'describe':function(){return{'name':_0x28a519['ENGINE_MAP']['Blink']};}},{'test':[/(apple)?webkit/i],'describe':function(_0x51168d){var t={'name':_0x28a519['ENGINE_MAP']['WebKit']},_0x4b4ed9=_0x24e0f4['default']['getFirstMatch'](/webkit\/(\d+(\.?_?\d+)+)/i,_0x51168d);return _0x4b4ed9&&(t['version']=_0x4b4ed9),t;}}];t['default']=_0x3d63f1,_0x3b6f35['exports']=t['default'];}});}(_0x6828b2)),_0x6828b2['exports'];}var es5Exports=requireEs5();const createDefaultUserAgentProvider=({serviceId:_0x175ea9,clientVersion:_0x2a2229})=>async _0x2d6de0=>{const _0x466336='undefined'!=typeof window&&window?.['navigator']?.['userAgent']?es5Exports['parse'](window['navigator']['userAgent']):void 0x0,_0x24bce8=[['aws-sdk-js',_0x2a2229],['ua','2.1'],['os/'+(_0x466336?.['os']?.['name']||'other'),_0x466336?.['os']?.['version']],['lang/js'],['md/browser',(_0x466336?.['browser']?.['name']??'unknown')+'_'+(_0x466336?.['browser']?.['version']??'unknown')]];_0x175ea9&&_0x24bce8['push'](['api/'+_0x175ea9,_0x2a2229]);const _0x1f2f2c=await _0x2d6de0?.['userAgentAppId']?.();return _0x1f2f2c&&_0x24bce8['push'](['app/'+_0x1f2f2c]),_0x24bce8;};var _0x3ebbb6=(function(){function _0x3274f6(){this['checksum']=0xffffffff;}return _0x3274f6['prototype']['update']=function(_0x344583){var _0x2a400a,_0x4892a9;try{for(var _0x16a58b=_0x45d0b3(_0x344583),_0x256227=_0x16a58b['next']();!_0x256227['done'];_0x256227=_0x16a58b['next']()){var _0xd808f7=_0x256227['value'];this['checksum']=this['checksum']>>>0x8^_0x323901[0xff&(this['checksum']^_0xd808f7)];}}catch(_0x16abab){_0x2a400a={'error':_0x16abab};}finally{try{_0x256227&&!_0x256227['done']&&(_0x4892a9=_0x16a58b['return'])&&_0x4892a9['call'](_0x16a58b);}finally{if(_0x2a400a)throw _0x2a400a['error'];}}return this;},_0x3274f6['prototype']['digest']=function(){return(0xffffffff^this['checksum'])>>>0x0;},_0x3274f6;}()),_0x2eed1f=[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],_0x323901=uint32ArrayFrom(_0x2eed1f),_0x5eb163;class Int64{constructor(_0x5e3466){if(this['bytes']=_0x5e3466,0x8!==_0x5e3466['byteLength'])throw new Error('Int64\x20buffers\x20must\x20be\x20exactly\x208\x20bytes');}static['fromNumber'](_0x6db3b5){if(_0x6db3b5>0x8000000000000000||_0x6db3b5<-0x8000000000000000)throw new Error(_0x6db3b5+'\x20is\x20too\x20large\x20(or,\x20if\x20negative,\x20too\x20small)\x20to\x20represent\x20as\x20an\x20Int64');const _0x58851f=new Uint8Array(0x8);for(let _0x5ebe5d=0x7,_0x1e94ba=Math['abs'](Math['round'](_0x6db3b5));_0x5ebe5d>-0x1&&_0x1e94ba>0x0;_0x5ebe5d--,_0x1e94ba/=0x100)_0x58851f[_0x5ebe5d]=_0x1e94ba;return _0x6db3b5<0x0&&negate(_0x58851f),new Int64(_0x58851f);}['valueOf'](){const _0x21c223=this['bytes']['slice'](0x0),_0xd6bd81=0x80&_0x21c223[0x0];return _0xd6bd81&&negate(_0x21c223),parseInt(toHex(_0x21c223),0x10)*(_0xd6bd81?-0x1:0x1);}['toString'](){return String(this['valueOf']());}}function negate(_0x448230){for(let _0x50574c=0x0;_0x50574c<0x8;_0x50574c++)_0x448230[_0x50574c]^=0xff;for(let _0x5605eb=0x7;_0x5605eb>-0x1&&(_0x448230[_0x5605eb]++,0x0===_0x448230[_0x5605eb]);_0x5605eb--);}class _0x3a6dc9{constructor(_0x4c32d2,_0x4b07cc){this['toUtf8']=_0x4c32d2,this['fromUtf8']=_0x4b07cc;}['format'](_0x429842){const _0x4c58c4=[];for(const _0x570015 of Object['keys'](_0x429842)){const _0x3823c0=this['fromUtf8'](_0x570015);_0x4c58c4['push'](Uint8Array['from']([_0x3823c0['byteLength']]),_0x3823c0,this['formatHeaderValue'](_0x429842[_0x570015]));}const _0xe788e2=new Uint8Array(_0x4c58c4['reduce']((_0x1f0615,_0x1802d3)=>_0x1f0615+_0x1802d3['byteLength'],0x0));let _0x5c5201=0x0;for(const _0x48465d of _0x4c58c4)_0xe788e2['set'](_0x48465d,_0x5c5201),_0x5c5201+=_0x48465d['byteLength'];return _0xe788e2;}['formatHeaderValue'](_0x41e15f){switch(_0x41e15f['type']){case'boolean':return Uint8Array['from']([_0x41e15f['value']?0x0:0x1]);case'byte':return Uint8Array['from']([0x2,_0x41e15f['value']]);case'short':const _0x2a76ff=new DataView(new ArrayBuffer(0x3));return _0x2a76ff['setUint8'](0x0,0x3),_0x2a76ff['setInt16'](0x1,_0x41e15f['value'],!0x1),new Uint8Array(_0x2a76ff['buffer']);case'integer':const _0x59ddce=new DataView(new ArrayBuffer(0x5));return _0x59ddce['setUint8'](0x0,0x4),_0x59ddce['setInt32'](0x1,_0x41e15f['value'],!0x1),new Uint8Array(_0x59ddce['buffer']);case'long':const _0xbdb076=new Uint8Array(0x9);return _0xbdb076[0x0]=0x5,_0xbdb076['set'](_0x41e15f['value']['bytes'],0x1),_0xbdb076;case'binary':const _0x107199=new DataView(new ArrayBuffer(0x3+_0x41e15f['value']['byteLength']));_0x107199['setUint8'](0x0,0x6),_0x107199['setUint16'](0x1,_0x41e15f['value']['byteLength'],!0x1);const _0x2e91b8=new Uint8Array(_0x107199['buffer']);return _0x2e91b8['set'](_0x41e15f['value'],0x3),_0x2e91b8;case'string':const _0x5216eb=this['fromUtf8'](_0x41e15f['value']),_0x4c488f=new DataView(new ArrayBuffer(0x3+_0x5216eb['byteLength']));_0x4c488f['setUint8'](0x0,0x7),_0x4c488f['setUint16'](0x1,_0x5216eb['byteLength'],!0x1);const _0x32db68=new Uint8Array(_0x4c488f['buffer']);return _0x32db68['set'](_0x5216eb,0x3),_0x32db68;case'timestamp':const _0x33fcf2=new Uint8Array(0x9);return _0x33fcf2[0x0]=0x8,_0x33fcf2['set'](Int64['fromNumber'](_0x41e15f['value']['valueOf']())['bytes'],0x1),_0x33fcf2;case'uuid':if(!_0x4f1a4e['test'](_0x41e15f['value']))throw new Error('Invalid\x20UUID\x20received:\x20'+_0x41e15f['value']);const _0x364a32=new Uint8Array(0x11);return _0x364a32[0x0]=0x9,_0x364a32['set'](_0x3d1b9d(_0x41e15f['value']['replace'](/\-/g,'')),0x1),_0x364a32;}}['parse'](_0x1b0947){const _0x9d7d71={};let _0x537f2d=0x0;for(;_0x537f2d<_0x1b0947['byteLength'];){const _0x4aded8=_0x1b0947['getUint8'](_0x537f2d++),_0x391f9e=this['toUtf8'](new Uint8Array(_0x1b0947['buffer'],_0x1b0947['byteOffset']+_0x537f2d,_0x4aded8));switch(_0x537f2d+=_0x4aded8,_0x1b0947['getUint8'](_0x537f2d++)){case 0x0:_0x9d7d71[_0x391f9e]={'type':_0x4d804b,'value':!0x0};break;case 0x1:_0x9d7d71[_0x391f9e]={'type':_0x4d804b,'value':!0x1};break;case 0x2:_0x9d7d71[_0x391f9e]={'type':_0x54eeab,'value':_0x1b0947['getInt8'](_0x537f2d++)};break;case 0x3:_0x9d7d71[_0x391f9e]={'type':_0x939a1e,'value':_0x1b0947['getInt16'](_0x537f2d,!0x1)},_0x537f2d+=0x2;break;case 0x4:_0x9d7d71[_0x391f9e]={'type':_0x405dea,'value':_0x1b0947['getInt32'](_0x537f2d,!0x1)},_0x537f2d+=0x4;break;case 0x5:_0x9d7d71[_0x391f9e]={'type':_0x97d7cf,'value':new Int64(new Uint8Array(_0x1b0947['buffer'],_0x1b0947['byteOffset']+_0x537f2d,0x8))},_0x537f2d+=0x8;break;case 0x6:const _0xbd5448=_0x1b0947['getUint16'](_0x537f2d,!0x1);_0x537f2d+=0x2,_0x9d7d71[_0x391f9e]={'type':_0x27d7ab,'value':new Uint8Array(_0x1b0947['buffer'],_0x1b0947['byteOffset']+_0x537f2d,_0xbd5448)},_0x537f2d+=_0xbd5448;break;case 0x7:const _0x236317=_0x1b0947['getUint16'](_0x537f2d,!0x1);_0x537f2d+=0x2,_0x9d7d71[_0x391f9e]={'type':_0xbd1c7a,'value':this['toUtf8'](new Uint8Array(_0x1b0947['buffer'],_0x1b0947['byteOffset']+_0x537f2d,_0x236317))},_0x537f2d+=_0x236317;break;case 0x8:_0x9d7d71[_0x391f9e]={'type':_0x30f7dd,'value':new Date(new Int64(new Uint8Array(_0x1b0947['buffer'],_0x1b0947['byteOffset']+_0x537f2d,0x8))['valueOf']())},_0x537f2d+=0x8;break;case 0x9:const _0x1a89f5=new Uint8Array(_0x1b0947['buffer'],_0x1b0947['byteOffset']+_0x537f2d,0x10);_0x537f2d+=0x10,_0x9d7d71[_0x391f9e]={'type':_0x346989,'value':toHex(_0x1a89f5['subarray'](0x0,0x4))+'-'+toHex(_0x1a89f5['subarray'](0x4,0x6))+'-'+toHex(_0x1a89f5['subarray'](0x6,0x8))+'-'+toHex(_0x1a89f5['subarray'](0x8,0xa))+'-'+toHex(_0x1a89f5['subarray'](0xa))};break;default:throw new Error('Unrecognized\x20header\x20type\x20tag');}}return _0x9d7d71;}}!function(_0x4627a7){_0x4627a7[_0x4627a7['boolTrue']=0x0]='boolTrue',_0x4627a7[_0x4627a7['boolFalse']=0x1]='boolFalse',_0x4627a7[_0x4627a7['byte']=0x2]='byte',_0x4627a7[_0x4627a7['short']=0x3]='short',_0x4627a7[_0x4627a7['integer']=0x4]='integer',_0x4627a7[_0x4627a7['long']=0x5]='long',_0x4627a7[_0x4627a7['byteArray']=0x6]='byteArray',_0x4627a7[_0x4627a7['string']=0x7]='string',_0x4627a7[_0x4627a7['timestamp']=0x8]='timestamp',_0x4627a7[_0x4627a7['uuid']=0x9]='uuid';}(_0x5eb163||(_0x5eb163={}));const _0x4d804b='boolean',_0x54eeab='byte',_0x939a1e='short',_0x405dea='integer',_0x97d7cf='long',_0x27d7ab='binary',_0xbd1c7a='string',_0x30f7dd='timestamp',_0x346989='uuid',_0x4f1a4e=/^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$/,_0x1c3d36=0x4,_0x4d7ba0=0x2*_0x1c3d36,_0x175d09=0x4,_0x318e3d=_0x4d7ba0+0x2*_0x175d09;function splitMessage({byteLength:_0x199207,byteOffset:_0x3a4107,buffer:_0x180b50}){if(_0x199207<_0x318e3d)throw new Error('Provided\x20message\x20too\x20short\x20to\x20accommodate\x20event\x20stream\x20message\x20overhead');const _0x4ca7c9=new DataView(_0x180b50,_0x3a4107,_0x199207),_0x419e10=_0x4ca7c9['getUint32'](0x0,!0x1);if(_0x199207!==_0x419e10)throw new Error('Reported\x20message\x20length\x20does\x20not\x20match\x20received\x20message\x20length');const _0x23f7f0=_0x4ca7c9['getUint32'](_0x1c3d36,!0x1),_0x1f6ec6=_0x4ca7c9['getUint32'](_0x4d7ba0,!0x1),_0x3efd47=_0x4ca7c9['getUint32'](_0x199207-_0x175d09,!0x1),_0x1759cf=new _0x3ebbb6()['update'](new Uint8Array(_0x180b50,_0x3a4107,_0x4d7ba0));if(_0x1f6ec6!==_0x1759cf['digest']())throw new Error('The\x20prelude\x20checksum\x20specified\x20in\x20the\x20message\x20('+_0x1f6ec6+')\x20does\x20not\x20match\x20the\x20calculated\x20CRC32\x20checksum\x20('+_0x1759cf['digest']()+')');if(_0x1759cf['update'](new Uint8Array(_0x180b50,_0x3a4107+_0x4d7ba0,_0x199207-(_0x4d7ba0+_0x175d09))),_0x3efd47!==_0x1759cf['digest']())throw new Error('The\x20message\x20checksum\x20('+_0x1759cf['digest']()+')\x20did\x20not\x20match\x20the\x20expected\x20value\x20of\x20'+_0x3efd47);return{'headers':new DataView(_0x180b50,_0x3a4107+_0x4d7ba0+_0x175d09,_0x23f7f0),'body':new Uint8Array(_0x180b50,_0x3a4107+_0x4d7ba0+_0x175d09+_0x23f7f0,_0x419e10-_0x23f7f0-(_0x4d7ba0+_0x175d09+_0x175d09))};}class EventStreamCodec{constructor(_0x4cac08,_0xd5cf6){this['headerMarshaller']=new _0x3a6dc9(_0x4cac08,_0xd5cf6),this['messageBuffer']=[],this['isEndOfStream']=!0x1;}['feed'](_0x3feff8){this['messageBuffer']['push'](this['decode'](_0x3feff8));}['endOfStream'](){this['isEndOfStream']=!0x0;}['getMessage'](){const _0x4bc8c3=this['messageBuffer']['pop'](),_0x53a47d=this['isEndOfStream'];return{'getMessage':()=>_0x4bc8c3,'isEndOfStream':()=>_0x53a47d};}['getAvailableMessages'](){const _0xcb7252=this['messageBuffer'];this['messageBuffer']=[];const _0x3bbccf=this['isEndOfStream'];return{'getMessages':()=>_0xcb7252,'isEndOfStream':()=>_0x3bbccf};}['encode']({headers:_0x6dead4,body:_0x1db44c}){const _0x25759c=this['headerMarshaller']['format'](_0x6dead4),_0x3c6cad=_0x25759c['byteLength']+_0x1db44c['byteLength']+0x10,_0x4132d9=new Uint8Array(_0x3c6cad),_0x229126=new DataView(_0x4132d9['buffer'],_0x4132d9['byteOffset'],_0x4132d9['byteLength']),_0x232e8c=new _0x3ebbb6();return _0x229126['setUint32'](0x0,_0x3c6cad,!0x1),_0x229126['setUint32'](0x4,_0x25759c['byteLength'],!0x1),_0x229126['setUint32'](0x8,_0x232e8c['update'](_0x4132d9['subarray'](0x0,0x8))['digest'](),!0x1),_0x4132d9['set'](_0x25759c,0xc),_0x4132d9['set'](_0x1db44c,_0x25759c['byteLength']+0xc),_0x229126['setUint32'](_0x3c6cad-0x4,_0x232e8c['update'](_0x4132d9['subarray'](0x8,_0x3c6cad-0x4))['digest'](),!0x1),_0x4132d9;}['decode'](_0x141b3f){const {headers:_0x587f8a,body:_0x1b19e3}=splitMessage(_0x141b3f);return{'headers':this['headerMarshaller']['parse'](_0x587f8a),'body':_0x1b19e3};}['formatHeaders'](_0x2b54b4){return this['headerMarshaller']['format'](_0x2b54b4);}}class MessageDecoderStream{constructor(_0x1b381b){this['options']=_0x1b381b;}[Symbol['asyncIterator']](){return this['asyncIterator']();}async*['asyncIterator'](){for await(const _0x308553 of this['options']['inputStream']){const _0x592693=this['options']['decoder']['decode'](_0x308553);yield _0x592693;}}}class MessageEncoderStream{constructor(_0x4552c7){this['options']=_0x4552c7;}[Symbol['asyncIterator']](){return this['asyncIterator']();}async*['asyncIterator'](){for await(const _0x376e91 of this['options']['messageStream']){const _0x48abdf=this['options']['encoder']['encode'](_0x376e91);yield _0x48abdf;}this['options']['includeEndFrame']&&(yield new Uint8Array(0x0));}}class SmithyMessageDecoderStream{constructor(_0x326edd){this['options']=_0x326edd;}[Symbol['asyncIterator']](){return this['asyncIterator']();}async*['asyncIterator'](){for await(const _0x5946ec of this['options']['messageStream']){const _0x145381=await this['options']['deserializer'](_0x5946ec);void 0x0!==_0x145381&&(yield _0x145381);}}}class SmithyMessageEncoderStream{constructor(_0x2dcc99){this['options']=_0x2dcc99;}[Symbol['asyncIterator']](){return this['asyncIterator']();}async*['asyncIterator'](){for await(const _0x4e54dd of this['options']['inputStream']){const _0x20d19e=this['options']['serializer'](_0x4e54dd);yield _0x20d19e;}}}function getChunkedStream(_0x3a89ef){let _0x290856=0x0,_0x504566=0x0,_0x53faaa=null,_0x500f44=null;const _0x619e17=_0x27d518=>{if('number'!=typeof _0x27d518)throw new Error('Attempted\x20to\x20allocate\x20an\x20event\x20message\x20where\x20size\x20was\x20not\x20a\x20number:\x20'+_0x27d518);_0x290856=_0x27d518,_0x504566=0x4,_0x53faaa=new Uint8Array(_0x27d518),new DataView(_0x53faaa['buffer'])['setUint32'](0x0,_0x27d518,!0x1);};return{[Symbol['asyncIterator']]:async function*(){const _0x3bdc03=_0x3a89ef[Symbol['asyncIterator']]();for(;;){const {value:_0x930fb4,done:_0x17b929}=await _0x3bdc03['next']();if(_0x17b929){if(!_0x290856)return;if(_0x290856!==_0x504566)throw new Error('Truncated\x20event\x20message\x20received.');return void(yield _0x53faaa);}const _0x3ea379=_0x930fb4['length'];let _0x2226c2=0x0;for(;_0x2226c2<_0x3ea379;){if(!_0x53faaa){const _0x10ee1a=_0x3ea379-_0x2226c2;_0x500f44||(_0x500f44=new Uint8Array(0x4));const _0x905cd0=Math['min'](0x4-_0x504566,_0x10ee1a);if(_0x500f44['set'](_0x930fb4['slice'](_0x2226c2,_0x2226c2+_0x905cd0),_0x504566),_0x504566+=_0x905cd0,_0x2226c2+=_0x905cd0,_0x504566<0x4)break;_0x619e17(new DataView(_0x500f44['buffer'])['getUint32'](0x0,!0x1)),_0x500f44=null;}const _0x2d7d23=Math['min'](_0x290856-_0x504566,_0x3ea379-_0x2226c2);_0x53faaa['set'](_0x930fb4['slice'](_0x2226c2,_0x2226c2+_0x2d7d23),_0x504566),_0x504566+=_0x2d7d23,_0x2226c2+=_0x2d7d23,_0x290856&&_0x290856===_0x504566&&(yield _0x53faaa,_0x53faaa=null,_0x290856=0x0,_0x504566=0x0);}}}};}function getMessageUnmarshaller(_0x3129e0,_0x94d3a3){return async function(_0x10e4b0){const {value:_0x148e55}=_0x10e4b0['headers'][':message-type'];if('error'===_0x148e55){const _0x6c2e33=new Error(_0x10e4b0['headers'][':error-message']['value']||'UnknownError');throw _0x6c2e33['name']=_0x10e4b0['headers'][':error-code']['value'],_0x6c2e33;}if('exception'===_0x148e55){const _0x54eeaf=_0x10e4b0['headers'][':exception-type']['value'],_0x27faca={[_0x54eeaf]:_0x10e4b0},_0x13a349=await _0x3129e0(_0x27faca);if(_0x13a349['$unknown']){const _0x50872f=new Error(_0x94d3a3(_0x10e4b0['body']));throw _0x50872f['name']=_0x54eeaf,_0x50872f;}throw _0x13a349[_0x54eeaf];}if('event'===_0x148e55){const _0x9ea742={[_0x10e4b0['headers'][':event-type']['value']]:_0x10e4b0},_0x27cf03=await _0x3129e0(_0x9ea742);if(_0x27cf03['$unknown'])return;return _0x27cf03;}throw Error('Unrecognizable\x20event\x20type:\x20'+_0x10e4b0['headers'][':event-type']['value']);};}let EventStreamMarshaller$1=class{constructor({utf8Encoder:_0xf64409,utf8Decoder:_0x560024}){this['eventStreamCodec']=new EventStreamCodec(_0xf64409,_0x560024),this['utfEncoder']=_0xf64409;}['deserialize'](_0x1ea8f3,_0x49a96b){const _0xb497a7=getChunkedStream(_0x1ea8f3);return new SmithyMessageDecoderStream({'messageStream':new MessageDecoderStream({'inputStream':_0xb497a7,'decoder':this['eventStreamCodec']}),'deserializer':getMessageUnmarshaller(_0x49a96b,this['utfEncoder'])});}['serialize'](_0x4de130,_0x1dda27){return new MessageEncoderStream({'messageStream':new SmithyMessageEncoderStream({'inputStream':_0x4de130,'serializer':_0x1dda27}),'encoder':this['eventStreamCodec'],'includeEndFrame':!0x0});}};const readableStreamtoIterable=_0x249134=>({[Symbol['asyncIterator']]:async function*(){const _0x55b047=_0x249134['getReader']();try{for(;;){const {done:_0xd40cc6,value:_0x28b937}=await _0x55b047['read']();if(_0xd40cc6)return;yield _0x28b937;}}finally{_0x55b047['releaseLock']();}}}),iterableToReadableStream=_0x313678=>{const _0x255c6f=_0x313678[Symbol['asyncIterator']]();return new ReadableStream({async 'pull'(_0x43a8e4){const {done:_0x349acf,value:_0x33ba65}=await _0x255c6f['next']();if(_0x349acf)return _0x43a8e4['close']();_0x43a8e4['enqueue'](_0x33ba65);}});};class EventStreamMarshaller{constructor({utf8Encoder:_0x2af1be,utf8Decoder:_0x580184}){this['universalMarshaller']=new EventStreamMarshaller$1({'utf8Decoder':_0x580184,'utf8Encoder':_0x2af1be});}['deserialize'](_0x563042,_0x2e28f4){const _0x19e942=isReadableStream(_0x563042)?readableStreamtoIterable(_0x563042):_0x563042;return this['universalMarshaller']['deserialize'](_0x19e942,_0x2e28f4);}['serialize'](_0x3d14a4,_0x328f04){const _0xccf4fd=this['universalMarshaller']['serialize'](_0x3d14a4,_0x328f04);return'function'==typeof ReadableStream?iterableToReadableStream(_0xccf4fd):_0xccf4fd;}}const isReadableStream=_0x3d7f92=>'function'==typeof ReadableStream&&_0x3d7f92 instanceof ReadableStream,eventStreamSerdeProvider=_0x2243ac=>new EventStreamMarshaller(_0x2243ac),invalidFunction=_0xcdacf2=>()=>{throw new Error(_0xcdacf2);},_0x578d10=_0x17e2a6=>()=>Promise['reject'](_0x17e2a6),_0x51aa47='required',t$1='fn',_0x564578='argv',_0x132d4c='ref',_0x3d62f7=!0x0,_0x17a1e9='isSet',_0x20b221='booleanEquals',_0x520141='error',_0x32d1a9='endpoint',_0x3521a6='tree',_0xff956f='PartitionResult',_0x3f2a87={[_0x51aa47]:!0x1,'type':'String'},_0x403007={[_0x51aa47]:!0x0,'default':!0x1,'type':'Boolean'},_0x448912={[_0x132d4c]:'Endpoint'},_0x1b24c7={[t$1]:_0x20b221,[_0x564578]:[{[_0x132d4c]:'UseFIPS'},!0x0]},_0x53aaee={[t$1]:_0x20b221,[_0x564578]:[{[_0x132d4c]:'UseDualStack'},!0x0]},_0x100a6c={},_0xc8345a={[t$1]:'getAttr',[_0x564578]:[{[_0x132d4c]:_0xff956f},'supportsFIPS']},_0xc8dded={[t$1]:_0x20b221,[_0x564578]:[!0x0,{[t$1]:'getAttr',[_0x564578]:[{[_0x132d4c]:_0xff956f},'supportsDualStack']}]},_0x34004f=[_0x1b24c7],_0x2f3539=[_0x53aaee],_0x24f731=[{[_0x132d4c]:'Region'}],_data={'parameters':{'Region':_0x3f2a87,'UseDualStack':_0x403007,'UseFIPS':_0x403007,'Endpoint':_0x3f2a87},'rules':[{'conditions':[{[t$1]:_0x17a1e9,[_0x564578]:[_0x448912]}],'rules':[{'conditions':_0x34004f,'error':'Invalid\x20Configuration:\x20FIPS\x20and\x20custom\x20endpoint\x20are\x20not\x20supported','type':_0x520141},{'rules':[{'conditions':_0x2f3539,'error':'Invalid\x20Configuration:\x20Dualstack\x20and\x20custom\x20endpoint\x20are\x20not\x20supported','type':_0x520141},{'endpoint':{'url':_0x448912,'properties':_0x100a6c,'headers':_0x100a6c},'type':_0x32d1a9}],'type':_0x3521a6}],'type':_0x3521a6},{'rules':[{'conditions':[{[t$1]:_0x17a1e9,[_0x564578]:_0x24f731}],'rules':[{'conditions':[{[t$1]:'aws.partition',[_0x564578]:_0x24f731,'assign':_0xff956f}],'rules':[{'conditions':[_0x1b24c7,_0x53aaee],'rules':[{'conditions':[{[t$1]:_0x20b221,[_0x564578]:[_0x3d62f7,_0xc8345a]},_0xc8dded],'rules':[{'rules':[{'endpoint':{'url':'https://bedrock-runtime-fips.{Region}.{PartitionResult#dualStackDnsSuffix}','properties':_0x100a6c,'headers':_0x100a6c},'type':_0x32d1a9}],'type':_0x3521a6}],'type':_0x3521a6},{'error':'FIPS\x20and\x20DualStack\x20are\x20enabled,\x20but\x20this\x20partition\x20does\x20not\x20support\x20one\x20or\x20both','type':_0x520141}],'type':_0x3521a6},{'conditions':_0x34004f,'rules':[{'conditions':[{[t$1]:_0x20b221,[_0x564578]:[_0xc8345a,_0x3d62f7]}],'rules':[{'rules':[{'endpoint':{'url':'https://bedrock-runtime-fips.{Region}.{PartitionResult#dnsSuffix}','properties':_0x100a6c,'headers':_0x100a6c},'type':_0x32d1a9}],'type':_0x3521a6}],'type':_0x3521a6},{'error':'FIPS\x20is\x20enabled\x20but\x20this\x20partition\x20does\x20not\x20support\x20FIPS','type':_0x520141}],'type':_0x3521a6},{'conditions':_0x2f3539,'rules':[{'conditions':[_0xc8dded],'rules':[{'rules':[{'endpoint':{'url':'https://bedrock-runtime.{Region}.{PartitionResult#dualStackDnsSuffix}','properties':_0x100a6c,'headers':_0x100a6c},'type':_0x32d1a9}],'type':_0x3521a6}],'type':_0x3521a6},{'error':'DualStack\x20is\x20enabled\x20but\x20this\x20partition\x20does\x20not\x20support\x20DualStack','type':_0x520141}],'type':_0x3521a6},{'rules':[{'endpoint':{'url':'https://bedrock-runtime.{Region}.{PartitionResult#dnsSuffix}','properties':_0x100a6c,'headers':_0x100a6c},'type':_0x32d1a9}],'type':_0x3521a6}],'type':_0x3521a6}],'type':_0x3521a6},{'error':'Invalid\x20Configuration:\x20Missing\x20Region','type':_0x520141}],'type':_0x3521a6}]},ruleSet=_data,_0x406e37=new EndpointCache({'size':0x32,'params':['Endpoint','Region','UseDualStack','UseFIPS']}),defaultEndpointResolver=(_0x205a70,_0x345e98={})=>_0x406e37['get'](_0x205a70,()=>resolveEndpoint(ruleSet,{'endpointParams':_0x205a70,'logger':_0x345e98['logger']}));customEndpointFunctions['aws']=awsEndpointFunctions;const getRuntimeConfig$1=_0x515400=>({'apiVersion':'2023-09-30','base64Decoder':_0x515400?.['base64Decoder']??_0x11bf6f,'base64Encoder':_0x515400?.['base64Encoder']??toBase64,'disableHostPrefix':_0x515400?.['disableHostPrefix']??!0x1,'endpointProvider':_0x515400?.['endpointProvider']??defaultEndpointResolver,'extensions':_0x515400?.['extensions']??[],'httpAuthSchemeProvider':_0x515400?.['httpAuthSchemeProvider']??defaultBedrockRuntimeHttpAuthSchemeProvider,'httpAuthSchemes':_0x515400?.['httpAuthSchemes']??[{'schemeId':'aws.auth#sigv4','identityProvider':_0x2a7195=>_0x2a7195['getIdentityProvider']('aws.auth#sigv4'),'signer':new _0x57d815()}],'logger':_0x515400?.['logger']??new _0x4aafce(),'serviceId':_0x515400?.['serviceId']??'Bedrock\x20Runtime','urlParser':_0x515400?.['urlParser']??_0x44bd35,'utf8Decoder':_0x515400?.['utf8Decoder']??fromUtf8$2,'utf8Encoder':_0x515400?.['utf8Encoder']??toUtf8}),_0x303fcb=['in-region','cross-region','mobile','standard','legacy'],resolveDefaultsModeConfig=({defaultsMode:_0x55dfb3}={})=>_0x434170(async()=>{const _0x143f25='function'==typeof _0x55dfb3?await _0x55dfb3():_0x55dfb3;switch(_0x143f25?.['toLowerCase']()){case'auto':return Promise['resolve'](_0x1271ff()?'mobile':'standard');case'mobile':case'in-region':case'cross-region':case'standard':case'legacy':return Promise['resolve'](_0x143f25?.['toLocaleLowerCase']());case void 0x0:return Promise['resolve']('legacy');default:throw new Error('Invalid\x20parameter\x20for\x20\x22defaultsMode\x22,\x20expect\x20'+_0x303fcb['join'](',\x20')+',\x20got\x20'+_0x143f25);}}),_0x1271ff=()=>{const _0x62a169='undefined'!=typeof window&&window?.['navigator']?.['userAgent']?es5Exports['parse'](window['navigator']['userAgent']):void 0x0,_0x12a845=_0x62a169?.['platform']?.['type'];return'tablet'===_0x12a845||'mobile'===_0x12a845;},getRuntimeConfig=_0x525e5b=>{const _0x20c0c2=resolveDefaultsModeConfig(_0x525e5b),_0x2c0d33=()=>_0x20c0c2()['then'](loadConfigsForDefaultMode),_0x4ce1a3=getRuntimeConfig$1(_0x525e5b);return{..._0x4ce1a3,..._0x525e5b,'runtime':'browser','defaultsMode':_0x20c0c2,'bodyLengthChecker':_0x525e5b?.['bodyLengthChecker']??calculateBodyLength,'credentialDefaultProvider':_0x525e5b?.['credentialDefaultProvider']??(_0x43854f=>()=>Promise['reject'](new Error('Credential\x20is\x20missing'))),'defaultUserAgentProvider':_0x525e5b?.['defaultUserAgentProvider']??createDefaultUserAgentProvider({'serviceId':_0x4ce1a3['serviceId'],'clientVersion':_0x274383['version']}),'eventStreamPayloadHandlerProvider':_0x525e5b?.['eventStreamPayloadHandlerProvider']??(()=>({'handle':invalidFunction('event\x20stream\x20request\x20is\x20not\x20supported\x20in\x20browser.')})),'eventStreamSerdeProvider':_0x525e5b?.['eventStreamSerdeProvider']??eventStreamSerdeProvider,'maxAttempts':_0x525e5b?.['maxAttempts']??_0x124a07,'region':_0x525e5b?.['region']??_0x578d10('Region\x20is\x20missing'),'requestHandler':FetchHttpHandler['create'](_0x525e5b?.['requestHandler']??_0x2c0d33),'retryMode':_0x525e5b?.['retryMode']??(async()=>(await _0x2c0d33())['retryMode']||_0x35d5ca),'sha256':_0x525e5b?.['sha256']??_0x567642,'streamCollector':_0x525e5b?.['streamCollector']??streamCollector,'useDualstackEndpoint':_0x525e5b?.['useDualstackEndpoint']??(()=>Promise['resolve'](_0x210d13)),'useFipsEndpoint':_0x525e5b?.['useFipsEndpoint']??(()=>Promise['resolve'](_0x15cff8))};},getAwsRegionExtensionConfiguration=_0x469c0c=>({'setRegion'(_0x22748b){_0x469c0c['region']=_0x22748b;},'region':()=>_0x469c0c['region']}),resolveAwsRegionExtensionConfiguration=_0x18f155=>({'region':_0x18f155['region']()}),getHttpAuthExtensionConfiguration=_0x1a8e7c=>{const _0x4e7de2=_0x1a8e7c['httpAuthSchemes'];let _0x481717=_0x1a8e7c['httpAuthSchemeProvider'],_0x2bd523=_0x1a8e7c['credentials'];return{'setHttpAuthScheme'(_0x300054){const _0x5f3525=_0x4e7de2['findIndex'](_0x2c04e6=>_0x2c04e6['schemeId']===_0x300054['schemeId']);-0x1===_0x5f3525?_0x4e7de2['push'](_0x300054):_0x4e7de2['splice'](_0x5f3525,0x1,_0x300054);},'httpAuthSchemes':()=>_0x4e7de2,'setHttpAuthSchemeProvider'(_0x5602b1){_0x481717=_0x5602b1;},'httpAuthSchemeProvider':()=>_0x481717,'setCredentials'(_0x423fa5){_0x2bd523=_0x423fa5;},'credentials':()=>_0x2bd523};},resolveHttpAuthRuntimeConfig=_0x402b80=>({'httpAuthSchemes':_0x402b80['httpAuthSchemes'](),'httpAuthSchemeProvider':_0x402b80['httpAuthSchemeProvider'](),'credentials':_0x402b80['credentials']()}),resolveRuntimeExtensions=(_0x512d1e,_0x4d9e50)=>{const _0x4b70cb=Object['assign'](getAwsRegionExtensionConfiguration(_0x512d1e),getDefaultExtensionConfiguration(_0x512d1e),getHttpHandlerExtensionConfiguration(_0x512d1e),getHttpAuthExtensionConfiguration(_0x512d1e));return _0x4d9e50['forEach'](_0x120fd4=>_0x120fd4['configure'](_0x4b70cb)),Object['assign'](_0x512d1e,resolveAwsRegionExtensionConfiguration(_0x4b70cb),resolveDefaultRuntimeConfig(_0x4b70cb),resolveHttpHandlerRuntimeConfig(_0x4b70cb),resolveHttpAuthRuntimeConfig(_0x4b70cb));};class BedrockRuntimeClient extends Client{['config'];constructor(...[_0x1da967]){const _0x19542a=getRuntimeConfig(_0x1da967||{});super(_0x19542a),this['initConfig']=_0x19542a;const _0x37d878=resolveUserAgentConfig(resolveClientEndpointParameters(_0x19542a)),_0x2de741=resolveRetryConfig(_0x37d878),_0x18fe3e=resolveHostHeaderConfig(_0x2b3ffe(_0x2de741)),_0x5cb3a8=resolveEndpointConfig(_0x18fe3e),_0x1d7dab=resolveEventStreamSerdeConfig(_0x5cb3a8),_0x24be1b=resolveEventStreamConfig(resolveHttpAuthSchemeConfig(_0x1d7dab)),_0x4f3798=resolveRuntimeExtensions(_0x24be1b,_0x1da967?.['extensions']||[]);this['config']=_0x4f3798,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 _0x3e19b5=>new DefaultIdentityProviderConfig({'aws.auth#sigv4':_0x3e19b5['credentials']})})),this['middlewareStack']['use'](getHttpSigningPlugin(this['config']));}['destroy'](){super['destroy']();}}class BedrockRuntimeServiceException extends ServiceException{constructor(_0x136d33){super(_0x136d33),Object['setPrototypeOf'](this,BedrockRuntimeServiceException['prototype']);}}class AccessDeniedException extends BedrockRuntimeServiceException{['name']='AccessDeniedException';['$fault']='client';constructor(_0xbf9809){super({'name':'AccessDeniedException','$fault':'client',..._0xbf9809}),Object['setPrototypeOf'](this,AccessDeniedException['prototype']);}}var AsyncInvokeOutputDataConfig,_0x204a63,GuardrailContentBlock,DocumentSource,_0x5b5486,GuardrailConverseContentBlock,_0x302b2c,ReasoningContentBlock,_0x53a65f,ToolResultContentBlock,ContentBlock,PromptVariableValues,SystemContentBlock,_0x50b76b,ToolInputSchema,_0x2282b4,ConverseOutput,ReasoningContentBlockDelta,ContentBlockDelta,ContentBlockStart,ConverseStreamOutput,InvokeModelWithBidirectionalStreamInput,InvokeModelWithBidirectionalStreamOutput,ResponseStream;!function(_0x200f48){_0x200f48['visit']=(_0x2d9e98,_0x9d8712)=>void 0x0!==_0x2d9e98['s3OutputDataConfig']?_0x9d8712['s3OutputDataConfig'](_0x2d9e98['s3OutputDataConfig']):_0x9d8712['_'](_0x2d9e98['$unknown'][0x0],_0x2d9e98['$unknown'][0x1]);}(AsyncInvokeOutputDataConfig||(AsyncInvokeOutputDataConfig={}));class InternalServerException extends BedrockRuntimeServiceException{['name']='InternalServerException';['$fault']='server';constructor(_0x34dbc3){super({'name':'InternalServerException','$fault':'server',..._0x34dbc3}),Object['setPrototypeOf'](this,InternalServerException['prototype']);}}class ThrottlingException extends BedrockRuntimeServiceException{['name']='ThrottlingException';['$fault']='client';constructor(_0x2afeed){super({'name':'ThrottlingException','$fault':'client',..._0x2afeed}),Object['setPrototypeOf'](this,ThrottlingException['prototype']);}}class ValidationException extends BedrockRuntimeServiceException{['name']='ValidationException';['$fault']='client';constructor(_0x2f2848){super({'name':'ValidationException','$fault':'client',..._0x2f2848}),Object['setPrototypeOf'](this,ValidationException['prototype']);}}class ConflictException extends BedrockRuntimeServiceException{['name']='ConflictException';['$fault']='client';constructor(_0x1468b8){super({'name':'ConflictException','$fault':'client',..._0x1468b8}),Object['setPrototypeOf'](this,ConflictException['prototype']);}}class ResourceNotFoundException extends BedrockRuntimeServiceException{['name']='ResourceNotFoundException';['$fault']='client';constructor(_0x1ece5a){super({'name':'ResourceNotFoundException','$fault':'client',..._0x1ece5a}),Object['setPrototypeOf'](this,ResourceNotFoundException['prototype']);}}class ServiceQuotaExceededException extends BedrockRuntimeServiceException{['name']='ServiceQuotaExceededException';['$fault']='client';constructor(_0x45dcd4){super({'name':'ServiceQuotaExceededException','$fault':'client',..._0x45dcd4}),Object['setPrototypeOf'](this,ServiceQuotaExceededException['prototype']);}}class ServiceUnavailableException extends BedrockRuntimeServiceException{['name']='ServiceUnavailableException';['$fault']='server';constructor(_0x3db6e4){super({'name':'ServiceUnavailableException','$fault':'server',..._0x3db6e4}),Object['setPrototypeOf'](this,ServiceUnavailableException['prototype']);}}!function(_0x43130c){_0x43130c['visit']=(_0x5f35fc,_0x1a74a4)=>void 0x0!==_0x5f35fc['bytes']?_0x1a74a4['bytes'](_0x5f35fc['bytes']):_0x1a74a4['_'](_0x5f35fc['$unknown'][0x0],_0x5f35fc['$unknown'][0x1]);}(_0x204a63||(_0x204a63={})),function(_0x42c1d2){_0x42c1d2['visit']=(_0x18bea9,_0x44153f)=>void 0x0!==_0x18bea9['text']?_0x44153f['text'](_0x18bea9['text']):void 0x0!==_0x18bea9['image']?_0x44153f['image'](_0x18bea9['image']):_0x44153f['_'](_0x18bea9['$unknown'][0x0],_0x18bea9['$unknown'][0x1]);}(GuardrailContentBlock||(GuardrailContentBlock={})),function(_0x2b34bf){_0x2b34bf['visit']=(_0x2209b4,_0x5efdd3)=>void 0x0!==_0x2209b4['bytes']?_0x5efdd3['bytes'](_0x2209b4['bytes']):void 0x0!==_0x2209b4['s3Location']?_0x5efdd3['s3Location'](_0x2209b4['s3Location']):_0x5efdd3['_'](_0x2209b4['$unknown'][0x0],_0x2209b4['$unknown'][0x1]);}(DocumentSource||(DocumentSource={})),function(_0x598ea2){_0x598ea2['visit']=(_0x25df9e,_0x356fcd)=>void 0x0!==_0x25df9e['bytes']?_0x356fcd['bytes'](_0x25df9e['bytes']):_0x356fcd['_'](_0x25df9e['$unknown'][0x0],_0x25df9e['$unknown'][0x1]);}(_0x5b5486||(_0x5b5486={})),function(_0x4726e6){_0x4726e6['visit']=(_0x23c99a,_0xa34bcc)=>void 0x0!==_0x23c99a['text']?_0xa34bcc['text'](_0x23c99a['text']):void 0x0!==_0x23c99a['image']?_0xa34bcc['image'](_0x23c99a['image']):_0xa34bcc['_'](_0x23c99a['$unknown'][0x0],_0x23c99a['$unknown'][0x1]);}(GuardrailConverseContentBlock||(GuardrailConverseContentBlock={})),function(_0x203fcc){_0x203fcc['visit']=(_0x4429c2,_0x5d46ad)=>void 0x0!==_0x4429c2['bytes']?_0x5d46ad['bytes'](_0x4429c2['bytes']):void 0x0!==_0x4429c2['s3Location']?_0x5d46ad['s3Location'](_0x4429c2['s3Location']):_0x5d46ad['_'](_0x4429c2['$unknown'][0x0],_0x4429c2['$unknown'][0x1]);}(_0x302b2c||(_0x302b2c={})),function(_0x55f15e){_0x55f15e['visit']=(_0x2362ed,_0x5320ad)=>void 0x0!==_0x2362ed['reasoningText']?_0x5320ad['reasoningText'](_0x2362ed['reasoningText']):void 0x0!==_0x2362ed['redactedContent']?_0x5320ad['redactedContent'](_0x2362ed['redactedContent']):_0x5320ad['_'](_0x2362ed['$unknown'][0x0],_0x2362ed['$unknown'][0x1]);}(ReasoningContentBlock||(ReasoningContentBlock={})),function(_0x192161){_0x192161['visit']=(_0x1fac12,_0x17e901)=>void 0x0!==_0x1fac12['bytes']?_0x17e901['bytes'](_0x1fac12['bytes']):void 0x0!==_0x1fac12['s3Location']?_0x17e901['s3Location'](_0x1fac12['s3Location']):_0x17e901['_'](_0x1fac12['$unknown'][0x0],_0x1fac12['$unknown'][0x1]);}(_0x53a65f||(_0x53a65f={})),function(_0x4f9471){_0x4f9471['visit']=(_0x215376,_0x10af4a)=>void 0x0!==_0x215376['json']?_0x10af4a['json'](_0x215376['json']):void 0x0!==_0x215376['text']?_0x10af4a['text'](_0x215376['text']):void 0x0!==_0x215376['image']?_0x10af4a['image'](_0x215376['image']):void 0x0!==_0x215376['document']?_0x10af4a['document'](_0x215376['document']):void 0x0!==_0x215376['video']?_0x10af4a['video'](_0x215376['video']):_0x10af4a['_'](_0x215376['$unknown'][0x0],_0x215376['$unknown'][0x1]);}(ToolResultContentBlock||(ToolResultContentBlock={})),function(_0x2b5caf){_0x2b5caf['visit']=(_0x243adb,_0x465863)=>void 0x0!==_0x243adb['text']?_0x465863['text'](_0x243adb['text']):void 0x0!==_0x243adb['image']?_0x465863['image'](_0x243adb['image']):void 0x0!==_0x243adb['document']?_0x465863['document'](_0x243adb['document']):void 0x0!==_0x243adb['video']?_0x465863['video'](_0x243adb['video']):void 0x0!==_0x243adb['toolUse']?_0x465863['toolUse'](_0x243adb['toolUse']):void 0x0!==_0x243adb['toolResult']?_0x465863['toolResult'](_0x243adb['toolResult']):void 0x0!==_0x243adb['guardContent']?_0x465863['guardContent'](_0x243adb['guardContent']):void 0x0!==_0x243adb['cachePoint']?_0x465863['cachePoint'](_0x243adb['cachePoint']):void 0x0!==_0x243adb['reasoningContent']?_0x465863['reasoningContent'](_0x243adb['reasoningContent']):_0x465863['_'](_0x243adb['$unknown'][0x0],_0x243adb['$unknown'][0x1]);}(ContentBlock||(ContentBlock={})),function(_0x9146d1){_0x9146d1['visit']=(_0x49f90b,_0x7138f8)=>void 0x0!==_0x49f90b['text']?_0x7138f8['text'](_0x49f90b['text']):_0x7138f8['_'](_0x49f90b['$unknown'][0x0],_0x49f90b['$unknown'][0x1]);}(PromptVariableValues||(PromptVariableValues={})),function(_0x3f513f){_0x3f513f['visit']=(_0x46155c,_0x54d5e2)=>void 0x0!==_0x46155c['text']?_0x54d5e2['text'](_0x46155c['text']):void 0x0!==_0x46155c['guardContent']?_0x54d5e2['guardContent'](_0x46155c['guardContent']):void 0x0!==_0x46155c['cachePoint']?_0x54d5e2['cachePoint'](_0x46155c['cachePoint']):_0x54d5e2['_'](_0x46155c['$unknown'][0x0],_0x46155c['$unknown'][0x1]);}(SystemContentBlock||(SystemContentBlock={})),function(_0x58ba13){_0x58ba13['visit']=(_0x338581,_0x356b56)=>void 0x0!==_0x338581['auto']?_0x356b56['auto'](_0x338581['auto']):void 0x0!==_0x338581['any']?_0x356b56['any'](_0x338581['any']):void 0x0!==_0x338581['tool']?_0x356b56['tool'](_0x338581['tool']):_0x356b56['_'](_0x338581['$unknown'][0x0],_0x338581['$unknown'][0x1]);}(_0x50b76b||(_0x50b76b={})),function(_0x2ddc4d){_0x2ddc4d['visit']=(_0x22fc38,_0x55fbcb)=>void 0x0!==_0x22fc38['json']?_0x55fbcb['json'](_0x22fc38['json']):_0x55fbcb['_'](_0x22fc38['$unknown'][0x0],_0x22fc38['$unknown'][0x1]);}(ToolInputSchema||(ToolInputSchema={})),function(_0x1e3a56){_0x1e3a56['visit']=(_0x4865a7,_0x3290a5)=>void 0x0!==_0x4865a7['toolSpec']?_0x3290a5['toolSpec'](_0x4865a7['toolSpec']):void 0x0!==_0x4865a7['cachePoint']?_0x3290a5['cachePoint'](_0x4865a7['cachePoint']):_0x3290a5['_'](_0x4865a7['$unknown'][0x0],_0x4865a7['$unknown'][0x1]);}(_0x2282b4||(_0x2282b4={})),function(_0x39e79b){_0x39e79b['visit']=(_0x197667,_0x1739d1)=>void 0x0!==_0x197667['message']?_0x1739d1['message'](_0x197667['message']):_0x1739d1['_'](_0x197667['$unknown'][0x0],_0x197667['$unknown'][0x1]);}(ConverseOutput||(ConverseOutput={}));class ModelErrorException extends BedrockRuntimeServiceException{['name']='ModelErrorException';['$fault']='client';['originalStatusCode'];['resourceName'];constructor(_0x3f8f86){super({'name':'ModelErrorException','$fault':'client',..._0x3f8f86}),Object['setPrototypeOf'](this,ModelErrorException['prototype']),this['originalStatusCode']=_0x3f8f86['originalStatusCode'],this['resourceName']=_0x3f8f86['resourceName'];}}class ModelNotReadyException extends BedrockRuntimeServiceException{['name']='ModelNotReadyException';['$fault']='client';['$retryable']={};constructor(_0x1fb87b){super({'name':'ModelNotReadyException','$fault':'client',..._0x1fb87b}),Object['setPrototypeOf'](this,ModelNotReadyException['prototype']);}}class ModelTimeoutException extends BedrockRuntimeServiceException{['name']='ModelTimeoutException';['$fault']='client';constructor(_0x157a51){super({'name':'ModelTimeoutException','$fault':'client',..._0x157a51}),Object['setPrototypeOf'](this,ModelTimeoutException['prototype']);}}!function(_0x496b2b){_0x496b2b['visit']=(_0x59c2fc,_0x136c42)=>void 0x0!==_0x59c2fc['text']?_0x136c42['text'](_0x59c2fc['text']):void 0x0!==_0x59c2fc['redactedContent']?_0x136c42['redactedContent'](_0x59c2fc['redactedContent']):void 0x0!==_0x59c2fc['signature']?_0x136c42['signature'](_0x59c2fc['signature']):_0x136c42['_'](_0x59c2fc['$unknown'][0x0],_0x59c2fc['$unknown'][0x1]);}(ReasoningContentBlockDelta||(ReasoningContentBlockDelta={})),function(_0x4c1404){_0x4c1404['visit']=(_0x4613d4,_0x2aa7a6)=>void 0x0!==_0x4613d4['text']?_0x2aa7a6['text'](_0x4613d4['text']):void 0x0!==_0x4613d4['toolUse']?_0x2aa7a6['toolUse'](_0x4613d4['toolUse']):void 0x0!==_0x4613d4['reasoningContent']?_0x2aa7a6['reasoningContent'](_0x4613d4['reasoningContent']):_0x2aa7a6['_'](_0x4613d4['$unknown'][0x0],_0x4613d4['$unknown'][0x1]);}(ContentBlockDelta||(ContentBlockDelta={})),function(_0x3110e1){_0x3110e1['visit']=(_0x3772d5,_0x9dfdd4)=>void 0x0!==_0x3772d5['toolUse']?_0x9dfdd4['toolUse'](_0x3772d5['toolUse']):_0x9dfdd4['_'](_0x3772d5['$unknown'][0x0],_0x3772d5['$unknown'][0x1]);}(ContentBlockStart||(ContentBlockStart={}));class ModelStreamErrorException extends BedrockRuntimeServiceException{['name']='ModelStreamErrorException';['$fault']='client';['originalStatusCode'];['originalMessage'];constructor(_0x2428de){super({'name':'ModelStreamErrorException','$fault':'client',..._0x2428de}),Object['setPrototypeOf'](this,ModelStreamErrorException['prototype']),this['originalStatusCode']=_0x2428de['originalStatusCode'],this['originalMessage']=_0x2428de['originalMessage'];}}!function(_0x454a65){_0x454a65['visit']=(_0x492c5c,_0x5df054)=>void 0x0!==_0x492c5c['messageStart']?_0x5df054['messageStart'](_0x492c5c['messageStart']):void 0x0!==_0x492c5c['contentBlockStart']?_0x5df054['contentBlockStart'](_0x492c5c['contentBlockStart']):void 0x0!==_0x492c5c['contentBlockDelta']?_0x5df054['contentBlockDelta'](_0x492c5c['contentBlockDelta']):void 0x0!==_0x492c5c['contentBlockStop']?_0x5df054['contentBlockStop'](_0x492c5c['contentBlockStop']):void 0x0!==_0x492c5c['messageStop']?_0x5df054['messageStop'](_0x492c5c['messageStop']):void 0x0!==_0x492c5c['metadata']?_0x5df054['metadata'](_0x492c5c['metadata']):void 0x0!==_0x492c5c['internalServerException']?_0x5df054['internalServerException'](_0x492c5c['internalServerException']):void 0x0!==_0x492c5c['modelStreamErrorException']?_0x5df054['modelStreamErrorException'](_0x492c5c['modelStreamErrorException']):void 0x0!==_0x492c5c['validationException']?_0x5df054['validationException'](_0x492c5c['validationException']):void 0x0!==_0x492c5c['throttlingException']?_0x5df054['throttlingException'](_0x492c5c['throttlingException']):void 0x0!==_0x492c5c['serviceUnavailableException']?_0x5df054['serviceUnavailableException'](_0x492c5c['serviceUnavailableException']):_0x5df054['_'](_0x492c5c['$unknown'][0x0],_0x492c5c['$unknown'][0x1]);}(ConverseStreamOutput||(ConverseStreamOutput={})),function(_0x3d3d2a){_0x3d3d2a['visit']=(_0x261c4c,_0x102009)=>void 0x0!==_0x261c4c['chunk']?_0x102009['chunk'](_0x261c4c['chunk']):_0x102009['_'](_0x261c4c['$unknown'][0x0],_0x261c4c['$unknown'][0x1]);}(InvokeModelWithBidirectionalStreamInput||(InvokeModelWithBidirectionalStreamInput={})),function(_0x5f4c9b){_0x5f4c9b['visit']=(_0x38386c,_0x2c4fe6)=>void 0x0!==_0x38386c['chunk']?_0x2c4fe6['chunk'](_0x38386c['chunk']):void 0x0!==_0x38386c['internalServerException']?_0x2c4fe6['internalServerException'](_0x38386c['internalServerException']):void 0x0!==_0x38386c['modelStreamErrorException']?_0x2c4fe6['modelStreamErrorException'](_0x38386c['modelStreamErrorException']):void 0x0!==_0x38386c['validationException']?_0x2c4fe6['validationException'](_0x38386c['validationException']):void 0x0!==_0x38386c['throttlingException']?_0x2c4fe6['throttlingException'](_0x38386c['throttlingException']):void 0x0!==_0x38386c['modelTimeoutException']?_0x2c4fe6['modelTimeoutException'](_0x38386c['modelTimeoutException']):void 0x0!==_0x38386c['serviceUnavailableException']?_0x2c4fe6['serviceUnavailableException'](_0x38386c['serviceUnavailableException']):_0x2c4fe6['_'](_0x38386c['$unknown'][0x0],_0x38386c['$unknown'][0x1]);}(InvokeModelWithBidirectionalStreamOutput||(InvokeModelWithBidirectionalStreamOutput={})),function(_0x5126ac){_0x5126ac['visit']=(_0x5ad28a,_0x1f4eba)=>void 0x0!==_0x5ad28a['chunk']?_0x1f4eba['chunk'](_0x5ad28a['chunk']):void 0x0!==_0x5ad28a['internalServerException']?_0x1f4eba['internalServerException'](_0x5ad28a['internalServerException']):void 0x0!==_0x5ad28a['modelStreamErrorException']?_0x1f4eba['modelStreamErrorException'](_0x5ad28a['modelStreamErrorException']):void 0x0!==_0x5ad28a['validationException']?_0x1f4eba['validationException'](_0x5ad28a['validationException']):void 0x0!==_0x5ad28a['throttlingException']?_0x1f4eba['throttlingException'](_0x5ad28a['throttlingException']):void 0x0!==_0x5ad28a['modelTimeoutException']?_0x1f4eba['modelTimeoutException'](_0x5ad28a['modelTimeoutException']):void 0x0!==_0x5ad28a['serviceUnavailableException']?_0x1f4eba['serviceUnavailableException'](_0x5ad28a['serviceUnavailableException']):_0x1f4eba['_'](_0x5ad28a['$unknown'][0x0],_0x5ad28a['$unknown'][0x1]);}(ResponseStream||(ResponseStream={}));const InvokeModelRequestFilterSensitiveLog=_0x3a5efb=>({..._0x3a5efb,..._0x3a5efb['body']&&{'body':_0x3dbab3}}),InvokeModelResponseFilterSensitiveLog=_0x58381d=>({..._0x58381d,..._0x58381d['body']&&{'body':_0x3dbab3}}),InvokeModelWithResponseStreamRequestFilterSensitiveLog=_0x9220cb=>({..._0x9220cb,..._0x9220cb['body']&&{'body':_0x3dbab3}}),InvokeModelWithResponseStreamResponseFilterSensitiveLog=_0x4aa594=>({..._0x4aa594,..._0x4aa594['body']&&{'body':'STREAMING_CONTENT'}}),_0x15bcbc=async(_0x46f843,_0x35f988)=>{const _0x333b49=requestBuilder(_0x46f843,_0x35f988),_0x87d7f0=_0x298558({},_0x84e3c8,{[_ct]:_0x46f843[_0x1ab3b8]||'application/octet-stream',[_0xf04273]:_0x46f843[_0xf04273],[_xabt]:_0x46f843[_t],[_0x413627]:_0x46f843[_0x3eb659],[_0x997628]:_0x46f843[_0x3d652a],[_0x45c036]:_0x46f843[_0x5ec669]});let _0x2a7101;return _0x333b49['bp']('/model/{modelId}/invoke'),_0x333b49['p']('modelId',()=>_0x46f843['modelId'],'{modelId}',!0x1),void 0x0!==_0x46f843['body']&&(_0x2a7101=_0x46f843['body']),_0x333b49['m']('POST')['h'](_0x87d7f0)['b'](_0x2a7101),_0x333b49['build']();},se_InvokeModelWithResponseStreamCommand=async(_0x8a600a,_0x15ae07)=>{const _0x5797e4=requestBuilder(_0x8a600a,_0x15ae07),_0x536990=_0x298558({},_0x84e3c8,{[_ct]:_0x8a600a[_0x1ab3b8]||'application/octet-stream',[_0x707367]:_0x8a600a[_0xf04273],[_xabt]:_0x8a600a[_t],[_0x413627]:_0x8a600a[_0x3eb659],[_0x997628]:_0x8a600a[_0x3d652a],[_0x45c036]:_0x8a600a[_0x5ec669]});let _0x397792;return _0x5797e4['bp']('/model/{modelId}/invoke-with-response-stream'),_0x5797e4['p']('modelId',()=>_0x8a600a['modelId'],'{modelId}',!0x1),void 0x0!==_0x8a600a['body']&&(_0x397792=_0x8a600a['body']),_0x5797e4['m']('POST')['h'](_0x536990)['b'](_0x397792),_0x5797e4['build']();},_0x550f79=async(_0x3c712b,_0x3973c8)=>{if(0xc8!==_0x3c712b['statusCode']&&_0x3c712b['statusCode']>=0x12c)return _0x10ccdd(_0x3c712b,_0x3973c8);const _0x5a34e3=_0x298558({'$metadata':deserializeMetadata(_0x3c712b),[_0x1ab3b8]:[,_0x3c712b['headers'][_ct]],[_0x5ec669]:[,_0x3c712b['headers'][_0x45c036]]}),_0x2afaff=await collectBody(_0x3c712b['body'],_0x3973c8);return _0x5a34e3['body']=_0x2afaff,_0x5a34e3;},de_InvokeModelWithResponseStreamCommand=async(_0x4d8932,_0x2e4307)=>{if(0xc8!==_0x4d8932['statusCode']&&_0x4d8932['statusCode']>=0x12c)return _0x10ccdd(_0x4d8932,_0x2e4307);const _0x2310a3=_0x298558({'$metadata':deserializeMetadata(_0x4d8932),[_0x1ab3b8]:[,_0x4d8932['headers'][_xabct]],[_0x5ec669]:[,_0x4d8932['headers'][_0x45c036]]}),_0x3cfd0e=_0x4d8932['body'];return _0x2310a3['body']=de_ResponseStream(_0x3cfd0e,_0x2e4307),_0x2310a3;},_0x10ccdd=async(_0x1510e2,_0x52461b)=>{const _0x21d7af={..._0x1510e2,'body':await _0x5e7110(_0x1510e2['body'],_0x52461b)},_0x41b766=loadRestJsonErrorCode(_0x1510e2,_0x21d7af['body']);switch(_0x41b766){case'AccessDeniedException':case'com.amazonaws.bedrockruntime#AccessDeniedException':throw await de_AccessDeniedExceptionRes(_0x21d7af);case'InternalServerException':case'com.amazonaws.bedrockruntime#InternalServerException':throw await de_InternalServerExceptionRes(_0x21d7af);case'ResourceNotFoundException':case'com.amazonaws.bedrockruntime#ResourceNotFoundException':throw await de_ResourceNotFoundExceptionRes(_0x21d7af);case'ServiceQuotaExceededException':case'com.amazonaws.bedrockruntime#ServiceQuotaExceededException':throw await de_ServiceQuotaExceededExceptionRes(_0x21d7af);case'ThrottlingException':case'com.amazonaws.bedrockruntime#ThrottlingException':throw await de_ThrottlingExceptionRes(_0x21d7af);case'ValidationException':case'com.amazonaws.bedrockruntime#ValidationException':throw await de_ValidationExceptionRes(_0x21d7af);case'ModelErrorException':case'com.amazonaws.bedrockruntime#ModelErrorException':throw await de_ModelErrorExceptionRes(_0x21d7af);case'ModelNotReadyException':case'com.amazonaws.bedrockruntime#ModelNotReadyException':throw await de_ModelNotReadyExceptionRes(_0x21d7af);case'ModelTimeoutException':case'com.amazonaws.bedrockruntime#ModelTimeoutException':throw await de_ModelTimeoutExceptionRes(_0x21d7af);case'ServiceUnavailableException':case'com.amazonaws.bedrockruntime#ServiceUnavailableException':throw await de_ServiceUnavailableExceptionRes(_0x21d7af);case'ModelStreamErrorException':case'com.amazonaws.bedrockruntime#ModelStreamErrorException':throw await de_ModelStreamErrorExceptionRes(_0x21d7af);case'ConflictException':case'com.amazonaws.bedrockruntime#ConflictException':throw await de_ConflictExceptionRes(_0x21d7af);default:const _0x44ef67=_0x21d7af['body'];return throwDefaultError({'output':_0x1510e2,'parsedBody':_0x44ef67,'errorCode':_0x41b766});}},throwDefaultError=withBaseException(BedrockRuntimeServiceException),de_AccessDeniedExceptionRes=async(_0x3953c4,_0x10ef3e)=>{const _0x16a90a=_0x298558({}),_0x4b49ba=_0x3953c4['body'],_0x25ef27=take(_0x4b49ba,{'message':expectString});Object['assign'](_0x16a90a,_0x25ef27);const _0x3a331d=new AccessDeniedException({'$metadata':deserializeMetadata(_0x3953c4),..._0x16a90a});return decorateServiceException(_0x3a331d,_0x3953c4['body']);},de_ConflictExceptionRes=async(_0x509426,_0x439f3d)=>{const _0x60912d=_0x298558({}),_0x584670=_0x509426['body'],_0x2b61d6=take(_0x584670,{'message':expectString});Object['assign'](_0x60912d,_0x2b61d6);const _0x3ccaa5=new ConflictException({'$metadata':deserializeMetadata(_0x509426),..._0x60912d});return decorateServiceException(_0x3ccaa5,_0x509426['body']);},de_InternalServerExceptionRes=async(_0x393554,_0x3addbe)=>{const _0x3d1e78=_0x298558({}),_0x3263bd=_0x393554['body'],_0x5f1e0d=take(_0x3263bd,{'message':expectString});Object['assign'](_0x3d1e78,_0x5f1e0d);const _0x39229a=new InternalServerException({'$metadata':deserializeMetadata(_0x393554),..._0x3d1e78});return decorateServiceException(_0x39229a,_0x393554['body']);},de_ModelErrorExceptionRes=async(_0x2de101,_0x3d4d76)=>{const _0xc797af=_0x298558({}),_0xb5ed6f=_0x2de101['body'],_0x59eb6d=take(_0xb5ed6f,{'message':expectString,'originalStatusCode':expectInt32,'resourceName':expectString});Object['assign'](_0xc797af,_0x59eb6d);const _0x154464=new ModelErrorException({'$metadata':deserializeMetadata(_0x2de101),..._0xc797af});return decorateServiceException(_0x154464,_0x2de101['body']);},de_ModelNotReadyExceptionRes=async(_0x5060c7,_0x100e4c)=>{const _0x5eeb3f=_0x298558({}),_0x28d33c=_0x5060c7['body'],_0x1bd3c3=take(_0x28d33c,{'message':expectString});Object['assign'](_0x5eeb3f,_0x1bd3c3);const _0x303af0=new ModelNotReadyException({'$metadata':deserializeMetadata(_0x5060c7),..._0x5eeb3f});return decorateServiceException(_0x303af0,_0x5060c7['body']);},de_ModelStreamErrorExceptionRes=async(_0x5b12dc,_0x1c799e)=>{const _0x1d3cf5=_0x298558({}),_0x2f09b6=_0x5b12dc['body'],_0x3b515e=take(_0x2f09b6,{'message':expectString,'originalMessage':expectString,'originalStatusCode':expectInt32});Object['assign'](_0x1d3cf5,_0x3b515e);const _0x222e0d=new ModelStreamErrorException({'$metadata':deserializeMetadata(_0x5b12dc),..._0x1d3cf5});return decorateServiceException(_0x222e0d,_0x5b12dc['body']);},de_ModelTimeoutExceptionRes=async(_0x9de1ce,_0x48ff69)=>{const _0x187069=_0x298558({}),_0x2a5f42=_0x9de1ce['body'],_0x150575=take(_0x2a5f42,{'message':expectString});Object['assign'](_0x187069,_0x150575);const _0x3ff9c4=new ModelTimeoutException({'$metadata':deserializeMetadata(_0x9de1ce),..._0x187069});return decorateServiceException(_0x3ff9c4,_0x9de1ce['body']);},de_ResourceNotFoundExceptionRes=async(_0x66f18c,_0x14b265)=>{const _0x57dd79=_0x298558({}),_0x5730d2=_0x66f18c['body'],_0x3b2a47=take(_0x5730d2,{'message':expectString});Object['assign'](_0x57dd79,_0x3b2a47);const _0x58c8b3=new ResourceNotFoundException({'$metadata':deserializeMetadata(_0x66f18c),..._0x57dd79});return decorateServiceException(_0x58c8b3,_0x66f18c['body']);},de_ServiceQuotaExceededExceptionRes=async(_0x4a492d,_0x44f8d7)=>{const _0x532ca2=_0x298558({}),_0x16f16d=_0x4a492d['body'],_0x42ee5b=take(_0x16f16d,{'message':expectString});Object['assign'](_0x532ca2,_0x42ee5b);const _0x45654a=new ServiceQuotaExceededException({'$metadata':deserializeMetadata(_0x4a492d),..._0x532ca2});return decorateServiceException(_0x45654a,_0x4a492d['body']);},de_ServiceUnavailableExceptionRes=async(_0x57cb37,_0x50accd)=>{const _0x2f821a=_0x298558({}),_0x538e2f=_0x57cb37['body'],_0x4f45b9=take(_0x538e2f,{'message':expectString});Object['assign'](_0x2f821a,_0x4f45b9);const _0x5bdd97=new ServiceUnavailableException({'$metadata':deserializeMetadata(_0x57cb37),..._0x2f821a});return decorateServiceException(_0x5bdd97,_0x57cb37['body']);},de_ThrottlingExceptionRes=async(_0x448d34,_0x1ce535)=>{const _0x31b9cd=_0x298558({}),_0x14019d=_0x448d34['body'],_0x13d8b3=take(_0x14019d,{'message':expectString});Object['assign'](_0x31b9cd,_0x13d8b3);const _0x4037bc=new ThrottlingException({'$metadata':deserializeMetadata(_0x448d34),..._0x31b9cd});return decorateServiceException(_0x4037bc,_0x448d34['body']);},de_ValidationExceptionRes=async(_0x16cf6d,_0x508477)=>{const _0x368a4f=_0x298558({}),_0x4d0f9c=_0x16cf6d['body'],_0x506eb2=take(_0x4d0f9c,{'message':expectString});Object['assign'](_0x368a4f,_0x506eb2);const _0x319ead=new ValidationException({'$metadata':deserializeMetadata(_0x16cf6d),..._0x368a4f});return decorateServiceException(_0x319ead,_0x16cf6d['body']);},de_ResponseStream=(_0x5b6e28,_0xee26bb)=>_0xee26bb['eventStreamMarshaller']['deserialize'](_0x5b6e28,async _0x5c0d08=>null!=_0x5c0d08['chunk']?{'chunk':await de_PayloadPart_event(_0x5c0d08['chunk'],_0xee26bb)}:null!=_0x5c0d08['internalServerException']?{'internalServerException':await de_InternalServerException_event(_0x5c0d08['internalServerException'],_0xee26bb)}:null!=_0x5c0d08['modelStreamErrorException']?{'modelStreamErrorException':await de_ModelStreamErrorException_event(_0x5c0d08['modelStreamErrorException'],_0xee26bb)}:null!=_0x5c0d08['validationException']?{'validationException':await de_ValidationException_event(_0x5c0d08['validationException'],_0xee26bb)}:null!=_0x5c0d08['throttlingException']?{'throttlingException':await de_ThrottlingException_event(_0x5c0d08['throttlingException'],_0xee26bb)}:null!=_0x5c0d08['modelTimeoutException']?{'modelTimeoutException':await de_ModelTimeoutException_event(_0x5c0d08['modelTimeoutException'],_0xee26bb)}:null!=_0x5c0d08['serviceUnavailableException']?{'serviceUnavailableException':await de_ServiceUnavailableException_event(_0x5c0d08['serviceUnavailableException'],_0xee26bb)}:{'$unknown':_0x5b6e28}),de_InternalServerException_event=async(_0xf717ef,_0x130fed)=>{const _0x392d8c={..._0xf717ef,'body':await _0x42596b(_0xf717ef['body'],_0x130fed)};return de_InternalServerExceptionRes(_0x392d8c);},de_ModelStreamErrorException_event=async(_0x14d329,_0x3275a5)=>{const _0x1a40af={..._0x14d329,'body':await _0x42596b(_0x14d329['body'],_0x3275a5)};return de_ModelStreamErrorExceptionRes(_0x1a40af);},de_ModelTimeoutException_event=async(_0x118f8b,_0x32d818)=>{const _0x599fd8={..._0x118f8b,'body':await _0x42596b(_0x118f8b['body'],_0x32d818)};return de_ModelTimeoutExceptionRes(_0x599fd8);},de_PayloadPart_event=async(_0x3eeb6c,_0x318ceb)=>{const _0x225b9a={},_0x5613cd=await _0x42596b(_0x3eeb6c['body'],_0x318ceb);return Object['assign'](_0x225b9a,de_PayloadPart(_0x5613cd,_0x318ceb)),_0x225b9a;},de_ServiceUnavailableException_event=async(_0x2ceec7,_0x2bb6bc)=>{const _0x2a046d={..._0x2ceec7,'body':await _0x42596b(_0x2ceec7['body'],_0x2bb6bc)};return de_ServiceUnavailableExceptionRes(_0x2a046d);},de_ThrottlingException_event=async(_0x424b44,_0x529498)=>{const _0x210d25={..._0x424b44,'body':await _0x42596b(_0x424b44['body'],_0x529498)};return de_ThrottlingExceptionRes(_0x210d25);},de_ValidationException_event=async(_0x3c8266,_0x20a9e1)=>{const _0x32982d={..._0x3c8266,'body':await _0x42596b(_0x3c8266['body'],_0x20a9e1)};return de_ValidationExceptionRes(_0x32982d);},de_PayloadPart=(_0x16cb29,_0x4d3308)=>take(_0x16cb29,{'bytes':_0x4d3308['base64Decoder']}),deserializeMetadata=_0x4a9816=>({'httpStatusCode':_0x4a9816['statusCode'],'requestId':_0x4a9816['headers']['x-amzn-requestid']??_0x4a9816['headers']['x-amzn-request-id']??_0x4a9816['headers']['x-amz-request-id'],'extendedRequestId':_0x4a9816['headers']['x-amz-id-2'],'cfId':_0x4a9816['headers']['x-amz-cf-id']}),_0xf04273='accept',_0x1ab3b8='contentType',_ct='content-type',_0x3eb659='guardrailIdentifier',_0x3d652a='guardrailVersion',_0x5ec669='performanceConfigLatency',_t='trace',_0x707367='x-amzn-bedrock-accept',_xabct='x-amzn-bedrock-content-type',_0x413627='x-amzn-bedrock-guardrailidentifier',_0x997628='x-amzn-bedrock-guardrailversion',_0x45c036='x-amzn-bedrock-performanceconfig-latency',_xabt='x-amzn-bedrock-trace';class _0x577703 extends _0x48af2e['classBuilder']()['ep'](_0x40e853)['m'](function(_0xf9dd76,_0x4c6d27,_0x2ecca1,_0x275916){return[getSerdePlugin(_0x2ecca1,this['serialize'],this['deserialize']),getEndpointPlugin(_0x2ecca1,_0xf9dd76['getEndpointParameterInstructions']())];})['s']('AmazonBedrockFrontendService','InvokeModel',{})['n']('BedrockRuntimeClient','InvokeModelCommand')['f'](InvokeModelRequestFilterSensitiveLog,InvokeModelResponseFilterSensitiveLog)['ser'](_0x15bcbc)['de'](_0x550f79)['build'](){}class InvokeModelWithResponseStreamCommand extends _0x48af2e['classBuilder']()['ep'](_0x40e853)['m'](function(_0xd9b6f8,_0x45dfae,_0x520a68,_0x1d64a9){return[getSerdePlugin(_0x520a68,this['serialize'],this['deserialize']),getEndpointPlugin(_0x520a68,_0xd9b6f8['getEndpointParameterInstructions']())];})['s']('AmazonBedrockFrontendService','InvokeModelWithResponseStream',{'eventStream':{'output':!0x0}})['n']('BedrockRuntimeClient','InvokeModelWithResponseStreamCommand')['f'](InvokeModelWithResponseStreamRequestFilterSensitiveLog,InvokeModelWithResponseStreamResponseFilterSensitiveLog)['ser'](se_InvokeModelWithResponseStreamCommand)['de'](de_InvokeModelWithResponseStreamCommand)['build'](){}class AWSTextAdapter extends AITextAdapter{['_apiUrl'];['_requestHeaders'];['_bedrockClientConfig'];['_requestParameters'];static get['pluginName'](){return'AWSTextAdapter';}constructor(_0x5dc5cd){super(_0x5dc5cd),_0x5dc5cd['config']['get']('ai.assistant.adapter.aws.requestParameters')||_0x5dc5cd['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']=_0x5dc5cd['config']['get']('ai.assistant.adapter.aws.apiUrl'),this['_bedrockClientConfig']=_0x5dc5cd['config']['get']('ai.assistant.adapter.aws.bedrockClientConfig'),this['_requestHeaders']=_0x5dc5cd['config']['get']('ai.assistant.adapter.aws.requestHeaders'),this['_requestParameters']=_0x5dc5cd['config']['get']('ai.assistant.adapter.aws.requestParameters');}async['sendRequest']({query:_0x3d3a4d,context:_0x293605,onData:_0x1d563f,actionId:_0x5a3c91}){const {model:_0x42d762,stream:_0xc85837,..._0xb715f1}=await this['_prepareRequestParameters'](this['_requestParameters'],_0x5a3c91),_0x4f7fef={'prompt':await this['preparePrompt'](_0x3d3a4d,_0x293605,_0x42d762,_0x5a3c91),..._0xb715f1};this['_apiUrl']?await this['_processProxyRequest'](_0x4f7fef,_0x42d762,_0xc85837,_0x1d563f,_0x5a3c91):await this['_processAWSRequest'](_0x4f7fef,_0x42d762,_0xc85837,_0x1d563f);}async['preparePrompt'](_0x19d62d,_0x42ca00,_0x45395c,_0x4896e9){let _0x1afdd4,_0x3163a7;return _0x42ca00?(_0x1afdd4='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.',_0x3163a7='Instruction:\x0a'+_0x19d62d+'\x0aYou\x20must\x20keep\x20the\x20text\x20formatting.\x0a\x0aContent:\x0a'+_0x42ca00):(_0x1afdd4='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.',_0x3163a7=_0x19d62d),'meta.llama'==this['getModelFamily'](_0x45395c)?'<<SYS>>\x0a'+_0x1afdd4+'\x0a<</SYS>>\x0a[INST]\x0a'+_0x3163a7+'\x0a[/INST]':'Human:\x0a'+_0x1afdd4+'\x0a'+_0x3163a7+'\x0a\x0aAssistant:';}['getModelFamily'](_0x47ae89){if(/^anthropic\.claude/['test'](_0x47ae89))return'anthropic.claude';if(/^ai21\.j2/['test'](_0x47ae89))return'ai21.j2';if(/^cohere\.command/['test'](_0x47ae89))return'cohere.command';if(/^meta\.llama/['test'](_0x47ae89))return'meta.llama';throw new AIRequestError(getTranslation$j(this['editor']['locale'],'AI_ERROR_UNSUPPORTED_MODEL',_0x47ae89));}async['_processProxyRequest'](_0x38a292,_0x5adc73,_0x18f20a,_0x2b15f1,_0x1fd217){const _0x3abc03={'method':'POST','headers':await this['_prepareRequestHeaders'](this['_requestHeaders'],_0x1fd217),'body':JSON['stringify']({..._0x38a292,'model':_0x5adc73,'stream':_0x18f20a}),'signal':this['abortController']['signal']},_0x12275f=await fetch(this['_apiUrl'],_0x3abc03);_0x18f20a?await this['_readStreamableResponse'](_0x12275f,_0x5adc73,_0x2b15f1):await this['_readStaticResponse'](_0x12275f,_0x5adc73,_0x2b15f1);}async['_processAWSRequest'](_0x5910a6,_0x4c26b1,_0x2d65d4,_0x13b57b){const _0x44b7cf=new BedrockRuntimeClient(this['_bedrockClientConfig']),_0x3efa51={'body':JSON['stringify'](_0x5910a6),'contentType':'application/json','accept':'application/json','modelId':_0x4c26b1};let _0x4c9521;if(_0x2d65d4){const _0xa3e161=new InvokeModelWithResponseStreamCommand(_0x3efa51);_0x4c9521=await _0x44b7cf['send'](_0xa3e161,{'abortSignal':this['abortController']['signal']}),await this['_readAsyncIterableResponse'](_0x4c9521,_0x4c26b1,_0x13b57b);}else{const _0x298f5b=new _0x577703(_0x3efa51);_0x4c9521=await _0x44b7cf['send'](_0x298f5b,{'abortSignal':this['abortController']['signal']}),await this['_readStaticResponse'](_0x4c9521,_0x4c26b1,_0x13b57b);}}async['_readAsyncIterableResponse'](_0x5872a9,_0x95c329,_0x5ce77e){const _0x80fc28=_0x5872a9['body'],_0x3861ca=new TextDecoder('utf-8');let _0x27e309='';for await(const _0x5ea939 of _0x80fc28)if(_0x5ea939['chunk']){const _0x3f9db7=_0x3861ca['decode'](_0x5ea939['chunk']['bytes']),_0x4b9334=JSON['parse'](_0x3f9db7);_0x27e309+=this['_getGeneratedText'](_0x4b9334,_0x95c329),_0x5ce77e(_0x27e309);}return Promise['resolve']();}async['_readStreamableResponse'](_0x24e11d,_0x542222,_0x4f110b){const _0x1281ac=_0x24e11d['body'],_0x488023=new TextDecoder('utf-8'),_0x350885=_0x1281ac['getReader']();let _0x4936ad='',_0x59db1a='',_0xb3fa=!0x1;for(;!_0xb3fa;){const {done:_0x379b77,value:_0x5cf419}=await _0x350885['read']();if(_0xb3fa=_0x379b77,_0xb3fa)break;const _0x47d4f1=(_0x4936ad+_0x488023['decode'](_0x5cf419))['split']('\x0a')['map'](_0x38b03e=>{try{return _0x4936ad='',JSON['parse'](_0x38b03e);}catch{return _0x4936ad=_0x38b03e,null;}})['filter'](_0x34bc09=>null!==_0x34bc09);if(_0x47d4f1['length']){const _0x1cd44c=_0x47d4f1['map'](_0xfa474b=>this['_getGeneratedText'](_0xfa474b,_0x542222))['join']('');_0x59db1a+=_0x1cd44c,_0x4f110b(_0x59db1a);}}return Promise['resolve']();}async['_readStaticResponse'](_0x18b7f6,_0x1e3558,_0xa5de09){let _0x42a7ec;return _0x42a7ec=_0x18b7f6 instanceof Response?await _0x18b7f6['json']():JSON['parse'](new TextDecoder('utf-8')['decode'](_0x18b7f6['body'])),(_0xa5de09(this['_getGeneratedText'](_0x42a7ec,_0x1e3558)),Promise['resolve']());}['_getGeneratedText'](_0x65f436,_0x374809){switch(this['getModelFamily'](_0x374809)){case'anthropic.claude':return _0x65f436['completion'];case'ai21.j2':return _0x65f436['completions'][0x0]['data']['text'];case'cohere.command':return _0x65f436['generations'][0x0]['text'];case'meta.llama':return _0x65f436['generation'];}}}class TabButtonView extends ckeditor5['ButtonView']{constructor(_0x5b8f10,_0x400c1e={}){super(_0x5b8f10),this['isToggleable']=!0x0,this['set']('side',_0x400c1e['side']||'top');const _0x104eb6=this['bindTemplate'];this['extendTemplate']({'attributes':{'class':['ck-tab-button',...ckeditor5['toArray'](_0x400c1e['class']||[]),_0x104eb6['to']('side',_0x434046=>'ck-tab-button_'+_0x434046),_0x104eb6['to']('class')]}});}['show'](){this['set']('isVisible',!0x0);}['hide'](){this['set']('isVisible',!0x1);}}class _0x2bb029 extends ckeditor5['View']{['children'];constructor(_0x2cadd6,_0x19d482={}){super(_0x2cadd6);const _0x47a700=this['bindTemplate'];this['set']('isVisible',!0x1),this['set']('class',''),this['children']=this['createCollection'](),this['setTemplate']({'tag':'div','attributes':{'class':['ck-tab-panel',...ckeditor5['toArray'](_0x19d482['class']||[]),_0x47a700['to']('class'),_0x47a700['if']('isVisible','ck-hidden',_0x1c6238=>!_0x1c6238)]},'children':this['children']});}['show'](){this['set']('isVisible',!0x0);}['hide'](){this['set']('isVisible',!0x1);}}class _0x2fa1f9 extends ckeditor5['View']{['buttonViews']=this['createCollection']();['panelViews']=this['createCollection']();['_tabs']=new Map();constructor(_0x2d2a35,_0x152d89={}){super(_0x2d2a35),this['set']('class',void 0x0),this['set']('activeTab',null),this['set']('side',_0x152d89['side']||'top'),this['set']('isMaximized',!0x1);const _0x2a532b=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-tabs',...ckeditor5['toArray'](_0x152d89['class']||[]),_0x2a532b['to']('side',_0x4fcd67=>'ck-tabs_'+_0x4fcd67),_0x2a532b['to']('class'),_0x2a532b['to']('isMaximized',_0xe78d48=>_0xe78d48?'ck-ai-tabs_maximized':'')],'tabindex':'0'},'children':[{'tag':'div','attributes':{'class':['ck','ck-tabs__buttons-container',_0x2a532b['to']('side',_0x491aa3=>'ck-tabs__buttons-container_'+_0x491aa3)]},'children':this['buttonViews']},{'tag':'div','attributes':{'class':['ck','ck-tabs__panels-container',_0x2a532b['to']('side',_0x35de75=>'ck-tabs__panels-container_'+_0x35de75)]},'children':this['panelViews']},...ckeditor5['toArray'](_0x152d89['children']||[])]});}['getTabIds'](){return[...this['_tabs']['keys']()];}['getTab'](_0x1efcf5){const _0x2ff51e=this['_tabs']['get'](_0x1efcf5);return _0x2ff51e||null;}['addTab'](_0x2b3046){const _0x65cfe=this['_setupButton']({'id':_0x2b3046['id'],'label':_0x2b3046['buttonLabel'],'icon':_0x2b3046['buttonIcon'],'order':_0x2b3046['order']}),_0x2fd965=new _0x2bb029(this['locale']);return _0x2fd965['render'](),_0x2b3046['content']&&_0x2fd965['children']['add'](_0x2b3046['content']),this['panelViews']['add'](_0x2fd965),this['_tabs']['set'](_0x2b3046['id'],{'button':_0x65cfe,'panel':_0x2fd965,'order':void 0x0!==_0x2b3046['order']?_0x2b3046['order']:null}),this['fire']('addTab:'+_0x2b3046['id'],{'id':_0x2b3046['id'],'button':_0x65cfe,'panel':_0x2fd965}),null===this['activeTab']?this['activateTab'](_0x2b3046['id']):this['_hidePanel'](_0x2b3046['id']),{'button':_0x65cfe,'panel':_0x2fd965};}['activateTab'](_0x431ab3){if(null!==_0x431ab3&&!this['getTab'](_0x431ab3))throw new ckeditor5['CKEditorError']('ui-tabsview-tab-not-found',{'tabs':this,'tabId':_0x431ab3});this['activeTab']!==_0x431ab3&&(this['activeTab']&&this['_hidePanel'](this['activeTab']),this['activeTab']=_0x431ab3,_0x431ab3&&this['_showPanel'](_0x431ab3),this['fire']('activateTab:'+_0x431ab3,_0x431ab3));}['showTab'](_0x595bbc){if(!this['getTab'](_0x595bbc))throw new ckeditor5['CKEditorError']('ui-tabsview-tab-not-found',{'tabs':this,'tabId':_0x595bbc});this['_showPanel'](_0x595bbc),this['_showButton'](_0x595bbc),this['fire']('show:'+_0x595bbc,_0x595bbc);}['hideTab'](_0x40e5d1){if(!this['getTab'](_0x40e5d1))throw new ckeditor5['CKEditorError']('ui-tabsview-tab-not-found',{'tabs':this,'tabId':_0x40e5d1});const _0x3a83ee=this['activeTab'];this['_hidePanel'](_0x40e5d1),this['_hideButton'](_0x40e5d1);const _0x3a2262=this['getTabIds']();_0x3a83ee===_0x40e5d1&&_0x3a2262['length']>0x1&&this['activateTab'](_0x3a2262['find'](_0x5d33fd=>_0x5d33fd!==_0x40e5d1)),this['fire']('hide:'+_0x40e5d1,_0x40e5d1);}['_getPanel'](_0x4a1bda){const _0x574c77=this['_tabs']['get'](_0x4a1bda);return _0x574c77?_0x574c77['panel']:null;}['_showPanel'](_0x3650cd){null!==this['activeTab']&&this['activeTab']!==_0x3650cd||this['_getPanel'](_0x3650cd)['show']();}['_hidePanel'](_0x43345d){const _0x34ecb8=this['_getPanel'](_0x43345d);_0x34ecb8['isVisible']&&(this['activeTab']===_0x43345d&&(this['activeTab']=null),_0x34ecb8['hide']());}['_getButton'](_0x4bc162){const _0x5f1ed0=this['_tabs']['get'](_0x4bc162);return _0x5f1ed0?_0x5f1ed0['button']:null;}['_showButton'](_0x3d14a3){this['_getButton'](_0x3d14a3)['show']();}['_hideButton'](_0x348859){this['_getButton'](_0x348859)['hide']();}['_setupButton'](_0x391e85){const _0x32f2f0=new TabButtonView(this['locale'],{'side':this['side']}),_0xdb199d=this['buttonViews'];if(_0x32f2f0['set']({'label':_0x391e85['label'],'icon':_0x391e85['icon'],'tooltip':!0x0,'withText':!0x0}),_0x32f2f0['bind']('isOn')['to'](this,'activeTab',_0x599e56=>_0x599e56===_0x391e85['id']),_0x32f2f0['bind']('side')['to'](this,'side'),_0x391e85['order']){const _0x24d197=[...this['_tabs']]['reduce']((_0x5ec46c,_0x1a1dce)=>{const _0x3bdaa5=_0x1a1dce[0x0],{order:_0x762b82}=_0x1a1dce[0x1];return!_0x762b82||_0x762b82>_0x391e85['order']?_0x5ec46c:_0x762b82>=_0x5ec46c['order']?{'id':_0x3bdaa5,'order':_0x762b82}:_0x5ec46c;},{'id':'','order':0x0}),_0x2ca08a=_0xdb199d['getIndex'](this['_getButton'](_0x24d197['id']));_0xdb199d['add'](_0x32f2f0,_0x2ca08a+0x1);}else _0xdb199d['add'](_0x32f2f0);return _0x32f2f0['on']('execute',()=>{this['activateTab'](_0x391e85['id']);}),_0x32f2f0;}}const _0x1dd53e=['overlay','sidebar','custom'],_0x43c58a=['left','right'];class _0x214046 extends _0x2fa1f9{constructor(_0x693110,_0x33986e={}){super(_0x693110,_0x33986e),this['set']('type',_0x33986e['type']||'sidebar'),this['set']('side',_0x33986e['side']||'right'),this['set']('isVisible',_0x33986e['visibleByDefault']??!0x0);const _0x2c48b6=this['bindTemplate'];this['extendTemplate']({'attributes':{'class':['ck-ai-tabs',_0x2c48b6['if']('type','ck-ai-tabs__overlay',_0x4df6b5=>'overlay'===_0x4df6b5),_0x2c48b6['if']('type','ck-ai-tabs__sidebar',_0x3dbdd3=>'sidebar'===_0x3dbdd3),_0x2c48b6['if']('isVisible','ck-hidden',_0x200e06=>!_0x200e06)]}}),this['buttonViews']['on']('add',(_0xc08603,_0x4849de)=>{_0x4849de['set']('withText',!0x1);});}}class _0x564b61 extends ckeditor5['ContextPlugin']{['view'];['container']=null;['showResizeButton']=!0x0;static get['pluginName'](){return'AITabs';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x198267){super(_0x198267);const _0x62db62=this['context']['config']['get']('ai.container');if(this['set']('side','right'),!_0x62db62)throw new ckeditor5['CKEditorError']('ai-tabs-configuration-not-found');if(void 0x0!==_0x62db62['showResizeButton']&&(this['showResizeButton']=_0x62db62['showResizeButton']),'sidebar'!==_0x62db62['type']&&'overlay'!==_0x62db62['type']||_0x62db62['side']&&(this['side']=_0x62db62['side']),'sidebar'===_0x62db62['type']){if(this['container']=_0x62db62['element'],this['set']('type','sidebar'),!this['container'])throw new ckeditor5['CKEditorError']('ai-tabs-sidebar-container-element-not-found');}else'overlay'===_0x62db62['type']?(this['container']=document['body'],this['set']('type','overlay')):(this['container']=null,this['set']('type','custom'));this['view']=new _0x214046(this['context']['locale'],{'side':this['side'],'type':this['type'],'visibleByDefault':void 0x0===_0x62db62['visibleByDefault']||_0x62db62['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'](_0x45aa1f){if(_0x45aa1f&&this['type']!==_0x45aa1f){if(!_0x1dd53e['includes'](_0x45aa1f))throw new ckeditor5['CKEditorError']('ai-tabs-unsupported-ui-type');this['type']=_0x45aa1f;}}['switchSide'](_0x12a4ad){if(_0x12a4ad&&this['side']!==_0x12a4ad){if(!_0x43c58a['includes'](_0x12a4ad))throw new ckeditor5['CKEditorError']('ai-tabs-unsupported-ui-side');this['side']=_0x12a4ad;}}['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 _0x4d67fb extends Error{constructor(_0x4ac1fb,_0x23b7cc){super(_0x4ac1fb),this['name']='ParseError',this['type']=_0x23b7cc['type'],this['field']=_0x23b7cc['field'],this['value']=_0x23b7cc['value'],this['line']=_0x23b7cc['line'];}}function _0x3dbaef(_0x1a956e){}function createParser(_0x29c695){if('function'==typeof _0x29c695)throw new TypeError('`callbacks`\x20must\x20be\x20an\x20object,\x20got\x20a\x20function\x20instead.\x20Did\x20you\x20mean\x20`{onEvent:\x20fn}`?');const {onEvent:_0x3870af=_0x3dbaef,onError:_0x18ae8a=_0x3dbaef,onRetry:_0x4056fc=_0x3dbaef,onComment:_0x5bd25f}=_0x29c695;let _0x395c60,_0x25b8d3='',_0x28b9db=!0x0,_0xa7d0a3='',_0x1cbe7c='';function _0xdec134(_0x554084){if(''===_0x554084)return _0xa7d0a3['length']>0x0&&_0x3870af({'id':_0x395c60,'event':_0x1cbe7c||void 0x0,'data':_0xa7d0a3['endsWith']('\x0a')?_0xa7d0a3['slice'](0x0,-0x1):_0xa7d0a3}),_0x395c60=void 0x0,_0xa7d0a3='',void(_0x1cbe7c='');if(_0x554084['startsWith'](':'))return void(_0x5bd25f&&_0x5bd25f(_0x554084['slice'](_0x554084['startsWith'](':\x20')?0x2:0x1)));const _0xc20309=_0x554084['indexOf'](':');if(-0x1!==_0xc20309){const _0x54342e=_0x554084['slice'](0x0,_0xc20309),_0x374623='\x20'===_0x554084[_0xc20309+0x1]?0x2:0x1;return void _0xc72f08(_0x54342e,_0x554084['slice'](_0xc20309+_0x374623),_0x554084);}_0xc72f08(_0x554084,'',_0x554084);}function _0xc72f08(_0x12be87,_0x3a2655,_0x299dee){switch(_0x12be87){case'event':_0x1cbe7c=_0x3a2655;break;case'data':_0xa7d0a3=''+_0xa7d0a3+_0x3a2655+'\x0a';break;case'id':_0x395c60=_0x3a2655['includes']('\x00')?void 0x0:_0x3a2655;break;case'retry':/^\d+$/['test'](_0x3a2655)?_0x4056fc(parseInt(_0x3a2655,0xa)):_0x18ae8a(new _0x4d67fb('Invalid\x20`retry`\x20value:\x20\x22'+_0x3a2655+'\x22',{'type':'invalid-retry','value':_0x3a2655,'line':_0x299dee}));break;default:_0x18ae8a(new _0x4d67fb('Unknown\x20field\x20\x22'+(_0x12be87['length']>0x14?_0x12be87['slice'](0x0,0x14)+'…':_0x12be87)+'\x22',{'type':'unknown-field','field':_0x12be87,'value':_0x3a2655,'line':_0x299dee}));}}return{'feed':function(_0x4b5530){const _0x4f6c1b=_0x28b9db?_0x4b5530['replace'](/^\xEF\xBB\xBF/,''):_0x4b5530,[_0x31ef5c,_0x48f7c0]=splitLines(''+_0x25b8d3+_0x4f6c1b);for(const _0x2122a4 of _0x31ef5c)_0xdec134(_0x2122a4);_0x25b8d3=_0x48f7c0,_0x28b9db=!0x1;},'reset':function(_0x25d464={}){_0x25b8d3&&_0x25d464['consume']&&_0xdec134(_0x25b8d3),_0x28b9db=!0x0,_0x395c60=void 0x0,_0xa7d0a3='',_0x1cbe7c='',_0x25b8d3='';}};}function splitLines(_0x439640){const _0x2aeede=[];let _0x1b9c60='',_0x558d2c=0x0;for(;_0x558d2c<_0x439640['length'];){const _0x1207f7=_0x439640['indexOf']('\x0d',_0x558d2c),_0x334801=_0x439640['indexOf']('\x0a',_0x558d2c);let _0x58c50c=-0x1;if(-0x1!==_0x1207f7&&-0x1!==_0x334801?_0x58c50c=Math['min'](_0x1207f7,_0x334801):-0x1!==_0x1207f7?_0x58c50c=_0x1207f7:-0x1!==_0x334801&&(_0x58c50c=_0x334801),-0x1===_0x58c50c){_0x1b9c60=_0x439640['slice'](_0x558d2c);break;}{const _0x3ec560=_0x439640['slice'](_0x558d2c,_0x58c50c);_0x2aeede['push'](_0x3ec560),_0x558d2c=_0x58c50c+0x1,'\x0d'===_0x439640[_0x558d2c-0x1]&&'\x0a'===_0x439640[_0x558d2c]&&_0x558d2c++;}}return[_0x2aeede,_0x1b9c60];}function getTranslation$i(_0x48fb29,_0x26c5ff,_0x5d8685){const t=_0x48fb29['t'];switch(_0x26c5ff){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'},_0x5d8685);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_SHOW_IN_THE_TEXT':return t({'id':'AI_SUGGESTION_CONTENT_PART_SHOW_IN_THE_TEXT','string':'Preview'});case'AI_SUGGESTION_CONTENT_PART_ADD_AS_SUGGESTION':return t({'id':'AI_SUGGESTION_CONTENT_PART_ADD_AS_SUGGESTION','string':'Insert\x20as\x20suggestion'});case'AI_SUGGESTION_CONTENT_PART_DELETE':return t({'id':'AI_SUGGESTION_CONTENT_PART_DELETE','string':'Reject'});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_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\x27m\x20your\x20AI\x20assistant.\x20Think\x20of\x20me\x20as\x20your\x20writing\x20buddy,\x20reviewer,\x20or\x20research\x20partner.\x20I\x20can\x20suggest\x20changes\x20to\x20your\x20document,\x20help\x20generate\x20ideas,\x20offer\x20feedback,\x20discuss\x20attached\x20files,\x20and\x20much\x20more!'});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_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.'},_0x5d8685);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.'},_0x5d8685);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_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.'},_0x5d8685);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_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_SHOW_CHANGE_IN_TEXT':return t({'id':'AI_CHAT_SUGGESTION_ACTION_SHOW_CHANGE_IN_TEXT','string':'Preview','plural':'Preview'},_0x5d8685);case'AI_CHAT_SUGGESTION_ACTION_SHOW_CHANGE_IN_TEXT_TOOLTIP':return t({'id':'AI_CHAT_SUGGESTION_ACTION_SHOW_CHANGE_IN_TEXT_TOOLTIP','string':'Show\x20change\x20in\x20the\x20document','plural':'Show\x20changes\x20in\x20the\x20document'},_0x5d8685);case'AI_CHAT_SUGGESTION_ACTION_INSERT_SUGGESTION':return t({'id':'AI_CHAT_SUGGESTION_ACTION_INSERT_SUGGESTION','string':'Suggest','plural':'Suggest'},_0x5d8685);case'AI_CHAT_SUGGESTION_ACTION_INSERT_SUGGESTION_TOOLTIP':return t({'id':'AI_CHAT_SUGGESTION_ACTION_INSERT_SUGGESTION_TOOLTIP','string':'Insert\x20change\x20as\x20suggestion','plural':'Insert\x20changes\x20as\x20suggestions'},_0x5d8685);case'AI_CHAT_SUGGESTION_ACTION_APPLY_LABEL':return t({'id':'AI_CHAT_SUGGESTION_ACTION_APPLY_LABEL','string':'Apply','plural':'Apply\x20all'},_0x5d8685);case'AI_CHAT_SUGGESTION_ACTION_APPLY_TOOLTIP':return t({'id':'AI_CHAT_SUGGESTION_ACTION_APPLY_TOOLTIP','string':'Apply\x20changes\x20immediately','plural':'Apply\x20all\x20changes\x20immediately'},_0x5d8685);case'AI_CHAT_SUGGESTION_MORE_OPTIONS_TOOLTIP':return t({'id':'AI_CHAT_SUGGESTION_MORE_OPTIONS_TOOLTIP','string':'More\x20options'},_0x5d8685);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.'},_0x5d8685);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.'},_0x5d8685);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.'},_0x5d8685);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.'},_0x5d8685);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'},_0x5d8685);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_TOOLTIP':return t({'id':'AI_BALLOON_NEXT_TOOLTIP','string':'Next'});case'AI_BALLOON_PREVIOUS_TOOLTIP':return t({'id':'AI_BALLOON_PREVIOUS_TOOLTIP','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_DESCRIPTION_AGENT-1':return t({'id':'AI_MODEL_DESCRIPTION_AGENT-1','string':'Automatically\x20selects\x20best\x20model\x20for\x20speed,\x20quality,\x20and\x20cost.'});case'AI_MODEL_DESCRIPTION_GPT-5':return t({'id':'AI_MODEL_DESCRIPTION_GPT-5','string':'OpenAI\x27s\x20flagship\x20model\x20for\x20advanced\x20reasoning,\x20creativity,\x20and\x20complex\x20tasks'});case'AI_MODEL_DESCRIPTION_GPT-5-MINI':return t({'id':'AI_MODEL_DESCRIPTION_GPT-5-MINI','string':'A\x20lightweight\x20version\x20of\x20GPT-5\x20-\x20faster,\x20more\x20cost-efficient'});case'AI_MODEL_DESCRIPTION_GPT-4.1':return t({'id':'AI_MODEL_DESCRIPTION_GPT-4.1','string':'OpenAI\x27s\x20model\x20for\x20reliable\x20reasoning,\x20speed,\x20and\x20versatility'});case'AI_MODEL_DESCRIPTION_GPT-4.1-MINI':return t({'id':'AI_MODEL_DESCRIPTION_GPT-4.1-MINI','string':'A\x20lighter\x20variant\x20of\x20GPT-4.1\x20that\x20balances\x20speed\x20and\x20cost\x20while\x20maintaining\x20solid\x20accuracy'});case'AI_MODEL_DESCRIPTION_CLAUDE-3-5-HAIKU':return t({'id':'AI_MODEL_DESCRIPTION_CLAUDE-3-5-HAIKU','string':'Anthropic\x27s\x20fast,\x20cost-efficient\x20model\x20for\x20simpler\x20tasks'});case'AI_MODEL_DESCRIPTION_CLAUDE-4-SONNET':return t({'id':'AI_MODEL_DESCRIPTION_CLAUDE-4-SONNET','string':'Advanced\x20model\x20with\x20strong\x20reasoning\x20and\x20reliability\x20for\x20complex\x20tasks'});case'AI_MODEL_DESCRIPTION_GEMINI-2-5-PRO':return t({'id':'AI_MODEL_DESCRIPTION_GEMINI-2-5-PRO','string':'Google\x27s\x20advanced\x20model\x20for\x20versatile\x20problem-solving\x20and\x20research'});case'AI_MODEL_DESCRIPTION_GEMINI-2-5-FLASH':return t({'id':'AI_MODEL_DESCRIPTION_GEMINI-2-5-FLASH','string':'Lightweight\x20Gemini\x20model\x20for\x20fast,\x20cost-efficient\x20interactions'});case'AI_QUICK_ACTIONS_HEADING':return t({'id':'AI_QUICK_ACTIONS_HEADING','string':'AI\x20Quick\x20Actions'});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.'},_0x5d8685);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_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_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_TOGGLE_BUTTON_LABEL':return t({'id':'AI_TOGGLE_BUTTON_LABEL','string':'AI'});default:return _0x26c5ff;}}const _0x35f1ed='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(_0x3c17ee){super(_0x3c17ee),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 _0x787bca=this['context']['plugins']['get']('CloudServices');if(!_0x787bca['token'])throw new ckeditor5['CKEditorError']('ai-missing-token',this);this['_token']=_0x787bca['token'];}['startConversation'](_0x47a608,_0x4ec982){const _0x482bc7=this['_sendApiRequest']('/conversations','POST',{'id':_0x47a608,'group':_0x4ec982});return{'getConversation':async()=>(await _0x482bc7['request'])['json'](),'abortController':_0x482bc7['abortController']};}['queryAssistant']({message:_0x2a89f4,conversationId:_0x1df04d,parts:_0x137ff7,capabilities:_0x4639f6,model:_0x17df5a,quickActionData:_0x37f91c}){const _0x4f1c91={..._0x37f91c&&{'quickActionData':_0x37f91c}},_0x411e00={'prompt':_0x2a89f4,'content':_0x137ff7,'model':_0x17df5a,..._0x4639f6&&{'capabilities':_0x4639f6},...Object['keys'](_0x4f1c91)['length']>0x0&&{'attributes':_0x4f1c91}},_0x244155=this['_sendApiRequest']('/conversations/'+_0x1df04d+'/messages','POST',_0x411e00);return{'getStream':async()=>{const _0x5a6288=(await _0x244155['request'])['body'];return this['_getStreamReader'](_0x5a6288);},'abortController':_0x244155['abortController']};}['executeCustomAction']({content:_0x5f0484,message:_0x2342b0,model:_0xf3d800,outputFormat:_0x1da363}){const _0x2f6e73={'content':[{'type':'text','content':_0x5f0484}],'prompt':_0x2342b0,'model':_0xf3d800,'outputFormat':_0x1da363},_0x14cdca=this['_sendApiRequest']('/actions/custom/calls','POST',_0x2f6e73);return{'getStream':async()=>{const _0x45480a=(await _0x14cdca['request'])['body'];return this['_getStreamReader'](_0x45480a);},'abortController':_0x14cdca['abortController']};}['executeAction']({actionName:_0x35fbd7,content:_0x5e7dae,args:_0x5b175e}){const _0x59fc4c={'content':[{'type':'text','content':_0x5e7dae}],'args':_0x5b175e},_0x223c73=this['_sendApiRequest']('/actions/system/'+_0x35fbd7+'/calls','POST',_0x59fc4c);return{'getStream':async()=>{const _0x499d67=(await _0x223c73['request'])['body'];return this['_getStreamReader'](_0x499d67);},'abortController':_0x223c73['abortController']};}['uploadFile'](_0x321d83,_0x554ad8,_0x57c6ae){const _0x5d24c5=new FormData();_0x5d24c5['append']('file',_0x554ad8,_0x554ad8['name']),_0x57c6ae&&_0x5d24c5['append']('attributes',JSON['stringify'](_0x57c6ae));const _0xd6026e=this['_sendApiRequest']('/conversations/'+_0x321d83+'/files','POST',_0x5d24c5);return{'getId':async()=>(await _0xd6026e['request'])['json'](),'abortController':_0xd6026e['abortController']};}['fetchDocument'](_0x36ffe,_0x5a5d01){const _0x5b1e12=this['_sendApiRequest']('/conversations/'+_0x36ffe+'/documents/'+_0x5a5d01,'GET');return{'getDocument':async()=>(await _0x5b1e12['request'])['json'](),'abortController':_0x5b1e12['abortController']};}['uploadDocument'](_0x1d063a,_0x402c45,_0x39cd76){const _0x5da10a={'content':_0x402c45};_0x39cd76&&(_0x5da10a['attributes']=_0x39cd76);const _0x1a6b79=this['_sendApiRequest']('/conversations/'+_0x1d063a+'/documents','POST',_0x5da10a);return{'getId':async()=>(await _0x1a6b79['request'])['json'](),'abortController':_0x1a6b79['abortController']};}['fetchConversations'](_0x569c4e,_0x3b2cc5){const _0x581f41=new URLSearchParams();_0x581f41['append']('excludeEmpty','true'),_0x581f41['append']('limit','100'),_0x581f41['append']('group',_0x569c4e),_0x3b2cc5&&_0x581f41['append']('search',_0x3b2cc5);const _0x95b9df=this['_sendApiRequest']('/conversations?'+_0x581f41['toString'](),'GET');return{'getConversations':async()=>{const _0x3a66bc=await _0x95b9df['request'];return(await _0x3a66bc['json']())['items'];},'abortController':_0x95b9df['abortController']};}['deleteConversation'](_0x597087){const _0x271d84=this['_sendApiRequest']('/conversations/'+_0x597087,'DELETE');return{'execute':async()=>{await _0x271d84['request'];},'abortController':_0x271d84['abortController']};}['updateConversation'](_0x48d407,_0x2b880a){const _0x3e958e=this['_sendApiRequest']('/conversations/'+_0x48d407,'PATCH',_0x2b880a);return{'getResult':async()=>(await _0x3e958e['request'],_0x2b880a),'abortController':_0x3e958e['abortController']};}['fetchConversation'](_0x1ce792){const _0x571d27=this['_sendApiRequest']('/conversations/'+_0x1ce792,'GET');return{'getConversation':async()=>(await _0x571d27['request'])['json'](),'abortController':_0x571d27['abortController']};}['fetchConversationMessages'](_0x14cef5){const _0x4cd747=this['_sendApiRequest']('/conversations/'+_0x14cef5+'/messages','GET');return{'getMessages':async()=>{const _0x1b1f90=await _0x4cd747['request'];return(await _0x1b1f90['json']())['items'];},'abortController':_0x4cd747['abortController']};}['uploadUrl'](_0x584bc9,_0x108da6,_0x45afaa){const _0x25c050=this['_sendApiRequest']('/conversations/'+_0x584bc9+'/web-resources','POST',{'url':_0x108da6,'attributes':_0x45afaa});return{'getId':async()=>(await _0x25c050['request'])['json'](),'abortController':_0x25c050['abortController']};}['getModels'](){const _0xd2cdd8=this['_sendApiRequest']('/models/'+_0x35f1ed,'GET');return{'list':async()=>{const _0x32394f=await(await _0xd2cdd8['request'])['json'](),_0x4ca87c=_0x32394f['items']['map'](_0x157fdb=>({..._0x157fdb,'description':getTranslation$i(this['context']['locale'],'AI_MODEL_DESCRIPTION_'+_0x157fdb['id']['toUpperCase']())}));return{..._0x32394f,'items':_0x4ca87c};},'abortController':_0xd2cdd8['abortController']};}['deleteFile'](_0x1a27f1,_0x3649b4){const _0x203b21=this['_sendApiRequest']('/conversations/'+_0x1a27f1+'/files/'+_0x3649b4,'DELETE');return{'execute':async()=>{await _0x203b21['request'];},'abortController':_0x203b21['abortController']};}['deleteDocument'](_0x3d5a96,_0x33d080){const _0x42fad6=this['_sendApiRequest']('/conversations/'+_0x3d5a96+'/documents/'+_0x33d080,'DELETE');return{'execute':async()=>{await _0x42fad6['request'];},'abortController':_0x42fad6['abortController']};}['deleteWebResource'](_0x4072b4,_0x36a0c4){const _0x575fa3=this['_sendApiRequest']('/conversations/'+_0x4072b4+'/web-resources/'+_0x36a0c4,'DELETE');return{'execute':async()=>{await _0x575fa3['request'];},'abortController':_0x575fa3['abortController']};}['callSystemReview']({reviewName:_0x52749c,content:_0x3203ab,args:_0x32dd7f}){const _0x443dd8=this['_sendApiRequest']('/reviews/system/'+_0x52749c+'/calls','POST',{'content':[{'type':'text','content':_0x3203ab}],'args':_0x32dd7f});return{'getStream':async()=>{const _0x7655ed=(await _0x443dd8['request'])['body'];return this['_getStreamReader'](_0x7655ed);},'abortController':_0x443dd8['abortController']};}['callCustomReview']({content:_0x14afff,prompt:_0xe9b18b,model:_0x54cc0b}){const _0x57f8c2=this['_sendApiRequest']('/reviews/custom/calls','POST',{'content':[{'type':'text','content':_0x14afff}],'prompt':_0xe9b18b,'model':_0x54cc0b});return{'getStream':async()=>{const _0x577f70=(await _0x57f8c2['request'])['body'];return this['_getStreamReader'](_0x577f70);},'abortController':_0x57f8c2['abortController']};}['upsertAIChatRating'](_0x430256,_0x15607d,_0x1defea){const _0x403dde=this['_sendApiRequest']('/conversations/'+_0x430256+'/messages/'+_0x15607d+'/ratings','PUT',{'positiveCount':_0x1defea['positiveCount'],'totalCount':_0x1defea['totalCount']});return{'execute':async()=>{await _0x403dde['request'];},'abortController':_0x403dde['abortController']};}['upsertAIActionRating'](_0x4c6ad5,_0x3e13fa,_0x78fec7){const _0x150e33=this['_sendApiRequest']('/actions/system/'+_0x4c6ad5+'/calls/'+_0x3e13fa+'/ratings','PUT',{'positiveCount':_0x78fec7['positiveCount'],'totalCount':_0x78fec7['totalCount']});return{'execute':async()=>{await _0x150e33['request'];},'abortController':_0x150e33['abortController']};}['upsertCustomAIActionRating'](_0x288780,_0x2af78d){const _0x5e8da5=this['_sendApiRequest']('/actions/custom/calls/'+_0x288780+'/ratings','PUT',{'positiveCount':_0x2af78d['positiveCount'],'totalCount':_0x2af78d['totalCount']});return{'execute':async()=>{await _0x5e8da5['request'];},'abortController':_0x5e8da5['abortController']};}['upsertAIReviewRating'](_0x4169c3,_0x51f782,_0x42f87c,_0x4d7f19){const _0x2005af=this['_sendApiRequest']('/reviews/system/'+_0x4169c3+'/calls/'+_0x51f782+'/ratings','PUT',{'positiveCount':_0x42f87c['positiveCount'],'totalCount':_0x42f87c['totalCount'],'dataId':_0x4d7f19});return{'execute':async()=>{await _0x2005af['request'];},'abortController':_0x2005af['abortController']};}['upsertCustomAIReviewRating'](_0x279902,_0x2bdccd,_0x59499a){const _0x13f80e=this['_sendApiRequest']('/reviews/custom/calls/'+_0x279902+'/ratings','PUT',{'positiveCount':_0x2bdccd['positiveCount'],'totalCount':_0x2bdccd['totalCount'],'dataId':_0x59499a});return{'execute':async()=>{await _0x13f80e['request'];},'abortController':_0x13f80e['abortController']};}['_sendApiRequest'](_0x3384a1,_0x4a6f3a,_0x29b340){const _0x28ab71=new AbortController(),_0x50c031=_0x29b340 instanceof FormData,_0xdeac1e={'Authorization':'Bearer\x20'+this['_token']?.['value']};_0x29b340&&!_0x50c031&&(_0xdeac1e['Content-Type']='application/json');const _0x1c1325={'method':_0x4a6f3a,'headers':_0xdeac1e,'signal':_0x28ab71['signal']};_0x29b340&&(_0x1c1325['body']=_0x50c031?_0x29b340:JSON['stringify'](_0x29b340));const _0x587d53=fetch(''+this['_apiUrl']+_0x3384a1,_0x1c1325)['catch'](_0x24759b=>{this['_handleError'](_0x24759b);})['then'](_0x4b9ab7=>{if(!_0x4b9ab7['ok'])throw new ckeditor5['CKEditorError']('ai-request-failed',this,{'url':this['_apiUrl'],'path':_0x3384a1,'method':_0x4a6f3a,'body':_0x29b340,'status':(_0x4b9ab7||{})['status'],'statusText':(_0x4b9ab7||{})['statusText']});return _0x4b9ab7;});return{'request':_0x587d53,'abortController':_0x28ab71};}async*['_getStreamReader'](_0x3efea6){const _0x43f2b9=[],_0x18f76c=_0x3efea6['getReader'](),_0x443932=createParser({'onError':_0x89fe93=>{this['_handleError'](_0x89fe93);},'onEvent':_0x95369b=>{_0x95369b['data']=JSON['parse'](_0x95369b['data']),_0x43f2b9['push'](_0x95369b);}});try{let _0xecbb3c=!0x1;for(;!_0xecbb3c;){const {done:_0x1d73ae,value:_0x40d5bd}=await _0x18f76c['read']();_0x1d73ae&&(_0xecbb3c=!0x0),_0x443932['feed'](this['_decoder']['decode'](_0x40d5bd,{'stream':!0x0})),yield*_0x43f2b9,_0x43f2b9['length']=0x0;}}catch(_0x9111b0){this['_handleError'](_0x9111b0);}finally{_0x18f76c['releaseLock'](),_0x443932['reset']();}}['_handleError'](_0x20d37c){if(_0x20d37c instanceof ckeditor5['CKEditorError'])throw _0x20d37c;if(_0x20d37c instanceof Error&&'AbortError'===_0x20d37c['name'])throw new ckeditor5['CKEditorError']('ai-request-aborted',this,{'originalError':_0x20d37c});throw new ckeditor5['CKEditorError']('ai-request-failed',this,{'originalError':_0x20d37c});}}function createResizeButton(_0x33ede5,_0x3e8b25){const _0x4206a6=new ckeditor5['ButtonView'](_0x33ede5),_0x28ef0b=getTranslation$i(_0x33ede5,'AI_TABS_LABEL_MINIMIZE'),_0x38c82e=getTranslation$i(_0x33ede5,'AI_TABS_LABEL_MAXIMIZE');return _0x4206a6['set']({'withText':!0x1,'icon':ckeditor5['IconMaximize'],'tooltip':!0x0,'class':'ck-ai-tabs__resize\x20ck-ai-button-tertiary-text'}),_0x4206a6['bind']('label')['to'](_0x3e8b25,'isMaximized',_0x4cb7cf=>_0x4cb7cf?_0x28ef0b:_0x38c82e),_0x4206a6['bind']('icon')['to'](_0x3e8b25,'isMaximized',_0x270cd9=>_0x270cd9?ckeditor5['IconMinimize']:ckeditor5['IconMaximize']),_0x4206a6['bind']('isOn')['to'](_0x3e8b25,'isMaximized'),_0x4206a6['on']('execute',()=>{_0x3e8b25['fire']('resizeTabs');}),_0x4206a6;}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'](_0x54c80c=>_0x54c80c['charCodeAt'](0x0))),_0x406b57=new Uint16Array('Ȁaglq\x09\x15\x18\x1bɭ\x0f\x00\x00\x12p;䀦os;䀧t;䀾t;䀼uot;䀢'['split']('')['map'](_0xfd7302=>_0xfd7302['charCodeAt'](0x0)));var _0x5f0e75;const _0x3a0870=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!==(_0x5f0e75=String['fromCodePoint'])&&void 0x0!==_0x5f0e75?_0x5f0e75:function(_0x44d6c1){let _0x2c028f='';return _0x44d6c1>0xffff&&(_0x44d6c1-=0x10000,_0x2c028f+=String['fromCharCode'](_0x44d6c1>>>0xa&0x3ff|0xd800),_0x44d6c1=0xdc00|0x3ff&_0x44d6c1),_0x2c028f+=String['fromCharCode'](_0x44d6c1),_0x2c028f;};function replaceCodePoint(_0x44a353){var _0xa8a530;return _0x44a353>=0xd800&&_0x44a353<=0xdfff||_0x44a353>0x10ffff?0xfffd:null!==(_0xa8a530=_0x3a0870['get'](_0x44a353))&&void 0x0!==_0xa8a530?_0xa8a530:_0x44a353;}var _0x46999f;!function(_0x8694a){_0x8694a[_0x8694a['NUM']=0x23]='NUM',_0x8694a[_0x8694a['SEMI']=0x3b]='SEMI',_0x8694a[_0x8694a['EQUALS']=0x3d]='EQUALS',_0x8694a[_0x8694a['ZERO']=0x30]='ZERO',_0x8694a[_0x8694a['NINE']=0x39]='NINE',_0x8694a[_0x8694a['LOWER_A']=0x61]='LOWER_A',_0x8694a[_0x8694a['LOWER_F']=0x66]='LOWER_F',_0x8694a[_0x8694a['LOWER_X']=0x78]='LOWER_X',_0x8694a[_0x8694a['LOWER_Z']=0x7a]='LOWER_Z',_0x8694a[_0x8694a['UPPER_A']=0x41]='UPPER_A',_0x8694a[_0x8694a['UPPER_F']=0x46]='UPPER_F',_0x8694a[_0x8694a['UPPER_Z']=0x5a]='UPPER_Z';}(_0x46999f||(_0x46999f={}));const _0x440590=0x20;var _0x5e2e84,EntityDecoderState,_0x2f4ed5,_0x40c189,State,QuoteType;function _0x4905f5(_0x334c5a){return _0x334c5a>=_0x46999f['ZERO']&&_0x334c5a<=_0x46999f['NINE'];}function isHexadecimalCharacter(_0x3087ec){return _0x3087ec>=_0x46999f['UPPER_A']&&_0x3087ec<=_0x46999f['UPPER_F']||_0x3087ec>=_0x46999f['LOWER_A']&&_0x3087ec<=_0x46999f['LOWER_F'];}function _0x18eef8(_0x2ed9fe){return _0x2ed9fe>=_0x46999f['UPPER_A']&&_0x2ed9fe<=_0x46999f['UPPER_Z']||_0x2ed9fe>=_0x46999f['LOWER_A']&&_0x2ed9fe<=_0x46999f['LOWER_Z']||_0x4905f5(_0x2ed9fe);}function isEntityInAttributeInvalidEnd(_0x4cf1c4){return _0x4cf1c4===_0x46999f['EQUALS']||_0x18eef8(_0x4cf1c4);}!function(_0xb07a81){_0xb07a81[_0xb07a81['VALUE_LENGTH']=0xc000]='VALUE_LENGTH',_0xb07a81[_0xb07a81['BRANCH_LENGTH']=0x3f80]='BRANCH_LENGTH',_0xb07a81[_0xb07a81['JUMP_TABLE']=0x7f]='JUMP_TABLE';}(_0x5e2e84||(_0x5e2e84={})),function(_0x564c11){_0x564c11[_0x564c11['EntityStart']=0x0]='EntityStart',_0x564c11[_0x564c11['NumericStart']=0x1]='NumericStart',_0x564c11[_0x564c11['NumericDecimal']=0x2]='NumericDecimal',_0x564c11[_0x564c11['NumericHex']=0x3]='NumericHex',_0x564c11[_0x564c11['NamedEntity']=0x4]='NamedEntity';}(EntityDecoderState||(EntityDecoderState={})),function(_0x23a0eb){_0x23a0eb[_0x23a0eb['Legacy']=0x0]='Legacy',_0x23a0eb[_0x23a0eb['Strict']=0x1]='Strict',_0x23a0eb[_0x23a0eb['Attribute']=0x2]='Attribute';}(_0x2f4ed5||(_0x2f4ed5={}));class EntityDecoder{constructor(_0x5d73d8,_0x56a935,_0x3b4c4a){this['decodeTree']=_0x5d73d8,this['emitCodePoint']=_0x56a935,this['errors']=_0x3b4c4a,this['state']=EntityDecoderState['EntityStart'],this['consumed']=0x1,this['result']=0x0,this['treeIndex']=0x0,this['excess']=0x1,this['decodeMode']=_0x2f4ed5['Strict'];}['startEntity'](_0x5c5062){this['decodeMode']=_0x5c5062,this['state']=EntityDecoderState['EntityStart'],this['result']=0x0,this['treeIndex']=0x0,this['excess']=0x1,this['consumed']=0x1;}['write'](_0x521468,_0x26dde4){switch(this['state']){case EntityDecoderState['EntityStart']:return _0x521468['charCodeAt'](_0x26dde4)===_0x46999f['NUM']?(this['state']=EntityDecoderState['NumericStart'],this['consumed']+=0x1,this['stateNumericStart'](_0x521468,_0x26dde4+0x1)):(this['state']=EntityDecoderState['NamedEntity'],this['stateNamedEntity'](_0x521468,_0x26dde4));case EntityDecoderState['NumericStart']:return this['stateNumericStart'](_0x521468,_0x26dde4);case EntityDecoderState['NumericDecimal']:return this['stateNumericDecimal'](_0x521468,_0x26dde4);case EntityDecoderState['NumericHex']:return this['stateNumericHex'](_0x521468,_0x26dde4);case EntityDecoderState['NamedEntity']:return this['stateNamedEntity'](_0x521468,_0x26dde4);}}['stateNumericStart'](_0x2d6f98,_0x138fb2){return _0x138fb2>=_0x2d6f98['length']?-0x1:(_0x2d6f98['charCodeAt'](_0x138fb2)|_0x440590)===_0x46999f['LOWER_X']?(this['state']=EntityDecoderState['NumericHex'],this['consumed']+=0x1,this['stateNumericHex'](_0x2d6f98,_0x138fb2+0x1)):(this['state']=EntityDecoderState['NumericDecimal'],this['stateNumericDecimal'](_0x2d6f98,_0x138fb2));}['addToNumericResult'](_0x1de296,_0x5ddcec,_0x3396d6,_0x567c94){if(_0x5ddcec!==_0x3396d6){const _0x3182e5=_0x3396d6-_0x5ddcec;this['result']=this['result']*Math['pow'](_0x567c94,_0x3182e5)+Number['parseInt'](_0x1de296['substr'](_0x5ddcec,_0x3182e5),_0x567c94),this['consumed']+=_0x3182e5;}}['stateNumericHex'](_0x313967,_0x5b3f71){const _0x2a31d8=_0x5b3f71;for(;_0x5b3f71<_0x313967['length'];){const _0x1b4d01=_0x313967['charCodeAt'](_0x5b3f71);if(!_0x4905f5(_0x1b4d01)&&!isHexadecimalCharacter(_0x1b4d01))return this['addToNumericResult'](_0x313967,_0x2a31d8,_0x5b3f71,0x10),this['emitNumericEntity'](_0x1b4d01,0x3);_0x5b3f71+=0x1;}return this['addToNumericResult'](_0x313967,_0x2a31d8,_0x5b3f71,0x10),-0x1;}['stateNumericDecimal'](_0x1e37c2,_0x412d85){const _0x1caf89=_0x412d85;for(;_0x412d85<_0x1e37c2['length'];){const _0x32fd0b=_0x1e37c2['charCodeAt'](_0x412d85);if(!_0x4905f5(_0x32fd0b))return this['addToNumericResult'](_0x1e37c2,_0x1caf89,_0x412d85,0xa),this['emitNumericEntity'](_0x32fd0b,0x2);_0x412d85+=0x1;}return this['addToNumericResult'](_0x1e37c2,_0x1caf89,_0x412d85,0xa),-0x1;}['emitNumericEntity'](_0xaa6469,_0x1e7067){var _0x5d4b36;if(this['consumed']<=_0x1e7067)return null===(_0x5d4b36=this['errors'])||void 0x0===_0x5d4b36||_0x5d4b36['absenceOfDigitsInNumericCharacterReference'](this['consumed']),0x0;if(_0xaa6469===_0x46999f['SEMI'])this['consumed']+=0x1;else{if(this['decodeMode']===_0x2f4ed5['Strict'])return 0x0;}return this['emitCodePoint'](replaceCodePoint(this['result']),this['consumed']),this['errors']&&(_0xaa6469!==_0x46999f['SEMI']&&this['errors']['missingSemicolonAfterCharacterReference'](),this['errors']['validateNumericCharacterReference'](this['result'])),this['consumed'];}['stateNamedEntity'](_0x2608e2,_0x5df549){const {decodeTree:_0x181991}=this;let _0x50f7ea=_0x181991[this['treeIndex']],_0x36be23=(_0x50f7ea&_0x5e2e84['VALUE_LENGTH'])>>0xe;for(;_0x5df549<_0x2608e2['length'];_0x5df549++,this['excess']++){const _0x53ceed=_0x2608e2['charCodeAt'](_0x5df549);if(this['treeIndex']=determineBranch(_0x181991,_0x50f7ea,this['treeIndex']+Math['max'](0x1,_0x36be23),_0x53ceed),this['treeIndex']<0x0)return 0x0===this['result']||this['decodeMode']===_0x2f4ed5['Attribute']&&(0x0===_0x36be23||isEntityInAttributeInvalidEnd(_0x53ceed))?0x0:this['emitNotTerminatedNamedEntity']();if(_0x50f7ea=_0x181991[this['treeIndex']],_0x36be23=(_0x50f7ea&_0x5e2e84['VALUE_LENGTH'])>>0xe,0x0!==_0x36be23){if(_0x53ceed===_0x46999f['SEMI'])return this['emitNamedEntityData'](this['treeIndex'],_0x36be23,this['consumed']+this['excess']);this['decodeMode']!==_0x2f4ed5['Strict']&&(this['result']=this['treeIndex'],this['consumed']+=this['excess'],this['excess']=0x0);}}return-0x1;}['emitNotTerminatedNamedEntity'](){var _0x283e35;const {result:_0x1f5a7e,decodeTree:_0x2bc4fd}=this,_0x4c2d7b=(_0x2bc4fd[_0x1f5a7e]&_0x5e2e84['VALUE_LENGTH'])>>0xe;return this['emitNamedEntityData'](_0x1f5a7e,_0x4c2d7b,this['consumed']),null===(_0x283e35=this['errors'])||void 0x0===_0x283e35||_0x283e35['missingSemicolonAfterCharacterReference'](),this['consumed'];}['emitNamedEntityData'](_0x2760e2,_0x37d370,_0x4a569e){const {decodeTree:_0x5f0b2a}=this;return this['emitCodePoint'](0x1===_0x37d370?_0x5f0b2a[_0x2760e2]&~_0x5e2e84['VALUE_LENGTH']:_0x5f0b2a[_0x2760e2+0x1],_0x4a569e),0x3===_0x37d370&&this['emitCodePoint'](_0x5f0b2a[_0x2760e2+0x2],_0x4a569e),_0x4a569e;}['end'](){var _0x8df49;switch(this['state']){case EntityDecoderState['NamedEntity']:return 0x0===this['result']||this['decodeMode']===_0x2f4ed5['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===(_0x8df49=this['errors'])||void 0x0===_0x8df49||_0x8df49['absenceOfDigitsInNumericCharacterReference'](this['consumed']),0x0;case EntityDecoderState['EntityStart']:return 0x0;}}}function determineBranch(_0x1f12f2,_0x39e7fe,_0xdf19e9,_0x5e7ece){const _0x4fb2cc=(_0x39e7fe&_0x5e2e84['BRANCH_LENGTH'])>>0x7,_0x27eebf=_0x39e7fe&_0x5e2e84['JUMP_TABLE'];if(0x0===_0x4fb2cc)return 0x0!==_0x27eebf&&_0x5e7ece===_0x27eebf?_0xdf19e9:-0x1;if(_0x27eebf){const _0x1d778d=_0x5e7ece-_0x27eebf;return _0x1d778d<0x0||_0x1d778d>=_0x4fb2cc?-0x1:_0x1f12f2[_0xdf19e9+_0x1d778d]-0x1;}let _0x51e678=_0xdf19e9,_0x2e51e5=_0x51e678+_0x4fb2cc-0x1;for(;_0x51e678<=_0x2e51e5;){const _0xad94c1=_0x51e678+_0x2e51e5>>>0x1,_0xeec797=_0x1f12f2[_0xad94c1];if(_0xeec797<_0x5e7ece)_0x51e678=_0xad94c1+0x1;else{if(!(_0xeec797>_0x5e7ece))return _0x1f12f2[_0xad94c1+_0x4fb2cc];_0x2e51e5=_0xad94c1-0x1;}}return-0x1;}function isWhitespace(_0x3c2ebc){return _0x3c2ebc===_0x40c189['Space']||_0x3c2ebc===_0x40c189['NewLine']||_0x3c2ebc===_0x40c189['Tab']||_0x3c2ebc===_0x40c189['FormFeed']||_0x3c2ebc===_0x40c189['CarriageReturn'];}function isEndOfTagSection(_0x5748ca){return _0x5748ca===_0x40c189['Slash']||_0x5748ca===_0x40c189['Gt']||isWhitespace(_0x5748ca);}function _0x58f606(_0x2b0cc4){return _0x2b0cc4>=_0x40c189['LowerA']&&_0x2b0cc4<=_0x40c189['LowerZ']||_0x2b0cc4>=_0x40c189['UpperA']&&_0x2b0cc4<=_0x40c189['UpperZ'];}!function(_0x2c2186){_0x2c2186[_0x2c2186['Tab']=0x9]='Tab',_0x2c2186[_0x2c2186['NewLine']=0xa]='NewLine',_0x2c2186[_0x2c2186['FormFeed']=0xc]='FormFeed',_0x2c2186[_0x2c2186['CarriageReturn']=0xd]='CarriageReturn',_0x2c2186[_0x2c2186['Space']=0x20]='Space',_0x2c2186[_0x2c2186['ExclamationMark']=0x21]='ExclamationMark',_0x2c2186[_0x2c2186['Number']=0x23]='Number',_0x2c2186[_0x2c2186['Amp']=0x26]='Amp',_0x2c2186[_0x2c2186['SingleQuote']=0x27]='SingleQuote',_0x2c2186[_0x2c2186['DoubleQuote']=0x22]='DoubleQuote',_0x2c2186[_0x2c2186['Dash']=0x2d]='Dash',_0x2c2186[_0x2c2186['Slash']=0x2f]='Slash',_0x2c2186[_0x2c2186['Zero']=0x30]='Zero',_0x2c2186[_0x2c2186['Nine']=0x39]='Nine',_0x2c2186[_0x2c2186['Semi']=0x3b]='Semi',_0x2c2186[_0x2c2186['Lt']=0x3c]='Lt',_0x2c2186[_0x2c2186['Eq']=0x3d]='Eq',_0x2c2186[_0x2c2186['Gt']=0x3e]='Gt',_0x2c2186[_0x2c2186['Questionmark']=0x3f]='Questionmark',_0x2c2186[_0x2c2186['UpperA']=0x41]='UpperA',_0x2c2186[_0x2c2186['LowerA']=0x61]='LowerA',_0x2c2186[_0x2c2186['UpperF']=0x46]='UpperF',_0x2c2186[_0x2c2186['LowerF']=0x66]='LowerF',_0x2c2186[_0x2c2186['UpperZ']=0x5a]='UpperZ',_0x2c2186[_0x2c2186['LowerZ']=0x7a]='LowerZ',_0x2c2186[_0x2c2186['LowerX']=0x78]='LowerX',_0x2c2186[_0x2c2186['OpeningSquareBracket']=0x5b]='OpeningSquareBracket';}(_0x40c189||(_0x40c189={})),function(_0x383c43){_0x383c43[_0x383c43['Text']=0x1]='Text',_0x383c43[_0x383c43['BeforeTagName']=0x2]='BeforeTagName',_0x383c43[_0x383c43['InTagName']=0x3]='InTagName',_0x383c43[_0x383c43['InSelfClosingTag']=0x4]='InSelfClosingTag',_0x383c43[_0x383c43['BeforeClosingTagName']=0x5]='BeforeClosingTagName',_0x383c43[_0x383c43['InClosingTagName']=0x6]='InClosingTagName',_0x383c43[_0x383c43['AfterClosingTagName']=0x7]='AfterClosingTagName',_0x383c43[_0x383c43['BeforeAttributeName']=0x8]='BeforeAttributeName',_0x383c43[_0x383c43['InAttributeName']=0x9]='InAttributeName',_0x383c43[_0x383c43['AfterAttributeName']=0xa]='AfterAttributeName',_0x383c43[_0x383c43['BeforeAttributeValue']=0xb]='BeforeAttributeValue',_0x383c43[_0x383c43['InAttributeValueDq']=0xc]='InAttributeValueDq',_0x383c43[_0x383c43['InAttributeValueSq']=0xd]='InAttributeValueSq',_0x383c43[_0x383c43['InAttributeValueNq']=0xe]='InAttributeValueNq',_0x383c43[_0x383c43['BeforeDeclaration']=0xf]='BeforeDeclaration',_0x383c43[_0x383c43['InDeclaration']=0x10]='InDeclaration',_0x383c43[_0x383c43['InProcessingInstruction']=0x11]='InProcessingInstruction',_0x383c43[_0x383c43['BeforeComment']=0x12]='BeforeComment',_0x383c43[_0x383c43['CDATASequence']=0x13]='CDATASequence',_0x383c43[_0x383c43['InSpecialComment']=0x14]='InSpecialComment',_0x383c43[_0x383c43['InCommentLike']=0x15]='InCommentLike',_0x383c43[_0x383c43['BeforeSpecialS']=0x16]='BeforeSpecialS',_0x383c43[_0x383c43['BeforeSpecialT']=0x17]='BeforeSpecialT',_0x383c43[_0x383c43['SpecialStartSequence']=0x18]='SpecialStartSequence',_0x383c43[_0x383c43['InSpecialTag']=0x19]='InSpecialTag',_0x383c43[_0x383c43['InEntity']=0x1a]='InEntity';}(State||(State={})),function(_0xdc7984){_0xdc7984[_0xdc7984['NoValue']=0x0]='NoValue',_0xdc7984[_0xdc7984['Unquoted']=0x1]='Unquoted',_0xdc7984[_0xdc7984['Single']=0x2]='Single',_0xdc7984[_0xdc7984['Double']=0x3]='Double';}(QuoteType||(QuoteType={}));const _0x452d3e={'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 _0x180362{constructor({xmlMode:_0x36b291=!0x1,decodeEntities:_0x4dee42=!0x0},_0x58fc5a){this['cbs']=_0x58fc5a,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']=_0x36b291,this['decodeEntities']=_0x4dee42,this['entityDecoder']=new EntityDecoder(_0x36b291?_0x406b57:htmlDecodeTree,(_0x538f1e,_0x4115a3)=>this['emitCodePoint'](_0x538f1e,_0x4115a3));}['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'](_0x4bc936){this['offset']+=this['buffer']['length'],this['buffer']=_0x4bc936,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'](_0x4b4d1a){_0x4b4d1a===_0x40c189['Lt']||!this['decodeEntities']&&this['fastForwardTo'](_0x40c189['Lt'])?(this['index']>this['sectionStart']&&this['cbs']['ontext'](this['sectionStart'],this['index']),this['state']=State['BeforeTagName'],this['sectionStart']=this['index']):this['decodeEntities']&&_0x4b4d1a===_0x40c189['Amp']&&this['startEntity']();}['stateSpecialStartSequence'](_0x3711c2){const _0x4dd0dc=this['sequenceIndex']===this['currentSequence']['length'];if(_0x4dd0dc?isEndOfTagSection(_0x3711c2):(0x20|_0x3711c2)===this['currentSequence'][this['sequenceIndex']]){if(!_0x4dd0dc)return void this['sequenceIndex']++;}else this['isSpecial']=!0x1;this['sequenceIndex']=0x0,this['state']=State['InTagName'],this['stateInTagName'](_0x3711c2);}['stateInSpecialTag'](_0x409662){if(this['sequenceIndex']===this['currentSequence']['length']){if(_0x409662===_0x40c189['Gt']||isWhitespace(_0x409662)){const _0x143707=this['index']-this['currentSequence']['length'];if(this['sectionStart']<_0x143707){const _0x43ae04=this['index'];this['index']=_0x143707,this['cbs']['ontext'](this['sectionStart'],_0x143707),this['index']=_0x43ae04;}return this['isSpecial']=!0x1,this['sectionStart']=_0x143707+0x2,void this['stateInClosingTagName'](_0x409662);}this['sequenceIndex']=0x0;}(0x20|_0x409662)===this['currentSequence'][this['sequenceIndex']]?this['sequenceIndex']+=0x1:0x0===this['sequenceIndex']?this['currentSequence']===_0x452d3e['TitleEnd']?this['decodeEntities']&&_0x409662===_0x40c189['Amp']&&this['startEntity']():this['fastForwardTo'](_0x40c189['Lt'])&&(this['sequenceIndex']=0x1):this['sequenceIndex']=Number(_0x409662===_0x40c189['Lt']);}['stateCDATASequence'](_0xc026d){_0xc026d===_0x452d3e['Cdata'][this['sequenceIndex']]?++this['sequenceIndex']===_0x452d3e['Cdata']['length']&&(this['state']=State['InCommentLike'],this['currentSequence']=_0x452d3e['CdataEnd'],this['sequenceIndex']=0x0,this['sectionStart']=this['index']+0x1):(this['sequenceIndex']=0x0,this['state']=State['InDeclaration'],this['stateInDeclaration'](_0xc026d));}['fastForwardTo'](_0x2fbd97){for(;++this['index']<this['buffer']['length']+this['offset'];)if(this['buffer']['charCodeAt'](this['index']-this['offset'])===_0x2fbd97)return!0x0;return this['index']=this['buffer']['length']+this['offset']-0x1,!0x1;}['stateInCommentLike'](_0x49c694){_0x49c694===this['currentSequence'][this['sequenceIndex']]?++this['sequenceIndex']===this['currentSequence']['length']&&(this['currentSequence']===_0x452d3e['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):_0x49c694!==this['currentSequence'][this['sequenceIndex']-0x1]&&(this['sequenceIndex']=0x0);}['isTagStartChar'](_0x3b498f){return this['xmlMode']?!isEndOfTagSection(_0x3b498f):_0x58f606(_0x3b498f);}['startSpecial'](_0x96fb2,_0x45a4f5){this['isSpecial']=!0x0,this['currentSequence']=_0x96fb2,this['sequenceIndex']=_0x45a4f5,this['state']=State['SpecialStartSequence'];}['stateBeforeTagName'](_0x47ea5c){if(_0x47ea5c===_0x40c189['ExclamationMark'])this['state']=State['BeforeDeclaration'],this['sectionStart']=this['index']+0x1;else{if(_0x47ea5c===_0x40c189['Questionmark'])this['state']=State['InProcessingInstruction'],this['sectionStart']=this['index']+0x1;else{if(this['isTagStartChar'](_0x47ea5c)){const _0x3684ab=0x20|_0x47ea5c;this['sectionStart']=this['index'],this['xmlMode']?this['state']=State['InTagName']:_0x3684ab===_0x452d3e['ScriptEnd'][0x2]?this['state']=State['BeforeSpecialS']:_0x3684ab===_0x452d3e['TitleEnd'][0x2]||_0x3684ab===_0x452d3e['XmpEnd'][0x2]?this['state']=State['BeforeSpecialT']:this['state']=State['InTagName'];}else _0x47ea5c===_0x40c189['Slash']?this['state']=State['BeforeClosingTagName']:(this['state']=State['Text'],this['stateText'](_0x47ea5c));}}}['stateInTagName'](_0x42e2d9){isEndOfTagSection(_0x42e2d9)&&(this['cbs']['onopentagname'](this['sectionStart'],this['index']),this['sectionStart']=-0x1,this['state']=State['BeforeAttributeName'],this['stateBeforeAttributeName'](_0x42e2d9));}['stateBeforeClosingTagName'](_0x326810){isWhitespace(_0x326810)||(_0x326810===_0x40c189['Gt']?this['state']=State['Text']:(this['state']=this['isTagStartChar'](_0x326810)?State['InClosingTagName']:State['InSpecialComment'],this['sectionStart']=this['index']));}['stateInClosingTagName'](_0x22c9aa){(_0x22c9aa===_0x40c189['Gt']||isWhitespace(_0x22c9aa))&&(this['cbs']['onclosetag'](this['sectionStart'],this['index']),this['sectionStart']=-0x1,this['state']=State['AfterClosingTagName'],this['stateAfterClosingTagName'](_0x22c9aa));}['stateAfterClosingTagName'](_0x578d04){(_0x578d04===_0x40c189['Gt']||this['fastForwardTo'](_0x40c189['Gt']))&&(this['state']=State['Text'],this['sectionStart']=this['index']+0x1);}['stateBeforeAttributeName'](_0x5a561f){_0x5a561f===_0x40c189['Gt']?(this['cbs']['onopentagend'](this['index']),this['isSpecial']?(this['state']=State['InSpecialTag'],this['sequenceIndex']=0x0):this['state']=State['Text'],this['sectionStart']=this['index']+0x1):_0x5a561f===_0x40c189['Slash']?this['state']=State['InSelfClosingTag']:isWhitespace(_0x5a561f)||(this['state']=State['InAttributeName'],this['sectionStart']=this['index']);}['stateInSelfClosingTag'](_0x24e4f0){_0x24e4f0===_0x40c189['Gt']?(this['cbs']['onselfclosingtag'](this['index']),this['state']=State['Text'],this['sectionStart']=this['index']+0x1,this['isSpecial']=!0x1):isWhitespace(_0x24e4f0)||(this['state']=State['BeforeAttributeName'],this['stateBeforeAttributeName'](_0x24e4f0));}['stateInAttributeName'](_0x2312c1){(_0x2312c1===_0x40c189['Eq']||isEndOfTagSection(_0x2312c1))&&(this['cbs']['onattribname'](this['sectionStart'],this['index']),this['sectionStart']=this['index'],this['state']=State['AfterAttributeName'],this['stateAfterAttributeName'](_0x2312c1));}['stateAfterAttributeName'](_0x5a3e8e){_0x5a3e8e===_0x40c189['Eq']?this['state']=State['BeforeAttributeValue']:_0x5a3e8e===_0x40c189['Slash']||_0x5a3e8e===_0x40c189['Gt']?(this['cbs']['onattribend'](QuoteType['NoValue'],this['sectionStart']),this['sectionStart']=-0x1,this['state']=State['BeforeAttributeName'],this['stateBeforeAttributeName'](_0x5a3e8e)):isWhitespace(_0x5a3e8e)||(this['cbs']['onattribend'](QuoteType['NoValue'],this['sectionStart']),this['state']=State['InAttributeName'],this['sectionStart']=this['index']);}['stateBeforeAttributeValue'](_0x5b119a){_0x5b119a===_0x40c189['DoubleQuote']?(this['state']=State['InAttributeValueDq'],this['sectionStart']=this['index']+0x1):_0x5b119a===_0x40c189['SingleQuote']?(this['state']=State['InAttributeValueSq'],this['sectionStart']=this['index']+0x1):isWhitespace(_0x5b119a)||(this['sectionStart']=this['index'],this['state']=State['InAttributeValueNq'],this['stateInAttributeValueNoQuotes'](_0x5b119a));}['handleInAttributeValue'](_0xb1fa29,_0x283908){_0xb1fa29===_0x283908||!this['decodeEntities']&&this['fastForwardTo'](_0x283908)?(this['cbs']['onattribdata'](this['sectionStart'],this['index']),this['sectionStart']=-0x1,this['cbs']['onattribend'](_0x283908===_0x40c189['DoubleQuote']?QuoteType['Double']:QuoteType['Single'],this['index']+0x1),this['state']=State['BeforeAttributeName']):this['decodeEntities']&&_0xb1fa29===_0x40c189['Amp']&&this['startEntity']();}['stateInAttributeValueDoubleQuotes'](_0x12c972){this['handleInAttributeValue'](_0x12c972,_0x40c189['DoubleQuote']);}['stateInAttributeValueSingleQuotes'](_0x549684){this['handleInAttributeValue'](_0x549684,_0x40c189['SingleQuote']);}['stateInAttributeValueNoQuotes'](_0x545d31){isWhitespace(_0x545d31)||_0x545d31===_0x40c189['Gt']?(this['cbs']['onattribdata'](this['sectionStart'],this['index']),this['sectionStart']=-0x1,this['cbs']['onattribend'](QuoteType['Unquoted'],this['index']),this['state']=State['BeforeAttributeName'],this['stateBeforeAttributeName'](_0x545d31)):this['decodeEntities']&&_0x545d31===_0x40c189['Amp']&&this['startEntity']();}['stateBeforeDeclaration'](_0x21698f){_0x21698f===_0x40c189['OpeningSquareBracket']?(this['state']=State['CDATASequence'],this['sequenceIndex']=0x0):this['state']=_0x21698f===_0x40c189['Dash']?State['BeforeComment']:State['InDeclaration'];}['stateInDeclaration'](_0x54bab9){(_0x54bab9===_0x40c189['Gt']||this['fastForwardTo'](_0x40c189['Gt']))&&(this['cbs']['ondeclaration'](this['sectionStart'],this['index']),this['state']=State['Text'],this['sectionStart']=this['index']+0x1);}['stateInProcessingInstruction'](_0x3bdda7){(_0x3bdda7===_0x40c189['Gt']||this['fastForwardTo'](_0x40c189['Gt']))&&(this['cbs']['onprocessinginstruction'](this['sectionStart'],this['index']),this['state']=State['Text'],this['sectionStart']=this['index']+0x1);}['stateBeforeComment'](_0x3990cd){_0x3990cd===_0x40c189['Dash']?(this['state']=State['InCommentLike'],this['currentSequence']=_0x452d3e['CommentEnd'],this['sequenceIndex']=0x2,this['sectionStart']=this['index']+0x1):this['state']=State['InDeclaration'];}['stateInSpecialComment'](_0x92bbd){(_0x92bbd===_0x40c189['Gt']||this['fastForwardTo'](_0x40c189['Gt']))&&(this['cbs']['oncomment'](this['sectionStart'],this['index'],0x0),this['state']=State['Text'],this['sectionStart']=this['index']+0x1);}['stateBeforeSpecialS'](_0x2cde60){const _0x24c41e=0x20|_0x2cde60;_0x24c41e===_0x452d3e['ScriptEnd'][0x3]?this['startSpecial'](_0x452d3e['ScriptEnd'],0x4):_0x24c41e===_0x452d3e['StyleEnd'][0x3]?this['startSpecial'](_0x452d3e['StyleEnd'],0x4):(this['state']=State['InTagName'],this['stateInTagName'](_0x2cde60));}['stateBeforeSpecialT'](_0x8871fe){switch(0x20|_0x8871fe){case _0x452d3e['TitleEnd'][0x3]:this['startSpecial'](_0x452d3e['TitleEnd'],0x4);break;case _0x452d3e['TextareaEnd'][0x3]:this['startSpecial'](_0x452d3e['TextareaEnd'],0x4);break;case _0x452d3e['XmpEnd'][0x3]:this['startSpecial'](_0x452d3e['XmpEnd'],0x4);break;default:this['state']=State['InTagName'],this['stateInTagName'](_0x8871fe);}}['startEntity'](){this['baseState']=this['state'],this['state']=State['InEntity'],this['entityStart']=this['index'],this['entityDecoder']['startEntity'](this['xmlMode']?_0x2f4ed5['Strict']:this['baseState']===State['Text']||this['baseState']===State['InSpecialTag']?_0x2f4ed5['Legacy']:_0x2f4ed5['Attribute']);}['stateInEntity'](){const _0x1391b3=this['entityDecoder']['write'](this['buffer'],this['index']-this['offset']);_0x1391b3>=0x0?(this['state']=this['baseState'],0x0===_0x1391b3&&(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 _0x15af9e=this['buffer']['charCodeAt'](this['index']-this['offset']);switch(this['state']){case State['Text']:this['stateText'](_0x15af9e);break;case State['SpecialStartSequence']:this['stateSpecialStartSequence'](_0x15af9e);break;case State['InSpecialTag']:this['stateInSpecialTag'](_0x15af9e);break;case State['CDATASequence']:this['stateCDATASequence'](_0x15af9e);break;case State['InAttributeValueDq']:this['stateInAttributeValueDoubleQuotes'](_0x15af9e);break;case State['InAttributeName']:this['stateInAttributeName'](_0x15af9e);break;case State['InCommentLike']:this['stateInCommentLike'](_0x15af9e);break;case State['InSpecialComment']:this['stateInSpecialComment'](_0x15af9e);break;case State['BeforeAttributeName']:this['stateBeforeAttributeName'](_0x15af9e);break;case State['InTagName']:this['stateInTagName'](_0x15af9e);break;case State['InClosingTagName']:this['stateInClosingTagName'](_0x15af9e);break;case State['BeforeTagName']:this['stateBeforeTagName'](_0x15af9e);break;case State['AfterAttributeName']:this['stateAfterAttributeName'](_0x15af9e);break;case State['InAttributeValueSq']:this['stateInAttributeValueSingleQuotes'](_0x15af9e);break;case State['BeforeAttributeValue']:this['stateBeforeAttributeValue'](_0x15af9e);break;case State['BeforeClosingTagName']:this['stateBeforeClosingTagName'](_0x15af9e);break;case State['AfterClosingTagName']:this['stateAfterClosingTagName'](_0x15af9e);break;case State['BeforeSpecialS']:this['stateBeforeSpecialS'](_0x15af9e);break;case State['BeforeSpecialT']:this['stateBeforeSpecialT'](_0x15af9e);break;case State['InAttributeValueNq']:this['stateInAttributeValueNoQuotes'](_0x15af9e);break;case State['InSelfClosingTag']:this['stateInSelfClosingTag'](_0x15af9e);break;case State['InDeclaration']:this['stateInDeclaration'](_0x15af9e);break;case State['BeforeDeclaration']:this['stateBeforeDeclaration'](_0x15af9e);break;case State['BeforeComment']:this['stateBeforeComment'](_0x15af9e);break;case State['InProcessingInstruction']:this['stateInProcessingInstruction'](_0x15af9e);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 _0x7544b8=this['buffer']['length']+this['offset'];this['sectionStart']>=_0x7544b8||(this['state']===State['InCommentLike']?this['currentSequence']===_0x452d3e['CdataEnd']?this['cbs']['oncdata'](this['sectionStart'],_0x7544b8,0x0):this['cbs']['oncomment'](this['sectionStart'],_0x7544b8,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'],_0x7544b8));}['emitCodePoint'](_0x24209c,_0x36d180){this['baseState']!==State['Text']&&this['baseState']!==State['InSpecialTag']?(this['sectionStart']<this['entityStart']&&this['cbs']['onattribdata'](this['sectionStart'],this['entityStart']),this['sectionStart']=this['entityStart']+_0x36d180,this['index']=this['sectionStart']-0x1,this['cbs']['onattribentity'](_0x24209c)):(this['sectionStart']<this['entityStart']&&this['cbs']['ontext'](this['sectionStart'],this['entityStart']),this['sectionStart']=this['entityStart']+_0x36d180,this['index']=this['sectionStart']-0x1,this['cbs']['ontextentity'](_0x24209c,this['sectionStart']));}}const _0x5054fa=new Set(['input','option','optgroup','select','button','datalist','textarea']),_0x442a32=new Set(['p']),tableSectionTags=new Set(['thead','tbody']),ddtTags=new Set(['dd','dt']),rtpTags=new Set(['rt','rp']),_0x56ea8d=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',_0x442a32],['h1',_0x442a32],['h2',_0x442a32],['h3',_0x442a32],['h4',_0x442a32],['h5',_0x442a32],['h6',_0x442a32],['select',_0x5054fa],['input',_0x5054fa],['output',_0x5054fa],['button',_0x5054fa],['datalist',_0x5054fa],['textarea',_0x5054fa],['option',new Set(['option'])],['optgroup',new Set(['optgroup','option'])],['dd',ddtTags],['dt',ddtTags],['address',_0x442a32],['article',_0x442a32],['aside',_0x442a32],['blockquote',_0x442a32],['details',_0x442a32],['div',_0x442a32],['dl',_0x442a32],['fieldset',_0x442a32],['figcaption',_0x442a32],['figure',_0x442a32],['footer',_0x442a32],['form',_0x442a32],['header',_0x442a32],['hr',_0x442a32],['main',_0x442a32],['nav',_0x442a32],['ol',_0x442a32],['pre',_0x442a32],['section',_0x442a32],['table',_0x442a32],['ul',_0x442a32],['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']),_0x40c49c=/\s|\//;let _0x3d027c=class{constructor(_0x35cda6,_0x24fbf3={}){var _0x37302f,_0x980c09,_0x1b1222,_0x59ec3c,_0x5b5dc1,_0x3b3197;this['options']=_0x24fbf3,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!=_0x35cda6?_0x35cda6:{},this['htmlMode']=!this['options']['xmlMode'],this['lowerCaseTagNames']=null!==(_0x37302f=_0x24fbf3['lowerCaseTags'])&&void 0x0!==_0x37302f?_0x37302f:this['htmlMode'],this['lowerCaseAttributeNames']=null!==(_0x980c09=_0x24fbf3['lowerCaseAttributeNames'])&&void 0x0!==_0x980c09?_0x980c09:this['htmlMode'],this['recognizeSelfClosing']=null!==(_0x1b1222=_0x24fbf3['recognizeSelfClosing'])&&void 0x0!==_0x1b1222?_0x1b1222:!this['htmlMode'],this['tokenizer']=new(null!==(_0x59ec3c=_0x24fbf3['Tokenizer'])&&void 0x0!==_0x59ec3c?_0x59ec3c:_0x180362)(this['options'],this),this['foreignContext']=[!this['htmlMode']],null===(_0x3b3197=(_0x5b5dc1=this['cbs'])['onparserinit'])||void 0x0===_0x3b3197||_0x3b3197['call'](_0x5b5dc1,this);}['ontext'](_0x5e2885,_0xea4ceb){var _0x17129a,_0x48e6e5;const _0x2d645b=this['getSlice'](_0x5e2885,_0xea4ceb);this['endIndex']=_0xea4ceb-0x1,null===(_0x48e6e5=(_0x17129a=this['cbs'])['ontext'])||void 0x0===_0x48e6e5||_0x48e6e5['call'](_0x17129a,_0x2d645b),this['startIndex']=_0xea4ceb;}['ontextentity'](_0x5db05f,_0x4ba7f9){var _0x50201e,_0xbbb8bb;this['endIndex']=_0x4ba7f9-0x1,null===(_0xbbb8bb=(_0x50201e=this['cbs'])['ontext'])||void 0x0===_0xbbb8bb||_0xbbb8bb['call'](_0x50201e,fromCodePoint$1(_0x5db05f)),this['startIndex']=_0x4ba7f9;}['isVoidElement'](_0x3869ea){return this['htmlMode']&&voidElements['has'](_0x3869ea);}['onopentagname'](_0x119591,_0x2bd10d){this['endIndex']=_0x2bd10d;let _0x448166=this['getSlice'](_0x119591,_0x2bd10d);this['lowerCaseTagNames']&&(_0x448166=_0x448166['toLowerCase']()),this['emitOpenTag'](_0x448166);}['emitOpenTag'](_0x4b0bb2){var _0x166db8,_0x55fe07,_0x287426,_0x5e72a4;this['openTagStart']=this['startIndex'],this['tagname']=_0x4b0bb2;const _0x53d718=this['htmlMode']&&_0x56ea8d['get'](_0x4b0bb2);if(_0x53d718)for(;this['stack']['length']>0x0&&_0x53d718['has'](this['stack'][0x0]);){const _0x182de4=this['stack']['shift']();null===(_0x55fe07=(_0x166db8=this['cbs'])['onclosetag'])||void 0x0===_0x55fe07||_0x55fe07['call'](_0x166db8,_0x182de4,!0x0);}this['isVoidElement'](_0x4b0bb2)||(this['stack']['unshift'](_0x4b0bb2),this['htmlMode']&&(foreignContextElements['has'](_0x4b0bb2)?this['foreignContext']['unshift'](!0x0):htmlIntegrationElements['has'](_0x4b0bb2)&&this['foreignContext']['unshift'](!0x1))),null===(_0x5e72a4=(_0x287426=this['cbs'])['onopentagname'])||void 0x0===_0x5e72a4||_0x5e72a4['call'](_0x287426,_0x4b0bb2),this['cbs']['onopentag']&&(this['attribs']={});}['endOpenTag'](_0x5cc574){var _0x3b5dd3,_0x395b17;this['startIndex']=this['openTagStart'],this['attribs']&&(null===(_0x395b17=(_0x3b5dd3=this['cbs'])['onopentag'])||void 0x0===_0x395b17||_0x395b17['call'](_0x3b5dd3,this['tagname'],this['attribs'],_0x5cc574),this['attribs']=null),this['cbs']['onclosetag']&&this['isVoidElement'](this['tagname'])&&this['cbs']['onclosetag'](this['tagname'],!0x0),this['tagname']='';}['onopentagend'](_0x68f69f){this['endIndex']=_0x68f69f,this['endOpenTag'](!0x1),this['startIndex']=_0x68f69f+0x1;}['onclosetag'](_0x3ad3c4,_0xe134ff){var _0x4a7bd0,_0x4fb222,_0x1b81aa,_0x5d7f44,_0x5270d5,_0x6d0649,_0x385f2a,_0x42b3a6;this['endIndex']=_0xe134ff;let _0x4f7b7e=this['getSlice'](_0x3ad3c4,_0xe134ff);if(this['lowerCaseTagNames']&&(_0x4f7b7e=_0x4f7b7e['toLowerCase']()),this['htmlMode']&&(foreignContextElements['has'](_0x4f7b7e)||htmlIntegrationElements['has'](_0x4f7b7e))&&this['foreignContext']['shift'](),this['isVoidElement'](_0x4f7b7e))this['htmlMode']&&'br'===_0x4f7b7e&&(null===(_0x5d7f44=(_0x1b81aa=this['cbs'])['onopentagname'])||void 0x0===_0x5d7f44||_0x5d7f44['call'](_0x1b81aa,'br'),null===(_0x6d0649=(_0x5270d5=this['cbs'])['onopentag'])||void 0x0===_0x6d0649||_0x6d0649['call'](_0x5270d5,'br',{},!0x0),null===(_0x42b3a6=(_0x385f2a=this['cbs'])['onclosetag'])||void 0x0===_0x42b3a6||_0x42b3a6['call'](_0x385f2a,'br',!0x1));else{const _0x34bcdd=this['stack']['indexOf'](_0x4f7b7e);if(-0x1!==_0x34bcdd)for(let _0xfc01a7=0x0;_0xfc01a7<=_0x34bcdd;_0xfc01a7++){const _0x510eaa=this['stack']['shift']();null===(_0x4fb222=(_0x4a7bd0=this['cbs'])['onclosetag'])||void 0x0===_0x4fb222||_0x4fb222['call'](_0x4a7bd0,_0x510eaa,_0xfc01a7!==_0x34bcdd);}else this['htmlMode']&&'p'===_0x4f7b7e&&(this['emitOpenTag']('p'),this['closeCurrentTag'](!0x0));}this['startIndex']=_0xe134ff+0x1;}['onselfclosingtag'](_0x42a91b){this['endIndex']=_0x42a91b,this['recognizeSelfClosing']||this['foreignContext'][0x0]?(this['closeCurrentTag'](!0x1),this['startIndex']=_0x42a91b+0x1):this['onopentagend'](_0x42a91b);}['closeCurrentTag'](_0x16100c){var _0x1728ae,_0x401543;const _0x20aeab=this['tagname'];this['endOpenTag'](_0x16100c),this['stack'][0x0]===_0x20aeab&&(null===(_0x401543=(_0x1728ae=this['cbs'])['onclosetag'])||void 0x0===_0x401543||_0x401543['call'](_0x1728ae,_0x20aeab,!_0x16100c),this['stack']['shift']());}['onattribname'](_0x586364,_0x39b2c6){this['startIndex']=_0x586364;const _0x4c5f4c=this['getSlice'](_0x586364,_0x39b2c6);this['attribname']=this['lowerCaseAttributeNames']?_0x4c5f4c['toLowerCase']():_0x4c5f4c;}['onattribdata'](_0x26e9a6,_0x46d40e){this['attribvalue']+=this['getSlice'](_0x26e9a6,_0x46d40e);}['onattribentity'](_0x4fc6c2){this['attribvalue']+=fromCodePoint$1(_0x4fc6c2);}['onattribend'](_0x1d9601,_0x2a3313){var _0x4deb47,_0x30d56c;this['endIndex']=_0x2a3313,null===(_0x30d56c=(_0x4deb47=this['cbs'])['onattribute'])||void 0x0===_0x30d56c||_0x30d56c['call'](_0x4deb47,this['attribname'],this['attribvalue'],_0x1d9601===QuoteType['Double']?'\x22':_0x1d9601===QuoteType['Single']?'\x27':_0x1d9601===QuoteType['NoValue']?void 0x0:null),this['attribs']&&!Object['prototype']['hasOwnProperty']['call'](this['attribs'],this['attribname'])&&(this['attribs'][this['attribname']]=this['attribvalue']),this['attribvalue']='';}['getInstructionName'](_0x426aaf){const _0x23bb41=_0x426aaf['search'](_0x40c49c);let _0x129e71=_0x23bb41<0x0?_0x426aaf:_0x426aaf['substr'](0x0,_0x23bb41);return this['lowerCaseTagNames']&&(_0x129e71=_0x129e71['toLowerCase']()),_0x129e71;}['ondeclaration'](_0x2809c8,_0x4e13b7){this['endIndex']=_0x4e13b7;const _0x492bfc=this['getSlice'](_0x2809c8,_0x4e13b7);if(this['cbs']['onprocessinginstruction']){const _0xa15894=this['getInstructionName'](_0x492bfc);this['cbs']['onprocessinginstruction']('!'+_0xa15894,'!'+_0x492bfc);}this['startIndex']=_0x4e13b7+0x1;}['onprocessinginstruction'](_0x53cd1d,_0x32f20c){this['endIndex']=_0x32f20c;const _0x37b24f=this['getSlice'](_0x53cd1d,_0x32f20c);if(this['cbs']['onprocessinginstruction']){const _0xa0e8f5=this['getInstructionName'](_0x37b24f);this['cbs']['onprocessinginstruction']('?'+_0xa0e8f5,'?'+_0x37b24f);}this['startIndex']=_0x32f20c+0x1;}['oncomment'](_0x3a9214,_0x21873e,_0x144310){var _0xb657a,_0x24bc9b,_0xc6df4e,_0x4c7833;this['endIndex']=_0x21873e,null===(_0x24bc9b=(_0xb657a=this['cbs'])['oncomment'])||void 0x0===_0x24bc9b||_0x24bc9b['call'](_0xb657a,this['getSlice'](_0x3a9214,_0x21873e-_0x144310)),null===(_0x4c7833=(_0xc6df4e=this['cbs'])['oncommentend'])||void 0x0===_0x4c7833||_0x4c7833['call'](_0xc6df4e),this['startIndex']=_0x21873e+0x1;}['oncdata'](_0x5206e4,_0x4220cb,_0x3276b6){var _0x5e3c60,_0x5964c1,_0x1b72a4,_0x1f455f,_0x4302f4,_0x6af99f,_0x26ec26,_0x3606cb,_0x1385fb,_0x8f8174;this['endIndex']=_0x4220cb;const _0x5ab2ca=this['getSlice'](_0x5206e4,_0x4220cb-_0x3276b6);!this['htmlMode']||this['options']['recognizeCDATA']?(null===(_0x5964c1=(_0x5e3c60=this['cbs'])['oncdatastart'])||void 0x0===_0x5964c1||_0x5964c1['call'](_0x5e3c60),null===(_0x1f455f=(_0x1b72a4=this['cbs'])['ontext'])||void 0x0===_0x1f455f||_0x1f455f['call'](_0x1b72a4,_0x5ab2ca),null===(_0x6af99f=(_0x4302f4=this['cbs'])['oncdataend'])||void 0x0===_0x6af99f||_0x6af99f['call'](_0x4302f4)):(null===(_0x3606cb=(_0x26ec26=this['cbs'])['oncomment'])||void 0x0===_0x3606cb||_0x3606cb['call'](_0x26ec26,'[CDATA['+_0x5ab2ca+']]'),null===(_0x8f8174=(_0x1385fb=this['cbs'])['oncommentend'])||void 0x0===_0x8f8174||_0x8f8174['call'](_0x1385fb)),this['startIndex']=_0x4220cb+0x1;}['onend'](){var _0x2410a5,_0x46acdf;if(this['cbs']['onclosetag']){this['endIndex']=this['startIndex'];for(let _0x10b7b2=0x0;_0x10b7b2<this['stack']['length'];_0x10b7b2++)this['cbs']['onclosetag'](this['stack'][_0x10b7b2],!0x0);}null===(_0x46acdf=(_0x2410a5=this['cbs'])['onend'])||void 0x0===_0x46acdf||_0x46acdf['call'](_0x2410a5);}['reset'](){var _0x22d334,_0x2ec082,_0x5de788,_0x119f18;null===(_0x2ec082=(_0x22d334=this['cbs'])['onreset'])||void 0x0===_0x2ec082||_0x2ec082['call'](_0x22d334),this['tokenizer']['reset'](),this['tagname']='',this['attribname']='',this['attribs']=null,this['stack']['length']=0x0,this['startIndex']=0x0,this['endIndex']=0x0,null===(_0x119f18=(_0x5de788=this['cbs'])['onparserinit'])||void 0x0===_0x119f18||_0x119f18['call'](_0x5de788,this),this['buffers']['length']=0x0,this['foreignContext']['length']=0x0,this['foreignContext']['unshift'](!this['htmlMode']),this['bufferOffset']=0x0,this['writeIndex']=0x0,this['ended']=!0x1;}['parseComplete'](_0x417af2){this['reset'](),this['end'](_0x417af2);}['getSlice'](_0x2a49ff,_0x1dde78){for(;_0x2a49ff-this['bufferOffset']>=this['buffers'][0x0]['length'];)this['shiftBuffer']();let _0x2dd568=this['buffers'][0x0]['slice'](_0x2a49ff-this['bufferOffset'],_0x1dde78-this['bufferOffset']);for(;_0x1dde78-this['bufferOffset']>this['buffers'][0x0]['length'];)this['shiftBuffer'](),_0x2dd568+=this['buffers'][0x0]['slice'](0x0,_0x1dde78-this['bufferOffset']);return _0x2dd568;}['shiftBuffer'](){this['bufferOffset']+=this['buffers'][0x0]['length'],this['writeIndex']--,this['buffers']['shift']();}['write'](_0x5f55b3){var _0x555675,_0x4d264c;this['ended']?null===(_0x4d264c=(_0x555675=this['cbs'])['onerror'])||void 0x0===_0x4d264c||_0x4d264c['call'](_0x555675,new Error('.write()\x20after\x20done!')):(this['buffers']['push'](_0x5f55b3),this['tokenizer']['running']&&(this['tokenizer']['write'](_0x5f55b3),this['writeIndex']++));}['end'](_0x44719c){var _0x9fa1e9,_0x54f022;this['ended']?null===(_0x54f022=(_0x9fa1e9=this['cbs'])['onerror'])||void 0x0===_0x54f022||_0x54f022['call'](_0x9fa1e9,new Error('.end()\x20after\x20done!')):(_0x44719c&&this['write'](_0x44719c),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'](_0x53bd61){this['write'](_0x53bd61);}['done'](_0x4e3499){this['end'](_0x4e3499);}};var ElementType;function _0x2b278a(_0x369a7f){return _0x369a7f['type']===ElementType['Tag']||_0x369a7f['type']===ElementType['Script']||_0x369a7f['type']===ElementType['Style'];}!function(_0x3621ea){_0x3621ea['Root']='root',_0x3621ea['Text']='text',_0x3621ea['Directive']='directive',_0x3621ea['Comment']='comment',_0x3621ea['Script']='script',_0x3621ea['Style']='style',_0x3621ea['Tag']='tag',_0x3621ea['CDATA']='cdata',_0x3621ea['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'],_0x247a50=ElementType['Tag'],_0x49acb2=ElementType['CDATA'],Doctype=ElementType['Doctype'];let _0x4fffce=class{constructor(){this['parent']=null,this['prev']=null,this['next']=null,this['startIndex']=null,this['endIndex']=null;}get['parentNode'](){return this['parent'];}set['parentNode'](_0x5ba00f){this['parent']=_0x5ba00f;}get['previousSibling'](){return this['prev'];}set['previousSibling'](_0x2d6f88){this['prev']=_0x2d6f88;}get['nextSibling'](){return this['next'];}set['nextSibling'](_0x5b90ad){this['next']=_0x5b90ad;}['cloneNode'](_0x285c9e=!0x1){return _0x38f33c(this,_0x285c9e);}};class DataNode extends _0x4fffce{constructor(_0x3aedf9){super(),this['data']=_0x3aedf9;}get['nodeValue'](){return this['data'];}set['nodeValue'](_0x220282){this['data']=_0x220282;}}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(_0x2fb308,_0x17186f){super(_0x17186f),this['name']=_0x2fb308,this['type']=ElementType['Directive'];}get['nodeType'](){return 0x1;}}class NodeWithChildren extends _0x4fffce{constructor(_0x2ece71){super(),this['children']=_0x2ece71;}get['firstChild'](){var _0x53504a;return null!==(_0x53504a=this['children'][0x0])&&void 0x0!==_0x53504a?_0x53504a:null;}get['lastChild'](){return this['children']['length']>0x0?this['children'][this['children']['length']-0x1]:null;}get['childNodes'](){return this['children'];}set['childNodes'](_0x5326ee){this['children']=_0x5326ee;}}class _0x43dd93 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(_0x34238f,_0x184752,_0x5a55f6=[],_0x2830fb='script'===_0x34238f?ElementType['Script']:'style'===_0x34238f?ElementType['Style']:ElementType['Tag']){super(_0x5a55f6),this['name']=_0x34238f,this['attribs']=_0x184752,this['type']=_0x2830fb;}get['nodeType'](){return 0x1;}get['tagName'](){return this['name'];}set['tagName'](_0x94a707){this['name']=_0x94a707;}get['attributes'](){return Object['keys'](this['attribs'])['map'](_0x488a6b=>{var _0x37e52,_0x4fc082;return{'name':_0x488a6b,'value':this['attribs'][_0x488a6b],'namespace':null===(_0x37e52=this['x-attribsNamespace'])||void 0x0===_0x37e52?void 0x0:_0x37e52[_0x488a6b],'prefix':null===(_0x4fc082=this['x-attribsPrefix'])||void 0x0===_0x4fc082?void 0x0:_0x4fc082[_0x488a6b]};});}};function _0x1caf01(_0xbb159b){return _0x2b278a(_0xbb159b);}function _0x1fc3e0(_0x49e8d8){return _0x49e8d8['type']===ElementType['CDATA'];}function isText$1(_0x29e51d){return _0x29e51d['type']===ElementType['Text'];}function isComment(_0x56e316){return _0x56e316['type']===ElementType['Comment'];}function isDirective(_0x4ba184){return _0x4ba184['type']===ElementType['Directive'];}function isDocument(_0x26a560){return _0x26a560['type']===ElementType['Root'];}function _0x43f874(_0x49f0e3){return Object['prototype']['hasOwnProperty']['call'](_0x49f0e3,'children');}function _0x38f33c(_0x1d53b4,_0x13cd3c=!0x1){let _0x57a827;if(isText$1(_0x1d53b4))_0x57a827=new Text$1(_0x1d53b4['data']);else{if(isComment(_0x1d53b4))_0x57a827=new Comment$1(_0x1d53b4['data']);else{if(_0x1caf01(_0x1d53b4)){const _0x3a9d6a=_0x13cd3c?_0x339fe2(_0x1d53b4['children']):[],_0x40d3e2=new Element$3(_0x1d53b4['name'],{..._0x1d53b4['attribs']},_0x3a9d6a);_0x3a9d6a['forEach'](_0x3c5dbb=>_0x3c5dbb['parent']=_0x40d3e2),null!=_0x1d53b4['namespace']&&(_0x40d3e2['namespace']=_0x1d53b4['namespace']),_0x1d53b4['x-attribsNamespace']&&(_0x40d3e2['x-attribsNamespace']={..._0x1d53b4['x-attribsNamespace']}),_0x1d53b4['x-attribsPrefix']&&(_0x40d3e2['x-attribsPrefix']={..._0x1d53b4['x-attribsPrefix']}),_0x57a827=_0x40d3e2;}else{if(_0x1fc3e0(_0x1d53b4)){const _0x2c1f2b=_0x13cd3c?_0x339fe2(_0x1d53b4['children']):[],_0xeff01e=new _0x43dd93(_0x2c1f2b);_0x2c1f2b['forEach'](_0x558d13=>_0x558d13['parent']=_0xeff01e),_0x57a827=_0xeff01e;}else{if(isDocument(_0x1d53b4)){const _0x135e54=_0x13cd3c?_0x339fe2(_0x1d53b4['children']):[],_0x25ea13=new Document(_0x135e54);_0x135e54['forEach'](_0x5ed1de=>_0x5ed1de['parent']=_0x25ea13),_0x1d53b4['x-mode']&&(_0x25ea13['x-mode']=_0x1d53b4['x-mode']),_0x57a827=_0x25ea13;}else{if(!isDirective(_0x1d53b4))throw new Error('Not\x20implemented\x20yet:\x20'+_0x1d53b4['type']);{const _0x39a867=new ProcessingInstruction(_0x1d53b4['name'],_0x1d53b4['data']);null!=_0x1d53b4['x-name']&&(_0x39a867['x-name']=_0x1d53b4['x-name'],_0x39a867['x-publicId']=_0x1d53b4['x-publicId'],_0x39a867['x-systemId']=_0x1d53b4['x-systemId']),_0x57a827=_0x39a867;}}}}}}return _0x57a827['startIndex']=_0x1d53b4['startIndex'],_0x57a827['endIndex']=_0x1d53b4['endIndex'],null!=_0x1d53b4['sourceCodeLocation']&&(_0x57a827['sourceCodeLocation']=_0x1d53b4['sourceCodeLocation']),_0x57a827;}function _0x339fe2(_0x5d5b78){const _0x490160=_0x5d5b78['map'](_0x48fe40=>_0x38f33c(_0x48fe40,!0x0));for(let _0x2cb57e=0x1;_0x2cb57e<_0x490160['length'];_0x2cb57e++)_0x490160[_0x2cb57e]['prev']=_0x490160[_0x2cb57e-0x1],_0x490160[_0x2cb57e-0x1]['next']=_0x490160[_0x2cb57e];return _0x490160;}const defaultOpts={'withStartIndices':!0x1,'withEndIndices':!0x1,'xmlMode':!0x1};class _0x310f80{constructor(_0x5ca981,_0x21e91a,_0x1cc52b){this['dom']=[],this['root']=new Document(this['dom']),this['done']=!0x1,this['tagStack']=[this['root']],this['lastNode']=null,this['parser']=null,'function'==typeof _0x21e91a&&(_0x1cc52b=_0x21e91a,_0x21e91a=defaultOpts),'object'==typeof _0x5ca981&&(_0x21e91a=_0x5ca981,_0x5ca981=void 0x0),this['callback']=null!=_0x5ca981?_0x5ca981:null,this['options']=null!=_0x21e91a?_0x21e91a:defaultOpts,this['elementCB']=null!=_0x1cc52b?_0x1cc52b:null;}['onparserinit'](_0xe49136){this['parser']=_0xe49136;}['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'](_0x414730){this['handleCallback'](_0x414730);}['onclosetag'](){this['lastNode']=null;const _0x25fc9a=this['tagStack']['pop']();this['options']['withEndIndices']&&(_0x25fc9a['endIndex']=this['parser']['endIndex']),this['elementCB']&&this['elementCB'](_0x25fc9a);}['onopentag'](_0x2bca7c,_0x6a7eb7){const _0x69fe32=this['options']['xmlMode']?ElementType['Tag']:void 0x0,_0x440a69=new Element$3(_0x2bca7c,_0x6a7eb7,void 0x0,_0x69fe32);this['addNode'](_0x440a69),this['tagStack']['push'](_0x440a69);}['ontext'](_0x52f010){const {lastNode:_0x18ec97}=this;if(_0x18ec97&&_0x18ec97['type']===ElementType['Text'])_0x18ec97['data']+=_0x52f010,this['options']['withEndIndices']&&(_0x18ec97['endIndex']=this['parser']['endIndex']);else{const _0x3c0bb2=new Text$1(_0x52f010);this['addNode'](_0x3c0bb2),this['lastNode']=_0x3c0bb2;}}['oncomment'](_0x2a0416){if(this['lastNode']&&this['lastNode']['type']===ElementType['Comment'])return void(this['lastNode']['data']+=_0x2a0416);const _0x224bae=new Comment$1(_0x2a0416);this['addNode'](_0x224bae),this['lastNode']=_0x224bae;}['oncommentend'](){this['lastNode']=null;}['oncdatastart'](){const _0x28d7f3=new Text$1(''),_0x111f58=new _0x43dd93([_0x28d7f3]);this['addNode'](_0x111f58),_0x28d7f3['parent']=_0x111f58,this['lastNode']=_0x28d7f3;}['oncdataend'](){this['lastNode']=null;}['onprocessinginstruction'](_0x743d5f,_0x32bde3){const _0x1d4dee=new ProcessingInstruction(_0x743d5f,_0x32bde3);this['addNode'](_0x1d4dee);}['handleCallback'](_0x418c22){if('function'==typeof this['callback'])this['callback'](_0x418c22,this['dom']);else{if(_0x418c22)throw _0x418c22;}}['addNode'](_0x588cf0){const _0x398043=this['tagStack'][this['tagStack']['length']-0x1],_0xcc09af=_0x398043['children'][_0x398043['children']['length']-0x1];this['options']['withStartIndices']&&(_0x588cf0['startIndex']=this['parser']['startIndex']),this['options']['withEndIndices']&&(_0x588cf0['endIndex']=this['parser']['endIndex']),_0x398043['children']['push'](_0x588cf0),_0xcc09af&&(_0x588cf0['prev']=_0xcc09af,_0xcc09af['next']=_0x588cf0),_0x588cf0['parent']=_0x398043,this['lastNode']=null;}}const _0x4be6a8=/["&'<>$\x80-\uFFFF]/g,_0x10b7d8=new Map([[0x22,'&quot;'],[0x26,'&amp;'],[0x27,'&apos;'],[0x3c,'&lt;'],[0x3e,'&gt;']]),getCodePoint=null!=String['prototype']['codePointAt']?(_0x9caca6,_0x435e73)=>_0x9caca6['codePointAt'](_0x435e73):(_0x26985e,_0x2cf84c)=>0xd800==(0xfc00&_0x26985e['charCodeAt'](_0x2cf84c))?0x400*(_0x26985e['charCodeAt'](_0x2cf84c)-0xd800)+_0x26985e['charCodeAt'](_0x2cf84c+0x1)-0xdc00+0x10000:_0x26985e['charCodeAt'](_0x2cf84c);function _0x266283(_0x109f7b){let _0xd85690,_0x3361b2='',_0x170b14=0x0;for(;null!==(_0xd85690=_0x4be6a8['exec'](_0x109f7b));){const _0x164989=_0xd85690['index'],_0x4bafff=_0x109f7b['charCodeAt'](_0x164989),_0xb68d3a=_0x10b7d8['get'](_0x4bafff);void 0x0!==_0xb68d3a?(_0x3361b2+=_0x109f7b['substring'](_0x170b14,_0x164989)+_0xb68d3a,_0x170b14=_0x164989+0x1):(_0x3361b2+=_0x109f7b['substring'](_0x170b14,_0x164989)+'&#x'+getCodePoint(_0x109f7b,_0x164989)['toString'](0x10)+';',_0x170b14=_0x4be6a8['lastIndex']+=Number(0xd800==(0xfc00&_0x4bafff)));}return _0x3361b2+_0x109f7b['substr'](_0x170b14);}function getEscaper(_0x4dc70c,_0x5ea725){return function(_0x5bf1f0){let _0x61e5ad,_0x31a220=0x0,_0x322e47='';for(;_0x61e5ad=_0x4dc70c['exec'](_0x5bf1f0);)_0x31a220!==_0x61e5ad['index']&&(_0x322e47+=_0x5bf1f0['substring'](_0x31a220,_0x61e5ad['index'])),_0x322e47+=_0x5ea725['get'](_0x61e5ad[0x0]['charCodeAt'](0x0)),_0x31a220=_0x61e5ad['index']+0x1;return _0x322e47+_0x5bf1f0['substring'](_0x31a220);};}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'](_0x181317=>[_0x181317['toLowerCase'](),_0x181317])),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'](_0x30ca3d=>[_0x30ca3d['toLowerCase'](),_0x30ca3d])),unencodedElements=new Set(['style','script','xmp','iframe','noembed','noframes','plaintext','noscript']);function replaceQuotes(_0x59a350){return _0x59a350['replace'](/"/g,'&quot;');}function formatAttributes(_0x2aaeef,_0x108792){var _0x4b0a36;if(!_0x2aaeef)return;const _0x532d57=!0x1===(null!==(_0x4b0a36=_0x108792['encodeEntities'])&&void 0x0!==_0x4b0a36?_0x4b0a36:_0x108792['decodeEntities'])?replaceQuotes:_0x108792['xmlMode']||'utf8'!==_0x108792['encodeEntities']?_0x266283:escapeAttribute;return Object['keys'](_0x2aaeef)['map'](_0x1ab0db=>{var _0x5d486f,_0x16054d;const _0x3de881=null!==(_0x5d486f=_0x2aaeef[_0x1ab0db])&&void 0x0!==_0x5d486f?_0x5d486f:'';return'foreign'===_0x108792['xmlMode']&&(_0x1ab0db=null!==(_0x16054d=attributeNames['get'](_0x1ab0db))&&void 0x0!==_0x16054d?_0x16054d:_0x1ab0db),_0x108792['emptyAttrs']||_0x108792['xmlMode']||''!==_0x3de881?_0x1ab0db+'=\x22'+_0x532d57(_0x3de881)+'\x22':_0x1ab0db;})['join']('\x20');}const _0x3f8097=new Set(['area','base','basefont','br','col','command','embed','frame','hr','img','input','isindex','keygen','link','meta','param','source','track','wbr']);function _0x56a8de(_0x1b0403,_0x40b0b9={}){const _0x1a274e='length'in _0x1b0403?_0x1b0403:[_0x1b0403];let _0x558123='';for(let _0x24c8bf=0x0;_0x24c8bf<_0x1a274e['length'];_0x24c8bf++)_0x558123+=_0xecb405(_0x1a274e[_0x24c8bf],_0x40b0b9);return _0x558123;}function _0xecb405(_0x167b5b,_0x39011b){switch(_0x167b5b['type']){case Root:return _0x56a8de(_0x167b5b['children'],_0x39011b);case Doctype:case Directive:return renderDirective(_0x167b5b);case Comment$2:return renderComment(_0x167b5b);case _0x49acb2:return renderCdata(_0x167b5b);case Script:case Style:case _0x247a50:return _0x4c1363(_0x167b5b,_0x39011b);case Text$2:return renderText(_0x167b5b,_0x39011b);}}const foreignModeIntegrationPoints=new Set(['mi','mo','mn','ms','mtext','annotation-xml','foreignObject','desc','title']),foreignElements=new Set(['svg','math']);function _0x4c1363(_0x3afcbf,_0x5a2f6a){var _0x1e82fc;'foreign'===_0x5a2f6a['xmlMode']&&(_0x3afcbf['name']=null!==(_0x1e82fc=elementNames['get'](_0x3afcbf['name']))&&void 0x0!==_0x1e82fc?_0x1e82fc:_0x3afcbf['name'],_0x3afcbf['parent']&&foreignModeIntegrationPoints['has'](_0x3afcbf['parent']['name'])&&(_0x5a2f6a={..._0x5a2f6a,'xmlMode':!0x1})),!_0x5a2f6a['xmlMode']&&foreignElements['has'](_0x3afcbf['name'])&&(_0x5a2f6a={..._0x5a2f6a,'xmlMode':'foreign'});let _0x65c9d2='<'+_0x3afcbf['name'];const _0x52a754=formatAttributes(_0x3afcbf['attribs'],_0x5a2f6a);return _0x52a754&&(_0x65c9d2+='\x20'+_0x52a754),0x0===_0x3afcbf['children']['length']&&(_0x5a2f6a['xmlMode']?!0x1!==_0x5a2f6a['selfClosingTags']:_0x5a2f6a['selfClosingTags']&&_0x3f8097['has'](_0x3afcbf['name']))?(_0x5a2f6a['xmlMode']||(_0x65c9d2+='\x20'),_0x65c9d2+='/>'):(_0x65c9d2+='>',_0x3afcbf['children']['length']>0x0&&(_0x65c9d2+=_0x56a8de(_0x3afcbf['children'],_0x5a2f6a)),!_0x5a2f6a['xmlMode']&&_0x3f8097['has'](_0x3afcbf['name'])||(_0x65c9d2+='</'+_0x3afcbf['name']+'>')),_0x65c9d2;}function renderDirective(_0x5095ba){return'<'+_0x5095ba['data']+'>';}function renderText(_0x4975bf,_0x4ffad4){var _0x29b776;let _0x2b4082=_0x4975bf['data']||'';return!0x1===(null!==(_0x29b776=_0x4ffad4['encodeEntities'])&&void 0x0!==_0x29b776?_0x29b776:_0x4ffad4['decodeEntities'])||!_0x4ffad4['xmlMode']&&_0x4975bf['parent']&&unencodedElements['has'](_0x4975bf['parent']['name'])||(_0x2b4082=_0x4ffad4['xmlMode']||'utf8'!==_0x4ffad4['encodeEntities']?_0x266283(_0x2b4082):escapeText(_0x2b4082)),_0x2b4082;}function renderCdata(_0x115750){return'<![CDATA['+_0x115750['children'][0x0]['data']+']]>';}function renderComment(_0x147c00){return'<!--'+_0x147c00['data']+'-->';}function textContent(_0x153c79){return Array['isArray'](_0x153c79)?_0x153c79['map'](textContent)['join'](''):_0x43f874(_0x153c79)&&!isComment(_0x153c79)?textContent(_0x153c79['children']):isText$1(_0x153c79)?_0x153c79['data']:'';}function getChildren$1(_0x4e20b0){return _0x43f874(_0x4e20b0)?_0x4e20b0['children']:[];}function getParent(_0x4ba1a6){return _0x4ba1a6['parent']||null;}function removeElement(_0x52a8fb){if(_0x52a8fb['prev']&&(_0x52a8fb['prev']['next']=_0x52a8fb['next']),_0x52a8fb['next']&&(_0x52a8fb['next']['prev']=_0x52a8fb['prev']),_0x52a8fb['parent']){const _0x519a83=_0x52a8fb['parent']['children'],_0xfc9cf2=_0x519a83['lastIndexOf'](_0x52a8fb);_0xfc9cf2>=0x0&&_0x519a83['splice'](_0xfc9cf2,0x1);}_0x52a8fb['next']=null,_0x52a8fb['prev']=null,_0x52a8fb['parent']=null;}function replaceElement(_0x15b470,_0x157b2a){const _0x139ca7=_0x157b2a['prev']=_0x15b470['prev'];_0x139ca7&&(_0x139ca7['next']=_0x157b2a);const _0x591396=_0x157b2a['next']=_0x15b470['next'];_0x591396&&(_0x591396['prev']=_0x157b2a);const _0x165ea5=_0x157b2a['parent']=_0x15b470['parent'];if(_0x165ea5){const _0x1901eb=_0x165ea5['children'];_0x1901eb[_0x1901eb['lastIndexOf'](_0x15b470)]=_0x157b2a,_0x15b470['parent']=null;}}function _0x5f0b75(_0x3c11a0,_0x252c38){if(removeElement(_0x252c38),_0x252c38['next']=null,_0x252c38['parent']=_0x3c11a0,_0x3c11a0['children']['push'](_0x252c38)>0x1){const _0x19963d=_0x3c11a0['children'][_0x3c11a0['children']['length']-0x2];_0x19963d['next']=_0x252c38,_0x252c38['prev']=_0x19963d;}else _0x252c38['prev']=null;}function _0x2566dc(_0xde1c48,_0x5758f3){removeElement(_0x5758f3);const {parent:_0x4463a7}=_0xde1c48,_0x284d04=_0xde1c48['next'];if(_0x5758f3['next']=_0x284d04,_0x5758f3['prev']=_0xde1c48,_0xde1c48['next']=_0x5758f3,_0x5758f3['parent']=_0x4463a7,_0x284d04){if(_0x284d04['prev']=_0x5758f3,_0x4463a7){const _0xa526b9=_0x4463a7['children'];_0xa526b9['splice'](_0xa526b9['lastIndexOf'](_0x284d04),0x0,_0x5758f3);}}else _0x4463a7&&_0x4463a7['children']['push'](_0x5758f3);}function _0xb37ac4(_0x5124ef,_0x48f7c3){if(removeElement(_0x48f7c3),_0x48f7c3['parent']=_0x5124ef,_0x48f7c3['prev']=null,0x1!==_0x5124ef['children']['unshift'](_0x48f7c3)){const _0x5bd3fc=_0x5124ef['children'][0x1];_0x5bd3fc['prev']=_0x48f7c3,_0x48f7c3['next']=_0x5bd3fc;}else _0x48f7c3['next']=null;}function _0x5c4324(_0x4a2dfd,_0x4b059c){removeElement(_0x4b059c);const {parent:_0x135528}=_0x4a2dfd;if(_0x135528){const _0x3e12bf=_0x135528['children'];_0x3e12bf['splice'](_0x3e12bf['indexOf'](_0x4a2dfd),0x0,_0x4b059c);}_0x4a2dfd['prev']&&(_0x4a2dfd['prev']['next']=_0x4b059c),_0x4b059c['parent']=_0x135528,_0x4b059c['prev']=_0x4a2dfd['prev'],_0x4b059c['next']=_0x4a2dfd,_0x4a2dfd['prev']=_0x4b059c;}function _0x3d60ff(_0x5379d2,_0x167023,_0x54d071,_0x56f98d){const _0x3479b8=[],_0xa7d567=[Array['isArray'](_0x167023)?_0x167023:[_0x167023]],_0x2355d8=[0x0];for(;;){if(_0x2355d8[0x0]>=_0xa7d567[0x0]['length']){if(0x1===_0x2355d8['length'])return _0x3479b8;_0xa7d567['shift'](),_0x2355d8['shift']();continue;}const _0x2a4400=_0xa7d567[0x0][_0x2355d8[0x0]++];if(_0x5379d2(_0x2a4400)&&(_0x3479b8['push'](_0x2a4400),--_0x56f98d<=0x0))return _0x3479b8;_0x43f874(_0x2a4400)&&_0x2a4400['children']['length']>0x0&&(_0x2355d8['unshift'](0x0),_0xa7d567['unshift'](_0x2a4400['children']));}}function _0x4ee731(_0x18e2bc,_0x191cf2,_0x4430f9=!0x0){const _0x5bcf65=Array['isArray'](_0x191cf2)?_0x191cf2:[_0x191cf2];for(let _0x3c85e4=0x0;_0x3c85e4<_0x5bcf65['length'];_0x3c85e4++){const _0x3afa36=_0x5bcf65[_0x3c85e4];if(_0x1caf01(_0x3afa36)&&_0x18e2bc(_0x3afa36))return _0x3afa36;if(_0x4430f9&&_0x43f874(_0x3afa36)&&_0x3afa36['children']['length']>0x0){const _0x55465d=_0x4ee731(_0x18e2bc,_0x3afa36['children'],!0x0);if(_0x55465d)return _0x55465d;}}return null;}function _0xed9363(_0x270a0b,_0x25e12e){const _0x5d9fdd=[],_0x3cc543=[Array['isArray'](_0x25e12e)?_0x25e12e:[_0x25e12e]],_0x16bf24=[0x0];for(;;){if(_0x16bf24[0x0]>=_0x3cc543[0x0]['length']){if(0x1===_0x3cc543['length'])return _0x5d9fdd;_0x3cc543['shift'](),_0x16bf24['shift']();continue;}const _0xaf8c34=_0x3cc543[0x0][_0x16bf24[0x0]++];_0x1caf01(_0xaf8c34)&&_0x270a0b(_0xaf8c34)&&_0x5d9fdd['push'](_0xaf8c34),_0x43f874(_0xaf8c34)&&_0xaf8c34['children']['length']>0x0&&(_0x16bf24['unshift'](0x0),_0x3cc543['unshift'](_0xaf8c34['children']));}}function parseDocument(_0x347664,_0x19ab01){const _0x332b77=new _0x310f80(void 0x0,_0x19ab01);return new _0x3d027c(_0x332b77,_0x19ab01)['end'](_0x347664),_0x332b77['root'];}function _0x3504aa(_0x364058){return parseDocument(_0x364058);}function _0x28c879(_0x2b75c9){return _0x56a8de(_0x2b75c9);}function findByAttribute(_0x38bfcb,_0x314415,_0x3d1dad){const _0x23d4b6=null!==_0x314415?_0x32b3bd=>_0x32b3bd['attribs'][_0x38bfcb]===_0x314415:_0xe41926=>Boolean(_0xe41926['attribs'][_0x38bfcb]);return _0x4ee731(_0x4fd5c3=>_0x1caf01(_0x4fd5c3)&&_0x23d4b6(_0x4fd5c3),_0x3d1dad);}function findAllByAttribute(_0x3e7ccf,_0x57f0af,_0x214589){const _0x4c4338=null!==_0x57f0af?_0x14829c=>_0x14829c['attribs'][_0x3e7ccf]===_0x57f0af:_0x16e6dc=>Boolean(_0x16e6dc['attribs'][_0x3e7ccf]);return _0xed9363(_0x37cd47=>_0x1caf01(_0x37cd47)&&_0x4c4338(_0x37cd47),_0x214589);}function findAllComments(_0x36d910){return _0x3d60ff(_0x553366=>isComment(_0x553366),_0x36d910,!0x0,0x1/0x0);}function getAttribute(_0x4b95d1,_0x4efb71){return _0x4b95d1&&_0x1caf01(_0x4b95d1)?_0x4b95d1['attribs'][_0x4efb71]:null;}function setAttribute(_0x52a74c,_0x56102a,_0x59f340){_0x1caf01(_0x52a74c)&&(null===_0x59f340?delete _0x52a74c['attribs'][_0x56102a]:_0x52a74c['attribs'][_0x56102a]=_0x59f340);}function insertElement(_0xf0ebff,_0x50fdaa,_0xb210a3){const _0x9cfc28=_0x50fdaa['cloneNode'](!0x0);'beforebegin'===_0xb210a3?_0x5c4324(_0xf0ebff,_0x9cfc28):'afterbegin'===_0xb210a3?_0xb37ac4(_0xf0ebff,_0x9cfc28):'beforeend'===_0xb210a3?_0x5f0b75(_0xf0ebff,_0x9cfc28):'afterend'===_0xb210a3&&_0x2566dc(_0xf0ebff,_0x9cfc28);}function moveElement(_0x301d76,_0x1596b2){removeElement(_0x301d76),replaceElement(_0x1596b2,_0x301d76);}function _0x392877(_0x4747a3){return _0x4747a3['cloneNode'](!0x0);}function getParents(_0x4dfea3){const _0x3c3e7f=[];let _0x119447=_0x4dfea3;for(;_0x119447;)_0x119447=getParent(_0x119447),_0x119447&&_0x3c3e7f['push'](_0x119447);return _0x3c3e7f;}function _0x5392e1(_0x15b4a5){return _0x15b4a5['replace'](/^\s+/gm,'')['replace'](/\s+$/gm,'')['replace'](/\n*/g,'')['replace'](/\s+/g,'\x20')['replace'](/>\s*</g,'><');}function _0x12a400(_0x4af982,_0x274780){return _0x5392e1(_0x28c879(_0x4af982))===_0x5392e1(_0x28c879(_0x274780));}function getNodeNestingLevel(_0x1c9fc9){let _0x54e261=0x0;for(;_0x1c9fc9['parentNode'];)_0x1c9fc9=_0x1c9fc9['parentNode'],_0x54e261++;return _0x54e261;}function removeElementsAfter(_0x1d22e0){const _0x9bfa7a=[];let _0x25c0df=_0x1d22e0['nextSibling'];for(;_0x25c0df;)_0x9bfa7a['push'](_0x25c0df),_0x25c0df=_0x25c0df['nextSibling'];_0x9bfa7a['forEach'](_0x2f2125=>{removeElement(_0x2f2125);});}class _0x4bdcde extends/* #__PURE__ -- @preserve */
ckeditor5['ObservableMixin'](){['_m2html'];constructor(){super(),this['_m2html']=new ckeditor5['MarkdownGfmMdToHtml']();}['convertMarkdownToHTML'](_0x1d835f){const _0x3b10b4=this['_m2html']['parse'](_0x1d835f);return this['parseAndNormalizeHTML'](_0x3b10b4);}['parseAndNormalizeHTML'](_0x187df2){return this['_parseHTML'](_0x187df2);}['_parseHTML'](_0xded970){const _0x5315f8=_0x3504aa('<dummy>'+_0xded970['replace'](/^\t+/gm,'\x20')['replace'](/\n*/g,'')['replace'](/\s+/g,'\x20')['replace'](/<[^>]*?$/g,'')+'</dummy>');return _0x5315f8['children']=_0x5315f8['children'][0x0]['children'],_0x5315f8;}}class _0x5893b extends/* #__PURE__ -- @preserve */
ckeditor5['ObservableMixin'](){['_generateUid'];['_touchedNodesState']={'newIds':[],'modifiedIds':[],'removedIds':[],'invalidIds':[],'lastTouchedId':null};['_existingDataIds']=new Set();constructor(_0x284630){super(),this['_generateUid']=_0x284630||ckeditor5['uid'];}['merge'](_0x16193a,_0x28d042,_0x984962){const _0x2e8132=_0x392877(_0x16193a);if(0x0===_0x28d042['childNodes']['length']){const _0xabfabf=[];return findAllByAttribute('data-id','new-element',_0x2e8132)['forEach'](_0x3562ff=>{const _0x318f03=this['_generateUid']();setAttribute(_0x3562ff,'data-id',_0x318f03),_0xabfabf['push'](_0x318f03);}),this['_removeSpecialComments'](_0x2e8132),{'parsedContent':_0x2e8132,'newNodeIds':_0xabfabf,'modifiedNodeIds':[],'removedNodeIds':[]};}_0x984962&&_0x984962['markUnstableElements']&&this['_markLastTagElementUnstable'](_0x2e8132),this['_touchedNodesState']['newIds']=[],this['_touchedNodesState']['modifiedIds']=[],this['_touchedNodesState']['removedIds']=[],this['_touchedNodesState']['invalidIds']=[],this['_touchedNodesState']['lastTouchedId']=null,this['_existingDataIds']=new Set(findAllByAttribute('data-id',null,_0x28d042)['map'](_0x33afe5=>getAttribute(_0x33afe5,'data-id'))['filter'](_0x15eedd=>!!_0x15eedd));let _0x466623=-0x1,_0x596176=!0x1;const _0x57a577=_0x2e8132['childNodes'],_0x130f12=Array['from'](_0x57a577)['filter'](_0x599a04=>!(0x3===_0x599a04['nodeType']&&''===_0x28c879(_0x599a04)['trim']())),_0x4b1878=_0x130f12['length'];for(let _0x498c8e=0x0;_0x498c8e<_0x4b1878;_0x498c8e++){const _0x37f769=_0x130f12[_0x498c8e],_0x46a848=_0x130f12[_0x498c8e+0x1];if(this['_isNewNode'](_0x37f769)){if(-0x1===_0x466623&&(_0x466623=_0x498c8e),this['_markWrappedElements'](_0x37f769),!this['_isNewNode'](_0x46a848)){const [_0x17528b,_0x1842ce]=this['_findReferenceNode'](_0x37f769,_0x596176,_0x28d042);if(_0x17528b){const _0x4537ce=Array['from'](_0x130f12)['slice'](_0x466623,_0x498c8e+0x1);this['_insertNodes'](_0x17528b,_0x4537ce,_0x1842ce),_0x466623=-0x1;}}}else{if(this['_isExistingContentComment'](_0x37f769))_0x596176=!0x0;else{if(this['_isExistingNode'](_0x37f769)){const _0x36f62c=getAttribute(_0x37f769,'data-id');if(_0x36f62c&&this['_existingDataIds']['has'](_0x36f62c)){const _0x18b244=findByAttribute('data-id',_0x36f62c,_0x28d042);this['_replaceNode'](_0x18b244,_0x37f769);}if(this['_touchedNodesState']['removedIds']['includes'](_0x36f62c)){const _0x3c7940=this['_touchedNodesState']['removedIds']['indexOf'](_0x36f62c);this['_touchedNodesState']['removedIds']['splice'](_0x3c7940,0x1);}}else{if(this['_isDelNode'](_0x37f769)){const _0xf9085f=getAttribute(_0x37f769,'data-id');this['_touchedNodesState']['modifiedIds']['includes'](_0xf9085f)||this['_storeDeletedElementIds'](_0x37f769);}}}}}for(const _0x1cb1c0 of this['_touchedNodesState']['removedIds']){const _0xca1074=findByAttribute('data-id',_0x1cb1c0,_0x28d042);if(_0xca1074){if(_0x984962&&_0x984962['replaceRemovedWith']){this['_touchedNodesState']['lastTouchedId']=_0x1cb1c0;const _0x58ef95=_0x984962['replaceRemovedWith']['cloneNode'](!0x0);setAttribute(_0x58ef95,'data-id',_0x1cb1c0),setAttribute(_0x58ef95,'data-removed','true'),replaceElement(_0xca1074,_0x58ef95);}else removeElement(_0xca1074);}}if(findAllByAttribute('data-wrapped-id',null,_0x28d042)['forEach'](_0x477138=>{const _0x254807=findByAttribute('data-id',getAttribute(_0x477138,'data-wrapped-id'),_0x28d042);_0x254807&&moveElement(_0x254807,_0x477138);}),findAllByAttribute('data-id','new-element',_0x28d042)['forEach'](_0x208520=>{const _0x2b0362=this['_getUid'](_0x208520);setAttribute(_0x208520,'data-id',_0x2b0362),this['_touchedNodesState']['newIds']['push'](_0x2b0362);}),this['_removeSpecialComments'](_0x28d042),_0x984962&&_0x984962['markUnstableElements']&&this['_markUnstableElements'](_0x28d042,_0x984962['markUnstableElementsDepth']||0x0),_0x984962&&_0x984962['cutAfterLastChange']&&this['_touchedNodesState']['lastTouchedId']){let _0x65c7e6=findByAttribute('data-id',this['_touchedNodesState']['lastTouchedId'],_0x28d042);for(;_0x65c7e6;)removeElementsAfter(_0x65c7e6),_0x65c7e6=_0x65c7e6['parentNode'];}return{'parsedContent':_0x28d042,'newNodeIds':this['_touchedNodesState']['newIds'],'modifiedNodeIds':this['_touchedNodesState']['modifiedIds'],'removedNodeIds':this['_touchedNodesState']['removedIds']};}['_insertNodes'](_0x4113e1,_0x2b8cef,_0x31c330){for(const _0xa98d25 of _0x2b8cef){const _0x57a458=this['_getUid'](_0xa98d25);setAttribute(_0xa98d25,'data-id',_0x57a458),this['_touchedNodesState']['newIds']['push'](_0x57a458),this['_touchedNodesState']['lastTouchedId']=_0x57a458;}const _0x48a171='afterbegin'===_0x31c330||'afterend'===_0x31c330?_0x2b8cef['reverse']():_0x2b8cef;for(const _0x4d1861 of _0x48a171)insertElement(_0x4113e1,_0x4d1861,_0x31c330);}['_replaceNode'](_0x5e77b9,_0x11d201){if(!_0x5e77b9)return;if(_0x12a400(_0x5e77b9,_0x11d201))return;const _0x4c35d6=this['_getUid'](_0x5e77b9);setAttribute(_0x11d201,'data-id',_0x4c35d6),this['_touchedNodesState']['modifiedIds']['push'](_0x4c35d6),this['_touchedNodesState']['lastTouchedId']=_0x4c35d6,replaceElement(_0x5e77b9,_0x11d201['cloneNode'](!0x0));}['_findReferenceNode'](_0x5e03d6,_0x3088e3,_0x671177){const _0x20374e=this['_findPrevElementWithDataId'](_0x5e03d6,!0x1);if(_0x20374e){const _0x443afd=this['_getNodeDataId'](_0x20374e),_0x17aa66=findByAttribute('data-id',_0x443afd,_0x671177);if(_0x17aa66)return[_0x17aa66,'afterend'];this['_touchedNodesState']['invalidIds']['push'](_0x443afd);}const _0xbc2bc5=this['_findNextElementWithDataId'](_0x5e03d6,!0x1);if(_0xbc2bc5){const _0x5d6aef=this['_getNodeDataId'](_0xbc2bc5),_0x5d3e15=findByAttribute('data-id',_0x5d6aef,_0x671177);if(_0x5d3e15)return[_0x5d3e15,'beforebegin'];this['_touchedNodesState']['invalidIds']['push'](_0x5d6aef);}return _0x3088e3?_0x5e03d6['nextSibling']?this['_findFallbackReferenceNode'](_0x5e03d6,_0x671177):[_0x671177['childNodes'][_0x671177['childNodes']['length']-0x1],'afterend']:[_0x671177['childNodes'][0x0],'beforebegin'];}['_findFallbackReferenceNode'](_0x290895,_0x410d71){const _0x5e14b5=[],_0x1d3ddc=this['_findPrevElementWithDataId'](_0x290895,!0x0);if(_0x1d3ddc){const _0x3cef4a=findByAttribute('data-id',this['_getNodeDataId'](_0x1d3ddc),_0x410d71);_0x3cef4a&&_0x5e14b5['push']([_0x3cef4a,'afterend']);}const _0x30e543=this['_findNextElementWithDataId'](_0x290895,!0x0);if(_0x30e543){const _0x50afe3=findByAttribute('data-id',this['_getNodeDataId'](_0x30e543),_0x410d71);_0x50afe3&&_0x5e14b5['push']([_0x50afe3,'beforebegin']);}if(_0x5e14b5['length']>0x1)return getNodeNestingLevel(_0x5e14b5[0x0][0x0])<=getNodeNestingLevel(_0x5e14b5[0x1][0x0])?_0x5e14b5[0x0]:_0x5e14b5[0x1];return 0x1===_0x5e14b5['length']?_0x5e14b5[0x0]:[_0x410d71['lastChild'],'afterend'];}['_findNextElementWithDataId'](_0x8a8915,_0x3b4a02){let _0x142198=_0x8a8915['nextSibling'],_0x1a880d=null,_0x17663b=!0x1;for(;_0x142198;){if(isComment(_0x142198)){if(this['_isDelNode'](_0x142198)&&(_0x1a880d=_0x142198),this['_isExistingContentComment'](_0x142198)&&_0x3b4a02&&!_0x17663b){_0x17663b=!0x0,_0x142198=_0x142198['nextSibling'];continue;}break;}const _0x295887=getAttribute(_0x142198,'data-id');if(_0x295887&&'new-element'!==_0x295887&&this['_existingDataIds']['has'](_0x295887)){_0x1a880d=_0x142198;break;}_0x142198=_0x142198['nextSibling'];}return _0x1a880d;}['_findPrevElementWithDataId'](_0x5e9d98,_0x7b01c1){let _0x3e24fc=_0x5e9d98['previousSibling'],_0x1f4ac2=null,_0x13fc47=!0x1;for(;_0x3e24fc;){if(isComment(_0x3e24fc)){if(this['_isDelNode'](_0x3e24fc)&&(_0x1f4ac2=_0x3e24fc),this['_isExistingContentComment'](_0x3e24fc)&&_0x7b01c1&&!_0x13fc47){_0x13fc47=!0x0,_0x3e24fc=_0x3e24fc['previousSibling'];continue;}break;}const _0x49bc83=getAttribute(_0x3e24fc,'data-id');if(_0x49bc83&&'new-element'!==_0x49bc83&&this['_existingDataIds']['has'](_0x49bc83)){_0x1f4ac2=_0x3e24fc;break;}_0x3e24fc=_0x3e24fc['previousSibling'];}return _0x1f4ac2;}['_markWrappedElements'](_0x5a4a1a){_0x1caf01(_0x5a4a1a)&&findAllByAttribute('data-id',null,_0x5a4a1a)['forEach'](_0x478e7e=>{this['_isExistingNode'](_0x478e7e)&&!this['_hasWrappedParent'](_0x478e7e)&&(setAttribute(_0x478e7e,'data-wrapped-id',getAttribute(_0x478e7e,'data-id')),setAttribute(_0x478e7e,'data-id',null));});}['_getNodeDataId'](_0x1bede5){if(!_0x1bede5)return null;if(_0x1caf01(_0x1bede5))return getAttribute(_0x1bede5,'data-id');if(isComment(_0x1bede5)){const _0x129e22=_0x28c879(_0x1bede5)['match'](/removed[\s*-]data-id="([^"]+)"/);if(_0x129e22&&_0x129e22[0x1])return _0x129e22[0x1];}return null;}['_storeDeletedElementIds'](_0x330048){if(isComment(_0x330048)){const _0x13030f=_0x28c879(_0x330048)['match'](/removed[\s*-]data-id="([^"]+)"/);_0x13030f&&_0x13030f[0x1]&&this['_touchedNodesState']['removedIds']['push'](_0x13030f[0x1]);}}['_getUid'](_0x53c98b){return this['_isExistingNode'](_0x53c98b)?getAttribute(_0x53c98b,'data-id'):this['_generateUid']();}['_removeSpecialComments'](_0x1a4461){findAllComments(_0x1a4461)['filter'](_0x2cef90=>this['_isDelNode'](_0x2cef90)||this['_isExistingContentComment'](_0x2cef90))['forEach'](_0x3b6f8d=>{removeElement(_0x3b6f8d);});}['_markLastTagElementUnstable'](_0x32e3c4){const _0x5d1cf5=_0x32e3c4['childNodes'],_0x28c416=_0x5d1cf5[_0x5d1cf5['length']-0x1];_0x28c416&&_0x1caf01(_0x28c416)&&setAttribute(_0x28c416,'data-unstable','true');}['_markUnstableElements'](_0x392ce4,_0x5179af){const _0x515cc4=findByAttribute('data-unstable','true',_0x392ce4);if(!_0x515cc4)return;const _0x1e6b54=getParents(_0x515cc4)['slice'](0x0,-0x1),_0x562154=_0x1e6b54['length'];let _0x402ea2=_0x515cc4;if(_0x562154>_0x5179af){let _0xa3eb5b=_0x562154,_0x49efc6=null;for(;_0xa3eb5b>_0x5179af&&_0xa3eb5b>=0x0;)_0xa3eb5b--,_0x49efc6=_0x1e6b54[_0xa3eb5b];_0x49efc6&&(_0x402ea2=_0x49efc6,setAttribute(_0x515cc4,'data-unstable',null),setAttribute(_0x49efc6,'data-unstable','true'));}else{if(_0x562154<_0x5179af){let _0x4d84d7=_0x562154,_0x5aeeac=_0x515cc4;for(;_0x4d84d7<_0x5179af;){const _0x3f5665=_0x5aeeac['childNodes']['filter'](_0x48df06=>_0x1caf01(_0x48df06));if(0x0===_0x3f5665['length'])break;_0x4d84d7++,_0x5aeeac=_0x3f5665[_0x3f5665['length']-0x1];}_0x5aeeac&&(_0x402ea2=_0x5aeeac,setAttribute(_0x515cc4,'data-unstable',null),setAttribute(_0x5aeeac,'data-unstable','true'));}}let _0x2b25a7=_0x402ea2;for(;_0x2b25a7;){for(;_0x2b25a7['nextSibling'];)_0x2b25a7=_0x2b25a7['nextSibling'],_0x1caf01(_0x2b25a7)&&setAttribute(_0x2b25a7,'data-unstable','true');_0x2b25a7=_0x2b25a7['parentNode'];}}['_isNewNode'](_0x2785b5){return Boolean('new-element'===getAttribute(_0x2785b5,'data-id'));}['_isExistingNode'](_0x5d6b33){return Boolean((getAttribute(_0x5d6b33,'data-id')||'')['length']>0x0&&'new-element'!==getAttribute(_0x5d6b33,'data-id'));}['_isDelNode'](_0x492fb0){return!!_0x492fb0&&Boolean(isComment(_0x492fb0)&&_0x28c879(_0x492fb0)['match'](/removed[\s*-]data-id="[^"]+"/));}['_hasWrappedParent'](_0x10859b){let _0x1164ff=_0x10859b['parentNode'];for(;_0x1164ff;){if(getAttribute(_0x1164ff,'data-wrapped-id'))return!0x0;_0x1164ff=_0x1164ff['parentNode'];}return!0x1;}['_isExistingContentComment'](_0x5bb124){return Boolean(isComment(_0x5bb124)&&_0x28c879(_0x5bb124)['match'](/\s*existing[\s*-](content|document)\s*/g));}}const _0x2cc82e=['modification-delta','text-delta','web-search','reasoning'],_0x41b33d=['conversation-title'],_0x335912='conversation-title';class _0x2566d9 extends ckeditor5['ObservableMixin'](){['id'];['interactionId'];['type'];['sources']=[];['parsedContent']=new Document([]);['parsedMergedContent']=new Document([]);['changeGroups']=[];['areActionsDisabled']=!0x1;['documentContextContent'];['aiResponseParser'];['aiResponseApplier'];['editor'];constructor({type:_0x566105,content:_0xd19315='',isDone:_0x3f0367=!0x1,interactionId:_0x55bfac,areActionsDisabled:_0x56f92d,documentContextContent:_0x44b7ef,editor:_0x22ee2e}){super(),this['id']=ckeditor5['uid'](),this['interactionId']=_0x55bfac,this['type']=_0x566105,this['areActionsDisabled']=!!_0x56f92d,this['editor']=_0x22ee2e,this['aiResponseParser']=new _0x4bdcde(),this['aiResponseApplier']=new _0x5893b(),this['documentContextContent']=_0x3504aa(_0x44b7ef||''),this['set']('isDone',_0x3f0367),this['on']('change:content',()=>{this['onContentChange']();}),this['set']('content',_0xd19315);}['appendContent'](_0x2d3772){this['set']('content',this['content']+_0x2d3772);}['done'](){this['isDone']||(this['set']('isDone',!0x0),this['onContentChange']());}['destroy'](){this['stopListening']();}['setChangeGroupState'](_0x2d96a5,_0x1703ee){this['changeGroups'][_0x2d96a5]['state']=_0x1703ee,this['fire']('replyChangeGroupStateUpdated',{'reply':this,'index':_0x2d96a5,'state':_0x1703ee});}['onContentChange'](){if('modification-delta'===this['type']){this['parsedContent']=this['aiResponseParser']['parseAndNormalizeHTML'](this['content']);const _0x24762c=this['changeGroups'];this['updateChangeGroups']();const _0x27ad0b=this['_getDifferentChangeGroups'](_0x24762c,this['changeGroups']);(_0x27ad0b['length']||this['isDone'])&&this['fire']('replyContentUpdated',this,_0x27ad0b);}else this['parsedContent']=this['aiResponseParser']['convertMarkdownToHTML'](this['content']),this['fire']('replyContentUpdated',this);}['_getDifferentChangeGroups'](_0x183bb9,_0x2ea940){const _0x31255f=[];for(const _0x112aa2 of _0x2ea940){const _0xa5b18a=_0x183bb9[_0x112aa2['index']];_0xa5b18a?_0xa5b18a['changes']['length']!==_0x112aa2['changes']['length']?_0x31255f['push'](_0x112aa2):_0xa5b18a['changes']['forEach']((_0x3203c7,_0x1c6565)=>{const _0x1ca395=_0x112aa2['changes'][_0x1c6565];_0x3203c7['id']!==_0x1ca395['id']&&_0x31255f['push'](_0x112aa2);}):_0x31255f['push'](_0x112aa2);}return _0x31255f;}['updateChangeGroups'](){const _0x1ae7ef=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'))])]),_0x3e3855=this['aiResponseApplier']['merge'](this['parsedContent'],this['documentContextContent']['cloneNode'](!0x0),{'markUnstableElements':!this['isDone'],'replaceRemovedWith':_0x1ae7ef,'cutAfterLastChange':!this['isDone']});if(!_0x3e3855['modifiedNodeIds']['length']&&!this['isDone'])return;this['parsedMergedContent']=_0x3e3855['parsedContent'];let _0x3c4827=[];if(_0xed9363(_0x2cd85e=>{const _0x26f520=getAttribute(_0x2cd85e,'data-id');if(!_0x26f520||!_0x44351d(_0x26f520))return!0x1;const _0x48134b=[_0x2cd85e,...getParents(_0x2cd85e)]['at'](-0x2);if(_0x2cd85e!=_0x48134b){const _0x3680de=getAttribute(_0x48134b,'data-id');_0x44351d(_0x3680de)||(_0x3c4827['push']({'node':_0x48134b,'id':_0x3680de,'type':'modified'}),_0x3e3855['modifiedNodeIds']['push'](_0x3680de));}else _0x3e3855['modifiedNodeIds']['includes'](_0x26f520)?_0x3c4827['push']({'node':_0x2cd85e,'type':'modified','id':_0x26f520}):_0x3e3855['newNodeIds']['includes'](_0x26f520)?_0x3c4827['push']({'node':_0x2cd85e,'type':'new','id':_0x26f520,'anchorId':getAttribute(_0x2cd85e['previousSibling'],'data-id')}):_0x3c4827['push']({'node':_0x2cd85e,'type':'removed','id':_0x26f520});return!0x0;},this['parsedMergedContent']),_0x3c4827=_0x3c4827['filter'](({node:_0x5b7ff6})=>[...getParents(_0x5b7ff6),_0x5b7ff6]['every'](_0x8b8441=>!getAttribute(_0x8b8441,'data-unstable'))),0x0==_0x3c4827['length'])return;const _0xb5d02b=[[_0x3c4827[0x0]]];for(let _0x27ca8e=0x1;_0x27ca8e<_0x3c4827['length'];_0x27ca8e++){const _0x258bdf=_0xb5d02b[_0xb5d02b['length']-0x1],_0x35bc41=_0x258bdf[_0x258bdf['length']-0x1];_0x3c4827[_0x27ca8e]['node']['previousSibling']==_0x35bc41['node']&&'modified'!=_0x3c4827[_0x27ca8e]['type']&&'modified'!=_0x35bc41['type']?_0x258bdf['push'](_0x3c4827[_0x27ca8e]):_0xb5d02b['push']([_0x3c4827[_0x27ca8e]]);}for(const _0x353cc0 of _0xb5d02b){const _0x1a0b43=_0x353cc0[0x0],_0x576704=_0x353cc0[_0x353cc0['length']-0x1],_0x457cff=_0x547d26(_0x1a0b43['node']['previousSibling']);_0x457cff&&_0x353cc0['unshift'](_0x457cff);const _0x545f13=_0x547d26(_0x576704['node']['nextSibling']);_0x545f13&&_0x353cc0['push'](_0x545f13);}function _0x44351d(_0x96a64d){return _0x3e3855['modifiedNodeIds']['includes'](_0x96a64d)||_0x3e3855['newNodeIds']['includes'](_0x96a64d)||_0x3e3855['removedNodeIds']['includes'](_0x96a64d);}function _0x547d26(_0x2c8482){if(_0x2c8482&&getAttribute(_0x2c8482,'data-id')&&!getAttribute(_0x2c8482,'data-unstable')){const _0x1ad825=getAttribute(_0x2c8482,'data-id');if(!_0x44351d(_0x1ad825))return{'node':_0x2c8482,'type':'context','id':_0x1ad825};}return null;}this['changeGroups']=_0xb5d02b['map']((_0x580781,_0x207a11)=>({'changes':_0x580781,'state':'pending','index':_0x207a11}));}}function _0x34144f(_0x446038){return Object['values'](_0x2cc82e)['includes'](_0x446038);}function _0x2f06f4(_0x4f11bb){return _0x41b33d['includes'](_0x4f11bb);}function isReplyTitleType(_0x28ed26){return _0x28ed26===_0x335912;}function _0x399d7f(_0x57658d){return'source'===_0x57658d;}const _0x4c19e6=['interactionCreated','interactionStarted','interactionStopped','interactionFinished','interactionDestroyed','replyCreated','replyContentUpdated','replyChangeGroupStateUpdated','setConversationTitle','webSearchStarted','webSearchFinished','reasoningStarted','reasoningFinished','error'];class AIInteraction extends ckeditor5['EmitterMixin'](){['id'];['replies']=[];['currentReply'];['messageId'];['actionCallId'];['currentRequest'];['connector'];['isStopped']=!0x1;['isDestroyed']=!0x1;['editor'];['_isReasoning']=!0x1;['_isWebSearching']=!0x1;constructor({connector:_0x48f1e8,editor:_0x405a53}){super(),this['id']=ckeditor5['uid'](),this['connector']=_0x48f1e8,this['isStopped']=!0x0,this['editor']=_0x405a53;}async['start'](){let _0x5442ed;const _0x283134=[];this['isStopped']=!0x1;try{this['currentRequest']=await this['sendRequest'](),this['fire']('interactionStarted',this);const _0x130656=await this['currentRequest']['getStream']();for await(const _0x19da49 of _0x130656){if(this['isStopped'])return;if('error'===_0x19da49['event'])return void this['fire']('error',{'error':new ckeditor5['CKEditorError']('ai-chat-interaction-error',this)});if('message-metadata'!==_0x19da49['event']){if('action-metadata'!==_0x19da49['event']){if(isReplyTitleType(_0x19da49['event'])&&this['setConversationTitle'](_0x19da49['data']['conversationTitle'],!0x0),_0x399d7f(_0x19da49['event']))_0x283134['push'](_0x19da49['data']['source']);else{if(_0x34144f(_0x19da49['event'])){if(_0x19da49['event']!==_0x5442ed){if(_0x5442ed=_0x19da49['event'],'web-search'===_0x19da49['event']){this['_isWebSearching']||(this['_isWebSearching']=!0x0,this['fire']('webSearchStarted',this));continue;}if('reasoning'===_0x19da49['event']){this['_isReasoning']||(this['_isReasoning']=!0x0,this['fire']('reasoningStarted',this));continue;}this['_isReasoning']&&(this['_isReasoning']=!0x1,this['fire']('reasoningFinished',this)),this['_isWebSearching']&&(this['_isWebSearching']=!0x1,this['fire']('webSearchFinished',this)),this['currentReply']&&this['currentReply']['done'](),this['currentReply']=this['createReply']({'type':_0x19da49['event'],'interactionId':this['id']}),_0x283134['length']>0x0&&'modification-delta'===_0x19da49['event']&&(this['currentReply']['sources']=_0x283134['splice'](0x0));}_0x19da49['data']['textDelta']&&this['currentReply']['appendContent'](_0x19da49['data']['textDelta']);}else _0x2f06f4(_0x19da49['event'])||ckeditor5['logWarning']('ai-interaction-invalid-event-type',{'chunk':_0x19da49});}}else this['actionCallId']=_0x19da49['data']['callId'];}else this['messageId']=_0x19da49['data']['id'];}}finally{this['isStopped']||(_0x283134['length']>0x0&&(this['currentReply']['sources']=_0x283134['splice'](0x0)),this['_finalizeInteraction'](),this['fire']('interactionFinished',this));}}['stop'](){this['isStopped']||(this['_finalizeInteraction'](),this['fire']('interactionStopped',this));}['getReply'](_0x563f48){return this['replies']['find'](_0x3ea3a9=>_0x3ea3a9['id']===_0x563f48);}['destroy'](){this['isDestroyed']||(this['stop'](),this['replies']['forEach'](_0x2b9a18=>_0x2b9a18['destroy']()),this['replies']=[],this['isDestroyed']=!0x0,this['fire']('interactionDestroyed',this),this['stopListening']());}['createReply'](_0x381509){const _0x44d29c=new _0x2566d9({'editor':this['editor'],'documentContextContent':this['getDocumentContext']()?.['content'],..._0x381509});return this['replies']['push'](_0x44d29c),_0x44d29c['delegate'](..._0x4c19e6)['to'](this),this['fire']('replyCreated',_0x44d29c),_0x44d29c;}['setConversationTitle'](_0x2894ec,_0x5090d4=!0x1){this['fire']('setConversationTitle',_0x2894ec,_0x5090d4);}['_finalizeInteraction'](){this['isStopped']=!0x0,this['currentRequest']&&this['currentRequest']['abortController']['abort'](),this['currentReply']&&this['currentReply']['done'](),this['currentRequest']=this['currentReply']=void 0x0;}}var AIContextItemType=function(_0x4265cf){return _0x4265cf['FILE']='file',_0x4265cf['DOCUMENT']='document',_0x4265cf['URL']='web-resource',_0x4265cf['TEXT']='text',_0x4265cf['SELECTION']='selection',_0x4265cf;}({}),AIContextTextResourceType=function(_0x5e1f2f){return _0x5e1f2f['TEXT']='text',_0x5e1f2f['MARKDOWN']='markdown',_0x5e1f2f['HTML']='html',_0x5e1f2f;}({});const _0x1bec8a=['contextItemAdded','contextItemRemoved','contextItemLoadingEnded','contextSent','error','addContextOptionsChanged','sourceResourcesLoaded','resourceStateChanged','uploadProgressChanged'];class AIChatContext extends ckeditor5['ObservableMixin'](){['_connector'];['_config'];['_ownerId'];constructor({connector:_0x264ef1,config:_0x7fced4,ownerId:_0x2f53ec}){super(),this['_connector']=_0x264ef1,this['_config']=_0x7fced4,this['_ownerId']=_0x2f53ec;}['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'](_0x550a49){const _0x228562=await this['_createContextItemFromContent'](_0x550a49);return this['_addToConversationContextItem'](_0x228562),'current-document'===_0x228562['uiId']&&this['_toggleAddCurrentDocumentOptionVisibility'](),_0x228562;}async['_createContextItemFromContent'](_0x15271d){if(_0x15271d['type']===AIContextItemType['DOCUMENT']){const _0x1f6ba8=await this['_connector']['fetchDocument'](this['_ownerId'],_0x15271d['id'])['getDocument']();return{'id':'current-document','uiId':'current-document','label':'Current\x20document','type':_0x15271d['type'],'content':_0x1f6ba8['content'],'hidden':this['_conversationContextItems']['has']('current-document'),'version':_0x1f6ba8['attributes']?.['version'],'sessionId':_0x1f6ba8['attributes']?.['sessionId']};}return{'id':_0x15271d['id'],'uiId':_0x15271d['id'],'label':_0x15271d['attributes']?.['label']||_0x15271d['name']||_0x15271d['url']||_0x15271d['id'],'type':_0x15271d['type'],..._0x15271d?.['attributes']?.['resourceId']?{'resourceId':_0x15271d['attributes']?.['resourceId']}:{}};}['getSentContextItems'](){return new Map(this['_conversationContextItems']);}['removeFromContext'](_0x56d956){const _0x194a97=this['_pendingContextItems']['get'](_0x56d956);_0x194a97?.['isReadOnly']||this['_removeContextItem'](_0x56d956);}['clearPendingContextItems'](){if(0x0===this['_pendingContextItems']['size'])return;for(const _0x43a03d of this['_pendingContextItems']['values']())this['_removeContextItem'](_0x43a03d['uiId']);const _0x56c1d3=this['_conversationContextItems']['get']('current-document')||this['_pendingContextItems']['get']('current-document');_0x56c1d3&&this['_addContextItem']({..._0x56c1d3,'isReadOnly':!0x0,'hidden':!0x0});}['addToConversationContext'](_0x58b0f0){for(const _0x4163e4 of _0x58b0f0['values']())this['_addToConversationContextItem'](_0x4163e4);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'](_0x4051c7){return Array['from'](_0x4051c7['values']())['map'](_0x501891=>this['_mapContextItemToRequestData'](_0x501891))['filter'](_0x56ff0e=>null!==_0x56ff0e);}async['addFilesToContext'](_0x25349e,_0x312ce1,_0x292ce1=AIContextItemType['FILE']){const _0x5c5054='files-'+ckeditor5['uid']();this['_startUploadOperation'](_0x5c5054);try{await Promise['all'](_0x25349e['map'](async _0xd0b4e3=>{const _0x561520='file-'+ckeditor5['uid'](),_0x3b5130=_0x26b325(_0xd0b4e3['name']);try{this['_addContextItem']({'type':_0x292ce1,'label':_0x312ce1?.['label']||_0x3b5130,'uiId':_0x561520,'resourceId':_0x312ce1?.['resourceId']},!0x0);const _0xe113d2=this['_connector']['uploadFile'](this['_ownerId'],_0xd0b4e3,_0x312ce1);this['_ongoingUploads']['set'](_0x561520,_0xe113d2['abortController']);const {id:_0x842e81}=await _0xe113d2['getId']();this['_ongoingUploads']['delete'](_0x561520),this['_finishContextItemLoading']({'type':_0x292ce1,'id':_0x842e81,'label':_0x312ce1?.['label']||_0x3b5130,'uiId':_0x561520,'resourceId':_0x312ce1?.['resourceId']},!0x1);}catch(_0x1f9f3c){this['_ongoingUploads']['delete'](_0x561520);if(!_0x1f9f3c['message']['startsWith']('ai-request-aborted')){const _0x3201d8=new ckeditor5['CKEditorError']('ai-chat-file-upload-failed',null,{'fileName':_0x3b5130});_0x3201d8['stack']=_0x1f9f3c['stack'],this['fire']('error',{'error':_0x3201d8,'fileName':_0x3b5130});}this['_removeContextItem'](_0x561520);}}));}finally{this['_finishUploadOperation'](_0x5c5054);}}['addCurrentDocumentToContext'](_0x687506){if(this['isCurrentDocumentInContext']())return;const _0x5c507d={'type':AIContextItemType['DOCUMENT'],'uiId':'current-document','label':_0x687506,'isReadOnly':this['_conversationContextItems']['has']('current-document'),'hidden':this['_conversationContextItems']['has']('current-document')};this['_addContextItem'](_0x5c507d);}async['updateCurrentDocument'](_0x28af27,_0x34b86d,_0x412c7c,_0x20ae3b){const _0x125ef0=this['_pendingContextItems']['get']('current-document');if(_0x125ef0&&_0x28af27){_0x125ef0['selection']=_0x20ae3b?_0x20ae3b['map'](_0x519069=>({'start':_0x519069['start'],'end':_0x519069['end']})):[];try{if(_0x125ef0['version']===_0x34b86d)return;const {id:_0x5b6a3e}=await this['_connector']['uploadDocument'](this['_ownerId'],_0x28af27,{'version':_0x34b86d,'sessionId':_0x412c7c})['getId']();_0x125ef0['id']=_0x5b6a3e,_0x125ef0['content']=_0x28af27,_0x125ef0['version']=_0x34b86d,_0x125ef0['sessionId']=_0x412c7c;}catch(_0x3d9bb6){const _0x49db56=new ckeditor5['CKEditorError']('ai-chat-document-upload-failed',null);_0x49db56['stack']=_0x3d9bb6['stack'],this['fire']('error',{'error':_0x49db56});}}}['addSelectionToContext'](_0x5a6607){this['_addContextItem']({'type':AIContextItemType['SELECTION'],'label':_0x5a6607,'uiId':'selection','content':_0x5a6607});}['removeSelectionFromContext'](){this['_removeContextItem']('selection');}async['addUrlToContext'](_0x2b9454,_0x5dd785){const _0x1443bd='url-'+ckeditor5['uid']();this['_startUploadOperation'](_0x1443bd);const _0x555c62='url-'+ckeditor5['uid']();try{this['_addContextItem']({'type':AIContextItemType['URL'],'label':_0x5dd785?.['label']||_0x2b9454,'uiId':_0x555c62,'resourceId':_0x5dd785?.['resourceId']},!0x0);const _0x52127f=this['_connector']['uploadUrl'](this['_ownerId'],_0x2b9454,_0x5dd785);this['_ongoingUploads']['set'](_0x555c62,_0x52127f['abortController']);const {id:_0x241676}=await _0x52127f['getId']();this['_ongoingUploads']['delete'](_0x555c62),this['_finishContextItemLoading']({'type':AIContextItemType['URL'],'id':_0x241676,'label':_0x5dd785?.['label']||_0x2b9454,'uiId':_0x555c62,'resourceId':_0x5dd785?.['resourceId']},!0x1);}catch(_0x3ea1a1){this['_ongoingUploads']['delete'](_0x555c62),(_0x3ea1a1['message']['startsWith']('ai-request-aborted')||this['fire']('error',{'error':new ckeditor5['CKEditorError']('ai-chat-url-upload-failed',this,{'url':_0x2b9454,'originalError':_0x3ea1a1}),'url':_0x2b9454}),this['_removeContextItem'](_0x555c62));}finally{this['_finishUploadOperation'](_0x1443bd);}}async['loadSourceResources'](_0xe96b75,_0xbc513c,_0x365491){const _0x220348=this['_addContextOptionsState']['sources']['find'](_0x4974e9=>_0x4974e9['id']===_0xe96b75);if(!_0x220348)return this['fire']('error',{'error':new ckeditor5['CKEditorError']('ai-chat-source-not-found',this,{'sourceId':_0xe96b75}),'sourceId':_0xe96b75}),[];try{const _0x5e8661=(await _0x220348['getResources'](_0xbc513c))['map'](_0x206f09=>{const _0x1f631c=this['_isResourceInContext'](_0x206f09['id']);return{..._0x206f09,'isInContext':_0x1f631c};});return _0x220348['resources']=_0x5e8661,this['fire']('sourceResourcesLoaded',{'sourceId':_0xe96b75,'source':_0x220348,'resources':_0x5e8661,'uid':_0x365491}),_0x5e8661;}catch(_0x5e8734){return this['fire']('error',{'error':new ckeditor5['CKEditorError']('ai-chat-source-resources-load-failed',this,{'sourceId':_0xe96b75,'originalError':_0x5e8734}),'sourceId':_0xe96b75,'sourceLabel':_0x220348['label']}),[];}}async['addResourceToContext'](_0x142f6d,_0x5345ac){if(this['_isResourceInContext'](_0x5345ac['id']))return;let _0x366acb=_0x5345ac['data'];if(!_0x366acb&&_0x142f6d['getData'])try{_0x366acb=await _0x142f6d['getData'](_0x5345ac['id']);}catch(_0x1711f0){return void this['fire']('error',{'error':new ckeditor5['CKEditorError']('ai-chat-resource-load-failed',this,{'resourceId':_0x5345ac['id'],'sourceId':_0x142f6d['id'],'originalError':_0x1711f0}),'resourceId':_0x5345ac['id'],'sourceId':_0x142f6d['id']});}if(_0x366acb)switch(_0x5345ac['type']){case AIContextItemType['URL']:if('string'!=typeof _0x366acb)return void this['fire']('error',{'error':new ckeditor5['CKEditorError']('ai-chat-context-invalid-data',this,{'resourceId':_0x5345ac['id'],'sourceId':_0x142f6d['id'],'expectedType':'string','actualType':typeof _0x366acb}),'resourceId':_0x5345ac['id'],'sourceId':_0x142f6d['id']});await this['addUrlToContext'](_0x366acb,{'label':_0x5345ac['label'],'resourceId':_0x5345ac['id']});break;case AIContextItemType['FILE']:if(!(_0x366acb instanceof File))return void this['fire']('error',{'error':new ckeditor5['CKEditorError']('ai-chat-context-invalid-data',this,{'resourceId':_0x5345ac['id'],'sourceId':_0x142f6d['id'],'expectedType':'File','actualType':typeof _0x366acb}),'resourceId':_0x5345ac['id'],'sourceId':_0x142f6d['id']});await this['addFilesToContext']([_0x366acb],{'label':_0x5345ac['label'],'resourceId':_0x5345ac['id']});break;case AIContextItemType['TEXT']:if('object'!=typeof _0x366acb||!('content'in _0x366acb)||!('type'in _0x366acb))return void this['fire']('error',{'error':new ckeditor5['CKEditorError']('ai-chat-context-invalid-data',this,{'resourceId':_0x5345ac['id'],'sourceId':_0x142f6d['id'],'expectedType':'object\x20with\x20content\x20and\x20type\x20properties','actualType':typeof _0x366acb}),'resourceId':_0x5345ac['id'],'sourceId':_0x142f6d['id']});_0x366acb=AIChatContext['_convertTextResourceToFile'](_0x366acb,_0x5345ac['label']),await this['addFilesToContext']([_0x366acb],{'label':_0x5345ac['label'],'resourceId':_0x5345ac['id']},AIContextItemType['TEXT']);break;default:this['fire']('error',{'error':new ckeditor5['CKEditorError']('ai-chat-context-unsupported-type',this,{'resourceId':_0x5345ac['id'],'sourceId':_0x142f6d['id'],'resourceType':_0x5345ac['type']}),'resourceId':_0x5345ac['id'],'sourceId':_0x142f6d['id']});}else this['fire']('error',{'error':new ckeditor5['CKEditorError']('ai-chat-resource-no-data',this,{'resourceId':_0x5345ac['id'],'sourceId':_0x142f6d['id']}),'resourceId':_0x5345ac['id'],'sourceId':_0x142f6d['id']});}static['_convertTextResourceToFile'](_0x3d74bc,_0x5a81df){switch(_0x3d74bc['type']){case AIContextTextResourceType['MARKDOWN']:return new File([_0x3d74bc['content']],_0x5a81df,{'type':'text/markdown'});case AIContextTextResourceType['HTML']:return new File([_0x3d74bc['content']],_0x5a81df,{'type':'text/html'});default:return new File([_0x3d74bc['content']],_0x5a81df,{'type':'text/plain'});}}static['_mapContextItemToRequestData'](_0x2e7922){switch(_0x2e7922['type']){case AIContextItemType['FILE']:return{'type':AIContextItemType['FILE'],'id':_0x2e7922['id']};case AIContextItemType['URL']:return{'type':AIContextItemType['URL'],'id':_0x2e7922['id']};case AIContextItemType['DOCUMENT']:return{'type':AIContextItemType['DOCUMENT'],'id':_0x2e7922['id'],..._0x2e7922['selection']?.['length']&&{'selection':_0x2e7922['selection']}};case AIContextItemType['TEXT']:return{'type':AIContextItemType['FILE'],'id':_0x2e7922['id']};default:return null;}}['_addContextItem'](_0x7ca914,_0x41cdda=!0x1){if(this['_pendingContextItems']['set'](_0x7ca914['uiId'],_0x7ca914),_0x7ca914['hidden']||this['fire']('contextItemAdded',{'contextItem':_0x7ca914,'isLoading':_0x41cdda}),'current-document'===_0x7ca914['uiId']&&this['_toggleAddCurrentDocumentOptionVisibility'](),_0x7ca914['resourceId']){const _0xdd49a=this['_findSourceIdsByResourceId'](_0x7ca914['resourceId']);_0xdd49a&&_0xdd49a['forEach'](_0x8421f4=>{this['_updateResourceInContextState'](_0x8421f4,_0x7ca914['resourceId'],!0x0);});}}['_removeContextItem'](_0xe618c3){const _0x5ca9cc=this['_pendingContextItems']['get'](_0xe618c3),_0x1eb7d6=this['_ongoingUploads']['get'](_0xe618c3);if(_0x1eb7d6&&(_0x1eb7d6['abort'](),this['_ongoingUploads']['delete'](_0xe618c3)),_0x5ca9cc?.['resourceId']){const _0x2283db=this['_findSourceIdsByResourceId'](_0x5ca9cc['resourceId']);_0x2283db&&_0x2283db['forEach'](_0x17ebaa=>{this['_updateResourceInContextState'](_0x17ebaa,_0x5ca9cc['resourceId'],!0x1);});}this['_pendingContextItems']['delete'](_0xe618c3),this['fire']('contextItemRemoved',{'uiId':_0xe618c3,'type':_0x5ca9cc?.['type']}),'current-document'===_0xe618c3&&this['_toggleAddCurrentDocumentOptionVisibility']();}['_finishContextItemLoading'](_0x3aa861,_0x4fb872){if(this['_pendingContextItems']['has'](_0x3aa861['uiId'])&&(this['_pendingContextItems']['set'](_0x3aa861['uiId'],_0x3aa861),this['fire']('contextItemLoadingEnded',{'contextItem':_0x3aa861,'isLoading':_0x4fb872}),_0x3aa861['resourceId'])){const _0x5896b7=this['_findSourceIdsByResourceId'](_0x3aa861['resourceId']);_0x5896b7&&_0x5896b7['forEach'](_0x106fdb=>{this['_updateResourceInContextState'](_0x106fdb,_0x3aa861['resourceId'],!0x0);});}}['_addToConversationContextItem'](_0x4eaf0c){this['_conversationContextItems']['set'](_0x4eaf0c['uiId'],_0x4eaf0c);}['_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']()},this['fire']('addContextOptionsChanged',{'options':this['_addContextOptionsState']});}['_getCustomSourcesInitialState'](){return this['_config']?.['sources']?.['map'](_0xcac8b4=>({..._0xcac8b4,'resources':[]}))??[];}['_toggleAddCurrentDocumentOptionVisibility'](){const _0x1ad10=this['isCurrentDocumentInContext']()||this['isCurrentDocumentInConversation']();this['_addContextOptionsState']['document']['isHidden']=_0x1ad10,this['fire']('addContextOptionsChanged',{'options':this['_addContextOptionsState']});}['_isResourceInContext'](_0x5d4d4f){for(const _0x8bf60f of this['_pendingContextItems']['values']())if(_0x8bf60f['resourceId']===_0x5d4d4f)return!0x0;for(const _0x51a542 of this['_conversationContextItems']['values']())if(_0x51a542['resourceId']===_0x5d4d4f)return!0x0;return!0x1;}['_findSourceIdsByResourceId'](_0x4f1ada){const _0x4eea74=[];for(const _0x4c613a of this['_addContextOptionsState']['sources']){_0x4c613a['resources']['find'](_0x178053=>_0x178053['id']===_0x4f1ada)&&_0x4eea74['push'](_0x4c613a['id']);}return 0x0===_0x4eea74['length']?null:_0x4eea74;}['_updateResourceInContextState'](_0x352a37,_0x3f0acf,_0x4c6d24){const _0x4db739=this['_addContextOptionsState']['sources']['find'](_0x216377=>_0x216377['id']===_0x352a37);if(!_0x4db739)return;const _0x2d80f1=_0x4db739['resources']['find'](_0x24b70b=>_0x24b70b['id']===_0x3f0acf);_0x2d80f1&&(_0x2d80f1['isInContext']=_0x4c6d24,this['fire']('resourceStateChanged',{'sourceId':_0x352a37,'resourceId':_0x3f0acf,'isInContext':_0x4c6d24}));}['_startUploadOperation'](_0x3a6ee5){this['_ongoingUploadOperations']['set'](_0x3a6ee5,!0x0),this['_ongoingUploadOperations']['size']&&this['fire']('uploadProgressChanged',{'isUploadInProgress':!0x0});}['_finishUploadOperation'](_0x401b00){this['_ongoingUploadOperations']['delete'](_0x401b00),0x0===this['_ongoingUploadOperations']['size']&&this['fire']('uploadProgressChanged',{'isUploadInProgress':!0x1});}}const _0x3408ca=['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'](_0x540267){const _0x426022={};return _0x540267&&_0x540267['isWebSearchEnabled']&&(_0x426022['webSearch']={}),_0x540267&&_0x540267['isReasoningEnabled']&&(_0x426022['reasoning']={}),_0x426022;}['toggleWebSearch'](){this['setWebSearch'](!this['_isWebSearchEnabled']);}['toggleReasoning'](){this['setReasoning'](!this['_isReasoningEnabled']);}['setWebSearch'](_0xb06f1b){_0xb06f1b!==this['_isWebSearchEnabled']&&(this['_isWebSearchEnabled']=_0xb06f1b,this['fire']('capabilitiesUpdated',this['getCapabilitiesConfig']()));}['setReasoning'](_0x22c891){_0x22c891!==this['_isReasoningEnabled']&&(this['_isReasoningEnabled']=_0x22c891,this['fire']('capabilitiesUpdated',this['getCapabilitiesConfig']()));}}class AIChatInteraction extends AIInteraction{['userMessage'];['conversationId'];['contextItems']=new Map();['model'];['quickActionData'];constructor(_0x4ae978){super(_0x4ae978),this['conversationId']=_0x4ae978['conversationId'],this['contextItems']=_0x4ae978['contextItems'],this['capabilities']=_0x4ae978['capabilities'],this['userMessage']=_0x4ae978['userMessage'],this['model']=_0x4ae978['model'],this['quickActionData']=_0x4ae978['quickActionData'];}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'],'quickActionData':this['quickActionData']});}['getDocumentContext'](){return this['contextItems']['get']('current-document');}}class AIChatConversation extends ckeditor5['EmitterMixin'](){['id'];['isStarted']=!0x1;['interactions']=[];['currentInteraction'];['selectedModel'];['connector'];['options'];constructor(_0x1bacb2){super(),this['options']=_0x1bacb2,this['connector']=_0x1bacb2['connector'],this['chatModels']=_0x1bacb2['chatModels'],this['id']=_0x1bacb2['conversationId'];}async['init'](_0x226fe3){try{this['chatContext']=new AIChatContext({'connector':this['connector'],'config':_0x226fe3,'ownerId':this['id']}),this['chatContext']['delegate'](..._0x1bec8a)['to'](this),this['chatContext']['init'](),this['chatCapabilities']=new AICapabilities(),this['chatCapabilities']['delegate'](..._0x3408ca)['to'](this),this['chatCapabilities']['init']();const _0x53bda3=await this['chatModels']['getAvailableModels']();this['fire']('conversationInitialized',{'availableModels':_0x53bda3});const _0x2260a1=await this['chatModels']['getModel'](this['options']['selectedModelId']);_0x2260a1&&await this['setModel'](_0x2260a1);}catch(_0x2b8ce0){const _0x214b12=new ckeditor5['CKEditorError']('ai-chat-conversation-init-failed',null,{'message':_0x2b8ce0['message']});_0x214b12['stack']=_0x2b8ce0['stack'],this['fire']('error',{'error':_0x214b12});}}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:_0x3d3351}=await this['connector']['startConversation'](this['id'],this['options']['group'])['getConversation']();this['id']=_0x3d3351,this['isStarted']=!0x0,this['fire']('conversationStarted',{'conversationId':this['id'],'selectedModel':this['selectedModel']});}catch(_0xed2e6f){const _0x2fc01b=new ckeditor5['CKEditorError']('ai-chat-conversation-start-failed',null,{'message':_0xed2e6f['message']});_0x2fc01b['stack']=_0xed2e6f['stack'],this['fire']('error',{'error':_0x2fc01b});}}async['load'](_0x1a118b,_0x15efb5){try{const _0x52e7a7=await this['connector']['fetchConversation'](_0x1a118b)['getConversation'](),_0x107e4c=await this['connector']['fetchConversationMessages'](_0x1a118b)['getMessages'](),_0x3f7e56=_0x107e4c[0x0]['model'];this['isStarted']=!0x0,this['id']=_0x52e7a7['id'],'title'in _0x52e7a7?this['fire']('setConversationTitle',_0x52e7a7['title'],!0x0):this['fire']('setConversationTitle','',!0x0);const _0x1f15bb=(await this['chatModels']['getAll']())['find'](_0x2a0592=>_0x2a0592['id']['toLowerCase']()===_0x3f7e56['toLowerCase']());return this['selectedModel']=_0x1f15bb,this['fire']('modelSelected',{'selectedModel':_0x1f15bb,'isDisabled':!0x0}),await this['_processMessagesToInteractions'](_0x107e4c,_0x15efb5,_0x3f7e56),this['currentInteraction']=void 0x0,this;}catch(_0x3f3976){const _0x479e4b=new ckeditor5['CKEditorError']('ai-chat-conversation-init-from-id-failed',null,{'message':_0x3f3976['message'],'conversationId':_0x1a118b});throw _0x479e4b['stack']=_0x3f3976['stack'],this['fire']('error',{'error':_0x479e4b}),_0x479e4b;}}async['_processMessagesToInteractions'](_0x5956d6,_0x262fbb,_0xb6515e){let _0x3e0b32;for(const _0x2b912d of _0x5956d6)if('user'===_0x2b912d['role']){const _0x583ddc=await this['_extractContextItems'](_0x2b912d),_0x16870a={'isReasoningEnabled':Object['hasOwn'](_0x2b912d['capabilities'],'reasoning'),'isWebSearchEnabled':Object['hasOwn'](_0x2b912d['capabilities'],'webSearch')};_0x3e0b32=this['createInteraction']({'userMessage':_0x2b912d['prompt'],'contextItems':_0x583ddc,'capabilities':_0x16870a,'modelId':_0xb6515e,'quickActionData':_0x2b912d['attributes']?.['quickActionData']}),this['currentInteraction']=_0x3e0b32,this['chatContext']['addToConversationContext'](this['currentInteraction']['contextItems']);}else{if('assistant'===_0x2b912d['role']&&_0x3e0b32)for(const _0x373baa of _0x2b912d['content']){const _0x5776ff='text'===_0x373baa['type']?'text-delta':'modification-delta',_0x3964b9=_0x3e0b32['getDocumentContext']()?.['sessionId']!==_0x262fbb;_0x3e0b32['currentReply']=_0x3e0b32['createReply']({'type':_0x5776ff,'isDone':!0x0,'interactionId':_0x3e0b32['id'],'areActionsDisabled':_0x3964b9}),_0x3e0b32['currentReply']['appendContent'](_0x373baa['content']);}}}async['_extractContextItems'](_0x7c8811){const _0x385914=new Map();if(!_0x7c8811['content'])return _0x385914;for(const _0x1fe8a8 of _0x7c8811['content']){const _0x457800=await this['chatContext']['populateFromMessage'](_0x1fe8a8);_0x457800&&_0x385914['set'](_0x457800['id'],_0x457800);}return _0x385914;}async['handleUserInteraction']({userMessage:_0x1f1eee,quickActionData:_0x29e634}){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 _0x53aab0=this['chatContext']['getPendingContextItems'](),_0x499e73=this['chatCapabilities']['getCapabilitiesConfig'](),_0x4e5d4e=this['selectedModel']['id'];this['currentInteraction']=this['createInteraction']({'userMessage':_0x1f1eee,'contextItems':_0x53aab0,'capabilities':_0x499e73,'modelId':_0x4e5d4e,'quickActionData':_0x29e634}),await this['currentInteraction']['start'](),this['chatContext']['addToConversationContext'](this['currentInteraction']['contextItems']);}catch(_0x4c9b53){this['fire']('error',{'interactionId':this['currentInteraction']?this['currentInteraction']['id']:void 0x0,'error':_0x4c9b53});}finally{this['currentInteraction']?.['stop'](),this['currentInteraction']=void 0x0;}}['createInteraction']({userMessage:_0x10d40e,contextItems:_0x3618e7,capabilities:_0x161328,modelId:_0x4d9402,quickActionData:_0x4fd6e7}){const _0x3ea9e1=new AIChatInteraction({'userMessage':_0x10d40e,'contextItems':_0x3618e7,'capabilities':_0x161328,'conversationId':this['id'],'connector':this['connector'],'editor':this['options']['getEditor']&&this['options']['getEditor'](),'model':_0x4d9402,'quickActionData':_0x4fd6e7});return _0x3ea9e1['delegate'](..._0x4c19e6)['to'](this),this['interactions']['push'](_0x3ea9e1),this['fire']('interactionCreated',_0x3ea9e1),_0x3ea9e1;}['getInteraction'](_0x1a8d90){return this['interactions']['find'](_0x1c5bdb=>_0x1c5bdb['id']===_0x1a8d90);}['removeInteraction'](_0x3744a9){const _0x25883e=this['getInteraction'](_0x3744a9);_0x25883e&&(_0x25883e['destroy'](),this['interactions']['splice'](this['interactions']['indexOf'](_0x25883e),0x1));}get['lastInteraction'](){return this['interactions'][this['interactions']['length']-0x1];}['addCurrentDocumentToContext'](_0x21e64e){this['chatContext']['addCurrentDocumentToContext'](_0x21e64e);}async['updateCurrentDocumentInContext']({content:_0x1fbd47,version:_0x1dd3c1,sessionId:_0xb1eada,selections:_0xa23cd9}){await this['chatContext']['updateCurrentDocument'](_0x1fbd47,_0x1dd3c1,_0xb1eada,_0xa23cd9);}['getCurrentDocumentContext'](){return this['currentInteraction']?.['getDocumentContext']()?.['content']||'';}['addSelectionToContext'](_0x31a8bc){this['chatContext']['addSelectionToContext'](_0x31a8bc);}['removeSelectionFromContext'](){this['chatContext']['removeSelectionFromContext']();}['addFilesToContext'](_0x165096){this['chatContext']['addFilesToContext'](_0x165096);}['addUrlToContext'](_0x515d38){this['chatContext']['addUrlToContext'](_0x515d38);}['addResourceToContext'](_0xb57af5,_0x47a6d4){this['chatContext']['addResourceToContext'](_0xb57af5,_0x47a6d4);}['loadSourceResources'](_0x11eac6,_0xf79432,_0x3de039){return this['chatContext']['loadSourceResources'](_0x11eac6,_0xf79432,_0x3de039);}['removeFromContext'](_0x3fd10e){this['chatContext']['removeFromContext'](_0x3fd10e);}['toggleWebSearch'](){this['chatCapabilities']['toggleWebSearch']();}['toggleReasoning'](){this['chatCapabilities']['toggleReasoning']();}['isCurrentDocumentInContext'](){return this['chatContext']['isCurrentDocumentInContext']();}['isCurrentDocumentInConversation'](){return this['chatContext']['isCurrentDocumentInConversation']();}['isSelectionInContext'](){return this['chatContext']['isSelectionInContext']();}async['setModel'](_0x5b207c){_0x5b207c?!0x1===await this['chatModels']['isAvailable'](_0x5b207c)&&(ckeditor5['logWarning']('ai-chat-conversation-set-model-not-available',{'conversation':this,'model':_0x5b207c}),_0x5b207c=(await this['chatModels']['getAvailableModels']())[0x0]):(ckeditor5['logWarning']('ai-chat-conversation-set-model-null',{'conversation':this}),_0x5b207c=(await this['chatModels']['getAvailableModels']())[0x0]),_0x5b207c['id']!==this['selectedModel']?.['id']&&(this['selectedModel']=_0x5b207c,this['chatCapabilities']['reset'](),this['fire']('modelSelected',{'selectedModel':_0x5b207c}));}}function getEditorFromContext(_0x55d620){if(_0x55d620 instanceof ckeditor5['Editor'])return _0x55d620;if(_0x55d620?.['editors']&&_0x55d620['editors']['get'](0x0))return _0x55d620['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.'),_0x55d620['editors']['get'](0x0);throw new ckeditor5['CKEditorError']('ai-get-editor-from-context-no-editor');}const _0x3401db='ai-selection';class AIEditing extends ckeditor5['ContextPlugin']{['_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 _0x137dd4=getEditorFromContext(this['context']),_0x4fbac4=_0x137dd4['plugins']['has']('RealTimeCollaborationClient')&&_0x137dd4['plugins']['get']('RealTimeCollaborationClient')['sessionId'];this['_sessionId']=_0x4fbac4||ckeditor5['uid']();}return this['_sessionId'];}['getDocumentData'](){const _0x4aaa5c=getEditorFromContext(this['context']),_0x1208cc=_0x4aaa5c['model'],_0x10b529=_0x4aaa5c['data']['toView'](_0x1208cc['document']['getRoot'](),{'convertAiChatSelectionMarker':!0x0}),_0xc22fd4=new ckeditor5['ViewDowncastWriter'](_0x4aaa5c['editing']['view']['document']);this['_setDataIdsOnChildren'](_0x10b529,_0xc22fd4);let _0x445a4a=_0x4aaa5c['data']['processor']['toData'](_0x10b529);const _0x538b73=this['_getMarkersInDocumentOrder'](),_0x286644=[];for(const _0x2bac5f of _0x538b73){const _0x85afe='<'+_0x2bac5f['name']+':start></'+_0x2bac5f['name']+':start>',_0x3522c7=_0x445a4a['indexOf'](_0x85afe);_0x445a4a=_0x445a4a['substring'](0x0,_0x3522c7)+_0x445a4a['substring'](_0x3522c7+_0x85afe['length']);const _0x2e6292='<'+_0x2bac5f['name']+':end></'+_0x2bac5f['name']+':end>',_0xf6e99a=_0x445a4a['indexOf'](_0x2e6292);_0x445a4a=_0x445a4a['substring'](0x0,_0xf6e99a)+_0x445a4a['substring'](_0xf6e99a+_0x2e6292['length']),_0x286644['push']({'markerName':_0x2bac5f['name'],'start':_0x3522c7,'end':_0xf6e99a,'htmlFragment':_0x445a4a['substring'](_0x3522c7,_0xf6e99a)});}return{'content':_0x445a4a,'version':_0x4aaa5c['model']['document']['version'],'sessionId':this['sessionId'],'selections':_0x286644};}async['afterInit'](){this['context']instanceof ckeditor5['Editor']?this['_integrateEditor'](this['context']):this['listenTo'](this['context']['editors'],'add',(_0x4325c6,_0xaadcbb)=>{_0xaadcbb['on']('ready',()=>{this['_integrateEditor'](_0xaadcbb);});});}['_integrateEditor'](_0x4ba917){_0x4ba917['conversion']['for']('editingDowncast')['markerToHighlight']({'model':_0x3401db,'view':{'classes':['ck-fake-ai-selection','ck-ai-assistant-ui_theme'],'priority':0xc}}),_0x4ba917['conversion']['for']('dataDowncast')['markerToElement']({'model':_0x3401db,'view':(_0x3da992,{writer:_0x500cab,options:_0x160429})=>_0x160429['convertAiChatSelectionMarker']?_0x500cab['createUIElement'](_0x3da992['markerName']+':'+(_0x3da992['isOpening']?'start':'end')):null});}['showFakeVisualSelection'](_0x243ab7,_0x2e4ee6,_0x57a1fe=!0x1,_0x1f60aa=!0x1){if(this['_displayedFakeSelectionLocked']&&!_0x1f60aa)return!0x1;this['_displayedFakeSelectionId']&&this['hideFakeVisualSelection'](this['_displayedFakeSelectionId']),this['_displayedFakeSelectionId']=_0x2e4ee6,this['_displayedFakeSelectionLocked']=_0x57a1fe;const _0x5f088c=getEditorFromContext(this['context'])['model'];return _0x5f088c['change'](_0x4cbf1c=>{let _0x218b42=0x0;for(let _0x23a03d of _0x243ab7){const _0x3f7263=_0x3401db+':'+_0x218b42;if(_0x23a03d['start']['isAtEnd']){const _0x482413=_0x23a03d['start']['getLastMatchingPosition'](({item:_0x3d37bf})=>!_0x5f088c['schema']['isContent'](_0x3d37bf),{'boundaries':_0x23a03d});_0x23a03d=_0x4cbf1c['createRange'](_0x482413,_0x23a03d['end']);}_0x4cbf1c['addMarker'](_0x3f7263,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x23a03d}),_0x218b42++;}}),window['getSelection']()?.['removeAllRanges'](),!0x0;}['hideFakeVisualSelection'](_0x1a9a50){if(this['_displayedFakeSelectionId']!=_0x1a9a50)return!0x1;this['_displayedFakeSelectionId']=null,this['_displayedFakeSelectionLocked']=!0x1;const _0x1205c5=getEditorFromContext(this['context']),_0x591f42=_0x1205c5['model']['markers']['getMarkersGroup'](_0x3401db);return _0x1205c5['model']['change'](_0x3ac991=>{for(const _0x16ad99 of _0x591f42)_0x3ac991['removeMarker'](_0x16ad99);}),!0x0;}['modelToViewWithIds'](_0x44ed69){const _0x571001=getEditorFromContext(this['context']),_0x221016=_0x571001['data']['toView'](_0x44ed69),_0xfc0d2f=new ckeditor5['ViewDowncastWriter'](_0x571001['editing']['view']['document']);return this['_setDataIdsOnChildren'](_0x221016,_0xfc0d2f),_0x221016;}['_setDataIdsOnChildren'](_0x52b15f,_0x3b64ec){let _0x4d5a8f=!0x1;const _0x4e1a0f=new Set();for(const _0x408484 of _0x52b15f['getChildren']()){const _0x418b59=_0x408484['is']('emptyElement')||_0x408484['is']('containerElement');if(!_0x408484['is']('element'))continue;(this['_setDataIdsOnChildren'](_0x408484,_0x3b64ec)||_0x418b59)&&(_0x3b64ec['setAttribute']('data-id',this['_nextDataId'](_0x4e1a0f),_0x408484),_0x4d5a8f=!0x0);}return _0x4d5a8f;}['_nextDataId'](_0x522196){let _0x414a5e;do{_0x414a5e='';for(let _0x25ba66=0x0;_0x25ba66<0x4;_0x25ba66++)_0x414a5e+=String['fromCharCode'](0x61+Math['floor'](0x1a*Math['random']()));}while(_0x522196['has'](_0x414a5e));return _0x522196['add'](_0x414a5e),_0x414a5e;}['getSelectionText'](){const {model:_0x5ea50a}=getEditorFromContext(this['context']),_0x56d758=_0x5ea50a['document']['selection'],_0x3c5c90=_0x5ea50a['getSelectedContent'](_0x56d758),_0x1067c0=[],_0x279269=_0x5ea50a['createRangeIn'](_0x3c5c90)['getWalker']();for(const {item:_0x4013dc}of _0x279269)_0x4013dc['is']('$textProxy')?_0x1067c0['push'](_0x4013dc['data']):_0x4013dc['is']('element')&&_0x1067c0['length']>0x0&&'\x20'!==_0x1067c0[_0x1067c0['length']-0x1]&&_0x1067c0['push']('\x20');return'\x22'+_0x1067c0['join']('')['trim']()+'\x22';}['_getMarkersInDocumentOrder'](){const _0x50b388=getEditorFromContext(this['context'])['model'];return Array['from'](_0x50b388['markers']['getMarkersGroup'](_0x3401db))['sort']((_0x159778,_0x29ee52)=>_0x159778['getStart']()['isBefore'](_0x29ee52['getStart']())?-0x1:_0x159778['getStart']()['isAfter'](_0x29ee52['getStart']())?0x1:0x0);}}class AIChatModels extends ckeditor5['EmitterMixin'](){['_modelList']=[];['_connector'];['_displayedModels'];['_defaultModelId'];constructor({connector:_0x5babc0,displayedModels:_0x22780f,defaultModelId:_0x8a022d}){super(),this['_connector']=_0x5babc0,this['_displayedModels']=_0x22780f,this['_defaultModelId']=_0x8a022d;}async['getAll'](){if(!this['_modelList']['length']){const _0x3b78e3=this['_connector']['getModels'](),_0x5218c9=(await _0x3b78e3['list']())['items']['sort']((_0x17ae89,_0x3c16c6)=>{const _0x59942e=Object['values'](_0x17ae89['capabilities'])['filter'](_0x47ae18=>_0x47ae18['enabled'])['length'],_0x4c1127=Object['values'](_0x3c16c6['capabilities'])['filter'](_0x17c70a=>_0x17c70a['enabled'])['length'];return _0x4c1127-_0x59942e;});this['_modelList']=_0x5218c9;}return this['_modelList'];}async['getAvailableModels'](){const _0x535fdc=await this['getAll']();return this['_filterModels'](_0x535fdc,this['_displayedModels']);}async['getModel'](_0x1316e6){const _0x5db59e=await this['getAll']();if(!_0x5db59e['length'])return null;if(_0x1316e6){const _0x2c7baa=_0x5db59e['find'](_0x5e9898=>_0x5e9898['id']===_0x1316e6);if(_0x2c7baa)return _0x2c7baa;ckeditor5['logWarning']('ai-chat-model-id-unrecognized',{'modelId':_0x1316e6,'fallBackModelId':this['_defaultModelId']});}return this['getDefault']();}async['getDefault'](){const _0x33cf36=await this['getAvailableModels']();if(!_0x33cf36['length'])return null;if(this['_defaultModelId']){const _0x2b6676=_0x33cf36['find'](_0x2190f3=>_0x2190f3['id']===this['_defaultModelId']);if(_0x2b6676)return _0x2b6676;ckeditor5['logWarning']('ai-chat-default-model-id-unrecognized',{'defaultModelId':this['_defaultModelId'],'fallBackModelId':_0x33cf36[0x0]['id']});}return _0x33cf36[0x0];}async['isAvailable'](_0x147675){return(await this['getAvailableModels']())['some'](_0x5c5547=>_0x5c5547['name']===_0x147675['name']&&_0x5c5547['provider']===_0x147675['provider']);}['_filterModels'](_0x593c0e,_0x76b7cb){let _0x4f960c;if(_0x76b7cb){_0x4f960c=[];const _0x163449='string'==typeof _0x76b7cb?[_0x76b7cb['toLocaleLowerCase']()]:_0x76b7cb['map'](_0x785719=>_0x785719['toLocaleLowerCase']());for(const _0x59ae58 of _0x163449)for(const _0xe08c8b of _0x593c0e)(_0xe08c8b['id']['toLocaleLowerCase']()===_0x59ae58||_0xe08c8b['name']['toLocaleLowerCase']()===_0x59ae58||_0xe08c8b['provider']['toLocaleLowerCase']()===_0x59ae58||_0xe08c8b['id']['toLocaleLowerCase']()['startsWith'](_0x59ae58))&&_0x4f960c['push'](_0xe08c8b);}else _0x4f960c=_0x593c0e;return _0x4f960c;}}class _0x4e2366 extends ckeditor5['ContextPlugin']{static get['pluginName'](){return'Permissions';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['setPermissions'](_0x1e03c6,_0x505bdb){let _0x3420fa;if(_0x505bdb||(_0x505bdb=this['context']['config']['get']('collaboration.channelId')),this['context']['config']['get']('collaboration.channelId')==_0x505bdb?_0x3420fa=this['context']:'editors'in this['context']&&this['context']['editors']&&(_0x3420fa=this['context']['editors']['find'](_0xe44bc5=>_0xe44bc5['config']['get']('collaboration.channelId')==_0x505bdb)),!_0x3420fa)throw new ckeditor5['CKEditorError']('permissions-set-permissions-invalid-channel-id',null);const _0x2b38d1=_0x3420fa['plugins'],_0x377659=_0x2b38d1['has']('CommentsRepository')?_0x2b38d1['get']('CommentsRepository'):void 0x0,_0x574332=_0x2b38d1['has']('CommentsOnly')&&_0x2b38d1['get']('CommentsOnly'),_0x2c29b9=_0x1e03c6['includes']('document:write'),_0x5ed85a=_0x1e03c6['includes']('comment:modify_all'),_0x1aa526=_0x1e03c6['includes']('comment:admin'),_0x4dc629=_0x1e03c6['includes']('comment:write'),_0x15f439=_0x4dc629||_0x1aa526,_0x2825e9=_0x15f439||_0x5ed85a,_0x876a06=_0x2c29b9||_0x15f439;(_0x574332&&(_0x574332['isEnabled']=!_0x2c29b9&&_0x2825e9),_0x3420fa instanceof ckeditor5['Editor'])&&(!(_0x2c29b9||_0x2825e9&&_0x377659)?_0x3420fa['enableReadOnlyMode']('no-permissions'):_0x3420fa['disableReadOnlyMode']('no-permissions'));if(_0x377659){_0x377659['setPermissions']({'admin':_0x1aa526,'modifyAll':_0x5ed85a,'write':_0x4dc629,'resolve':_0x876a06},_0x505bdb);const _0x435731=_0x3420fa instanceof ckeditor5['Editor']&&_0x3420fa['commands']['get']('addCommentThread');_0x435731&&(_0x15f439?_0x435731['clearForceDisabled']('noPermissions'):_0x435731['forceDisabled']('noPermissions'));}}}function getTranslation$h(_0x17590d,_0x20dee4){const t=_0x17590d['t'];switch(_0x20dee4){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 _0x38ef77 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[_0x4e2366];}constructor(_0x4426bf){super(_0x4426bf),this['context']['config']['define']('users.anonymousUserId','anonymous-user'),this['context']['config']['define']('users.colorsCount',0x8),this['users']=new ckeditor5['Collection'](),this['_locale']=_0x4426bf['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:_0x443e95,name:_0x43957f,..._0x3bedd0}){if(!_0x443e95||'string'!=typeof _0x443e95)throw new ckeditor5['CKEditorError']('users-add-invalid-id');if(this['users']['has'](_0x443e95))throw new ckeditor5['CKEditorError']('users-add-duplicated-id',null,{'id':_0x443e95});const _0x7caeb4=this['context']['config']['get']('users.getInitialsCallback'),_0x5444bd={..._0x3bedd0,'id':_0x443e95,'name':_0x484ddc(this['_locale'],_0x43957f),'color':this['_getNextColor']()};_0x5444bd['name']=_0x484ddc(this['_locale'],_0x5444bd['name']);const _0x44fe18=new _0x10755f(_0x5444bd,_0x7caeb4);return this['users']['add'](_0x44fe18),_0x44fe18;}['getUser'](_0x311ecb){return this['users']['get'](_0x311ecb);}['useAnonymousUser'](){const _0x3045a5=this['context']['config']['get']('users.anonymousUserId');this['_myId']||this['defineMe'](_0x3045a5);}['defineMe'](_0x46381b){if(this['_myId'])throw new ckeditor5['CKEditorError']('users-me-already-defined',null);const _0x158bf1=this['getUser'](_0x46381b);if(!_0x158bf1)throw new ckeditor5['CKEditorError']('users-me-missing-user',null);this['_myId']=_0x46381b,_0x158bf1['_isMe']=!0x0;}['getOperationAuthor'](){return this['me'];}['_getNextColor'](){const _0x1e77d2=this['context']['config']['get']('users.colorsCount');return this['_lastColor']>=_0x1e77d2&&(this['_lastColor']=0x0),new CollaborationUserColor(this['_lastColor']++);}['_addAnonymousUser'](){const _0x494051=this['context']['config']['get']('users.anonymousUserId');this['addUser']({'id':_0x494051,'name':getTranslation$h(this['_locale'],'Anonymous')})['_isAnonymous']=!0x0;}}let _0x10755f=class{['id'];['color'];['name'];['initials'];['avatar'];['_isMe'];['_isAnonymous'];constructor(_0x219da5,_0x32c563){this['id']=_0x219da5['id'],this['color']=_0x219da5['color'],this['name']=_0x219da5['name'],this['initials']=_0x32c563?_0x32c563(this['name']):this['_computeInitials'](),this['avatar']=_0x219da5['avatar'],this['_isAnonymous']=!0x1,this['_isMe']=!0x1;}get['isAnonymous'](){return this['_isAnonymous'];}get['isMe'](){return this['_isMe'];}['_computeInitials'](){const _0x2cb67b=this['name']['split']('\x20')['filter'](_0x22a5c7=>/^[\p{Letter}]/u['test'](_0x22a5c7));return 0x1===_0x2cb67b['length']?this['_getInitial'](_0x2cb67b[0x0]):0x0===_0x2cb67b['length']?this['_getInitial'](this['name']):this['_getInitial'](_0x2cb67b[0x0])+this['_getInitial'](_0x2cb67b[_0x2cb67b['length']-0x1]);}['_getInitial'](_0xd5aec){return String['fromCodePoint'](_0xd5aec['codePointAt'](0x0))['toUpperCase']();}};function _0x484ddc(_0x4a540a,_0x28872e=''){return''==(_0x28872e=_0x28872e['trim']())?getTranslation$h(_0x4a540a,'Anonymous'):_0x28872e;}class CollaborationUserColor{['_id'];constructor(_0x5e40da){this['_id']=_0x5e40da;}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 _0x278fab extends ckeditor5['View']{['name'];['notificationView'];constructor(_0x23fb27,_0x3119e6,_0x40374e){super(_0x23fb27),this['name']=_0x3119e6['name'],this['notificationView']=null;const _0x174cd6=['ck','ck-user'],_0x21ec92=['ck','ck-user__img'];if(_0x3119e6['isAnonymous']&&_0x21ec92['push']('ck-user__anonymous'),!_0x3119e6['isAnonymous']&&_0x3119e6['isMe']&&_0x174cd6['push']('ck-user_me'),_0x3119e6['avatar']&&_0x21ec92['push']('ck-user__avatar'),_0x40374e){const _0x3bca65=new ckeditor5['IconView']();_0x3bca65['extendTemplate']({'attributes':{'class':['ck-user__icon']}}),_0x3bca65['content']=ckeditor5['IconNotification'],this['notificationView']={'tag':'div','attributes':{'class':['ck','ck-user__notification'],'data-cke-tooltip-position':'n','data-cke-tooltip-text':_0x40374e},'children':[_0x3bca65]};}const _0x2deb5e=[{'tag':'div','attributes':{'class':_0x21ec92,'style':{'background-image':_0x3119e6['avatar']?'url(\x27'+_0x3119e6['avatar']+'\x27)':''}}},{'tag':'div','attributes':{'class':_0x3119e6['avatar']?'ck\x20ck-user__name\x20ck-user__name--hidden':'ck\x20ck-user__name','aria-label':_0x3119e6['name']},'children':[{'text':_0x3119e6['initials']}]}];this['notificationView']&&_0x2deb5e['push'](this['notificationView']),this['setTemplate']({'tag':'div','attributes':{'class':_0x174cd6,'data-user-id':_0x3119e6['id']},'children':_0x2deb5e});}}class AriaDescriptionView extends ckeditor5['View']{['id'];constructor(_0x4bfb49,_0x8aecac){super(_0x4bfb49),this['id']='ck-aria-description-'+ckeditor5['uid'](),this['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-aria-description'],'id':this['id']},'children':[{'text':_0x8aecac}]});}}class LateFocusButtonView extends ckeditor5['ButtonView']{['render'](){super['render'](),delayFocusUntilMouseup(this);}}class LateFocusDropdownButtonView extends ckeditor5['DropdownButtonView']{['render'](){super['render'](),delayFocusUntilMouseup(this);}}function delayFocusUntilMouseup(_0x4690f1){_0x4690f1['listenTo'](_0x4690f1['element'],'mousedown',(_0x352e1b,_0x33956b)=>{_0x33956b['stopPropagation'](),_0x33956b['preventDefault']();}),_0x4690f1['listenTo'](_0x4690f1['element'],'mouseup',()=>{_0x4690f1['element']['focus']();});}class _0x552d58 extends Error{}class InvalidDateTimeError extends _0x552d58{constructor(_0xf743c5){super('Invalid\x20DateTime:\x20'+_0xf743c5['toMessage']());}}class InvalidIntervalError extends _0x552d58{constructor(_0x5cc4bb){super('Invalid\x20Interval:\x20'+_0x5cc4bb['toMessage']());}}class InvalidDurationError extends _0x552d58{constructor(_0x88378b){super('Invalid\x20Duration:\x20'+_0x88378b['toMessage']());}}class ConflictingSpecificationError extends _0x552d58{}class InvalidUnitError extends _0x552d58{constructor(_0x22f217){super('Invalid\x20unit\x20'+_0x22f217);}}class InvalidArgumentError extends _0x552d58{}class ZoneIsAbstractError extends _0x552d58{constructor(){super('Zone\x20is\x20an\x20abstract\x20class');}}const _0x31254c='numeric',_0x33a27f='short',_0x592e26='long',_0x3101fd={'year':_0x31254c,'month':_0x31254c,'day':_0x31254c},_0x124798={'year':_0x31254c,'month':_0x33a27f,'day':_0x31254c},_0x13ba98={'year':_0x31254c,'month':_0x33a27f,'day':_0x31254c,'weekday':_0x33a27f},_0x48423b={'year':_0x31254c,'month':_0x592e26,'day':_0x31254c},_0x51bd44={'year':_0x31254c,'month':_0x592e26,'day':_0x31254c,'weekday':_0x592e26},_0x58e331={'hour':_0x31254c,'minute':_0x31254c},_0x30c292={'hour':_0x31254c,'minute':_0x31254c,'second':_0x31254c},_0x59df18={'hour':_0x31254c,'minute':_0x31254c,'second':_0x31254c,'timeZoneName':_0x33a27f},_0x9906ab={'hour':_0x31254c,'minute':_0x31254c,'second':_0x31254c,'timeZoneName':_0x592e26},_0x2d72c6={'hour':_0x31254c,'minute':_0x31254c,'hourCycle':'h23'},_0xefe60c={'hour':_0x31254c,'minute':_0x31254c,'second':_0x31254c,'hourCycle':'h23'},_0x3deccc={'hour':_0x31254c,'minute':_0x31254c,'second':_0x31254c,'hourCycle':'h23','timeZoneName':_0x33a27f},_0x532afd={'hour':_0x31254c,'minute':_0x31254c,'second':_0x31254c,'hourCycle':'h23','timeZoneName':_0x592e26},_0x2d02a7={'year':_0x31254c,'month':_0x31254c,'day':_0x31254c,'hour':_0x31254c,'minute':_0x31254c},_0x131a30={'year':_0x31254c,'month':_0x31254c,'day':_0x31254c,'hour':_0x31254c,'minute':_0x31254c,'second':_0x31254c},_0x82c1f5={'year':_0x31254c,'month':_0x33a27f,'day':_0x31254c,'hour':_0x31254c,'minute':_0x31254c},_0x4e7b0c={'year':_0x31254c,'month':_0x33a27f,'day':_0x31254c,'hour':_0x31254c,'minute':_0x31254c,'second':_0x31254c},_0x9f3164={'year':_0x31254c,'month':_0x33a27f,'day':_0x31254c,'weekday':_0x33a27f,'hour':_0x31254c,'minute':_0x31254c},_0xd55ca7={'year':_0x31254c,'month':_0x592e26,'day':_0x31254c,'hour':_0x31254c,'minute':_0x31254c,'timeZoneName':_0x33a27f},_0x34e799={'year':_0x31254c,'month':_0x592e26,'day':_0x31254c,'hour':_0x31254c,'minute':_0x31254c,'second':_0x31254c,'timeZoneName':_0x33a27f},_0x187b57={'year':_0x31254c,'month':_0x592e26,'day':_0x31254c,'weekday':_0x592e26,'hour':_0x31254c,'minute':_0x31254c,'timeZoneName':_0x592e26},_0xbc9c3d={'year':_0x31254c,'month':_0x592e26,'day':_0x31254c,'weekday':_0x592e26,'hour':_0x31254c,'minute':_0x31254c,'second':_0x31254c,'timeZoneName':_0x592e26};class _0x474c1a{get['type'](){throw new ZoneIsAbstractError();}get['name'](){throw new ZoneIsAbstractError();}get['ianaName'](){return this['name'];}get['isUniversal'](){throw new ZoneIsAbstractError();}['offsetName'](_0x107248,_0x3ed70f){throw new ZoneIsAbstractError();}['formatOffset'](_0x2feead,_0x7aca26){throw new ZoneIsAbstractError();}['offset'](_0x5d2358){throw new ZoneIsAbstractError();}['equals'](_0x53ee5f){throw new ZoneIsAbstractError();}get['isValid'](){throw new ZoneIsAbstractError();}}let singleton$1=null;class SystemZone extends _0x474c1a{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'](_0x22d8da,{format:_0x2b8bfe,locale:_0x365ab1}){return _0x1f471d(_0x22d8da,_0x2b8bfe,_0x365ab1);}['formatOffset'](_0x427589,_0x131524){return formatOffset(this['offset'](_0x427589),_0x131524);}['offset'](_0x3ff166){return-new Date(_0x3ff166)['getTimezoneOffset']();}['equals'](_0x1122ca){return'system'===_0x1122ca['type'];}get['isValid'](){return!0x0;}}const dtfCache=new Map();function _0x9bf7fe(_0x45fdc6){let _0x25af57=dtfCache['get'](_0x45fdc6);return void 0x0===_0x25af57&&(_0x25af57=new Intl['DateTimeFormat']('en-US',{'hour12':!0x1,'timeZone':_0x45fdc6,'year':'numeric','month':'2-digit','day':'2-digit','hour':'2-digit','minute':'2-digit','second':'2-digit','era':'short'}),dtfCache['set'](_0x45fdc6,_0x25af57)),_0x25af57;}const typeToPos={'year':0x0,'month':0x1,'day':0x2,'era':0x3,'hour':0x4,'minute':0x5,'second':0x6};function hackyOffset(_0x5aeb4c,_0x2ab4de){const _0x42a78f=_0x5aeb4c['format'](_0x2ab4de)['replace'](/\u200E/g,''),_0x27d4e5=/(\d+)\/(\d+)\/(\d+) (AD|BC),? (\d+):(\d+):(\d+)/['exec'](_0x42a78f),[,_0xcd81db,_0x404fcc,_0x416013,_0x2fa0de,_0xbd5e7,_0xbdbf2c,_0x128835]=_0x27d4e5;return[_0x416013,_0xcd81db,_0x404fcc,_0x2fa0de,_0xbd5e7,_0xbdbf2c,_0x128835];}function partsOffset(_0x269ed3,_0x162713){const _0x577566=_0x269ed3['formatToParts'](_0x162713),_0x5b174d=[];for(let _0xfdc0a5=0x0;_0xfdc0a5<_0x577566['length'];_0xfdc0a5++){const {type:_0x3b0a05,value:_0x1b1f17}=_0x577566[_0xfdc0a5],_0x3a4ed4=typeToPos[_0x3b0a05];'era'===_0x3b0a05?_0x5b174d[_0x3a4ed4]=_0x1b1f17:_0x47d16a(_0x3a4ed4)||(_0x5b174d[_0x3a4ed4]=parseInt(_0x1b1f17,0xa));}return _0x5b174d;}const _0x255186=new Map();class _0x1d016 extends _0x474c1a{static['create'](_0x53c891){let _0x5503c5=_0x255186['get'](_0x53c891);return void 0x0===_0x5503c5&&_0x255186['set'](_0x53c891,_0x5503c5=new _0x1d016(_0x53c891)),_0x5503c5;}static['resetCache'](){_0x255186['clear'](),dtfCache['clear']();}static['isValidSpecifier'](_0x3af1af){return this['isValidZone'](_0x3af1af);}static['isValidZone'](_0x2f0b7a){if(!_0x2f0b7a)return!0x1;try{return new Intl['DateTimeFormat']('en-US',{'timeZone':_0x2f0b7a})['format'](),!0x0;}catch(_0x59cd3b){return!0x1;}}constructor(_0xc0227e){super(),this['zoneName']=_0xc0227e,this['valid']=_0x1d016['isValidZone'](_0xc0227e);}get['type'](){return'iana';}get['name'](){return this['zoneName'];}get['isUniversal'](){return!0x1;}['offsetName'](_0x5acde1,{format:_0x3c9913,locale:_0x297445}){return _0x1f471d(_0x5acde1,_0x3c9913,_0x297445,this['name']);}['formatOffset'](_0x2ed65e,_0x37c181){return formatOffset(this['offset'](_0x2ed65e),_0x37c181);}['offset'](_0x9aefb0){if(!this['valid'])return NaN;const _0x4c0a77=new Date(_0x9aefb0);if(isNaN(_0x4c0a77))return NaN;const _0x31fa19=_0x9bf7fe(this['name']);let [_0x3623b9,_0xbc8c22,_0x5cf38e,_0x3fb3a8,_0x4b101d,_0x5eb05d,_0x28a78c]=_0x31fa19['formatToParts']?partsOffset(_0x31fa19,_0x4c0a77):hackyOffset(_0x31fa19,_0x4c0a77);'BC'===_0x3fb3a8&&(_0x3623b9=0x1-Math['abs'](_0x3623b9));let _0x34a9de=+_0x4c0a77;const _0x5115ce=_0x34a9de%0x3e8;return _0x34a9de-=_0x5115ce>=0x0?_0x5115ce:0x3e8+_0x5115ce,(_0x129853({'year':_0x3623b9,'month':_0xbc8c22,'day':_0x5cf38e,'hour':0x18===_0x4b101d?0x0:_0x4b101d,'minute':_0x5eb05d,'second':_0x28a78c,'millisecond':0x0})-_0x34a9de)/0xea60;}['equals'](_0x4d9abf){return'iana'===_0x4d9abf['type']&&_0x4d9abf['name']===this['name'];}get['isValid'](){return this['valid'];}}let intlLFCache={};function getCachedLF(_0x1d7d22,_0x2ae972={}){const _0x2cd8c8=JSON['stringify']([_0x1d7d22,_0x2ae972]);let _0x51c90e=intlLFCache[_0x2cd8c8];return _0x51c90e||(_0x51c90e=new Intl['ListFormat'](_0x1d7d22,_0x2ae972),intlLFCache[_0x2cd8c8]=_0x51c90e),_0x51c90e;}const intlDTCache=new Map();function getCachedDTF(_0x48f791,_0x6d3a61={}){const _0x58d7ed=JSON['stringify']([_0x48f791,_0x6d3a61]);let _0x154b17=intlDTCache['get'](_0x58d7ed);return void 0x0===_0x154b17&&(_0x154b17=new Intl['DateTimeFormat'](_0x48f791,_0x6d3a61),intlDTCache['set'](_0x58d7ed,_0x154b17)),_0x154b17;}const intlNumCache=new Map();function getCachedINF(_0x2f7e8a,_0x24da54={}){const _0x20fca5=JSON['stringify']([_0x2f7e8a,_0x24da54]);let _0x583cd1=intlNumCache['get'](_0x20fca5);return void 0x0===_0x583cd1&&(_0x583cd1=new Intl['NumberFormat'](_0x2f7e8a,_0x24da54),intlNumCache['set'](_0x20fca5,_0x583cd1)),_0x583cd1;}const intlRelCache=new Map();function getCachedRTF(_0x228a57,_0x43a1e1={}){const {base:_0x2ad6ed,..._0x3b8896}=_0x43a1e1,_0x2bf3ce=JSON['stringify']([_0x228a57,_0x3b8896]);let _0x29ef50=intlRelCache['get'](_0x2bf3ce);return void 0x0===_0x29ef50&&(_0x29ef50=new Intl['RelativeTimeFormat'](_0x228a57,_0x43a1e1),intlRelCache['set'](_0x2bf3ce,_0x29ef50)),_0x29ef50;}let _0x383e0c=null;function systemLocale(){return _0x383e0c||(_0x383e0c=new Intl['DateTimeFormat']()['resolvedOptions']()['locale'],_0x383e0c);}const intlResolvedOptionsCache=new Map();function getCachedIntResolvedOptions(_0x58d6bd){let _0x281c99=intlResolvedOptionsCache['get'](_0x58d6bd);return void 0x0===_0x281c99&&(_0x281c99=new Intl['DateTimeFormat'](_0x58d6bd)['resolvedOptions'](),intlResolvedOptionsCache['set'](_0x58d6bd,_0x281c99)),_0x281c99;}const _0x3b45f1=new Map();function getCachedWeekInfo(_0x548b4e){let _0x14f4f0=_0x3b45f1['get'](_0x548b4e);if(!_0x14f4f0){const _0x4700cd=new Intl['Locale'](_0x548b4e);_0x14f4f0='getWeekInfo'in _0x4700cd?_0x4700cd['getWeekInfo']():_0x4700cd['weekInfo'],'minimalDays'in _0x14f4f0||(_0x14f4f0={...fallbackWeekSettings,..._0x14f4f0}),_0x3b45f1['set'](_0x548b4e,_0x14f4f0);}return _0x14f4f0;}function parseLocaleString(_0x21f8db){const _0x3e9a42=_0x21f8db['indexOf']('-x-');-0x1!==_0x3e9a42&&(_0x21f8db=_0x21f8db['substring'](0x0,_0x3e9a42));const _0x4798a2=_0x21f8db['indexOf']('-u-');if(-0x1===_0x4798a2)return[_0x21f8db];{let _0x51ca82,_0xb9da13;try{_0x51ca82=getCachedDTF(_0x21f8db)['resolvedOptions'](),_0xb9da13=_0x21f8db;}catch(_0xab5e03){const _0x5a5689=_0x21f8db['substring'](0x0,_0x4798a2);_0x51ca82=getCachedDTF(_0x5a5689)['resolvedOptions'](),_0xb9da13=_0x5a5689;}const {numberingSystem:_0x4ef794,calendar:_0x13535c}=_0x51ca82;return[_0xb9da13,_0x4ef794,_0x13535c];}}function intlConfigString(_0x26be1c,_0x27634b,_0x21a979){return _0x21a979||_0x27634b?(_0x26be1c['includes']('-u-')||(_0x26be1c+='-u'),_0x21a979&&(_0x26be1c+='-ca-'+_0x21a979),_0x27634b&&(_0x26be1c+='-nu-'+_0x27634b),_0x26be1c):_0x26be1c;}function mapMonths(_0x3587fa){const _0x18d3f8=[];for(let _0x35d5c0=0x1;_0x35d5c0<=0xc;_0x35d5c0++){const _0x360fb6=DateTime['utc'](0x7d9,_0x35d5c0,0x1);_0x18d3f8['push'](_0x3587fa(_0x360fb6));}return _0x18d3f8;}function _0x3a35c6(_0xdde13b){const _0x2a4ac1=[];for(let _0x30ffe7=0x1;_0x30ffe7<=0x7;_0x30ffe7++){const _0x1de6ed=DateTime['utc'](0x7e0,0xb,0xd+_0x30ffe7);_0x2a4ac1['push'](_0xdde13b(_0x1de6ed));}return _0x2a4ac1;}function listStuff(_0x517b14,_0x5ddd2b,_0x575d08,_0x1717ee){const _0x4b2027=_0x517b14['listingMode']();return'error'===_0x4b2027?null:'en'===_0x4b2027?_0x575d08(_0x5ddd2b):_0x1717ee(_0x5ddd2b);}function supportsFastNumbers(_0x285d6d){return(!_0x285d6d['numberingSystem']||'latn'===_0x285d6d['numberingSystem'])&&('latn'===_0x285d6d['numberingSystem']||!_0x285d6d['locale']||_0x285d6d['locale']['startsWith']('en')||'latn'===getCachedIntResolvedOptions(_0x285d6d['locale'])['numberingSystem']);}class PolyNumberFormatter{constructor(_0x27ed0b,_0x1cc4cf,_0x156f00){this['padTo']=_0x156f00['padTo']||0x0,this['floor']=_0x156f00['floor']||!0x1;const {padTo:_0x3d4e87,floor:_0x2409a4,..._0x206ca5}=_0x156f00;if(!_0x1cc4cf||Object['keys'](_0x206ca5)['length']>0x0){const _0x3c90e4={'useGrouping':!0x1,..._0x156f00};_0x156f00['padTo']>0x0&&(_0x3c90e4['minimumIntegerDigits']=_0x156f00['padTo']),this['inf']=getCachedINF(_0x27ed0b,_0x3c90e4);}}['format'](_0x4c89b9){if(this['inf']){const _0x5256ab=this['floor']?Math['floor'](_0x4c89b9):_0x4c89b9;return this['inf']['format'](_0x5256ab);}return padStart(this['floor']?Math['floor'](_0x4c89b9):_0x4cba8c(_0x4c89b9,0x3),this['padTo']);}}class PolyDateFormatter{constructor(_0x376cb5,_0x3e3023,_0x15d7d3){let _0x212cf6;if(this['opts']=_0x15d7d3,this['originalZone']=void 0x0,this['opts']['timeZone'])this['dt']=_0x376cb5;else{if('fixed'===_0x376cb5['zone']['type']){const _0xa8b20=_0x376cb5['offset']/0x3c*-0x1,_0x190515=_0xa8b20>=0x0?'Etc/GMT+'+_0xa8b20:'Etc/GMT'+_0xa8b20;0x0!==_0x376cb5['offset']&&_0x1d016['create'](_0x190515)['valid']?(_0x212cf6=_0x190515,this['dt']=_0x376cb5):(_0x212cf6='UTC',this['dt']=0x0===_0x376cb5['offset']?_0x376cb5:_0x376cb5['setZone']('UTC')['plus']({'minutes':_0x376cb5['offset']}),this['originalZone']=_0x376cb5['zone']);}else'system'===_0x376cb5['zone']['type']?this['dt']=_0x376cb5:'iana'===_0x376cb5['zone']['type']?(this['dt']=_0x376cb5,_0x212cf6=_0x376cb5['zone']['name']):(_0x212cf6='UTC',this['dt']=_0x376cb5['setZone']('UTC')['plus']({'minutes':_0x376cb5['offset']}),this['originalZone']=_0x376cb5['zone']);}const _0x57e9b4={...this['opts']};_0x57e9b4['timeZone']=_0x57e9b4['timeZone']||_0x212cf6,this['dtf']=getCachedDTF(_0x3e3023,_0x57e9b4);}['format'](){return this['originalZone']?this['formatToParts']()['map'](({value:_0x4e5ff0})=>_0x4e5ff0)['join'](''):this['dtf']['format'](this['dt']['toJSDate']());}['formatToParts'](){const _0x24f6e0=this['dtf']['formatToParts'](this['dt']['toJSDate']());return this['originalZone']?_0x24f6e0['map'](_0x2fed6f=>{if('timeZoneName'===_0x2fed6f['type']){const _0x288faf=this['originalZone']['offsetName'](this['dt']['ts'],{'locale':this['dt']['locale'],'format':this['opts']['timeZoneName']});return{..._0x2fed6f,'value':_0x288faf};}return _0x2fed6f;}):_0x24f6e0;}['resolvedOptions'](){return this['dtf']['resolvedOptions']();}}class PolyRelFormatter{constructor(_0x26eb67,_0xc9b171,_0x10f9ba){this['opts']={'style':'long',..._0x10f9ba},!_0xc9b171&&hasRelative()&&(this['rtf']=getCachedRTF(_0x26eb67,_0x10f9ba));}['format'](_0x1929fd,_0x15d806){return this['rtf']?this['rtf']['format'](_0x1929fd,_0x15d806):formatRelativeTime(_0x15d806,_0x1929fd,this['opts']['numeric'],'long'!==this['opts']['style']);}['formatToParts'](_0x1b4540,_0x12320c){return this['rtf']?this['rtf']['formatToParts'](_0x1b4540,_0x12320c):[];}}const fallbackWeekSettings={'firstDay':0x1,'minimalDays':0x4,'weekend':[0x6,0x7]};class _0x2923a3{static['fromOpts'](_0x1fa3f5){return _0x2923a3['create'](_0x1fa3f5['locale'],_0x1fa3f5['numberingSystem'],_0x1fa3f5['outputCalendar'],_0x1fa3f5['weekSettings'],_0x1fa3f5['defaultToEN']);}static['create'](_0x1b1a21,_0x1ca255,_0x3d8bfd,_0xd8e60d,_0x1ba33d=!0x1){const _0x5d146f=_0x1b1a21||Settings['defaultLocale'],_0x18eba7=_0x5d146f||(_0x1ba33d?'en-US':systemLocale()),_0x2175e0=_0x1ca255||Settings['defaultNumberingSystem'],_0x2eb4fa=_0x3d8bfd||Settings['defaultOutputCalendar'],_0x37262c=validateWeekSettings(_0xd8e60d)||Settings['defaultWeekSettings'];return new _0x2923a3(_0x18eba7,_0x2175e0,_0x2eb4fa,_0x37262c,_0x5d146f);}static['resetCache'](){_0x383e0c=null,intlDTCache['clear'](),intlNumCache['clear'](),intlRelCache['clear'](),intlResolvedOptionsCache['clear'](),_0x3b45f1['clear']();}static['fromObject']({locale:_0x5c5190,numberingSystem:_0x5648d7,outputCalendar:_0x5dbf30,weekSettings:_0x38b8a8}={}){return _0x2923a3['create'](_0x5c5190,_0x5648d7,_0x5dbf30,_0x38b8a8);}constructor(_0xe89281,_0x39fbac,_0x581d9a,_0x400dd7,_0x351c13){const [_0x255582,_0x2c2185,_0x1a5e49]=parseLocaleString(_0xe89281);this['locale']=_0x255582,this['numberingSystem']=_0x39fbac||_0x2c2185||null,this['outputCalendar']=_0x581d9a||_0x1a5e49||null,this['weekSettings']=_0x400dd7,this['intl']=intlConfigString(this['locale'],this['numberingSystem'],this['outputCalendar']),this['weekdaysCache']={'format':{},'standalone':{}},this['monthsCache']={'format':{},'standalone':{}},this['meridiemCache']=null,this['eraCache']={},this['specifiedLocale']=_0x351c13,this['fastNumbersCached']=null;}get['fastNumbers'](){return null==this['fastNumbersCached']&&(this['fastNumbersCached']=supportsFastNumbers(this)),this['fastNumbersCached'];}['listingMode'](){const _0x216966=this['isEnglish'](),_0x58f62a=!(null!==this['numberingSystem']&&'latn'!==this['numberingSystem']||null!==this['outputCalendar']&&'gregory'!==this['outputCalendar']);return _0x216966&&_0x58f62a?'en':'intl';}['clone'](_0x350be1){return _0x350be1&&0x0!==Object['getOwnPropertyNames'](_0x350be1)['length']?_0x2923a3['create'](_0x350be1['locale']||this['specifiedLocale'],_0x350be1['numberingSystem']||this['numberingSystem'],_0x350be1['outputCalendar']||this['outputCalendar'],validateWeekSettings(_0x350be1['weekSettings'])||this['weekSettings'],_0x350be1['defaultToEN']||!0x1):this;}['redefaultToEN'](_0x4f670a={}){return this['clone']({..._0x4f670a,'defaultToEN':!0x0});}['redefaultToSystem'](_0x4af9cc={}){return this['clone']({..._0x4af9cc,'defaultToEN':!0x1});}['months'](_0x419440,_0x1f9c58=!0x1){return listStuff(this,_0x419440,months,()=>{const _0x28c04d=_0x1f9c58?{'month':_0x419440,'day':'numeric'}:{'month':_0x419440},_0x1466f5=_0x1f9c58?'format':'standalone';return this['monthsCache'][_0x1466f5][_0x419440]||(this['monthsCache'][_0x1466f5][_0x419440]=mapMonths(_0x1c61e9=>this['extract'](_0x1c61e9,_0x28c04d,'month'))),this['monthsCache'][_0x1466f5][_0x419440];});}['weekdays'](_0x1b810d,_0x67e682=!0x1){return listStuff(this,_0x1b810d,_0x5122ac,()=>{const _0x9d0439=_0x67e682?{'weekday':_0x1b810d,'year':'numeric','month':'long','day':'numeric'}:{'weekday':_0x1b810d},_0x2f5055=_0x67e682?'format':'standalone';return this['weekdaysCache'][_0x2f5055][_0x1b810d]||(this['weekdaysCache'][_0x2f5055][_0x1b810d]=_0x3a35c6(_0x1bf133=>this['extract'](_0x1bf133,_0x9d0439,'weekday'))),this['weekdaysCache'][_0x2f5055][_0x1b810d];});}['meridiems'](){return listStuff(this,void 0x0,()=>_0xc73ea9,()=>{if(!this['meridiemCache']){const _0xb8ca3e={'hour':'numeric','hourCycle':'h12'};this['meridiemCache']=[DateTime['utc'](0x7e0,0xb,0xd,0x9),DateTime['utc'](0x7e0,0xb,0xd,0x13)]['map'](_0x4d7587=>this['extract'](_0x4d7587,_0xb8ca3e,'dayperiod'));}return this['meridiemCache'];});}['eras'](_0x193dec){return listStuff(this,_0x193dec,_0x53fc77,()=>{const _0x1780ec={'era':_0x193dec};return this['eraCache'][_0x193dec]||(this['eraCache'][_0x193dec]=[DateTime['utc'](-0x28,0x1,0x1),DateTime['utc'](0x7e1,0x1,0x1)]['map'](_0x4223be=>this['extract'](_0x4223be,_0x1780ec,'era'))),this['eraCache'][_0x193dec];});}['extract'](_0x25dc79,_0x43e418,_0x312eb8){const _0x26d6df=this['dtFormatter'](_0x25dc79,_0x43e418)['formatToParts']()['find'](_0x470e18=>_0x470e18['type']['toLowerCase']()===_0x312eb8);return _0x26d6df?_0x26d6df['value']:null;}['numberFormatter'](_0x2c86a2={}){return new PolyNumberFormatter(this['intl'],_0x2c86a2['forceSimple']||this['fastNumbers'],_0x2c86a2);}['dtFormatter'](_0x1b9e2b,_0x2b2fde={}){return new PolyDateFormatter(_0x1b9e2b,this['intl'],_0x2b2fde);}['relFormatter'](_0x5807f0={}){return new PolyRelFormatter(this['intl'],this['isEnglish'](),_0x5807f0);}['listFormatter'](_0x199028={}){return getCachedLF(this['intl'],_0x199028);}['isEnglish'](){return'en'===this['locale']||'en-us'===this['locale']['toLowerCase']()||getCachedIntResolvedOptions(this['intl'])['locale']['startsWith']('en-us');}['getWeekSettings'](){return this['weekSettings']?this['weekSettings']:_0xd0b9d()?getCachedWeekInfo(this['locale']):fallbackWeekSettings;}['getStartOfWeek'](){return this['getWeekSettings']()['firstDay'];}['getMinDaysInFirstWeek'](){return this['getWeekSettings']()['minimalDays'];}['getWeekendDays'](){return this['getWeekSettings']()['weekend'];}['equals'](_0x2b182f){return this['locale']===_0x2b182f['locale']&&this['numberingSystem']===_0x2b182f['numberingSystem']&&this['outputCalendar']===_0x2b182f['outputCalendar'];}['toString'](){return'Locale('+this['locale']+',\x20'+this['numberingSystem']+',\x20'+this['outputCalendar']+')';}}let singleton=null;class FixedOffsetZone extends _0x474c1a{static get['utcInstance'](){return null===singleton&&(singleton=new FixedOffsetZone(0x0)),singleton;}static['instance'](_0x23b193){return 0x0===_0x23b193?FixedOffsetZone['utcInstance']:new FixedOffsetZone(_0x23b193);}static['parseSpecifier'](_0x423c2a){if(_0x423c2a){const _0x3fcfa5=_0x423c2a['match'](/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(_0x3fcfa5)return new FixedOffsetZone(signedOffset(_0x3fcfa5[0x1],_0x3fcfa5[0x2]));}return null;}constructor(_0x5131ca){super(),this['fixed']=_0x5131ca;}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'](_0x1c8e05,_0x17c69b){return formatOffset(this['fixed'],_0x17c69b);}get['isUniversal'](){return!0x0;}['offset'](){return this['fixed'];}['equals'](_0x48e6d1){return'fixed'===_0x48e6d1['type']&&_0x48e6d1['fixed']===this['fixed'];}get['isValid'](){return!0x0;}}class _0x58ff64 extends _0x474c1a{constructor(_0x7d3d03){super(),this['zoneName']=_0x7d3d03;}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 _0x473b21(_0x50e61d,_0x59a89e){if(_0x47d16a(_0x50e61d)||null===_0x50e61d)return _0x59a89e;if(_0x50e61d instanceof _0x474c1a)return _0x50e61d;if(isString(_0x50e61d)){const _0x152e24=_0x50e61d['toLowerCase']();return'default'===_0x152e24?_0x59a89e:'local'===_0x152e24||'system'===_0x152e24?SystemZone['instance']:'utc'===_0x152e24||'gmt'===_0x152e24?FixedOffsetZone['utcInstance']:FixedOffsetZone['parseSpecifier'](_0x152e24)||_0x1d016['create'](_0x50e61d);}return _0x4fa3ec(_0x50e61d)?FixedOffsetZone['instance'](_0x50e61d):'object'==typeof _0x50e61d&&'offset'in _0x50e61d&&'function'==typeof _0x50e61d['offset']?_0x50e61d:new _0x58ff64(_0x50e61d);}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]},_0x2db025=numberingSystems['hanidec']['replace'](/[\[|\]]/g,'')['split']('');function parseDigits(_0x39220a){let _0x4586f4=parseInt(_0x39220a,0xa);if(isNaN(_0x4586f4)){_0x4586f4='';for(let _0x35416c=0x0;_0x35416c<_0x39220a['length'];_0x35416c++){const _0x30ae5f=_0x39220a['charCodeAt'](_0x35416c);if(-0x1!==_0x39220a[_0x35416c]['search'](numberingSystems['hanidec']))_0x4586f4+=_0x2db025['indexOf'](_0x39220a[_0x35416c]);else for(const _0x3c4cca in numberingSystemsUTF16){const [_0x597449,_0x5481b6]=numberingSystemsUTF16[_0x3c4cca];_0x30ae5f>=_0x597449&&_0x30ae5f<=_0x5481b6&&(_0x4586f4+=_0x30ae5f-_0x597449);}}return parseInt(_0x4586f4,0xa);}return _0x4586f4;}const digitRegexCache=new Map();function resetDigitRegexCache(){digitRegexCache['clear']();}function digitRegex({numberingSystem:_0xa4f918},_0x1d76c1=''){const _0x472faa=_0xa4f918||'latn';let _0x1d40e5=digitRegexCache['get'](_0x472faa);void 0x0===_0x1d40e5&&(_0x1d40e5=new Map(),digitRegexCache['set'](_0x472faa,_0x1d40e5));let _0x172d88=_0x1d40e5['get'](_0x1d76c1);return void 0x0===_0x172d88&&(_0x172d88=new RegExp(''+numberingSystems[_0x472faa]+_0x1d76c1),_0x1d40e5['set'](_0x1d76c1,_0x172d88)),_0x172d88;}let _0xc293cf=()=>Date['now'](),defaultZone='system',defaultLocale=null,defaultNumberingSystem=null,defaultOutputCalendar=null,twoDigitCutoffYear=0x3c,throwOnInvalid,defaultWeekSettings=null;class Settings{static get['now'](){return _0xc293cf;}static set['now'](_0x148d2d){_0xc293cf=_0x148d2d;}static set['defaultZone'](_0x3e7d1a){defaultZone=_0x3e7d1a;}static get['defaultZone'](){return _0x473b21(defaultZone,SystemZone['instance']);}static get['defaultLocale'](){return defaultLocale;}static set['defaultLocale'](_0x4f1c64){defaultLocale=_0x4f1c64;}static get['defaultNumberingSystem'](){return defaultNumberingSystem;}static set['defaultNumberingSystem'](_0x336e3d){defaultNumberingSystem=_0x336e3d;}static get['defaultOutputCalendar'](){return defaultOutputCalendar;}static set['defaultOutputCalendar'](_0x196ac6){defaultOutputCalendar=_0x196ac6;}static get['defaultWeekSettings'](){return defaultWeekSettings;}static set['defaultWeekSettings'](_0x375d8f){defaultWeekSettings=validateWeekSettings(_0x375d8f);}static get['twoDigitCutoffYear'](){return twoDigitCutoffYear;}static set['twoDigitCutoffYear'](_0x31af2e){twoDigitCutoffYear=_0x31af2e%0x64;}static get['throwOnInvalid'](){return throwOnInvalid;}static set['throwOnInvalid'](t){throwOnInvalid=t;}static['resetCaches'](){_0x2923a3['resetCache'](),_0x1d016['resetCache'](),DateTime['resetCache'](),resetDigitRegexCache();}}class _0x20838e{constructor(_0x2f5624,_0x81d92f){this['reason']=_0x2f5624,this['explanation']=_0x81d92f;}['toMessage'](){return this['explanation']?this['reason']+':\x20'+this['explanation']:this['reason'];}}const _0x3981b7=[0x0,0x1f,0x3b,0x5a,0x78,0x97,0xb5,0xd4,0xf3,0x111,0x130,0x14e],_0x149ad9=[0x0,0x1f,0x3c,0x5b,0x79,0x98,0xb6,0xd5,0xf4,0x112,0x131,0x14f];function unitOutOfRange(_0x49717a,_0x221cae){return new _0x20838e('unit\x20out\x20of\x20range','you\x20specified\x20'+_0x221cae+'\x20(of\x20type\x20'+typeof _0x221cae+')\x20as\x20a\x20'+_0x49717a+',\x20which\x20is\x20invalid');}function _0x3608f0(_0x105c7d,_0x39d44e,_0x5b1cd8){const _0x1c3973=new Date(Date['UTC'](_0x105c7d,_0x39d44e-0x1,_0x5b1cd8));_0x105c7d<0x64&&_0x105c7d>=0x0&&_0x1c3973['setUTCFullYear'](_0x1c3973['getUTCFullYear']()-0x76c);const _0x28ff6c=_0x1c3973['getUTCDay']();return 0x0===_0x28ff6c?0x7:_0x28ff6c;}function computeOrdinal(_0x54c5b0,_0x4342a5,_0x140fca){return _0x140fca+(_0x8a5b75(_0x54c5b0)?_0x149ad9:_0x3981b7)[_0x4342a5-0x1];}function uncomputeOrdinal(_0x3c47bf,_0x5be353){const _0x24881d=_0x8a5b75(_0x3c47bf)?_0x149ad9:_0x3981b7,_0x56b897=_0x24881d['findIndex'](_0x61b112=>_0x61b112<_0x5be353);return{'month':_0x56b897+0x1,'day':_0x5be353-_0x24881d[_0x56b897]};}function _0x463a4f(_0x55b4cb,_0x586864){return(_0x55b4cb-_0x586864+0x7)%0x7+0x1;}function _0x2176df(_0xc5bb7d,_0x1bdbd2=0x4,_0xce2af=0x1){const {year:_0x494fa6,month:_0x1a95df,day:_0x2b809b}=_0xc5bb7d,_0x4c023b=computeOrdinal(_0x494fa6,_0x1a95df,_0x2b809b),_0x1d328a=_0x463a4f(_0x3608f0(_0x494fa6,_0x1a95df,_0x2b809b),_0xce2af);let _0xb80b97,_0x301b4e=Math['floor']((_0x4c023b-_0x1d328a+0xe-_0x1bdbd2)/0x7);return _0x301b4e<0x1?(_0xb80b97=_0x494fa6-0x1,_0x301b4e=_0x10deed(_0xb80b97,_0x1bdbd2,_0xce2af)):_0x301b4e>_0x10deed(_0x494fa6,_0x1bdbd2,_0xce2af)?(_0xb80b97=_0x494fa6+0x1,_0x301b4e=0x1):_0xb80b97=_0x494fa6,{'weekYear':_0xb80b97,'weekNumber':_0x301b4e,'weekday':_0x1d328a,...timeObject(_0xc5bb7d)};}function _0xf3e40e(_0x1c3f2b,_0x2f2993=0x4,_0x4d3113=0x1){const {weekYear:_0x56d875,weekNumber:_0x20d2f6,weekday:_0xf2e63d}=_0x1c3f2b,_0x3e10b2=_0x463a4f(_0x3608f0(_0x56d875,0x1,_0x2f2993),_0x4d3113),_0x249f54=_0x253d61(_0x56d875);let _0x5b5548,_0x47402d=0x7*_0x20d2f6+_0xf2e63d-_0x3e10b2-0x7+_0x2f2993;_0x47402d<0x1?(_0x5b5548=_0x56d875-0x1,_0x47402d+=_0x253d61(_0x5b5548)):_0x47402d>_0x249f54?(_0x5b5548=_0x56d875+0x1,_0x47402d-=_0x253d61(_0x56d875)):_0x5b5548=_0x56d875;const {month:_0x132f8c,day:_0x59a841}=uncomputeOrdinal(_0x5b5548,_0x47402d);return{'year':_0x5b5548,'month':_0x132f8c,'day':_0x59a841,...timeObject(_0x1c3f2b)};}function _0x5a4859(_0x46a9e3){const {year:_0xdfeef9,month:_0x77de8,day:_0x506892}=_0x46a9e3;return{'year':_0xdfeef9,'ordinal':computeOrdinal(_0xdfeef9,_0x77de8,_0x506892),...timeObject(_0x46a9e3)};}function _0xffaf14(_0x3d07ac){const {year:_0x350a53,ordinal:_0x13a004}=_0x3d07ac,{month:_0x1a1b5d,day:_0x559d99}=uncomputeOrdinal(_0x350a53,_0x13a004);return{'year':_0x350a53,'month':_0x1a1b5d,'day':_0x559d99,...timeObject(_0x3d07ac)};}function _0x3c57b6(_0xa86d2b,_0x13681f){if(!_0x47d16a(_0xa86d2b['localWeekday'])||!_0x47d16a(_0xa86d2b['localWeekNumber'])||!_0x47d16a(_0xa86d2b['localWeekYear'])){if(!_0x47d16a(_0xa86d2b['weekday'])||!_0x47d16a(_0xa86d2b['weekNumber'])||!_0x47d16a(_0xa86d2b['weekYear']))throw new ConflictingSpecificationError('Cannot\x20mix\x20locale-based\x20week\x20fields\x20with\x20ISO-based\x20week\x20fields');return _0x47d16a(_0xa86d2b['localWeekday'])||(_0xa86d2b['weekday']=_0xa86d2b['localWeekday']),_0x47d16a(_0xa86d2b['localWeekNumber'])||(_0xa86d2b['weekNumber']=_0xa86d2b['localWeekNumber']),_0x47d16a(_0xa86d2b['localWeekYear'])||(_0xa86d2b['weekYear']=_0xa86d2b['localWeekYear']),delete _0xa86d2b['localWeekday'],delete _0xa86d2b['localWeekNumber'],delete _0xa86d2b['localWeekYear'],{'minDaysInFirstWeek':_0x13681f['getMinDaysInFirstWeek'](),'startOfWeek':_0x13681f['getStartOfWeek']()};}return{'minDaysInFirstWeek':0x4,'startOfWeek':0x1};}function hasInvalidWeekData(_0x4520f1,_0x373160=0x4,_0x98dc3=0x1){const _0x1f64bf=isInteger(_0x4520f1['weekYear']),_0x480188=integerBetween(_0x4520f1['weekNumber'],0x1,_0x10deed(_0x4520f1['weekYear'],_0x373160,_0x98dc3)),_0x12f57b=integerBetween(_0x4520f1['weekday'],0x1,0x7);return _0x1f64bf?_0x480188?!_0x12f57b&&unitOutOfRange('weekday',_0x4520f1['weekday']):unitOutOfRange('week',_0x4520f1['weekNumber']):unitOutOfRange('weekYear',_0x4520f1['weekYear']);}function hasInvalidOrdinalData(_0x525f42){const _0x2cf5d6=isInteger(_0x525f42['year']),_0x32688b=integerBetween(_0x525f42['ordinal'],0x1,_0x253d61(_0x525f42['year']));return _0x2cf5d6?!_0x32688b&&unitOutOfRange('ordinal',_0x525f42['ordinal']):unitOutOfRange('year',_0x525f42['year']);}function hasInvalidGregorianData(_0x39494b){const _0x2c1651=isInteger(_0x39494b['year']),_0x1ae595=integerBetween(_0x39494b['month'],0x1,0xc),_0x4a5e69=integerBetween(_0x39494b['day'],0x1,daysInMonth(_0x39494b['year'],_0x39494b['month']));return _0x2c1651?_0x1ae595?!_0x4a5e69&&unitOutOfRange('day',_0x39494b['day']):unitOutOfRange('month',_0x39494b['month']):unitOutOfRange('year',_0x39494b['year']);}function hasInvalidTimeData(_0x4d4832){const {hour:_0x22e902,minute:_0x45b8f3,second:_0x41f2bc,millisecond:_0x3fac02}=_0x4d4832,_0x2241ae=integerBetween(_0x22e902,0x0,0x17)||0x18===_0x22e902&&0x0===_0x45b8f3&&0x0===_0x41f2bc&&0x0===_0x3fac02,_0x57ac63=integerBetween(_0x45b8f3,0x0,0x3b),_0x3bf585=integerBetween(_0x41f2bc,0x0,0x3b),_0x392d06=integerBetween(_0x3fac02,0x0,0x3e7);return _0x2241ae?_0x57ac63?_0x3bf585?!_0x392d06&&unitOutOfRange('millisecond',_0x3fac02):unitOutOfRange('second',_0x41f2bc):unitOutOfRange('minute',_0x45b8f3):unitOutOfRange('hour',_0x22e902);}function _0x47d16a(_0x4985ba){return void 0x0===_0x4985ba;}function _0x4fa3ec(_0x4db6f2){return'number'==typeof _0x4db6f2;}function isInteger(_0x3aa235){return'number'==typeof _0x3aa235&&_0x3aa235%0x1==0x0;}function isString(_0xc288df){return'string'==typeof _0xc288df;}function isDate(_0x2e2ce3){return'[object\x20Date]'===Object['prototype']['toString']['call'](_0x2e2ce3);}function hasRelative(){try{return'undefined'!=typeof Intl&&!!Intl['RelativeTimeFormat'];}catch(_0x153178){return!0x1;}}function _0xd0b9d(){try{return'undefined'!=typeof Intl&&!!Intl['Locale']&&('weekInfo'in Intl['Locale']['prototype']||'getWeekInfo'in Intl['Locale']['prototype']);}catch(_0x164d97){return!0x1;}}function _0x471bcc(_0xa4160d){return Array['isArray'](_0xa4160d)?_0xa4160d:[_0xa4160d];}function bestBy(_0x439ca9,_0x59d0d3,_0x18aa1b){if(0x0!==_0x439ca9['length'])return _0x439ca9['reduce']((_0x59aa67,_0x236a61)=>{const _0x4d3049=[_0x59d0d3(_0x236a61),_0x236a61];return _0x59aa67&&_0x18aa1b(_0x59aa67[0x0],_0x4d3049[0x0])===_0x59aa67[0x0]?_0x59aa67:_0x4d3049;},null)[0x1];}function _0x1602de(_0x18bd48,_0x646f16){return _0x646f16['reduce']((_0xff60da,_0x42ff04)=>(_0xff60da[_0x42ff04]=_0x18bd48[_0x42ff04],_0xff60da),{});}function hasOwnProperty(_0x2eeed2,_0xe2263d){return Object['prototype']['hasOwnProperty']['call'](_0x2eeed2,_0xe2263d);}function validateWeekSettings(_0x3f0bc2){if(null==_0x3f0bc2)return null;if('object'!=typeof _0x3f0bc2)throw new InvalidArgumentError('Week\x20settings\x20must\x20be\x20an\x20object');if(!integerBetween(_0x3f0bc2['firstDay'],0x1,0x7)||!integerBetween(_0x3f0bc2['minimalDays'],0x1,0x7)||!Array['isArray'](_0x3f0bc2['weekend'])||_0x3f0bc2['weekend']['some'](_0x3abe27=>!integerBetween(_0x3abe27,0x1,0x7)))throw new InvalidArgumentError('Invalid\x20week\x20settings');return{'firstDay':_0x3f0bc2['firstDay'],'minimalDays':_0x3f0bc2['minimalDays'],'weekend':Array['from'](_0x3f0bc2['weekend'])};}function integerBetween(_0x521c83,_0x52db01,_0x1a6f9c){return isInteger(_0x521c83)&&_0x521c83>=_0x52db01&&_0x521c83<=_0x1a6f9c;}function _0x5cb121(_0x42df82,_0x420afa){return _0x42df82-_0x420afa*Math['floor'](_0x42df82/_0x420afa);}function padStart(_0x3aaca5,_0x8e80a8=0x2){let _0xa27154;return _0xa27154=_0x3aaca5<0x0?'-'+(''+-_0x3aaca5)['padStart'](_0x8e80a8,'0'):(''+_0x3aaca5)['padStart'](_0x8e80a8,'0'),_0xa27154;}function parseInteger(_0x2d3a89){return _0x47d16a(_0x2d3a89)||null===_0x2d3a89||''===_0x2d3a89?void 0x0:parseInt(_0x2d3a89,0xa);}function parseFloating(_0x7320b6){return _0x47d16a(_0x7320b6)||null===_0x7320b6||''===_0x7320b6?void 0x0:parseFloat(_0x7320b6);}function _0x599f9d(_0x5eef85){if(!_0x47d16a(_0x5eef85)&&null!==_0x5eef85&&''!==_0x5eef85){const _0x39a1e6=0x3e8*parseFloat('0.'+_0x5eef85);return Math['floor'](_0x39a1e6);}}function _0x4cba8c(_0x459a8c,_0xcc53b5,_0x541946=!0x1){const _0x262b4c=0xa**_0xcc53b5;return(_0x541946?Math['trunc']:Math['round'])(_0x459a8c*_0x262b4c)/_0x262b4c;}function _0x8a5b75(_0x21d0b3){return _0x21d0b3%0x4==0x0&&(_0x21d0b3%0x64!=0x0||_0x21d0b3%0x190==0x0);}function _0x253d61(_0x117001){return _0x8a5b75(_0x117001)?0x16e:0x16d;}function daysInMonth(_0x5564aa,_0x539b25){const _0x1cabfa=_0x5cb121(_0x539b25-0x1,0xc)+0x1;return 0x2===_0x1cabfa?_0x8a5b75(_0x5564aa+(_0x539b25-_0x1cabfa)/0xc)?0x1d:0x1c:[0x1f,null,0x1f,0x1e,0x1f,0x1e,0x1f,0x1f,0x1e,0x1f,0x1e,0x1f][_0x1cabfa-0x1];}function _0x129853(_0x2be6b0){let _0x4d328d=Date['UTC'](_0x2be6b0['year'],_0x2be6b0['month']-0x1,_0x2be6b0['day'],_0x2be6b0['hour'],_0x2be6b0['minute'],_0x2be6b0['second'],_0x2be6b0['millisecond']);return _0x2be6b0['year']<0x64&&_0x2be6b0['year']>=0x0&&(_0x4d328d=new Date(_0x4d328d),_0x4d328d['setUTCFullYear'](_0x2be6b0['year'],_0x2be6b0['month']-0x1,_0x2be6b0['day'])),+_0x4d328d;}function firstWeekOffset(_0x2d12db,_0x425f3e,_0x551ba4){return-_0x463a4f(_0x3608f0(_0x2d12db,0x1,_0x425f3e),_0x551ba4)+_0x425f3e-0x1;}function _0x10deed(_0x1e20e6,_0xa15604=0x4,_0x2a345b=0x1){const _0x206fb4=firstWeekOffset(_0x1e20e6,_0xa15604,_0x2a345b),_0x4b6f65=firstWeekOffset(_0x1e20e6+0x1,_0xa15604,_0x2a345b);return(_0x253d61(_0x1e20e6)-_0x206fb4+_0x4b6f65)/0x7;}function untruncateYear(_0x11f89e){return _0x11f89e>0x63?_0x11f89e:_0x11f89e>Settings['twoDigitCutoffYear']?0x76c+_0x11f89e:0x7d0+_0x11f89e;}function _0x1f471d(_0x4df0ec,_0x1d6446,_0x39cd68,_0x1aad2c=null){const _0x3efb8a=new Date(_0x4df0ec),_0x332c49={'hourCycle':'h23','year':'numeric','month':'2-digit','day':'2-digit','hour':'2-digit','minute':'2-digit'};_0x1aad2c&&(_0x332c49['timeZone']=_0x1aad2c);const _0x30662d={'timeZoneName':_0x1d6446,..._0x332c49},_0x3af1d2=new Intl['DateTimeFormat'](_0x39cd68,_0x30662d)['formatToParts'](_0x3efb8a)['find'](_0x24943a=>'timezonename'===_0x24943a['type']['toLowerCase']());return _0x3af1d2?_0x3af1d2['value']:null;}function signedOffset(_0x2b5aec,_0x5bde6b){let _0x5a843f=parseInt(_0x2b5aec,0xa);Number['isNaN'](_0x5a843f)&&(_0x5a843f=0x0);const _0xeb440f=parseInt(_0x5bde6b,0xa)||0x0;return 0x3c*_0x5a843f+(_0x5a843f<0x0||Object['is'](_0x5a843f,-0x0)?-_0xeb440f:_0xeb440f);}function _0x1f890e(_0x49aa15){const _0x5191fa=Number(_0x49aa15);if('boolean'==typeof _0x49aa15||''===_0x49aa15||Number['isNaN'](_0x5191fa))throw new InvalidArgumentError('Invalid\x20unit\x20value\x20'+_0x49aa15);return _0x5191fa;}function normalizeObject(_0x3f90d6,_0x45e671){const _0x514f8c={};for(const _0xd873f9 in _0x3f90d6)if(hasOwnProperty(_0x3f90d6,_0xd873f9)){const _0x132b86=_0x3f90d6[_0xd873f9];if(null==_0x132b86)continue;_0x514f8c[_0x45e671(_0xd873f9)]=_0x1f890e(_0x132b86);}return _0x514f8c;}function formatOffset(_0x26d743,_0x3eb8a4){const _0x473a17=Math['trunc'](Math['abs'](_0x26d743/0x3c)),_0x13a463=Math['trunc'](Math['abs'](_0x26d743%0x3c)),_0x56f613=_0x26d743>=0x0?'+':'-';switch(_0x3eb8a4){case'short':return''+_0x56f613+padStart(_0x473a17,0x2)+':'+padStart(_0x13a463,0x2);case'narrow':return''+_0x56f613+_0x473a17+(_0x13a463>0x0?':'+_0x13a463:'');case'techie':return''+_0x56f613+padStart(_0x473a17,0x2)+padStart(_0x13a463,0x2);default:throw new RangeError('Value\x20format\x20'+_0x3eb8a4+'\x20is\x20out\x20of\x20range\x20for\x20property\x20format');}}function timeObject(_0x2aef99){return _0x1602de(_0x2aef99,['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(_0x5e35df){switch(_0x5e35df){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 _0xe5fe30=['Monday','Tuesday','Wednesday','Thursday','Friday','Saturday','Sunday'],weekdaysShort=['Mon','Tue','Wed','Thu','Fri','Sat','Sun'],_0x1a37b8=['M','T','W','T','F','S','S'];function _0x5122ac(_0x5429ce){switch(_0x5429ce){case'narrow':return[..._0x1a37b8];case'short':return[...weekdaysShort];case'long':return[..._0xe5fe30];case'numeric':return['1','2','3','4','5','6','7'];default:return null;}}const _0xc73ea9=['AM','PM'],_0x5a9174=['Before\x20Christ','Anno\x20Domini'],erasShort=['BC','AD'],_0x388cc7=['B','A'];function _0x53fc77(_0x19f2c4){switch(_0x19f2c4){case'narrow':return[..._0x388cc7];case'short':return[...erasShort];case'long':return[..._0x5a9174];default:return null;}}function meridiemForDateTime(_0x2ad810){return _0xc73ea9[_0x2ad810['hour']<0xc?0x0:0x1];}function weekdayForDateTime(_0x8c0a55,_0x5ee846){return _0x5122ac(_0x5ee846)[_0x8c0a55['weekday']-0x1];}function monthForDateTime(_0x47f9a1,_0xdd8dc4){return months(_0xdd8dc4)[_0x47f9a1['month']-0x1];}function eraForDateTime(_0x2373c9,_0x4677b3){return _0x53fc77(_0x4677b3)[_0x2373c9['year']<0x0?0x0:0x1];}function formatRelativeTime(_0x43cf22,_0x31c871,_0x5a26b0='always',_0x3975df=!0x1){const _0x4fc92e={'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.']},_0x496ef9=-0x1===['hours','minutes','seconds']['indexOf'](_0x43cf22);if('auto'===_0x5a26b0&&_0x496ef9){const _0x20406d='days'===_0x43cf22;switch(_0x31c871){case 0x1:return _0x20406d?'tomorrow':'next\x20'+_0x4fc92e[_0x43cf22][0x0];case-0x1:return _0x20406d?'yesterday':'last\x20'+_0x4fc92e[_0x43cf22][0x0];case 0x0:return _0x20406d?'today':'this\x20'+_0x4fc92e[_0x43cf22][0x0];}}const _0x28cd29=Object['is'](_0x31c871,-0x0)||_0x31c871<0x0,_0x139bdf=Math['abs'](_0x31c871),_0x52516c=0x1===_0x139bdf,_0x40bf56=_0x4fc92e[_0x43cf22],_0x45f20a=_0x3975df?_0x52516c?_0x40bf56[0x1]:_0x40bf56[0x2]||_0x40bf56[0x1]:_0x52516c?_0x4fc92e[_0x43cf22][0x0]:_0x43cf22;return _0x28cd29?_0x139bdf+'\x20'+_0x45f20a+'\x20ago':'in\x20'+_0x139bdf+'\x20'+_0x45f20a;}function stringifyTokens(_0x9d790d,_0x583520){let _0x3618d6='';for(const _0x3035f1 of _0x9d790d)_0x3035f1['literal']?_0x3618d6+=_0x3035f1['val']:_0x3618d6+=_0x583520(_0x3035f1['val']);return _0x3618d6;}const macroTokenToFormatOpts={'D':_0x3101fd,'DD':_0x124798,'DDD':_0x48423b,'DDDD':_0x51bd44,'t':_0x58e331,'tt':_0x30c292,'ttt':_0x59df18,'tttt':_0x9906ab,'T':_0x2d72c6,'TT':_0xefe60c,'TTT':_0x3deccc,'TTTT':_0x532afd,'f':_0x2d02a7,'ff':_0x82c1f5,'fff':_0xd55ca7,'ffff':_0x187b57,'F':_0x131a30,'FF':_0x4e7b0c,'FFF':_0x34e799,'FFFF':_0xbc9c3d};class Formatter{static['create'](_0x588ad1,_0x1093c3={}){return new Formatter(_0x588ad1,_0x1093c3);}static['parseFormat'](_0x33c5db){let _0x275fed=null,_0x1cd19c='',_0x483501=!0x1;const _0x3e8a6b=[];for(let _0x42e901=0x0;_0x42e901<_0x33c5db['length'];_0x42e901++){const _0x4610bd=_0x33c5db['charAt'](_0x42e901);'\x27'===_0x4610bd?(_0x1cd19c['length']>0x0&&_0x3e8a6b['push']({'literal':_0x483501||/^\s+$/['test'](_0x1cd19c),'val':_0x1cd19c}),_0x275fed=null,_0x1cd19c='',_0x483501=!_0x483501):_0x483501||_0x4610bd===_0x275fed?_0x1cd19c+=_0x4610bd:(_0x1cd19c['length']>0x0&&_0x3e8a6b['push']({'literal':/^\s+$/['test'](_0x1cd19c),'val':_0x1cd19c}),_0x1cd19c=_0x4610bd,_0x275fed=_0x4610bd);}return _0x1cd19c['length']>0x0&&_0x3e8a6b['push']({'literal':_0x483501||/^\s+$/['test'](_0x1cd19c),'val':_0x1cd19c}),_0x3e8a6b;}static['macroTokenToFormatOpts'](_0x4e0122){return macroTokenToFormatOpts[_0x4e0122];}constructor(_0xd61b6a,_0x493f5a){this['opts']=_0x493f5a,this['loc']=_0xd61b6a,this['systemLoc']=null;}['formatWithSystemDefault'](_0x45b4a9,_0x1ac972){return null===this['systemLoc']&&(this['systemLoc']=this['loc']['redefaultToSystem']()),this['systemLoc']['dtFormatter'](_0x45b4a9,{...this['opts'],..._0x1ac972})['format']();}['dtFormatter'](_0x2d47d6,_0x2dac02={}){return this['loc']['dtFormatter'](_0x2d47d6,{...this['opts'],..._0x2dac02});}['formatDateTime'](_0xed8e5b,_0x42e513){return this['dtFormatter'](_0xed8e5b,_0x42e513)['format']();}['formatDateTimeParts'](_0x38d6f0,_0x29a1e7){return this['dtFormatter'](_0x38d6f0,_0x29a1e7)['formatToParts']();}['formatInterval'](_0x34f579,_0x41df2b){return this['dtFormatter'](_0x34f579['start'],_0x41df2b)['dtf']['formatRange'](_0x34f579['start']['toJSDate'](),_0x34f579['end']['toJSDate']());}['resolvedOptions'](_0x41c2b6,_0x2ed617){return this['dtFormatter'](_0x41c2b6,_0x2ed617)['resolvedOptions']();}['num'](_0x37da4b,_0x58f5de=0x0){if(this['opts']['forceSimple'])return padStart(_0x37da4b,_0x58f5de);const _0x26b722={...this['opts']};return _0x58f5de>0x0&&(_0x26b722['padTo']=_0x58f5de),this['loc']['numberFormatter'](_0x26b722)['format'](_0x37da4b);}['formatDateTimeFromString'](_0x2968bb,_0x5e9f82){const _0x568388='en'===this['loc']['listingMode'](),_0x2ff753=this['loc']['outputCalendar']&&'gregory'!==this['loc']['outputCalendar'],_0x99724f=(_0x50676e,_0x53988f)=>this['loc']['extract'](_0x2968bb,_0x50676e,_0x53988f),_0x22fb11=_0x170ae2=>_0x2968bb['isOffsetFixed']&&0x0===_0x2968bb['offset']&&_0x170ae2['allowZ']?'Z':_0x2968bb['isValid']?_0x2968bb['zone']['formatOffset'](_0x2968bb['ts'],_0x170ae2['format']):'',_0x11e294=(_0x1b5e9c,_0x365988)=>_0x568388?monthForDateTime(_0x2968bb,_0x1b5e9c):_0x99724f(_0x365988?{'month':_0x1b5e9c}:{'month':_0x1b5e9c,'day':'numeric'},'month'),_0x526521=(_0x48fb9c,_0x59df9e)=>_0x568388?weekdayForDateTime(_0x2968bb,_0x48fb9c):_0x99724f(_0x59df9e?{'weekday':_0x48fb9c}:{'weekday':_0x48fb9c,'month':'long','day':'numeric'},'weekday'),_0x2cad3e=_0x184fc7=>{const _0x10e853=Formatter['macroTokenToFormatOpts'](_0x184fc7);return _0x10e853?this['formatWithSystemDefault'](_0x2968bb,_0x10e853):_0x184fc7;},_0x2922c0=_0x2ba0fc=>_0x568388?eraForDateTime(_0x2968bb,_0x2ba0fc):_0x99724f({'era':_0x2ba0fc},'era');return stringifyTokens(Formatter['parseFormat'](_0x5e9f82),_0x2bd4f4=>{switch(_0x2bd4f4){case'S':return this['num'](_0x2968bb['millisecond']);case'u':case'SSS':return this['num'](_0x2968bb['millisecond'],0x3);case's':return this['num'](_0x2968bb['second']);case'ss':return this['num'](_0x2968bb['second'],0x2);case'uu':return this['num'](Math['floor'](_0x2968bb['millisecond']/0xa),0x2);case'uuu':return this['num'](Math['floor'](_0x2968bb['millisecond']/0x64));case'm':return this['num'](_0x2968bb['minute']);case'mm':return this['num'](_0x2968bb['minute'],0x2);case'h':return this['num'](_0x2968bb['hour']%0xc==0x0?0xc:_0x2968bb['hour']%0xc);case'hh':return this['num'](_0x2968bb['hour']%0xc==0x0?0xc:_0x2968bb['hour']%0xc,0x2);case'H':return this['num'](_0x2968bb['hour']);case'HH':return this['num'](_0x2968bb['hour'],0x2);case'Z':return _0x22fb11({'format':'narrow','allowZ':this['opts']['allowZ']});case'ZZ':return _0x22fb11({'format':'short','allowZ':this['opts']['allowZ']});case'ZZZ':return _0x22fb11({'format':'techie','allowZ':this['opts']['allowZ']});case'ZZZZ':return _0x2968bb['zone']['offsetName'](_0x2968bb['ts'],{'format':'short','locale':this['loc']['locale']});case'ZZZZZ':return _0x2968bb['zone']['offsetName'](_0x2968bb['ts'],{'format':'long','locale':this['loc']['locale']});case'z':return _0x2968bb['zoneName'];case'a':return _0x568388?meridiemForDateTime(_0x2968bb):_0x99724f({'hour':'numeric','hourCycle':'h12'},'dayperiod');case'd':return _0x2ff753?_0x99724f({'day':'numeric'},'day'):this['num'](_0x2968bb['day']);case'dd':return _0x2ff753?_0x99724f({'day':'2-digit'},'day'):this['num'](_0x2968bb['day'],0x2);case'c':case'E':return this['num'](_0x2968bb['weekday']);case'ccc':return _0x526521('short',!0x0);case'cccc':return _0x526521('long',!0x0);case'ccccc':return _0x526521('narrow',!0x0);case'EEE':return _0x526521('short',!0x1);case'EEEE':return _0x526521('long',!0x1);case'EEEEE':return _0x526521('narrow',!0x1);case'L':return _0x2ff753?_0x99724f({'month':'numeric','day':'numeric'},'month'):this['num'](_0x2968bb['month']);case'LL':return _0x2ff753?_0x99724f({'month':'2-digit','day':'numeric'},'month'):this['num'](_0x2968bb['month'],0x2);case'LLL':return _0x11e294('short',!0x0);case'LLLL':return _0x11e294('long',!0x0);case'LLLLL':return _0x11e294('narrow',!0x0);case'M':return _0x2ff753?_0x99724f({'month':'numeric'},'month'):this['num'](_0x2968bb['month']);case'MM':return _0x2ff753?_0x99724f({'month':'2-digit'},'month'):this['num'](_0x2968bb['month'],0x2);case'MMM':return _0x11e294('short',!0x1);case'MMMM':return _0x11e294('long',!0x1);case'MMMMM':return _0x11e294('narrow',!0x1);case'y':return _0x2ff753?_0x99724f({'year':'numeric'},'year'):this['num'](_0x2968bb['year']);case'yy':return _0x2ff753?_0x99724f({'year':'2-digit'},'year'):this['num'](_0x2968bb['year']['toString']()['slice'](-0x2),0x2);case'yyyy':return _0x2ff753?_0x99724f({'year':'numeric'},'year'):this['num'](_0x2968bb['year'],0x4);case'yyyyyy':return _0x2ff753?_0x99724f({'year':'numeric'},'year'):this['num'](_0x2968bb['year'],0x6);case'G':return _0x2922c0('short');case'GG':return _0x2922c0('long');case'GGGGG':return _0x2922c0('narrow');case'kk':return this['num'](_0x2968bb['weekYear']['toString']()['slice'](-0x2),0x2);case'kkkk':return this['num'](_0x2968bb['weekYear'],0x4);case'W':return this['num'](_0x2968bb['weekNumber']);case'WW':return this['num'](_0x2968bb['weekNumber'],0x2);case'n':return this['num'](_0x2968bb['localWeekNumber']);case'nn':return this['num'](_0x2968bb['localWeekNumber'],0x2);case'ii':return this['num'](_0x2968bb['localWeekYear']['toString']()['slice'](-0x2),0x2);case'iiii':return this['num'](_0x2968bb['localWeekYear'],0x4);case'o':return this['num'](_0x2968bb['ordinal']);case'ooo':return this['num'](_0x2968bb['ordinal'],0x3);case'q':return this['num'](_0x2968bb['quarter']);case'qq':return this['num'](_0x2968bb['quarter'],0x2);case'X':return this['num'](Math['floor'](_0x2968bb['ts']/0x3e8));case'x':return this['num'](_0x2968bb['ts']);default:return _0x2cad3e(_0x2bd4f4);}});}['formatDurationFromString'](_0x2d4ea2,_0x283cc3){const _0x4e4273=_0x327a63=>{switch(_0x327a63[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;}},_0xdbdea0=Formatter['parseFormat'](_0x283cc3),_0x484bf6=_0xdbdea0['reduce']((_0x1e13a1,{literal:_0x9156e8,val:_0x2bafe5})=>_0x9156e8?_0x1e13a1:_0x1e13a1['concat'](_0x2bafe5),[]),_0x47cc97=_0x2d4ea2['shiftTo'](..._0x484bf6['map'](_0x4e4273)['filter'](t=>t));return stringifyTokens(_0xdbdea0,(_0x488f4d=>_0x137c1=>{const _0x2e2929=_0x4e4273(_0x137c1);return _0x2e2929?this['num'](_0x488f4d['get'](_0x2e2929),_0x137c1['length']):_0x137c1;})(_0x47cc97));}}const _0x4784e1=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function _0x575054(..._0x852c55){const _0x27363f=_0x852c55['reduce']((_0x159250,_0x2fe503)=>_0x159250+_0x2fe503['source'],'');return RegExp('^'+_0x27363f+'$');}function combineExtractors(..._0x25e36d){return _0x483d89=>_0x25e36d['reduce'](([_0x9d115a,_0x4bcfdd,_0x26f0be],_0x2fc48f)=>{const [_0x5d44f1,_0x59b962,_0x537ec2]=_0x2fc48f(_0x483d89,_0x26f0be);return[{..._0x9d115a,..._0x5d44f1},_0x59b962||_0x4bcfdd,_0x537ec2];},[{},null,0x1])['slice'](0x0,0x2);}function _0x243f52(_0x45a697,..._0x5a3322){if(null==_0x45a697)return[null,null];for(const [_0x42ea7f,_0x87c84b]of _0x5a3322){const _0x754cb5=_0x42ea7f['exec'](_0x45a697);if(_0x754cb5)return _0x87c84b(_0x754cb5);}return[null,null];}function _0x3cdafa(..._0x2ad681){return(_0x40537b,_0x1c43dd)=>{const _0x19801e={};let _0x594b8c;for(_0x594b8c=0x0;_0x594b8c<_0x2ad681['length'];_0x594b8c++)_0x19801e[_0x2ad681[_0x594b8c]]=parseInteger(_0x40537b[_0x1c43dd+_0x594b8c]);return[_0x19801e,null,_0x1c43dd+_0x594b8c];};}const offsetRegex=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,isoExtendedZone='(?:'+offsetRegex['source']+'?(?:\x5c[('+_0x4784e1['source']+')\x5c])?)?',_0x2d4e86=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,_0x5a9917=RegExp(''+_0x2d4e86['source']+isoExtendedZone),isoTimeExtensionRegex=RegExp('(?:T'+_0x5a9917['source']+')?'),_0x295c26=/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,_0x54f9b6=/(\d{4})-?W(\d\d)(?:-?(\d))?/,_0x108ab5=/(\d{4})-?(\d{3})/,extractISOWeekData=_0x3cdafa('weekYear','weekNumber','weekDay'),extractISOOrdinalData=_0x3cdafa('year','ordinal'),_0x3e86f7=/(\d{4})-(\d\d)-(\d\d)/,_0x5dd1cb=RegExp(_0x2d4e86['source']+'\x20?(?:'+offsetRegex['source']+'|('+_0x4784e1['source']+'))?'),sqlTimeExtensionRegex=RegExp('(?:\x20'+_0x5dd1cb['source']+')?');function int(_0x3a6ec0,_0x42eb15,_0x3eab29){const _0x462d36=_0x3a6ec0[_0x42eb15];return _0x47d16a(_0x462d36)?_0x3eab29:parseInteger(_0x462d36);}function extractISOYmd(_0x174f1a,_0x30ae38){return[{'year':int(_0x174f1a,_0x30ae38),'month':int(_0x174f1a,_0x30ae38+0x1,0x1),'day':int(_0x174f1a,_0x30ae38+0x2,0x1)},null,_0x30ae38+0x3];}function extractISOTime(_0x251243,_0x56a05b){return[{'hours':int(_0x251243,_0x56a05b,0x0),'minutes':int(_0x251243,_0x56a05b+0x1,0x0),'seconds':int(_0x251243,_0x56a05b+0x2,0x0),'milliseconds':_0x599f9d(_0x251243[_0x56a05b+0x3])},null,_0x56a05b+0x4];}function extractISOOffset(_0x12b67c,_0x164321){const _0x2c5a35=!_0x12b67c[_0x164321]&&!_0x12b67c[_0x164321+0x1],_0x2f0d6c=signedOffset(_0x12b67c[_0x164321+0x1],_0x12b67c[_0x164321+0x2]);return[{},_0x2c5a35?null:FixedOffsetZone['instance'](_0x2f0d6c),_0x164321+0x3];}function extractIANAZone(_0x39e356,_0x10d053){return[{},_0x39e356[_0x10d053]?_0x1d016['create'](_0x39e356[_0x10d053]):null,_0x10d053+0x1];}const _0x46314e=RegExp('^T?'+_0x2d4e86['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(_0x2bd981){const [_0x229bf6,_0x2aae15,_0x4321ca,_0x4adea0,_0x4a4dea,_0x45aac2,_0x24fc89,_0x592bc5,_0x3afc98]=_0x2bd981,_0x4176fe='-'===_0x229bf6[0x0],_0x5a58f4=_0x592bc5&&'-'===_0x592bc5[0x0],_0x3bfdf0=(_0x2a5b27,_0x3a27a8=!0x1)=>void 0x0!==_0x2a5b27&&(_0x3a27a8||_0x2a5b27&&_0x4176fe)?-_0x2a5b27:_0x2a5b27;return[{'years':_0x3bfdf0(parseFloating(_0x2aae15)),'months':_0x3bfdf0(parseFloating(_0x4321ca)),'weeks':_0x3bfdf0(parseFloating(_0x4adea0)),'days':_0x3bfdf0(parseFloating(_0x4a4dea)),'hours':_0x3bfdf0(parseFloating(_0x45aac2)),'minutes':_0x3bfdf0(parseFloating(_0x24fc89)),'seconds':_0x3bfdf0(parseFloating(_0x592bc5),'-0'===_0x592bc5),'milliseconds':_0x3bfdf0(_0x599f9d(_0x3afc98),_0x5a58f4)}];}const obsOffsets={'GMT':0x0,'EDT':-0xf0,'EST':-0x12c,'CDT':-0x12c,'CST':-0x168,'MDT':-0x168,'MST':-0x1a4,'PDT':-0x1a4,'PST':-0x1e0};function fromStrings(_0xb8d491,_0x1f84e8,_0x31005d,_0x4e5c88,_0x2de18c,_0x5e2cc9,_0x32d6a3){const _0x37dd50={'year':0x2===_0x1f84e8['length']?untruncateYear(parseInteger(_0x1f84e8)):parseInteger(_0x1f84e8),'month':monthsShort['indexOf'](_0x31005d)+0x1,'day':parseInteger(_0x4e5c88),'hour':parseInteger(_0x2de18c),'minute':parseInteger(_0x5e2cc9)};return _0x32d6a3&&(_0x37dd50['second']=parseInteger(_0x32d6a3)),_0xb8d491&&(_0x37dd50['weekday']=_0xb8d491['length']>0x3?_0xe5fe30['indexOf'](_0xb8d491)+0x1:weekdaysShort['indexOf'](_0xb8d491)+0x1),_0x37dd50;}const _0xce014d=/^(?:(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(_0x31c2a6){const [,_0x37fcdc,_0x796cd0,_0x3e9963,_0x3b09b8,_0x1b11b5,_0x28697c,_0x5a1e6a,_0x6e63d6,_0x46d755,_0x2ab869,_0x20620b]=_0x31c2a6,_0x5dbaf4=fromStrings(_0x37fcdc,_0x3b09b8,_0x3e9963,_0x796cd0,_0x1b11b5,_0x28697c,_0x5a1e6a);let _0x450d85;return _0x450d85=_0x6e63d6?obsOffsets[_0x6e63d6]:_0x46d755?0x0:signedOffset(_0x2ab869,_0x20620b),[_0x5dbaf4,new FixedOffsetZone(_0x450d85)];}function _0x1e09ff(_0x1ff80d){return _0x1ff80d['replace'](/\([^()]*\)|[\n\t]/g,'\x20')['replace'](/(\s\s+)/g,'\x20')['trim']();}const _0x35f182=/^(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$/,_0x18d312=/^(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$/,_0x25a51c=/^(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(_0x4d97fd){const [,_0x187aab,_0x3934ae,_0x17adc1,_0x2025cd,_0x1722d1,_0x392e37,_0x11625b]=_0x4d97fd;return[fromStrings(_0x187aab,_0x2025cd,_0x17adc1,_0x3934ae,_0x1722d1,_0x392e37,_0x11625b),FixedOffsetZone['utcInstance']];}function extractASCII(_0x3cbf1f){const [,_0x2b4bcf,_0x422661,_0x13a587,_0x491cd8,_0x149cee,_0x116546,_0x32fc85]=_0x3cbf1f;return[fromStrings(_0x2b4bcf,_0x32fc85,_0x422661,_0x13a587,_0x491cd8,_0x149cee,_0x116546),FixedOffsetZone['utcInstance']];}const isoYmdWithTimeExtensionRegex=_0x575054(_0x295c26,isoTimeExtensionRegex),isoWeekWithTimeExtensionRegex=_0x575054(_0x54f9b6,isoTimeExtensionRegex),isoOrdinalWithTimeExtensionRegex=_0x575054(_0x108ab5,isoTimeExtensionRegex),_0x3ebc3d=_0x575054(_0x5a9917),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(_0x5227a5){return _0x243f52(_0x5227a5,[isoYmdWithTimeExtensionRegex,extractISOYmdTimeAndOffset],[isoWeekWithTimeExtensionRegex,extractISOWeekTimeAndOffset],[isoOrdinalWithTimeExtensionRegex,extractISOOrdinalDateAndTime],[_0x3ebc3d,extractISOTimeAndOffset]);}function parseRFC2822Date(_0x18a20e){return _0x243f52(_0x1e09ff(_0x18a20e),[_0xce014d,extractRFC2822]);}function parseHTTPDate(_0x443712){return _0x243f52(_0x443712,[_0x35f182,extractRFC1123Or850],[_0x18d312,extractRFC1123Or850],[_0x25a51c,extractASCII]);}function parseISODuration(_0x4fdb3e){return _0x243f52(_0x4fdb3e,[isoDuration,extractISODuration]);}const extractISOTimeOnly=combineExtractors(extractISOTime);function _0x26b9f3(_0x423bf6){return _0x243f52(_0x423bf6,[_0x46314e,extractISOTimeOnly]);}const sqlYmdWithTimeExtensionRegex=_0x575054(_0x3e86f7,sqlTimeExtensionRegex),_0x3d8849=_0x575054(_0x5dd1cb),extractISOTimeOffsetAndIANAZone=combineExtractors(extractISOTime,extractISOOffset,extractIANAZone);function _0x2456df(_0x1f9be1){return _0x243f52(_0x1f9be1,[sqlYmdWithTimeExtensionRegex,extractISOYmdTimeAndOffset],[_0x3d8849,extractISOTimeOffsetAndIANAZone]);}const _0x4a019f='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 _0x20b043(_0x2c9172,_0x997d37,_0xf3950c=!0x1){const _0x1c7bc7={'values':_0xf3950c?_0x997d37['values']:{..._0x2c9172['values'],..._0x997d37['values']||{}},'loc':_0x2c9172['loc']['clone'](_0x997d37['loc']),'conversionAccuracy':_0x997d37['conversionAccuracy']||_0x2c9172['conversionAccuracy'],'matrix':_0x997d37['matrix']||_0x2c9172['matrix']};return new Duration(_0x1c7bc7);}function durationToMillis(_0x98e602,_0x55907b){let _0x3fc69e=_0x55907b['milliseconds']??0x0;for(const _0x3e9690 of reverseUnits['slice'](0x1))_0x55907b[_0x3e9690]&&(_0x3fc69e+=_0x55907b[_0x3e9690]*_0x98e602[_0x3e9690]['milliseconds']);return _0x3fc69e;}function _0x21a1f2(_0x51c125,_0x33e2e9){const _0x171017=durationToMillis(_0x51c125,_0x33e2e9)<0x0?-0x1:0x1;orderedUnits$1['reduceRight']((_0x33fe4b,_0x1db033)=>{if(_0x47d16a(_0x33e2e9[_0x1db033]))return _0x33fe4b;if(_0x33fe4b){const _0x260b28=_0x33e2e9[_0x33fe4b]*_0x171017,_0x3ba411=_0x51c125[_0x1db033][_0x33fe4b],_0xa01e6c=Math['floor'](_0x260b28/_0x3ba411);_0x33e2e9[_0x1db033]+=_0xa01e6c*_0x171017,_0x33e2e9[_0x33fe4b]-=_0xa01e6c*_0x3ba411*_0x171017;}return _0x1db033;},null),orderedUnits$1['reduce']((_0x2c694d,_0x1e22b6)=>{if(_0x47d16a(_0x33e2e9[_0x1e22b6]))return _0x2c694d;if(_0x2c694d){const _0xb874b3=_0x33e2e9[_0x2c694d]%0x1;_0x33e2e9[_0x2c694d]-=_0xb874b3,_0x33e2e9[_0x1e22b6]+=_0xb874b3*_0x51c125[_0x2c694d][_0x1e22b6];}return _0x1e22b6;},null);}function _0x5b2ba3(_0x108fab){const _0x1c3f15={};for(const [_0x23bc8d,_0x4845eb]of Object['entries'](_0x108fab))0x0!==_0x4845eb&&(_0x1c3f15[_0x23bc8d]=_0x4845eb);return _0x1c3f15;}class Duration{constructor(_0x3a0f89){const _0x2b9941='longterm'===_0x3a0f89['conversionAccuracy']||!0x1;let _0x55f295=_0x2b9941?accurateMatrix:casualMatrix;_0x3a0f89['matrix']&&(_0x55f295=_0x3a0f89['matrix']),this['values']=_0x3a0f89['values'],this['loc']=_0x3a0f89['loc']||_0x2923a3['create'](),this['conversionAccuracy']=_0x2b9941?'longterm':'casual',this['invalid']=_0x3a0f89['invalid']||null,this['matrix']=_0x55f295,this['isLuxonDuration']=!0x0;}static['fromMillis'](_0x45e93a,_0x1dee06){return Duration['fromObject']({'milliseconds':_0x45e93a},_0x1dee06);}static['fromObject'](_0x420369,_0x132cf2={}){if(null==_0x420369||'object'!=typeof _0x420369)throw new InvalidArgumentError('Duration.fromObject:\x20argument\x20expected\x20to\x20be\x20an\x20object,\x20got\x20'+(null===_0x420369?'null':typeof _0x420369));return new Duration({'values':normalizeObject(_0x420369,Duration['normalizeUnit']),'loc':_0x2923a3['fromObject'](_0x132cf2),'conversionAccuracy':_0x132cf2['conversionAccuracy'],'matrix':_0x132cf2['matrix']});}static['fromDurationLike'](_0x4d8cb3){if(_0x4fa3ec(_0x4d8cb3))return Duration['fromMillis'](_0x4d8cb3);if(Duration['isDuration'](_0x4d8cb3))return _0x4d8cb3;if('object'==typeof _0x4d8cb3)return Duration['fromObject'](_0x4d8cb3);throw new InvalidArgumentError('Unknown\x20duration\x20argument\x20'+_0x4d8cb3+'\x20of\x20type\x20'+typeof _0x4d8cb3);}static['fromISO'](_0x522b12,_0x3a6310){const [_0xedbb1b]=parseISODuration(_0x522b12);return _0xedbb1b?Duration['fromObject'](_0xedbb1b,_0x3a6310):Duration['invalid']('unparsable','the\x20input\x20\x22'+_0x522b12+'\x22\x20can\x27t\x20be\x20parsed\x20as\x20ISO\x208601');}static['fromISOTime'](_0x47635f,_0x3a5e82){const [_0x30f4f0]=_0x26b9f3(_0x47635f);return _0x30f4f0?Duration['fromObject'](_0x30f4f0,_0x3a5e82):Duration['invalid']('unparsable','the\x20input\x20\x22'+_0x47635f+'\x22\x20can\x27t\x20be\x20parsed\x20as\x20ISO\x208601');}static['invalid'](_0x2c30b3,_0x26640b=null){if(!_0x2c30b3)throw new InvalidArgumentError('need\x20to\x20specify\x20a\x20reason\x20the\x20Duration\x20is\x20invalid');const _0x35539=_0x2c30b3 instanceof _0x20838e?_0x2c30b3:new _0x20838e(_0x2c30b3,_0x26640b);if(Settings['throwOnInvalid'])throw new InvalidDurationError(_0x35539);return new Duration({'invalid':_0x35539});}static['normalizeUnit'](_0x57559c){const _0x38335f={'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'}[_0x57559c?_0x57559c['toLowerCase']():_0x57559c];if(!_0x38335f)throw new InvalidUnitError(_0x57559c);return _0x38335f;}static['isDuration'](_0xd110db){return _0xd110db&&_0xd110db['isLuxonDuration']||!0x1;}get['locale'](){return this['isValid']?this['loc']['locale']:null;}get['numberingSystem'](){return this['isValid']?this['loc']['numberingSystem']:null;}['toFormat'](_0xcd2819,_0x30cd40={}){const _0x43f13e={..._0x30cd40,'floor':!0x1!==_0x30cd40['round']&&!0x1!==_0x30cd40['floor']};return this['isValid']?Formatter['create'](this['loc'],_0x43f13e)['formatDurationFromString'](this,_0xcd2819):_0x4a019f;}['toHuman'](_0x1ec59c={}){if(!this['isValid'])return _0x4a019f;const _0x2c0909=orderedUnits$1['map'](_0x5dc4f4=>{const _0x408556=this['values'][_0x5dc4f4];return _0x47d16a(_0x408556)?null:this['loc']['numberFormatter']({'style':'unit','unitDisplay':'long',..._0x1ec59c,'unit':_0x5dc4f4['slice'](0x0,-0x1)})['format'](_0x408556);})['filter'](_0x324650=>_0x324650);return this['loc']['listFormatter']({'type':'conjunction','style':_0x1ec59c['listStyle']||'narrow',..._0x1ec59c})['format'](_0x2c0909);}['toObject'](){return this['isValid']?{...this['values']}:{};}['toISO'](){if(!this['isValid'])return null;let _0x5c8aee='P';return 0x0!==this['years']&&(_0x5c8aee+=this['years']+'Y'),0x0===this['months']&&0x0===this['quarters']||(_0x5c8aee+=this['months']+0x3*this['quarters']+'M'),0x0!==this['weeks']&&(_0x5c8aee+=this['weeks']+'W'),0x0!==this['days']&&(_0x5c8aee+=this['days']+'D'),0x0===this['hours']&&0x0===this['minutes']&&0x0===this['seconds']&&0x0===this['milliseconds']||(_0x5c8aee+='T'),0x0!==this['hours']&&(_0x5c8aee+=this['hours']+'H'),0x0!==this['minutes']&&(_0x5c8aee+=this['minutes']+'M'),0x0===this['seconds']&&0x0===this['milliseconds']||(_0x5c8aee+=_0x4cba8c(this['seconds']+this['milliseconds']/0x3e8,0x3)+'S'),'P'===_0x5c8aee&&(_0x5c8aee+='T0S'),_0x5c8aee;}['toISOTime'](_0x1a0b1a={}){if(!this['isValid'])return null;const _0x361007=this['toMillis']();if(_0x361007<0x0||_0x361007>=0x5265c00)return null;return _0x1a0b1a={'suppressMilliseconds':!0x1,'suppressSeconds':!0x1,'includePrefix':!0x1,'format':'extended',..._0x1a0b1a,'includeOffset':!0x1},DateTime['fromMillis'](_0x361007,{'zone':'UTC'})['toISOTime'](_0x1a0b1a);}['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'](_0x20ab9b){if(!this['isValid'])return this;const _0x31d63f=Duration['fromDurationLike'](_0x20ab9b),_0x52061c={};for(const _0x433283 of orderedUnits$1)(hasOwnProperty(_0x31d63f['values'],_0x433283)||hasOwnProperty(this['values'],_0x433283))&&(_0x52061c[_0x433283]=_0x31d63f['get'](_0x433283)+this['get'](_0x433283));return _0x20b043(this,{'values':_0x52061c},!0x0);}['minus'](_0x143b0c){if(!this['isValid'])return this;const _0x3b89e3=Duration['fromDurationLike'](_0x143b0c);return this['plus'](_0x3b89e3['negate']());}['mapUnits'](_0x3104b9){if(!this['isValid'])return this;const _0x10f34d={};for(const _0x57430f of Object['keys'](this['values']))_0x10f34d[_0x57430f]=_0x1f890e(_0x3104b9(this['values'][_0x57430f],_0x57430f));return _0x20b043(this,{'values':_0x10f34d},!0x0);}['get'](_0x6c9bdd){return this[Duration['normalizeUnit'](_0x6c9bdd)];}['set'](_0xf5dd2e){if(!this['isValid'])return this;return _0x20b043(this,{'values':{...this['values'],...normalizeObject(_0xf5dd2e,Duration['normalizeUnit'])}});}['reconfigure']({locale:_0x5e5991,numberingSystem:_0x54b523,conversionAccuracy:_0x159986,matrix:_0x33dde2}={}){return _0x20b043(this,{'loc':this['loc']['clone']({'locale':_0x5e5991,'numberingSystem':_0x54b523}),'matrix':_0x33dde2,'conversionAccuracy':_0x159986});}['as'](_0x30b403){return this['isValid']?this['shiftTo'](_0x30b403)['get'](_0x30b403):NaN;}['normalize'](){if(!this['isValid'])return this;const _0x556223=this['toObject']();return _0x21a1f2(this['matrix'],_0x556223),_0x20b043(this,{'values':_0x556223},!0x0);}['rescale'](){if(!this['isValid'])return this;return _0x20b043(this,{'values':_0x5b2ba3(this['normalize']()['shiftToAll']()['toObject']())},!0x0);}['shiftTo'](..._0x1b44d3){if(!this['isValid'])return this;if(0x0===_0x1b44d3['length'])return this;_0x1b44d3=_0x1b44d3['map'](_0xb08b54=>Duration['normalizeUnit'](_0xb08b54));const _0x1e4a3e={},_0x39af26={},_0x47fc33=this['toObject']();let _0x46ad5c;for(const _0x59725e of orderedUnits$1)if(_0x1b44d3['indexOf'](_0x59725e)>=0x0){_0x46ad5c=_0x59725e;let _0x47c3fd=0x0;for(const _0x30c168 in _0x39af26)_0x47c3fd+=this['matrix'][_0x30c168][_0x59725e]*_0x39af26[_0x30c168],_0x39af26[_0x30c168]=0x0;_0x4fa3ec(_0x47fc33[_0x59725e])&&(_0x47c3fd+=_0x47fc33[_0x59725e]);const _0x11e772=Math['trunc'](_0x47c3fd);_0x1e4a3e[_0x59725e]=_0x11e772,_0x39af26[_0x59725e]=(0x3e8*_0x47c3fd-0x3e8*_0x11e772)/0x3e8;}else _0x4fa3ec(_0x47fc33[_0x59725e])&&(_0x39af26[_0x59725e]=_0x47fc33[_0x59725e]);for(const _0x51adeb in _0x39af26)0x0!==_0x39af26[_0x51adeb]&&(_0x1e4a3e[_0x46ad5c]+=_0x51adeb===_0x46ad5c?_0x39af26[_0x51adeb]:_0x39af26[_0x51adeb]/this['matrix'][_0x46ad5c][_0x51adeb]);return _0x21a1f2(this['matrix'],_0x1e4a3e),_0x20b043(this,{'values':_0x1e4a3e},!0x0);}['shiftToAll'](){return this['isValid']?this['shiftTo']('years','months','weeks','days','hours','minutes','seconds','milliseconds'):this;}['negate'](){if(!this['isValid'])return this;const _0x434dda={};for(const _0x1f50fd of Object['keys'](this['values']))_0x434dda[_0x1f50fd]=0x0===this['values'][_0x1f50fd]?0x0:-this['values'][_0x1f50fd];return _0x20b043(this,{'values':_0x434dda},!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'](_0x4267f8){if(!this['isValid']||!_0x4267f8['isValid'])return!0x1;if(!this['loc']['equals'](_0x4267f8['loc']))return!0x1;function _0x396bd8(_0x28a6e9,_0x30504d){return void 0x0===_0x28a6e9||0x0===_0x28a6e9?void 0x0===_0x30504d||0x0===_0x30504d:_0x28a6e9===_0x30504d;}for(const _0xcab784 of orderedUnits$1)if(!_0x396bd8(this['values'][_0xcab784],_0x4267f8['values'][_0xcab784]))return!0x1;return!0x0;}}const _0x56fab='Invalid\x20Interval';function validateStartEnd(_0x291ee9,_0x377629){return _0x291ee9&&_0x291ee9['isValid']?_0x377629&&_0x377629['isValid']?_0x377629<_0x291ee9?Interval['invalid']('end\x20before\x20start','The\x20end\x20of\x20an\x20interval\x20must\x20be\x20after\x20its\x20start,\x20but\x20you\x20had\x20start='+_0x291ee9['toISO']()+'\x20and\x20end='+_0x377629['toISO']()):null:Interval['invalid']('missing\x20or\x20invalid\x20end'):Interval['invalid']('missing\x20or\x20invalid\x20start');}class Interval{constructor(_0x1647de){this['s']=_0x1647de['start'],this['e']=_0x1647de['end'],this['invalid']=_0x1647de['invalid']||null,this['isLuxonInterval']=!0x0;}static['invalid'](_0x475f36,_0x52cb77=null){if(!_0x475f36)throw new InvalidArgumentError('need\x20to\x20specify\x20a\x20reason\x20the\x20Interval\x20is\x20invalid');const _0x48e33b=_0x475f36 instanceof _0x20838e?_0x475f36:new _0x20838e(_0x475f36,_0x52cb77);if(Settings['throwOnInvalid'])throw new InvalidIntervalError(_0x48e33b);return new Interval({'invalid':_0x48e33b});}static['fromDateTimes'](_0x11b126,_0x25decd){const _0x152109=friendlyDateTime(_0x11b126),_0x4af565=friendlyDateTime(_0x25decd),_0x132f09=validateStartEnd(_0x152109,_0x4af565);return null==_0x132f09?new Interval({'start':_0x152109,'end':_0x4af565}):_0x132f09;}static['after'](_0x5b4b66,_0x4925ba){const _0x588904=Duration['fromDurationLike'](_0x4925ba),_0x33a38f=friendlyDateTime(_0x5b4b66);return Interval['fromDateTimes'](_0x33a38f,_0x33a38f['plus'](_0x588904));}static['before'](_0x163535,_0x48a41a){const _0x4c26f7=Duration['fromDurationLike'](_0x48a41a),_0x15d175=friendlyDateTime(_0x163535);return Interval['fromDateTimes'](_0x15d175['minus'](_0x4c26f7),_0x15d175);}static['fromISO'](_0x15e8ee,_0x1dfb2d){const [_0x1e75c8,_0x4986ea]=(_0x15e8ee||'')['split']('/',0x2);if(_0x1e75c8&&_0x4986ea){let _0x2ea0e7,_0x102deb,_0x317da7,_0x3825c2;try{_0x2ea0e7=DateTime['fromISO'](_0x1e75c8,_0x1dfb2d),_0x102deb=_0x2ea0e7['isValid'];}catch(_0x49b01f){_0x102deb=!0x1;}try{_0x317da7=DateTime['fromISO'](_0x4986ea,_0x1dfb2d),_0x3825c2=_0x317da7['isValid'];}catch(_0x3f5990){_0x3825c2=!0x1;}if(_0x102deb&&_0x3825c2)return Interval['fromDateTimes'](_0x2ea0e7,_0x317da7);if(_0x102deb){const _0x1f6439=Duration['fromISO'](_0x4986ea,_0x1dfb2d);if(_0x1f6439['isValid'])return Interval['after'](_0x2ea0e7,_0x1f6439);}else{if(_0x3825c2){const _0xf8d25d=Duration['fromISO'](_0x1e75c8,_0x1dfb2d);if(_0xf8d25d['isValid'])return Interval['before'](_0x317da7,_0xf8d25d);}}}return Interval['invalid']('unparsable','the\x20input\x20\x22'+_0x15e8ee+'\x22\x20can\x27t\x20be\x20parsed\x20as\x20ISO\x208601');}static['isInterval'](_0xc8209b){return _0xc8209b&&_0xc8209b['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'](_0x45fcc2='milliseconds'){return this['isValid']?this['toDuration'](_0x45fcc2)['get'](_0x45fcc2):NaN;}['count'](_0x325454='milliseconds',_0x2296e0){if(!this['isValid'])return NaN;const _0x16caf0=this['start']['startOf'](_0x325454,_0x2296e0);let _0x1b5c41;return _0x1b5c41=_0x2296e0?.['useLocaleWeeks']?this['end']['reconfigure']({'locale':_0x16caf0['locale']}):this['end'],_0x1b5c41=_0x1b5c41['startOf'](_0x325454,_0x2296e0),Math['floor'](_0x1b5c41['diff'](_0x16caf0,_0x325454)['get'](_0x325454))+(_0x1b5c41['valueOf']()!==this['end']['valueOf']());}['hasSame'](_0x39b494){return!!this['isValid']&&(this['isEmpty']()||this['e']['minus'](0x1)['hasSame'](this['s'],_0x39b494));}['isEmpty'](){return this['s']['valueOf']()===this['e']['valueOf']();}['isAfter'](_0x1cf39f){return!!this['isValid']&&this['s']>_0x1cf39f;}['isBefore'](_0x4559d9){return!!this['isValid']&&this['e']<=_0x4559d9;}['contains'](_0x4e502a){return!!this['isValid']&&(this['s']<=_0x4e502a&&this['e']>_0x4e502a);}['set']({start:_0x3e8773,end:_0x329d1b}={}){return this['isValid']?Interval['fromDateTimes'](_0x3e8773||this['s'],_0x329d1b||this['e']):this;}['splitAt'](..._0x30979e){if(!this['isValid'])return[];const _0x52c90b=_0x30979e['map'](friendlyDateTime)['filter'](_0x30d6df=>this['contains'](_0x30d6df))['sort']((_0x4a2d26,_0x86c57f)=>_0x4a2d26['toMillis']()-_0x86c57f['toMillis']()),_0x3ab88d=[];let {s:_0x32a9d0}=this,_0x2b2435=0x0;for(;_0x32a9d0<this['e'];){const _0x5b0eed=_0x52c90b[_0x2b2435]||this['e'],_0x1c6a96=+_0x5b0eed>+this['e']?this['e']:_0x5b0eed;_0x3ab88d['push'](Interval['fromDateTimes'](_0x32a9d0,_0x1c6a96)),_0x32a9d0=_0x1c6a96,_0x2b2435+=0x1;}return _0x3ab88d;}['splitBy'](_0x789c50){const _0x1a3a46=Duration['fromDurationLike'](_0x789c50);if(!this['isValid']||!_0x1a3a46['isValid']||0x0===_0x1a3a46['as']('milliseconds'))return[];let _0x502d21,{s:_0x3311c3}=this,_0x4318f1=0x1;const _0x566e64=[];for(;_0x3311c3<this['e'];){const _0x5ed363=this['start']['plus'](_0x1a3a46['mapUnits'](_0xed73cb=>_0xed73cb*_0x4318f1));_0x502d21=+_0x5ed363>+this['e']?this['e']:_0x5ed363,_0x566e64['push'](Interval['fromDateTimes'](_0x3311c3,_0x502d21)),_0x3311c3=_0x502d21,_0x4318f1+=0x1;}return _0x566e64;}['divideEqually'](_0x428000){return this['isValid']?this['splitBy'](this['length']()/_0x428000)['slice'](0x0,_0x428000):[];}['overlaps'](_0x563c72){return this['e']>_0x563c72['s']&&this['s']<_0x563c72['e'];}['abutsStart'](_0x4b266e){return!!this['isValid']&&+this['e']===+_0x4b266e['s'];}['abutsEnd'](_0x497401){return!!this['isValid']&&+_0x497401['e']===+this['s'];}['engulfs'](_0x55b216){return!!this['isValid']&&(this['s']<=_0x55b216['s']&&this['e']>=_0x55b216['e']);}['equals'](_0x3e9abc){return!(!this['isValid']||!_0x3e9abc['isValid'])&&(this['s']['equals'](_0x3e9abc['s'])&&this['e']['equals'](_0x3e9abc['e']));}['intersection'](_0x4c1de6){if(!this['isValid'])return this;const _0x55909c=this['s']>_0x4c1de6['s']?this['s']:_0x4c1de6['s'],_0xa1d68e=this['e']<_0x4c1de6['e']?this['e']:_0x4c1de6['e'];return _0x55909c>=_0xa1d68e?null:Interval['fromDateTimes'](_0x55909c,_0xa1d68e);}['union'](_0x57f29b){if(!this['isValid'])return this;const _0x501b8a=this['s']<_0x57f29b['s']?this['s']:_0x57f29b['s'],_0x559a2b=this['e']>_0x57f29b['e']?this['e']:_0x57f29b['e'];return Interval['fromDateTimes'](_0x501b8a,_0x559a2b);}static['merge'](_0x47c2aa){const [_0x45c6e4,_0x5d21b6]=_0x47c2aa['sort']((_0x159a7a,_0x363e1c)=>_0x159a7a['s']-_0x363e1c['s'])['reduce'](([_0x2f563a,_0xc275a0],_0x1057ab)=>_0xc275a0?_0xc275a0['overlaps'](_0x1057ab)||_0xc275a0['abutsStart'](_0x1057ab)?[_0x2f563a,_0xc275a0['union'](_0x1057ab)]:[_0x2f563a['concat']([_0xc275a0]),_0x1057ab]:[_0x2f563a,_0x1057ab],[[],null]);return _0x5d21b6&&_0x45c6e4['push'](_0x5d21b6),_0x45c6e4;}static['xor'](_0x18f2a1){let _0xec8da4=null,_0x539d10=0x0;const _0x1ee94c=[],_0x260e3a=_0x18f2a1['map'](_0x11288c=>[{'time':_0x11288c['s'],'type':'s'},{'time':_0x11288c['e'],'type':'e'}]),_0x20c3b4=Array['prototype']['concat'](..._0x260e3a)['sort']((_0x1d9549,_0x45021d)=>_0x1d9549['time']-_0x45021d['time']);for(const _0x10e06c of _0x20c3b4)_0x539d10+='s'===_0x10e06c['type']?0x1:-0x1,0x1===_0x539d10?_0xec8da4=_0x10e06c['time']:(_0xec8da4&&+_0xec8da4!==+_0x10e06c['time']&&_0x1ee94c['push'](Interval['fromDateTimes'](_0xec8da4,_0x10e06c['time'])),_0xec8da4=null);return Interval['merge'](_0x1ee94c);}['difference'](..._0xa89e0b){return Interval['xor']([this]['concat'](_0xa89e0b))['map'](_0x24f005=>this['intersection'](_0x24f005))['filter'](_0x1d2551=>_0x1d2551&&!_0x1d2551['isEmpty']());}['toString'](){return this['isValid']?'['+this['s']['toISO']()+'\x20–\x20'+this['e']['toISO']()+')':_0x56fab;}[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'](_0x4beba5=_0x3101fd,_0x5317dd={}){return this['isValid']?Formatter['create'](this['s']['loc']['clone'](_0x5317dd),_0x4beba5)['formatInterval'](this):_0x56fab;}['toISO'](_0x50e973){return this['isValid']?this['s']['toISO'](_0x50e973)+'/'+this['e']['toISO'](_0x50e973):_0x56fab;}['toISODate'](){return this['isValid']?this['s']['toISODate']()+'/'+this['e']['toISODate']():_0x56fab;}['toISOTime'](_0x644c92){return this['isValid']?this['s']['toISOTime'](_0x644c92)+'/'+this['e']['toISOTime'](_0x644c92):_0x56fab;}['toFormat'](_0x7ee846,{separator:_0xfddb6d='\x20–\x20'}={}){return this['isValid']?''+this['s']['toFormat'](_0x7ee846)+_0xfddb6d+this['e']['toFormat'](_0x7ee846):_0x56fab;}['toDuration'](_0x4a8b56,_0x5169d7){return this['isValid']?this['e']['diff'](this['s'],_0x4a8b56,_0x5169d7):Duration['invalid'](this['invalidReason']);}['mapEndpoints'](_0x1bf58f){return Interval['fromDateTimes'](_0x1bf58f(this['s']),_0x1bf58f(this['e']));}}class _0x145f5b{static['hasDST'](_0x5a7f14=Settings['defaultZone']){const _0x217813=DateTime['now']()['setZone'](_0x5a7f14)['set']({'month':0xc});return!_0x5a7f14['isUniversal']&&_0x217813['offset']!==_0x217813['set']({'month':0x6})['offset'];}static['isValidIANAZone'](_0x9da58f){return _0x1d016['isValidZone'](_0x9da58f);}static['normalizeZone'](_0xbbccb7){return _0x473b21(_0xbbccb7,Settings['defaultZone']);}static['getStartOfWeek']({locale:_0x325b5b=null,locObj:_0x302f95=null}={}){return(_0x302f95||_0x2923a3['create'](_0x325b5b))['getStartOfWeek']();}static['getMinimumDaysInFirstWeek']({locale:_0xbcf184=null,locObj:_0x1781d3=null}={}){return(_0x1781d3||_0x2923a3['create'](_0xbcf184))['getMinDaysInFirstWeek']();}static['getWeekendWeekdays']({locale:_0x110cc1=null,locObj:_0x5b87eb=null}={}){return(_0x5b87eb||_0x2923a3['create'](_0x110cc1))['getWeekendDays']()['slice']();}static['months'](_0x63699a='long',{locale:_0x11dbb9=null,numberingSystem:_0x3114cf=null,locObj:_0x30ef77=null,outputCalendar:_0x1e1132='gregory'}={}){return(_0x30ef77||_0x2923a3['create'](_0x11dbb9,_0x3114cf,_0x1e1132))['months'](_0x63699a);}static['monthsFormat'](_0x281001='long',{locale:_0x4bd487=null,numberingSystem:_0x4e6e82=null,locObj:_0x1baa44=null,outputCalendar:_0x23d260='gregory'}={}){return(_0x1baa44||_0x2923a3['create'](_0x4bd487,_0x4e6e82,_0x23d260))['months'](_0x281001,!0x0);}static['weekdays'](_0x1df15f='long',{locale:_0x4e9a91=null,numberingSystem:_0x2b0f2e=null,locObj:_0x2d96d9=null}={}){return(_0x2d96d9||_0x2923a3['create'](_0x4e9a91,_0x2b0f2e,null))['weekdays'](_0x1df15f);}static['weekdaysFormat'](_0x1dd5fe='long',{locale:_0x139d9a=null,numberingSystem:_0x362846=null,locObj:_0x15c3cd=null}={}){return(_0x15c3cd||_0x2923a3['create'](_0x139d9a,_0x362846,null))['weekdays'](_0x1dd5fe,!0x0);}static['meridiems']({locale:_0x498935=null}={}){return _0x2923a3['create'](_0x498935)['meridiems']();}static['eras'](_0x9e087b='short',{locale:_0x4c1b40=null}={}){return _0x2923a3['create'](_0x4c1b40,null,'gregory')['eras'](_0x9e087b);}static['features'](){return{'relative':hasRelative(),'localeWeek':_0xd0b9d()};}}function _0x3cd7ff(_0x26a325,_0x2c50aa){const _0x29b1bf=_0x2b8484=>_0x2b8484['toUTC'](0x0,{'keepLocalTime':!0x0})['startOf']('day')['valueOf'](),_0x4b9d53=_0x29b1bf(_0x2c50aa)-_0x29b1bf(_0x26a325);return Math['floor'](Duration['fromMillis'](_0x4b9d53)['as']('days'));}function _0x1a4024(_0x1609eb,_0x4e4751,_0x2416cc){const _0x370c56=[['years',(_0x426304,_0x57f603)=>_0x57f603['year']-_0x426304['year']],['quarters',(_0x1ace4f,_0xd1c095)=>_0xd1c095['quarter']-_0x1ace4f['quarter']+0x4*(_0xd1c095['year']-_0x1ace4f['year'])],['months',(_0x3d1218,_0x38b817)=>_0x38b817['month']-_0x3d1218['month']+0xc*(_0x38b817['year']-_0x3d1218['year'])],['weeks',(_0x5bd056,_0xe1f2dc)=>{const _0x5b1d18=_0x3cd7ff(_0x5bd056,_0xe1f2dc);return(_0x5b1d18-_0x5b1d18%0x7)/0x7;}],['days',_0x3cd7ff]],_0x203981={},_0x5e2823=_0x1609eb;let _0x403d89,_0xdc3483;for(const [_0x155c8f,_0x59667a]of _0x370c56)_0x2416cc['indexOf'](_0x155c8f)>=0x0&&(_0x403d89=_0x155c8f,_0x203981[_0x155c8f]=_0x59667a(_0x1609eb,_0x4e4751),_0xdc3483=_0x5e2823['plus'](_0x203981),_0xdc3483>_0x4e4751?(_0x203981[_0x155c8f]--,(_0x1609eb=_0x5e2823['plus'](_0x203981))>_0x4e4751&&(_0xdc3483=_0x1609eb,_0x203981[_0x155c8f]--,_0x1609eb=_0x5e2823['plus'](_0x203981))):_0x1609eb=_0xdc3483);return[_0x1609eb,_0x203981,_0xdc3483,_0x403d89];}function _0x43e003(_0x21c4a8,_0x12248c,_0x235508,_0x501305){let [_0x23c4a4,_0xd0ad32,_0x5e6b15,_0x35af52]=_0x1a4024(_0x21c4a8,_0x12248c,_0x235508);const _0x831d1=_0x12248c-_0x23c4a4,_0x1ea1a6=_0x235508['filter'](_0xe170c4=>['hours','minutes','seconds','milliseconds']['indexOf'](_0xe170c4)>=0x0);0x0===_0x1ea1a6['length']&&(_0x5e6b15<_0x12248c&&(_0x5e6b15=_0x23c4a4['plus']({[_0x35af52]:0x1})),_0x5e6b15!==_0x23c4a4&&(_0xd0ad32[_0x35af52]=(_0xd0ad32[_0x35af52]||0x0)+_0x831d1/(_0x5e6b15-_0x23c4a4)));const _0x552507=Duration['fromObject'](_0xd0ad32,_0x501305);return _0x1ea1a6['length']>0x0?Duration['fromMillis'](_0x831d1,_0x501305)['shiftTo'](..._0x1ea1a6)['plus'](_0x552507):_0x552507;}const _0x2e3a40='missing\x20Intl.DateTimeFormat.formatToParts\x20support';function intUnit(_0x50c37d,_0x3487de=_0x39b791=>_0x39b791){return{'regex':_0x50c37d,'deser':([_0x45afec])=>_0x3487de(parseDigits(_0x45afec))};}const _0x36eb32=String['fromCharCode'](0xa0),_0x501c2f='[\x20'+_0x36eb32+']',_0x1fa978=new RegExp(_0x501c2f,'g');function fixListRegex(_0x444b84){return _0x444b84['replace'](/\./g,'\x5c.?')['replace'](_0x1fa978,_0x501c2f);}function stripInsensitivities(_0x528cfa){return _0x528cfa['replace'](/\./g,'')['replace'](_0x1fa978,'\x20')['toLowerCase']();}function _0x52c25b(_0x30dd75,_0x529724){return null===_0x30dd75?null:{'regex':RegExp(_0x30dd75['map'](fixListRegex)['join']('|')),'deser':([_0x2d784c])=>_0x30dd75['findIndex'](_0x4794f0=>stripInsensitivities(_0x2d784c)===stripInsensitivities(_0x4794f0))+_0x529724};}function offset(_0x39bac4,_0x180a6e){return{'regex':_0x39bac4,'deser':([,_0x4e5a13,_0x1aad8b])=>signedOffset(_0x4e5a13,_0x1aad8b),'groups':_0x180a6e};}function _0x4d6f10(_0x1debff){return{'regex':_0x1debff,'deser':([_0x4c1751])=>_0x4c1751};}function _0x3189be(_0x3c57f9){return _0x3c57f9['replace'](/[\-\[\]{}()*+?.,\\\^$|#\s]/g,'\x5c$&');}function unitForToken(_0x240dcf,_0x366a94){const _0x2579d7=digitRegex(_0x366a94),_0x281dae=digitRegex(_0x366a94,'{2}'),_0x947c13=digitRegex(_0x366a94,'{3}'),_0x19c17c=digitRegex(_0x366a94,'{4}'),_0x49439f=digitRegex(_0x366a94,'{6}'),_0x2298db=digitRegex(_0x366a94,'{1,2}'),_0x109a80=digitRegex(_0x366a94,'{1,3}'),_0x3e1acf=digitRegex(_0x366a94,'{1,6}'),_0x3f5146=digitRegex(_0x366a94,'{1,9}'),_0x430b54=digitRegex(_0x366a94,'{2,4}'),_0x124932=digitRegex(_0x366a94,'{4,6}'),_0x38ff64=t=>({'regex':RegExp(_0x3189be(t['val'])),'deser':([_0x1f4493])=>_0x1f4493,'literal':!0x0}),_0xb60c96=(t=>{if(_0x240dcf['literal'])return _0x38ff64(t);switch(t['val']){case'G':return _0x52c25b(_0x366a94['eras']('short'),0x0);case'GG':return _0x52c25b(_0x366a94['eras']('long'),0x0);case'y':return intUnit(_0x3e1acf);case'yy':case'kk':return intUnit(_0x430b54,untruncateYear);case'yyyy':case'kkkk':return intUnit(_0x19c17c);case'yyyyy':return intUnit(_0x124932);case'yyyyyy':return intUnit(_0x49439f);case'M':case'L':case'd':case'H':case'h':case'm':case'q':case's':case'W':return intUnit(_0x2298db);case'MM':case'LL':case'dd':case'HH':case'hh':case'mm':case'qq':case'ss':case'WW':return intUnit(_0x281dae);case'MMM':return _0x52c25b(_0x366a94['months']('short',!0x0),0x1);case'MMMM':return _0x52c25b(_0x366a94['months']('long',!0x0),0x1);case'LLL':return _0x52c25b(_0x366a94['months']('short',!0x1),0x1);case'LLLL':return _0x52c25b(_0x366a94['months']('long',!0x1),0x1);case'o':case'S':return intUnit(_0x109a80);case'ooo':case'SSS':return intUnit(_0x947c13);case'u':return _0x4d6f10(_0x3f5146);case'uu':return _0x4d6f10(_0x2298db);case'uuu':case'E':case'c':return intUnit(_0x2579d7);case'a':return _0x52c25b(_0x366a94['meridiems'](),0x0);case'EEE':return _0x52c25b(_0x366a94['weekdays']('short',!0x1),0x1);case'EEEE':return _0x52c25b(_0x366a94['weekdays']('long',!0x1),0x1);case'ccc':return _0x52c25b(_0x366a94['weekdays']('short',!0x0),0x1);case'cccc':return _0x52c25b(_0x366a94['weekdays']('long',!0x0),0x1);case'Z':case'ZZ':return offset(new RegExp('([+-]'+_0x2298db['source']+')(?::('+_0x281dae['source']+'))?'),0x2);case'ZZZ':return offset(new RegExp('([+-]'+_0x2298db['source']+')('+_0x281dae['source']+')?'),0x2);case'z':return _0x4d6f10(/[a-z_+-/]{1,256}?/i);case'\x20':return _0x4d6f10(/[^\S\n\r]/);default:return _0x38ff64(t);}})(_0x240dcf)||{'invalidReason':_0x2e3a40};return _0xb60c96['token']=_0x240dcf,_0xb60c96;}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(_0x134a43,_0x1b0388,_0x1b7c9c){const {type:_0x32b9d4,value:_0x49a127}=_0x134a43;if('literal'===_0x32b9d4){const _0x4da37c=/^\s+$/['test'](_0x49a127);return{'literal':!_0x4da37c,'val':_0x4da37c?'\x20':_0x49a127};}const _0x21848b=_0x1b0388[_0x32b9d4];let _0x1d379e=_0x32b9d4;'hour'===_0x32b9d4&&(_0x1d379e=null!=_0x1b0388['hour12']?_0x1b0388['hour12']?'hour12':'hour24':null!=_0x1b0388['hourCycle']?'h11'===_0x1b0388['hourCycle']||'h12'===_0x1b0388['hourCycle']?'hour12':'hour24':_0x1b7c9c['hour12']?'hour12':'hour24');let _0x2bb5ae=partTypeStyleToTokenVal[_0x1d379e];if('object'==typeof _0x2bb5ae&&(_0x2bb5ae=_0x2bb5ae[_0x21848b]),_0x2bb5ae)return{'literal':!0x1,'val':_0x2bb5ae};}function _0x496d76(_0x1d2d07){const _0x4943b0=_0x1d2d07['map'](_0x509cdc=>_0x509cdc['regex'])['reduce']((_0x1a0e38,_0x2ea9c4)=>_0x1a0e38+'('+_0x2ea9c4['source']+')','');return['^'+_0x4943b0+'$',_0x1d2d07];}function match(_0x1746d9,_0x3bdc6c,_0x4dc022){const _0x124141=_0x1746d9['match'](_0x3bdc6c);if(_0x124141){const _0x69c0a8={};let _0x1656cd=0x1;for(const _0x1ee88b in _0x4dc022)if(hasOwnProperty(_0x4dc022,_0x1ee88b)){const _0x4540a3=_0x4dc022[_0x1ee88b],_0x4ef4ae=_0x4540a3['groups']?_0x4540a3['groups']+0x1:0x1;!_0x4540a3['literal']&&_0x4540a3['token']&&(_0x69c0a8[_0x4540a3['token']['val'][0x0]]=_0x4540a3['deser'](_0x124141['slice'](_0x1656cd,_0x1656cd+_0x4ef4ae))),_0x1656cd+=_0x4ef4ae;}return[_0x124141,_0x69c0a8];}return[_0x124141,{}];}function dateTimeFromMatches(_0x5e01fa){let _0x1d424d,_0x88a516=null;_0x47d16a(_0x5e01fa['z'])||(_0x88a516=_0x1d016['create'](_0x5e01fa['z'])),_0x47d16a(_0x5e01fa['Z'])||(_0x88a516||(_0x88a516=new FixedOffsetZone(_0x5e01fa['Z'])),_0x1d424d=_0x5e01fa['Z']),_0x47d16a(_0x5e01fa['q'])||(_0x5e01fa['M']=0x3*(_0x5e01fa['q']-0x1)+0x1),_0x47d16a(_0x5e01fa['h'])||(_0x5e01fa['h']<0xc&&0x1===_0x5e01fa['a']?_0x5e01fa['h']+=0xc:0xc===_0x5e01fa['h']&&0x0===_0x5e01fa['a']&&(_0x5e01fa['h']=0x0)),0x0===_0x5e01fa['G']&&_0x5e01fa['y']&&(_0x5e01fa['y']=-_0x5e01fa['y']),_0x47d16a(_0x5e01fa['u'])||(_0x5e01fa['S']=_0x599f9d(_0x5e01fa['u']));const _0x5727e0=Object['keys'](_0x5e01fa)['reduce']((_0x4bf535,_0x14cec4)=>{const _0x4dc957=(_0x309910=>{switch(_0x309910){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;}})(_0x14cec4);return _0x4dc957&&(_0x4bf535[_0x4dc957]=_0x5e01fa[_0x14cec4]),_0x4bf535;},{});return[_0x5727e0,_0x88a516,_0x1d424d];}let dummyDateTimeCache=null;function getDummyDateTime(){return dummyDateTimeCache||(dummyDateTimeCache=DateTime['fromMillis'](0x16a2e5618e3)),dummyDateTimeCache;}function _0x346dad(_0x33b93b,_0x352a1d){if(_0x33b93b['literal'])return _0x33b93b;const _0x3a5101=formatOptsToTokens(Formatter['macroTokenToFormatOpts'](_0x33b93b['val']),_0x352a1d);return null==_0x3a5101||_0x3a5101['includes'](void 0x0)?_0x33b93b:_0x3a5101;}function _0x53e886(_0x100ea6,_0x18fe28){return Array['prototype']['concat'](..._0x100ea6['map'](t=>_0x346dad(t,_0x18fe28)));}class _0x43dcde{constructor(_0x300ed4,_0x34f647){if(this['locale']=_0x300ed4,this['format']=_0x34f647,this['tokens']=_0x53e886(Formatter['parseFormat'](_0x34f647),_0x300ed4),this['units']=this['tokens']['map'](t=>unitForToken(t,_0x300ed4)),this['disqualifyingUnit']=this['units']['find'](t=>t['invalidReason']),!this['disqualifyingUnit']){const [_0x22dff2,_0x165d1b]=_0x496d76(this['units']);this['regex']=RegExp(_0x22dff2,'i'),this['handlers']=_0x165d1b;}}['explainFromTokens'](_0x123b8d){if(this['isValid']){const [_0x1cf1fc,_0x30e968]=match(_0x123b8d,this['regex'],this['handlers']),[_0xc494ab,_0x42d509,_0x3ed4e4]=_0x30e968?dateTimeFromMatches(_0x30e968):[null,null,void 0x0];if(hasOwnProperty(_0x30e968,'a')&&hasOwnProperty(_0x30e968,'H'))throw new ConflictingSpecificationError('Can\x27t\x20include\x20meridiem\x20when\x20specifying\x2024-hour\x20format');return{'input':_0x123b8d,'tokens':this['tokens'],'regex':this['regex'],'rawMatches':_0x1cf1fc,'matches':_0x30e968,'result':_0xc494ab,'zone':_0x42d509,'specificOffset':_0x3ed4e4};}return{'input':_0x123b8d,'tokens':this['tokens'],'invalidReason':this['invalidReason']};}get['isValid'](){return!this['disqualifyingUnit'];}get['invalidReason'](){return this['disqualifyingUnit']?this['disqualifyingUnit']['invalidReason']:null;}}function _0x1b3137(_0x521837,_0x3389e8,_0x20c50e){return new _0x43dcde(_0x521837,_0x20c50e)['explainFromTokens'](_0x3389e8);}function _0x1df62d(_0x59d907,_0x173c61,_0xea60cf){const {result:_0x50ceb7,zone:_0x5c4e1d,specificOffset:_0x2759c0,invalidReason:_0x358be3}=_0x1b3137(_0x59d907,_0x173c61,_0xea60cf);return[_0x50ceb7,_0x5c4e1d,_0x2759c0,_0x358be3];}function formatOptsToTokens(_0xc0af69,_0x1f21d9){if(!_0xc0af69)return null;const _0x177f08=Formatter['create'](_0x1f21d9,_0xc0af69)['dtFormatter'](getDummyDateTime()),_0x4c6b6a=_0x177f08['formatToParts'](),_0x35287b=_0x177f08['resolvedOptions']();return _0x4c6b6a['map'](_0x41943a=>tokenForPart(_0x41943a,_0xc0af69,_0x35287b));}const _0x59592e='Invalid\x20DateTime',_0x56d54f=0x1eb208c2dc0000;function unsupportedZone(_0x26a42e){return new _0x20838e('unsupported\x20zone','the\x20zone\x20\x22'+_0x26a42e['name']+'\x22\x20is\x20not\x20supported');}function possiblyCachedWeekData(_0x42a265){return null===_0x42a265['weekData']&&(_0x42a265['weekData']=_0x2176df(_0x42a265['c'])),_0x42a265['weekData'];}function possiblyCachedLocalWeekData(_0x527a1f){return null===_0x527a1f['localWeekData']&&(_0x527a1f['localWeekData']=_0x2176df(_0x527a1f['c'],_0x527a1f['loc']['getMinDaysInFirstWeek'](),_0x527a1f['loc']['getStartOfWeek']())),_0x527a1f['localWeekData'];}function _0x24e995(_0x4e73b0,_0x25757f){const _0x314bde={'ts':_0x4e73b0['ts'],'zone':_0x4e73b0['zone'],'c':_0x4e73b0['c'],'o':_0x4e73b0['o'],'loc':_0x4e73b0['loc'],'invalid':_0x4e73b0['invalid']};return new DateTime({..._0x314bde,..._0x25757f,'old':_0x314bde});}function fixOffset(_0x1095e0,_0x2ebc2d,_0x4e4ab9){let _0x5bf43f=_0x1095e0-0x3c*_0x2ebc2d*0x3e8;const _0x31989b=_0x4e4ab9['offset'](_0x5bf43f);if(_0x2ebc2d===_0x31989b)return[_0x5bf43f,_0x2ebc2d];_0x5bf43f-=0x3c*(_0x31989b-_0x2ebc2d)*0x3e8;const _0x2c328b=_0x4e4ab9['offset'](_0x5bf43f);return _0x31989b===_0x2c328b?[_0x5bf43f,_0x31989b]:[_0x1095e0-0x3c*Math['min'](_0x31989b,_0x2c328b)*0x3e8,Math['max'](_0x31989b,_0x2c328b)];}function tsToObj(_0x39cfee,_0x4d076c){const _0x1fef96=new Date(_0x39cfee+=0x3c*_0x4d076c*0x3e8);return{'year':_0x1fef96['getUTCFullYear'](),'month':_0x1fef96['getUTCMonth']()+0x1,'day':_0x1fef96['getUTCDate'](),'hour':_0x1fef96['getUTCHours'](),'minute':_0x1fef96['getUTCMinutes'](),'second':_0x1fef96['getUTCSeconds'](),'millisecond':_0x1fef96['getUTCMilliseconds']()};}function _0x1f7728(_0x1b833c,_0x3b4215,_0x265474){return fixOffset(_0x129853(_0x1b833c),_0x3b4215,_0x265474);}function adjustTime(_0x3e0a30,_0xd092e0){const _0x300d34=_0x3e0a30['o'],_0x39edab=_0x3e0a30['c']['year']+Math['trunc'](_0xd092e0['years']),_0x33cac1=_0x3e0a30['c']['month']+Math['trunc'](_0xd092e0['months'])+0x3*Math['trunc'](_0xd092e0['quarters']),_0x430265={..._0x3e0a30['c'],'year':_0x39edab,'month':_0x33cac1,'day':Math['min'](_0x3e0a30['c']['day'],daysInMonth(_0x39edab,_0x33cac1))+Math['trunc'](_0xd092e0['days'])+0x7*Math['trunc'](_0xd092e0['weeks'])},_0x538761=Duration['fromObject']({'years':_0xd092e0['years']-Math['trunc'](_0xd092e0['years']),'quarters':_0xd092e0['quarters']-Math['trunc'](_0xd092e0['quarters']),'months':_0xd092e0['months']-Math['trunc'](_0xd092e0['months']),'weeks':_0xd092e0['weeks']-Math['trunc'](_0xd092e0['weeks']),'days':_0xd092e0['days']-Math['trunc'](_0xd092e0['days']),'hours':_0xd092e0['hours'],'minutes':_0xd092e0['minutes'],'seconds':_0xd092e0['seconds'],'milliseconds':_0xd092e0['milliseconds']})['as']('milliseconds'),_0x44d578=_0x129853(_0x430265);let [_0x370c96,_0x4663c8]=fixOffset(_0x44d578,_0x300d34,_0x3e0a30['zone']);return 0x0!==_0x538761&&(_0x370c96+=_0x538761,_0x4663c8=_0x3e0a30['zone']['offset'](_0x370c96)),{'ts':_0x370c96,'o':_0x4663c8};}function parseDataToDateTime(_0x1dab5c,_0x5d4cdf,_0x344b9f,_0x3aee33,_0x26c703,_0xf420dd){const {setZone:_0x115aed,zone:_0x25e85b}=_0x344b9f;if(_0x1dab5c&&0x0!==Object['keys'](_0x1dab5c)['length']||_0x5d4cdf){const _0x3a2019=_0x5d4cdf||_0x25e85b,_0x384346=DateTime['fromObject'](_0x1dab5c,{..._0x344b9f,'zone':_0x3a2019,'specificOffset':_0xf420dd});return _0x115aed?_0x384346:_0x384346['setZone'](_0x25e85b);}return DateTime['invalid'](new _0x20838e('unparsable','the\x20input\x20\x22'+_0x26c703+'\x22\x20can\x27t\x20be\x20parsed\x20as\x20'+_0x3aee33));}function toTechFormat(_0x80432e,_0x144583,_0x3601a2=!0x0){return _0x80432e['isValid']?Formatter['create'](_0x2923a3['create']('en-US'),{'allowZ':_0x3601a2,'forceSimple':!0x0})['formatDateTimeFromString'](_0x80432e,_0x144583):null;}function toISODate(_0x48f573,_0x57fadc){const _0x5a0869=_0x48f573['c']['year']>0x270f||_0x48f573['c']['year']<0x0;let _0x4a4278='';return _0x5a0869&&_0x48f573['c']['year']>=0x0&&(_0x4a4278+='+'),_0x4a4278+=padStart(_0x48f573['c']['year'],_0x5a0869?0x6:0x4),_0x57fadc?(_0x4a4278+='-',_0x4a4278+=padStart(_0x48f573['c']['month']),_0x4a4278+='-',_0x4a4278+=padStart(_0x48f573['c']['day'])):(_0x4a4278+=padStart(_0x48f573['c']['month']),_0x4a4278+=padStart(_0x48f573['c']['day'])),_0x4a4278;}function toISOTime(_0x751ef3,_0x66a9b2,_0x3534b6,_0x1c0104,_0x54c77a,_0xf715a){let _0x266a08=padStart(_0x751ef3['c']['hour']);return _0x66a9b2?(_0x266a08+=':',_0x266a08+=padStart(_0x751ef3['c']['minute']),0x0===_0x751ef3['c']['millisecond']&&0x0===_0x751ef3['c']['second']&&_0x3534b6||(_0x266a08+=':')):_0x266a08+=padStart(_0x751ef3['c']['minute']),0x0===_0x751ef3['c']['millisecond']&&0x0===_0x751ef3['c']['second']&&_0x3534b6||(_0x266a08+=padStart(_0x751ef3['c']['second']),0x0===_0x751ef3['c']['millisecond']&&_0x1c0104||(_0x266a08+='.',_0x266a08+=padStart(_0x751ef3['c']['millisecond'],0x3))),_0x54c77a&&(_0x751ef3['isOffsetFixed']&&0x0===_0x751ef3['offset']&&!_0xf715a?_0x266a08+='Z':_0x751ef3['o']<0x0?(_0x266a08+='-',_0x266a08+=padStart(Math['trunc'](-_0x751ef3['o']/0x3c)),_0x266a08+=':',_0x266a08+=padStart(Math['trunc'](-_0x751ef3['o']%0x3c))):(_0x266a08+='+',_0x266a08+=padStart(Math['trunc'](_0x751ef3['o']/0x3c)),_0x266a08+=':',_0x266a08+=padStart(Math['trunc'](_0x751ef3['o']%0x3c)))),_0xf715a&&(_0x266a08+='['+_0x751ef3['zone']['ianaName']+']'),_0x266a08;}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(_0x28c31f){const _0x2f0dfa={'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'}[_0x28c31f['toLowerCase']()];if(!_0x2f0dfa)throw new InvalidUnitError(_0x28c31f);return _0x2f0dfa;}function normalizeUnitWithLocalWeeks(_0x398d95){switch(_0x398d95['toLowerCase']()){case'localweekday':case'localweekdays':return'localWeekday';case'localweeknumber':case'localweeknumbers':return'localWeekNumber';case'localweekyear':case'localweekyears':return'localWeekYear';default:return normalizeUnit(_0x398d95);}}function guessOffsetForZone(_0x2a0945){if(void 0x0===zoneOffsetTs&&(zoneOffsetTs=Settings['now']()),'iana'!==_0x2a0945['type'])return _0x2a0945['offset'](zoneOffsetTs);const _0x133ccb=_0x2a0945['name'];let _0x34c97e=zoneOffsetGuessCache['get'](_0x133ccb);return void 0x0===_0x34c97e&&(_0x34c97e=_0x2a0945['offset'](zoneOffsetTs),zoneOffsetGuessCache['set'](_0x133ccb,_0x34c97e)),_0x34c97e;}function _0xf4a71a(_0x1397b6,_0x47f8aa){const _0x4ec40a=_0x473b21(_0x47f8aa['zone'],Settings['defaultZone']);if(!_0x4ec40a['isValid'])return DateTime['invalid'](unsupportedZone(_0x4ec40a));const _0x186f58=_0x2923a3['fromObject'](_0x47f8aa);let _0x5557d2,_0x1f5680;if(_0x47d16a(_0x1397b6['year']))_0x5557d2=Settings['now']();else{for(const _0x109914 of orderedUnits)_0x47d16a(_0x1397b6[_0x109914])&&(_0x1397b6[_0x109914]=defaultUnitValues[_0x109914]);const _0x7868fb=hasInvalidGregorianData(_0x1397b6)||hasInvalidTimeData(_0x1397b6);if(_0x7868fb)return DateTime['invalid'](_0x7868fb);const _0x47d35d=guessOffsetForZone(_0x4ec40a);[_0x5557d2,_0x1f5680]=_0x1f7728(_0x1397b6,_0x47d35d,_0x4ec40a);}return new DateTime({'ts':_0x5557d2,'zone':_0x4ec40a,'loc':_0x186f58,'o':_0x1f5680});}function diffRelative(_0x57f82c,_0x574272,_0x318623){const _0x23961b=!!_0x47d16a(_0x318623['round'])||_0x318623['round'],_0x35cc1d=(_0x5cb7f3,_0x3d2bf4)=>{return _0x5cb7f3=_0x4cba8c(_0x5cb7f3,_0x23961b||_0x318623['calendary']?0x0:0x2,!0x0),_0x574272['loc']['clone'](_0x318623)['relFormatter'](_0x318623)['format'](_0x5cb7f3,_0x3d2bf4);},_0x185dd4=_0x2b23c7=>_0x318623['calendary']?_0x574272['hasSame'](_0x57f82c,_0x2b23c7)?0x0:_0x574272['startOf'](_0x2b23c7)['diff'](_0x57f82c['startOf'](_0x2b23c7),_0x2b23c7)['get'](_0x2b23c7):_0x574272['diff'](_0x57f82c,_0x2b23c7)['get'](_0x2b23c7);if(_0x318623['unit'])return _0x35cc1d(_0x185dd4(_0x318623['unit']),_0x318623['unit']);for(const _0x5b7da4 of _0x318623['units']){const _0x2f75d7=_0x185dd4(_0x5b7da4);if(Math['abs'](_0x2f75d7)>=0x1)return _0x35cc1d(_0x2f75d7,_0x5b7da4);}return _0x35cc1d(_0x57f82c>_0x574272?-0x0:0x0,_0x318623['units'][_0x318623['units']['length']-0x1]);}function lastOpts(_0x4d673e){let _0x14ceb2,_0x41c2d8={};return _0x4d673e['length']>0x0&&'object'==typeof _0x4d673e[_0x4d673e['length']-0x1]?(_0x41c2d8=_0x4d673e[_0x4d673e['length']-0x1],_0x14ceb2=Array['from'](_0x4d673e)['slice'](0x0,_0x4d673e['length']-0x1)):_0x14ceb2=Array['from'](_0x4d673e),[_0x41c2d8,_0x14ceb2];}let zoneOffsetTs;const zoneOffsetGuessCache=new Map();class DateTime{constructor(_0x5564a3){const _0x2e5646=_0x5564a3['zone']||Settings['defaultZone'];let _0x4d47da=_0x5564a3['invalid']||(Number['isNaN'](_0x5564a3['ts'])?new _0x20838e('invalid\x20input'):null)||(_0x2e5646['isValid']?null:unsupportedZone(_0x2e5646));this['ts']=_0x47d16a(_0x5564a3['ts'])?Settings['now']():_0x5564a3['ts'];let _0xa9c0e5=null,_0x4e7414=null;if(!_0x4d47da){if(_0x5564a3['old']&&_0x5564a3['old']['ts']===this['ts']&&_0x5564a3['old']['zone']['equals'](_0x2e5646))[_0xa9c0e5,_0x4e7414]=[_0x5564a3['old']['c'],_0x5564a3['old']['o']];else{const _0x25873b=_0x4fa3ec(_0x5564a3['o'])&&!_0x5564a3['old']?_0x5564a3['o']:_0x2e5646['offset'](this['ts']);_0xa9c0e5=tsToObj(this['ts'],_0x25873b),_0x4d47da=Number['isNaN'](_0xa9c0e5['year'])?new _0x20838e('invalid\x20input'):null,_0xa9c0e5=_0x4d47da?null:_0xa9c0e5,_0x4e7414=_0x4d47da?null:_0x25873b;}}this['_zone']=_0x2e5646,this['loc']=_0x5564a3['loc']||_0x2923a3['create'](),this['invalid']=_0x4d47da,this['weekData']=null,this['localWeekData']=null,this['c']=_0xa9c0e5,this['o']=_0x4e7414,this['isLuxonDateTime']=!0x0;}static['now'](){return new DateTime({});}static['local'](){const [_0x1bedcf,_0x547010]=lastOpts(arguments),[_0x465ee7,_0x344d93,_0x11e042,_0x58d6e7,_0x31119f,_0x4a933e,_0x59e1bc]=_0x547010;return _0xf4a71a({'year':_0x465ee7,'month':_0x344d93,'day':_0x11e042,'hour':_0x58d6e7,'minute':_0x31119f,'second':_0x4a933e,'millisecond':_0x59e1bc},_0x1bedcf);}static['utc'](){const [_0x2068fa,_0xbb8231]=lastOpts(arguments),[_0x575fa1,_0x1fd384,_0x4263ed,_0x43c282,_0xc2c3c5,_0x1be506,_0x4651e2]=_0xbb8231;return _0x2068fa['zone']=FixedOffsetZone['utcInstance'],_0xf4a71a({'year':_0x575fa1,'month':_0x1fd384,'day':_0x4263ed,'hour':_0x43c282,'minute':_0xc2c3c5,'second':_0x1be506,'millisecond':_0x4651e2},_0x2068fa);}static['fromJSDate'](_0x26381e,_0x5241fa={}){const _0x578523=isDate(_0x26381e)?_0x26381e['valueOf']():NaN;if(Number['isNaN'](_0x578523))return DateTime['invalid']('invalid\x20input');const _0x67882e=_0x473b21(_0x5241fa['zone'],Settings['defaultZone']);return _0x67882e['isValid']?new DateTime({'ts':_0x578523,'zone':_0x67882e,'loc':_0x2923a3['fromObject'](_0x5241fa)}):DateTime['invalid'](unsupportedZone(_0x67882e));}static['fromMillis'](_0x52060f,_0x596801={}){if(_0x4fa3ec(_0x52060f))return _0x52060f<-_0x56d54f||_0x52060f>_0x56d54f?DateTime['invalid']('Timestamp\x20out\x20of\x20range'):new DateTime({'ts':_0x52060f,'zone':_0x473b21(_0x596801['zone'],Settings['defaultZone']),'loc':_0x2923a3['fromObject'](_0x596801)});throw new InvalidArgumentError('fromMillis\x20requires\x20a\x20numerical\x20input,\x20but\x20received\x20a\x20'+typeof _0x52060f+'\x20with\x20value\x20'+_0x52060f);}static['fromSeconds'](_0x1c1eed,_0x24a65e={}){if(_0x4fa3ec(_0x1c1eed))return new DateTime({'ts':0x3e8*_0x1c1eed,'zone':_0x473b21(_0x24a65e['zone'],Settings['defaultZone']),'loc':_0x2923a3['fromObject'](_0x24a65e)});throw new InvalidArgumentError('fromSeconds\x20requires\x20a\x20numerical\x20input');}static['fromObject'](_0x37a43b,_0x284152={}){_0x37a43b=_0x37a43b||{};const _0x4065ca=_0x473b21(_0x284152['zone'],Settings['defaultZone']);if(!_0x4065ca['isValid'])return DateTime['invalid'](unsupportedZone(_0x4065ca));const _0x5b81c3=_0x2923a3['fromObject'](_0x284152),_0x5028b0=normalizeObject(_0x37a43b,normalizeUnitWithLocalWeeks),{minDaysInFirstWeek:_0x3bab86,startOfWeek:_0x24683e}=_0x3c57b6(_0x5028b0,_0x5b81c3),_0x66f33f=Settings['now'](),_0xa01deb=_0x47d16a(_0x284152['specificOffset'])?_0x4065ca['offset'](_0x66f33f):_0x284152['specificOffset'],_0x4fc8f9=!_0x47d16a(_0x5028b0['ordinal']),_0x2165c6=!_0x47d16a(_0x5028b0['year']),_0x4f75e7=!_0x47d16a(_0x5028b0['month'])||!_0x47d16a(_0x5028b0['day']),_0x459978=_0x2165c6||_0x4f75e7,_0x4e8414=_0x5028b0['weekYear']||_0x5028b0['weekNumber'];if((_0x459978||_0x4fc8f9)&&_0x4e8414)throw new ConflictingSpecificationError('Can\x27t\x20mix\x20weekYear/weekNumber\x20units\x20with\x20year/month/day\x20or\x20ordinals');if(_0x4f75e7&&_0x4fc8f9)throw new ConflictingSpecificationError('Can\x27t\x20mix\x20ordinal\x20dates\x20with\x20month/day');const _0x41e055=_0x4e8414||_0x5028b0['weekday']&&!_0x459978;let _0x4e463b,_0x5f254d,_0x23aa83=tsToObj(_0x66f33f,_0xa01deb);_0x41e055?(_0x4e463b=orderedWeekUnits,_0x5f254d=defaultWeekUnitValues,_0x23aa83=_0x2176df(_0x23aa83,_0x3bab86,_0x24683e)):_0x4fc8f9?(_0x4e463b=orderedOrdinalUnits,_0x5f254d=defaultOrdinalUnitValues,_0x23aa83=_0x5a4859(_0x23aa83)):(_0x4e463b=orderedUnits,_0x5f254d=defaultUnitValues);let _0x1025ca=!0x1;for(const _0x1d30dd of _0x4e463b){_0x47d16a(_0x5028b0[_0x1d30dd])?_0x5028b0[_0x1d30dd]=_0x1025ca?_0x5f254d[_0x1d30dd]:_0x23aa83[_0x1d30dd]:_0x1025ca=!0x0;}const _0x3d0d51=(_0x41e055?hasInvalidWeekData(_0x5028b0,_0x3bab86,_0x24683e):_0x4fc8f9?hasInvalidOrdinalData(_0x5028b0):hasInvalidGregorianData(_0x5028b0))||hasInvalidTimeData(_0x5028b0);if(_0x3d0d51)return DateTime['invalid'](_0x3d0d51);const _0x199438=_0x41e055?_0xf3e40e(_0x5028b0,_0x3bab86,_0x24683e):_0x4fc8f9?_0xffaf14(_0x5028b0):_0x5028b0,[_0x5f4532,_0x43d123]=_0x1f7728(_0x199438,_0xa01deb,_0x4065ca),_0xf5f421=new DateTime({'ts':_0x5f4532,'zone':_0x4065ca,'o':_0x43d123,'loc':_0x5b81c3});return _0x5028b0['weekday']&&_0x459978&&_0x37a43b['weekday']!==_0xf5f421['weekday']?DateTime['invalid']('mismatched\x20weekday','you\x20can\x27t\x20specify\x20both\x20a\x20weekday\x20of\x20'+_0x5028b0['weekday']+'\x20and\x20a\x20date\x20of\x20'+_0xf5f421['toISO']()):_0xf5f421['isValid']?_0xf5f421:DateTime['invalid'](_0xf5f421['invalid']);}static['fromISO'](_0x401475,_0x549d12={}){const [_0x251b58,_0x580cb0]=parseISODate(_0x401475);return parseDataToDateTime(_0x251b58,_0x580cb0,_0x549d12,'ISO\x208601',_0x401475);}static['fromRFC2822'](_0x192b32,_0xf4c551={}){const [_0x870116,_0x503819]=parseRFC2822Date(_0x192b32);return parseDataToDateTime(_0x870116,_0x503819,_0xf4c551,'RFC\x202822',_0x192b32);}static['fromHTTP'](_0xa01371,_0x48611f={}){const [_0x5455db,_0x570906]=parseHTTPDate(_0xa01371);return parseDataToDateTime(_0x5455db,_0x570906,_0x48611f,'HTTP',_0x48611f);}static['fromFormat'](_0x2bc6f5,_0xb57786,_0x422885={}){if(_0x47d16a(_0x2bc6f5)||_0x47d16a(_0xb57786))throw new InvalidArgumentError('fromFormat\x20requires\x20an\x20input\x20string\x20and\x20a\x20format');const {locale:_0xab2bea=null,numberingSystem:_0x273c0d=null}=_0x422885,_0x39b370=_0x2923a3['fromOpts']({'locale':_0xab2bea,'numberingSystem':_0x273c0d,'defaultToEN':!0x0}),[_0x3e60fe,_0x50d871,_0x101bb5,_0x1bfb4c]=_0x1df62d(_0x39b370,_0x2bc6f5,_0xb57786);return _0x1bfb4c?DateTime['invalid'](_0x1bfb4c):parseDataToDateTime(_0x3e60fe,_0x50d871,_0x422885,'format\x20'+_0xb57786,_0x2bc6f5,_0x101bb5);}static['fromString'](_0x1e630c,_0x4b1cf9,_0x1b42b3={}){return DateTime['fromFormat'](_0x1e630c,_0x4b1cf9,_0x1b42b3);}static['fromSQL'](_0xa723cc,_0x45c631={}){const [_0x5dcf0a,_0x10f12d]=_0x2456df(_0xa723cc);return parseDataToDateTime(_0x5dcf0a,_0x10f12d,_0x45c631,'SQL',_0xa723cc);}static['invalid'](_0x3540b4,_0x2c4e00=null){if(!_0x3540b4)throw new InvalidArgumentError('need\x20to\x20specify\x20a\x20reason\x20the\x20DateTime\x20is\x20invalid');const _0x3b8e2e=_0x3540b4 instanceof _0x20838e?_0x3540b4:new _0x20838e(_0x3540b4,_0x2c4e00);if(Settings['throwOnInvalid'])throw new InvalidDateTimeError(_0x3b8e2e);return new DateTime({'invalid':_0x3b8e2e});}static['isDateTime'](_0x565fd7){return _0x565fd7&&_0x565fd7['isLuxonDateTime']||!0x1;}static['parseFormatForOpts'](_0x320485,_0x56827d={}){const _0x494290=formatOptsToTokens(_0x320485,_0x2923a3['fromObject'](_0x56827d));return _0x494290?_0x494290['map'](t=>t?t['val']:null)['join'](''):null;}static['expandFormat'](_0x4c8865,_0x561d1b={}){return _0x53e886(Formatter['parseFormat'](_0x4c8865),_0x2923a3['fromObject'](_0x561d1b))['map'](t=>t['val'])['join']('');}static['resetCache'](){zoneOffsetTs=void 0x0,zoneOffsetGuessCache['clear']();}['get'](_0x30ad49){return this[_0x30ad49];}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']?_0x5a4859(this['c'])['ordinal']:NaN;}get['monthShort'](){return this['isValid']?_0x145f5b['months']('short',{'locObj':this['loc']})[this['month']-0x1]:null;}get['monthLong'](){return this['isValid']?_0x145f5b['months']('long',{'locObj':this['loc']})[this['month']-0x1]:null;}get['weekdayShort'](){return this['isValid']?_0x145f5b['weekdays']('short',{'locObj':this['loc']})[this['weekday']-0x1]:null;}get['weekdayLong'](){return this['isValid']?_0x145f5b['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 _0x2ca565=0x5265c00,_0x1e52a4=0xea60,_0x5c402f=_0x129853(this['c']),_0x11260a=this['zone']['offset'](_0x5c402f-_0x2ca565),_0x592f93=this['zone']['offset'](_0x5c402f+_0x2ca565),_0x5a72ec=this['zone']['offset'](_0x5c402f-_0x11260a*_0x1e52a4),_0x44807b=this['zone']['offset'](_0x5c402f-_0x592f93*_0x1e52a4);if(_0x5a72ec===_0x44807b)return[this];const _0x3ee508=_0x5c402f-_0x5a72ec*_0x1e52a4,_0x1fe02d=_0x5c402f-_0x44807b*_0x1e52a4,_0x1f0a6a=tsToObj(_0x3ee508,_0x5a72ec),_0x4f5a24=tsToObj(_0x1fe02d,_0x44807b);return _0x1f0a6a['hour']===_0x4f5a24['hour']&&_0x1f0a6a['minute']===_0x4f5a24['minute']&&_0x1f0a6a['second']===_0x4f5a24['second']&&_0x1f0a6a['millisecond']===_0x4f5a24['millisecond']?[_0x24e995(this,{'ts':_0x3ee508}),_0x24e995(this,{'ts':_0x1fe02d})]:[this];}get['isInLeapYear'](){return _0x8a5b75(this['year']);}get['daysInMonth'](){return daysInMonth(this['year'],this['month']);}get['daysInYear'](){return this['isValid']?_0x253d61(this['year']):NaN;}get['weeksInWeekYear'](){return this['isValid']?_0x10deed(this['weekYear']):NaN;}get['weeksInLocalWeekYear'](){return this['isValid']?_0x10deed(this['localWeekYear'],this['loc']['getMinDaysInFirstWeek'](),this['loc']['getStartOfWeek']()):NaN;}['resolvedLocaleOptions'](_0x4fc377={}){const {locale:_0x317342,numberingSystem:_0x37cfe8,calendar:_0x4c298d}=Formatter['create'](this['loc']['clone'](_0x4fc377),_0x4fc377)['resolvedOptions'](this);return{'locale':_0x317342,'numberingSystem':_0x37cfe8,'outputCalendar':_0x4c298d};}['toUTC'](_0x3e1b35=0x0,_0x818c22={}){return this['setZone'](FixedOffsetZone['instance'](_0x3e1b35),_0x818c22);}['toLocal'](){return this['setZone'](Settings['defaultZone']);}['setZone'](_0x1726c9,{keepLocalTime:_0x4e1e68=!0x1,keepCalendarTime:_0x10d0cd=!0x1}={}){if((_0x1726c9=_0x473b21(_0x1726c9,Settings['defaultZone']))['equals'](this['zone']))return this;if(_0x1726c9['isValid']){let _0x513d17=this['ts'];if(_0x4e1e68||_0x10d0cd){const _0x2b4198=_0x1726c9['offset'](this['ts']),_0x4878a1=this['toObject']();[_0x513d17]=_0x1f7728(_0x4878a1,_0x2b4198,_0x1726c9);}return _0x24e995(this,{'ts':_0x513d17,'zone':_0x1726c9});}return DateTime['invalid'](unsupportedZone(_0x1726c9));}['reconfigure']({locale:_0x54aaa4,numberingSystem:_0x28d658,outputCalendar:_0xe4fb6f}={}){return _0x24e995(this,{'loc':this['loc']['clone']({'locale':_0x54aaa4,'numberingSystem':_0x28d658,'outputCalendar':_0xe4fb6f})});}['setLocale'](_0x44760a){return this['reconfigure']({'locale':_0x44760a});}['set'](_0x5b7c11){if(!this['isValid'])return this;const _0x37355a=normalizeObject(_0x5b7c11,normalizeUnitWithLocalWeeks),{minDaysInFirstWeek:_0x176739,startOfWeek:_0x30accc}=_0x3c57b6(_0x37355a,this['loc']),_0x4fe96c=!_0x47d16a(_0x37355a['weekYear'])||!_0x47d16a(_0x37355a['weekNumber'])||!_0x47d16a(_0x37355a['weekday']),_0x4939ea=!_0x47d16a(_0x37355a['ordinal']),_0x3260ec=!_0x47d16a(_0x37355a['year']),_0x30ce42=!_0x47d16a(_0x37355a['month'])||!_0x47d16a(_0x37355a['day']),_0x5b18cf=_0x3260ec||_0x30ce42,_0x3aee47=_0x37355a['weekYear']||_0x37355a['weekNumber'];if((_0x5b18cf||_0x4939ea)&&_0x3aee47)throw new ConflictingSpecificationError('Can\x27t\x20mix\x20weekYear/weekNumber\x20units\x20with\x20year/month/day\x20or\x20ordinals');if(_0x30ce42&&_0x4939ea)throw new ConflictingSpecificationError('Can\x27t\x20mix\x20ordinal\x20dates\x20with\x20month/day');let _0x22b00f;_0x4fe96c?_0x22b00f=_0xf3e40e({..._0x2176df(this['c'],_0x176739,_0x30accc),..._0x37355a},_0x176739,_0x30accc):_0x47d16a(_0x37355a['ordinal'])?(_0x22b00f={...this['toObject'](),..._0x37355a},_0x47d16a(_0x37355a['day'])&&(_0x22b00f['day']=Math['min'](daysInMonth(_0x22b00f['year'],_0x22b00f['month']),_0x22b00f['day']))):_0x22b00f=_0xffaf14({..._0x5a4859(this['c']),..._0x37355a});const [_0x3afd72,_0x685065]=_0x1f7728(_0x22b00f,this['o'],this['zone']);return _0x24e995(this,{'ts':_0x3afd72,'o':_0x685065});}['plus'](_0x37ac03){if(!this['isValid'])return this;return _0x24e995(this,adjustTime(this,Duration['fromDurationLike'](_0x37ac03)));}['minus'](_0x35e345){if(!this['isValid'])return this;return _0x24e995(this,adjustTime(this,Duration['fromDurationLike'](_0x35e345)['negate']()));}['startOf'](_0x2287a9,{useLocaleWeeks:_0x5a1f3c=!0x1}={}){if(!this['isValid'])return this;const _0x2ba807={},_0x1dd808=Duration['normalizeUnit'](_0x2287a9);switch(_0x1dd808){case'years':_0x2ba807['month']=0x1;case'quarters':case'months':_0x2ba807['day']=0x1;case'weeks':case'days':_0x2ba807['hour']=0x0;case'hours':_0x2ba807['minute']=0x0;case'minutes':_0x2ba807['second']=0x0;case'seconds':_0x2ba807['millisecond']=0x0;}if('weeks'===_0x1dd808){if(_0x5a1f3c){const _0x2812dd=this['loc']['getStartOfWeek'](),{weekday:_0x168edd}=this;_0x168edd<_0x2812dd&&(_0x2ba807['weekNumber']=this['weekNumber']-0x1),_0x2ba807['weekday']=_0x2812dd;}else _0x2ba807['weekday']=0x1;}if('quarters'===_0x1dd808){const _0x47a069=Math['ceil'](this['month']/0x3);_0x2ba807['month']=0x3*(_0x47a069-0x1)+0x1;}return this['set'](_0x2ba807);}['endOf'](_0x5ab53e,_0x1e4740){return this['isValid']?this['plus']({[_0x5ab53e]:0x1})['startOf'](_0x5ab53e,_0x1e4740)['minus'](0x1):this;}['toFormat'](_0x422486,_0x2b05a4={}){return this['isValid']?Formatter['create'](this['loc']['redefaultToEN'](_0x2b05a4))['formatDateTimeFromString'](this,_0x422486):_0x59592e;}['toLocaleString'](_0x1dded6=_0x3101fd,_0x59e37c={}){return this['isValid']?Formatter['create'](this['loc']['clone'](_0x59e37c),_0x1dded6)['formatDateTime'](this):_0x59592e;}['toLocaleParts'](_0xca8e4e={}){return this['isValid']?Formatter['create'](this['loc']['clone'](_0xca8e4e),_0xca8e4e)['formatDateTimeParts'](this):[];}['toISO']({format:_0x598eb0='extended',suppressSeconds:_0x45f2f7=!0x1,suppressMilliseconds:_0x36cc88=!0x1,includeOffset:_0x22b8e2=!0x0,extendedZone:_0x5b2047=!0x1}={}){if(!this['isValid'])return null;const _0x3a736c='extended'===_0x598eb0;let _0x53b3be=toISODate(this,_0x3a736c);return _0x53b3be+='T',_0x53b3be+=toISOTime(this,_0x3a736c,_0x45f2f7,_0x36cc88,_0x22b8e2,_0x5b2047),_0x53b3be;}['toISODate']({format:_0x2cfd96='extended'}={}){return this['isValid']?toISODate(this,'extended'===_0x2cfd96):null;}['toISOWeekDate'](){return toTechFormat(this,'kkkk-\x27W\x27WW-c');}['toISOTime']({suppressMilliseconds:_0x35afb2=!0x1,suppressSeconds:_0x3fca14=!0x1,includeOffset:_0x98e677=!0x0,includePrefix:_0x10b3af=!0x1,extendedZone:_0x31563c=!0x1,format:_0x3aa92c='extended'}={}){if(!this['isValid'])return null;return(_0x10b3af?'T':'')+toISOTime(this,'extended'===_0x3aa92c,_0x3fca14,_0x35afb2,_0x98e677,_0x31563c);}['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:_0x4fba33=!0x0,includeZone:_0x1ee4bb=!0x1,includeOffsetSpace:_0x3ec4fd=!0x0}={}){let _0x4baf06='HH:mm:ss.SSS';return(_0x1ee4bb||_0x4fba33)&&(_0x3ec4fd&&(_0x4baf06+='\x20'),_0x1ee4bb?_0x4baf06+='z':_0x4fba33&&(_0x4baf06+='ZZ')),toTechFormat(this,_0x4baf06,!0x0);}['toSQL'](_0x3d253f={}){return this['isValid']?this['toSQLDate']()+'\x20'+this['toSQLTime'](_0x3d253f):null;}['toString'](){return this['isValid']?this['toISO']():_0x59592e;}[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'](_0x406be7={}){if(!this['isValid'])return{};const _0x20b0ba={...this['c']};return _0x406be7['includeConfig']&&(_0x20b0ba['outputCalendar']=this['outputCalendar'],_0x20b0ba['numberingSystem']=this['loc']['numberingSystem'],_0x20b0ba['locale']=this['loc']['locale']),_0x20b0ba;}['toJSDate'](){return new Date(this['isValid']?this['ts']:NaN);}['diff'](_0x3a4b12,_0x537a64='milliseconds',_0x4c11bd={}){if(!this['isValid']||!_0x3a4b12['isValid'])return Duration['invalid']('created\x20by\x20diffing\x20an\x20invalid\x20DateTime');const _0x1b0075={'locale':this['locale'],'numberingSystem':this['numberingSystem'],..._0x4c11bd},_0xf8df54=_0x471bcc(_0x537a64)['map'](Duration['normalizeUnit']),_0x1ec45d=_0x3a4b12['valueOf']()>this['valueOf'](),_0x75f042=_0x43e003(_0x1ec45d?this:_0x3a4b12,_0x1ec45d?_0x3a4b12:this,_0xf8df54,_0x1b0075);return _0x1ec45d?_0x75f042['negate']():_0x75f042;}['diffNow'](_0x1d5797='milliseconds',_0x59977d={}){return this['diff'](DateTime['now'](),_0x1d5797,_0x59977d);}['until'](_0x33050e){return this['isValid']?Interval['fromDateTimes'](this,_0x33050e):this;}['hasSame'](_0x1686d4,_0x4c3ad1,_0x5e9d67){if(!this['isValid'])return!0x1;const _0x1c87c4=_0x1686d4['valueOf'](),_0x5887a1=this['setZone'](_0x1686d4['zone'],{'keepLocalTime':!0x0});return _0x5887a1['startOf'](_0x4c3ad1,_0x5e9d67)<=_0x1c87c4&&_0x1c87c4<=_0x5887a1['endOf'](_0x4c3ad1,_0x5e9d67);}['equals'](_0x4aae09){return this['isValid']&&_0x4aae09['isValid']&&this['valueOf']()===_0x4aae09['valueOf']()&&this['zone']['equals'](_0x4aae09['zone'])&&this['loc']['equals'](_0x4aae09['loc']);}['toRelative'](_0x3a5976={}){if(!this['isValid'])return null;const _0x5ad124=_0x3a5976['base']||DateTime['fromObject']({},{'zone':this['zone']}),_0x4b6a77=_0x3a5976['padding']?this<_0x5ad124?-_0x3a5976['padding']:_0x3a5976['padding']:0x0;let _0x4bee2e=['years','months','days','hours','minutes','seconds'],_0x563d71=_0x3a5976['unit'];return Array['isArray'](_0x3a5976['unit'])&&(_0x4bee2e=_0x3a5976['unit'],_0x563d71=void 0x0),diffRelative(_0x5ad124,this['plus'](_0x4b6a77),{..._0x3a5976,'numeric':'always','units':_0x4bee2e,'unit':_0x563d71});}['toRelativeCalendar'](_0x32ce87={}){return this['isValid']?diffRelative(_0x32ce87['base']||DateTime['fromObject']({},{'zone':this['zone']}),this,{..._0x32ce87,'numeric':'auto','units':['years','months','days'],'calendary':!0x0}):null;}static['min'](..._0x22f286){if(!_0x22f286['every'](DateTime['isDateTime']))throw new InvalidArgumentError('min\x20requires\x20all\x20arguments\x20be\x20DateTimes');return bestBy(_0x22f286,_0x315dc7=>_0x315dc7['valueOf'](),Math['min']);}static['max'](..._0x288b81){if(!_0x288b81['every'](DateTime['isDateTime']))throw new InvalidArgumentError('max\x20requires\x20all\x20arguments\x20be\x20DateTimes');return bestBy(_0x288b81,_0x1d9e63=>_0x1d9e63['valueOf'](),Math['max']);}static['fromFormatExplain'](_0x4e0410,_0x1c2a41,_0x2a94fe={}){const {locale:_0x1fa900=null,numberingSystem:_0x21cf72=null}=_0x2a94fe;return _0x1b3137(_0x2923a3['fromOpts']({'locale':_0x1fa900,'numberingSystem':_0x21cf72,'defaultToEN':!0x0}),_0x4e0410,_0x1c2a41);}static['fromStringExplain'](_0x2b7f2c,_0x4cc287,_0x1ed28f={}){return DateTime['fromFormatExplain'](_0x2b7f2c,_0x4cc287,_0x1ed28f);}static['buildFormatParser'](_0x3a6846,_0x4be4ad={}){const {locale:_0x19f9b4=null,numberingSystem:_0x34328a=null}=_0x4be4ad,_0x4ab6fd=_0x2923a3['fromOpts']({'locale':_0x19f9b4,'numberingSystem':_0x34328a,'defaultToEN':!0x0});return new _0x43dcde(_0x4ab6fd,_0x3a6846);}static['fromFormatParser'](_0x5e0070,_0x7eccc6,_0x4bd371={}){if(_0x47d16a(_0x5e0070)||_0x47d16a(_0x7eccc6))throw new InvalidArgumentError('fromFormatParser\x20requires\x20an\x20input\x20string\x20and\x20a\x20format\x20parser');const {locale:_0x5fe5c4=null,numberingSystem:_0xfe7c92=null}=_0x4bd371,_0x380bd5=_0x2923a3['fromOpts']({'locale':_0x5fe5c4,'numberingSystem':_0xfe7c92,'defaultToEN':!0x0});if(!_0x380bd5['equals'](_0x7eccc6['locale']))throw new InvalidArgumentError('fromFormatParser\x20called\x20with\x20a\x20locale\x20of\x20'+_0x380bd5+',\x20but\x20the\x20format\x20parser\x20was\x20created\x20for\x20'+_0x7eccc6['locale']);const {result:_0x1a4194,zone:_0x463ece,specificOffset:_0x34e688,invalidReason:_0x368e03}=_0x7eccc6['explainFromTokens'](_0x5e0070);return _0x368e03?DateTime['invalid'](_0x368e03):parseDataToDateTime(_0x1a4194,_0x463ece,_0x4bd371,'format\x20'+_0x7eccc6['format'],_0x5e0070,_0x34e688);}static get['DATE_SHORT'](){return _0x3101fd;}static get['DATE_MED'](){return _0x124798;}static get['DATE_MED_WITH_WEEKDAY'](){return _0x13ba98;}static get['DATE_FULL'](){return _0x48423b;}static get['DATE_HUGE'](){return _0x51bd44;}static get['TIME_SIMPLE'](){return _0x58e331;}static get['TIME_WITH_SECONDS'](){return _0x30c292;}static get['TIME_WITH_SHORT_OFFSET'](){return _0x59df18;}static get['TIME_WITH_LONG_OFFSET'](){return _0x9906ab;}static get['TIME_24_SIMPLE'](){return _0x2d72c6;}static get['TIME_24_WITH_SECONDS'](){return _0xefe60c;}static get['TIME_24_WITH_SHORT_OFFSET'](){return _0x3deccc;}static get['TIME_24_WITH_LONG_OFFSET'](){return _0x532afd;}static get['DATETIME_SHORT'](){return _0x2d02a7;}static get['DATETIME_SHORT_WITH_SECONDS'](){return _0x131a30;}static get['DATETIME_MED'](){return _0x82c1f5;}static get['DATETIME_MED_WITH_SECONDS'](){return _0x4e7b0c;}static get['DATETIME_MED_WITH_WEEKDAY'](){return _0x9f3164;}static get['DATETIME_FULL'](){return _0xd55ca7;}static get['DATETIME_FULL_WITH_SECONDS'](){return _0x34e799;}static get['DATETIME_HUGE'](){return _0x187b57;}static get['DATETIME_HUGE_WITH_SECONDS'](){return _0xbc9c3d;}}function friendlyDateTime(_0xc13175){if(DateTime['isDateTime'](_0xc13175))return _0xc13175;if(_0xc13175&&_0xc13175['valueOf']&&_0x4fa3ec(_0xc13175['valueOf']()))return DateTime['fromJSDate'](_0xc13175);if(_0xc13175&&'object'==typeof _0xc13175)return DateTime['fromObject'](_0xc13175);throw new InvalidArgumentError('Unknown\x20datetime\x20argument:\x20'+_0xc13175+',\x20of\x20type\x20'+typeof _0xc13175);}function getDateTimeFormatter(_0x123c84={},_0x4fabb6){if(void 0x0!==_0x123c84['dateTimeFormat']&&'function'!=typeof _0x123c84['dateTimeFormat'])throw new ckeditor5['CKEditorError']('invalid-date-time-format');return _0x474ba5=>{const _0x559a25='string'==typeof _0x474ba5?DateTime['fromISO'](_0x474ba5):DateTime['fromJSDate'](_0x474ba5),_0x36d5a5=DateTime['now'](),_0x26adbb=Math['floor'](_0x36d5a5['diff'](_0x559a25,'days')['days']);return _0x123c84['dateTimeFormat']?_0x123c84['dateTimeFormat'](_0x559a25['toJSDate'](),_0x4fabb6&&_0x4fabb6['t']?_0x4fabb6['t']:void 0x0):0x0===_0x26adbb?_0x4fabb6?getTranslation$h(_0x4fabb6,'Today')+'\x20'+_0x559a25['toFormat']('hh:mma'):_0x559a25['toFormat']('\x27Today\x27\x20hh:mma'):0x1===_0x26adbb?_0x4fabb6?getTranslation$h(_0x4fabb6,'Yesterday')+'\x20'+_0x559a25['toFormat']('hh:mma'):_0x559a25['toFormat']('\x27Yesterday\x27\x20hh:mma'):_0x26adbb<0x7?_0x4fabb6?getTranslation$h(_0x4fabb6,'Last')+'\x20'+getTranslation$h(_0x4fabb6,_0x559a25['toFormat']('EEEE'))+'\x20'+_0x559a25['toFormat']('hh:mma'):_0x559a25['toFormat']('\x27Last\x27\x20EEEE\x20hh:mma'):_0x559a25['toFormat']('LL-dd-yyyy\x20hh:mma');};}function getMarkerDomElement(_0x284812,_0x5b3ddc){const _0x375b0b=_0x284812['mapper']['markerNameToElements'](_0x5b3ddc['name']);if(!_0x375b0b)return null;const _0x483d3f=ckeditor5['first'](_0x375b0b['values']());return _0x284812['view']['domConverter']['mapViewToDom'](_0x483d3f)||null;}function getAllMarkersDomElementsSorted(_0x4cd6ce,_0x4f2f18){if(0x0===_0x4f2f18['length'])return null;const _0x511611=[],_0x2fba6e=_0x4cd6ce['view']['domConverter'];for(const _0x310c87 of _0x4f2f18){const _0x997b15=_0x4cd6ce['mapper']['markerNameToElements'](_0x310c87['name']);if(!_0x997b15)continue;const _0xbf897b=Array['from'](_0x997b15)['map'](_0x13db47=>_0x2fba6e['mapViewToDom'](_0x13db47))['filter'](_0x227aa8=>!!_0x227aa8);_0x511611['push'](..._0xbf897b);}if(0x0===_0x511611['length'])return null;const _0x5981fc=[];for(const _0x1df649 of _0x511611){const _0x31aa1c=_0x1df649['getClientRects']()['item'](0x0);_0x31aa1c&&_0x5981fc['push']({'x':_0x31aa1c['x'],'y':_0x31aa1c['y'],'domElement':_0x1df649});}return 0x0===_0x5981fc['length']?null:(_0x5981fc['sort']((_0x50266f,_0x2b16e2)=>_0x50266f['y']-_0x2b16e2['y']||_0x50266f['x']-_0x2b16e2['x']),_0x5981fc['map'](_0x55a447=>_0x55a447['domElement']));}function trimHtml(_0x140c57,{limit:_0x242f4f,suffix:_0x42da9f='...'}){const _0x1a462a=[];let _0x219e81=0x0;const _0xe79ecf=_0x140c57['replace'](/</g,'\x0a<')['replace'](/>/g,'>\x0a')['replace'](/^\n/g,'')['replace'](/\n$/g,'')['split']('\x0a');for(let _0x581010=0x0;_0x581010<_0xe79ecf['length'];_0x581010++){let _0x1ce80e=_0xe79ecf[_0x581010];const _0x4f176e=splitCharactersToArray(_0x1ce80e);if(_0x1ce80e['startsWith']('<')){if(_0x219e81>=_0x242f4f){const _0x3f10cd=_0x1ce80e['match'](/[a-zA-Z]+/);if(!_0x3f10cd){_0xe79ecf[_0x581010]='';continue;}const _0x25e580=_0x3f10cd[0x0];_0x1ce80e['startsWith']('</')?(_0x1a462a['length']&&(_0x1ce80e=''),_0x1a462a['pop']()):(_0x1a462a['push'](_0x25e580),_0x1ce80e='');}}else{if(_0x219e81>=_0x242f4f)_0x1ce80e='';else{if(_0x219e81+_0x4f176e['length']>=_0x242f4f){let _0x1f9be9=_0x242f4f-_0x219e81;if('\x20'===_0x4f176e[_0x1f9be9-0x1])_0x1f9be9--;else{const _0x241068=_0x4f176e['slice'](_0x1f9be9)['indexOf']('\x20');-0x1!==_0x241068?_0x1f9be9+=_0x241068:_0x1f9be9=_0x1ce80e['length'];}_0x1ce80e=_0x4f176e['slice'](0x0,_0x1f9be9)['join']('')+_0x42da9f,_0x219e81=_0x242f4f;}else _0x219e81+=_0x4f176e['length'];}}_0xe79ecf[_0x581010]=_0x1ce80e;}return _0xe79ecf['join']('\x0a')['replace'](/\n/g,'');}function splitCharactersToArray(_0x51255d){const _0x2acebe=[];for(let _0x139394=0x0;_0x139394<_0x51255d['length'];_0x139394++){const _0x75aed9=_0x51255d['substring'](_0x139394)['match'](/^&[a-z0-9#]+;/);if(_0x75aed9){const _0x45fd2f=_0x75aed9[0x0];_0x2acebe['push'](_0x45fd2f),_0x139394+=_0x45fd2f['length']-0x1;}else _0x2acebe['push'](_0x51255d[_0x139394]);}return _0x2acebe;}class _0x58a72d extends ckeditor5['View']{['submitView'];['cancelView'];['focusTracker'];['keystrokes'];['focusCycler'];['focusables'];constructor(_0x336e21){super(_0x336e21);const _0x5a85f2=this['bindTemplate'];this['set']('message',getTranslation$h(_0x336e21,'Are\x20you\x20sure?')),this['submitView']=this['_createButtonView'](_0x336e21,getTranslation$h(_0x336e21,'Yes'),ckeditor5['IconCheck'],'submit'),this['cancelView']=this['_createButtonView'](_0x336e21,getTranslation$h(_0x336e21,'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':_0x5a85f2['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'](_0xbcca86,_0x3d68bb,_0x2b282a,_0x2c02b9){const _0x240b08=new ckeditor5['ButtonView'](_0xbcca86);return _0x240b08['label']=_0x3d68bb,_0x240b08['icon']=_0x2b282a,_0x240b08['extendTemplate']({'attributes':{'class':'ck-confirm-view-'+_0x2c02b9}}),_0x240b08['on']('execute',()=>this['fire'](_0x2c02b9)),_0x240b08;}['_setupKeyboardNavigation'](){this['focusables']['forEach'](_0x1e566a=>{this['keystrokes']['listenTo'](_0x1e566a['element']),this['focusTracker']['add'](_0x1e566a['element']);}),this['keystrokes']['set']('esc',(_0x6f5c83,_0x14c963)=>{this['fire']('cancel'),_0x14c963();});}}function _0x4497bd(_0xe063df){return class extends _0xe063df{['showConfirm'](_0x3288da,_0x529302){return this['confirmView']=new _0x58a72d(this['locale']),this['confirmView']['render'](),this['confirmView']['message']=_0x3288da,this['confirmView']['once']('cancel',()=>{this['_removeConfirm']();}),this['confirmView']['once']('submit',()=>{this['_removeConfirm']();}),_0x529302['appendChild'](this['confirmView']['element']),_0x529302['classList']['add']('ck-confirm-view-active'),this['registerChild'](this['confirmView']),this['confirmView']['focus'](),this['set']('isConfirm',!0x0),this['on']('change:isConfirm',(_0x491753,_0xf81afd,_0xa775d0)=>{_0xa775d0||_0x529302['classList']['remove']('ck-confirm-view-active');}),new Promise(_0x22d509=>this['confirmView']['on']('submit',_0x22d509));}['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(_0x2887b0){let _0x12e5dc=0x0,_0x3a909c=0x0;for(const _0x54679a of objectToNumberGenerator(_0x2887b0))_0x12e5dc=(_0x12e5dc<<0x5)-_0x12e5dc+_0x54679a,_0x12e5dc&=_0x12e5dc,[_0x12e5dc,_0x3a909c]=[_0x3a909c,_0x12e5dc];return toString$1(_0x12e5dc)+toString$1(_0x3a909c);}function*toNumberGenerator(_0x22a1f3){null==_0x22a1f3||null==_0x22a1f3?yield 0x12b9b0a1:0x0===_0x22a1f3||!0x1===_0x22a1f3?yield 0x0:0x1===_0x22a1f3||0x1==_0x22a1f3?yield 0x1:Array['isArray'](_0x22a1f3)?yield*arrayToNumberGenerator(_0x22a1f3):'object'==typeof _0x22a1f3?yield*objectToNumberGenerator(_0x22a1f3):'string'==typeof _0x22a1f3?yield*stringToNumberGenerator(_0x22a1f3):'number'==typeof _0x22a1f3&&(yield _0x22a1f3);}function*objectToNumberGenerator(_0x290bb9){if(yield _0x448fe6('{'),_0x290bb9){const _0x57cac9=Object['keys'](_0x290bb9)['sort']();for(const _0x52c03d of _0x57cac9){yield*stringToNumberGenerator(_0x52c03d),yield _0x448fe6(':');const _0x17994b=_0x290bb9[_0x52c03d];yield*toNumberGenerator(_0x17994b);}}yield _0x448fe6('}');}function*arrayToNumberGenerator(_0x34c5b5){for(const _0x5aaebe of _0x34c5b5)yield*toNumberGenerator(_0x5aaebe);}function*stringToNumberGenerator(_0x53d425){yield _0x448fe6('\x22');for(const _0x5591fb of _0x53d425)yield _0x448fe6(_0x5591fb);yield _0x448fe6('\x22');}function _0x448fe6(_0x20e321){return _0x20e321['charCodeAt'](0x0);}function toString$1(_0x263ff1){return(_0x263ff1*=Math['sign'](_0x263ff1))['toString'](0x24);}const blackListedConfigOptions=['initialData','context','toolbar','rootsAttributes'],blackListedPlugins$2=['WebSocketGateway','RevisionTracker','Autosave','WordCount','DocumentOutline','WProofreader'];function skipRtcPlugins(_0x596fa0,_0x2d4e64,_0x1235de,_0x2c0fb7=[]){const _0x38abc3='string'==typeof _0x596fa0?_0x1235de['get'](_0x596fa0)['constructor']:_0x596fa0['prototype']['constructor'];if(_0x2d4e64['has'](_0x38abc3))return _0x2d4e64['get'](_0x38abc3);_0x2d4e64['set'](_0x38abc3,!0x0);const _0x19d599=[...blackListedPlugins$2,..._0x2c0fb7]['map'](_0x5d7911=>{if(_0x1235de['has'](_0x5d7911))return _0x1235de['get'](_0x5d7911)['constructor'];})['filter'](_0x49c9d8=>_0x49c9d8);if(_0x38abc3&&_0x19d599['includes'](_0x38abc3))return _0x2d4e64['set'](_0x38abc3,!0x1),!0x1;if(!_0x38abc3['requires'])return _0x2d4e64['set'](_0x38abc3,!0x0),!0x0;const _0xcba3e1=_0x38abc3['requires']['every'](_0x59d707=>skipRtcPlugins(_0x59d707,_0x2d4e64,_0x1235de,_0x2c0fb7));return _0x2d4e64['set'](_0x38abc3,_0xcba3e1),_0xcba3e1;}function sanitizeEditorConfig(_0x3c9c06,_0x45aeb1){const _0x4306df={};for(const _0x3c4823 of _0x3c9c06['config']['names']())blackListedConfigOptions['includes'](_0x3c4823)||(_0x4306df[_0x3c4823]=_0x3c9c06['config']['get'](_0x3c4823));const _0xd47453=_0x4306df['plugins']||[],_0x31c9b9=_0x3c9c06['constructor']['builtinPlugins']||[],_0x55fa14=_0xd47453['length']?_0xd47453:_0x31c9b9,_0x9438a1=_0x4306df['extraPlugins']||[];delete _0x4306df['extraPlugins'];const _0x2f415b=_0x4306df['removePlugins']||[];delete _0x4306df['removePlugins'];const _0x1f8d1f=_0x3c9c06['_context']['config']['get']('plugins')||[],_0x3d5002=_0x55fa14['concat'](_0x9438a1)['concat'](_0x1f8d1f)['map'](_0x173710=>'string'==typeof _0x173710?_0x31c9b9['find'](_0x24814b=>_0x24814b['pluginName']==_0x173710):_0x173710)['filter'](_0x59a031=>!_0x2f415b['includes'](_0x59a031)&&!_0x2f415b['includes'](_0x59a031['pluginName'])),_0xa8f3ca=Array['from'](new Set(_0x3d5002)),_0x33d566=new Map();return _0x4306df['plugins']=_0xa8f3ca['filter'](_0x319d77=>skipRtcPlugins(_0x319d77,_0x33d566,_0x3c9c06['plugins'],_0x45aeb1)),_0x4306df;}function surroundingMarkersDetector(_0x2732c7,_0x36c3b5){const _0x15b98a=[];_0x2732c7['document']['selection']['on']('change:range',()=>{const _0x1ca2a7=getSurroundingMarkers(_0x2732c7,_0x2732c7['document']['selection']['focus']),_0x4da18d=[],_0x2620bb=[],_0x53068c=[];for(const _0x11f54e of _0x15b98a)_0x1ca2a7['includes'](_0x11f54e)||_0x4da18d['push'](_0x11f54e);for(const _0x24277c of _0x1ca2a7)_0x15b98a['includes'](_0x24277c)||_0x2620bb['push'](_0x24277c),_0x53068c['push'](_0x24277c);(_0x4da18d['length']||_0x2620bb['length'])&&_0x36c3b5({'left':_0x4da18d,'entered':_0x2620bb}),_0x15b98a['length']=0x0,_0x15b98a['push'](..._0x53068c);});}function getSurroundingMarkers(_0x36606b,_0x232719){const _0x71cc45=[];for(const _0x43ea73 of _0x36606b['markers']){const _0x419ad1=_0x43ea73['getRange']();(_0x419ad1['containsPosition'](_0x232719)||_0x419ad1['start']['isEqual'](_0x232719)||_0x419ad1['end']['isEqual'](_0x232719))&&_0x71cc45['push'](_0x43ea73);}return _0x71cc45;}const _0x33435d='Ctrl+Shift+E';function setupThreadKeyboardNavigation(_0x2c6c14,_0xe22b6e){const _0x2e310a=_0x2c6c14['element'];_0x2c6c14['keystrokes']['listenTo'](_0x2e310a);for(const _0x3a0194 of _0xe22b6e)addViewToFocusCyclerNavigation(_0x2c6c14,_0x3a0194);_0xe22b6e['on']('change',(_0x38e0b4,_0x4bc382)=>{for(const _0x21f998 of _0x4bc382['removed'])removeViewFromFocusCyclerNavigation(_0x2c6c14,_0x21f998);for(const _0xef4dd9 of Array['from'](_0x4bc382['added'])['reverse']())addViewToFocusCyclerNavigation(_0x2c6c14,_0xef4dd9);}),_0x2c6c14['keystrokes']['set']('enter',(_0x23f28c,_0x59a078)=>{_0x2e310a===_0x23f28c['target']&&(_0x2c6c14['focusCycler']['focusFirst'](),_0x59a078());},{'filter':_0x4cd01d=>_0x4cd01d['target']===_0x2e310a}),_0x2c6c14['keystrokes']['set']('esc',(_0x2202f4,_0x7d09b0)=>{_0x2e310a!==_0x2202f4['target']?_0x2c6c14['focus']():_0x2c6c14['fire']('escape'),_0x7d09b0();}),_0x2c6c14['keystrokes']['set']('arrowdown',(_0x34c502,_0x1c7e2a)=>{_0x2e310a===_0x34c502['target']&&(_0x2c6c14['fire']('arrowdown'),_0x1c7e2a());}),_0x2c6c14['keystrokes']['set']('arrowup',(_0xbb6b51,_0x555d68)=>{_0x2e310a===_0xbb6b51['target']&&(_0x2c6c14['fire']('arrowup'),_0x555d68());});}function addViewToFocusCyclerNavigation(_0x2903a9,_0x17e26e){_0x17e26e['isRendered']&&(_0x2903a9['focusTracker']['add'](_0x17e26e['element']),_0x2903a9['keystrokes']['listenTo'](_0x17e26e['element']),ckeditor5['isViewWithFocusCycler'](_0x17e26e)&&areFocusCyclerActionsCompatible(_0x2903a9['focusCycler'],_0x17e26e['focusCycler'])&&_0x2903a9['focusCycler']['chain'](_0x17e26e['focusCycler']));}function removeViewFromFocusCyclerNavigation(_0x3719c1,_0x2ce846){_0x3719c1['focusTracker']['remove'](_0x2ce846['element']),_0x3719c1['keystrokes']['stopListening'](_0x2ce846['element']),ckeditor5['isViewWithFocusCycler'](_0x2ce846)&&_0x3719c1['focusCycler']['unchain'](_0x2ce846['focusCycler']);}function areFocusCyclerActionsCompatible(_0xa356f8,_0x2ba7a5){const _0x22069a=_0xa356f8['actions'],_0x4ab913=_0x2ba7a5['actions'];for(const _0x23f212 of Object['keys'](_0x22069a))if(_0x23f212 in _0x4ab913&&_0x22069a[_0x23f212]!==_0x4ab913[_0x23f212])return!0x1;return!0x0;}class _0x2f3815{['diff'](_0x19adf6,_0x2402e9,_0x57cb34={}){let _0x2f3907;'function'==typeof _0x57cb34?(_0x2f3907=_0x57cb34,_0x57cb34={}):'callback'in _0x57cb34&&(_0x2f3907=_0x57cb34['callback']);const _0x1c7606=this['castInput'](_0x19adf6,_0x57cb34),_0x40f923=this['castInput'](_0x2402e9,_0x57cb34),_0x44567f=this['removeEmpty'](this['tokenize'](_0x1c7606,_0x57cb34)),_0x393132=this['removeEmpty'](this['tokenize'](_0x40f923,_0x57cb34));return this['diffWithOptionsObj'](_0x44567f,_0x393132,_0x57cb34,_0x2f3907);}['diffWithOptionsObj'](_0x9f1932,_0x1c0831,_0x41a777,_0x10c816){var _0x493606;const _0x98a2eb=_0x3f2f78=>(_0x3f2f78=this['postProcess'](_0x3f2f78,_0x41a777),_0x10c816?void setTimeout(function(){_0x10c816(_0x3f2f78);},0x0):_0x3f2f78),_0xb23d86=_0x1c0831['length'],_0x4cface=_0x9f1932['length'];let _0xa441a5=0x1,_0x5d966f=_0xb23d86+_0x4cface;null!=_0x41a777['maxEditLength']&&(_0x5d966f=Math['min'](_0x5d966f,_0x41a777['maxEditLength']));const _0x25adef=null!==(_0x493606=_0x41a777['timeout'])&&void 0x0!==_0x493606?_0x493606:0x1/0x0,_0x42167a=Date['now']()+_0x25adef,_0x5aa31f=[{'oldPos':-0x1,'lastComponent':void 0x0}];let _0x469a9c=this['extractCommon'](_0x5aa31f[0x0],_0x1c0831,_0x9f1932,0x0,_0x41a777);if(_0x5aa31f[0x0]['oldPos']+0x1>=_0x4cface&&_0x469a9c+0x1>=_0xb23d86)return _0x98a2eb(this['buildValues'](_0x5aa31f[0x0]['lastComponent'],_0x1c0831,_0x9f1932));let _0x5d391e=-0x1/0x0,_0x41db12=0x1/0x0;const _0x4fc3ef=()=>{for(let _0x3c4cba=Math['max'](_0x5d391e,-_0xa441a5);_0x3c4cba<=Math['min'](_0x41db12,_0xa441a5);_0x3c4cba+=0x2){let _0x54f57e;const _0x5930bd=_0x5aa31f[_0x3c4cba-0x1],_0xb1d9=_0x5aa31f[_0x3c4cba+0x1];_0x5930bd&&(_0x5aa31f[_0x3c4cba-0x1]=void 0x0);let _0x59de47=!0x1;if(_0xb1d9){const _0x3f395d=_0xb1d9['oldPos']-_0x3c4cba;_0x59de47=_0xb1d9&&0x0<=_0x3f395d&&_0x3f395d<_0xb23d86;}const _0x4ed63f=_0x5930bd&&_0x5930bd['oldPos']+0x1<_0x4cface;if(_0x59de47||_0x4ed63f){if(_0x54f57e=!_0x4ed63f||_0x59de47&&_0x5930bd['oldPos']<_0xb1d9['oldPos']?this['addToPath'](_0xb1d9,!0x0,!0x1,0x0,_0x41a777):this['addToPath'](_0x5930bd,!0x1,!0x0,0x1,_0x41a777),_0x469a9c=this['extractCommon'](_0x54f57e,_0x1c0831,_0x9f1932,_0x3c4cba,_0x41a777),_0x54f57e['oldPos']+0x1>=_0x4cface&&_0x469a9c+0x1>=_0xb23d86)return _0x98a2eb(this['buildValues'](_0x54f57e['lastComponent'],_0x1c0831,_0x9f1932))||!0x0;_0x5aa31f[_0x3c4cba]=_0x54f57e,_0x54f57e['oldPos']+0x1>=_0x4cface&&(_0x41db12=Math['min'](_0x41db12,_0x3c4cba-0x1)),_0x469a9c+0x1>=_0xb23d86&&(_0x5d391e=Math['max'](_0x5d391e,_0x3c4cba+0x1));}else _0x5aa31f[_0x3c4cba]=void 0x0;}_0xa441a5++;};if(_0x10c816)!function _0x33a584(){setTimeout(function(){if(_0xa441a5>_0x5d966f||Date['now']()>_0x42167a)return _0x10c816(void 0x0);_0x4fc3ef()||_0x33a584();},0x0);}();else for(;_0xa441a5<=_0x5d966f&&Date['now']()<=_0x42167a;){const _0x102d31=_0x4fc3ef();if(_0x102d31)return _0x102d31;}}['addToPath'](_0xa82030,_0x2eade1,_0x5d6668,_0x270958,_0x496c80){const _0x2dcc12=_0xa82030['lastComponent'];return _0x2dcc12&&!_0x496c80['oneChangePerToken']&&_0x2dcc12['added']===_0x2eade1&&_0x2dcc12['removed']===_0x5d6668?{'oldPos':_0xa82030['oldPos']+_0x270958,'lastComponent':{'count':_0x2dcc12['count']+0x1,'added':_0x2eade1,'removed':_0x5d6668,'previousComponent':_0x2dcc12['previousComponent']}}:{'oldPos':_0xa82030['oldPos']+_0x270958,'lastComponent':{'count':0x1,'added':_0x2eade1,'removed':_0x5d6668,'previousComponent':_0x2dcc12}};}['extractCommon'](_0x20ec12,_0x1de864,_0x25b0fe,_0x40dfda,_0x3670e8){const _0x41d7fe=_0x1de864['length'],_0x55da3f=_0x25b0fe['length'];let _0x3ff2cc=_0x20ec12['oldPos'],_0xa83b25=_0x3ff2cc-_0x40dfda,_0x466168=0x0;for(;_0xa83b25+0x1<_0x41d7fe&&_0x3ff2cc+0x1<_0x55da3f&&this['equals'](_0x25b0fe[_0x3ff2cc+0x1],_0x1de864[_0xa83b25+0x1],_0x3670e8);)_0xa83b25++,_0x3ff2cc++,_0x466168++,_0x3670e8['oneChangePerToken']&&(_0x20ec12['lastComponent']={'count':0x1,'previousComponent':_0x20ec12['lastComponent'],'added':!0x1,'removed':!0x1});return _0x466168&&!_0x3670e8['oneChangePerToken']&&(_0x20ec12['lastComponent']={'count':_0x466168,'previousComponent':_0x20ec12['lastComponent'],'added':!0x1,'removed':!0x1}),_0x20ec12['oldPos']=_0x3ff2cc,_0xa83b25;}['equals'](_0x5b9fc2,_0x3051c6,_0x559670){return _0x559670['comparator']?_0x559670['comparator'](_0x5b9fc2,_0x3051c6):_0x5b9fc2===_0x3051c6||!!_0x559670['ignoreCase']&&_0x5b9fc2['toLowerCase']()===_0x3051c6['toLowerCase']();}['removeEmpty'](_0x32a710){const _0x300510=[];for(let _0x433c72=0x0;_0x433c72<_0x32a710['length'];_0x433c72++)_0x32a710[_0x433c72]&&_0x300510['push'](_0x32a710[_0x433c72]);return _0x300510;}['castInput'](_0xb8898b,_0x42ddab){return _0xb8898b;}['tokenize'](_0x50c2a9,_0x2e6018){return Array['from'](_0x50c2a9);}['join'](_0x424c6b){return _0x424c6b['join']('');}['postProcess'](_0x22d32a,_0x1da469){return _0x22d32a;}get['useLongestToken'](){return!0x1;}['buildValues'](_0x32f52a,_0x5b0777,_0x6979c9){const _0x3a6db2=[];let _0x2b5708;for(;_0x32f52a;)_0x3a6db2['push'](_0x32f52a),_0x2b5708=_0x32f52a['previousComponent'],delete _0x32f52a['previousComponent'],_0x32f52a=_0x2b5708;_0x3a6db2['reverse']();const _0x1aad91=_0x3a6db2['length'];let _0x37ab7b=0x0,_0x341b74=0x0,_0x4a365e=0x0;for(;_0x37ab7b<_0x1aad91;_0x37ab7b++){const _0xec7928=_0x3a6db2[_0x37ab7b];if(_0xec7928['removed'])_0xec7928['value']=this['join'](_0x6979c9['slice'](_0x4a365e,_0x4a365e+_0xec7928['count'])),_0x4a365e+=_0xec7928['count'];else{if(!_0xec7928['added']&&this['useLongestToken']){let _0x22d5eb=_0x5b0777['slice'](_0x341b74,_0x341b74+_0xec7928['count']);_0x22d5eb=_0x22d5eb['map'](function(_0x43468d,_0x22a20a){const _0x1f12e4=_0x6979c9[_0x4a365e+_0x22a20a];return _0x1f12e4['length']>_0x43468d['length']?_0x1f12e4:_0x43468d;}),_0xec7928['value']=this['join'](_0x22d5eb);}else _0xec7928['value']=this['join'](_0x5b0777['slice'](_0x341b74,_0x341b74+_0xec7928['count']));_0x341b74+=_0xec7928['count'],_0xec7928['added']||(_0x4a365e+=_0xec7928['count']);}}return _0x3a6db2;}}class _0x149ba6 extends _0x2f3815{['tokenize'](_0x55aa7e){return _0x55aa7e['slice']();}['join'](_0x3ad570){return _0x3ad570;}['removeEmpty'](_0x4ea1e3){return _0x4ea1e3;}}const _0x338f01=new _0x149ba6();function _0x2d992d(_0x3aa53a,_0x421e6f,_0x30f95c){return _0x338f01['diff'](_0x3aa53a,_0x421e6f,_0x30f95c);}const _0x146f44='$elementId',_0x65defd='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',(_0x3617d3,_0x1acff0)=>{_0x1acff0['on']('ready',()=>{this['_integrateEditor'](_0x1acff0);});});}get['editor'](){if(this['context']instanceof ckeditor5['Editor'])return this['context'];{const _0xba7ae2=this['context']['editors']['first'];if(!_0xba7ae2)throw new ckeditor5['CKEditorError']('documentcompare-no-editor',this);return _0xba7ae2;}}['getDiff'](_0x48ca07,_0x4af3e4,_0x2b64ca={'anchor':'main','markDeletions':!0x1}){let _0x4c0120,_0x5c3392;const _0x5b85ec=this['editor'];if('string'==typeof _0x2b64ca['anchor']){const _0x5116f3=_0x5b85ec['model']['document']['getRoot'](_0x2b64ca['anchor']);if(!_0x5116f3)throw new ckeditor5['CKEditorError']('documentcompare-compare-no-root',this,{'anchor':_0x2b64ca['anchor']});_0x4c0120=_0x5116f3,_0x5c3392=_0x5b85ec['model']['createPositionAt'](_0x5116f3,0x0);}else _0x4c0120=_0x2b64ca['anchor']['clone'](),_0x5c3392=_0x2b64ca['anchor']['clone']();const _0x47acc0=_0x5b85ec['data']['parse'](_0x48ca07,_0x4c0120),_0x36381d=_0x5b85ec['data']['parse'](_0x4af3e4,_0x4c0120);return new DocumentDiff(_0x47acc0,_0x36381d,_0x5b85ec,{'anchor':_0x5c3392,'markDeletions':_0x2b64ca['markDeletions']});}['isMarkedRemoveOperation'](_0x2d1133){return'marker'==_0x2d1133['type']&&_0x2d1133['name']['startsWith']('$markedRemove');}['_integrateEditor'](_0x1926b9){_0x1926b9['conversion']['for']('upcast')['add'](_0x21ca88=>{_0x21ca88['on']('element',(_0x4e04c8,_0x1f8b5c,_0x2123d3)=>{if(_0x1f8b5c['modelRange'])for(const _0x49640d of _0x1f8b5c['modelRange']['getItems']({'shallow':!0x0})){if(_0x49640d['is']('$textProxy'))continue;const _0x46cf34=_0x1f8b5c['viewItem']['getAttribute'](_0x65defd);_0x46cf34&&_0x2123d3['writer']['setAttribute'](_0x146f44,_0x46cf34,_0x49640d);}},{'priority':'lowest'});}),_0x1926b9['model']['schema']['addAttributeCheck'](()=>!0x0,_0x146f44);}}class DocumentDiff{['_editor'];['_diffItems']=[];['_operationsData']=[];['_markDeletions'];['_anchor'];['_path']=[0x0];['_parents']=[];constructor(_0xbac138,_0x570a1b,_0x2fa83c,_0x5a33b5){this['_editor']=_0x2fa83c,this['_markDeletions']=!!_0x5a33b5['markDeletions'],this['_anchor']=_0x5a33b5['anchor'];const _0x2d923d=this['_tokenizeModel'](_0xbac138),_0x30670b=this['_tokenizeModel'](_0x570a1b);this['_diffItems']=this['_diffModelTokens'](_0x2d923d,_0x30670b),this['_calculateOperationsData'](),this['_markDeletions']||this['_calculateMarkersOperationsData'](_0xbac138['markers'],_0x570a1b['markers']);}['getOperationsData'](){return this['_operationsData'];}['getOperations'](){const _0x5a4f30=this['_editor']['model']['document'],_0xdd82c9=[];let _0x35b3e3=_0x5a4f30['version'];for(const _0x5b2cb9 of this['_operationsData'])switch(_0x5b2cb9['type']){case'attribute':{const _0x420c4c=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x5b2cb9['path']),_0x1909e9=_0x420c4c['getShiftedBy'](_0x5b2cb9['howMany']),_0x56cc7a=new ckeditor5['ModelRange'](_0x420c4c,_0x1909e9),_0x512795=JSON['parse'](_0x5b2cb9['oldValue']),_0x1aa44e=JSON['parse'](_0x5b2cb9['newValue']);_0xdd82c9['push'](new ckeditor5['AttributeOperation'](_0x56cc7a,_0x5b2cb9['key'],_0x512795,_0x1aa44e,_0x35b3e3++));break;}case'insert':{const _0x3b64d1=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x5b2cb9['path']),_0x57fda8=this['_makeModelFromTokens'](_0x5b2cb9['tokens']);_0xdd82c9['push'](new ckeditor5['InsertOperation'](_0x3b64d1,_0x57fda8,_0x35b3e3++));break;}case'remove':{const _0x5701fc=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x5b2cb9['path']),_0x821e91=new ckeditor5['ModelPosition'](_0x5a4f30['graveyard'],[0x0]);_0xdd82c9['push'](new ckeditor5['MoveOperation'](_0x5701fc,_0x5b2cb9['howMany'],_0x821e91,_0x35b3e3++));break;}case'rename':{const _0x8c0905=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x5b2cb9['path']);_0xdd82c9['push'](new ckeditor5['RenameOperation'](_0x8c0905,_0x5b2cb9['oldName'],_0x5b2cb9['newName'],_0x35b3e3++));break;}case'split':{const _0x22b08b=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x5b2cb9['path']),_0x585b52=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x5b2cb9['path']['slice'](0x0,-0x1));_0x585b52['offset']++,_0xdd82c9['push'](new ckeditor5['SplitOperation'](_0x22b08b,Number['NEGATIVE_INFINITY'],_0x585b52,null,_0x35b3e3++));break;}case'merge':{const _0x2d7795=_0x5b2cb9['path']['slice'](),_0x3207b2=_0x2d7795['slice'](0x0,-0x1);_0x3207b2[_0x3207b2['length']-0x1]++,_0x3207b2['push'](0x0);const _0x42d9fb=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x3207b2),_0x1f9a59=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x2d7795),_0x2cf774=new ckeditor5['ModelPosition'](_0x5a4f30['graveyard'],[0x0]);_0xdd82c9['push'](new ckeditor5['MergeOperation'](_0x42d9fb,Number['NEGATIVE_INFINITY'],_0x1f9a59,_0x2cf774,_0x35b3e3++));break;}case'marker':case'markedRemove':{let _0x647dd3=null;if(_0x5b2cb9['range']){const _0x8081e6=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x5b2cb9['range']['start']),_0x3fbab1=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x5b2cb9['range']['end']);_0x647dd3=new ckeditor5['ModelRange'](_0x8081e6,_0x3fbab1);}const _0x321bd4='marker'==_0x5b2cb9['type']?_0x5b2cb9['name']:'$markedRemove:'+ckeditor5['uid']();_0xdd82c9['push'](new ckeditor5['MarkerOperation'](_0x321bd4,null,_0x647dd3,_0x5a4f30['model']['markers'],!0x0,_0x35b3e3++));break;}case'unwrap':{const _0x20d779=_0x5b2cb9['path']['slice']();_0x20d779['push'](0x0);const _0x8f26db=_0x5b2cb9['path']['slice'](),_0x28c4d3=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x20d779),_0x4e3a1c=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x8f26db),_0x4c9987=new ckeditor5['ModelPosition'](_0x5a4f30['graveyard'],[0x0]);_0xdd82c9['push'](new ckeditor5['MoveOperation'](_0x28c4d3,_0x5b2cb9['howMany'],_0x4e3a1c,_0x35b3e3++)),_0xdd82c9['push'](new ckeditor5['MoveOperation'](_0x4e3a1c['getShiftedBy'](_0x5b2cb9['howMany']),0x1,_0x4c9987,_0x35b3e3++));break;}case'wrap':{const _0x1039f5=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x5b2cb9['range']['start']),_0x369647=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x5b2cb9['range']['end']),_0x1ecf5e=_0x5b2cb9['token']['element']['_clone'](!0x1),_0xf743a=_0x5b2cb9['range']['end']['slice']();_0xf743a['push'](0x0);const _0x618c33=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0xf743a);_0xdd82c9['push'](new ckeditor5['InsertOperation'](_0x369647,_0x1ecf5e,_0x35b3e3++)),_0xdd82c9['push'](new ckeditor5['MoveOperation'](_0x1039f5,_0x369647['offset']-_0x1039f5['offset'],_0x618c33,_0x35b3e3++));break;}}return _0xdd82c9;}['_tokenizeModel'](_0x4aa9f0){const _0x281526=[],_0x20d6f0=ckeditor5['ModelRange']['_createIn'](_0x4aa9f0),_0x3fe395=new ckeditor5['ModelTreeWalker']({'boundaries':_0x20d6f0});let _0x589438='',_0x483639=null;const _0x4c9f67=[''],_0x244ced=new Map();for(const _0x13c4e6 of _0x3fe395)if('elementStart'==_0x13c4e6['type']||'elementEnd'==_0x13c4e6['type']){let _0xb687b1=_0x4c9f67[0x0];''!==_0x589438&&(_0x281526['push'](...this['_makeTokensFromTextByWords'](_0x589438,_0x483639,_0xb687b1)),_0x589438='');const _0x123f8d=_0x13c4e6['item'];let _0x327099;_0x123f8d['getAttribute'](_0x146f44)?_0x327099=_0x123f8d['getAttribute'](_0x146f44):'elementStart'==_0x13c4e6['type']?(_0x327099=ckeditor5['uid'](),_0x244ced['set'](_0x123f8d,_0x327099)):_0x327099=_0x244ced['get'](_0x123f8d);const _0xe1e99e=this['_getElementCategory'](_0x123f8d);'solid'==_0xe1e99e&&('elementStart'==_0x13c4e6['type']?(_0xb687b1=_0x327099,_0x4c9f67['unshift'](_0xb687b1)):_0x4c9f67['shift']());const _0x268602={'type':'element','element':_0x123f8d,'elementId':_0x327099,'category':_0xe1e99e,'isStart':'elementStart'==_0x13c4e6['type'],'limitId':_0xb687b1};_0x281526['push'](_0x268602);}else''==_0x589438&&(_0x483639=_0x13c4e6['previousPosition']['clone']()),_0x589438+=_0x13c4e6['item']['data'];return''!==_0x589438&&_0x281526['push'](...this['_makeTokensFromTextByWords'](_0x589438,_0x483639,_0x4c9f67[0x0])),_0x281526;}['_makeTokensFromTextByWords'](_0x1f3a73,_0x3bf33e,_0x2ba9c9){const _0x557cd3=_0x1f3a73['matchAll'](/(\s)/g),_0x483632=Array['from'](_0x557cd3)['map'](_0x52a18d=>_0x52a18d['index']);_0x483632['push'](_0x1f3a73['length']),0x0==_0x483632[0x0]&&_0x483632['shift']();const _0x1afdb8=[],_0x53a742=_0x3bf33e['parent'];let _0x563377=0x0,_0x227851=_0x3bf33e['offset'];for(let _0x5c4f0f=0x0;_0x5c4f0f<_0x483632['length'];_0x5c4f0f++)_0x1afdb8['push']({'type':'text','data':_0x1f3a73['slice'](_0x563377,_0x483632[_0x5c4f0f]),'parent':_0x53a742,'offset':_0x227851,'limitId':_0x2ba9c9}),_0x563377=_0x483632[_0x5c4f0f],_0x227851=_0x3bf33e['offset']+_0x483632[_0x5c4f0f];return _0x1afdb8;}['_getElementCategory'](_0x5d0500){const _0x48d4ab=this['_editor']['model']['schema'];return _0x48d4ab['isLimit'](_0x5d0500)||_0x48d4ab['isContent'](_0x5d0500)||_0x48d4ab['isInline'](_0x5d0500)?'solid':_0x48d4ab['isBlock'](_0x5d0500)?'block':'container';}['_diffModelTokens'](_0x339ba0,_0x38dbc8){const _0x38fb3f=_0x2d992d(_0x339ba0,_0x38dbc8,{'comparator':_0x309cf0});this['_handleUnclosedBlockOpeningTags'](_0x38fb3f);const _0x121ee8=_0x38fb3f['flatMap'](_0x46cae3=>{const _0x3e5791=_0x46cae3['added']?'added':_0x46cae3['removed']?'removed':'unchanged';return _0x46cae3['value']['map'](_0x306ab3=>({'token':_0x306ab3,'change':_0x3e5791}));});let _0x949407=0x0;for(const _0x18ea96 of _0x121ee8)'added'!=_0x18ea96['change']&&('unchanged'==_0x18ea96['change']&&(_0x18ea96['before']=_0x339ba0[_0x949407]),_0x949407++);return _0x121ee8;}['_handleUnclosedBlockOpeningTags'](_0x2ddd8f){for(let _0x15a02b=0x0;_0x15a02b<_0x2ddd8f['length']-0x1;_0x15a02b++)if(_0x2ddd8f[_0x15a02b]['removed']&&_0x2ddd8f[_0x15a02b+0x1]['added']){const _0x57e95c=this['_findUnclosedBlockOpeningToken'](_0x2ddd8f[_0x15a02b]['value']);if(null!==_0x57e95c){const _0x344aef=this['_findUnclosedBlockOpeningToken'](_0x2ddd8f[_0x15a02b+0x1]['value']),_0x16de04=_0x2ddd8f[_0x15a02b]['value']['splice'](_0x57e95c),_0x44c7ec=_0x2ddd8f[_0x15a02b+0x1]['value']['splice'](_0x344aef),_0x44a930=[_0x44c7ec['shift']()];_0x16de04['shift']();const _0x2062d3={'value':_0x16de04,'removed':!0x0},_0xf6e963={'value':_0x44c7ec,'added':!0x0},_0x102e4d={'value':_0x44a930};_0x2ddd8f['splice'](_0x15a02b+0x2,0x0,_0x102e4d,_0x2062d3,_0xf6e963);}}}['_findUnclosedBlockOpeningToken'](_0x417a2a){let _0x4f592f=0x0,_0x4660e5=-0x1;for(let _0x5195cf=0x0;_0x5195cf<_0x417a2a['length'];_0x5195cf++){const _0x5baf0a=_0x417a2a[_0x5195cf];'element'==_0x5baf0a['type']&&'block'==_0x5baf0a['category']&&(_0x4f592f+=_0x5baf0a['isStart']?0x1:-0x1,_0x5baf0a['isStart']&&(_0x4660e5=_0x5195cf));}return 0x0===_0x4f592f?null:_0x4660e5;}['_calculateOperationsData'](){this['_handleUnwraps'](),this['_path']=[0x0],this['_parents']=[];for(let _0x44a72f=0x0;_0x44a72f<this['_diffItems']['length'];_0x44a72f++){const _0x1d2c11=this['_diffItems'][_0x44a72f]['change'],_0x202c47=[];_0x202c47['push'](this['_diffItems'][_0x44a72f]);let _0x3ab039=_0x44a72f+0x1;for(;this['_diffItems'][_0x3ab039]&&this['_diffItems'][_0x3ab039]['change']==_0x1d2c11;)_0x202c47['push'](this['_diffItems'][_0x3ab039]),_0x3ab039++,_0x44a72f++;const _0x30445f=_0x202c47['map'](_0x443be3=>_0x443be3['token']);if('unchanged'==_0x1d2c11)_0x202c47['map'](_0x484a41=>_0x484a41['before'])['forEach'](_0x4df397=>this['_traverseOverItem'](_0x4df397));else{if('removed'==_0x1d2c11){if(this['_markDeletions']){const _0x1d8ed7=this['_path']['slice']();_0x30445f['forEach'](_0x3e7191=>this['_traverseOverItem'](_0x3e7191));const _0x2b5be1=this['_path']['slice']();this['_operationsData']['push']({'type':'markedRemove','range':{'start':_0x1d8ed7,'end':_0x2b5be1}});}else this['_handleChanged'](_0x30445f,!0x0,this['_path']['slice']());}else{const _0x454fd0=_0x30445f['filter'](_0x2b86c7=>'element'!=_0x2b86c7['type']||'container'!=_0x2b86c7['category']);this['_handleChanged'](_0x454fd0,!0x1,this['_path']);}}}this['_handleWraps'](),this['_path']=[0x0],this['_parents']=[];for(let _0xef0f3a=0x0;_0xef0f3a<this['_diffItems']['length'];_0xef0f3a++){const _0xf177b5=this['_diffItems'][_0xef0f3a]['change'],_0x43f3da=[];_0x43f3da['push'](this['_diffItems'][_0xef0f3a]);let _0x2cadcd=_0xef0f3a+0x1;for(;this['_diffItems'][_0x2cadcd]&&this['_diffItems'][_0x2cadcd]['change']==_0xf177b5;)_0x43f3da['push'](this['_diffItems'][_0x2cadcd]),_0x2cadcd++,_0xef0f3a++;const _0x24160c=_0x43f3da['map'](_0x481928=>_0x481928['token']);if('unchanged'==_0xf177b5){const _0x131362=_0x43f3da['map'](_0xbb4af0=>_0xbb4af0['before']);this['_handleUnchanged'](_0x131362,_0x24160c);}else('removed'!=_0xf177b5||this['_markDeletions'])&&_0x24160c['forEach'](_0x58e7b6=>{this['_traverseOverItem'](_0x58e7b6);});}}['_calculateMarkersOperationsData'](_0x340bc9,_0x22b7cb){const _0x4c6677={};for(const [_0x154f79]of _0x340bc9)_0x4c6677[_0x154f79]=null;for(const [_0x398829,_0xa5e857]of _0x22b7cb)_0x4c6677[_0x398829]=_0xa5e857;const _0x5b9169=Object['entries'](_0x4c6677)['map'](([_0x4f343c,_0x3292a9])=>({'type':'marker','name':_0x4f343c,'range':_0x3292a9?{'start':_0x3292a9['start']['path']['slice'](),'end':_0x3292a9['end']['path']['slice']()}:null}));this['_operationsData']['push'](..._0x5b9169);}['_handleUnwraps'](){const _0x3fe790=new Map(),_0x2742e5=[],_0x1cd555=[0x0];let _0x3db153=this['_diffItems']['length']+0x1;for(let _0x462400=this['_diffItems']['length']-0x1;_0x462400>=0x0;_0x462400--){const {token:_0x508dc9,before:_0x1ab434,change:_0x4fb619}=this['_diffItems'][_0x462400];if('removed'!=_0x4fb619&&(_0x3db153=_0x462400),'element'!=_0x508dc9['type']||'container'!=_0x508dc9['category']||'added'==_0x4fb619)continue;const _0x4b6f64=_0x1ab434?_0x1ab434['element']:_0x508dc9['element'];if(_0x508dc9['isStart']){const _0x4abb55=_0x3fe790['get'](_0x4b6f64),_0x2a9c6a=this['_diffItems'][_0x4abb55];('removed'==_0x4fb619||'removed'==_0x2a9c6a['change'])&&_0x3db153<_0x4abb55&&(this['_operationsData']['push']({'type':'unwrap','path':_0x4b6f64['getPath'](),'howMany':_0x4b6f64['maxOffset']+_0x1cd555[0x0]}),_0x1cd555['shift'](),_0x1cd555[0x0]+=_0x4b6f64['maxOffset']-0x1,_0x2742e5['push'](_0x462400),_0x2742e5['push'](_0x4abb55));}else _0x3fe790['set'](_0x4b6f64,_0x462400),_0x1cd555['unshift'](0x0);}_0x2742e5['sort']((_0x46d035,_0x8b00d5)=>_0x8b00d5-_0x46d035),_0x2742e5['forEach'](_0x2ff8ad=>{const _0x47df88=this['_diffItems'][_0x2ff8ad];'removed'==_0x47df88['change']?this['_diffItems']['splice'](_0x2ff8ad,0x1):(_0x47df88['change']='added',delete _0x47df88['before']);});}['_handleWraps'](){this['_path']=[0x0],this['_parents']=[];const _0x3c9525=[];for(let _0x2b8676=0x0;_0x2b8676<this['_diffItems']['length'];_0x2b8676++){const {change:_0x3275b0,token:_0x58776a}=this['_diffItems'][_0x2b8676];if('added'==_0x3275b0&&'element'==_0x58776a['type']&&'container'==_0x58776a['category']){if(_0x58776a['isStart'])_0x3c9525['push'](this['_path']['slice']());else{if(!_0x58776a['isStart']){const _0x541ab2=_0x3c9525['pop']();this['_operationsData']['push']({'type':'wrap','range':{'start':_0x541ab2,'end':this['_path']['slice']()},'token':_0x58776a}),this['_path'][this['_path']['length']-0x1]=_0x541ab2[this['_path']['length']-0x1]+0x1;}}}else('removed'!=_0x3275b0||this['_markDeletions'])&&this['_traverseOverItem'](_0x58776a);}}['_handleUnchanged'](_0xb54f33,_0x52829c){for(let _0x1c49e0=0x0;_0x1c49e0<_0xb54f33['length'];_0x1c49e0++){const _0x1665a2=_0xb54f33[_0x1c49e0];if('element'==_0x1665a2['type']&&_0x1665a2['isStart']){const _0x2cdfd6=_0x52829c[_0x1c49e0];'block'==_0x1665a2['category']&&this['_handleElementRename'](_0x1665a2['element'],_0x2cdfd6['element'],this['_path']),this['_handleElementAttributeChanges'](_0x1665a2['element'],_0x2cdfd6['element'],this['_path']),this['_path']['push'](0x0),this['_parents']['push'](_0x2cdfd6);}else{if('element'!=_0x1665a2['type']||_0x1665a2['isStart']){if('text'==_0x1665a2['type']){const _0x476924=this['_path']['slice'](),_0x384cc5=[],_0x2e7fe2=[];for(;_0xb54f33[_0x1c49e0]&&'text'==_0xb54f33[_0x1c49e0]['type'];)_0x384cc5['push'](_0xb54f33[_0x1c49e0]),_0x2e7fe2['push'](_0x52829c[_0x1c49e0]),this['_path'][this['_path']['length']-0x1]+=_0xb54f33[_0x1c49e0]['data']['length'],_0x1c49e0++;_0x1c49e0--,this['_handleTextAttributeChanges'](_0x384cc5,_0x2e7fe2,_0x476924);}}else this['_path']['pop'](),this['_path'][this['_path']['length']-0x1]++,this['_parents']['pop']();}}}['_handleChanged'](_0x3a6771,_0x10af89,_0x4f25dd){const _0xa23b48=[],_0x1683b6=[],_0x49217c=_0x4f25dd['slice']();for(let _0x104791=0x0;_0x104791<_0x3a6771['length'];_0x104791++){const _0x54022c=_0x3a6771[_0x104791],_0xb0968a=_0x4f25dd['slice']();if('element'!=_0x54022c['type']||_0x54022c['isStart'])'element'==_0x54022c['type']&&_0x54022c['isStart']?(_0x4f25dd['push'](0x0),_0x10af89||this['_parents']['push'](_0x54022c),_0x1683b6['push']({'before':_0xb0968a,'after':_0x4f25dd['slice'](),'index':_0x104791})):_0x4f25dd[_0x4f25dd['length']-0x1]+=_0x54022c['data']['length'];else{let _0x5ca37b;_0x4f25dd['pop'](),_0x4f25dd[_0x4f25dd['length']-0x1]++,_0x5ca37b=_0x10af89?this['_parents'][this['_parents']['length']-0x1]:this['_parents']['pop'](),_0x1683b6['length']?_0x1683b6['pop']():_0xa23b48['push']({'before':_0xb0968a,'after':_0x4f25dd['slice'](),'index':_0x104791,'related':_0x5ca37b});}}if(_0x1683b6['length']!==_0xa23b48['length'])throw new ckeditor5['CKEditorError']('model-diff-incorrect-matching-and-closing-tags',null,{'tokens':_0x3a6771,'isRemove':_0x10af89});const _0x218fcc=[{'after':_0x49217c['slice'](),'index':-0x1},..._0xa23b48,..._0x1683b6,{'before':_0x4f25dd['slice'](),'index':_0x3a6771['length']}];if(_0x10af89){for(let _0x3db8d2=_0x218fcc['length']-0x1;_0x3db8d2>=0x1;_0x3db8d2--){const _0x3c42f5=_0x218fcc[_0x3db8d2-0x1]['after'],_0x3d12dc=_0x218fcc[_0x3db8d2]['before'],_0x3c877f=_0x3d12dc[_0x3d12dc['length']-0x1]-_0x3c42f5[_0x3c42f5['length']-0x1];_0x3c877f&&(this['_operationsData']['push']({'type':'remove','path':_0x3c42f5,'howMany':_0x3c877f}),_0x3d12dc[_0x3d12dc['length']-0x1]-=_0x3c877f);}for(const {before:_0x2f51d5}of _0xa23b48)this['_operationsData']['push']({'type':'merge','path':_0x2f51d5});}else for(let _0x529cf7=0x0;_0x529cf7<_0x218fcc['length']-0x1;_0x529cf7++){const _0xb5fc0e=_0x218fcc[_0x529cf7]['after'],_0x1e11c2=_0x218fcc[_0x529cf7+0x1]['before'],_0x390c9c=_0x218fcc[_0x529cf7]['index']+0x1,_0x4ea9cc=_0x218fcc[_0x529cf7+0x1]['index'];if(_0x390c9c!==_0x4ea9cc&&this['_operationsData']['push']({'type':'insert','path':_0xb5fc0e,'tokens':_0x3a6771['slice'](_0x390c9c,_0x4ea9cc)}),_0x529cf7<_0xa23b48['length']){this['_operationsData']['push']({'type':'split','path':_0x1e11c2});const _0x78ee6e=_0x3a6771[_0x1683b6[_0x1683b6['length']-0x1-_0x529cf7]['index']],_0x2f0452=_0xa23b48[_0x529cf7]['after'],_0x1da394=_0xa23b48[_0x529cf7]['related']['element'];this['_handleElementRename'](_0x1da394,_0x78ee6e['element'],_0x2f0452),this['_handleElementAttributeChanges'](_0x1da394,_0x78ee6e['element'],_0x2f0452);}}}['_traverseOverItem'](_0x54bb44){'element'==_0x54bb44['type']&&_0x54bb44['isStart']?(this['_path']['push'](0x0),this['_parents']['push'](_0x54bb44)):'element'!=_0x54bb44['type']||_0x54bb44['isStart']?'text'==_0x54bb44['type']&&(this['_path'][this['_path']['length']-0x1]+=_0x54bb44['data']['length']):(this['_path']['pop'](),this['_path'][this['_path']['length']-0x1]++,this['_parents']['pop']());}['_handleElementRename'](_0x3cdf90,_0x1aa86f,_0x1ec0b2){_0x3cdf90['name']!=_0x1aa86f['name']&&this['_operationsData']['push']({'type':'rename','path':_0x1ec0b2['slice'](),'oldName':_0x3cdf90['name'],'newName':_0x1aa86f['name']});}['_handleElementAttributeChanges'](_0x285283,_0xf57dfb,_0x260c33){const _0x5a209c=this['_getAttributeChanges'](_0x285283['getAttributes'](),_0xf57dfb['getAttributes']());for(const _0x101cfd in _0x5a209c){const {oldValue:_0x797ba7,newValue:_0x3d24ea}=_0x5a209c[_0x101cfd];this['_operationsData']['push']({'type':'attribute','path':_0x260c33['slice'](),'howMany':0x1,'key':_0x101cfd,'oldValue':_0x797ba7,'newValue':_0x3d24ea});}}['_handleTextAttributeChanges'](_0x49bcac,_0x26e035,_0x21b6a0){const _0x4e6352=this['_operationsData'],_0x2d277d=_0x49bcac[0x0]['parent'],_0x2e23af=_0x49bcac[0x0]['offset'],_0x5e176b=_0x26e035[0x0]['parent'],_0x1778fa=_0x26e035[0x0]['offset'],_0x161058=_0x49bcac['reduce']((_0x14141b,_0x24497a)=>_0x14141b+_0x24497a['data']['length'],0x0),_0xdc2b1c=this['_getAttrsForOffsets'](_0x2d277d,_0x2e23af,_0x161058),_0x216b36=this['_getAttrsForOffsets'](_0x5e176b,_0x1778fa,_0x161058),_0x2b475d={};for(let _0x37642e=0x0;_0x37642e<_0x161058;_0x37642e++){const _0x368089=_0xdc2b1c[_0x2e23af+_0x37642e],_0x20026f=_0x216b36[_0x1778fa+_0x37642e],_0x3d51c7=this['_getAttributeChanges'](_0x368089,_0x20026f);for(const _0x2b1db9 in _0x2b475d)_0x3d51c7[_0x2b1db9]||_0x5accf8(_0x2b1db9);for(const _0x78097a in _0x3d51c7){const {oldValue:_0x1cfd1c,newValue:_0x22f4ad}=_0x3d51c7[_0x78097a],_0x3bb794=_0x2b475d[_0x78097a];_0x3bb794?_0x3bb794['oldValue']==_0x1cfd1c&&_0x3bb794['newValue']==_0x22f4ad?_0x3bb794['length']++:(_0x5accf8(_0x78097a),_0x2b475d[_0x78097a]={'oldValue':_0x1cfd1c,'newValue':_0x22f4ad,'start':_0x37642e,'length':0x1}):_0x2b475d[_0x78097a]={'oldValue':_0x1cfd1c,'newValue':_0x22f4ad,'start':_0x37642e,'length':0x1};}}for(const _0x13049b in _0x2b475d)_0x5accf8(_0x13049b);function _0x5accf8(_0x308d37){const _0x153343=_0x2b475d[_0x308d37],_0x3fd1f2=_0x21b6a0['slice']();_0x3fd1f2[_0x3fd1f2['length']-0x1]+=_0x153343['start'],_0x4e6352['push']({'type':'attribute','path':_0x3fd1f2,'howMany':_0x153343['length'],'key':_0x308d37,'oldValue':_0x153343['oldValue'],'newValue':_0x153343['newValue']}),delete _0x2b475d[_0x308d37];}}['_getAttributeChanges'](_0x5afec8,_0x494f40){const _0x46be33={};for(const [_0x2a7775,_0x801eed]of _0x5afec8)_0x46be33[_0x2a7775]={'oldValue':JSON['stringify'](_0x801eed),'newValue':'null'};for(const [_0x3c7920,_0x3622d2]of _0x494f40){const _0x3f28b2=JSON['stringify'](_0x3622d2);_0x46be33[_0x3c7920]?_0x46be33[_0x3c7920]['oldValue']==_0x3f28b2?delete _0x46be33[_0x3c7920]:_0x46be33[_0x3c7920]['newValue']=_0x3f28b2:_0x46be33[_0x3c7920]={'oldValue':'null','newValue':_0x3f28b2};}return delete _0x46be33[_0x146f44],_0x46be33;}['_getAttrsForOffsets'](_0x5c0dcc,_0xfc062d,_0x34c2b2){const _0x52abe8=new Array(_0xfc062d+_0x34c2b2);let _0x3ac124=_0x5c0dcc['getChildAtOffset'](_0xfc062d),_0x29374a=_0x3ac124['startOffset'];for(;_0x3ac124&&_0x29374a<_0xfc062d+_0x34c2b2;){const _0x25e266=Array['from'](_0x3ac124['getAttributes']());_0x52abe8['fill'](_0x25e266,_0x29374a,_0x29374a+_0x3ac124['offsetSize']),_0x29374a+=_0x3ac124['offsetSize'],_0x3ac124=_0x3ac124['nextSibling'];}return _0x52abe8;}['_getPositionFromAnchorAndPath'](_0x357680,_0x372a28){const _0x339e31=[..._0x357680['path']['slice'](0x0,-0x1),_0x357680['offset']+_0x372a28[0x0],..._0x372a28['slice'](0x1)];return new ckeditor5['ModelPosition'](_0x357680['root'],_0x339e31);}['_makeModelFromTokens'](_0x57b22b){const _0x393740=[];let _0x9b3f05=null;for(const _0x231c02 of _0x57b22b)if('element'!=_0x231c02['type']||_0x231c02['isStart']||_0x9b3f05!=_0x231c02['element']){if(!_0x9b3f05){if('text'==_0x231c02['type']){const _0x2b8feb=ckeditor5['ModelPosition']['_createAt'](_0x231c02['parent'],_0x231c02['offset']),_0x4373a1=ckeditor5['ModelRange']['_createFromPositionAndShift'](_0x2b8feb,_0x231c02['data']['length']),_0x3a8107=Array['from'](_0x4373a1['getItems']())['map'](_0x27f98a=>new ckeditor5['ModelText'](_0x27f98a['data'],_0x27f98a['getAttributes']()));_0x393740['push'](..._0x3a8107);}else{_0x9b3f05=_0x231c02['element'];const _0x53d3cf=_0x231c02['element']['_clone'](!0x0);_0x53d3cf['_removeAttribute'](_0x146f44);for(const _0x433e16 of this['_editor']['model']['createRangeIn'](_0x53d3cf)['getItems']())_0x433e16['is']('element')&&_0x433e16['_removeAttribute'](_0x146f44);_0x393740['push'](_0x53d3cf);}}}else _0x9b3f05=null;return _0x393740;}}function _0x309cf0(_0x2a0066,_0x2e2c8f){return _0x2a0066['type']===_0x2e2c8f['type']&&(_0x2a0066['limitId']===_0x2e2c8f['limitId']&&('text'==_0x2a0066['type']?_0x2a0066['data']==_0x2e2c8f['data']:compareModelElementTokens(_0x2a0066,_0x2e2c8f)));}function compareModelElementTokens(_0x551e52,_0x2ae48a){return _0x551e52['isStart']==_0x2ae48a['isStart']&&((!_0x551e52['isStart']||_0x551e52['elementId']==_0x2ae48a['elementId'])&&(_0x551e52['category']==_0x2ae48a['category']&&('block'==_0x551e52['category']||('container'!=_0x551e52['category']||_0x551e52['elementId']==_0x2ae48a['elementId'])&&_0x551e52['element']['name']==_0x2ae48a['element']['name'])));}function getOperationsFromReply({editor:_0x3bf968,interaction:_0x25e9be,reply:_0x22d0ea,groups:_0x216681,transform:_0x19725d,documentCompare:_0x759c9,documentCompareOptions:_0x238e69}){const _0x27b550=_0x25e9be['getDocumentContext']();if(!_0x27b550)return[];const _0x78cb10=_0x27b550['content'],_0x2c8bef=_0x27b550['version'],_0x45da58=_0x22d0ea['documentContextContent']['cloneNode'](!0x0);for(const {changes:_0x26fbad}of _0x216681){const _0x656b67=_0x26fbad['filter'](_0x3b09d5=>'new'!=_0x3b09d5['type'])['map'](_0x43943e=>findByAttribute('data-id',_0x43943e['id'],_0x45da58)),_0x1921d6=_0x26fbad['filter'](_0x2c418f=>'removed'!=_0x2c418f['type'])['map'](_0x43ea1c=>_0x43ea1c['node']['cloneNode'](!0x0));let _0x2a4313=null;if(_0x656b67['length']){_0x2a4313=_0x656b67[0x0]['previousSibling'];for(let _0x59ea28=0x0;_0x59ea28<_0x656b67['length'];_0x59ea28++)removeElement(_0x656b67[_0x59ea28]);}if(_0x1921d6['length']){_0x2a4313||(_0x26fbad[0x0]['anchorId']?_0x2a4313=findByAttribute('data-id',_0x26fbad[0x0]['anchorId'],_0x45da58):(_0x2a4313=_0x1921d6['shift'](),_0xb37ac4(_0x45da58,_0x2a4313)));for(let _0x2c52f6=0x0;_0x2c52f6<_0x1921d6['length'];_0x2c52f6++)_0x2566dc(_0x2a4313,_0x1921d6[_0x2c52f6]),_0x2a4313=_0x1921d6[_0x2c52f6];}}const _0x274c25=_0x28c879(_0x45da58),_0x55f2b0=_0x759c9['getDiff'](_0x78cb10,_0x274c25,_0x238e69)['getOperations']();if(_0x19725d){const _0x5913e2=_0x3bf968['model']['document']['history']['getOperations'](_0x2c8bef),_0x528554={'document':_0x3bf968['model']['document'],'useRelations':!0x1,'padWithNoOps':!0x1};return ckeditor5['transformOperationSets'](_0x55f2b0,_0x5913e2,_0x528554)['operationsA'];}return _0x55f2b0;}function getSuggestionPartsFromReply({editor:_0x459b2d,changeGroups:_0x23b6c3,documentContextContent:_0x53b998,showDiff:_0x5e8f9f,trimUnchanged:_0x3eb50b=!0x0}){return _0x23b6c3['map'](_0x1de675=>{const _0x598cb6=new Document([]),_0x316864=new Document([]);for(const _0x53583e of _0x1de675['changes'])if(_0x5e8f9f&&'removed'==_0x53583e['type']||_0x316864['children']['push'](_0x53583e['node']['cloneNode'](!0x0)),'new'!=_0x53583e['type']&&(_0x5e8f9f||'removed'!=_0x53583e['type'])){const _0x2b419d=_0x4ee731(_0x1b20d0=>getAttribute(_0x1b20d0,'data-id')==_0x53583e['id'],_0x53b998,!0x0);_0x2b419d&&_0x598cb6['children']['push'](_0x2b419d['cloneNode'](!0x0));}const {content:_0x3dca6c,hasChanges:_0x5c1800}=passThroughEditorDataPipeline(_0x459b2d,_0x598cb6,_0x316864,_0x5e8f9f,_0x3eb50b);return{'type':_0x1de675['changes'][0x0]['type'],'index':_0x1de675['index'],'content':_0x3dca6c,'hasChanges':_0x5c1800};});}function passThroughEditorDataPipeline(_0x24bee4,_0x270711,_0x79231b,_0x369a25,_0x45ff81=!0x0){const _0x477c4c=_0x24bee4['plugins']['get']('DocumentCompare'),_0xf7221e=_0x24bee4['plugins']['get']('TrackChangesEditing'),_0x28a8fa=_0x28c879(_0x270711),_0x40e409=_0x28c879(_0x79231b),_0x4e4d38=_0x24bee4['data']['parse'](_0x28a8fa,'$root'),_0x5e9cd3=_0x24bee4['model']['createPositionAt'](_0x4e4d38,0x0),_0x3dc8c8=_0x477c4c['getDiff'](_0x28a8fa,_0x40e409,{'anchor':_0x5e9cd3,'markDeletions':_0x369a25})['getOperations']();if(0x0==_0x3dc8c8['length'])return{'content':_0x270711['cloneNode'](!0x0),'hasChanges':!0x1};if(_0x369a25?_0xf7221e['_applyOperationsAsSuggestions'](_0x3dc8c8):_0x24bee4['model']['change'](_0x4cb35f=>{for(const _0x26b4bd of _0x3dc8c8)if('remove'==_0x26b4bd['type']){const _0x309669=_0x26b4bd['sourcePosition'],_0x3d59f9=_0x26b4bd['howMany'],_0x350804=new ckeditor5['_DetachOperation'](_0x309669,_0x3d59f9);_0x4cb35f['batch']['addOperation'](_0x350804),_0x24bee4['model']['applyOperation'](_0x350804);}else{if('marker'==_0x26b4bd['type']){const _0x14ddc1=_0x26b4bd['name'],_0x668301=_0x26b4bd['newRange'];_0x4e4d38['markers']['set'](_0x14ddc1,_0x668301);}else _0x26b4bd['baseVersion']=null,_0x26b4bd['isDocumentOperation']=!0x1,_0x4cb35f['batch']['addOperation'](_0x26b4bd),_0x24bee4['model']['applyOperation'](_0x26b4bd);}}),_0x45ff81){const _0x3921ab=getMinimalSelection(_0x24bee4,_0x3dc8c8,_0x4e4d38);expandSelectionWithContext(_0x24bee4['model'],_0x3921ab),shrinkFragmentToSelection(_0x24bee4['model'],_0x3921ab);}return{'content':_0x3504aa(_0x24bee4['data']['stringify'](_0x4e4d38,{'showSuggestionHighlights':!0x0})),'hasChanges':!0x0};}function getMinimalSelection(_0x4020b1,_0x5d4d09,_0x4338e6){const _0x5d9d64=_0x4020b1['plugins']['get']('DocumentCompare');let _0x19c772=_0x4020b1['model']['createPositionAt'](_0x4338e6,Number['POSITIVE_INFINITY']),_0x868162=_0x4020b1['model']['createPositionAt'](_0x4338e6,0x0);for(const _0x473baf of _0x5d4d09){let _0x2dc6e1,_0x5a1fb6;if(_0x5d9d64['isMarkedRemoveOperation'](_0x473baf))_0x2dc6e1=_0x473baf['newRange']['start'],_0x5a1fb6=_0x473baf['newRange']['end'];else switch(_0x19c772=_0x19c772['getTransformedByOperation'](_0x473baf),_0x868162=_0x868162['getTransformedByOperation'](_0x473baf),_0x473baf['type']){case'rename':_0x2dc6e1=_0x473baf['position'],_0x5a1fb6=_0x2dc6e1['getShiftedBy'](0x1);break;case'addAttribute':case'removeAttribute':case'changeAttribute':_0x2dc6e1=_0x473baf['range']['start'],_0x5a1fb6=_0x473baf['range']['end'];break;case'insert':_0x2dc6e1=_0x473baf['position'],_0x5a1fb6=_0x2dc6e1['getShiftedBy'](_0x473baf['howMany']);break;case'split':_0x2dc6e1=_0x473baf['splitPosition'],_0x5a1fb6=_0x473baf['moveTargetPosition'];break;case'merge':{const _0x1dd0bf=_0x473baf['targetPosition']['path']['slice'](0x0,-0x1);_0x2dc6e1=_0x4020b1['model']['createPositionFromPath'](_0x4338e6,_0x1dd0bf),_0x5a1fb6=_0x2dc6e1['getShiftedBy'](0x1);break;}case'remove':{const _0x277e9f=_0x473baf['howMany'],_0x435b0e=_0x473baf['sourcePosition']['_getTransformedByInsertion'](_0x473baf['targetPosition'],_0x277e9f),_0x14a7ec=_0x473baf['getMovedRangeStart']();'remove'==_0x473baf['type']?(_0x2dc6e1=_0x435b0e,_0x5a1fb6=_0x435b0e):(_0x2dc6e1=_0x14a7ec,_0x5a1fb6=_0x14a7ec['getShiftedBy'](_0x277e9f));break;}}_0x2dc6e1&&_0x2dc6e1['isBefore'](_0x19c772)&&(_0x19c772=_0x2dc6e1['clone'](),_0x19c772['stickiness']='toNone'),_0x5a1fb6&&_0x5a1fb6['isAfter'](_0x868162)&&(_0x868162=_0x5a1fb6['clone'](),_0x868162['stickiness']='toNone');}return _0x4020b1['model']['createSelection'](_0x4020b1['model']['createRange'](_0x19c772,_0x868162));}function expandSelectionWithContext(_0x527878,_0x140618){expandSelection(_0x527878,_0x140618,'forward');const _0x44089c=_0x140618['getFirstRange']();_0x140618['setTo']([]),_0x140618['setTo'](_0x44089c,{'backward':!0x0}),expandSelection(_0x527878,_0x140618,'backward');}function expandSelection(_0x246414,_0x19b1e1,_0x296437){let _0x536373=0x14;for(;_0x536373;){_0x246414['modifySelection'](_0x19b1e1,{'unit':'word','direction':_0x296437}),_0x536373--;const _0x4511c9=_0x19b1e1['focus']['forward'==_0x296437?'nodeBefore':'nodeAfter'];if(_0x4511c9&&_0x4511c9['is']('element')&&_0x246414['schema']['isBlock'](_0x4511c9)&&_0x246414['schema']['isObject'](_0x4511c9))break;}}function shrinkFragmentToSelection(_0x5427bb,_0x5792b4){const _0x524d1a=_0x5792b4['getFirstRange']()['start'];let _0xe72f93=_0x5792b4['getFirstRange']()['end'];const _0xf8385e=_0x524d1a['root'];(_0xe72f93['textNode']||_0xe72f93['nodeAfter']&&_0xe72f93['nodeAfter']['is']('$text'))&&(ckeditor5['_insertIntoModelNodeList'](_0xe72f93,'...'),_0xe72f93=_0xe72f93['getShiftedBy'](0x3)),(_0x524d1a['textNode']||_0x524d1a['nodeBefore']&&_0x524d1a['nodeBefore']['is']('$text'))&&(ckeditor5['_insertIntoModelNodeList'](_0x524d1a,'...'),_transformMarkersByInsertion(_0xf8385e,_0x524d1a,0x3),_0x524d1a['parent']==_0xe72f93['parent']&&(_0xe72f93=_0xe72f93['getShiftedBy'](0x3)));const _0x6dbcac=_0x5427bb['createRange'](_0x5427bb['createPositionAt'](_0xf8385e,0x0),_0x524d1a),_0x2f4282=_0x5427bb['createRange'](_0xe72f93,_0x5427bb['createPositionAt'](_0xf8385e,'end')),_0x3d82b7=[..._0x6dbcac['getMinimalFlatRanges'](),..._0x2f4282['getMinimalFlatRanges']()];_0x3d82b7['reverse']();for(const _0x368e4c of _0x3d82b7)ckeditor5['_removeFromModelNodeList'](_0x368e4c),_transformMarkersByDeletion(_0xf8385e,_0x368e4c);}function _transformMarkersByDeletion(_0x4d29bd,_0x270088){for(const [_0x4da92a,_0x25ce4e]of _0x4d29bd['markers']){const _0x2f9d01=_0x25ce4e['_getTransformedByDeletion'](_0x270088['start'],_0x270088['end']['offset']-_0x270088['start']['offset']);null!=_0x2f9d01?_0x4d29bd['markers']['set'](_0x4da92a,_0x2f9d01):_0x4d29bd['markers']['delete'](_0x4da92a);}}function _transformMarkersByInsertion(_0xc00f52,_0xb0b6d3,_0x49bc2f){for(let [_0x589999,_0x3d3fe7]of _0xc00f52['markers']){const _0xc38de8=_0x3d3fe7['_getTransformedByInsertion'](_0xb0b6d3,_0x49bc2f,!0x1);_0x3d3fe7=_0xc38de8[0x0],_0xc00f52['markers']['set'](_0x589999,_0x3d3fe7);}}class _0x3df4bc extends ckeditor5['ToolbarView']{['copyButton'];['likeButton'];['dislikeButton'];['showChangesButton'];['_config'];constructor(_0x621fcd,_0x5f73e9={},_0x4ea568){super(_0x621fcd),this['set']('isLoading',!0x1),this['_config']={'showCopy':!0x1,'showLike':!0x1,'showDislike':!0x1,..._0x5f73e9};const _0x14f694=!(this['_config']['showCopy']||this['_config']['showChanges']||this['_config']['showLike']||this['_config']['showDislike']||this['_config']['customView']?.['length']);this['class']=_0x14f694?'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'](_0x4ea568),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']);}['_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,'isLoading',_0x23d679=>!_0x23d679),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,'isLoading',_0x4dc936=>!_0x4dc936),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,'isLoading',_0x2881ec=>!_0x2881ec);const _0xcc940a=new ckeditor5['IconView']();_0xcc940a['set']({'content':ckeditor5['IconCheck']}),_0xcc940a['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'](_0xcc940a);}['_setupShowChangesButton'](_0x301c6f){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'],'isOn':_0x301c6f}),this['showChangesButton']['bind']('isEnabled')['to'](this,'isLoading',_0x4eeb0e=>!_0x4eeb0e),this['showChangesButton']['on']('execute',()=>{const _0x3b1ef7=!this['showChangesButton']['isOn'];this['showChangesButton']['set']({'isOn':_0x3b1ef7,'icon':_0x3b1ef7?ckeditor5['IconShowChangesOn']:ckeditor5['IconShowChangesOff']}),this['fire']('toggleShowChanges',_0x3b1ef7);});}}class AISuggestionHeaderView extends ckeditor5['View']{['showChangesToggleView'];constructor(_0x7971c1,_0x52299f){super(_0x7971c1),this['set']('isShowChangesToggleVisible',!0x0),this['showChangesToggleView']=new _0x1949c7(_0x7971c1),this['showChangesToggleView']['set']({'class':'ck-ai-suggestion__header__show-changes-toggle','label':getTranslation$i(_0x7971c1,'AI_SUGGESTION_BUTTON_SHOW_CHANGES'),'withText':!0x0}),this['showChangesToggleView']['isOn']=_0x52299f['showDiff'],this['showChangesToggleView']['bind']('isVisible')['to'](this,'isShowChangesToggleVisible'),this['showChangesToggleView']['bind']('icon')['to'](this['showChangesToggleView'],'isOn',_0x57ba26=>_0x57ba26?ckeditor5['IconShowChangesOn']:ckeditor5['IconShowChangesOff']),this['showChangesToggleView']['on']('execute',()=>{this['showChangesToggleView']['isOn']=!this['showChangesToggleView']['isOn'],this['fire']('toggleShowChanges',{'isOn':this['showChangesToggleView']['isOn']});});const _0x3463b3=new ckeditor5['IconView']();_0x3463b3['content']=ckeditor5['IconDocument'],this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-suggestion__header',!0x1===_0x52299f['showHeader']?'ck-hidden':null]['filter'](Boolean)},'children':[_0x3463b3,{'tag':'span','children':[getTranslation$i(_0x7971c1,'AI_SUGGESTION_HEADER_TITLE')]},this['showChangesToggleView']]});}}class _0x1949c7 extends ckeditor5['ButtonView']{['render'](){super['render'](),this['children']['remove'](this['iconView']),this['children']['add'](this['iconView']);}}var _0x8b55e8=0xb,_0x438d95;function morphAttrs(_0x1e66f4,_0x40288c){var _0x3b0c48,_0x254ffd,_0x4d8464,_0x37d09f,_0x14b11a=_0x40288c['attributes'];if(_0x40288c['nodeType']!==_0x8b55e8&&_0x1e66f4['nodeType']!==_0x8b55e8){for(var _0x402e92=_0x14b11a['length']-0x1;_0x402e92>=0x0;_0x402e92--)_0x254ffd=(_0x3b0c48=_0x14b11a[_0x402e92])['name'],_0x4d8464=_0x3b0c48['namespaceURI'],_0x37d09f=_0x3b0c48['value'],_0x4d8464?(_0x254ffd=_0x3b0c48['localName']||_0x254ffd,_0x1e66f4['getAttributeNS'](_0x4d8464,_0x254ffd)!==_0x37d09f&&('xmlns'===_0x3b0c48['prefix']&&(_0x254ffd=_0x3b0c48['name']),_0x1e66f4['setAttributeNS'](_0x4d8464,_0x254ffd,_0x37d09f))):_0x1e66f4['getAttribute'](_0x254ffd)!==_0x37d09f&&_0x1e66f4['setAttribute'](_0x254ffd,_0x37d09f);for(var _0x554beb=_0x1e66f4['attributes'],_0x3bd83a=_0x554beb['length']-0x1;_0x3bd83a>=0x0;_0x3bd83a--)_0x254ffd=(_0x3b0c48=_0x554beb[_0x3bd83a])['name'],(_0x4d8464=_0x3b0c48['namespaceURI'])?(_0x254ffd=_0x3b0c48['localName']||_0x254ffd,_0x40288c['hasAttributeNS'](_0x4d8464,_0x254ffd)||_0x1e66f4['removeAttributeNS'](_0x4d8464,_0x254ffd)):_0x40288c['hasAttribute'](_0x254ffd)||_0x1e66f4['removeAttribute'](_0x254ffd);}}var _0xceaed6='http://www.w3.org/1999/xhtml',_0x92c26b='undefined'==typeof document?void 0x0:document,_0x470b28=!!_0x92c26b&&'content'in _0x92c26b['createElement']('template'),_0x49d3cb=!!_0x92c26b&&_0x92c26b['createRange']&&'createContextualFragment'in _0x92c26b['createRange']();function createFragmentFromTemplate(_0x283d9a){var _0x5ccaa2=_0x92c26b['createElement']('template');return _0x5ccaa2['innerHTML']=_0x283d9a,_0x5ccaa2['content']['childNodes'][0x0];}function createFragmentFromRange(_0x54289c){return _0x438d95||(_0x438d95=_0x92c26b['createRange']())['selectNode'](_0x92c26b['body']),_0x438d95['createContextualFragment'](_0x54289c)['childNodes'][0x0];}function createFragmentFromWrap(_0x62c06a){var _0x2e0462=_0x92c26b['createElement']('body');return _0x2e0462['innerHTML']=_0x62c06a,_0x2e0462['childNodes'][0x0];}function toElement(_0x283fc2){return _0x283fc2=_0x283fc2['trim'](),_0x470b28?createFragmentFromTemplate(_0x283fc2):_0x49d3cb?createFragmentFromRange(_0x283fc2):createFragmentFromWrap(_0x283fc2);}function _0x332b51(_0x487b5c,_0x2af3fb){var _0x34d4da,_0x1dd1a4,_0x2507c5=_0x487b5c['nodeName'],_0x2a5204=_0x2af3fb['nodeName'];return _0x2507c5===_0x2a5204||(_0x34d4da=_0x2507c5['charCodeAt'](0x0),_0x1dd1a4=_0x2a5204['charCodeAt'](0x0),_0x34d4da<=0x5a&&_0x1dd1a4>=0x61?_0x2507c5===_0x2a5204['toUpperCase']():_0x1dd1a4<=0x5a&&_0x34d4da>=0x61&&_0x2a5204===_0x2507c5['toUpperCase']());}function createElementNS(_0x12a6e6,_0x3408e2){return _0x3408e2&&_0x3408e2!==_0xceaed6?_0x92c26b['createElementNS'](_0x3408e2,_0x12a6e6):_0x92c26b['createElement'](_0x12a6e6);}function _0x525ad2(_0x2b902c,_0x4fba5e){for(var _0x23d17e=_0x2b902c['firstChild'];_0x23d17e;){var _0x52cea0=_0x23d17e['nextSibling'];_0x4fba5e['appendChild'](_0x23d17e),_0x23d17e=_0x52cea0;}return _0x4fba5e;}function syncBooleanAttrProp(_0xbc0a1b,_0x557787,_0x2c986c){_0xbc0a1b[_0x2c986c]!==_0x557787[_0x2c986c]&&(_0xbc0a1b[_0x2c986c]=_0x557787[_0x2c986c],_0xbc0a1b[_0x2c986c]?_0xbc0a1b['setAttribute'](_0x2c986c,''):_0xbc0a1b['removeAttribute'](_0x2c986c));}var _0x1c09dd={'OPTION':function(_0x390439,_0xcbd28d){var _0x5cc79d=_0x390439['parentNode'];if(_0x5cc79d){var _0x10ded7=_0x5cc79d['nodeName']['toUpperCase']();'OPTGROUP'===_0x10ded7&&(_0x10ded7=(_0x5cc79d=_0x5cc79d['parentNode'])&&_0x5cc79d['nodeName']['toUpperCase']()),'SELECT'!==_0x10ded7||_0x5cc79d['hasAttribute']('multiple')||(_0x390439['hasAttribute']('selected')&&!_0xcbd28d['selected']&&(_0x390439['setAttribute']('selected','selected'),_0x390439['removeAttribute']('selected')),_0x5cc79d['selectedIndex']=-0x1);}syncBooleanAttrProp(_0x390439,_0xcbd28d,'selected');},'INPUT':function(_0x55ee5a,_0x29e8e5){syncBooleanAttrProp(_0x55ee5a,_0x29e8e5,'checked'),syncBooleanAttrProp(_0x55ee5a,_0x29e8e5,'disabled'),_0x55ee5a['value']!==_0x29e8e5['value']&&(_0x55ee5a['value']=_0x29e8e5['value']),_0x29e8e5['hasAttribute']('value')||_0x55ee5a['removeAttribute']('value');},'TEXTAREA':function(_0x3d518d,_0x1ad54d){var _0x5ea82f=_0x1ad54d['value'];_0x3d518d['value']!==_0x5ea82f&&(_0x3d518d['value']=_0x5ea82f);var _0x2d97b6=_0x3d518d['firstChild'];if(_0x2d97b6){var _0x3f70f4=_0x2d97b6['nodeValue'];if(_0x3f70f4==_0x5ea82f||!_0x5ea82f&&_0x3f70f4==_0x3d518d['placeholder'])return;_0x2d97b6['nodeValue']=_0x5ea82f;}},'SELECT':function(_0x49a937,_0x1e323c){if(!_0x1e323c['hasAttribute']('multiple')){for(var _0x22ce49,_0x2f7189,_0x470f67=-0x1,_0x5b8076=0x0,_0x1029ed=_0x49a937['firstChild'];_0x1029ed;)if('OPTGROUP'===(_0x2f7189=_0x1029ed['nodeName']&&_0x1029ed['nodeName']['toUpperCase']()))(_0x1029ed=(_0x22ce49=_0x1029ed)['firstChild'])||(_0x1029ed=_0x22ce49['nextSibling'],_0x22ce49=null);else{if('OPTION'===_0x2f7189){if(_0x1029ed['hasAttribute']('selected')){_0x470f67=_0x5b8076;break;}_0x5b8076++;}!(_0x1029ed=_0x1029ed['nextSibling'])&&_0x22ce49&&(_0x1029ed=_0x22ce49['nextSibling'],_0x22ce49=null);}_0x49a937['selectedIndex']=_0x470f67;}}},_0x608830=0x1,_0x59abad=0xb,_0x56fb3d=0x3,_0xda7b97=0x8;function _0x22b216(){}function defaultGetNodeKey(_0x1908ec){if(_0x1908ec)return _0x1908ec['getAttribute']&&_0x1908ec['getAttribute']('id')||_0x1908ec['id'];}function morphdomFactory(_0x1caeef){return function(_0x499a34,_0x338788,_0x15667e){if(_0x15667e||(_0x15667e={}),'string'==typeof _0x338788){if('#document'===_0x499a34['nodeName']||'HTML'===_0x499a34['nodeName']||'BODY'===_0x499a34['nodeName']){var _0xe284d6=_0x338788;(_0x338788=_0x92c26b['createElement']('html'))['innerHTML']=_0xe284d6;}else _0x338788=toElement(_0x338788);}else _0x338788['nodeType']===_0x59abad&&(_0x338788=_0x338788['firstElementChild']);var _0x426284=_0x15667e['getNodeKey']||defaultGetNodeKey,_0x4ecd85=_0x15667e['onBeforeNodeAdded']||_0x22b216,_0x34397e=_0x15667e['onNodeAdded']||_0x22b216,_0x5bddd4=_0x15667e['onBeforeElUpdated']||_0x22b216,_0x43de27=_0x15667e['onElUpdated']||_0x22b216,_0xdf1501=_0x15667e['onBeforeNodeDiscarded']||_0x22b216,_0x41a8b9=_0x15667e['onNodeDiscarded']||_0x22b216,_0x5d9294=_0x15667e['onBeforeElChildrenUpdated']||_0x22b216,_0x13a0df=_0x15667e['skipFromChildren']||_0x22b216,_0xc3fd4b=_0x15667e['addChild']||function(_0x3c18e7,_0x246d5f){return _0x3c18e7['appendChild'](_0x246d5f);},_0x36a9b3=!0x0===_0x15667e['childrenOnly'],_0x268cce=Object['create'](null),_0x3ef87d=[];function _0x52bd3d(_0x14ba80){_0x3ef87d['push'](_0x14ba80);}function _0x3a5b37(_0x5c84c3,_0x5cdf14){if(_0x5c84c3['nodeType']===_0x608830)for(var _0x1ccac4=_0x5c84c3['firstChild'];_0x1ccac4;){var _0x1542c1=void 0x0;_0x5cdf14&&(_0x1542c1=_0x426284(_0x1ccac4))?_0x52bd3d(_0x1542c1):(_0x41a8b9(_0x1ccac4),_0x1ccac4['firstChild']&&_0x3a5b37(_0x1ccac4,_0x5cdf14)),_0x1ccac4=_0x1ccac4['nextSibling'];}}function _0x30e9fa(_0x100bdc,_0x220a21,_0x4b725f){!0x1!==_0xdf1501(_0x100bdc)&&(_0x220a21&&_0x220a21['removeChild'](_0x100bdc),_0x41a8b9(_0x100bdc),_0x3a5b37(_0x100bdc,_0x4b725f));}function _0x4e49d9(_0x18a321){if(_0x18a321['nodeType']===_0x608830||_0x18a321['nodeType']===_0x59abad)for(var _0x12ecf9=_0x18a321['firstChild'];_0x12ecf9;){var _0x2e004a=_0x426284(_0x12ecf9);_0x2e004a&&(_0x268cce[_0x2e004a]=_0x12ecf9),_0x4e49d9(_0x12ecf9),_0x12ecf9=_0x12ecf9['nextSibling'];}}function _0x449b61(_0x2e49fb){_0x34397e(_0x2e49fb);for(var _0xac30a2=_0x2e49fb['firstChild'];_0xac30a2;){var _0x524535=_0xac30a2['nextSibling'],_0x1377bc=_0x426284(_0xac30a2);if(_0x1377bc){var _0xcd1010=_0x268cce[_0x1377bc];_0xcd1010&&_0x332b51(_0xac30a2,_0xcd1010)?(_0xac30a2['parentNode']['replaceChild'](_0xcd1010,_0xac30a2),_0x7195fa(_0xcd1010,_0xac30a2)):_0x449b61(_0xac30a2);}else _0x449b61(_0xac30a2);_0xac30a2=_0x524535;}}function _0x7195fa(_0x390834,_0x84888f,_0x55eaac){var _0x54210e=_0x426284(_0x84888f);if(_0x54210e&&delete _0x268cce[_0x54210e],!_0x55eaac){var _0x3dc6cd=_0x5bddd4(_0x390834,_0x84888f);if(!0x1===_0x3dc6cd)return;if(_0x3dc6cd instanceof HTMLElement&&_0x4e49d9(_0x390834=_0x3dc6cd),_0x1caeef(_0x390834,_0x84888f),_0x43de27(_0x390834),!0x1===_0x5d9294(_0x390834,_0x84888f))return;}'TEXTAREA'!==_0x390834['nodeName']?function(_0x4fbcd8,_0x139cd5){var _0x5c5707,_0xea9064,_0x12b327,_0x3b3255,_0x3cc493,_0x502f2f=_0x13a0df(_0x4fbcd8,_0x139cd5),_0x16879a=_0x139cd5['firstChild'],_0x1b138a=_0x4fbcd8['firstChild'];t:for(;_0x16879a;){for(_0x3b3255=_0x16879a['nextSibling'],_0x5c5707=_0x426284(_0x16879a);!_0x502f2f&&_0x1b138a;){if(_0x12b327=_0x1b138a['nextSibling'],_0x16879a['isSameNode']&&_0x16879a['isSameNode'](_0x1b138a)){_0x16879a=_0x3b3255,_0x1b138a=_0x12b327;continue t;}_0xea9064=_0x426284(_0x1b138a);var _0x575fbb=_0x1b138a['nodeType'],_0x58bc5d=void 0x0;if(_0x575fbb===_0x16879a['nodeType']&&(_0x575fbb===_0x608830?(_0x5c5707?_0x5c5707!==_0xea9064&&((_0x3cc493=_0x268cce[_0x5c5707])?_0x12b327===_0x3cc493?_0x58bc5d=!0x1:(_0x4fbcd8['insertBefore'](_0x3cc493,_0x1b138a),_0xea9064?_0x52bd3d(_0xea9064):_0x30e9fa(_0x1b138a,_0x4fbcd8,!0x0),_0xea9064=_0x426284(_0x1b138a=_0x3cc493)):_0x58bc5d=!0x1):_0xea9064&&(_0x58bc5d=!0x1),(_0x58bc5d=!0x1!==_0x58bc5d&&_0x332b51(_0x1b138a,_0x16879a))&&_0x7195fa(_0x1b138a,_0x16879a)):_0x575fbb!==_0x56fb3d&&_0x575fbb!=_0xda7b97||(_0x58bc5d=!0x0,_0x1b138a['nodeValue']!==_0x16879a['nodeValue']&&(_0x1b138a['nodeValue']=_0x16879a['nodeValue']))),_0x58bc5d){_0x16879a=_0x3b3255,_0x1b138a=_0x12b327;continue t;}_0xea9064?_0x52bd3d(_0xea9064):_0x30e9fa(_0x1b138a,_0x4fbcd8,!0x0),_0x1b138a=_0x12b327;}if(_0x5c5707&&(_0x3cc493=_0x268cce[_0x5c5707])&&_0x332b51(_0x3cc493,_0x16879a))_0x502f2f||_0xc3fd4b(_0x4fbcd8,_0x3cc493),_0x7195fa(_0x3cc493,_0x16879a);else{var _0x38d4f6=_0x4ecd85(_0x16879a);!0x1!==_0x38d4f6&&(_0x38d4f6&&(_0x16879a=_0x38d4f6),_0x16879a['actualize']&&(_0x16879a=_0x16879a['actualize'](_0x4fbcd8['ownerDocument']||_0x92c26b)),_0xc3fd4b(_0x4fbcd8,_0x16879a),_0x449b61(_0x16879a));}_0x16879a=_0x3b3255,_0x1b138a=_0x12b327;}!function(_0x55bda4,_0x4b3f55,_0x53f9b6){for(;_0x4b3f55;){var _0x5105e9=_0x4b3f55['nextSibling'];(_0x53f9b6=_0x426284(_0x4b3f55))?_0x52bd3d(_0x53f9b6):_0x30e9fa(_0x4b3f55,_0x55bda4,!0x0),_0x4b3f55=_0x5105e9;}}(_0x4fbcd8,_0x1b138a,_0xea9064);var _0xaa4a89=_0x1c09dd[_0x4fbcd8['nodeName']];_0xaa4a89&&_0xaa4a89(_0x4fbcd8,_0x139cd5);}(_0x390834,_0x84888f):_0x1c09dd['TEXTAREA'](_0x390834,_0x84888f);}_0x4e49d9(_0x499a34);var _0x5a8a6d=_0x499a34,_0x549848=_0x5a8a6d['nodeType'],_0x374e05=_0x338788['nodeType'];if(!_0x36a9b3){if(_0x549848===_0x608830)_0x374e05===_0x608830?_0x332b51(_0x499a34,_0x338788)||(_0x41a8b9(_0x499a34),_0x5a8a6d=_0x525ad2(_0x499a34,createElementNS(_0x338788['nodeName'],_0x338788['namespaceURI']))):_0x5a8a6d=_0x338788;else{if(_0x549848===_0x56fb3d||_0x549848===_0xda7b97){if(_0x374e05===_0x549848)return _0x5a8a6d['nodeValue']!==_0x338788['nodeValue']&&(_0x5a8a6d['nodeValue']=_0x338788['nodeValue']),_0x5a8a6d;_0x5a8a6d=_0x338788;}}}if(_0x5a8a6d===_0x338788)_0x41a8b9(_0x499a34);else{if(_0x338788['isSameNode']&&_0x338788['isSameNode'](_0x5a8a6d))return;if(_0x7195fa(_0x5a8a6d,_0x338788,_0x36a9b3),_0x3ef87d)for(var _0xcfe36a=0x0,_0x2d3da4=_0x3ef87d['length'];_0xcfe36a<_0x2d3da4;_0xcfe36a++){var _0x7b4115=_0x268cce[_0x3ef87d[_0xcfe36a]];_0x7b4115&&_0x30e9fa(_0x7b4115,_0x7b4115['parentNode'],!0x1);}}return!_0x36a9b3&&_0x5a8a6d!==_0x499a34&&_0x499a34['parentNode']&&(_0x5a8a6d['actualize']&&(_0x5a8a6d=_0x5a8a6d['actualize'](_0x499a34['ownerDocument']||_0x92c26b)),_0x499a34['parentNode']['replaceChild'](_0x5a8a6d,_0x499a34)),_0x5a8a6d;};}var _0x23794b=morphdomFactory(morphAttrs);class HTMLStreamer{['options'];['isStreaming']=!0x1;['document']=null;['nodesList']=[];['currentIndex']=0x0;['timeoutAbortController']=null;constructor(_0x3d8af4){this['options']={'delay':_0x3d8af4['delay']??0x14,'textNodeStyle':_0x3d8af4['textNodeStyle'],'onStreamUpdate':_0x3d8af4['onStreamUpdate']||(()=>{})};}async['stream']({document:_0x5a7e65,targetElement:_0x3b683f,abortSignal:_0xcb92ec}){this['isStreaming']&&this['stop'](),_0xcb92ec?.['addEventListener']('abort',this['stop']['bind'](this)),this['document']=_0x38f33c(_0x5a7e65,!0x0),this['nodesList']=this['getParsedDocumentNodeList'](),this['isStreaming']=!0x0,this['currentIndex']>this['nodesList']['length']&&(ckeditor5['logWarning']('ai-html-streamer-current-index-out-of-bounds',{'currentIndex':this['currentIndex'],'nodeList':this['nodesList']}),this['currentIndex']=this['nodesList']['length']);for(let _0x57789e=0x0;_0x57789e<this['currentIndex'];_0x57789e++)this['nodesList'][_0x57789e]['shouldBeStreamed']=!0x0;let _0x37d54e=0x0;for(let _0x536af3=this['currentIndex'];_0x536af3<this['nodesList']['length'];_0x536af3++){const _0x34dacb=Date['now'](),_0x12890b=this['nodesList'][_0x536af3],_0x221f58=_0x34dacb-_0x37d54e;_0x12890b['shouldBeStreamed']=!0x0;let _0xab8637=_0x12890b['parent'];for(;_0xab8637;)_0xab8637['shouldBeStreamed']=!0x0,_0xab8637=_0xab8637['parent'];if(_0x221f58<this['options']['delay'])try{const {promise:_0x540a70,abortController:_0xe8d9b1}=createAbortableTimeout(this['options']['delay']-_0x221f58);this['timeoutAbortController']=_0xe8d9b1,await _0x540a70;}catch(_0x48c5c){return;}_0x23794b(_0x3b683f,'<'+_0x3b683f['tagName']+'>'+this['renderNode'](this['document'])+'</'+_0x3b683f['tagName']+'>',{'childrenOnly':!0x0}),this['options']['onStreamUpdate']&&this['options']['onStreamUpdate'](),this['currentIndex']=_0x536af3,_0x37d54e=Date['now']();}this['isStreaming']=!0x1;}['cleanUpAnimations']({targetElement:_0x307542}){Array['from'](_0x307542['querySelectorAll']('span[data-ck-html-streamer-word-chunk]'))['reverse']()['forEach'](_0x3429c2=>{_0x3429c2['replaceWith'](_0x3429c2['childNodes'][0x0]);});}['stop'](){this['isStreaming']=!0x1,this['timeoutAbortController']&&(this['timeoutAbortController']['abort'](),this['timeoutAbortController']=null);}['renderNode'](_0x183cfc){let _0x3cd5dc='';if(isParsedDocumentNode(_0x183cfc)){for(const _0x4fe12c of _0x183cfc['children'])_0x3cd5dc+=this['renderNode'](_0x4fe12c);}else{if(isParsedElementNode(_0x183cfc)){if(!_0x183cfc['shouldBeStreamed'])return'';const _0x1d9d4c=_0x183cfc,_0x17684a=Object['entries'](_0x1d9d4c['attribs'])['map'](([_0xdf2b5e,_0x85e4b8])=>_0xdf2b5e+'=\x22'+_0x85e4b8+'\x22')['join']('\x20');_0x3cd5dc+='<'+_0x1d9d4c['tagName']+(_0x17684a?'\x20'+_0x17684a:'')+'>';for(const _0x2441c1 of getChildren$1(_0x1d9d4c))_0x3cd5dc+=this['renderNode'](_0x2441c1);_0x3cd5dc+='</'+_0x1d9d4c['tagName']+'>';}else{if(!isParsedTextNode(_0x183cfc))return'';if(!_0x183cfc['shouldBeStreamed'])return'';_0x315ae3(_0x183cfc)?_0x3cd5dc+=_0x56a8de(new Element$3('span',{'data-ck-html-streamer-word-chunk':'','style':this['options']['textNodeStyle']},[_0x183cfc])):_0x3cd5dc+=_0x56a8de(_0x183cfc);}}return _0x3cd5dc;}['getParsedDocumentNodeList'](){const _0xff9e1=[];return traverseParsedDocument(this['document'],_0x548e37=>{if(isParsedTextNode(_0x548e37)){const _0x3137da=this['splitTextNodeIntoWordNodes'](_0x548e37);_0x3137da['length']&&_0xff9e1['push'](..._0x3137da);}_0x548e37['isWordSplitSource']||_0x548e37['isWordSplitResult']||_0xff9e1['push'](_0x548e37);}),_0xff9e1;}['splitTextNodeIntoWordNodes'](_0x2696f2){if(_0x2696f2['isWordSplitSource']||_0x2696f2['isWordSplitResult'])return[];const _0x41f931=textContent(_0x2696f2)['match'](/(?:\s*\S+\s*)/g),_0x847a51=[];if(_0x41f931&&_0x41f931['length']>0x1){for(const _0x28b48f of _0x41f931){const _0x49485e=new Text$1(_0x28b48f);_0x49485e['isWordSplitResult']=!0x0,_0x5c4324(_0x2696f2,_0x49485e),_0x847a51['push'](_0x49485e);}_0x2696f2['isWordSplitSource']=!0x0,removeElement(_0x2696f2);}return _0x847a51;}}const _0x26dd98=['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(_0x777c50,_0x1b31a4){const _0x40a95d=_0x13bec3=>{if(_0x1b31a4(_0x13bec3),_0x13bec3 instanceof NodeWithChildren)for(let _0x5b574d=0x0;_0x5b574d<_0x13bec3['children']['length'];_0x5b574d++){const _0x5a2723=_0x13bec3['children'][_0x5b574d];_0x40a95d(_0x5a2723);}};for(let _0x5267d4=0x0;_0x5267d4<_0x777c50['children']['length'];_0x5267d4++)_0x40a95d(_0x777c50['children'][_0x5267d4]);}function _0x315ae3(_0x4976eb){return!(!_0x4976eb['parent']||!isParsedElementNode(_0x4976eb['parent']))&&(!!_0x26dd98['includes'](_0x4976eb['parent']['tagName'])&&!textContent(_0x4976eb)['match'](/^\s*[<>]\s*$/));}function isParsedTextNode(_0x2c0453){return isText$1(_0x2c0453);}function isParsedElementNode(_0x539dde){return _0x1caf01(_0x539dde);}function isParsedDocumentNode(_0x48bae8){return isDocument(_0x48bae8);}function createAbortableTimeout(_0x5db78d){const _0x487008=new AbortController();return{'promise':new Promise((_0xe9c2ad,_0xeee3f8)=>{const _0x26a746=setTimeout(_0xe9c2ad,_0x5db78d);_0x487008['signal']['addEventListener']('abort',()=>{clearTimeout(_0x26a746),_0xeee3f8();});}),'abortController':_0x487008};}const _0x29388d=['showChangeInText','insertSuggestion','applySuggestion','rejectSuggestion','mouseOverSuggestion','mouseLeaveSuggestion','toggleSuggestionDisplayMode','like','dislike'];class AISuggestionBodyViewContentPartView extends ckeditor5['View']{['htmlStreamer'];['children'];['headerView'];['contentView'];constructor(_0x203abe,{part:_0x3b66aa,areActionsDisabled:_0x2f685f}){super(_0x203abe),this['set']('partDefinition',_0x3b66aa),this['set']('state','pending'),this['set']('isVisible',!0x1),this['bind']('isEnabled')['to'](this,'state',_0x9c935f=>'pending'==_0x9c935f&&!_0x2f685f),this['children']=this['createCollection'](),this['htmlStreamer']=new HTMLStreamer({'textNodeStyle':'animation:\x20ck-html-streamer-fade-in\x20.5s','delay':0x14}),this['headerView']=new AISuggestionBodyViewContentPartHeaderView(_0x203abe,_0x3b66aa),this['headerView']['bind']('partDefinition')['to'](this),this['headerView']['bind']('isEnabled')['to'](this),this['headerView']['bind']('state')['to'](this),this['headerView']['delegate'](..._0x29388d)['to'](this);const _0x2c78e0=this['bindTemplate'];this['contentView']=new ckeditor5['View'](),this['contentView']['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-content','ck-reset_all-excluded','ck-ai-suggestion__body__content-part__content']}}),this['children']['addMany']([this['contentView']]),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-suggestion__body__content-part',_0x2c78e0['to']('state',_0x2b03c3=>'ck-ai-suggestion__body__content-part_'+_0x2b03c3),_0x2c78e0['to']('isEnabled',_0xc2ca89=>_0xc2ca89?'ck-ai-suggestion__body__content-part_active':void 0x0),_0x2c78e0['if']('isVisible','ck-hidden',_0x5c3c2c=>!_0x5c3c2c)]},'children':this['children'],'on':{'mouseenter':_0x2c78e0['to'](()=>{this['isEnabled']&&this['fire']('mouseOverSuggestion',{'index':_0x3b66aa['index']});}),'mouseleave':_0x2c78e0['to'](()=>{this['isEnabled']&&this['fire']('mouseLeaveSuggestion',{'index':_0x3b66aa['index']});})}});}async['updateContent']({part:_0x127a01,renderingStrategy:_0x3b08eb,showUnchangedParts:_0x2f6a74=!0x1,abortSignal:_0xa4fbcd}){this['partDefinition']=_0x127a01,this['isVisible']=this['partDefinition']['hasChanges']||_0x2f6a74,this['isVisible']&&('streaming'===_0x3b08eb?await this['htmlStreamer']['stream']({'document':this['partDefinition']['content'],'targetElement':this['contentView']['element'],'abortSignal':_0xa4fbcd}):this['contentView']['element']['innerHTML']=_0x28c879(this['partDefinition']['content']));}['toggleHeader'](_0x2156fa){_0x2156fa?this['children']['has'](this['headerView'])||this['children']['add'](this['headerView'],0x0):this['children']['has'](this['headerView'])&&this['children']['remove'](this['headerView']);}}class AISuggestionBodyViewContentPartHeaderView extends ckeditor5['View']{['children'];['_toolbarView'];['_iconStateAccepted'];['_iconStateRejected'];['_iconStateOutdated'];constructor(_0x2a2855,_0x2d7df5){super(_0x2a2855),this['set']('partDefinition',_0x2d7df5),this['set']('isEnabled',!0x0),this['set']('state','pending');const _0x5e0d5c=new ckeditor5['IconView']();_0x5e0d5c['content']=ckeditor5['IconThreeStars'],_0x5e0d5c['extendTemplate']({'attributes':{'class':['ck-ai-suggestion__body__content-part__icon-title']}});const _0xf62f02=new ckeditor5['ButtonView'](_0x2a2855);_0xf62f02['set']({'label':getTranslation$i(_0x2a2855,'AI_SUGGESTION_CONTENT_PART_SHOW_IN_THE_TEXT'),'tooltip':!0x0,'withText':!0x1,'icon':ckeditor5['IconDocumentWithLoupe']}),_0xf62f02['bind']('isEnabled')['to'](this),_0xf62f02['on']('execute',()=>{this['fire']('showChangeInText',{'index':_0x2d7df5['index']});});const _0x2feab8=new ckeditor5['ButtonView'](_0x2a2855);_0x2feab8['set']({'label':getTranslation$i(_0x2a2855,'AI_SUGGESTION_CONTENT_PART_ADD_AS_SUGGESTION'),'tooltip':!0x0,'withText':!0x1,'icon':ckeditor5['IconAddComment']}),_0x2feab8['bind']('isEnabled')['to'](this),_0x2feab8['on']('execute',()=>{this['fire']('insertSuggestion',{'index':_0x2d7df5['index']});});const _0x44f7a6=new ckeditor5['ButtonView'](_0x2a2855);_0x44f7a6['set']({'label':getTranslation$i(_0x2a2855,'AI_SUGGESTION_CONTENT_PART_DELETE'),'tooltip':!0x0,'withText':!0x1,'icon':ckeditor5['IconRemove']}),_0x44f7a6['on']('execute',()=>{this['fire']('rejectSuggestion',{'index':_0x2d7df5['index']});}),_0x44f7a6['bind']('isEnabled')['to'](this),this['_toolbarView']=new ckeditor5['ToolbarView'](_0x2a2855),this['_toolbarView']['items']['addMany']([_0xf62f02,_0x2feab8,_0x44f7a6]),this['_iconStateAccepted']=new ckeditor5['IconView'](),this['_iconStateAccepted']['content']=ckeditor5['IconDocumentWithCheckmark'],this['_iconStateAccepted']['extendTemplate']({'attributes':{'class':['ck-ai-suggestion__body__content-part__icon-accepted'],'data-cke-tooltip-text':getTranslation$i(_0x2a2855,'AI_SUGGESTION_CONTENT_PART_ALREADY_APPLIED'),'data-cke-tooltip-position':'n'}}),this['_iconStateRejected']=new ckeditor5['IconView'](),this['_iconStateRejected']['content']=ckeditor5['IconDocumentWithCross'],this['_iconStateRejected']['extendTemplate']({'attributes':{'class':['ck-ai-suggestion__body__content-part__icon-rejected'],'data-cke-tooltip-text':getTranslation$i(_0x2a2855,'AI_SUGGESTION_CONTENT_PART_REJECTED'),'data-cke-tooltip-position':'n'}}),this['_iconStateOutdated']=new ckeditor5['IconView'](),this['_iconStateOutdated']['content']=ckeditor5['IconDocumentWithCross'],this['_iconStateOutdated']['extendTemplate']({'attributes':{'class':['ck-ai-suggestion__body__content-part__icon-outdated'],'data-cke-tooltip-text':getTranslation$i(_0x2a2855,'AI_SUGGESTION_CONTENT_PART_OUTDATED'),'data-cke-tooltip-position':'n'}});const _0x31eabd=new ckeditor5['View'](_0x2a2855);_0x31eabd['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-ai-suggestion__body__content-part__title__label']},'children':[getTranslation$i(_0x2a2855,'AI_SUGGESTION_CONTENT_PART_TITLE',(_0x2d7df5['index']+0x1)['toString']())]}),this['children']=this['createCollection'](),this['children']['addMany']([_0x5e0d5c,_0x31eabd,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',(_0x2f7495,_0x2664ea,_0x4bfd09,_0x37cedb)=>{switch(_0x37cedb){case'pending':this['children']['remove'](this['_toolbarView']);break;case'accepted':this['children']['remove'](this['_iconStateAccepted']);break;case'rejected':this['children']['remove'](this['_iconStateRejected']);break;case'outdated':this['children']['remove'](this['_iconStateOutdated']);}switch(_0x4bfd09){case'pending':this['children']['add'](this['_toolbarView']);break;case'accepted':this['children']['add'](this['_iconStateAccepted']);break;case'rejected':this['children']['add'](this['_iconStateRejected']);break;case'outdated':this['children']['add'](this['_iconStateOutdated']);}});}}class _0x209e4e extends ckeditor5['EmitterMixin'](){['queue']=[];['isProcessing']=!0x1;['_abortController'];async['enqueue'](_0x2670cd){const _0x36d336=this['createTask'](_0x2670cd);return this['queue']['push'](_0x36d336),this['_processQueue'](),_0x36d336['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(_0x27ff44=>{this['once']('_queueEmpty',()=>{_0x27ff44();});}):Promise['resolve']();}async['_processQueue'](){if(!this['isProcessing']){this['_abortController']=new AbortController(),this['isProcessing']=!0x0;try{for(;this['queue']['length']&&this['isProcessing'];){const _0x2fd7f7=this['queue']['shift']();try{await _0x2fd7f7['callback'](this['_abortController']['signal']),_0x2fd7f7['resolve']();}catch(_0x3a185d){_0x2fd7f7['reject'](_0x3a185d);}}}finally{this['isProcessing']=!0x1,this['_abortController']=void 0x0;}this['fire']('_queueEmpty');}}['createTask'](_0xf4cf35){let _0xda4e29,_0x3efc9f;const _0x2b2b50=new Promise((_0x169f53,_0x26b391)=>{_0xda4e29=_0x169f53,_0x3efc9f=_0x26b391;});return{'callback':_0xf4cf35,'resolve':_0xda4e29,'reject':_0x3efc9f,'completePromise':_0x2b2b50};}}class AIChatFeedItemView extends ckeditor5['View']{['options'];['content']='';['htmlStreamer'];['children'];constructor(_0x3c47b6){super();const _0xbb6cd1=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']=_0x3c47b6,this['children']=this['createCollection'](),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-chat__feed__item',_0xbb6cd1['if']('isDone','ck-ai-chat__feed__item_done'),_0xbb6cd1['if']('isVisible','ck-hidden',_0x332e08=>!_0x332e08),'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'](_0x120d49=>{_0x120d49['removeAttribute']('data-id');}),this['isDone']=!0x0;}async['streamIntoElement'](_0x162666,_0x5e0cad,_0x38a3b7){await this['htmlStreamer']['stream']({'document':_0x162666,'targetElement':_0x5e0cad,'abortSignal':_0x38a3b7});}}class AIChatFeedErrorItemView extends AIChatFeedItemView{constructor(_0x4591d0){super(_0x4591d0),this['extendTemplate']({'attributes':{'class':['ck-ai-chat-error','warning'===_0x4591d0['level']?'ck-ai-chat-error_warning':'']}});}['render'](){super['render'](),this['setContent'](this['options']['initialContent']),this['markAsDone']();}['setContent'](_0x469fbb){this['element']['innerHTML']=_0x469fbb;}}class AISuggestionBodyView extends ckeditor5['View']{['_children'];['_areActionsDisabled'];['_showUnchangedParts'];['_updateContentPartsPromiseQueue'];['_emptyPartsWarningView'];constructor(_0x32abad,{areActionsDisabled:_0x3e2a39,showUnchangedParts:_0x2ee2e9}){super(_0x32abad),this['_areActionsDisabled']=_0x3e2a39,this['_showUnchangedParts']=_0x2ee2e9,this['set']('hasPendingParts',!0x1),this['_children']=this['createCollection'](),this['_updateContentPartsPromiseQueue']=new _0x209e4e(),this['_emptyPartsWarningView']=new AIChatFeedErrorItemView({'id':'empty-parts-warning','initialContent':getTranslation$i(_0x32abad,'AI_SUGGESTION_EMPTY_PART_WARNING'),'level':'warning'}),this['_emptyPartsWarningView']['isVisible']=!0x1,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']]});}get['partsCount'](){return this['_children']['length'];}async['updateContentParts']({parts:_0x52b7f7,renderingStrategy:_0x51744d,abortSignal:_0x318e4a}){for(const _0x1ea9df of _0x52b7f7)this['_updateContentPartsPromiseQueue']['enqueue'](async _0x24f607=>{let _0x1b606a=this['_children']['find'](_0x56db44=>_0x56db44['partDefinition']['index']==_0x1ea9df['index']);_0x1b606a||(_0x1b606a=new AISuggestionBodyViewContentPartView(this['locale'],{'part':_0x1ea9df,'areActionsDisabled':this['_areActionsDisabled']}),_0x1b606a['delegate'](..._0x29388d)['to'](this),this['_children']['add'](_0x1b606a),this['hasPendingParts']=!0x0),0x2===this['_children']['length']&&this['_children']['first']['toggleHeader'](!0x0),_0x1b606a['toggleHeader'](this['_children']['length']>0x1),await _0x1b606a['updateContent']({'part':_0x1ea9df,'renderingStrategy':_0x51744d,'showUnchangedParts':this['_showUnchangedParts'],'abortSignal':_0x24f607});});return _0x318e4a?.['addEventListener']('abort',()=>{this['_updateContentPartsPromiseQueue']['abort']();}),this['_updateContentPartsPromiseQueue']['queueEmptyPromise'];}['updatePartState'](_0x3db5ef,_0x359896){this['_children']['get'](_0x3db5ef)['state']=_0x359896,this['hasPendingParts']='pending'==_0x359896||Array['from'](this['_children'])['some'](_0x1d7891=>'pending'==_0x1d7891['state']);}['getPartView'](_0x23fb96){return this['_children']['get'](_0x23fb96);}['markAsDone'](){if(!this['_showUnchangedParts']){const _0x3ec288=!this['_children']['find'](_0x27fc1e=>_0x27fc1e['partDefinition']['hasChanges']),_0x9a87ee=!!this['_children']['find'](_0xa4043=>!_0xa4043['partDefinition']['hasChanges']);this['_emptyPartsWarningView']['isVisible']=0x0==this['_children']['length']||_0x9a87ee,_0x3ec288?this['_emptyPartsWarningView']['setContent'](getTranslation$i(this['locale'],'AI_SUGGESTION_NO_PARTS_WARNING')):this['_emptyPartsWarningView']['setContent'](getTranslation$i(this['locale'],'AI_SUGGESTION_EMPTY_PART_WARNING'));}}get['hasNonEmptyParts'](){return!!this['_children']['find'](_0x7bea35=>_0x7bea35['partDefinition']['hasChanges']);}}class _0xbc7c50 extends ckeditor5['SpinnerView']{constructor(_0x2ba0e4=void 0x0){super();const _0x2323e1=_0x2ba0e4?'ck-ai-spinner_'+_0x2ba0e4:'';this['extendTemplate']({'tag':'span','attributes':{'class':['ck-ai-spinner',_0x2323e1]}});}}class AISuggestionContainerView extends ckeditor5['View']{['bodyView'];['miniToolbarView'];['children'];['headerView'];['loaderView'];['errorView'];['sourcesView'];constructor(_0x473da6,{showDiff:_0x78c02a,areActionsDisabled:_0x4b6cc6,miniToolbarConfig:_0x333cc3,hideHeader:_0x4da64b,showLoader:_0x563b46,showUnchangedParts:_0x217d1b}){super(_0x473da6),this['set']('areChangesVisible',!0x1),this['set']('isLoaderVisible',!!_0x563b46),this['set']('isErrorVisible',!0x1),this['set']('isLoading',!0x1),this['children']=this['createCollection'](),_0x4da64b||(this['headerView']=new AISuggestionHeaderView(_0x473da6,{'showDiff':_0x78c02a}),this['headerView']['on']('toggleShowChanges',(_0x3d6d56,_0x55d928)=>{this['areChangesVisible']=_0x55d928['isOn'],this['fire']('toggleSuggestionDisplayMode',{'showDiff':_0x55d928['isOn']});}),this['children']['add'](this['headerView'])),this['bodyView']=new AISuggestionBodyView(_0x473da6,{'areActionsDisabled':_0x4b6cc6,'showUnchangedParts':!!_0x217d1b}),this['bodyView']['delegate'](..._0x29388d)['to'](this),this['bodyView']['extendTemplate']({'attributes':{'class':[this['bindTemplate']['if']('isLoaderVisible','ck-hidden'),this['bindTemplate']['if']('isErrorVisible','ck-hidden')]}}),this['miniToolbarView']=new _0x3df4bc(_0x473da6,_0x333cc3,_0x78c02a),this['miniToolbarView']['delegate'](..._0x29388d)['to'](this),this['miniToolbarView']['on']('toggleShowChanges',(_0x1dda64,_0x2e19b3)=>{this['areChangesVisible']=_0x2e19b3,this['fire']('toggleSuggestionDisplayMode',{'showDiff':_0x2e19b3});}),this['miniToolbarView']['bind']('isLoading')['to'](this),this['children']['add'](this['bodyView']),this['children']['add'](this['miniToolbarView']),this['sourcesView']=new _0x3fd266(this['locale']),this['children']['add'](this['sourcesView']),_0x563b46&&(this['loaderView']=this['_createLoaderView'](),this['children']['add'](this['loaderView'])),this['errorView']=this['_createErrorView'](),this['children']['add'](this['errorView']),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-suggestion__container','ck-rounded-corners']},'children':this['children']});}async['updateContent'](_0x152e93){await this['bodyView']['updateContentParts'](_0x152e93);}['updateSources'](_0x4ce541){this['sourcesView']['children']['addMany'](_0x4ce541['map'](_0x59e5de=>new _0x196f82(this['locale'],_0x59e5de))),this['sourcesView']['isVisible']=!0x0;}['showLoader'](){this['loaderView']&&(this['isLoaderVisible']=!0x0);}['hideLoader'](){this['loaderView']&&(this['isLoaderVisible']=!0x1);}['showError'](_0x24e5f7){if(this['errorView']){const _0x54953d=this['errorView']['element']?.['querySelector']('.ck-ai-suggestion__error-text');_0x54953d&&(_0x54953d['textContent']=_0x24e5f7),this['isErrorVisible']=!0x0;}}['hideError'](){this['errorView']&&(this['isErrorVisible']=!0x1);}['markAsDone'](){this['bodyView']['markAsDone'](),this['headerView']&&(this['headerView']['isShowChangesToggleVisible']=this['bodyView']['hasNonEmptyParts']);}['setLoading'](){this['isLoading']=!0x0;}['clearLoading'](){this['isLoading']=!0x1;}['setErrorState'](){this['miniToolbarView']&&(this['miniToolbarView']['isLoading']=!0x0),this['headerView']?.['showChangesToggleView']&&(this['headerView']['showChangesToggleView']['isEnabled']=!0x1);}['clearErrorState'](){this['miniToolbarView']&&(this['miniToolbarView']['isLoading']=!0x1),this['headerView']?.['showChangesToggleView']&&(this['headerView']['showChangesToggleView']['isEnabled']=!0x0);}['addNavigationItem'](_0x1d75ef){this['miniToolbarView']['items']['add'](_0x1d75ef);}['removeNavigationItem'](_0x3270bf){this['miniToolbarView']['items']['remove'](_0x3270bf);}['_createLoaderView'](){const _0x1c3d35=new ckeditor5['View'](this['locale']),_0x460fed=new _0xbc7c50('small');_0x460fed['isVisible']=!0x0;const _0x18fca5=new ckeditor5['View'](this['locale']);return _0x18fca5['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-ai-suggestion__loader-text']},'children':[getTranslation$i(this['locale'],'AI_CHAT_IS_WRITING')]}),_0x1c3d35['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-suggestion__loader',this['bindTemplate']['if']('isLoaderVisible','ck-hidden',_0x4a747b=>!_0x4a747b)]},'children':[_0x460fed,_0x18fca5]}),_0x1c3d35;}['_createErrorView'](){const _0xcbb037=new ckeditor5['View'](this['locale']),_0x4ac9ac=new ckeditor5['View'](this['locale']);return _0x4ac9ac['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-ai-suggestion__error-text']},'children':[getTranslation$i(this['locale'],'AI_CHAT_GENERIC_ERROR')]}),_0xcbb037['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-suggestion__error',this['bindTemplate']['if']('isErrorVisible','ck-hidden',_0x30f17e=>!_0x30f17e)]},'children':[_0x4ac9ac]}),_0xcbb037;}}class _0x3fd266 extends ckeditor5['View']{['children'];constructor(_0xfc4a10){super(_0xfc4a10),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',_0x463de1=>!_0x463de1)]},'children':this['children']});const _0x3420cc=new ckeditor5['View'](this['locale']),_0x13f3b3=new ckeditor5['IconView']();_0x13f3b3['content']=ckeditor5['IconWeb'],_0x3420cc['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-web-sources__header']},'children':[_0x13f3b3,{'tag':'span','children':[{'text':getTranslation$i(this['locale'],'AI_CHAT_SOURCES_HEADER')}]}]}),this['children']['add'](_0x3420cc);}}class _0x196f82 extends ckeditor5['ButtonView']{constructor(_0x5e5b2c,_0x5a50c8){super(_0x5e5b2c),this['set']({'label':_0x5a50c8['title'],'tooltip':_0x5a50c8['title'],'class':['ck\x20ck-ai-web-source'],'withText':!0x0});const _0x5e196e=this['bindTemplate'];if(this['extendTemplate']({'on':{'click':_0x5e196e['to'](()=>{window['open'](_0x5a50c8['url'],'_blank');})}}),_0x5a50c8['favicon']){const _0x4982fc=new ckeditor5['View'](_0x5e5b2c);_0x4982fc['setTemplate']({'tag':'img','attributes':{'src':_0x5a50c8['favicon']||ckeditor5['IconWeb'],'alt':_0x5a50c8['title'],'class':['ck-ai-web-source__image']}}),this['children']['add'](_0x4982fc);}else this['set']('icon',ckeditor5['IconWeb']);}}class _0x65e22c extends ckeditor5['ToolbarView']{constructor(_0x4d175a,_0x2732d9=!0x0,_0x5e3b0c=!0x0){super(_0x4d175a),this['set']('isLoading',!0x1),_0x2732d9&&(this['applyButton']=this['_createButton'](getTranslation$i(_0x4d175a,'AI_BALLOON_APPLY_BUTTON'),'ck-ai-button-primary'),this['applyButton']['bind']('isEnabled')['to'](this,'isLoading',_0x56f260=>!_0x56f260),this['items']['add'](this['applyButton'])),_0x5e3b0c&&(this['suggestButton']=this['_createButton'](getTranslation$i(_0x4d175a,'AI_BALLOON_SUGGEST_BUTTON'),_0x2732d9?'ck-ai-button-secondary':'ck-ai-button-primary'),this['suggestButton']['bind']('isEnabled')['to'](this,'isLoading',_0x164319=>!_0x164319),this['items']['add'](this['suggestButton'])),this['extendTemplate']({'attributes':{'class':['ck-ai-balloon__toolbar']}});}['_createButton'](_0x59ff45,_0x3a863a){const _0x168bb2=new ckeditor5['ButtonView'](this['locale']);return _0x168bb2['set']({'label':_0x59ff45,'class':_0x3a863a||'','isVisible':!0x0,'withText':!0x0}),_0x168bb2;}}class _0x564231 extends ckeditor5['View']{constructor(_0x3078a9){super(_0x3078a9),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(_0x3078a9,'AI_DISCLAIMER_TEXT')}]}]});}}const _0x23d5db=['applySuggestion','insertSuggestion','showNext','showPrevious'];class _0x59cece extends ckeditor5['View']{['focusTracker'];['keystrokes'];['focusCycler'];['_dropdownConfig'];['_focusables'];constructor(_0x42d78a,_0x2c71b4,_0x6fbe65,_0x1b7f24){super(_0x42d78a),this['_dropdownConfig']=_0x6fbe65,this['set']('isLoading',!0x1),this['set']('isTrackChangesOn',_0x1b7f24),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['_addContentView'](_0x2c71b4['mainView']),this['_addDisclaimerView'](),this['_addToolbar'](_0x2c71b4['showApplyButton'],_0x2c71b4['showSuggestButton']),this['toolbar']['bind']('isLoading')['to'](this),this['_focusables']['clear'](),this['_focusables']['addMany']([this['toolbar']]),this['setTemplate']({'tag':'div','attributes':{'class':'ai-balloon-content'},'children':this['_dialogContent']}),this['listenTo'](this,'change:isTrackChangesOn',()=>{this['_dialogContent']['remove'](this['toolbar']),this['_addToolbar'](_0x2c71b4['showApplyButton'],_0x2c71b4['showSuggestButton']);});}['render'](){super['render']();for(const _0x5236d3 of this['_focusables'])this['focusTracker']['add'](_0x5236d3['element']);this['keystrokes']['listenTo'](this['element']);}['focus'](_0x2f2d90){-0x1===_0x2f2d90?this['focusCycler']['focusLast']():this['focusCycler']['focusFirst']();}['setLoading'](){this['isLoading']=!0x0;}['clearLoading'](){this['isLoading']=!0x1;}['setupRotator'](_0x3fb399){const _0x1ef6ab=this['_createNextButtonView'](),_0x436fc7=this['_createPreviousButtonView']();_0x3fb399['view']['headerView']['children']['add'](_0x1ef6ab,0x2),_0x3fb399['view']['headerView']['children']['add'](_0x436fc7,0x0),this['_focusables']['addMany']([_0x1ef6ab,_0x436fc7]),this['focusTracker']['add'](_0x1ef6ab['element']),this['focusTracker']['add'](_0x436fc7['element']);}['_addContentView'](_0x1abe80){this['_mainView']=_0x1abe80,this['_dialogContent']['add'](this['_mainView']);}['_addDisclaimerView'](){this['disclaimerView']=new _0x564231(this['locale']),this['_dialogContent']['add'](this['disclaimerView']);}['_addToolbar'](_0x2ed3fd=!0x0,_0x574684=!0x0){_0x2ed3fd=_0x2ed3fd&&!this['isTrackChangesOn']&&this['_dropdownConfig']['includes']('applySuggestion'),_0x574684=_0x574684&&this['_dropdownConfig']['includes']('insertSuggestion'),this['toolbar']=new _0x65e22c(this['locale'],_0x2ed3fd,_0x574684),this['toolbar']['applyButton']?.['on']('execute',()=>{this['fire']('applySuggestion');}),this['toolbar']['suggestButton']?.['on']('execute',()=>{this['fire']('insertSuggestion');}),this['_dialogContent']['add'](this['toolbar']);}['_createNextButtonView'](){const _0x4c036b=new ckeditor5['ButtonView'](this['locale']);return _0x4c036b['set']({'icon':ckeditor5['IconNextArrow'],'tooltip':getTranslation$i(this['locale'],'AI_BALLOON_NEXT_TOOLTIP')}),_0x4c036b['on']('execute',()=>{this['fire']('showNext');}),_0x4c036b;}['_createPreviousButtonView'](){const _0x3f5642=new ckeditor5['ButtonView'](this['locale']);return _0x3f5642['set']({'icon':ckeditor5['IconPreviousArrow'],'tooltip':getTranslation$i(this['locale'],'AI_BALLOON_PREVIOUS_TOOLTIP')}),_0x3f5642['on']('execute',()=>{this['fire']('showPrevious');}),_0x3f5642;}}const _0x344f6f=['applySuggestion','insertSuggestion','showChangeInText'];class AIChatFeedSuggestionItemActionsView extends ckeditor5['View']{['actionsButton'];['children'];['applySuggestionModel'];['showChangeInTextModel'];['insertSuggestionModel'];['_partsCount']=0x1;['_dropdownOriginalConfig'];['_dropdownCurrentConfig'];['_firstRender']=!0x0;constructor(_0x54c518,_0x38daa5){super(_0x54c518),this['_dropdownOriginalConfig']=_0x38daa5||[..._0x344f6f],this['_dropdownCurrentConfig']=[...this['_dropdownOriginalConfig']];const _0x65ef40=this['bindTemplate'];this['set']('isEnabled',!0x0),this['set']('isVisible',!0x0),this['applySuggestionModel']=new ckeditor5['UIModel']({'label':getLabelForAction('applySuggestion',_0x54c518,this['_partsCount']),'icon':ckeditor5['IconCheck'],'withText':!0x0,'type':'button','actionName':'applySuggestion'}),this['showChangeInTextModel']=new ckeditor5['UIModel']({'label':getLabelForAction('showChangeInText',_0x54c518,this['_partsCount']),'icon':ckeditor5['IconDocumentWithLoupe'],'withText':!0x0,'type':'button','actionName':'showChangeInText'}),this['insertSuggestionModel']=new ckeditor5['UIModel']({'label':getLabelForAction('insertSuggestion',_0x54c518,this['_partsCount']),'icon':ckeditor5['IconAddComment'],'withText':!0x0,'type':'button','actionName':'insertSuggestion'}),this['actionsButton']=this['_createActionsDropdownOrButton'](_0x54c518),this['children']=this['createCollection']([this['actionsButton']]),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-chat__feed__ai-suggestion__actions',_0x65ef40['if']('isVisible','ck-hidden',_0x2b40c4=>!_0x2b40c4)]},'children':this['children']}),this['listenTo'](this,'change:isTrackChangesOn',()=>{this['_dropdownCurrentConfig']=this['isTrackChangesOn']?this['_dropdownOriginalConfig']['filter'](_0x2fe252=>'applySuggestion'!==_0x2fe252):[...this['_dropdownOriginalConfig']],this['_updateDropdownActions'](_0x54c518);});}['_updateDropdownActions'](_0x535e5e){this['children']['has'](this['actionsButton'])&&(this['children']['remove'](this['actionsButton']),this['actionsButton']['destroy']()),0x0!=this['_dropdownCurrentConfig']['length']&&(this['actionsButton']=this['_createActionsDropdownOrButton'](_0x535e5e),this['children']['add'](this['actionsButton']));}['_createActionsDropdownOrButton'](_0x13abfc){const _0x16bf3a=0x1===this['_dropdownCurrentConfig']['length']?this['_createActionsButton'](_0x13abfc):this['_createActionsDropdown'](_0x13abfc),_0x1b87bf=this['_firstRender']?'':'ck-ai-chat__feed__ai-suggestion__actions--no-animation';_0x16bf3a['set']({'label':getLabelForAction(this['_dropdownCurrentConfig'][0x0],_0x13abfc,this['_partsCount']),'tooltip':getTooltipForAction(this['_dropdownCurrentConfig'][0x0],_0x13abfc,this['_partsCount']),'withText':!0x0,'class':'ck-ai-chat__feed__ai-suggestion__actions\x20'+_0x1b87bf});for(const _0x6a9787 of this['_dropdownCurrentConfig'])_0x16bf3a['on'](_0x6a9787,()=>{this['fire'](_0x6a9787);});return this['_firstRender']=!0x1,_0x16bf3a;}['_createActionsButton'](_0x531e08){const _0x368e67=new ckeditor5['ButtonView'](_0x531e08);return _0x368e67['set']({'class':'ck-ai-button-primary','withText':!0x0}),_0x368e67['on']('execute',()=>{_0x368e67['fire'](this['_dropdownCurrentConfig'][0x0]);}),_0x368e67;}['_createActionsDropdown'](_0x23212a){const _0xec9d65=new _0x5721d2(_0x23212a,{'listItemModels':this['_dropdownCurrentConfig']['map'](_0x3cd4f3=>{switch(_0x3cd4f3){case'applySuggestion':return this['applySuggestionModel'];case'showChangeInText':return this['showChangeInTextModel'];case'insertSuggestion':return this['insertSuggestionModel'];}})});return _0xec9d65['set']({'label':getLabelForAction(this['_dropdownCurrentConfig'][0x0],_0x23212a,this['_partsCount']),'tooltip':getTooltipForAction(this['_dropdownCurrentConfig'][0x0],_0x23212a,this['_partsCount']),'withText':!0x0,'class':'ck-ai-chat__feed__ai-suggestion__actions','balloonPanelClass':'ck-ai-chat__feed__ai-suggestion__actions__balloon'}),_0xec9d65['bind']('isEnabled')['to'](this),_0xec9d65;}['updateLabels'](_0xb626c9){const _0x566d46=this['locale'];this['_partsCount']=_0xb626c9||this['_partsCount'],this['actionsButton']['set']({'label':getLabelForAction(this['_dropdownCurrentConfig'][0x0],_0x566d46,this['_partsCount']),'tooltip':getTooltipForAction(this['_dropdownCurrentConfig'][0x0],_0x566d46,this['_partsCount'])}),this['applySuggestionModel']['label']=getLabelForAction('applySuggestion',_0x566d46,this['_partsCount']),this['showChangeInTextModel']['label']=getLabelForAction('showChangeInText',_0x566d46,this['_partsCount']),this['insertSuggestionModel']['label']=getLabelForAction('insertSuggestion',_0x566d46,this['_partsCount']);}}class _0x5721d2 extends ckeditor5['SplitButtonView']{['bodyCollection'];['balloonPanelView'];['listView'];['keystrokeHandler'];constructor(_0x23431d,_0x4cb62e){super(_0x23431d),this['balloonPanelView']=new ckeditor5['BalloonPanelView'](this['locale']),this['bodyCollection']=new ckeditor5['BodyCollection'](this['locale']),this['bodyCollection']['attachToDom'](),this['set']('balloonPanelClass',''),this['balloonPanelView']['bind']('class')['to'](this,'balloonPanelClass'),this['listView']=this['_setUpList'](_0x4cb62e['listItemModels']['slice'](0x1)),this['bodyCollection']['add'](this['balloonPanelView']),this['balloonPanelView']['content']['add'](this['listView']),this['arrowView']['unbind']('tooltip'),this['arrowView']['set']('tooltip',getTranslation$i(this['locale'],'AI_CHAT_SUGGESTION_MORE_OPTIONS_TOOLTIP')),this['_setUpKeystrokes'](),this['on']('execute',()=>{const _0x18bcc7=_0x4cb62e['listItemModels'][0x0]['actionName'];this['fire'](_0x18bcc7),this['balloonPanelView']['hide'](),this['arrowView']['focus']();}),this['on']('open',()=>{this['balloonPanelView']['isVisible']?(this['balloonPanelView']['hide'](),this['arrowView']['focus']()):(this['balloonPanelView']['pin']({'target':this['element'],'positions':['ltr'===this['locale']['uiLanguageDirection']?balloonPanelPositionSouthEast:balloonPanelPositionSouthWest]}),this['listView']['focus']());}),ckeditor5['clickOutsideHandler']({'emitter':this['balloonPanelView'],'callback':()=>{this['balloonPanelView']['hide']();},'activator':()=>this['balloonPanelView']['isVisible'],'contextElements':()=>[this['element'],this['balloonPanelView']['element']]});}['_setUpList'](_0x214486){const _0x152640=this['locale'],_0xf4d3fb=new ckeditor5['ListView'](_0x152640);for(const _0x3f82b3 of _0x214486){const _0x324b43=new ckeditor5['ListItemView'](_0x152640),_0xd7e0c=new ckeditor5['ListItemButtonView'](_0x152640);_0xd7e0c['bind'](...Object['keys'](_0x3f82b3))['to'](_0x3f82b3),_0xd7e0c['delegate']('execute')['to'](_0xf4d3fb),_0x324b43['children']['add'](_0xd7e0c),_0xf4d3fb['items']['add'](_0x324b43);}return _0xf4d3fb['items']['delegate']('execute')['to'](this),_0xf4d3fb['on']('execute',_0x4790ca=>{const _0x248679=_0x4790ca['source'];this['fire'](_0x248679['actionName']),this['balloonPanelView']['hide'](),this['arrowView']['focus']();}),_0xf4d3fb;}['_setUpKeystrokes'](){this['keystrokeHandler']=new ckeditor5['KeystrokeHandler'](),this['keystrokeHandler']['listenTo'](this['balloonPanelView']['element']),this['keystrokeHandler']['set']('esc',(_0x4b672c,_0x59f069)=>{this['balloonPanelView']['hide'](),this['arrowView']['focus'](),_0x59f069();});}['destroy'](){super['destroy'](),this['keystrokeHandler']['destroy'](),this['balloonPanelView']['destroy'](),this['bodyCollection']['detachFromDom']();}}function balloonPanelPositionSouthEast(_0x5dffe5){return{'top':_0x5dffe5['bottom'],'left':_0x5dffe5['left'],'name':'arrowless','config':{'withArrow':!0x1}};}function balloonPanelPositionSouthWest(_0x52a52f,_0x670997){return{'top':_0x52a52f['bottom'],'left':_0x52a52f['left']-(_0x670997['width']-_0x52a52f['width']),'name':'arrowless','config':{'withArrow':!0x1}};}function getLabelForAction(_0x1eb357,_0x5351b8,_0x4b5fe2){switch(_0x1eb357){case'applySuggestion':return getTranslation$i(_0x5351b8,'AI_CHAT_SUGGESTION_ACTION_APPLY_LABEL',_0x4b5fe2);case'showChangeInText':return getTranslation$i(_0x5351b8,'AI_CHAT_SUGGESTION_ACTION_SHOW_CHANGE_IN_TEXT',_0x4b5fe2);case'insertSuggestion':return getTranslation$i(_0x5351b8,'AI_CHAT_SUGGESTION_ACTION_INSERT_SUGGESTION',_0x4b5fe2);}}function getTooltipForAction(_0xc49765,_0x45b6cd,_0x328712){switch(_0xc49765){case'applySuggestion':return getTranslation$i(_0x45b6cd,'AI_CHAT_SUGGESTION_ACTION_APPLY_TOOLTIP',_0x328712);case'showChangeInText':return getTranslation$i(_0x45b6cd,'AI_CHAT_SUGGESTION_ACTION_SHOW_CHANGE_IN_TEXT_TOOLTIP',_0x328712);case'insertSuggestion':return getTranslation$i(_0x45b6cd,'AI_CHAT_SUGGESTION_ACTION_INSERT_SUGGESTION_TOOLTIP',_0x328712);}}class _0x335177 extends ckeditor5['ContextPlugin']{static get['requires'](){return[AIConnector,AIEditing];}static get['pluginName'](){return'AIBalloon';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['isOpen']=!0x1;['_config'];['open'](_0x55d571){const _0x291623=getEditorFromContext(this['context']);this['_config']=_0x55d571;const _0x331326=this['context']['config']['get']('ai.availableReplyActions')||[..._0x344f6f],_0x4ddee6=_0x291623?.['commands']['get']('trackChanges'),_0x1290ac=_0x4ddee6?.['value'];this['balloonView']=new _0x59cece(_0x291623['locale'],_0x55d571,_0x331326,!!_0x1290ac),this['balloonView']['delegate'](..._0x23d5db)['to'](this),_0x4ddee6&&this['balloonView']['bind']('isTrackChangesOn')['to'](_0x4ddee6,'value'),this['_showDialog'](_0x55d571);}['close'](){getEditorFromContext(this['context'])['plugins']['get']('Dialog')['hide']();}['_setupVisualSelection'](_0x18b181,_0x4a22eb){this['context']['plugins']['get'](AIEditing)['showFakeVisualSelection'](_0x18b181,'ai-balloon-'+_0x4a22eb,!0x0,!0x0);}['_showDialog'](_0x498b9d){const _0x337e80=getEditorFromContext(this['context']);this['_setupVisualSelection'](_0x498b9d['ranges'],_0x498b9d['index']),_0x337e80['plugins']['get']('Dialog')['show']({'title':_0x498b9d['title'],'icon':_0x498b9d['icon'],'hasCloseButton':!0x0,'id':'aiBalloon','position':this['_calculateDialogPosition']['bind'](this),'className':'ai-balloon'+(_0x498b9d['showRotator']?'\x20ai-balloon-rotator':''),'content':this['balloonView'],'onShow':_0x355ae6=>{_0x498b9d['showRotator']&&this['balloonView']['setupRotator'](_0x355ae6),this['isOpen']=!0x0;},'onHide':()=>{this['context']['plugins']['get']('AIEditing')['hideFakeVisualSelection']('ai-balloon-'+_0x498b9d['index']),this['fire']('dialogClosed'),this['isOpen']=!0x1;}});}['_calculateDialogPosition'](_0xcd37f2,_0x100cde){const _0x414074=getEditorFromContext(this['context']);if(!_0x100cde)return null;const _0x4bb002=getAllMarkersDomElementsSorted(_0x414074['editing'],[..._0x414074['model']['markers']['getMarkersGroup']('ai-selection'),..._0x414074['model']['markers']['getMarkersGroup']('ai-balloon-selection')]);if(!_0x4bb002||0x0===_0x4bb002['length'])return{'left':Math['round'](_0x100cde['left']+_0x100cde['width']/0x2-_0xcd37f2['width']/0x2),'top':Math['round'](_0x100cde['top']+_0x100cde['height']/0x2-_0xcd37f2['height']/0x2)};const _0x3659eb=Math['round'](_0x100cde['left']+_0x100cde['width']/0x2-_0xcd37f2['width']/0x2),_0x58a664=_0x4bb002[0x0]['getBoundingClientRect'](),_0x1c2d91=_0x4bb002[_0x4bb002['length']-0x1]['getBoundingClientRect'](),_0x4e1768=_0xcd37f2['height'],_0x431aab=this['_config']['showRotator']?0x8:0x0;return{'left':_0x3659eb,'top':this['_calculateOptimalTopPosition'](_0x58a664,_0x1c2d91,_0x4e1768,_0x431aab)};}['_calculateOptimalTopPosition'](_0x34b850,_0x59b955,_0x581e16,_0x191e2b=0x0){const _0x390d72=_0x59b955['top']+_0x59b955['height'],_0x3fc010=_0x34b850['top']-_0x581e16-_0x191e2b,_0x4e1ef8=window['innerHeight']-_0x390d72-0xa,_0x533c1c=_0x34b850['top']-_0x191e2b-0xa;let _0xa1099f;if(_0x4e1ef8>=_0x581e16)_0xa1099f=_0x390d72+0xa;else{if(_0x533c1c>=_0x581e16)_0xa1099f=_0x3fc010-0xa;else _0xa1099f=_0x34b850['top']+(_0x59b955['top']+_0x59b955['height'])/0x2-(_0x581e16+_0x191e2b)/0x2;}return _0xa1099f;}}class AIChatController extends ckeditor5['ContextPlugin']{['_aiEditing'];['_aiConnector'];['_aiChatUi'];['_aiChatModels'];['_batchToChanges']=new Map();['_previewedChangeGroup']=null;['_balloonShowDiff']=!0x1;static get['requires'](){return[AIConnector,_0x335177,DocumentCompare];}static get['pluginName'](){return'AIChatController';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['_aiConnector']=this['context']['plugins']['get']('AIConnector'),this['_aiChatUi']=this['context']['plugins']['get']('AIChatUI'),this['_aiEditing']=this['context']['plugins']['get']('AIEditing'),this['_aiChatModels']=new AIChatModels({'connector':this['_aiConnector'],'displayedModels':this['context']['config']['get']('ai.chat.models.displayedModels'),'defaultModelId':this['context']['config']['get']('ai.chat.models.defaultModelId')});const _0x37b40e=this['context']['plugins']['get']('AITabs');this['listenTo'](this['_aiChatUi'],'startConversation',()=>{this['_startConversationSafely']();}),this['listenTo'](this['_aiChatUi'],'sendUserMessage',(_0x46a481,_0x4f04c5)=>{this['_handleUIUserMessage']({'userMessage':_0x4f04c5});}),this['listenTo'](_0x37b40e,'resizedTabs',(_0x1b985b,_0x2e8199)=>{this['_setIsMaximized'](_0x2e8199);}),this['listenTo'](this['_aiChatUi'],'resizeTabs',()=>{_0x37b40e['resize']();}),this['listenTo'](this['_aiChatUi'],'abortPromptStream',async()=>{await this['_stopLastInteraction'](),await this['_flushLastInteractionUI']();}),this['listenTo'](this['_aiChatUi'],'addDocumentToContext',()=>{this['activeConversation']?.['addCurrentDocumentToContext'](getTranslation$i(this['context']['locale'],'AI_CHAT_CONTEXT_CURRENT_DOCUMENT'));}),this['listenTo'](this['_aiChatUi'],'addFileToContext',(_0x536a2a,_0x4e5d74)=>{this['activeConversation']?.['addFilesToContext'](Array['from'](_0x4e5d74));}),this['listenTo'](this['_aiChatUi'],'addUrlToContext',(_0x5142d8,_0xaaf8da)=>{this['activeConversation']?.['addUrlToContext'](_0xaaf8da);}),this['listenTo'](this['_aiChatUi'],'addResourceToContext',(_0x28cc9a,_0x5754ea)=>{this['activeConversation']?.['addResourceToContext'](_0x5754ea['source'],_0x5754ea['resource']);}),this['listenTo'](this['_aiChatUi'],'removeContextItem',(_0x1d4170,_0x5e4298)=>{this['_removeFromContext'](_0x5e4298);}),this['listenTo'](this['_aiChatUi'],'loadSourceResources',(_0x5c9deb,_0x599553)=>{this['activeConversation']?.['loadSourceResources'](_0x599553['sourceId'],_0x599553['query'],_0x599553['uid']);}),this['listenTo'](this['_aiChatUi'],'toggleWebSearch',()=>{this['_toggleWebSearch']();}),this['listenTo'](this['_aiChatUi'],'toggleReasoning',()=>{this['_toggleReasoning']();}),this['listenTo'](this['_aiChatUi'],'selectModel',(_0xf02bbf,_0x45968a)=>{this['activeConversation']?.['setModel'](_0x45968a);}),this['listenTo'](this['_aiChatUi'],'like',(_0x3705a9,{replyId:_0x135023})=>{console['log']('Liked\x20response',_0x135023);}),this['listenTo'](this['_aiChatUi'],'dislike',(_0x3ffec8,{replyId:_0x58abc4})=>{console['log']('Disliked\x20response',_0x58abc4);}),this['listenTo'](this['_aiChatUi'],'insertSuggestion',(_0x2b2cd2,_0x536023)=>{this['context']['plugins']['get'](_0x335177)['close'](),this['_insertSuggestion'](_0x536023);}),this['listenTo'](this['_aiChatUi'],'showChangeInText',(_0xe5e03f,{replyId:_0x48c0bf,partIndex:_0x22a670})=>{this['_balloonShowDiff']=this['_aiChatUi']['showDiff'],this['_openBalloonFor'](_0x48c0bf,_0x22a670);}),this['listenTo'](this['_aiChatUi'],'mouseOverSuggestion',(_0x4f3dcf,{replyId:_0x58910e,partIndex:_0x1954e9})=>{const _0x3d23f5=this['_getDocumentRangeForReplyChanges'](_0x58910e,_0x1954e9);_0x3d23f5&&'$graveyard'!=_0x3d23f5['range']['root']['rootName']&&this['_aiEditing']['showFakeVisualSelection']([_0x3d23f5['range']],'ai-chat-controller-mouse-over');}),this['listenTo'](this['_aiChatUi'],'mouseLeaveSuggestion',()=>{this['_aiEditing']['hideFakeVisualSelection']('ai-chat-controller-mouse-over');}),this['listenTo'](this['_aiChatUi'],'applySuggestion',(_0x273b81,_0x436076)=>{this['context']['plugins']['get'](_0x335177)['close'](),this['_applySuggestion'](_0x436076);}),this['listenTo'](this['_aiChatUi'],'toggleSuggestionDisplayMode',async(_0xe69eb0,_0x3a8dfb)=>{const {reply:_0x49f245}=this['getInteractionAndReplyById'](_0x3a8dfb['replyId']),_0x2dc891=getSuggestionPartsFromReply({'editor':getEditorFromContext(this['context']),'changeGroups':_0x49f245['changeGroups'],'documentContextContent':_0x49f245['documentContextContent'],'showDiff':_0x3a8dfb['showDiff']});await this['_aiChatUi']['updateFeedItemAIReplySuggestionContent']({'id':_0x49f245['id'],'parts':_0x2dc891,'renderingStrategy':'static'});}),this['listenTo'](this['_aiChatUi'],'rejectSuggestion',(_0x4e3c0d,{replyId:_0x512ff7,partIndex:_0x3060b9})=>{this['_previewedChangeGroup']?.['replyId']==_0x512ff7&&this['_previewedChangeGroup']?.['partIndex']==_0x3060b9&&this['context']['plugins']['get'](_0x335177)['close']();const {reply:_0x50de4f}=this['getInteractionAndReplyById'](_0x512ff7);_0x50de4f['setChangeGroupState'](_0x3060b9,'rejected'),this['_aiEditing']['hideFakeVisualSelection']('ai-chat-controller-mouse-over');});}async['afterInit'](){this['context']instanceof ckeditor5['Editor']?this['_integrateEditor'](this['context']):this['listenTo'](this['context']['editors'],'add',(_0x897b57,_0x10568d)=>{_0x10568d['on']('ready',()=>{this['_integrateEditor'](_0x10568d);});}),await this['_startConversationSafely']();}['_insertSuggestion'](_0x59cb1b){const _0x4ca92d=getEditorFromContext(this['context']);if(!_0x4ca92d['plugins']['has']('TrackChangesEditing'))return;const _0x2a3048=this['context']['plugins']['get']('DocumentCompare'),{reply:_0x1f0327,interaction:_0xe0e680}=this['getInteractionAndReplyById'](_0x59cb1b['replyId']),_0x52c1b8=this['_getDocumentRangeForReplyChanges'](_0x59cb1b['replyId'],_0x59cb1b['partIndex']),_0x8aeede=void 0x0!==_0x59cb1b['partIndex']?[_0x1f0327['changeGroups'][_0x59cb1b['partIndex']]]:_0x1f0327['changeGroups']['filter'](_0x39b17d=>'pending'==_0x39b17d['state']),_0x2101c0=_0x8aeede['map'](_0x5c528f=>_0x1f0327['changeGroups']['indexOf'](_0x5c528f));if(!_0x52c1b8||'$graveyard'==_0x52c1b8['range']['root']['rootName'])return void _0x2101c0['forEach'](_0xa6398f=>_0x1f0327['setChangeGroupState'](_0xa6398f,'outdated'));_0x2101c0['forEach'](_0x446af8=>_0x1f0327['setChangeGroupState'](_0x446af8,'accepted'));const _0x1f1515=getOperationsFromReply({'editor':_0x4ca92d,'reply':_0x1f0327,'interaction':_0xe0e680,'groups':_0x8aeede,'transform':!0x0,'documentCompare':_0x2a3048,'documentCompareOptions':{'anchor':'main','markDeletions':!0x0}});let _0x3c1e7f;_0x52c1b8&&this['_scrollToSuggestionRange'](_0x52c1b8['range']),_0x4ca92d['model']['change'](_0x1e265b=>{_0x3c1e7f=_0x1e265b['batch'],_0x4ca92d['plugins']['get']('TrackChangesEditing')['_applyOperationsAsSuggestions'](_0x1f1515),this['_aiEditing']['hideFakeVisualSelection']('ai-chat-controller-mouse-over');}),this['_batchToChanges']['set'](_0x3c1e7f,{'interactionId':_0xe0e680['id'],'replyId':_0x1f0327['id'],'indexes':_0x2101c0['slice']()}),this['_updateRatings'](_0x1f0327);}['_applySuggestion'](_0x56f697){const _0x28ea2c=getEditorFromContext(this['context']),_0x2d72b7=this['context']['plugins']['get'](DocumentCompare),{reply:_0x32260b,interaction:_0x29c88b}=this['getInteractionAndReplyById'](_0x56f697['replyId']),_0x4d4bd1=this['_getDocumentRangeForReplyChanges'](_0x56f697['replyId'],_0x56f697['partIndex']),_0x8de767=void 0x0!==_0x56f697['partIndex']?[_0x32260b['changeGroups'][_0x56f697['partIndex']]]:_0x32260b['changeGroups']['filter'](_0x2b0c45=>'pending'==_0x2b0c45['state']),_0x3a45bb=_0x8de767['map'](_0x3e63c6=>_0x32260b['changeGroups']['indexOf'](_0x3e63c6));if(!_0x4d4bd1||'$graveyard'==_0x4d4bd1['range']['root']['rootName'])return void _0x3a45bb['forEach'](_0x3c2656=>_0x32260b['setChangeGroupState'](_0x3c2656,'outdated'));_0x3a45bb['forEach'](_0x21c9b5=>_0x32260b['setChangeGroupState'](_0x21c9b5,'accepted'));const _0x1b7402=getOperationsFromReply({'editor':_0x28ea2c,'reply':_0x32260b,'interaction':_0x29c88b,'groups':_0x8de767,'transform':!0x0,'documentCompare':_0x2d72b7,'documentCompareOptions':{'anchor':'main','markDeletions':!0x1}});let _0xf09c3a;_0x4d4bd1&&this['_scrollToSuggestionRange'](_0x4d4bd1['range']),_0x28ea2c['model']['change'](_0x327da6=>{_0xf09c3a=_0x327da6['batch'];for(const _0x493b65 of _0x1b7402)_0x493b65['baseVersion']=_0x28ea2c['model']['document']['version'],_0x327da6['batch']['addOperation'](_0x493b65),_0x28ea2c['model']['applyOperation'](_0x493b65);}),this['_batchToChanges']['set'](_0xf09c3a,{'interactionId':_0x29c88b['id'],'replyId':_0x32260b['id'],'indexes':_0x3a45bb['slice']()}),this['_updateRatings'](_0x32260b);}['_openBalloonFor'](_0x706cdc,_0x325bfe){const _0x2b568e=getEditorFromContext(this['context']),_0x59d9a1=this['_getDocumentRangeForReplyChanges'](_0x706cdc,_0x325bfe),_0x2ac159=this['context']['plugins']['get'](_0x335177);if(!_0x59d9a1)return void _0x2ac159['close']();const {range:_0x36c619,currentIndex:_0x14c474,previousIndex:_0x184f39,nextIndex:_0x1462e9}=_0x59d9a1;if('$graveyard'==_0x36c619['root']['rootName']){const {reply:_0x130b22}=this['getInteractionAndReplyById'](_0x706cdc);return _0x130b22['setChangeGroupState'](_0x14c474,'outdated'),void _0x2ac159['close']();}if(this['_previewedChangeGroup']?.['replyId']==_0x706cdc&&this['_previewedChangeGroup']?.['partIndex']==_0x14c474)return;this['_previewedChangeGroup']={'replyId':_0x706cdc,'partIndex':_0x14c474};const _0x427cac=new AISuggestionContainerView(_0x2b568e['locale'],{'showDiff':this['_balloonShowDiff'],'areActionsDisabled':!0x1,'miniToolbarConfig':{'showChanges':'full'},'hideHeader':!0x0}),{reply:_0x1ba172}=this['getInteractionAndReplyById'](_0x706cdc),_0x22727c=getSuggestionPartsFromReply({'editor':_0x2b568e,'changeGroups':[_0x1ba172['changeGroups'][_0x14c474]],'documentContextContent':_0x1ba172['documentContextContent'],'showDiff':this['_balloonShowDiff']});_0x427cac['updateContent']({'parts':_0x22727c,'renderingStrategy':'static'});const _0x19618b=_0x14c474!==_0x184f39;this['_scrollToSuggestionRange'](_0x36c619,!0x0),_0x2ac159['open']({'index':_0x14c474,'title':getTranslation$i(this['context']['locale'],'AI_BALLOON_HEADER_TITLE',(_0x14c474+0x1)['toString']()),'icon':ckeditor5['IconAI'],'mainView':_0x427cac,'showRotator':_0x19618b,'showApplyButton':!0x0,'showSuggestButton':!0x0,'ranges':[_0x36c619]}),this['_aiChatUi']['scrollFeedToSuggestion'](_0x706cdc,_0x14c474),this['listenTo'](_0x427cac,'toggleSuggestionDisplayMode',(_0x84f46d,{showDiff:_0x468097})=>{this['_balloonShowDiff']=_0x468097;const {reply:_0x15ddb0}=this['getInteractionAndReplyById'](_0x706cdc),_0x58fbc4=getSuggestionPartsFromReply({'editor':_0x2b568e,'changeGroups':[_0x15ddb0['changeGroups'][_0x14c474]],'documentContextContent':_0x15ddb0['documentContextContent'],'showDiff':_0x468097});_0x427cac['updateContent']({'parts':_0x58fbc4,'renderingStrategy':'static'});}),this['listenTo'](_0x2ac159,'applySuggestion',()=>{this['_applySuggestion']({'replyId':_0x706cdc,'partIndex':_0x14c474}),_0x19618b?this['_openBalloonFor'](_0x706cdc,_0x1462e9):_0x2ac159['close']();}),this['listenTo'](_0x2ac159,'insertSuggestion',()=>{this['_insertSuggestion']({'replyId':_0x706cdc,'partIndex':_0x14c474}),_0x19618b?this['_openBalloonFor'](_0x706cdc,_0x1462e9):_0x2ac159['close']();}),_0x19618b&&(this['listenTo'](_0x2ac159,'showNext',()=>{this['_openBalloonFor'](_0x706cdc,_0x1462e9);}),this['listenTo'](_0x2ac159,'showPrevious',()=>{this['_openBalloonFor'](_0x706cdc,_0x184f39);})),this['listenTo'](_0x2ac159,'dialogClosed',()=>{this['stopListening'](_0x2ac159),this['stopListening'](_0x427cac),this['_previewedChangeGroup']=null;});}['_getDocumentRangeForReplyChanges'](_0x24dbb9,_0x3c8b5a){const _0x1f886e=getEditorFromContext(this['context']),{reply:_0x292af0,interaction:_0xe4b391}=this['getInteractionAndReplyById'](_0x24dbb9),_0x2ffcb1=_0x292af0['changeGroups']['filter'](_0x1ae635=>'pending'==_0x1ae635['state']),_0xad60c5=_0x2ffcb1['map'](_0x521335=>_0x292af0['changeGroups']['indexOf'](_0x521335));void 0x0===_0x3c8b5a&&(_0x3c8b5a=_0xad60c5[0x0]);const _0x3dcf1=_0xad60c5['indexOf'](_0x3c8b5a);if(-0x1==_0x3dcf1)return null;const _0x3c3859=0x0==_0x3dcf1?_0xad60c5[_0xad60c5['length']-0x1]:_0xad60c5[_0x3dcf1-0x1],_0x1c7476=_0x3dcf1==_0xad60c5['length']-0x1?_0xad60c5[0x0]:_0xad60c5[_0x3dcf1+0x1],_0x50da35=_0x2ffcb1[_0x3dcf1],_0x6cd07b=new Document([]),_0x2fbe78=new Document([]);for(const _0x344bb7 of _0x50da35['changes'])if('removed'!=_0x344bb7['type']&&_0x2fbe78['children']['push'](_0x344bb7['node']['cloneNode'](!0x0)),'new'!=_0x344bb7['type']){const _0x3c7c39=_0x4ee731(_0x52d110=>getAttribute(_0x52d110,'data-id')==_0x344bb7['id'],_0x292af0['documentContextContent'],!0x0);_0x6cd07b['children']['push'](_0x3c7c39['cloneNode'](!0x0));}if(0x0==_0x6cd07b['children']['length']){if(_0x50da35['changes'][0x0]['anchorId']){const _0x5cca0f=findByAttribute('data-id',_0x50da35['changes'][0x0]['anchorId'],_0x292af0['documentContextContent']);_0x6cd07b['children']['unshift'](_0x5cca0f['cloneNode'](!0x0)),_0x2fbe78['children']['unshift'](_0x5cca0f['cloneNode'](!0x0)),_0x5cca0f['nextSibling']&&(_0x6cd07b['children']['push'](_0x5cca0f['nextSibling']['cloneNode'](!0x0)),_0x2fbe78['children']['push'](_0x5cca0f['nextSibling']['cloneNode'](!0x0)));}else{const _0x3e2021=_0x292af0['documentContextContent']['children'][0x0];if(!_0x3e2021)return null;_0x6cd07b['children']['push'](_0x3e2021['cloneNode'](!0x0)),_0x2fbe78['children']['push'](_0x3e2021['cloneNode'](!0x0));}}const _0x4ce93c=_0xe4b391['getDocumentContext'](),_0x1b09a4=_0x1f886e['data']['parse'](_0x4ce93c['content']),_0x3904f3=_0x28c879(_0x6cd07b),_0x3a9ad0=_0x1f886e['data']['parse'](_0x3904f3),_0x1c5612=_0x1f886e['data']['parse'](_0x3904f3),_0x4672b3=_0x1f886e['model']['createPositionAt'](_0x3a9ad0,0x0),_0x41e43c=_0x28c879(_0x2fbe78),_0x48b2f8={'anchor':_0x4672b3,'markDeletions':!0x1},_0x86d9e9=_0x1f886e['plugins']['get'](DocumentCompare)['getDiff'](_0x3904f3,_0x41e43c,_0x48b2f8)['getOperations']();if(!_0x86d9e9['length'])return null;_0x1f886e['model']['change'](_0x1cb7ef=>{for(const _0x2acc20 of _0x86d9e9)if('remove'==_0x2acc20['type']){const _0x43979c=_0x2acc20['sourcePosition'],_0x250170=_0x2acc20['howMany'],_0x169801=new ckeditor5['_DetachOperation'](_0x43979c,_0x250170);_0x1cb7ef['batch']['addOperation'](_0x169801),_0x1f886e['model']['applyOperation'](_0x169801);}else'marker'!==_0x2acc20['type']&&(_0x2acc20['baseVersion']=null,_0x2acc20['isDocumentOperation']=!0x1,_0x1cb7ef['batch']['addOperation'](_0x2acc20),_0x1f886e['model']['applyOperation'](_0x2acc20));});const _0x42f2af=getMinimalSelection(_0x1f886e,_0x86d9e9,_0x3a9ad0);expandSelectionWithContext(_0x1f886e['model'],_0x42f2af);const _0x4f4031=_0x42f2af['getFirstRange']()['start']['path']['slice'](),_0x598e0f=_0x42f2af['getFirstRange']()['end']['path']['slice'](),_0x265757=[];let _0x5d3d5f=_0x3a9ad0,_0x48d833=_0x1c5612;for(let _0x5ebc3f=0x0;_0x5ebc3f<_0x598e0f['length'];_0x5ebc3f++){const _0x5a49e4=_0x5d3d5f['maxOffset']-_0x598e0f[_0x5ebc3f];_0x265757[_0x5ebc3f]=_0x48d833['maxOffset']-_0x5a49e4,_0x5d3d5f=_0x5d3d5f['getChildAtOffset'](_0x598e0f[_0x5ebc3f]),_0x48d833=_0x48d833['getChildAtOffset'](_0x265757[_0x5ebc3f]);}const _0x3bbed2=_0x1f886e['model']['createRange'](_0x1f886e['model']['createPositionFromPath'](_0x1c5612,_0x4f4031),_0x1f886e['model']['createPositionFromPath'](_0x1c5612,_0x265757)),_0x5dd2da=_0x1c5612['getChild'](0x0)['getAttribute'](_0x146f44),_0x168a1b=Array['from'](_0x1b09a4['getChildren']())['find'](_0x4551c6=>_0x4551c6['getAttribute'](_0x146f44)==_0x5dd2da)['getPath'](),_0xd29d76=_0x3bbed2['start']['path']['slice'](),_0x42d42b=_0x3bbed2['end']['path']['slice']();_0xd29d76[0x0]=_0x168a1b[0x0]+_0xd29d76[0x0],_0x42d42b[0x0]=_0x168a1b[0x0]+_0x42d42b[0x0];let _0x4a41e2=_0x1f886e['model']['createRange'](_0x1f886e['model']['createPositionFromPath'](_0x1f886e['model']['document']['getRoot'](),_0xd29d76),_0x1f886e['model']['createPositionFromPath'](_0x1f886e['model']['document']['getRoot'](),_0x42d42b));const _0x12d826=_0x1f886e['model']['document']['history']['getOperations'](_0x4ce93c['version']);for(const _0x4c78f4 of _0x12d826)_0x4a41e2=ckeditor5['ModelRange']['_createFromRanges'](_0x4a41e2['getTransformedByOperation'](_0x4c78f4));return{'range':_0x4a41e2,'previousIndex':_0x3c3859,'nextIndex':_0x1c7476,'currentIndex':_0x3c8b5a};}['_integrateEditor'](_0xdb6638){if(!_0xdb6638['plugins']['has']('Undo'))return;const _0x4a93b4=_0xdb6638['commands']['get']('undo'),_0x4cafb1=_0xdb6638['commands']['get']('redo');this['listenTo'](_0x4a93b4,'revert',(_0x5b7372,_0x20783d,_0x1dd97c)=>{const _0x12ba13=this['_batchToChanges']['get'](_0x20783d);if(!_0x12ba13)return;const _0x51c1a8=this['activeConversation']['getInteraction'](_0x12ba13['interactionId'])['getReply'](_0x12ba13['replyId']);_0x12ba13['indexes']['forEach'](_0x444bbf=>_0x51c1a8['setChangeGroupState'](_0x444bbf,'pending')),this['_batchToChanges']['delete'](_0x20783d),this['_batchToChanges']['set'](_0x1dd97c,_0x12ba13);}),this['listenTo'](_0x4cafb1,'revert',(_0x478720,_0x444c83,_0x2bfbda)=>{const _0x5f5873=this['_batchToChanges']['get'](_0x444c83);if(!_0x5f5873)return;const _0x177fc6=this['activeConversation']['getInteraction'](_0x5f5873['interactionId'])['getReply'](_0x5f5873['replyId']);_0x5f5873['indexes']['forEach'](_0x18fec2=>_0x177fc6['setChangeGroupState'](_0x18fec2,'accepted')),this['_batchToChanges']['delete'](_0x444c83),this['_batchToChanges']['set'](_0x2bfbda,_0x5f5873);});}async['loadConversation'](_0x232558){this['context']['plugins']['get'](_0x335177)['close'](),this['_aiChatUi']['setFeedItemRenderingStrategy']('static'),this['_aiChatUi']['toggleLoadingSkeleton'](!0x0),await this['_stopLastInteraction']();try{const _0x5c0904=this['context']['plugins']['get'](_0x564b61);this['updateConversationTitle']('\x20'),_0x5c0904['view']['activateTab']('chat'),await this['_startConversationSafely'](_0x232558);const {sessionId:_0x4b2a2f}=this['_aiEditing']['getDocumentData']();await this['activeConversation']['load'](_0x232558,_0x4b2a2f),this['activeConversation']['isCurrentDocumentInConversation']()&&this['activeConversation']['addCurrentDocumentToContext'](getTranslation$i(this['context']['locale'],'AI_CHAT_CONTEXT_CURRENT_DOCUMENT'));}catch(_0x3c2a4f){console['error']('Failed\x20to\x20load\x20conversation',_0x3c2a4f);}finally{this['_aiChatUi']['setFeedItemRenderingStrategy']('streaming'),this['_aiChatUi']['toggleLoadingSkeleton'](!0x1);}}['handleRemovedConversation'](_0x38d7ac){this['activeConversation']['id']===_0x38d7ac&&this['_startConversationSafely']();}async['addSelectionToChatContext'](){const _0x21c6ae=this['_aiEditing']['getSelectionText']();this['activeConversation']?.['addSelectionToContext'](_0x21c6ae),this['activeConversation']?.['addCurrentDocumentToContext'](getTranslation$i(this['context']['locale'],'AI_CHAT_CONTEXT_CURRENT_DOCUMENT'));}['removeSelectionFromChatContext'](){this['activeConversation']?.['removeSelectionFromContext']();}['focusPromptInput'](){this['_aiChatUi']['focusPromptInput']();}async['startConversation'](){await this['_startConversationSafely']();}async['sendMessage']({message:_0x4c0cc2,quickActionData:_0x58a341}){await this['_handleUIUserMessage']({'userMessage':_0x4c0cc2,'quickActionData':_0x58a341});}['getGroupId'](){const _0x4c3838=this['context']['config']['get']('collaboration.channelId');if(!_0x4c3838)throw new ckeditor5['CKEditorError']('ai-chat-missing-channel-id',this);return _0x4c3838;}async['_startConversationSafely'](_0x36fc84){try{this['_aiChatUi']['enableControls'](),await this['_handleStartConversation'](_0x36fc84);}catch(_0x1de087){ckeditor5['logError']('ai-chat-conversation-start-failed',_0x1de087),this['activeConversation']=void 0x0,this['_aiChatUi']['disableControls']();}}async['_handleStartConversation'](_0x1746fc){const _0x94c6cf=this['context']['plugins']['get'](_0x335177);let _0x19ae7e;_0x94c6cf['isOpen']&&_0x94c6cf['close'](),_0x1746fc||!this['activeConversation']?_0x19ae7e=this['context']['config']['get']('ai.chat.models.defaultModelId'):this['_aiChatUi']['isModelAvailable']&&(_0x19ae7e=this['activeConversation']['selectedModel']['id']),await this['_stopLastInteraction']();const _0x885be1=this['getGroupId'](),_0x437886=_0x1746fc||ckeditor5['uid']();this['activeConversation']=new AIChatConversation({'connector':this['_aiConnector'],'chatModels':this['_aiChatModels'],'selectedModelId':_0x19ae7e,'conversationId':_0x437886,'group':_0x885be1,'getEditor':()=>getEditorFromContext(this['context'])}),this['activeConversation']['on']('conversationInitialized',(_0x7167e8,_0x16eb7e)=>{this['_aiChatUi']['createConversation'](_0x16eb7e),this['_aiChatUi']['resetMessageInput'](),this['_aiChatUi']['clearPendingContextUI'](),this['_aiChatUi']['clearConversationContextUI'](),_0x1746fc||(this['_aiChatUi']['resetConversationTitle'](),this['activeConversation']?.['addCurrentDocumentToContext'](getTranslation$i(this['context']['locale'],'AI_CHAT_CONTEXT_CURRENT_DOCUMENT')));}),this['activeConversation']['on']('uploadProgressChanged',(_0x5ddfc3,_0x352db6)=>{this['_aiChatUi']['setIsUploadInProgress'](_0x352db6['isUploadInProgress']);}),this['activeConversation']['on']('interactionCreated',(_0x3581d3,_0x5c109d)=>{this['_aiChatUi']['addFeedItemUserMessage'](_0x5c109d);}),this['activeConversation']['on']('webSearchStarted',()=>{this['_aiChatUi']['setLoadingMessage']({'isWebSearchEnabled':!0x0,'isReasoningEnabled':!0x1});}),this['activeConversation']['on']('reasoningStarted',()=>{this['_aiChatUi']['setLoadingMessage']({'isWebSearchEnabled':!0x1,'isReasoningEnabled':!0x0});}),this['activeConversation']['on']('webSearchFinished',(_0x4201b4,_0x8f49af)=>{this['_aiChatUi']['addFeedInteractionHeader'](_0x8f49af,{'isWebSearchEnabled':!0x0,'isReasoningEnabled':!0x1});}),this['activeConversation']['on']('reasoningFinished',(_0x42d82b,_0x2e39ab)=>{this['_aiChatUi']['addFeedInteractionHeader'](_0x2e39ab,{'isWebSearchEnabled':!0x1,'isReasoningEnabled':!0x0});}),this['activeConversation']['on']('interactionStarted',()=>{this['_aiChatUi']['startInteraction']();}),this['activeConversation']['on']('interactionFinished',async()=>{await this['_aiChatUi']['finishInteraction']();}),this['activeConversation']['on']('interactionDestroyed',(_0x34c21a,_0x2922be)=>{this['_aiChatUi']['removeFeedInteraction'](_0x2922be['id']);}),this['activeConversation']['on']('setConversationTitle',(_0x4be061,_0x33538b,_0x3da457)=>{this['updateConversationTitle'](_0x33538b,_0x3da457);}),this['activeConversation']['on']('replyCreated',(_0x5964bb,_0x366547)=>{'text-delta'===_0x366547['type']?this['_aiChatUi']['addFeedItemAIReply'](_0x366547):this['_aiChatUi']['addFeedItemAISuggestion'](_0x366547);}),this['activeConversation']['on']('replyContentUpdated',async(_0x5629f1,_0x832b20,_0x337b9)=>{await this['_updateReplyContent']({'reply':_0x832b20,'changeGroups':_0x337b9});}),this['activeConversation']['on']('replyChangeGroupStateUpdated',(_0x15070c,{reply:_0x4d013f,index:_0x420b7e,state:_0x50a8a9})=>{this['_aiChatUi']['updateFeedItemAIReplySuggestionPartState']({'id':_0x4d013f['id'],'index':_0x420b7e,'state':_0x50a8a9});}),this['activeConversation']['on']('contextItemAdded',(_0x3cef5a,_0x145af2)=>{if(this['_aiChatUi']['addContextItem'](_0x145af2['contextItem'],_0x145af2['isLoading']),'selection'===_0x145af2['contextItem']['type']){const _0x391e53=[...getEditorFromContext(this['context'])['model']['document']['selection']['getRanges']()];this['_aiEditing']['showFakeVisualSelection'](_0x391e53,'ai-conversation-'+this['activeConversation']?.['id']);}}),this['activeConversation']['on']('contextItemRemoved',(_0x4afccd,_0x15d4fb)=>{this['_aiChatUi']['removeContextItem'](_0x15d4fb['uiId']),'current-document'==_0x15d4fb['uiId']&&this['removeSelectionFromChatContext'](),'selection'===_0x15d4fb['type']&&this['_aiEditing']['hideFakeVisualSelection']('ai-conversation-'+this['activeConversation']?.['id']);}),this['activeConversation']['on']('contextItemLoadingEnded',(_0x4a6ecc,_0x1d8e64)=>{this['_aiChatUi']['setContextItemLoading'](_0x1d8e64['contextItem']['uiId'],_0x1d8e64['isLoading']);}),this['activeConversation']['on']('contextSent',(_0x2729c4,_0xc06f50)=>{this['_aiChatUi']['setConversationContext'](_0xc06f50['contextItems']);}),this['activeConversation']['on']('addContextOptionsChanged',(_0x2a527b,_0x1bb3e3)=>{this['_aiChatUi']['setAddContextOptions'](_0x1bb3e3['options']);}),this['activeConversation']['on']('sourceResourcesLoaded',(_0x27df5d,_0x369ced)=>{this['_aiChatUi']['populateSourceResourceBalloon'](_0x369ced['sourceId'],_0x369ced['source'],_0x369ced['resources'],_0x369ced['uid']);}),this['activeConversation']['on']('resourceStateChanged',(_0x725ded,_0x16f743)=>{this['_aiChatUi']['updateResourceState'](_0x16f743['sourceId'],_0x16f743['resourceId'],_0x16f743['isInContext']);}),this['activeConversation']['on']('capabilitiesUpdated',(_0x5e2e7d,_0x7d8695)=>{this['_aiChatUi']['updateCapabilities'](_0x7d8695);}),this['activeConversation']['on']('modelSelected',(_0x1b1f58,_0x5df469)=>{this['_aiChatUi']['setSelectedModel'](_0x5df469['selectedModel'],_0x5df469['isDisabled']);}),this['activeConversation']['on']('error',(_0x210ab2,{error:_0x2bd4c2,interactionId:_0x3b0ab0,fileName:_0x7399e6,url:_0x2612d3,sourceId:_0x1867d2,sourceLabel:_0x3e2919})=>{const _0x225cfd=_0x3b0ab0?_0x3b0ab0+':'+ckeditor5['uid']():ckeditor5['uid']();_0x2bd4c2['message']['startsWith']('ai-request-aborted')?this['_aiChatUi']['addFeedItemStaticMessage']({'staticMessage':getTranslation$i(this['context']['locale'],'AI_CHAT_ABORTED_MESSAGE'),'id':_0x225cfd}):_0x2bd4c2['message']['startsWith']('ai-chat-conversation-init-failed')||_0x2bd4c2['message']['startsWith']('ai-chat-conversation-start-failed')?(this['_aiChatUi']['addFeedItemError']({'errorMessage':getTranslation$i(this['context']['locale'],'AI_CHAT_UNABLE_TO_START_CONVERSATION'),'id':_0x225cfd}),this['_logError'](_0x2bd4c2)):_0x2bd4c2['message']['startsWith']('ai-chat-file-upload-failed')?this['_aiChatUi']['addFeedItemError']({'errorMessage':getTranslation$i(this['context']['locale'],'AI_CHAT_CONTEXT_UNABLE_TO_UPLOAD_FILE',_0x7399e6),'id':_0x225cfd}):_0x2bd4c2['message']['startsWith']('ai-chat-url-upload-failed')?this['_aiChatUi']['addFeedItemError']({'errorMessage':getTranslation$i(this['context']['locale'],'AI_CHAT_CONTEXT_UNABLE_TO_UPLOAD_URL',_0x2612d3),'id':_0x225cfd}):_0x2bd4c2['message']['startsWith']('ai-chat-context-invalid-data')?this['_aiChatUi']['addFeedItemError']({'errorMessage':getTranslation$i(this['context']['locale'],'AI_CHAT_CONTEXT_INVALID_DATA'),'id':_0x225cfd}):_0x2bd4c2['message']['startsWith']('ai-chat-context-unsupported-type')?this['_aiChatUi']['addFeedItemError']({'errorMessage':getTranslation$i(this['context']['locale'],'AI_CHAT_CONTEXT_UNSUPPORTED_TYPE'),'id':_0x225cfd}):_0x2bd4c2['message']['startsWith']('ai-chat-source-resources-load-failed')?(_0x1867d2&&this['_aiChatUi']['closeSourceResourceBalloon'](_0x1867d2),this['_aiChatUi']['addFeedItemError']({'errorMessage':getTranslation$i(this['context']['locale'],'AI_CHAT_CONTEXT_UNABLE_TO_LOAD_RESOURCES',_0x3e2919||'source'),'id':_0x225cfd}),this['_logError'](_0x2bd4c2)):_0x2bd4c2['message']['startsWith']('ai-chat-resource-load-failed')?(this['_aiChatUi']['addFeedItemError']({'errorMessage':getTranslation$i(this['context']['locale'],'AI_CHAT_RESOURCE_LOAD_FAILED'),'id':_0x225cfd}),this['_logError'](_0x2bd4c2)):(this['_aiChatUi']['addFeedItemError']({'errorMessage':getTranslation$i(this['context']['locale'],'AI_CHAT_GENERIC_ERROR'),'id':_0x225cfd}),this['_logError'](_0x2bd4c2));}),await this['activeConversation']['init'](this['context']['config']['get']('ai.chat.context')),_0x1746fc||await this['activeConversation']['start']();}async['_handleUIUserMessage']({userMessage:_0x4eba17,quickActionData:_0x5b492f}){if(!this['activeConversation'])throw new ckeditor5['CKEditorError']('ai-chat-controller-no-active-conversation');this['activeConversation']['isCurrentDocumentInContext']()&&await this['activeConversation']['updateCurrentDocumentInContext'](this['_aiEditing']['getDocumentData']()),this['activeConversation']['id']&&this['activeConversation']['isStarted']&&await this['activeConversation']['handleUserInteraction']({'userMessage':_0x4eba17,'quickActionData':_0x5b492f}),this['_removeAISelectionMarkers']();}['_removeAISelectionMarkers'](){const _0x50dbd8=getEditorFromContext(this['context'])['model'],_0x56df3f=Array['from'](_0x50dbd8['markers']['getMarkersGroup'](_0x3401db));_0x50dbd8['change'](_0x20473f=>{_0x56df3f['forEach'](_0x1ca5fe=>_0x20473f['removeMarker'](_0x1ca5fe));});}['_showConversationHistory'](){console['log']('Showing\x20conversation\x20history...');}['_setIsMaximized'](_0x50522b){this['_aiChatUi']['setIsMaximized'](_0x50522b);}['_logError'](_0x45b322){ckeditor5['logError'](_0x45b322['message']);}['_removeFromContext'](_0x3115bd){this['activeConversation']?.['removeFromContext'](_0x3115bd);}['_toggleWebSearch'](){this['activeConversation']?.['toggleWebSearch']();}['_toggleReasoning'](){this['activeConversation']?.['toggleReasoning']();}['getInteractionAndReplyById'](_0x595219){const [_0x4d7151,_0x2e3d44]=_0x595219['split'](':'),_0xec75b8=this['activeConversation']['getInteraction'](_0x4d7151),_0x17bd1f=_0xec75b8['getReply'](_0x2e3d44);return{'interaction':_0xec75b8,'reply':_0x17bd1f};}['_scrollToSuggestionRange'](_0xab4b2,_0x557f1b=!0x1){const _0x52ac8c=getEditorFromContext(this['context']),_0x5654c1={'target':_0x52ac8c['editing']['view']['domConverter']['viewRangeToDom'](_0x52ac8c['editing']['mapper']['toViewRange'](_0xab4b2)),'viewportOffset':{'top':0x96,'left':0x0,'bottom':0x32,'right':0x0},'ancestorOffset':0x14,'alignToTop':_0x557f1b};_0x557f1b&&(_0x5654c1['alignToTop']=!0x0),ckeditor5['scrollViewportToShowTarget'](_0x5654c1);}['updateConversationTitle'](_0x1469f6,_0x5bb4bf=!0x1){this['_aiChatUi']['setConversationTitle'](_0x1469f6||getTranslation$i(this['context']['locale'],'AI_CHAT_UNTITLED_CONVERSATION'),_0x5bb4bf);}async['_updateReplyContent']({reply:_0x1b74b4,changeGroups:_0x84473a,renderingStrategy:_0x4f9482}){const {id:_0x3c9116,isDone:_0x1c27e1,type:_0x47f9d1,parsedContent:_0x1ba229}=_0x1b74b4;if('modification-delta'===_0x47f9d1){const _0x217034=getSuggestionPartsFromReply({'editor':getEditorFromContext(this['context']),'showDiff':this['_aiChatUi']['showDiff'],'changeGroups':_0x84473a,'documentContextContent':_0x1b74b4['documentContextContent']});await this['_aiChatUi']['updateFeedItemAIReplySuggestionContent']({'id':_0x3c9116,'parts':_0x217034,'renderingStrategy':_0x4f9482,'isDone':_0x1c27e1});}else'text-delta'===_0x47f9d1&&await this['_aiChatUi']['updateFeedItemAIReplyContent']({'id':_0x3c9116,'parsedContent':_0x1ba229,'renderingStrategy':_0x4f9482,'isDone':_0x1c27e1});_0x1c27e1&&_0x1b74b4['sources']['length']>0x0&&this['_aiChatUi']['updateFeedItemAIReplySources'](_0x3c9116,_0x1b74b4['sources']);}async['_stopLastInteraction'](){const _0x2e2e0f=this['activeConversation']?.['lastInteraction'];_0x2e2e0f&&(_0x2e2e0f['stop'](),this['_aiChatUi']['stopInteraction'](_0x2e2e0f));}async['_flushLastInteractionUI'](){const _0x2ea58c=this['activeConversation']?.['lastInteraction'];if(_0x2ea58c){for await(const _0x19b339 of _0x2ea58c['replies'])await this['_updateReplyContent']({'reply':_0x19b339,'changeGroups':_0x19b339['changeGroups'],'renderingStrategy':'static'});}}['_updateRatings'](_0x3250d){const _0xe0c256={'positiveCount':_0x3250d['changeGroups']['filter'](_0x1657b2=>'accepted'===_0x1657b2['state'])['length'],'totalCount':_0x3250d['changeGroups']['length']},_0x2ed63f=this['activeConversation']['getInteraction'](_0x3250d['interactionId'])['messageId'];this['_aiConnector']['upsertAIChatRating'](this['activeConversation']['id'],_0x2ed63f,_0xe0c256);}}const _0x2abc65=[..._0x29388d,'startConversation','resizeTabs','sendUserMessage','abortPromptStream','addDocumentToContext','addFileToContext','addUrlToContext','addResourceToContext','removeContextItem','loadSourceResources','toggleWebSearch','toggleReasoning','selectModel'];class AIChatFeedSuggestionItemView extends AIChatFeedItemView{['containerView'];['actionsView'];constructor(_0x5b8ba2,_0x35eef9){super(_0x35eef9),this['containerView']=new AISuggestionContainerView(_0x5b8ba2,{'showDiff':_0x35eef9['showDiff'],'areActionsDisabled':_0x35eef9['areActionsDisabled']}),this['containerView']['on']('toggleSuggestionDisplayMode',(_0x3f66b5,_0x4023a4)=>{this['fire']('toggleSuggestionDisplayMode',{'replyId':this['options']['id'],'showDiff':_0x4023a4['showDiff']});}),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',(_0x669bbf,{index:_0x10a1d1})=>{this['fire']('showChangeInText',{'replyId':this['options']['id'],'partIndex':_0x10a1d1});}),this['containerView']['on']('insertSuggestion',(_0x48378f,{index:_0x983bdd})=>{this['fire']('insertSuggestion',{'replyId':this['options']['id'],'partIndex':_0x983bdd});}),this['containerView']['on']('rejectSuggestion',(_0x4b3739,{index:_0x58497b})=>{this['fire']('rejectSuggestion',{'replyId':this['options']['id'],'partIndex':_0x58497b});}),this['containerView']['on']('mouseOverSuggestion',(_0x24ed4f,{index:_0x58d668})=>{this['fire']('mouseOverSuggestion',{'replyId':this['options']['id'],'partIndex':_0x58d668});}),this['containerView']['on']('mouseLeaveSuggestion',(_0x1792a9,{index:_0x382622})=>{this['fire']('mouseLeaveSuggestion',{'replyId':this['options']['id'],'partIndex':_0x382622});}),this['actionsView']=new AIChatFeedSuggestionItemActionsView(_0x5b8ba2,this['options']['dropdownConfig']),this['actionsView']['bind']('isTrackChangesOn')['to'](this,'isTrackChangesOn'),this['actionsView']['on']('showChangeInText',()=>{this['fire']('showChangeInText',{'replyId':this['options']['id']});}),this['actionsView']['on']('insertSuggestion',()=>{this['fire']('insertSuggestion',{'replyId':this['options']['id']});}),this['actionsView']['on']('applySuggestion',()=>{this['fire']('applySuggestion',{'replyId':this['options']['id']});}),_0x35eef9['areActionsDisabled']?this['actionsView']['isEnabled']=!0x1:this['actionsView']['bind']('isEnabled')['to'](this['containerView']['bodyView'],'hasPendingParts'),this['children']['addMany']([this['containerView'],this['actionsView']]),this['extendTemplate']({'attributes':{'class':['ck-ai-chat__feed__ai-suggestion']}});}async['updateContent'](_0x39fbe7){await this['containerView']['updateContent'](_0x39fbe7),this['actionsView']['updateLabels'](this['containerView']['bodyView']['partsCount']);}['updatePartState'](_0x45ea34,_0x425d78){this['containerView']['bodyView']['updatePartState'](_0x45ea34,_0x425d78);}['updateSources'](_0x48042e){this['containerView']['updateSources'](_0x48042e);}['getPartView'](_0x40df87){return this['containerView']['bodyView']['getPartView'](_0x40df87);}['markAsDone'](){super['markAsDone'](),this['containerView']['markAsDone'](),this['actionsView']['isVisible']=this['containerView']['bodyView']['hasNonEmptyParts'];}}class AIChatFeedReplyItemView extends AIChatFeedItemView{['replyContainer'];constructor(_0x234b86,_0x1aa19e){super(_0x1aa19e),this['locale']=_0x234b86,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':_0x3504aa(this['options']['initialContent']),'renderingStrategy':'static'}),this['markAsDone']());}async['updateContent']({parsedContent:_0xf44421,renderingStrategy:_0x5aaf5d,abortSignal:_0x511ad2}){'streaming'===_0x5aaf5d?await this['streamIntoElement'](_0xf44421,this['replyContainer']['element'],_0x511ad2):this['replyContainer']['element']['innerHTML']=_0x56a8de(_0xf44421);}['updateSources'](_0x47dd51){const _0x474c76=new _0x3fd266(this['locale']);_0x474c76['children']['addMany'](_0x47dd51['map'](_0x4b46ad=>new _0x196f82(this['locale'],_0x4b46ad))),_0x474c76['isVisible']=!0x0,this['children']['add'](_0x474c76);}}const _0xd9715f={'file':ckeditor5['IconFileUpload'],'document':ckeditor5['IconDocument'],'web-resource':ckeditor5['IconLink'],'text':ckeditor5['IconFileUpload'],'selection':ckeditor5['IconSelection']},_0x527451=0x78,_0x5857c0={'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'},_0x3339fd={'position':'n'};class AIChatContextItemButtonView extends ckeditor5['ButtonView']{constructor(_0x1d99b7,_0x41f5ad,_0x2ce634,_0x172065,_0x4b8beb=!0x1){super(_0x1d99b7),this['_isAnimationOnEnterEnabled']=_0x172065,this['_initializeProperties'](_0x41f5ad,_0x2ce634,_0x4b8beb),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'](_0x133340,_0x138897,_0x20d0a1){this['set']('label',_0x133340['label']),this['set']('tooltip',!0x0),this['set']('itemType',_0x133340['type']),this['set']('id',_0x133340['uiId']),this['set']('readonly',_0x138897),this['set']('isLoading',_0x20d0a1);}['_setupTemplate'](){const _0x5f41ff=this['_createIconView'](),_0x5a8ea3=this['_createRemoveButton'](),_0x474c14=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':this['_createTemplateAttributes'](_0x474c14),'children':this['_createTemplateChildren'](_0x5f41ff,_0x5a8ea3,_0x474c14)});}['_createTemplateAttributes'](_0x4b8d67){return{'class':[_0x5857c0['contextChip'],_0x4b8d67['if']('itemType',_0x5857c0['contextChipDocument'],_0x530d39=>'document'==_0x530d39),_0x4b8d67['if']('itemType',_0x5857c0['contextChipWide'],_0x2092b5=>'selection'==_0x2092b5)],'data-cke-tooltip-text':_0x4b8d67['to']('label',getTooltipForLabel),'data-cke-tooltip-position':_0x3339fd['position'],'data-cke-tooltip-class':_0x5857c0['chipTooltip']};}['_createTemplateChildren'](_0x4cd52b,_0x19fa2f,_0x29095c){const _0x17d68e=this['_createLabelElement'](_0x29095c),_0x2b3be8=this['_createLoaderIcon']();return this['readonly']?[_0x4cd52b,_0x17d68e]:[_0x4cd52b,_0x2b3be8,_0x17d68e,_0x19fa2f];}['_createLabelElement'](_0xe8dedc){return{'tag':'span','attributes':{'class':_0x5857c0['contextChipLabel']},'children':[{'text':_0xe8dedc['to']('label')}]};}['_createRemoveButton'](){const _0x388f10=new ckeditor5['ButtonView'](this['locale']);return _0x388f10['set']({'label':getTranslation$i(this['locale'],'AI_CHAT_CONTEXT_REMOVE_FROM_CONTEXT'),'icon':ckeditor5['IconClose']}),this['_setupRemoveButtonEvent'](_0x388f10),_0x388f10;}['_setupRemoveButtonEvent'](_0x2d4f4c){_0x2d4f4c['on']('execute',()=>{this['fire']('removeContextItemChip',this['id']);});}['_createIconView'](){const _0x21c0e8=this['bindTemplate'],_0x5116a7=new ckeditor5['IconView']();return _0x5116a7['content']=_0xd9715f[this['itemType']],_0x5116a7['extendTemplate']({'attributes':{'class':[_0x5857c0['contextChipTypeIcon'],_0x21c0e8['if']('isLoading','ck-hidden',_0x55d57d=>_0x55d57d)]}}),_0x5116a7;}['_handleAnimationEndOnce'](_0xe6dbad,_0x17bed7){if(!_0xe6dbad)return;const _0x5dc1c5=()=>{_0x17bed7(),_0xe6dbad['removeEventListener']('animationend',_0x5dc1c5),_0xe6dbad['removeEventListener']('webkitAnimationEnd',_0x5dc1c5);};_0xe6dbad['addEventListener']('animationend',_0x5dc1c5),_0xe6dbad['addEventListener']('webkitAnimationEnd',_0x5dc1c5);}['_createLoaderIcon'](){const _0x310e5b=new _0xbc7c50('small');return _0x310e5b['bind']('isVisible')['to'](this,'isLoading',_0x382d55=>_0x382d55),_0x310e5b;}}function getTooltipForLabel(_0x46102a){if(!_0x46102a)return _0x46102a;if(_0x46102a['length']<=_0x527451)return _0x46102a;const _0x1473d5=_0x46102a['slice'](0x0,_0x527451),_0x3a50de=_0x1473d5['lastIndexOf']('\x20');return(_0x3a50de>0x0?_0x1473d5['slice'](0x0,_0x3a50de):_0x1473d5)+'…';}const _0x3dfa26={'maxVisibleRows':0x2,'rowDetectionTolerance':0x5,'showMoreLabelPrefix':'+\x20','viewportOffset':{'top':0x64,'bottom':0xa}},_0x27f4bd='300px';class AIChatChipsOverflowManager{['_locale'];['_config'];['_visibleChips'];['_overflowChips'];['_showMoreButtonView']=null;['_showMoreBalloonPanelView']=null;['_containerElement']=null;['_bodyCollection'];['_parentView']=null;['_intersectionObserver']=null;['_pendingCalculation']=!0x1;constructor(_0x3d0a66,_0x1cc21c,_0x5a0916,_0x4c285a,_0x45788e){this['_locale']=_0x3d0a66,this['_visibleChips']=_0x1cc21c,this['_config']={..._0x3dfa26,..._0x5a0916,'cssClasses':{'controlsButton':'','calculationContainer':'ck-calculation-container',..._0x5a0916['cssClasses']}},this['_overflowChips']=new ckeditor5['Collection'](),this['_bodyCollection']=_0x4c285a,this['_parentView']=_0x45788e||null;}['setContainerElement'](_0x29048d){this['_intersectionObserver']&&(this['_intersectionObserver']['disconnect'](),this['_intersectionObserver']=null),this['_containerElement']=_0x29048d,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 _0xaf2b66=[...this['_visibleChips'],...this['_overflowChips']],_0x1d6e47=this['_createCalculationContainer'](),_0x2ad213=this['_calculateOverflowInContainer'](_0x1d6e47,_0xaf2b66),_0x4cd06f=_0x1d6e47['_ancestorsToRestore'];_0x4cd06f&&this['_restoreAncestorVisibility'](_0x4cd06f),_0x1d6e47['remove'](),this['_applyOverflowResults'](_0xaf2b66,_0x2ad213);}['_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 _0x486a8d=new ckeditor5['ButtonView'](this['_locale']);_0x486a8d['set']({'label':'','withText':!0x0,'isToggleable':!0x0});const _0x4dbe10=[this['_config']['cssClasses']['showMoreButton']];return this['_config']['cssClasses']['controlsButton']&&_0x4dbe10['push'](this['_config']['cssClasses']['controlsButton']),_0x486a8d['extendTemplate']({'attributes':{'class':_0x4dbe10}}),_0x486a8d;}['_createShowMoreBalloonPanelView'](){const _0xd4dd96=new ckeditor5['BalloonPanelView'](this['_locale']);return _0xd4dd96['extendTemplate']({'attributes':{'class':this['_config']['cssClasses']['showMoreBalloon']}}),this['_bodyCollection']['add'](_0xd4dd96),_0xd4dd96;}['_updateBalloonContent'](){if(this['_showMoreBalloonPanelView']&&(this['_showMoreBalloonPanelView']['content']['clear'](),this['_overflowChips']['length']>0x0)){this['_overflowChips']['forEach'](_0x310c3d=>{_0x310c3d['disableAnimationOnEnter']();});const _0x3328cb=new ckeditor5['View'](this['_locale']);_0x3328cb['setTemplate']({'tag':'div','attributes':{'class':this['_config']['cssClasses']['overflowContainer']},'children':this['_overflowChips']}),this['_showMoreBalloonPanelView']['content']['add'](_0x3328cb);}}['_handleShowMoreButtonClick'](){this['_showMoreButtonView']['isOn']?this['hideBalloonPanel']():this['showBalloonPanel']();}['_updateShowMoreButtonVisibility'](){const _0x3abca4=this['_overflowChips']['length']>0x0;this['_showMoreButtonView']?.['element']&&(this['_showMoreButtonView']['element']['style']['display']=_0x3abca4?'':'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'](_0x359a1c){const _0x1f9114=this['_containerElement']?.['tagName']['toLowerCase']()||'div',_0x361765=this['_containerElement']?.['classList'];if(_0x361765){const _0x3dc4ff=_0x361765[0x0]||'',_0x2b6e0b=_0x359a1c['querySelector']('.'+_0x3dc4ff),_0x13aa88=_0x359a1c['querySelector'](_0x1f9114);return _0x2b6e0b||_0x13aa88||_0x359a1c;}return _0x359a1c['querySelector'](_0x1f9114)||_0x359a1c;}['_calculateContainerWidth'](){const _0x34a8a1=this['_parentView']?.['element']||this['_containerElement'];if(!_0x34a8a1)return _0x27f4bd;const _0x573698=window['getComputedStyle'](_0x34a8a1)['width'];if('auto'===_0x573698||'0px'===_0x573698||!_0x573698){const _0xca1b8f=_0x34a8a1['parentElement'];if(_0xca1b8f){const _0x4c2977=window['getComputedStyle'](_0xca1b8f);return'auto'!==_0x4c2977['width']?_0x4c2977['width']:_0x27f4bd;}return _0x27f4bd;}return _0x573698;}['_applyCalculationStyles'](_0x59350f,_0x172b61){this['_config']['cssClasses']['calculationContainer']&&_0x59350f['classList']['add'](this['_config']['cssClasses']['calculationContainer']),_0x59350f['style']['width']=_0x172b61,_0x59350f['style']['position']='absolute',_0x59350f['style']['top']='-9999px',_0x59350f['style']['left']='-9999px',_0x59350f['style']['opacity']='0',_0x59350f['style']['pointerEvents']='none',_0x59350f['style']['zIndex']='-1',_0x59350f['style']['visibility']='visible\x20!important',_0x59350f['style']['display']='block\x20!important',_0x59350f['style']['boxSizing']='border-box';}['_restoreAncestorVisibility'](_0x179b39){_0x179b39['forEach'](({element:_0x1b7960,originalDisplay:_0x49a17e,originalVisibility:_0x18bf4f})=>{_0x1b7960['style']['display']=_0x49a17e,_0x1b7960['style']['visibility']=_0x18bf4f;});}['_makeAncestorsVisible'](_0x443633){const _0x2d6081=[];let _0x4d72ab=_0x443633;for(;_0x4d72ab&&_0x4d72ab!==document['body'];){const _0x26eece=window['getComputedStyle'](_0x4d72ab);'none'!==_0x26eece['display']&&'hidden'!==_0x26eece['visibility']||(_0x2d6081['push']({'element':_0x4d72ab,'originalDisplay':_0x4d72ab['style']['display'],'originalVisibility':_0x4d72ab['style']['visibility']}),_0x4d72ab['style']['display']='block',_0x4d72ab['style']['visibility']='visible'),_0x4d72ab=_0x4d72ab['parentElement'];}return _0x2d6081;}['_createContainerElements'](){let _0x244842,_0x818009;return this['_parentView']?.['element']?(_0x244842=this['_parentView']['element']['cloneNode'](!0x0),_0x818009=this['_findTargetContainer'](_0x244842)):(_0x244842=document['createElement']('div'),_0x818009=_0x244842),{'calculationContainer':_0x244842,'targetContainer':_0x818009};}['_createCalculationContainer'](){const {calculationContainer:_0x31bb63,targetContainer:_0x4b2007}=this['_createContainerElements'](),_0x2c9d7a=this['_calculateContainerWidth']();this['_applyCalculationStyles'](_0x31bb63,_0x2c9d7a);const _0x29d2d4=this['_parentView']?.['element']||this['_containerElement'],_0x717b48=_0x29d2d4?.['parentElement'];_0x717b48?_0x717b48['appendChild'](_0x31bb63):document['body']['appendChild'](_0x31bb63),_0x31bb63['_targetContainer']=_0x4b2007;const _0x4cf5e7=this['_makeAncestorsVisible'](_0x717b48||null);return _0x31bb63['offsetWidth'],_0x31bb63['_ancestorsToRestore']=_0x4cf5e7,_0x31bb63;}['_calculateOverflowInContainer'](_0x35c8a5,_0x7b6db3){const _0xd95cdd=_0x35c8a5['_targetContainer']||_0x35c8a5,_0x39f6e5=[],{rowCount:_0x13ae56}=this['_renderChipsAndCountRows'](_0xd95cdd,_0x7b6db3);if(_0x13ae56<=this['_config']['maxVisibleRows'])return _0x39f6e5;const _0x2c983e=_0x7b6db3['slice']();for(;_0x2c983e['length']>0x0;){if(this['_testButtonFit'](_0x35c8a5,_0xd95cdd,_0x2c983e)){const _0x4e2ea0=_0x7b6db3['filter'](_0x3b9082=>!_0x2c983e['includes'](_0x3b9082));_0x39f6e5['push'](..._0x4e2ea0);break;}if(!_0x2c983e['pop']())break;}return _0x39f6e5;}['_renderChipsAndCountRows'](_0x2629ee,_0x4d1639){_0x2629ee['innerHTML']='',_0x4d1639['forEach'](_0x115316=>{if(_0x115316['element']){const _0x5cdc77=_0x115316['element']['cloneNode'](!0x0);_0x2629ee['appendChild'](_0x5cdc77);}}),_0x2629ee['offsetWidth'];const _0x10d4f1=_0x2629ee['children'],_0xd260e6=[];return Array['from'](_0x10d4f1)['forEach'](_0x383890=>{const _0x2724d1=_0x383890['getBoundingClientRect']()['top'];_0xd260e6['some'](_0x4c5a45=>Math['abs'](_0x4c5a45-_0x2724d1)<this['_config']['rowDetectionTolerance'])||_0xd260e6['push'](_0x2724d1);}),{'rowCount':_0xd260e6['length']};}['_createMockButton'](){const _0x1def1f=document['createElement']('button');return _0x1def1f['className']=this['_config']['cssClasses']['showMoreButton'],this['_config']['cssClasses']['controlsButton']&&_0x1def1f['classList']['add'](this['_config']['cssClasses']['controlsButton']),_0x1def1f['textContent']='+\x201',_0x1def1f;}['_testButtonFit'](_0x1a7f0c,_0x58da6b,_0x2e573f){this['_renderChipsAndCountRows'](_0x58da6b,_0x2e573f);const _0x40edb2=this['_createMockButton']();_0x1a7f0c['appendChild'](_0x40edb2),_0x1a7f0c['offsetWidth'];const _0x48a5f3=[..._0x58da6b['children'],_0x40edb2],_0x1968e7=[];_0x48a5f3['forEach'](_0x1c00ee=>{const _0x4c1d00=_0x1c00ee['getBoundingClientRect']()['top'];_0x1968e7['some'](_0x2f87eb=>Math['abs'](_0x2f87eb-_0x4c1d00)<this['_config']['rowDetectionTolerance'])||_0x1968e7['push'](_0x4c1d00);});const _0x22b5f3=_0x1968e7['length'];return _0x40edb2['remove'](),_0x22b5f3<=this['_config']['maxVisibleRows'];}['_distributeChips'](_0x3da596,_0x67d2a0){this['_visibleChips']['clear'](),this['_overflowChips']['clear'](),_0x3da596['forEach'](_0x3c83f1=>{_0x67d2a0['includes'](_0x3c83f1)?this['_overflowChips']['add'](_0x3c83f1):this['_visibleChips']['add'](_0x3c83f1);});}['_updateOverflowUI'](_0x9f1e88){if(_0x9f1e88>0x0&&!this['_showMoreButtonView']&&this['_createShowMoreButton'](),_0x9f1e88>0x0&&this['_showMoreButtonView']){const _0x17c300=''+this['_config']['showMoreLabelPrefix']+(_0x9f1e88<0x63?_0x9f1e88:'99');this['_showMoreButtonView']['label']=_0x17c300;}this['_updateBalloonContent'](),this['_updateShowMoreButtonVisibility'](),this['_repinBalloonPanel']();}['_applyOverflowResults'](_0x54448f,_0x2d0029){this['_distributeChips'](_0x54448f,_0x2d0029),this['_updateOverflowUI'](_0x2d0029['length']);}['_setupVisibilityObserver'](){this['_containerElement']&&'undefined'!=typeof IntersectionObserver&&(this['_intersectionObserver']=new IntersectionObserver(_0xb09f2c=>{_0xb09f2c[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 _0x379b76=this['_containerElement']['getBoundingClientRect']();if(0x0===_0x379b76['width']||0x0===_0x379b76['height'])return!0x1;const _0x2d683f=window['innerHeight']||document['documentElement']['clientHeight'],_0x5ad575=window['innerWidth']||document['documentElement']['clientWidth'],_0x96edda=0xc8;return _0x379b76['bottom']>=-0xc8&&_0x379b76['top']<=_0x2d683f+_0x96edda&&_0x379b76['right']>=-0xc8&&_0x379b76['left']<=_0x5ad575+_0x96edda;}}const _0x2de70a={'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(_0x63ca80,_0x4b6595,_0x25e6eb){super(_0x63ca80),this['_bodyCollection']=_0x25e6eb,this['_createContextChips'](_0x4b6595);const _0x39c115={'cssClasses':{'showMoreButton':_0x2de70a['SHOW_MORE_BUTTON'],'showMoreBalloon':_0x2de70a['SHOW_MORE_BALLOON'],'overflowContainer':_0x2de70a['CONTEXT_CHIPS_OVERFLOW'],'controlsButton':_0x2de70a['CONTROLS_BUTTON']}};this['_overflowManager']=new AIChatChipsOverflowManager(_0x63ca80,this['_contextChips'],_0x39c115,this['_bodyCollection'],this),this['setTemplate']({'tag':'div','attributes':{'class':[_0x2de70a['CONTEXT_CHIPS'],'ck','ck-reset_all']},'children':[{'tag':'div','attributes':{'class':_0x2de70a['CONTEXT_CHIPS_VISIBLE']},'children':this['_contextChips']}]});}['render'](){super['render']();const _0x555ceb=this['element']['querySelector']('.'+_0x2de70a['CONTEXT_CHIPS_VISIBLE']);_0x555ceb&&(this['_overflowManager']['setContainerElement'](_0x555ceb),this['_overflowManager']['reorganizeChips']());}['destroy'](){super['destroy'](),this['_overflowManager']['destroy']();}['_createContextChips'](_0xa925ff){for(const _0x42c710 of _0xa925ff){const _0x136439=new AIChatContextItemButtonView(this['locale'],_0x42c710,!0x0,!0x1);this['_contextChips']['add'](_0x136439);}}}class AIChatFeedUserMessageItemView extends AIChatFeedItemView{['_contextChipsView']=null;['_locale'];['_bodyCollection'];['_messageContentView'];constructor(_0x22c3fa,_0x10df1e,_0x3e3b25){super(_0x10df1e),this['_locale']=_0x22c3fa,this['_bodyCollection']=_0x3e3b25,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'](_0x47b6ff=>!_0x47b6ff['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(_0x266f5c,_0x51ba9d){super(_0x51ba9d);const {isWebSearchEnabled:_0x1d25b1,isReasoningEnabled:_0x4a5798}=_0x51ba9d['capabilities'],_0x5bad40=[];let _0x1c4362='';_0x1d25b1&&_0x4a5798?(_0x1c4362=getTranslation$i(_0x266f5c,'AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH_REASONING'),_0x5bad40['push'](createIcon(ckeditor5['IconWeb'])),_0x5bad40['push'](createIcon(ckeditor5['IconBulb']))):_0x1d25b1?(_0x1c4362=getTranslation$i(_0x266f5c,'AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH'),_0x5bad40['push'](createIcon(ckeditor5['IconWeb']))):_0x4a5798&&(_0x1c4362=getTranslation$i(_0x266f5c,'AI_CHAT_FEED_REPLY_ITEM_USED_REASONING'),_0x5bad40['push'](createIcon(ckeditor5['IconBulb']))),this['extendTemplate']({'attributes':{'class':['ck-ai-chat__feed__interaction-header',_0x1c4362?'':'ck-hidden']}});const _0x4475cd=new ckeditor5['View']();_0x4475cd['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-chat__feed__interaction-header__capabilities']},'children':[..._0x5bad40,{'tag':'span','attributes':{'class':['ck-ai-chat__feed__interaction-header__capabilities__text']},'children':[_0x1c4362]}]}),this['children']['add'](_0x4475cd),this['capabilities']=_0x51ba9d['capabilities'];}}function createIcon(_0x1002db){const _0x16a3b1=new ckeditor5['IconView']();return _0x16a3b1['content']=_0x1002db,_0x16a3b1;}const _0x19a964=0x5,_0x56e40e=['wheel','touchstart','pointerdown','keydown'],_0x548b1a=['ArrowUp','ArrowDown','PageUp','PageDown','Home','End','\x20'];class _0x28aedf{['element'];['animationFrameId'];['isRunning'];['abortController'];['isUserPaused'];constructor(_0x1d465b){this['element']=_0x1d465b,this['animationFrameId']=null,this['isRunning']=!0x1,this['abortController']=new AbortController(),this['isUserPaused']=!0x1;for(const _0xf3dd22 of _0x56e40e){const _0xf567a8='keydown'!==_0xf3dd22;this['element']['addEventListener'](_0xf3dd22,this['_onUserEvent']['bind'](this),{'passive':_0xf567a8,'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'](_0x5cb2b0){if(this['isRunning']){if('keydown'===_0x5cb2b0['type']){const _0xdf67ee=_0x5cb2b0['key'];if(!_0x548b1a['includes'](_0xdf67ee))return;}_0x5cb2b0 instanceof WheelEvent?_0x5cb2b0['deltaY']<0x0?this['isUserPaused']=!0x0:this['isUserPaused']=!this['_isAtBottom']():this['isUserPaused']=!0x0;}}['_isAtBottom'](){const {scrollTop:_0xb526f2,scrollHeight:_0x3de611,clientHeight:_0x1b11a7}=this['element'];return _0x3de611-_0xb526f2-_0x1b11a7<=_0x19a964;}['_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(_0x2e82e1,_0x3ed064){super(_0x2e82e1),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-skeleton']},'children':this['_createSkeletonItems'](_0x3ed064)});}['_createSkeletonItems'](_0x384e5c){const _0x1335c8=['ck','ck-ai-skeleton__item'];return _0x384e5c['map'](_0x22b2a9=>{let _0x1bc0ce='';switch(_0x22b2a9['attributes']['align']){case'right':_0x1bc0ce='margin-left:\x20auto;\x20margin-right:\x200;\x20text-align:\x20right;';break;case'center':_0x1bc0ce='margin-left:\x20auto;\x20margin-right:\x20auto;\x20text-align:\x20center;';break;case'left':_0x1bc0ce='margin-left:\x200;\x20margin-right:\x20auto;\x20text-align:\x20left;';}return{'tag':_0x22b2a9['tag'],'attributes':{'class':[..._0x1335c8,_0x22b2a9['attributes']['class']?_0x22b2a9['attributes']['class']:''],'style':'width:\x20'+_0x22b2a9['attributes']['width']+';\x20height:\x20'+_0x22b2a9['attributes']['height']+';'+_0x1bc0ce}};});}}const _0x124b88={'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(_0x259c08,_0x5f19a9,_0x18ed75,_0x13416d){return new Array(_0x259c08)['fill'](null)['map'](()=>({'tag':'div','attributes':{'width':_0x5f19a9,'height':_0x18ed75,'align':_0x13416d}}));}class AIChatFeedView extends ckeditor5['View']{['children'];['scrollManager'];['_bodyCollection'];constructor(_0x499a08,_0x674d44){super(_0x499a08),this['_bodyCollection']=_0x674d44,this['set']('isPending',!0x1),this['set']('loadingMessage',''),this['set']('isLoadingSkeletonVisible',!0x1),this['set']('isTrackChangesOn',!0x1),this['children']=this['createCollection'](),this['children']['delegate'](..._0x2abc65)['to'](this),this['_setupTemplate']();}['render'](){super['render'](),this['scrollManager']=new _0x28aedf(this['element']);}['destroy'](){super['destroy'](),this['scrollManager']['destroy']();}['clear'](){this['children']['clear']();}['addItem'](_0x172246,_0x34770b){let _0xc2dd4d;'ai-reply'===_0x172246?_0xc2dd4d=new AIChatFeedReplyItemView(this['locale'],_0x34770b):'ai-suggestion-reply'===_0x172246?(_0xc2dd4d=new AIChatFeedSuggestionItemView(this['locale'],_0x34770b),_0xc2dd4d['bind']('isTrackChangesOn')['to'](this,'isTrackChangesOn')):_0xc2dd4d='user-message'===_0x172246?new AIChatFeedUserMessageItemView(this['locale'],_0x34770b,this['_bodyCollection']):'interaction-header'===_0x172246?new AIChatFeedInteractionHeaderView(this['locale'],_0x34770b):new AIChatFeedErrorItemView(_0x34770b),this['children']['add'](_0xc2dd4d);}async['updateReplyItem']({id:_0x56c406,parsedContent:_0x25fdd5,renderingStrategy:_0x43fc3e,abortSignal:_0x2e4dae}){const _0x419a26=this['getItemById'](_0x56c406);if(!(_0x419a26 instanceof AIChatFeedReplyItemView))throw new ckeditor5['CKEditorError']('ai-chat-feed-view-item-not-a-reply-item',null,{'itemView':_0x419a26,'id':_0x56c406,'parsedContent':_0x25fdd5});await _0x419a26['updateContent']({'parsedContent':_0x25fdd5,'renderingStrategy':_0x43fc3e,'abortSignal':_0x2e4dae});}async['updateWebSources'](_0x418235,_0x3a3aac){const _0x47c7b6=this['getItemById'](_0x418235);if(_0x47c7b6 instanceof AIChatFeedSuggestionItemView)_0x47c7b6['updateSources'](_0x3a3aac);else{if(!(_0x47c7b6 instanceof AIChatFeedReplyItemView))throw new ckeditor5['CKEditorError']('ai-chat-feed-view-item-not-a-suggestion-or-reply-item',null,{'itemView':_0x47c7b6,'id':_0x418235,'sources':_0x3a3aac});_0x47c7b6['updateSources'](_0x3a3aac);}}async['updateSuggestionItem']({id:_0x246962,parts:_0x953911,renderingStrategy:_0x3a9560,abortSignal:_0x32fdbd}){const _0x2f4c16=this['getItemById'](_0x246962);if(!(_0x2f4c16 instanceof AIChatFeedSuggestionItemView))throw new ckeditor5['CKEditorError']('ai-chat-feed-view-item-not-a-suggestion-item',null,{'itemView':_0x2f4c16,'id':_0x246962,'parts':_0x953911});await _0x2f4c16['updateContent']({'parts':_0x953911,'renderingStrategy':_0x3a9560,'abortSignal':_0x32fdbd});}['updateSuggestionPartState']({id:_0x2bf208,index:_0x22494c,state:_0xdf2208}){const _0x185ec7=this['getItemById'](_0x2bf208);if(!(_0x185ec7 instanceof AIChatFeedSuggestionItemView))throw new ckeditor5['CKEditorError']('ai-chat-feed-view-item-not-a-suggestion-item',this,{'id':_0x2bf208});_0x185ec7['updatePartState'](_0x22494c,_0xdf2208);}['markItemAsDone'](_0x9cbdaf){this['getItemById'](_0x9cbdaf)['markAsDone']();}['getItemIds'](){return this['children']['map'](_0x3b8a75=>_0x3b8a75['options']['id']);}['removeItem'](_0x505e13){this['children']['remove'](this['getItemById'](_0x505e13));}['scrollToSuggestion'](_0x3a9190,_0x1d5f4f){const _0x344797=this['getItemById'](_0x3a9190);if(!(_0x344797 instanceof AIChatFeedSuggestionItemView))return void ckeditor5['logWarning']('ck-ai-chat-feed-view-scroll-to-suggestion-invalid-item',{'replyId':_0x3a9190,'partIndex':_0x1d5f4f});const _0x1e5cb5=_0x344797['getPartView'](_0x1d5f4f);_0x1e5cb5?ckeditor5['scrollViewportToShowTarget']({'target':_0x1e5cb5['element'],'ancestorOffset':0x14,'alignToTop':!0x0,'forceScroll':!0x0}):ckeditor5['logWarning']('ck-ai-chat-feed-view-scroll-to-suggestion-part-view-not-found',{'replyId':_0x3a9190,'partIndex':_0x1d5f4f});}['_setupTemplate'](){this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-chat__feed']},'children':this['_createTemplateChildren']()});}['_createTemplateChildren'](){const _0x172309=this['_createSkeletonLoader']();return[this['_createFeedItems'](),_0x172309,this['_createFeedLoader']()];}['_createSkeletonLoader'](){const _0x329604=new AISkeletonView(this['locale'],_0x124b88['aiFeed']);return _0x329604['extendTemplate']({'attributes':{'class':[this['bindTemplate']['if']('isLoadingSkeletonVisible','ck-hidden',_0x4bb5ef=>!_0x4bb5ef)]}}),_0x329604;}['_createFeedItems'](){const _0x3c629b=new ckeditor5['View'](this['locale']);return _0x3c629b['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-chat__feed__items',this['bindTemplate']['if']('isLoadingSkeletonVisible','ck-hidden')]},'children':this['children']}),_0x3c629b;}['_createFeedLoader'](){const _0xa38c86=new ckeditor5['View'](this['locale']);return _0xa38c86['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-chat__loader',this['bindTemplate']['if']('isPending','ck-hidden',_0x252d1b=>!_0x252d1b)]},'children':this['_createLoaderChildren']()}),_0xa38c86;}['_createLoaderChildren'](){const _0x103f53=new _0xbc7c50();return _0x103f53['isVisible']=!0x0,[_0x103f53,{'tag':'span','attributes':{'class':['ck','ck-ai-chat__loader-text']},'children':[{'text':this['bindTemplate']['to']('loadingMessage')}]}];}['getItemById'](_0x3499ac){const _0x518962=this['children']['find'](_0x304796=>_0x304796['options']['id']['includes'](_0x3499ac));if(!_0x518962)throw new ckeditor5['CKEditorError']('ai-chat-feed-view-item-not-found',this,{'id':_0x3499ac});return _0x518962;}['setLoadingMessage'](_0x157c06){this['set']('loadingMessage',_0x157c06);}['toggleLoadingSkeleton'](_0x473420){this['set']('isLoadingSkeletonVisible',_0x473420);}['startAutoScroll'](){this['scrollManager']['start']();}['stopAutoScroll'](){this['scrollManager']['stop']();}}class AIChatPromptSuggestionsListView extends ckeditor5['ListView']{['filter'](){let _0x53706e=0x0;for(const _0x2bd179 of this['items'])_0x53706e+=_0x2bd179['items']['length'];return{'resultsCount':_0x53706e,'totalItemsCount':_0x53706e};}}class AIChatPromptInputView extends ckeditor5['AutocompleteView']{['submitButtonView'];static ['MIN_ROWS']=0x1;static ['MAX_ROWS']=0xc;['_addContextButtonView'];['_queryViewResizeObserver'];constructor(_0x4d6dda,_0x1b8cf0){super(_0x4d6dda,{'queryView':{'label':'','creator':ckeditor5['createLabeledTextarea'],'showIcon':!0x1,'showResetButton':!0x1},'filteredView':new AIChatPromptSuggestionsListView(_0x4d6dda),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1}),this['set']('isEmpty',!0x0),this['set']('isUploadInProgress',!0x1),this['_addContextButtonView']=_0x1b8cf0,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',(_0x31d3fa,_0x766688)=>!_0x31d3fa&&!_0x766688),this['focusableChildren']['add'](this['submitButtonView']);}['render'](){super['render'](),this['queryView']['fieldWrapperChildren']['add'](this['submitButtonView']),this['keystrokes']['set']('enter',(_0x8d9fe4,_0x42f49d)=>{this['isUploadInProgress']||this['isEmpty']||_0x8d9fe4['target']==this['queryView']['fieldView']['element']&&(this['submit'](),_0x42f49d());}),this['queryView']['fieldView']['on']('update',()=>{this['isEmpty']=''===this['queryView']['fieldView']['element']['value']?.['trim']();});}['destroy'](){super['destroy'](),this['_queryViewResizeObserver']&&this['_queryViewResizeObserver']['destroy']();}['submit'](){const _0x147134=this['queryView']['fieldView']['element']['value']?.['trim']();if(!_0x147134)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 _0x11122b=_0x26b325(_0x147134);this['fire']('sendUserMessage',_0x11122b),this['queryView']['fieldView']['reset']();}['setPlaceholderText'](_0x295278){this['queryView']['fieldView']['set']('placeholder',_0x295278);}['_createSubmitButton'](){const _0x37d984=new ckeditor5['ButtonView'](this['locale']);return _0x37d984['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}),_0x37d984['on']('execute',()=>{this['submit']();}),_0x37d984;}['setIsUploadInProgress'](_0xa93e49){this['isUploadInProgress']=_0xa93e49;}['_setUpAddContextButtonPositioning'](){const _0x275561=this['locale'],_0x30d7de=()=>{ckeditor5['global']['window']['requestAnimationFrame'](()=>{if(ckeditor5['isVisible'](this['element'])){const _0x33c3f0=new ckeditor5['Rect'](this['queryView']['fieldView']['element']),_0x594838=new ckeditor5['Rect'](this['_addContextButtonView']['element']),_0x103512=_0x33c3f0['width'],_0x23a52f='rtl'===_0x275561['uiLanguageDirection']?'right':'left';_0x33c3f0['excludeScrollbarsAndBorders']();const _0x535755=_0x103512-_0x33c3f0['width']+0x1;this['_addContextButtonView']['element']['style'][_0x23a52f]='calc('+(_0x103512-_0x594838['width']-_0x535755)+'px\x20-\x20var(--ck-spacing-tiny))';}});};this['queryView']['fieldView']['on']('update',_0x30d7de),this['on']('render',()=>{_0x30d7de(),this['_queryViewResizeObserver']=new ckeditor5['ResizeObserver'](this['queryView']['fieldView']['element'],()=>{_0x30d7de();});});}}const _0x69330d={'PROMPT_CAPABILITIES':'ck-ai-chat__prompt-capabilities','CONTROLS_BUTTON':'ck-ai-chat-controls-button','COMMANDS_BUTTON':'ck-ai-chat-controls-button--commands','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'},_0x48d4ca='n';class AIChatPromptCapabilitiesView extends ckeditor5['View']{['_webSearchButton'];['_reasoningButton'];['_commandsButton'];['_modelSelectionDropdown'];['_modelSelectionDropdownItems'];['_modelNameView'];constructor(_0x1d67c7){super(_0x1d67c7),this['set']('webSearchActive',!0x1),this['set']('reasoningActive',!0x1),this['set']('modelSelectorVisible',!0x0),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,'modelSelectorVisible',_0x163387=>_0x163387),this['_modelSelectionDropdown']['buttonView']['bind']('tooltip')['to'](this,'modelSelectorEnabled',_0x31af0c=>_0x31af0c?this['_modelSelectionDropdown']['buttonView']['label']:getTranslation$i(this['locale'],'AI_CHAT_MODEL_SELECTOR_DISABLED_TOOLTIP')),this['_modelSelectionDropdown']['bind']('isEnabled')['to'](this,'modelSelectorEnabled',_0x566945=>_0x566945),this['_webSearchButton']['bind']('isOn')['to'](this,'webSearchActive',_0x49d4b2=>_0x49d4b2),this['_webSearchButton']['bind']('withText')['to'](this,'modelSelectorVisible',_0x4e77d7=>!_0x4e77d7),this['_webSearchButton']['bind']('tooltip')['to'](this,'webSearchActive',_0x4432e3=>getTranslation$i(this['locale'],_0x4432e3?'AI_CHAT_DISABLE_WEB_SEARCH':'AI_CHAT_ENABLE_WEB_SEARCH')),this['_reasoningButton']['bind']('isOn')['to'](this,'reasoningActive',_0x36ba46=>_0x36ba46),this['_reasoningButton']['bind']('withText')['to'](this,'modelSelectorVisible',_0x3240d3=>!_0x3240d3),this['_reasoningButton']['bind']('tooltip')['to'](this,'reasoningActive',_0x20e03a=>getTranslation$i(this['locale'],_0x20e03a?'AI_CHAT_DISABLE_REASONING':'AI_CHAT_ENABLE_REASONING')),this['setTemplate']({'tag':'div','attributes':{'class':[_0x69330d['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'](_0x213c5f,_0x526abe){if(this['set']('modelSelectorVisible',!(_0x526abe&&_0x213c5f['length']<=0x1)),this['_modelSelectionDropdownItems']['clear'](),_0x213c5f?.['length'])for(const _0x8c7532 of _0x213c5f){const _0x5d61b8=new ckeditor5['UIModel']({'label':_0x8c7532['name'],'withText':!0x0,'role':'menuitemradio','id':_0x8c7532['id'],'model':_0x8c7532});_0x5d61b8['bind']('isOn')['to'](this,'activeModelId',_0x3c9283=>_0x3c9283===_0x8c7532['id']),this['_modelSelectionDropdownItems']['add']({'type':'button','model':_0x5d61b8,'labelView':new ModelButtonLabelView$1(this['locale'],_0x8c7532)});}}['setWebSearch'](_0x794017){this['set']('webSearchActive',_0x794017);}['setReasoning'](_0xd89426){this['set']('reasoningActive',_0xd89426);}['setModel'](_0x16596c){if(!_0x16596c)return;this['activeModelId']=_0x16596c['id'],this['activeModelName']=_0x16596c['name']||_0x16596c['id'],this['_modelSelectionDropdown']['buttonView']['set']('label',_0x16596c['name']),this['_modelSelectionDropdown']['buttonView']['set']('tooltip',_0x16596c['name']);const _0x41e9b5=_0x16596c['capabilities']['webSearch']?.['enabled']??!0x1;this['set']('webSearchActive',!0x1),this['_webSearchButton']['set']('isOn',!0x1),this['_webSearchButton']['set']('isEnabled',_0x41e9b5),this['_webSearchButton']['set']('isVisible',_0x41e9b5);const _0x3ac58d=_0x16596c['capabilities']['reasoning']?.['enabled']??!0x1;this['set']('reasoningActive',!0x1),this['_reasoningButton']['set']('isOn',!0x1),this['_reasoningButton']['set']('isEnabled',_0x3ac58d),this['_reasoningButton']['set']('isVisible',_0x3ac58d);}['enableModelSelector'](){this['set']('modelSelectorEnabled',!0x0),this['set']('modelSelectorVisible',!0x0);}['disableModelSelector'](_0x37a469){this['set']('modelSelectorEnabled',!0x1),_0x37a469&&this['set']('modelSelectorVisible',!0x1);}['_createWebSearchButton'](){const _0x2ac8c9=new ckeditor5['ButtonView']();return _0x2ac8c9['set']({'label':getTranslation$i(this['locale'],'AI_CHAT_SEARCH_WEB'),'icon':ckeditor5['IconWeb'],'class':_0x69330d['CONTROLS_BUTTON'],'isToggleable':!0x0,'tooltipPosition':_0x48d4ca}),_0x2ac8c9['on']('execute',()=>{this['fire']('toggleWebSearch');}),_0x2ac8c9;}['_createReasoningButton'](){const _0xb071a9=new ckeditor5['ButtonView']();return _0xb071a9['set']({'label':getTranslation$i(this['locale'],'AI_CHAT_REASONING'),'icon':ckeditor5['IconBulb'],'class':_0x69330d['CONTROLS_BUTTON'],'isToggleable':!0x0,'tooltipPosition':_0x48d4ca}),_0xb071a9['on']('execute',()=>{this['fire']('toggleReasoning');}),_0xb071a9;}['_createCommandsButton'](){const _0x5939c6=new ckeditor5['ButtonView']();return _0x5939c6['set']({'label':getTranslation$i(this['locale'],'AI_CHAT_COMMANDS'),'icon':ckeditor5['IconAI'],'withText':!0x0,'class':_0x69330d['CONTROLS_BUTTON'],'isToggleable':!0x0,'tooltip':getTranslation$i(this['locale'],'AI_CHAT_COMMANDS'),'tooltipPosition':_0x48d4ca}),_0x5939c6['extendTemplate']({'attributes':{'class':[_0x69330d['COMMANDS_BUTTON']]}}),_0x5939c6['on']('execute',()=>{console['log']('Commands\x20are\x20not\x20implemented\x20yet.'),alert('Commands\x20are\x20not\x20implemented\x20yet.');}),_0x5939c6;}['_createModelSelectionDropdown'](){const _0x275d5b=ckeditor5['createDropdown'](this['locale']);return _0x275d5b['set']({'panelPosition':'ne','class':[_0x69330d['MODEL_SELECTION']]}),_0x275d5b['buttonView']['set']({'label':getTranslation$i(this['locale'],'AI_CHAT_MODEL_SELECTOR_ENABLED_TOOLTIP'),'withText':!0x0,'tooltip':!0x0,'tooltipPosition':_0x48d4ca}),this['listenTo'](_0x275d5b,'execute',_0x1cbff5=>{this['fire']('selectModel',_0x1cbff5['source']['model']);}),_0x275d5b;}['_createModelNameView'](){const _0x47667a=new _0x2a19b3(this['locale']);return _0x47667a['bind']('text')['to'](this,'activeModelName',_0x3c9a11=>_0x3c9a11??''),_0x47667a['bind']('isVisible')['to'](this,'modelSelectorVisible',this,'activeModelName',(_0x87a61d,_0x486ef4)=>!_0x87a61d&&!_0x486ef4?.['toLowerCase']()['startsWith']('agent')),_0x47667a;}}let ModelButtonLabelView$1=class extends ckeditor5['ButtonLabelView']{constructor(_0x4178fc,_0x162f58){super();const _0x468c36=this['bindTemplate'],_0x57d9f4=this['createCollection']();this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-button__label'],'style':_0x468c36['to']('style'),'id':_0x468c36['to']('id')},'children':[{'tag':'div','attributes':{'class':[_0x69330d['MODEL_SELECTION_ITEM_NAME']]},'children':[{'text':_0x468c36['to']('text')}]},{'tag':'div','attributes':{'class':[_0x69330d['MODEL_SELECTION_ITEM_DESCRIPTION']]},'children':[{'tag':'span','children':[{'text':_0x162f58['description']}]}]},{'tag':'div','attributes':{'class':[_0x69330d['MODEL_SELECTION_ITEM_CAPABILITIES']]},'children':_0x57d9f4}]}),_0x57d9f4['addMany'](this['_getCapabilityParts'](_0x4178fc,ckeditor5['IconWeb'],'AI_CHAT_SEARCH_WEB',_0x162f58['capabilities']['webSearch']?.['enabled']??!0x1)),_0x57d9f4['addMany'](this['_getCapabilityParts'](_0x4178fc,ckeditor5['IconBulb'],'AI_CHAT_REASONING',_0x162f58['capabilities']['reasoning']?.['enabled']??!0x1));}['_getCapabilityParts'](_0x1dc39b,_0x21738e,_0x4b1838,_0x2e3495){const _0x1d5aff=new ckeditor5['IconView']();_0x1d5aff['content']=_0x21738e;const _0x3efe52=new ckeditor5['View'](_0x1dc39b);_0x3efe52['setTemplate']({'tag':'span','children':[{'text':getTranslation$i(_0x1dc39b,_0x4b1838)+':\x20'}]});const _0x598926=new ckeditor5['View'](_0x1dc39b);return _0x598926['setTemplate']({'tag':'span','children':[{'text':getTranslation$i(_0x1dc39b,_0x2e3495?'AI_CHAT_CAPABILITIES_YES':'AI_CHAT_CAPABILITIES_NO')}]}),[_0x1d5aff,_0x3efe52,_0x598926];}};class _0x2a19b3 extends ckeditor5['View']{constructor(_0x484585){super(_0x484585),this['set']('text',void 0x0),this['set']('isVisible',!0x0);const _0x572f9a=this['bindTemplate'];this['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-ai-chat-controls__model-name',_0x572f9a['if']('isVisible','ck-hidden',_0x21a89e=>!_0x21a89e)]},'children':[{'text':_0x572f9a['to']('text')}]});}}const _0x450e21={'URL_FORM':'ck-ai-chat-context-controls__url-form','URL_INPUT_SECTION':'ck-ai-chat-context-controls__url-input-section'},_0x5bfdda='n';class AIChatContextPanelUrlInputView extends ckeditor5['View']{['focusTracker'];['keystrokes'];['_focusables'];['focusCycler'];['urlInputField'];['backButton'];['confirmButton'];constructor(_0x258ac2){super(_0x258ac2),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['_setupTemplate'](),this['_setupEventHandlers'](),this['_setupKeystrokes']();}['render'](){super['render'](),this['_focusables']['forEach'](_0x11c81b=>{this['focusTracker']['add'](_0x11c81b['element']),this['keystrokes']['listenTo'](_0x11c81b['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'](_0x45b959){this['urlInputField']['errorText']=_0x45b959,this['_updateConfirmButtonState'](),this['fire']('refreshBalloon');}['clearError'](){this['urlInputField']['errorText']=null,this['_updateConfirmButtonState']();}['_createBackButton'](){const _0x554e0b=new ckeditor5['ButtonView'](this['locale']);return _0x554e0b['set']({'icon':ckeditor5['IconPreviousArrow'],'tooltip':getTranslation$i(this['locale'],'AI_CHAT_CONTEXT_URL_BACK_TO_CONTEXT'),'tooltipPosition':_0x5bfdda,'class':'ck-button-icon\x20ck-button-back'}),_0x554e0b;}['_createUrlInputField'](){const _0x2f431b=new ckeditor5['LabeledFieldView'](this['locale'],ckeditor5['createLabeledInputText']);return _0x2f431b['set']({'label':getTranslation$i(this['locale'],'AI_CHAT_CONTEXT_URL_LABEL'),'class':'ck-labeled-field-view_empty'}),_0x2f431b['fieldView']['set']({'placeholder':getTranslation$i(this['locale'],'AI_CHAT_CONTEXT_URL_PLACEHOLDER')}),_0x2f431b;}['_createConfirmButton'](){const _0x1c3179=new ckeditor5['ButtonView'](this['locale']);return _0x1c3179['set']({'icon':ckeditor5['IconCheck'],'tooltip':getTranslation$i(this['locale'],'AI_CHAT_CONTEXT_URL_ADD_URL'),'tooltipPosition':_0x5bfdda,'class':'ck-button-icon','type':'submit','isEnabled':!0x1}),_0x1c3179;}['_setupTemplate'](){const _0x5d004d=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'});_0x5d004d['children']['add'](this['backButton'],0x0),this['setTemplate']({'tag':'form','attributes':{'class':_0x450e21['URL_FORM'],'tabindex':'-1'},'children':[_0x5d004d,{'tag':'div','attributes':{'class':_0x450e21['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',_0x3820f2=>{_0x3820f2['stop'](),this['_handleSubmit']();});}['_setupKeystrokes'](){this['keystrokes']['set']('esc',(_0x4c417a,_0x4e0acb)=>{this['clear'](),this['fire']('cancel'),_0x4e0acb();});}['_handleSubmit'](){const _0x20e13a=this['getValue']()['trim']();_0x20e13a?this['_isValidUrl'](_0x20e13a)?(this['clearError'](),this['fire']('submitUrl',_0x20e13a)):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 _0x37f21a=this['getValue']()['trim'](),_0x274c24=!!this['urlInputField']['errorText'];this['confirmButton']['isEnabled']=_0x37f21a['length']>0x0&&!_0x274c24;}['_isValidUrl'](_0x51ca31){try{return!!new URL(_0x51ca31);}catch{return!0x1;}}}const _0x334b47={'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(_0x51d4c9,_0x4124fb){super(_0x51d4c9),this['resource']=_0x4124fb,this['set']('isInContext',!!_0x4124fb['isInContext']),this['_titleView']=this['_createTitleView'](),this['_iconView']=this['_createIconView'](),this['_setupTemplate']();}['render'](){super['render']();}['getResourceIcon'](_0x27ac15){if(_0x27ac15['isInContext'])return ckeditor5['IconCheck'];switch(_0x27ac15['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'](_0x250c9a){if(!_0x250c9a||''===_0x250c9a['trim']())return void this['_titleView']['highlightText'](null);const _0x10f3bd=new RegExp(_0x127f3c(_0x250c9a),'gi');this['_titleView']['highlightText'](_0x10f3bd);}['updateResourceState'](_0x2d1a5d){this['resource']['isInContext']=_0x2d1a5d,this['isInContext']=_0x2d1a5d,this['_updateIcon']();}['_createTitleView'](){const _0x48dfa5=new ckeditor5['HighlightedTextView']();return _0x48dfa5['text']=this['resource']['label'],_0x48dfa5['extendTemplate']({'tag':'span','attributes':{'class':[_0x334b47['ITEM_TITLE']]}}),_0x48dfa5;}['_createIconView'](){const _0x3f2a18=new ckeditor5['IconView']();return _0x3f2a18['content']=this['getResourceIcon'](this['resource']),_0x3f2a18;}['_setupTemplate'](){const _0x239004=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':[_0x334b47['ITEM'],_0x239004['if']('isVisible','ck-hidden',_0x21ff14=>!_0x21ff14),_0x239004['if']('isInContext',_0x334b47['ITEM_IN_CONTEXT'])]},'children':[{'tag':'div','attributes':{'class':[_0x334b47['ITEM_ICON']]},'children':[this['_iconView']]},this['_titleView']],'on':{'click':_0x239004['to']('execute')}});}['_updateIcon'](){this['_iconView']['content']=this['getResourceIcon'](this['resource']);}}const _0x4bde03={'LIST':'ck-ai-chat-resources__list'};class AIChatContextResourcesListView extends ckeditor5['ListView']{['_source'];constructor(_0x3a927d,_0x5ccb07){super(_0x3a927d),this['_source']=_0x5ccb07,this['extendTemplate']({'attributes':{'class':[_0x4bde03['LIST']]}});}['setResources'](_0x2fafad,_0x2f80c2){this['items']['clear']();let _0x40101f=_0x2fafad;if(this['_source']['useDefaultFiltering']&&_0x2f80c2&&''!==_0x2f80c2['trim']()){const _0x359313=new RegExp(_0x2f80c2['replace'](/[.*+?^${}()|[\]\\]/g,'\x5c$&'),'gi');_0x40101f=_0x2fafad['filter'](_0xe01c34=>_0x359313['test'](_0xe01c34['label']));}for(const _0x2a5b24 of _0x40101f){const _0x4ea411=new AIChatResourceListItemView(this['locale'],_0x2a5b24);_0x4ea411['on']('execute',()=>{this['_handleResourceSelection'](this['_source'],_0x2a5b24);}),this['items']['add'](_0x4ea411);}this['_source']['useDefaultFiltering']&&this['highlightText'](_0x2f80c2);}['highlightText'](_0x380f82){this['_source']['useDefaultFiltering']&&this['items']['forEach'](_0x30db99=>{_0x30db99['highlightText'](_0x380f82);});}['updateResourceState'](_0x27aebc,_0x37dce6){for(const _0x492752 of this['items']){const _0x1e4f28=_0x492752;_0x1e4f28['resource']['id']===_0x27aebc&&_0x1e4f28['updateResourceState'](_0x37dce6);}}['_handleResourceSelection'](_0x2d383e,_0x77e86d){this['fire']('addResourceToContext',{'source':_0x2d383e,'resource':_0x77e86d});}}class AIChatContextResourcesSearchInputView extends ckeditor5['LabeledFieldView']{['iconView'];['resetButtonView'];['_viewConfig'];constructor(_0x527b08){const t=_0x527b08['t'],_0x6d049f={'showResetButton':!0x0,'showIcon':!0x0,'creator':ckeditor5['createLabeledInputText'],'label':getTranslation$i(_0x527b08,'AI_CHAT_SEARCH_RESOURCES')};super(_0x527b08,_0x6d049f['creator']),this['label']=_0x6d049f['label'],this['_viewConfig']=_0x6d049f,this['_viewConfig']['showIcon']&&this['_setupSearchIcon'](),this['_viewConfig']['showResetButton']&&this['_setupResetButton'](_0x527b08,t),this['_setupEventListeners']();}['reset'](){this['fieldView']['reset'](),this['_viewConfig']['showResetButton']&&this['resetButtonView']&&(this['resetButtonView']['isVisible']=!0x1),this['search']('');}['search'](_0x52c0c4){this['fire']('search',_0x52c0c4);}['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'](_0x456bbf,t){this['resetButtonView']=new ckeditor5['ButtonView'](_0x456bbf),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',_0x2a6601=>!_0x2a6601),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'];['_resourcesListView'];['_skeletonLoader'];['_source'];['children'];['_latestLoadResourcesUid']=null;constructor(_0xf35e63,_0x254d2d){super(_0xf35e63),this['_source']=_0x254d2d,this['set']('isLoading',!0x0),this['_searchView']=this['_createSearchView']();const _0x426ac4=this['_createSearchSection']();this['_resourcesListView']=this['_createResourcesListView'](),this['_skeletonLoader']=this['_createSkeletonView'](),this['children']=new ckeditor5['ViewCollection']([_0x426ac4,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 _0x2c358c=new ckeditor5['View'](this['locale']);return _0x2c358c['setTemplate']({'tag':'div','attributes':{'class':'ck\x20ck-search'},'children':[this['_searchView']]}),this['_searchView']['on']('search',(_0x1022aa,_0x5a3f42)=>{this['loadResources'](_0x5a3f42),this['_source']['useDefaultFiltering']&&this['_resourcesListView']['highlightText'](_0x5a3f42);}),_0x2c358c;}['_createResourcesListView'](){const _0x509067=new AIChatContextResourcesListView(this['locale'],this['_source']);return _0x509067['delegate']('addResourceToContext')['to'](this),_0x509067['extendTemplate']({'attributes':{'class':this['bindTemplate']['if']('isLoading','ck-hidden')}}),_0x509067;}['_createSkeletonView'](){const _0x19e33a=new AISkeletonView(this['locale'],_0x124b88['aiChatResources']);return _0x19e33a['extendTemplate']({'attributes':{'class':[this['bindTemplate']['if']('isLoading','ck-hidden',_0x112a02=>!_0x112a02)]}}),_0x19e33a;}['render'](){super['render'](),this['loadResources']('');}['loadResources'](_0x2bf9ab){const _0x2c3cc6=ckeditor5['uid']();this['_latestLoadResourcesUid']=_0x2c3cc6,this['fire']('loadSourceResources',{'sourceId':this['_source']['id'],'query':_0x2bf9ab,'uid':_0x2c3cc6}),this['isLoading']=!0x0;}['setResources'](_0x5c3cde,_0x79e920){if(_0x79e920&&_0x79e920!==this['_latestLoadResourcesUid'])return;const _0x49d44a=this['_source']['useDefaultFiltering']?this['_searchView']['getQuery']():'';this['_resourcesListView']['setResources'](_0x5c3cde,_0x49d44a),requestAnimationFrame(()=>{this['isLoading']=!0x1;});}['updateResourceState'](_0xa8d3d5,_0x355d76){this['_resourcesListView']['updateResourceState'](_0xa8d3d5,_0x355d76);}}const _0x293085={'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'},_0x16ff71='n';class AIChatResourcesBalloonView{['_sourceResourceBalloons']=new Map();['_bodyCollection'];['_locale'];['_config'];constructor(_0x1b1d27,_0x42166c,_0x4b9dc3){this['_locale']=_0x1b1d27,this['_bodyCollection']=_0x42166c,this['_config']=_0x4b9dc3;}['showSourceResourcesBalloon'](_0x4f7175){let _0x1dff40=this['_sourceResourceBalloons']['get'](_0x4f7175['id']);_0x1dff40||(_0x1dff40=this['_createSourceResourceBalloonPanel'](),this['_sourceResourceBalloons']['set'](_0x4f7175['id'],_0x1dff40),this['_setupSingleResourceBalloonClickOutsideHandler'](_0x1dff40)),this['_addSourceResourceContent'](_0x1dff40,_0x4f7175),_0x1dff40['show']();const _0x3944bf=this['_config']['getTargetElement']();_0x3944bf&&_0x1dff40['pin']({'target':_0x3944bf,'limiter':this['_config']['getLimiterElement']()});}['populateSourceResourceBalloon'](_0x5e3cc9,_0x4598f4,_0x1120f4){const _0x4951c9=this['_sourceResourceBalloons']['get'](_0x5e3cc9);if(!_0x4951c9)return;const _0xca0f22=this['_getResourcesViewFromBalloon'](_0x4951c9);_0xca0f22&&_0xca0f22['setResources'](_0x4598f4,_0x1120f4);}['closeSourceResourceBalloon'](_0x144c4d){const _0x284ae0=this['_sourceResourceBalloons']['get'](_0x144c4d);_0x284ae0&&requestAnimationFrame(()=>{_0x284ae0['hide'](),this['_sourceResourceBalloons']['delete'](_0x144c4d),this['_config']['onBalloonClosed']();});}['isAnyResourceBalloonVisible'](){for(const _0x1a6b04 of this['_sourceResourceBalloons']['values']())if(_0x1a6b04['isVisible'])return!0x0;return!0x1;}['updateResourceState'](_0x521b51,_0x15d2f8,_0x363255){const _0x24d695=this['_sourceResourceBalloons']['get'](_0x521b51);if(!_0x24d695||!_0x24d695['isVisible'])return;const _0x3e2f91=this['_config']['getTargetElement']();if(!_0x3e2f91)return;_0x24d695['pin']({'target':_0x3e2f91,'limiter':this['_config']['getLimiterElement']()});const _0x3aeb01=this['_getResourcesViewFromBalloon'](_0x24d695);_0x3aeb01&&_0x3aeb01['updateResourceState'](_0x15d2f8,_0x363255);}['destroy'](){for(const _0x560237 of this['_sourceResourceBalloons']['values']())_0x560237['destroy']();this['_sourceResourceBalloons']['clear']();}['_createSourceResourceBalloonPanel'](){const _0x59d09c=new ckeditor5['BalloonPanelView'](this['_locale']);return _0x59d09c['extendTemplate']({'attributes':{'class':_0x293085['SOURCE_BALLOON_PANEL']}}),this['_bodyCollection']['add'](_0x59d09c),_0x59d09c;}['_addSourceResourceContent'](_0x43c124,_0x58fcdd){_0x43c124['content']['clear']();const _0x16f7fb=this['_createBalloonHeader'](_0x43c124,_0x58fcdd);_0x43c124['content']['add'](_0x16f7fb);const _0x229511=this['_createBalloonResourcesView'](_0x58fcdd);_0x43c124['content']['add'](_0x229511);}['_createBalloonHeader'](_0x592565,_0x4b98c9){const _0xbb658e=this['_createBackButton'](_0x592565),_0x4b32e9=new ckeditor5['FormHeaderView'](this['_locale'],{'label':_0x4b98c9['label'],'class':_0x293085['SOURCE_HEADER']});return _0x4b32e9['children']['add'](_0xbb658e,0x0),_0x4b32e9;}['_createBackButton'](_0x1fe5d0){const _0xe4cd3a=new ckeditor5['ButtonView'](this['_locale']);return _0xe4cd3a['set']({'icon':ckeditor5['IconPreviousArrow'],'tooltip':getTranslation$i(this['_locale'],'AI_CHAT_CONTEXT_URL_BACK_TO_CONTEXT'),'tooltipPosition':_0x16ff71,'class':_0x293085['SOURCE_BACK_BUTTON']}),_0xe4cd3a['on']('execute',()=>{_0x1fe5d0['hide'](),this['_config']['onBackToContext']();}),_0xe4cd3a;}['_createBalloonResourcesView'](_0x32023e){const _0x3cdd26=new AIChatContextResourcesView(this['_locale'],_0x32023e);return _0x3cdd26['on']('loadSourceResources',(_0xed595a,_0x118c39)=>{this['_config']['onLoadSourceResources'](_0x118c39);}),_0x3cdd26['on']('addResourceToContext',(_0x2a0c1d,_0x105d5b)=>{this['_config']['onResourceSelected'](_0x105d5b['source'],_0x105d5b['resource']),this['closeSourceResourceBalloon'](_0x32023e['id']);}),_0x3cdd26;}['_getResourcesViewFromBalloon'](_0x69faee){const _0x5645eb=_0x69faee['content']['get'](0x1);return _0x5645eb instanceof AIChatContextResourcesView?_0x5645eb:null;}['_setupSingleResourceBalloonClickOutsideHandler'](_0x59d57a){ckeditor5['clickOutsideHandler']({'emitter':_0x59d57a,'contextElements':[_0x59d57a['element']],'callback':()=>{_0x59d57a['hide'](),this['_config']['onBalloonClosed']();},'activator':()=>_0x59d57a['isVisible']});}}const _0x2ff610=['addDocumentToContext','addFileToContext','addUrlToContext','addResourceToContext','removeContextItem','loadSourceResources'],_0x2cf461={'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'},_0xc6e2c9='sw',_0x2530a4=[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'];['bodyCollection'];constructor(_0x423364,_0x48bfcf){super(_0x423364),this['bodyCollection']=_0x48bfcf,this['_currentContextsChips']=this['createCollection'](),this['_conversationContextsChips']=this['createCollection'](),this['addContextButtonView']=this['_createAddContextButtonView'](_0x423364),this['_addContextBalloonPanelView']=this['_createAddContextBalloonPanelView'](_0x423364),this['_urlBalloonPanelView']=this['_createUrlBalloonPanelView'](_0x423364),this['_resourcesBalloonView']=this['_createResourcesBalloonView'](_0x423364,_0x48bfcf);const _0x2990ba={'cssClasses':{'showMoreButton':_0x2cf461['SHOW_MORE_BUTTON'],'showMoreBalloon':_0x2cf461['SHOW_MORE_BALLOON'],'overflowContainer':_0x2cf461['CONVERSATION_CONTEXT_CHIPS'],'controlsButton':_0x2cf461['CONTROLS_BUTTON']}};this['_overflowManager']=new AIChatChipsOverflowManager(_0x423364,this['_currentContextsChips'],_0x2990ba,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'](_0x52e5b6,_0x3c1cf1){const _0x254afc=this['_createContextButton'](_0x52e5b6,'current',!0x0,_0x3c1cf1);this['_addContextToCollection'](_0x254afc,this['_currentContextsChips']),this['_overflowManager']['reorganizeChips']();}['removeContextItem'](_0x3d53d2){this['_removeContextFromCollection'](_0x3d53d2,this['_currentContextsChips']),this['_removeContextFromCollection'](_0x3d53d2,this['_overflowManager']['overflowChips']),this['_overflowManager']['reorganizeChips']();}['setContextItemLoading'](_0x207954,_0x1a82f5){let _0x45a569=this['_currentContextsChips']['find'](_0x287af3=>_0x287af3['id']===_0x207954);_0x45a569||(_0x45a569=this['_overflowManager']['overflowChips']['find'](_0x551467=>_0x551467['id']===_0x207954)),_0x45a569&&(_0x45a569['isLoading']=_0x1a82f5);}['setConversationContext'](_0x17027d){this['_conversationContextsChips']['clear']();for(const _0x5ba1e8 of _0x17027d){const _0x5d96fb=this['_createContextButton'](_0x5ba1e8,'conversation',!0x1,!0x1);this['_addContextToCollection'](_0x5d96fb,this['_conversationContextsChips']);}}['clearCurrentContextItems'](){this['_currentContextsChips']['clear'](),this['_overflowManager']['clear']();}['clearConversationContextItems'](){this['_conversationContextsChips']['clear']();}['updateResourceState'](_0x484df3,_0x104887,_0x4c7707){this['_resourcesBalloonView']['updateResourceState'](_0x484df3,_0x104887,_0x4c7707);}['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'](_0x4ef5bc){this['_resourcesBalloonView']['showSourceResourcesBalloon'](_0x4ef5bc),this['addContextButtonView']['isOn']=!0x0;}['populateSourceResourceBalloon'](_0x2e303c,_0x1f0ab0,_0x5e82d6,_0x5572c1){this['_resourcesBalloonView']['populateSourceResourceBalloon'](_0x2e303c,_0x5e82d6,_0x5572c1);}['closeSourceResourceBalloon'](_0x12e1a4){this['_resourcesBalloonView']['closeSourceResourceBalloon'](_0x12e1a4),this['addContextButtonView']['isOn']=!0x1;}['setAddContextOptions'](_0x3a8845){this['_setBalloonPanelContent'](this['_addContextBalloonPanelView'],this['locale'],_0x3a8845),this['_setAddContextButtonEnabled'](_0x3a8845);}['_setAddContextButtonEnabled'](_0x1a1803){const _0x2990a1=!_0x1a1803['document']['isHidden']&&_0x1a1803['document']['enabled'],_0x345c9a=_0x1a1803['urls']['enabled'],_0x3f8722=_0x1a1803['files']['enabled'];this['addContextButtonView']['isEnabled']=_0x2990a1||_0x345c9a||_0x3f8722;}['_setupTemplate'](){this['setTemplate']({'tag':'div','attributes':{'class':[_0x2cf461['CONTEXT_CONTROLS'],'ck-reset_all-excluded']},'children':[{'tag':'div','attributes':{'class':_0x2cf461['PENDING_CONTEXTS']},'children':this['_currentContextsChips']}]});}['_bindEventHandlers'](){this['addContextButtonView']['on']('execute',()=>{this['_handleAddContextButtonClick']();});}['_createAddContextButtonView'](_0xfb45b8){const _0x442853=new ckeditor5['ButtonView'](_0xfb45b8);return _0x442853['set']({'label':getTranslation$i(_0xfb45b8,'AI_CHAT_CONTEXT_ADD_CONTEXT'),'class':_0x2cf461['CONTROLS_BUTTON']+'\x20'+_0x2cf461['ADD_CONTEXT_BUTTON'],'icon':ckeditor5['IconPaperClip'],'isToggleable':!0x0,'tooltip':!0x0,'tooltipPosition':_0xc6e2c9}),_0x442853;}['_createAddContextBalloonPanelView'](_0x29acc4){return this['_createBaseBalloonPanel'](_0x29acc4,_0x2cf461['ADD_CONTEXT_BALLOON']);}['_createUrlBalloonPanelView'](_0xc91146){const _0x11671d=this['_createBaseBalloonPanel'](_0xc91146,_0x2cf461['URL_BALLOON']);return this['_addUrlContent'](_0x11671d,_0xc91146),_0x11671d;}['_createResourcesBalloonView'](_0x4816a3,_0x5ed01d){const _0xa92950={'onBackToContext':()=>{this['showAddContextBalloonPanel'](),this['_addContextBalloonPanelView']['pin']({'target':this['addContextButtonView']['element'],'limiter':this['_getLimiterElement'](),'positions':_0x2530a4});},'onResourceSelected':(_0xc94ab6,_0x4ca9e4)=>{this['fire']('addResourceToContext',{'source':_0xc94ab6,'resource':_0x4ca9e4});},'onLoadSourceResources':_0x432654=>{this['fire']('loadSourceResources',_0x432654);},'onBalloonClosed':()=>{this['addContextButtonView']['isOn']=!0x1;},'getLimiterElement':()=>this['_getLimiterElement'](),'getTargetElement':()=>this['addContextButtonView']['element']};return new AIChatResourcesBalloonView(_0x4816a3,_0x5ed01d,_0xa92950);}['_getLimiterElement'](){return this['element']?.['closest']('.'+_0x2cf461['CHAT_CONTAINER'])||document['body'];}['_createBaseBalloonPanel'](_0x5c8711,_0x375a96){const _0x1a251a=new ckeditor5['BalloonPanelView'](_0x5c8711);return _0x1a251a['extendTemplate']({'attributes':{'class':_0x375a96}}),this['bodyCollection']['add'](_0x1a251a),_0x1a251a;}['_setBalloonPanelContent'](_0x35682a,_0x5f360d,_0xd08eb){if(_0x35682a['content']['clear'](),!_0xd08eb['document']['isHidden']&&_0xd08eb['document']['enabled']){const _0x2c3a06=this['_createBalloonButton'](_0x5f360d,{'label':getTranslation$i(_0x5f360d,'AI_CHAT_CONTEXT_CURRENT_DOCUMENT'),'icon':ckeditor5['IconDocument']});_0x2c3a06['on']('execute',()=>{this['fire']('addDocumentToContext'),this['hideAddContextBalloonPanel']();}),_0x35682a['content']['add'](_0x2c3a06);}if(_0xd08eb['urls']['enabled']){const _0x561d91=this['_createBalloonButton'](_0x5f360d,{'label':getTranslation$i(_0x5f360d,'AI_CHAT_CONTEXT_URL_LABEL'),'icon':ckeditor5['IconLink']});_0x561d91['on']('execute',()=>{this['hideAddContextBalloonPanel'](),this['showUrlBalloonPanel'](),this['_urlBalloonPanelView']['pin']({'target':this['addContextButtonView']['element'],'limiter':this['_getLimiterElement'](),'positions':_0x2530a4}),this['_urlInputView']['focus']();}),_0x35682a['content']['add'](_0x561d91);}if(_0xd08eb['files']['enabled']){const _0x4472e8=new ckeditor5['FileDialogButtonView'](_0x5f360d);_0x4472e8['set']({'label':getTranslation$i(_0x5f360d,'AI_CHAT_CONTEXT_FILE_LABEL'),'icon':ckeditor5['IconBrowseFiles'],'withText':!0x0,'tooltip':!0x0,'class':_0x2cf461['BALLOON_BUTTON'],'allowMultipleFiles':!0x0}),_0x4472e8['on']('done',(_0x1470b3,_0x5d08af)=>{this['fire']('addFileToContext',_0x5d08af),this['hideAddContextBalloonPanel']();}),_0x4472e8['tooltip']=!0x0,_0x35682a['content']['add'](_0x4472e8);}for(const _0x3b3cd5 of _0xd08eb['sources']){const _0x5b3baa=this['_createBalloonButton'](_0x5f360d,{'label':_0x3b3cd5['label'],'icon':_0x3b3cd5['icon']||ckeditor5['IconDocumentOutline'],'type':'source'});_0x35682a['content']['add'](_0x5b3baa),_0x5b3baa['on']('execute',()=>{this['hideAddContextBalloonPanel'](),this['_showSourceResourcesBalloon'](_0x3b3cd5);});}}['_addUrlContent'](_0x3692d4,_0x32129f){this['_urlInputView']=new AIChatContextPanelUrlInputView(_0x32129f),this['_urlInputView']['on']('submitUrl',(_0x5a141a,_0x1dc0bd)=>{this['_handleUrlSubmit'](_0x1dc0bd);}),this['_urlInputView']['on']('cancel',()=>{this['hideUrlBalloonPanel'](),this['showAddContextBalloonPanel'](),this['_addContextBalloonPanelView']['pin']({'target':this['addContextButtonView']['element'],'limiter':this['_getLimiterElement'](),'positions':_0x2530a4});}),this['_urlInputView']['on']('refreshBalloon',()=>{this['_urlBalloonPanelView']['isVisible']&&this['_urlBalloonPanelView']['pin']({'target':this['addContextButtonView']['element'],'limiter':this['_getLimiterElement'](),'positions':_0x2530a4});}),_0x3692d4['content']['add'](this['_urlInputView']);}['_createBalloonButton'](_0x2a5ba2,_0x55b501){const _0xba9d91='source'===_0x55b501['type']?new SourcesBalloonButtonView(_0x2a5ba2):new ckeditor5['ButtonView'](_0x2a5ba2);return _0xba9d91['set']({'label':_0x55b501['label'],'icon':_0x55b501['icon'],'withText':!0x0,'tooltip':!0x0,'tooltipPosition':_0xc6e2c9,'class':_0x2cf461['BALLOON_BUTTON']}),_0xba9d91;}['_setupAllBalloonClickOutsideHandlers'](){this['_setupAddContextBalloonClickOutsideHandler'](),this['_setupUrlBalloonClickOutsideHandler']();}['_setupUrlBalloonClickOutsideHandler'](){ckeditor5['clickOutsideHandler']({'emitter':this['_urlBalloonPanelView'],'contextElements':[this['_urlBalloonPanelView']['element']],'callback':()=>{this['hideUrlBalloonPanel']();},'activator':()=>this['_urlBalloonPanelView']['isVisible']});}['_toggleAddContextBalloon'](_0x482c2d){const _0x14f6b5=this['_addContextBalloonConfig'];_0x14f6b5['buttonView']['isOn']=_0x482c2d,_0x482c2d?_0x14f6b5['balloonView']['show']():_0x14f6b5['balloonView']['hide']();}['_setupAddContextBalloonClickOutsideHandler'](){const {balloonView:_0x3f8c10,buttonView:_0x57bb5a,hideMethod:_0x519faf}=this['_addContextBalloonConfig'];ckeditor5['clickOutsideHandler']({'emitter':_0x3f8c10,'contextElements':[_0x3f8c10['element'],_0x57bb5a['element']],'callback':()=>{_0x519faf();},'activator':()=>_0x57bb5a['isOn']&&!this['_urlBalloonPanelView']['isVisible']&&!this['_resourcesBalloonView']['isAnyResourceBalloonVisible']()});}['_createContextButton'](_0x283ed1,_0x35ec7b,_0x38aa76=!0x1,_0x46574d=!0x1){const _0x1f33da='conversation'===_0x35ec7b||!0x0===_0x283ed1['isReadOnly'],_0x1cf00d=new AIChatContextItemButtonView(this['locale'],_0x283ed1,_0x1f33da,_0x38aa76,_0x46574d);return _0x1f33da||_0x1cf00d['on']('removeContextItemChip',()=>{this['fire']('removeContextItem',_0x1cf00d['id']);}),_0x1cf00d;}['_addContextToCollection'](_0xe81fde,_0x36235a){_0x36235a['add'](_0xe81fde,0x0);}['_removeContextFromCollection'](_0x246a0b,_0x4421dd){const _0x15e3cc=_0x4421dd['find'](_0x4abcf9=>_0x4abcf9['id']===_0x246a0b);_0x15e3cc&&_0x4421dd['remove'](_0x15e3cc);}['_handleAddContextButtonClick'](){this['addContextButtonView']['isOn']?this['hideAddContextBalloonPanel']():(this['showAddContextBalloonPanel'](),this['_addContextBalloonPanelView']['pin']({'target':this['addContextButtonView']['element'],'limiter':this['_getLimiterElement'](),'positions':_0x2530a4}));}['_handleUrlSubmit'](_0x2d0249){this['_urlInputView']['clear'](),this['hideUrlBalloonPanel'](),this['fire']('addUrlToContext',_0x2d0249);}}class SourcesBalloonButtonView extends ckeditor5['ButtonView']{['arrowView'];constructor(_0x50e18c){super(_0x50e18c),this['set']({'withText':!0x0,'role':'menuitem'}),this['arrowView']=this['_createArrowView'](),this['extendTemplate']({'attributes':{'class':[_0x2cf461['BALLOON_BUTTON_SOURCE']]}});}['render'](){super['render'](),this['children']['add'](this['arrowView']);}['_createArrowView'](){const _0x290b83=new ckeditor5['IconView']();return _0x290b83['content']=ckeditor5['IconDropdownArrow'],_0x290b83['extendTemplate']({'attributes':{'class':_0x2cf461['BALLOON_BUTTON_SOURCE']+'__arrow'}}),_0x290b83;}}class AIChatControlsLoaderView extends ckeditor5['View']{['_cancelButtonView'];['_loaderView'];constructor(_0x2299f6){super(_0x2299f6),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 _0x458e13=new ckeditor5['ButtonView'](this['locale']);return _0x458e13['set']({'label':getTranslation$i(this['locale'],'AI_CHAT_STOP_GENERATING'),'withText':!0x0,'class':'ai-chat-controls-loader__cancel-button','icon':ckeditor5['IconStop']}),_0x458e13['on']('execute',()=>{this['fire']('abortPromptStream');}),_0x458e13;}['_createLoaderView'](){const _0x479c2b=new ckeditor5['View'](this['locale']);return _0x479c2b['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')}]}),_0x479c2b;}}class AIChatControlsView extends ckeditor5['View']{['_displayedModels']=[];['_contextPanelView'];['_promptInputView'];['_promptCapabilitiesView'];['_loaderView'];['_modelUnavailableMessageView'];['_shouldRestorePromptInputFocus'];constructor(_0xa6e00e,_0x8de6b6){super(_0xa6e00e),this['_contextPanelView']=this['_createContextPanelView'](_0xa6e00e,_0x8de6b6),this['_promptInputView']=this['_createPromptInputView'](_0xa6e00e),this['_promptCapabilitiesView']=this['_createPromptCapabilitiesView'](_0xa6e00e),this['_loaderView']=this['_createLoaderView'](_0xa6e00e),this['_modelUnavailableMessageView']=this['_createModelUnavailableMessageView'](_0xa6e00e),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'](..._0x2ff610)['to'](this),this['set']('isModelAvailable',!0x0),this['set']('isDisabled',!0x1);const _0x27a830=this['bindTemplate'];this['setTemplate']({'tag':'form','attributes':{'class':['ck','ck-ai-chat-controls',_0x27a830['if']('isDisabled','ck-ai-chat-controls-disabled')]},'children':[{'tag':'div','attributes':{'class':[_0x27a830['if']('isLoading','ck-hidden',_0x4a1c12=>_0x4a1c12||!this['isModelAvailable']),_0x27a830['if']('isModelAvailable','ck-hidden',_0x47618a=>!_0x47618a||this['isLoading'])]},'children':[this['_contextPanelView'],this['_promptInputView'],this['_promptCapabilitiesView']]},{'tag':'div','attributes':{'class':[_0x27a830['if']('isLoading','ck-hidden',_0xabb67e=>!_0xabb67e)]},'children':[this['_loaderView']]},{'tag':'div','attributes':{'class':[_0x27a830['if']('isModelAvailable','ck-hidden',_0x2d52e6=>_0x2d52e6)]},'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'](_0x1c41ac,_0x48fc4d){return new AIChatContextPanelView(_0x1c41ac,_0x48fc4d);}['_createPromptInputView'](_0x4bf968){return new AIChatPromptInputView(_0x4bf968,this['_contextPanelView']['addContextButtonView']);}['_createPromptCapabilitiesView'](_0x53ae25){return new AIChatPromptCapabilitiesView(_0x53ae25);}['_createLoaderView'](_0x5107b8){return new AIChatControlsLoaderView(_0x5107b8);}['_createModelUnavailableMessageView'](_0x58851a){const _0x30486f=new AIChatModelUnavailableMessageView(_0x58851a);return _0x30486f['delegate']('startConversation')['to'](this),_0x30486f;}['_handlePromptInputFocus'](_0x5e5c22,_0x44f222,_0x263d4f){_0x263d4f?this['_shouldRestorePromptInputFocus']=!0x0:this['_shouldRestorePromptInputFocus']&&this['_promptInputView']['focus']();}['addContextItem'](_0xeb1c29,_0x381f19){this['_contextPanelView']['addContextItem'](_0xeb1c29,_0x381f19);}['removeContextItem'](_0x1c347f){this['_contextPanelView']['removeContextItem'](_0x1c347f);}['setContextItemLoading'](_0x20a4e2,_0x116bc6){this['_contextPanelView']['setContextItemLoading'](_0x20a4e2,_0x116bc6);}['setIsUploadInProgress'](_0x3ec9b4){this['_promptInputView']['setIsUploadInProgress'](_0x3ec9b4);}['setConversationContext'](_0x583255){this['_contextPanelView']['setConversationContext'](_0x583255);}['clearPendingContextUI'](){this['_contextPanelView']['clearCurrentContextItems']();}['clearConversationContextUI'](){this['_contextPanelView']['clearConversationContextItems']();}['updateResourceState'](_0x52a547,_0x58665e,_0x3ac562){this['_contextPanelView']['updateResourceState'](_0x52a547,_0x58665e,_0x3ac562);}['setWebSearch'](_0x36c5ca){this['_promptCapabilitiesView']['setWebSearch'](_0x36c5ca);}['setReasoning'](_0x1dd7ac){this['_promptCapabilitiesView']['setReasoning'](_0x1dd7ac);}['resetMessageInput'](){this['_promptInputView']['reset']();}['setAddContextOptions'](_0x2e49cf){this['_contextPanelView']['setAddContextOptions'](_0x2e49cf);}['setInputPlaceholder'](_0x17dd23){this['_promptInputView']['setPlaceholderText'](_0x17dd23);}['setModelList'](_0x171043,_0x1abae3){this['_displayedModels']=_0x171043,this['_promptCapabilitiesView']['setModelList'](_0x171043,_0x1abae3);}['setModel'](_0x8be380){const _0x268128=_0x8be380?this['_displayedModels']['find'](_0x3fa959=>_0x3fa959['id']===_0x8be380['id']):null;_0x268128?(this['isModelAvailable']=!0x0,this['_promptCapabilitiesView']['setModel'](_0x8be380)):_0x8be380?.['id']['startsWith']('agent')?(this['isModelAvailable']=!0x0,this['_promptCapabilitiesView']['setModel'](this['_displayedModels'][0x0])):this['isModelAvailable']=!0x1;}['enableModelSelector'](){this['_promptCapabilitiesView']['enableModelSelector']();}['disableModelSelector'](_0xa05f50){this['_promptCapabilitiesView']['disableModelSelector'](_0xa05f50);}['populateSourceResourceBalloon'](_0xc2efbe,_0x474a0e,_0x577f48,_0x515e03){this['_contextPanelView']['populateSourceResourceBalloon'](_0xc2efbe,_0x474a0e,_0x577f48,_0x515e03);}['closeSourceResourceBalloon'](_0x4b69b0){this['_contextPanelView']['closeSourceResourceBalloon'](_0x4b69b0);}['focusPromptInput'](){this['_promptInputView']['focus']();}}class AIChatModelUnavailableMessageView extends ckeditor5['View']{constructor(_0x1b17e6){super(_0x1b17e6);const _0x380aa3=new ckeditor5['ButtonView'](_0x1b17e6);_0x380aa3['set']({'label':getTranslation$i(this['locale'],'AI_CHAT_MODEL_UNAVAILABLE_MESSAGE_BUTTON'),'withText':!0x0,'class':['ck-ai-chat-controls__start-new-chat-button'],'tooltip':''}),_0x380aa3['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'},_0x380aa3]}]});}}class AIChatHeaderView extends ckeditor5['FormHeaderView']{['conversationStartButton'];['resizeButton'];constructor(_0x55828e,_0xfa3b7a){super(_0x55828e,{'label':getTranslation$i(_0x55828e,'AI_CHAT_HEADING'),'class':'ck-ai-header\x20ck-ai-header_chat','icon':ckeditor5['IconAIChat']}),this['set']('isMaximized',!0x1),this['conversationStartButton']=this['_createStartConversationButton'](_0x55828e),this['children']['add'](this['conversationStartButton']),_0xfa3b7a&&(this['resizeButton']=createResizeButton(_0x55828e,this),this['children']['add'](this['resizeButton']));}['_createStartConversationButton'](_0x73293b){const _0xe9f102=new ckeditor5['ButtonView'](_0x73293b);return _0xe9f102['set']({'label':getTranslation$i(this['locale'],'AI_CHAT_LABEL_NEW_CHAT'),'withText':!0x0,'icon':ckeditor5['IconPlus'],'class':'ck-ai-chat__start-conversation'}),_0xe9f102['on']('execute',()=>{this['fire']('startConversation');}),_0xe9f102;}}class _0x1d1ab4 extends ckeditor5['View']{constructor(_0x173bc5){super(_0x173bc5),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-disclaimer']},'children':[{'tag':'p','attributes':{'class':['ck','ck-ai-disclaimer__content']},'children':[{'text':getTranslation$i(_0x173bc5,'AI_DISCLAIMER_TEXT')}]}]});}}class AIChatView extends ckeditor5['View']{['chatHeader'];['chatFeed'];['chatControls'];['chatDisclaimer'];['_bodyCollection'];constructor(_0x3e619b,_0x484943){super(_0x3e619b),this['_bodyCollection']=new ckeditor5['BodyCollection'](_0x3e619b),this['_bodyCollection']['attachToDom'](),this['chatHeader']=new AIChatHeaderView(_0x3e619b,_0x484943),this['chatHeader']['delegate'](..._0x2abc65)['to'](this),this['chatFeed']=new AIChatFeedView(_0x3e619b,this['_bodyCollection']),this['chatFeed']['delegate'](..._0x2abc65)['to'](this),this['chatControls']=new AIChatControlsView(_0x3e619b,this['_bodyCollection']),this['chatControls']['delegate'](..._0x2abc65)['to'](this),this['chatDisclaimer']=new _0x1d1ab4(_0x3e619b),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all','ck-ai-chat','ck-rounded-corners'],'dir':_0x3e619b['uiLanguageDirection']},'children':[this['chatHeader'],this['chatFeed'],this['chatControls'],this['chatDisclaimer']]});}['populateSourceResourceBalloon'](_0x1f3499,_0x29c272,_0x2ee303,_0x365707){this['chatControls']['populateSourceResourceBalloon'](_0x1f3499,_0x29c272,_0x2ee303,_0x365707);}['closeSourceResourceBalloon'](_0x158662){this['chatControls']['closeSourceResourceBalloon'](_0x158662);}['destroy'](){this['_bodyCollection']['detachFromDom'](),super['destroy']();}}const _0x45b134=0x1e;class AIChatUI extends ckeditor5['ContextPlugin']{static get['requires'](){return[_0x564b61];}['_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(_0x480b24){super(_0x480b24);const _0x580e6f=this['context']['plugins']['get']('AITabs');this['set']('isBusy',!0x1),this['_promiseQueue']=new _0x209e4e(),this['_view']=new AIChatView(this['context']['locale'],_0x580e6f['showResizeButton']),this['_view']['delegate'](..._0x2abc65)['to'](this),this['_view']['on']('toggleSuggestionDisplayMode',(_0x3d4c79,{showDiff:_0x4f583c})=>{this['showDiff']=_0x4f583c;}),_0x580e6f['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',_0x331a91=>_0x331a91),this['_view']['chatFeed']['bind']('isPending')['to'](this,'isBusy',_0x471309=>_0x471309),this['_view']['chatControls']['setInputPlaceholder'](this['_getInputPlaceholder']()),this['bind']('isModelAvailable')['to'](this['_view']['chatControls'],'isModelAvailable');}['destroy'](){super['destroy'](),this['_titleAnimationInterval']&&clearInterval(this['_titleAnimationInterval']);}['createConversation'](_0x49fd26){this['_view']['chatFeed']['clear'](),this['_view']['chatControls']['enableModelSelector'](),this['_view']['chatControls']['setModelList'](_0x49fd26['availableModels'],!this['context']['config']['get']('ai.chat.models.modelSelectorAlwaysVisible')),this['addFeedItemStaticMessage']({'id':'conversation-start','staticMessage':getTranslation$i(this['context']['locale'],'AI_CHAT_WELCOME_MESSAGE')});}['addFeedItemStaticMessage']({id:_0x4432ff,staticMessage:_0x3726ee}){this['_view']['chatFeed']['addItem']('ai-reply',{'id':_0x4432ff,'initialContent':'<p>'+_0x3726ee+'</p>'});}['addFeedItemUserMessage'](_0x31b656){const _0x1d777=_0x31b656['quickActionData']?.['displayedPrompt']||_0x31b656['userMessage'];this['_view']['chatFeed']['addItem']('user-message',{'contextItems':Array['from'](_0x31b656['contextItems']['values']()),'initialContent':'<p>'+_0x1d777+'</p>','id':_0x31b656['id']});}['addFeedItemError']({errorMessage:_0x37a478,id:_0x2a25b0}){this['_view']['chatFeed']['addItem']('error-message',{'initialContent':'<p>'+_0x37a478+'</p>','id':_0x2a25b0});}['addFeedItemAIReply'](_0x493019){return this['_promiseQueue']['enqueue'](async()=>{this['_view']['chatFeed']['addItem']('ai-reply',{'id':_0x493019['interactionId']+':'+_0x493019['id']}),this['setLoadingMessage'](null);});}async['addFeedItemAISuggestion'](_0xaf81a2){const _0x5370fb=getEditorFromContext(this['context']);if(_0x5370fb){const _0x21d4c2=_0x5370fb['commands']['get']('trackChanges');_0x21d4c2&&!this['_isTrackChangesCommandValueBound']&&(this['_isTrackChangesCommandValueBound']=!0x0,this['_view']['chatFeed']['bind']('isTrackChangesOn')['to'](_0x21d4c2,'value'));}return this['_promiseQueue']['enqueue'](async()=>{this['_view']['chatFeed']['addItem']('ai-suggestion-reply',{'id':_0xaf81a2['interactionId']+':'+_0xaf81a2['id'],'areActionsDisabled':_0xaf81a2['areActionsDisabled'],'showDiff':this['showDiff'],'dropdownConfig':this['context']['config']['get']('ai.availableReplyActions')}),this['setLoadingMessage'](null);});}['addFeedInteractionHeader'](_0x479a32,_0x2f9b34){const _0x5e8893=this['_view']['chatFeed']['children']['last'];if(_0x5e8893 instanceof AIChatFeedInteractionHeaderView)return this['_view']['chatFeed']['children']['remove'](_0x5e8893),void this['_view']['chatFeed']['addItem']('interaction-header',{'id':_0x479a32['id'],'capabilities':{'isWebSearchEnabled':_0x5e8893['capabilities']['isWebSearchEnabled']||_0x2f9b34['isWebSearchEnabled'],'isReasoningEnabled':_0x5e8893['capabilities']['isReasoningEnabled']||_0x2f9b34['isReasoningEnabled']}});this['_view']['chatFeed']['addItem']('interaction-header',{'id':_0x479a32['id'],'capabilities':_0x2f9b34});}['updateFeedInteractionHeader'](_0x2fd39a){const _0x5592bb=this['_view']['chatFeed']['children']['find'](_0x44ad40=>_0x44ad40['options']['id']==_0x2fd39a['id']&&_0x44ad40 instanceof AIChatFeedInteractionHeaderView);_0x5592bb&&_0x5592bb['set']('isVisible',_0x2fd39a['isVisible']);}async['updateFeedItemAIReplyContent'](_0x1493b8){const _0x51d091=_0x1493b8['renderingStrategy']||this['feedItemRenderingStrategy'];return this['_promiseQueue']['enqueue'](async _0x310fca=>{await this['_view']['chatFeed']['updateReplyItem']({..._0x1493b8,'abortSignal':_0x310fca,'renderingStrategy':_0x51d091}),_0x1493b8['isDone']&&this['markFeedItemAsDone'](_0x1493b8['id']);});}['updateFeedItemAIReplySources'](_0x421f2e,_0x18c77f){this['_view']['chatFeed']['updateWebSources'](_0x421f2e,_0x18c77f);}async['updateFeedItemAIReplySuggestionContent'](_0x48a882){const _0xbd7631=_0x48a882['renderingStrategy']||this['feedItemRenderingStrategy'];return this['_promiseQueue']['enqueue'](async _0x2eff30=>{await this['_view']['chatFeed']['updateSuggestionItem']({..._0x48a882,'abortSignal':_0x2eff30,'renderingStrategy':_0xbd7631}),_0x48a882['isDone']&&this['markFeedItemAsDone'](_0x48a882['id']);});}['updateFeedItemAIReplySuggestionPartState'](_0x51dfbc){this['_view']['chatFeed']['updateSuggestionPartState'](_0x51dfbc);}['markFeedItemAsDone'](_0x43e951){this['_view']['chatFeed']['markItemAsDone'](_0x43e951);}['removeFeedInteraction'](_0x39d504){this['_view']['chatFeed']['getItemIds']()['filter'](_0x1a038f=>_0x1a038f['startsWith'](_0x39d504))['forEach'](_0x118d43=>this['_view']['chatFeed']['removeItem'](_0x118d43));}['startInteraction'](){this['setLoadingMessage']({'isWebSearchEnabled':!0x1,'isReasoningEnabled':!0x1}),this['_view']['chatControls']['disableModelSelector'](!this['context']['config']['get']('ai.chat.models.modelSelectorAlwaysVisible')),this['isBusy']=!0x0,this['_view']['chatFeed']['startAutoScroll']();}['stopInteraction'](_0x3aedb3){this['_promiseQueue']['abort'](),this['_view']['chatFeed']['getItemIds']()['filter'](_0x53174e=>_0x53174e['startsWith'](_0x3aedb3['id']))['forEach'](_0x322d52=>this['markFeedItemAsDone'](_0x322d52)),this['isBusy']=!0x1,this['_view']['chatFeed']['stopAutoScroll']();}async['finishInteraction'](){return this['_promiseQueue']['queueEmptyPromise']['then'](()=>{this['isBusy']=!0x1,this['_view']['chatFeed']['stopAutoScroll']();});}['addContextItem'](_0x4da5b2,_0x37ffee){this['_view']['chatControls']['addContextItem'](_0x4da5b2,_0x37ffee);}['removeContextItem'](_0x14a18d){this['_view']['chatControls']['removeContextItem'](_0x14a18d);}['setContextItemLoading'](_0x22b895,_0x5f09e4){this['_view']['chatControls']['setContextItemLoading'](_0x22b895,_0x5f09e4);}['setIsUploadInProgress'](_0x3a4950){this['_view']['chatControls']['setIsUploadInProgress'](_0x3a4950);}['setConversationContext'](_0x16dec0){this['_view']['chatControls']['setConversationContext'](_0x16dec0);}['clearPendingContextUI'](){this['_view']['chatControls']['clearPendingContextUI']();}['clearConversationContextUI'](){this['_view']['chatControls']['clearConversationContextUI']();}['updateResourceState'](_0x496067,_0x53c5f8,_0x1b1377){this['_view']['chatControls']['updateResourceState'](_0x496067,_0x53c5f8,_0x1b1377);}['resetMessageInput'](){this['_view']['chatControls']['resetMessageInput'](),this['_view']['chatControls']['setInputPlaceholder'](this['_getInputPlaceholder']());}['setAddContextOptions'](_0x11e202){this['_view']['chatControls']['setAddContextOptions'](_0x11e202);}['updateCapabilities'](_0x2ab511){this['_view']['chatControls']['setWebSearch'](_0x2ab511['isWebSearchEnabled']),this['_view']['chatControls']['setReasoning'](_0x2ab511['isReasoningEnabled']),this['_view']['chatControls']['setInputPlaceholder'](this['_getInputPlaceholder'](_0x2ab511));}['setSelectedModel'](_0x3f7b26,_0x215576){this['_view']['chatControls']['setModel'](_0x3f7b26),_0x215576&&this['_view']['chatControls']['disableModelSelector'](!0x1);}['setFeedItemRenderingStrategy'](_0x199b6d){this['feedItemRenderingStrategy']=_0x199b6d;}['toggleLoadingSkeleton'](_0x4a15e4){this['_view']['chatFeed']['toggleLoadingSkeleton'](_0x4a15e4);}['resetConversationTitle'](){this['setConversationTitle'](getTranslation$i(this['context']['locale'],'AI_CHAT_HEADING'));}['setConversationTitle'](_0x243596,_0x2a6d86=!0x1){if(_0x2a6d86&&!ckeditor5['_isMotionReduced']()&&_0x243596['length'])return this['_view']['chatHeader']['label']='',void this['_animateConversationTitle'](_0x243596);this['_view']['chatHeader']['label']=_0x243596;}['setLoadingMessage'](_0x547195){const _0x508eaf=this['_getLoadingMessage'](_0x547195);this['_view']['chatFeed']['setLoadingMessage'](_0x508eaf);}['_animateConversationTitle'](_0x4fa909){let _0x3e3af6=0x0;clearInterval(this['_titleAnimationInterval']),this['_titleAnimationInterval']=setInterval(()=>{this['_view']['chatHeader']['label']=this['_view']['chatHeader']['label']+_0x4fa909[_0x3e3af6],_0x3e3af6++,_0x3e3af6===_0x4fa909['length']&&clearInterval(this['_titleAnimationInterval']);},_0x45b134);}['setIsMaximized'](_0x1e5476){this['_view']['chatHeader']['isMaximized']=_0x1e5476;}['_getLoadingMessage'](_0x5b0588){return _0x5b0588?_0x5b0588['isWebSearchEnabled']&&_0x5b0588['isReasoningEnabled']?getTranslation$i(this['context']['locale'],'AI_CHAT_FEED_LOADING_MESSAGE_WEBSEARCH_REASONING'):_0x5b0588['isWebSearchEnabled']?getTranslation$i(this['context']['locale'],'AI_CHAT_FEED_LOADING_MESSAGE_WEBSEARCH'):_0x5b0588['isReasoningEnabled']?getTranslation$i(this['context']['locale'],'AI_CHAT_FEED_LOADING_MESSAGE_REASONING'):getTranslation$i(this['context']['locale'],'AI_CHAT_FEED_LOADING_MESSAGE_REGULAR'):'';}['_getInputPlaceholder'](_0x7826b9){return _0x7826b9?_0x7826b9['isWebSearchEnabled']&&_0x7826b9['isReasoningEnabled']?getTranslation$i(this['context']['locale'],'AI_CHAT_PROMPT_INPUT_PLACEHOLDER_WEBSEARCH_REASONING'):_0x7826b9['isWebSearchEnabled']?getTranslation$i(this['context']['locale'],'AI_CHAT_PROMPT_INPUT_PLACEHOLDER_WEBSEARCH'):_0x7826b9['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'](_0x47bc66,_0x3f7b62,_0x13e7aa,_0xb4e22d){this['_view']['populateSourceResourceBalloon'](_0x47bc66,_0x3f7b62,_0x13e7aa,_0xb4e22d);}['closeSourceResourceBalloon'](_0x2263ee){this['_view']['closeSourceResourceBalloon'](_0x2263ee);}['focusPromptInput'](){this['_view']['chatControls']['focusPromptInput']();}['scrollFeedToSuggestion'](_0x4b1028,_0xfc44f1){this['_view']['chatFeed']['scrollToSuggestion'](_0x4b1028,_0xfc44f1);}['disableControls'](){this['_view']['chatControls']['isDisabled']=!0x0;}['enableControls'](){this['_view']['chatControls']['isDisabled']=!0x1;}}class AIChatHistorySectionListView extends ckeditor5['ListView']{['sections'];constructor(_0x2f1d5a,_0x4947d4){super(_0x2f1d5a),this['sections']=_0x4947d4,this['items']['addMany'](this['sections']),this['extendTemplate']({'attributes':{'class':['ck-ai-chat-history__sections']}});}['filter'](_0x411fe2){let _0x2f3290=0x0,_0x6ae965=0x0;for(const _0x21ec25 of this['sections']){const {resultsCount:_0x1eada4,totalItemsCount:_0x2a1000}=_0x21ec25['filter'](_0x411fe2);_0x2f3290+=_0x1eada4,_0x6ae965+=_0x2a1000;}return{'resultsCount':_0x2f3290,'totalItemsCount':_0x6ae965};}}class AIChatHistoryListView extends ckeditor5['ListItemView']{['title'];['itemsViews'];['_itemsListView'];constructor(_0xf0df1b,{title:_0x5c965a,items:_0x2c487b}){super(_0xf0df1b);const _0x1a79db=this['bindTemplate'];this['set']('isVisible',!0x0),this['title']=_0x5c965a,this['itemsViews']=_0x2c487b;const _0x1bcac2=new ckeditor5['View'](_0xf0df1b);_0x1bcac2['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-chat-history__section-title']},'children':[this['title']]}),this['_itemsListView']=new ckeditor5['ListView'](_0xf0df1b),this['_itemsListView']['items']['addMany'](this['itemsViews']),this['setTemplate']({'tag':'li','attributes':{'class':['ck-ai-chat-history__section',_0x1a79db['if']('isVisible','ck-hidden',_0x514975=>!_0x514975)]},'children':[_0x1bcac2,this['_itemsListView']]});}['filter'](_0x1387c4){const _0xdf3ad0=this['itemsViews']['length'];let _0x1d9920=0x0;for(const _0x3e66b6 of this['itemsViews']){if(_0x1387c4){const _0x3af3be=_0x3e66b6['isMatching'](_0x1387c4);_0x3e66b6['isVisible']=!!_0x3af3be,_0x3e66b6['highlightText'](_0x1387c4);}else _0x3e66b6['isVisible']=!0x0,_0x3e66b6['highlightText'](null);_0x3e66b6['isVisible']&&_0x1d9920++;}return this['isVisible']=_0x1d9920>0x0,{'resultsCount':_0x1d9920,'totalItemsCount':_0xdf3ad0};}['getItem'](_0xb38fbd){return this['itemsViews']['find'](_0x1972a2=>_0x1972a2['id']===_0xb38fbd);}['removeItem'](_0x498bf0){const _0x528fb8=this['itemsViews']['indexOf'](_0x498bf0);-0x1!==_0x528fb8&&(this['itemsViews']['splice'](_0x528fb8,0x1),this['_itemsListView']['items']['remove'](_0x498bf0));}}class AIChatHistoryListItemView extends _0x4497bd(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(_0x228fd2,_0x21c14f){super(_0x228fd2);const _0x213ec0=this['bindTemplate'];this['set']('isEdit',!0x1),this['set']('isVisible',!0x0),this['set']('pinned',!!_0x21c14f['pinned']),this['set']('loadingState',null),this['id']=_0x21c14f['id'];const {title:_0x41ecbb,createdAt:_0x40281d,active:_0x11e406=!0x1}=_0x21c14f;this['_titleView']=new ckeditor5['HighlightedTextView'](),this['_titleView']['text']=_0x41ecbb,this['_titleView']['extendTemplate']({'attributes':{'class':['ck-ai-chat-history__item-title']}});const _0x54c499=this['_createCheckView'](),_0x4f2c23=this['_createPinButtonView'](_0x228fd2),_0x602372=this['_createMenuDropdownView'](),_0x402a80=this['_createEditInputView'](_0x228fd2,_0x41ecbb),_0x177bad=this['_createAcceptEditButtonView'](_0x228fd2,_0x402a80),_0x413b2b=this['_createCancelEditButtonView'](_0x228fd2,_0x402a80);this['actions']=this['createCollection'](),this['mainContent']=this['createCollection'](),this['mainContent']['add'](this['_titleView']),this['actions']['add'](_0x4f2c23),this['actions']['add'](_0x602372),this['on']('change:isEdit',(_0x1aa3ba,_0x53e1dc,_0x4f785e)=>{this['actions']['clear'](),this['mainContent']['clear'](),_0x4f785e?(this['actions']['add'](_0x177bad),this['actions']['add'](_0x413b2b),this['mainContent']['add'](_0x402a80),_0x402a80['element']['focus']()):(this['actions']['add'](_0x4f2c23),this['actions']['add'](_0x602372),this['mainContent']['add'](this['_titleView']));}),this['setTemplate']({'tag':'li','attributes':{'class':['ck-ai-chat-history__item',_0x11e406?'ck-ai-chat-history__item--active':'',_0x213ec0['if']('isVisible','ck-hidden',_0x4cef9a=>!_0x4cef9a),_0x213ec0['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',_0x213ec0['if']('loadingState','ck-hidden',_0x1176e0=>!!_0x1176e0)]},'children':_0x11e406?[_0x54c499]:[]},{'tag':'div','attributes':{'class':['ck-ai-loader',_0x213ec0['if']('loadingState','ck-hidden',_0x57c81e=>!_0x57c81e)]},'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',_0x213ec0['if']('loadingState','ck-hidden',_0x534c18=>!!_0x534c18)]},'children':this['mainContent']},{'tag':'div','attributes':{'class':['ck-ai-loader__text',_0x213ec0['if']('loadingState','ck-hidden',_0x82d8f8=>!_0x82d8f8)]},'children':[{'text':_0x213ec0['to']('loadingState',_0x3cd9d3=>_0x3cd9d3?getTranslation$i(this['locale'],AIChatHistoryListItemView['LOADING_LABELS'][_0x3cd9d3]):'')}]}]},{'tag':'span','attributes':{'class':['ck-ai-chat-history__item-date']},'children':[_0x40281d]}]},{'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'](_0x11d027){this['_titleView']['text']=_0x26b325(_0x11d027);}['updateLoadingState'](_0x4ffaae,_0x503fa4){this['set']('loadingState',_0x503fa4?_0x4ffaae:null);}['_createCheckView'](){const _0xe726f5=new ckeditor5['IconView']();return _0xe726f5['set']({'content':ckeditor5['IconCheck']}),_0xe726f5;}['_createPinButtonView'](_0x51490e){const _0x42c2ef=new ckeditor5['ButtonView'](_0x51490e);return _0x42c2ef['set']({'label':getTranslation$i(_0x51490e,'AI_CHAT_HISTORY_PIN_BUTTON'),'icon':ckeditor5['IconPin'],'withText':!0x1,'tooltip':!0x0}),_0x42c2ef['bind']('isOn')['to'](this,'pinned'),_0x42c2ef['on']('execute',()=>{const _0x4778c9=!this['pinned'];this['fire']('setConversationPinned',{'id':this['id'],'pinned':_0x4778c9});}),_0x42c2ef;}['_createMenuDropdownView'](){const _0x455bb6=ckeditor5['createDropdown'](this['locale'],LateFocusDropdownButtonView),_0x2bb68f=_0x455bb6['panelView']['children'];_0x455bb6['buttonView']['set']({'label':getTranslation$i(this['locale'],'AI_CHAT_HISTORY_SHOW_MORE_ITEMS'),'icon':ckeditor5['IconThreeHorizontalDots']}),_0x455bb6['panelPosition']='sw';const _0x3d9385=new ckeditor5['ButtonView'](this['locale']);_0x3d9385['label']=getTranslation$i(this['locale'],'AI_CHAT_HISTORY_EDIT_NAME'),_0x3d9385['withText']=!0x0,_0x3d9385['on']('execute',()=>{this['isEdit']=!0x0;});const _0x2efd1d=new ckeditor5['ButtonView'](this['locale']);_0x2efd1d['label']=getTranslation$i(this['locale'],'AI_CHAT_HISTORY_REMOVE'),_0x2efd1d['withText']=!0x0,_0x2efd1d['on']('execute',()=>{this['showConfirm'](getTranslation$i(this['locale'],'AI_CHAT_HISTORY_REMOVE_CONFIRM'),this['element'])['then'](()=>{this['fire']('removeConversation',{'id':this['id']});});});const _0x3923b4=new ckeditor5['ListView'](this['locale']),_0x211a17=new ckeditor5['ListItemView'](this['locale']);_0x211a17['children']['add'](_0x3d9385);const _0x1a0819=new ckeditor5['ListItemView'](this['locale']);return _0x1a0819['children']['add'](_0x2efd1d),_0x3923b4['items']['addMany']([_0x211a17,_0x1a0819]),_0x2bb68f['add'](_0x3923b4),_0x455bb6;}['_createEditInputView'](_0x2db44b,_0x55f58f){const _0x3fe718=new ckeditor5['InputTextView'](_0x2db44b),_0x195105=_0x3fe718['bindTemplate'];return _0x3fe718['value']=_0x55f58f,_0x3fe718['extendTemplate']({'on':{'keydown':_0x195105['to'](_0xc05d09=>{'Enter'==_0xc05d09['key']&&this['_commitEditInputValue'](_0x3fe718);})}}),_0x3fe718;}['_createAcceptEditButtonView'](_0x464a0a,_0x24a18e){const _0x1c146d=new ckeditor5['ButtonView'](_0x464a0a);return _0x1c146d['set']({'icon':ckeditor5['IconCheck'],'withText':!0x1,'tooltip':getTranslation$i(_0x464a0a,'AI_CHAT_HISTORY_ACCEPT')}),_0x1c146d['extendTemplate']({'attributes':{'class':['ck-confirm-view-submit']}}),_0x1c146d['on']('execute',()=>{this['_commitEditInputValue'](_0x24a18e);}),_0x1c146d;}['_commitEditInputValue'](_0x3b655b){const _0x3a3c75=_0x3b655b['element']['value']||'';this['_titleView']['text']=_0x3a3c75,this['isEdit']=!0x1,this['fire']('editConversationTitle',{'id':this['id'],'title':_0x3a3c75});}['_createCancelEditButtonView'](_0x40e228,_0x44628e){const _0x92433f=new ckeditor5['ButtonView'](_0x40e228);return _0x92433f['set']({'icon':ckeditor5['IconCancel'],'withText':!0x1,'tooltip':getTranslation$i(_0x40e228,'AI_CHAT_HISTORY_CANCEL')}),_0x92433f['extendTemplate']({'attributes':{'class':['ck-confirm-view-cancel']}}),_0x92433f['on']('execute',()=>{this['isEdit']=!0x1,_0x44628e['value']=this['_titleView']['text']||'',this['fire']('edit:cancel');}),_0x92433f;}['_createSpinnerView'](){const _0x288dbb=new _0xbc7c50('tiny');return _0x288dbb['isVisible']=!0x0,_0x288dbb;}['isMatching'](_0x67d8dc){return this['_titleView']&&'string'==typeof this['_titleView']['text']&&this['_titleView']['text']['match'](_0x67d8dc)?{'title':!0x0}:null;}['highlightText'](_0x254f19){this['_titleView']['highlightText'](_0x254f19);}}class AIChatHistoryView extends ckeditor5['View']{['searchView'];['errorView'];['skeletonView'];['emptyView'];['sectionsView'];['resizeButton'];constructor(_0x54798a,_0x41bb3d){super(_0x54798a),this['set']('hasItems',!0x1),this['set']('isLoading',!0x0),this['set']('errorMessage',''),this['set']('isMaximized',!0x1),this['set']('isSearchViewVisible',!0x1),this['set']('isEmptyViewVisible',!0x1);const _0x2dee98=new ckeditor5['FormHeaderView'](_0x54798a,{'label':getTranslation$i(_0x54798a,'AI_CHAT_HISTORY_HEADING'),'icon':ckeditor5['IconAIHistory'],'class':'ck-ai-header\x20ck-ai-header_history'});_0x41bb3d&&(this['resizeButton']=createResizeButton(_0x54798a,this),_0x2dee98['children']['add'](this['resizeButton'])),this['sectionsView']=new AIChatHistorySectionListView(_0x54798a,[]),this['sectionsView']['delegate'](..._0x6b78e9)['to'](this),this['errorView']=this['_createErrorView'](),this['skeletonView']=this['_createSkeletonView'](),this['emptyView']=this['_createEmptyStateView'](),this['searchView']=this['_createSearchView'](),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':[_0x2dee98,{'tag':'div','attributes':{'class':['ck-ai-chat-history__content']},'children':[this['skeletonView'],this['errorView'],this['emptyView'],this['searchView']]}]});}['_updateViewVisibility'](){this['isSearchViewVisible']=!this['isLoading']&&this['hasItems']&&!this['errorMessage'],this['isEmptyViewVisible']=!this['isLoading']&&!this['hasItems']&&!this['errorMessage'];}['_createSearchView'](){const _0x87ea41=new ckeditor5['SearchTextView'](this['locale'],{'filteredView':this['sectionsView'],'queryView':{'label':getTranslation$i(this['locale'],'AI_CHAT_HISTORY_SEARCH_LABEL')},'infoView':{'text':{'notFound':{'primary':_0xef982d=>getTranslation$i(this['locale'],'AI_CHAT_HISTORY_SEARCH_NOT_FOUND_PRIMARY',_0xef982d),'secondary':getTranslation$i(this['locale'],'AI_CHAT_HISTORY_SEARCH_NOT_FOUND_SECONDARY')}}}});return _0x87ea41['on']('render',()=>{this['searchView']['children']['add'](this['errorView'],0x1);}),_0x87ea41['extendTemplate']({'attributes':{'class':[this['bindTemplate']['if']('isSearchViewVisible','ck-hidden',_0x4c5587=>!_0x4c5587)]}}),_0x87ea41;}['_createSkeletonView'](){const _0x4e60da=new AISkeletonView(this['locale'],_0x124b88['aiHistory']);return _0x4e60da['extendTemplate']({'attributes':{'class':[this['bindTemplate']['if']('isLoading','ck-hidden',_0x38b815=>!_0x38b815)]}}),_0x4e60da;}['_createErrorView'](){const _0x4fbc23=new ckeditor5['View'](this['locale']),_0x1aab2f=new ckeditor5['ButtonView'](this['locale']);return _0x1aab2f['set']({'withText':!0x1,'icon':ckeditor5['IconCancel'],'class':'ck-ai-chat-error__dismiss-button'}),_0x1aab2f['bind']('isVisible')['to'](this,'hasItems',_0x49cadb=>!!_0x49cadb),_0x1aab2f['on']('execute',()=>{this['errorMessage']='';}),_0x4fbc23['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-chat-error',this['bindTemplate']['if']('errorMessage','ck-hidden',_0x30dbba=>!_0x30dbba)]},'children':[{'tag':'p','children':[{'text':this['bindTemplate']['to']('errorMessage')}]},_0x1aab2f]}),_0x4fbc23;}['_createEmptyStateView'](){const _0x83138f=new ckeditor5['ButtonView'](this['locale']);_0x83138f['set']({'label':getTranslation$i(this['locale'],'AI_CHAT_LABEL_NEW_CHAT'),'withText':!0x0,'icon':ckeditor5['IconPlus'],'class':'ck-ai-chat__start-conversation'}),_0x83138f['on']('execute',()=>{this['fire']('openChat');});const _0x52896e=new ckeditor5['View'](this['locale']);return _0x52896e['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-chat-history__empty',this['bindTemplate']['if']('isEmptyViewVisible','ck-hidden',_0xcdc058=>!_0xcdc058)]},'children':[{'tag':'p','attributes':{'class':['ck-ai-chat-history__empty-message']},'children':[getTranslation$i(this['locale'],'AI_CHAT_HISTORY_EMPTY_MESSAGE')]},_0x83138f]}),_0x52896e;}['_createListItemViews'](_0x4d53d8,_0x1a5c4c){const _0x10a868=[];for(const _0x20d208 of _0x4d53d8){const _0x5c0f99=new AIChatHistoryListItemView(_0x1a5c4c,_0x20d208);_0x5c0f99['delegate'](..._0x6b78e9)['to'](this),_0x10a868['push'](_0x5c0f99);}return _0x10a868;}['updateHistoryItemsWithCategories'](_0x596050){const _0x2aeaa3=this['locale']||'en',_0x18b21f=[];for(const _0x3691dc of _0x596050){const _0x15f0d9=this['_createListItemViews'](_0x3691dc['items'],_0x2aeaa3);_0x18b21f['push'](new AIChatHistoryListView(_0x2aeaa3,{'title':_0x3691dc['title'],'items':_0x15f0d9}));}this['sectionsView']['sections']=_0x18b21f,this['sectionsView']['items']['clear'](),this['sectionsView']['items']['addMany'](_0x18b21f),this['hasItems']=_0x596050['some'](_0x33465a=>_0x33465a['items']['length']>0x0),this['_refreshSearch']();}['removeHistoryItem'](_0x14cb06){for(const _0x1f5f62 of this['sectionsView']['sections']){const _0x298d43=_0x1f5f62['getItem'](_0x14cb06);if(_0x298d43){if(_0x1f5f62['removeItem'](_0x298d43),0x0===_0x1f5f62['itemsViews']['length']){const _0x921247=this['sectionsView']['sections']['indexOf'](_0x1f5f62);-0x1!==_0x921247&&(this['sectionsView']['sections']['splice'](_0x921247,0x1),this['sectionsView']['items']['remove'](_0x1f5f62));}this['hasItems']=this['sectionsView']['sections']['length']>0x0,this['_refreshSearch']();break;}}}['updateItemTitle'](_0x5013f9,_0x168cd5){for(const _0xf814fb of this['sectionsView']['sections']){const _0x8350b=_0xf814fb['getItem'](_0x5013f9);if(_0x8350b){_0x8350b['updateTitle'](_0x168cd5);break;}}}['updateItemLoadingState'](_0x565102,_0x5d0613,_0x2f2be3){for(const _0x5d3ab0 of this['sectionsView']['sections']){const _0x226aa9=_0x5d3ab0['getItem'](_0x565102);if(_0x226aa9){_0x226aa9['updateLoadingState'](_0x5d0613,_0x2f2be3);break;}}}['_refreshSearch'](){if(this['hasItems']){const _0x5e12cf=this['searchView']['queryView']['fieldView']?.['element']?.['value']||'';this['searchView']['search'](_0x5e12cf);}}}const _0x6b78e9=['showConversationHistory','removeConversation','editConversationTitle','setConversationPinned','selectConversation','openChat','resizeTabs'];class AIChatHistoryUI extends ckeditor5['ContextPlugin']{static get['requires'](){return[_0x564b61];}['_historyView'];static get['pluginName'](){return'AIChatHistoryUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x8154f6){super(_0x8154f6);const _0x4fcfa2=this['context']['plugins']['get']('AITabs');this['_historyView']=new AIChatHistoryView(this['context']['locale'],_0x4fcfa2['showResizeButton']),this['_historyView']['delegate'](..._0x6b78e9)['to'](this),_0x4fcfa2['view']['addTab']({'id':'history','buttonLabel':getTranslation$i(this['context']['locale'],'AI_CHAT_HISTORY_HEADING'),'buttonIcon':ckeditor5['IconAIHistory'],'order':0x0,'content':this['_historyView']});}['removeHistoryItem'](_0x268352){this['_historyView']['removeHistoryItem'](_0x268352);}['updateItems'](_0x5758c1){this['_historyView']['updateHistoryItemsWithCategories'](_0x5758c1);}['updateItemTitle'](_0x54fffc,_0xd33610){this['_historyView']['updateItemTitle'](_0x54fffc,_0xd33610);}['updateItemLoadingState'](_0xabeee3,_0x22c027,_0x3d6495){this['_historyView']['updateItemLoadingState'](_0xabeee3,_0x22c027,_0x3d6495);}['setLoadingSkeleton'](_0x4049c3){this['_historyView']['isLoading']=_0x4049c3;}['showError'](_0x435796){this['_historyView']['errorMessage']=_0x435796;}['hideError'](){this['_historyView']['errorMessage']='';}['setIsMaximized'](_0xfd574e){this['_historyView']['isMaximized']=_0xfd574e;}}class AIChatHistoryItem extends ckeditor5['ObservableMixin'](){['id'];['createdAt'];constructor({id:_0x2f9e1f,title:_0xa816bc,createdAt:_0x1e2138,updatedAt:_0x253900,pinned:_0x90f76b}){super(),this['id']=_0x2f9e1f,this['createdAt']=new Date(_0x1e2138),this['set']('title',_0xa816bc),this['set']('updatedAt',_0x253900?new Date(_0x253900):null),this['set']('pinned',_0x90f76b||!0x1);}['updateTitle'](_0x31d146){this['set']('title',_0x26b325(_0x31d146)),this['updatedAt']=new Date();}['updatePinned'](_0x13f592){this['set']('pinned',_0x13f592),this['updatedAt']=new Date();}}class AIChatHistoryConversations extends ckeditor5['EmitterMixin'](){['items']=[];['connector'];['group'];constructor({connector:_0x4ed981,group:_0x3593ad}){super(),this['connector']=_0x4ed981,this['group']=_0x3593ad;}async['init'](){try{const _0x323c6d=this['connector']['fetchConversations'](this['group']),_0x138bf1=await _0x323c6d['getConversations']();this['loadItems'](_0x138bf1);}catch(_0x492edb){this['fire']('error',{'error':_0x492edb,'operation':'init'});}}['addItem'](_0x2bb77d){this['items']['push'](_0x2bb77d);}async['removeItem'](_0x48f12e){const _0x28e44d=this['items']['findIndex'](_0x2e201e=>_0x2e201e['id']===_0x48f12e);if(-0x1===_0x28e44d)return!0x1;try{return await this['connector']['deleteConversation'](_0x48f12e)['execute'](),this['items']['splice'](_0x28e44d,0x1),this['fire']('itemRemoved',{'itemId':_0x48f12e}),!0x0;}catch(_0x36cd57){return this['fire']('error',{'error':_0x36cd57,'operation':'removeItem','itemId':_0x48f12e}),!0x1;}}['getItem'](_0x2ec0b6){return this['items']['find'](_0x26cb54=>_0x26cb54['id']===_0x2ec0b6);}async['updateItemTitle'](_0x283d47,_0xd6b81c){const _0x5c9055=this['getItem'](_0x283d47);if(!_0x5c9055)return!0x1;try{return await this['connector']['updateConversation'](_0x283d47,{'title':_0xd6b81c})['getResult'](),_0x5c9055['updateTitle'](_0xd6b81c),this['fire']('itemUpdated',{'itemId':_0x283d47,'updates':{'title':_0xd6b81c}}),!0x0;}catch(_0x4a6112){return this['fire']('error',{'error':_0x4a6112,'operation':'updateItemTitle','itemId':_0x283d47}),!0x1;}}async['updateItemPinned'](_0x2c0ca8,_0x393787){const _0x5a2363=this['getItem'](_0x2c0ca8);if(!_0x5a2363)return!0x1;try{return await this['connector']['updateConversation'](_0x2c0ca8,{'pinned':_0x393787})['getResult'](),_0x5a2363['updatePinned'](_0x393787),this['fire']('itemUpdated',{'itemId':_0x2c0ca8,'updates':{'pinned':_0x393787}}),!0x0;}catch(_0x58270e){return this['fire']('error',{'error':_0x58270e,'operation':'updateItemPinned','itemId':_0x2c0ca8}),!0x1;}}['loadItems'](_0x5659c0){try{this['items']=[],_0x5659c0['map'](_0x5dae47=>{this['addItem'](new AIChatHistoryItem(_0x5dae47));}),this['fire']('itemsLoaded',{'items':[...this['items']]});}catch(_0x6e8005){this['fire']('error',{'error':_0x6e8005,'operation':'loadItems'});}}['getItems'](_0x29d46e={}){const _0x58e285=void 0x0!==_0x29d46e['pinned']&&_0x29d46e['pinned'],_0x442c25=_0x29d46e['from']?new Date(_0x29d46e['from']['getFullYear'](),_0x29d46e['from']['getMonth'](),_0x29d46e['from']['getDate']()):null,_0x259b91=_0x29d46e['to']?new Date(_0x29d46e['to']['getFullYear'](),_0x29d46e['to']['getMonth'](),_0x29d46e['to']['getDate']()):null;return this['items']['filter'](_0x118d5a=>{if(_0x118d5a['pinned']!==_0x58e285)return!0x1;if(_0x259b91){const _0x11a232=new Date(_0x118d5a['createdAt']['getFullYear'](),_0x118d5a['createdAt']['getMonth'](),_0x118d5a['createdAt']['getDate']());return _0x442c25?_0x442c25['getTime']()===_0x259b91['getTime']()?_0x11a232['getTime']()===_0x442c25['getTime']():_0x11a232<_0x259b91&&_0x11a232>=_0x442c25:_0x11a232<_0x259b91;}return!0x0;});}}class AIChatHistoryController extends ckeditor5['ContextPlugin']{['_aiConnector'];['_aiChatHistoryUi'];['_aiChatController'];static get['requires'](){return[AIConnector,AIChatController,AIChatHistoryUI,_0x564b61];}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 _0x15f745=this['context']['plugins']['get'](_0x564b61),_0x3a7d46=this['_aiChatController']['getGroupId']();this['history']=new AIChatHistoryConversations({'connector':this['_aiConnector'],'group':_0x3a7d46}),this['listenTo'](this['_aiChatHistoryUi'],'removeConversation',(_0x2e8213,_0x2960d6)=>{this['_setItemLoading'](_0x2960d6['id'],'remove'),this['_handleRemove'](_0x2960d6['id']);}),this['listenTo'](this['_aiChatHistoryUi'],'editConversationTitle',(_0x10ea54,_0x49e071)=>{this['_setItemLoading'](_0x49e071['id'],'rename'),this['_handleEditTitle'](_0x49e071['id'],_0x49e071['title']);}),this['listenTo'](this['history'],'itemUpdated',(_0x350ab0,_0x3b536f)=>{void 0x0!==_0x3b536f['updates']['title']&&this['_aiChatHistoryUi']['updateItemTitle'](_0x3b536f['itemId'],_0x3b536f['updates']['title']),void 0x0!==_0x3b536f['updates']['pinned']&&this['_updateHistoryItemsUI'](),this['_clearItemLoading'](_0x3b536f['itemId']);}),this['listenTo'](this['history'],'itemRemoved',(_0x5e9b07,_0x538252)=>{this['_aiChatController']['handleRemovedConversation'](_0x538252['itemId']),this['_aiChatHistoryUi']['removeHistoryItem'](_0x538252['itemId']),this['_clearItemLoading'](_0x538252['itemId']);}),this['listenTo'](this['history'],'itemsLoaded',()=>{this['_updateHistoryItemsUI']();}),this['listenTo'](this['history'],'error',(_0xf9484c,_0x2b4be9)=>{this['_handleHistoryErrorUI'](_0x2b4be9['error'],_0x2b4be9['operation'],_0x2b4be9['itemId']);}),this['listenTo'](this['_aiChatHistoryUi'],'selectConversation',(_0x2f6270,_0x3dc216)=>{this['_handleSelectConversation'](_0x3dc216['id']);}),this['listenTo'](this['_aiChatHistoryUi'],'setConversationPinned',(_0x4293b8,_0x5bb67c)=>{const _0x24a1f5=_0x5bb67c['pinned']?'pin':'unpin';this['_setItemLoading'](_0x5bb67c['id'],_0x24a1f5),this['_handleTogglePin'](_0x5bb67c['id'],_0x5bb67c['pinned']);}),this['listenTo'](this['_aiChatHistoryUi'],'openChat',()=>{_0x15f745['view']['activateTab']('chat');}),this['listenTo'](this['_aiChatController'],'change:activeConversation',()=>{this['_updateHistoryItemsUI']();}),_0x15f745['view']['on']('activateTab:history',()=>{this['_showConversationHistory']();}),this['listenTo'](_0x15f745,'resizedTabs',(_0x28923a,_0x1864af)=>{this['_setIsMaximized'](_0x1864af);}),this['listenTo'](this['_aiChatHistoryUi'],'resizeTabs',()=>{_0x15f745['resize']();});}async['_handleEditTitle'](_0x27d13b,_0x142d4f){await this['history']['updateItemTitle'](_0x27d13b,_0x142d4f);}async['_handleTogglePin'](_0x598718,_0x4f2ee8){await this['history']['updateItemPinned'](_0x598718,_0x4f2ee8);}async['_handleRemove'](_0x4a54be){await this['history']['removeItem'](_0x4a54be);}async['_handleSelectConversation'](_0x2be6b3){await this['_aiChatController']['loadConversation'](_0x2be6b3);}async['_showConversationHistory'](){this['_aiChatHistoryUi']['showError'](''),this['_aiChatHistoryUi']['setLoadingSkeleton'](!0x0),await this['history']['init'](),this['_aiChatHistoryUi']['setLoadingSkeleton'](!0x1);}['_updateHistoryItemsUI'](){const _0x1d1bc7=this['_aiChatController']['activeConversation']?.['id'],_0x261436=this['_getCategorizedItems']()['map'](_0x39811f=>({'title':_0x39811f['title'],'items':_0x39811f['items']['map'](_0x222bd6=>({'id':_0x222bd6['id'],'title':_0x222bd6['title']||getTranslation$i(this['context']['locale'],'AI_CHAT_UNTITLED_CONVERSATION'),'createdAt':new Date(_0x222bd6['createdAt'])['toLocaleDateString'](),'active':_0x222bd6['id']===_0x1d1bc7,'pinned':_0x222bd6['pinned']}))}));this['_aiChatHistoryUi']['updateItems'](_0x261436);}['_setItemLoading'](_0x127851,_0x27d1e2){this['_aiChatHistoryUi']['updateItemLoadingState'](_0x127851,_0x27d1e2,!0x0);}['_clearItemLoading'](_0x1366b7){this['_aiChatHistoryUi']['updateItemLoadingState'](_0x1366b7,null,!0x1);}['_handleHistoryErrorUI'](_0x572d82,_0xc8823a,_0x5bf266){const _0x2daa88=this['_generateErrorMessage'](_0xc8823a,_0x5bf266);this['_aiChatHistoryUi']['showError'](_0x2daa88),_0x5bf266&&this['_clearItemLoading'](_0x5bf266),this['_aiChatHistoryUi']['setLoadingSkeleton'](!0x1);}['_generateErrorMessage'](_0x377cd9,_0x54f3b3){const _0x581923=_0x54f3b3?this['history']['getItem'](_0x54f3b3):null,_0x24e638=_0x581923?.['title']||getTranslation$i(this['context']['locale'],'AI_CHAT_UNTITLED_CONVERSATION');switch(_0x377cd9){case'updateItemTitle':return getTranslation$i(this['context']['locale'],'AI_CHAT_HISTORY_ERROR_UPDATE_TITLE',_0x24e638);case'updateItemPinned':{const _0x1d7c30=getTranslation$i(this['context']['locale'],_0x581923?.['pinned']?'AI_CHAT_HISTORY_UNPIN_ACTION':'AI_CHAT_HISTORY_PIN_ACTION');return getTranslation$i(this['context']['locale'],'AI_CHAT_HISTORY_ERROR_UPDATE_PINNED',[_0x1d7c30,_0x24e638]);}case'removeItem':return getTranslation$i(this['context']['locale'],'AI_CHAT_HISTORY_ERROR_REMOVE_ITEM',_0x24e638);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 _0x9df581=new Date(),_0x13fdc8=new Date(_0x9df581['getFullYear'](),_0x9df581['getMonth'](),_0x9df581['getDate']()),_0x664ff5=new Date(_0x13fdc8);_0x664ff5['setDate'](_0x664ff5['getDate']()-0x1);const _0x38bb31=new Date(_0x13fdc8);_0x38bb31['setDate'](_0x38bb31['getDate']()-0xe);const _0x1448b0=this['history']['getItems']({'pinned':!0x0}),_0x5a5044=this['history']['getItems']({'from':_0x13fdc8,'to':_0x13fdc8}),_0x429ae7=this['history']['getItems']({'from':_0x664ff5,'to':_0x664ff5}),_0x538594=this['history']['getItems']({'from':_0x38bb31,'to':_0x664ff5}),_0x686ccd=this['history']['getItems']({'to':_0x38bb31}),_0xaa849d=[];return _0x1448b0['length']>0x0&&_0xaa849d['push']({'title':getTranslation$i(this['context']['locale'],'AI_CHAT_HISTORY_CATEGORY_PINNED'),'items':_0x1448b0}),_0x5a5044['length']>0x0&&_0xaa849d['push']({'title':getTranslation$i(this['context']['locale'],'AI_CHAT_HISTORY_CATEGORY_TODAY'),'items':_0x5a5044}),_0x429ae7['length']>0x0&&_0xaa849d['push']({'title':getTranslation$i(this['context']['locale'],'AI_CHAT_HISTORY_CATEGORY_YESTERDAY'),'items':_0x429ae7}),_0x538594['length']>0x0&&_0xaa849d['push']({'title':getTranslation$i(this['context']['locale'],'AI_CHAT_HISTORY_CATEGORY_LAST_14_DAYS'),'items':_0x538594}),_0x686ccd['length']>0x0&&_0xaa849d['push']({'title':getTranslation$i(this['context']['locale'],'AI_CHAT_HISTORY_CATEGORY_LATER'),'items':_0x686ccd}),_0xaa849d;}['_setIsMaximized'](_0x405ee1){this['_aiChatHistoryUi']['setIsMaximized'](_0x405ee1);}}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(_0x24c770){super(_0x24c770),this['context']['config']['define']('ai.chat.context',{'document':{'enabled':!0x0},'urls':{'enabled':!0x0},'files':{'enabled':!0x0},'sources':[]}),this['context']['config']['define']('ai.chat.models',{'defaultModelId':void 0x0,'modelSelectorAlwaysVisible':!0x0,'displayedModels':void 0x0});}async['addSelectionToChatContext'](){await this['context']['plugins']['get'](AIChatController)['addSelectionToChatContext']();}async['startConversation'](){await this['context']['plugins']['get'](AIChatController)['startConversation']();}async['sendMessage']({message:_0x151ab4,quickActionData:_0x5d4a30}){await this['context']['plugins']['get'](AIChatController)['sendMessage']({'message':_0x151ab4,'quickActionData':_0x5d4a30});}['removeSelectionFromChatContext'](){this['context']['plugins']['get'](AIChatController)['removeSelectionFromChatContext']();}['focusPromptInput'](){this['context']['plugins']['get'](AIChatController)['focusPromptInput']();}}class _0x40dfcc extends ckeditor5['Command']{constructor(_0x1029d0){super(_0x1029d0);const _0x5e33b6=_0x1029d0['plugins']['get']('AITabs')['view'];this['bind']('value')['to'](_0x5e33b6,'isVisible'),this['isEnabled']=!0x0;}['execute'](){const _0xe6af55=this['editor']['plugins']['get']('AITabs')['view'];_0xe6af55['isVisible']=!_0xe6af55['isVisible'];}}class AIToggleButtonUI extends ckeditor5['Plugin']{static get['requires'](){return[_0x564b61];}static get['pluginName'](){return'AIToggleButtonUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x56fa0c=this['editor'];_0x56fa0c['commands']['add']('toggleAi',new _0x40dfcc(_0x56fa0c)),_0x56fa0c['ui']['componentFactory']['add']('toggleAi',()=>{const _0x26273e=this['_createAIUIButton'](ckeditor5['ButtonView']);return _0x26273e['set']({'tooltip':!0x0,'class':'ck-ai-toggle-button'}),_0x26273e;}),_0x56fa0c['ui']['componentFactory']['add']('menuBar:toggleAi',()=>{const _0x19f4cf=this['_createAIUIButton'](ckeditor5['MenuBarMenuListItemButtonView']);return _0x19f4cf['set']({'role':'menuitemcheckbox'}),_0x19f4cf;});}['_createAIUIButton'](_0x7e03a3){const _0x29c04f=this['editor'],_0x12ecbe=_0x29c04f['commands']['get']('toggleAi'),_0x126d7e=new _0x7e03a3(_0x29c04f['locale']);return _0x126d7e['set']({'label':getTranslation$i(_0x29c04f['locale'],'AI_TOGGLE_BUTTON_LABEL'),'icon':ckeditor5['IconAIAskAI'],'isToggleable':!0x0}),_0x126d7e['bind']('isEnabled')['to'](_0x12ecbe),_0x126d7e['bind']('isOn')['to'](_0x12ecbe,'value',_0x5acf5f=>!!_0x5acf5f),this['listenTo'](_0x126d7e,'execute',()=>{_0x12ecbe['execute']();}),_0x126d7e;}}class AIEditorIntegration extends ckeditor5['Plugin']{static get['requires'](){return[AIToggleButtonUI];}static get['pluginName'](){return'AIEditorIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}function aiQuickActionsButtonCreator(_0x188df5,_0x924588,_0x4d84d1=!0x1,_0x3a7855=!0x0,_0xd7209=!0x0){return()=>{const _0x471582=_0x188df5['locale'],_0x7c41e0=new ckeditor5['ButtonView'](_0x471582),_0x298346=_0x7c41e0['bindTemplate'];_0xd7209&&_0x7c41e0['extendTemplate']({'on':{'mouseenter':_0x298346['to'](()=>{_0x7c41e0['focus']();})}});const _0x5c5646=_0x924588['icon']??_0x924588['parent']?.['icon'];return _0x7c41e0['set']({'label':_0x924588['displayedPrompt'],'withText':_0x4d84d1,'role':'menuitem','icon':_0x3a7855?_0x5c5646??ckeditor5['IconAIQuickActions']:void 0x0,'tooltip':!_0x4d84d1,'class':'ck-ai-quick-actions-button'}),_0x7c41e0['on']('execute',()=>{_0x188df5['editing']['view']['focus'](),_0x188df5['commands']['execute']('aiQuickAction',_0x924588);}),_0x7c41e0;};}const _0x395aad={'MENU':'menu','MENU_ITEM':'menuitem'};class AIQuickActionsDropdownContentView extends ckeditor5['View']{['_bodyCollection'];['optionsListView'];['focusTracker'];['keystrokes'];['_focusables'];['focusCycler'];['_openNestedPanels']=new Set();constructor(_0x1ecc46,_0x5ec848,_0x110b0e,_0x54c793){const _0x3ddec5=_0x1ecc46['locale'];super(_0x3ddec5),this['_bodyCollection']=_0x54c793;const _0x392109=this['_createListItems'](_0x1ecc46,_0x5ec848,_0x110b0e);this['optionsListView']=new ckeditor5['ListView'](_0x3ddec5),this['optionsListView']['role']=_0x395aad['MENU'],this['optionsListView']['items']['addMany'](_0x392109),this['focusTracker']=new ckeditor5['FocusTracker'](),this['keystrokes']=new ckeditor5['KeystrokeHandler'](),this['_focusables']=_0x392109,this['focusCycler']=new ckeditor5['FocusCycler']({'focusables':this['_focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes']}),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all','ck-ai-quick-actions','ck-rounded-corners'],'dir':_0x3ddec5['uiLanguageDirection']},'children':[this['optionsListView']]});}['_createListItems'](_0x3e0727,_0x4b3973,_0x27007a){const _0x36ed88=new ckeditor5['ViewCollection']();return _0x4b3973['forEach'](_0x5042fc=>{'actions'in _0x5042fc?_0x36ed88['add'](this['_createActionGroupButton'](_0x3e0727,_0x5042fc,_0x27007a)):_0x36ed88['add'](this['_createActionButton'](_0x3e0727,_0x5042fc));}),_0x36ed88;}['_createActionButton'](_0x4ec02a,_0x1f305b){const _0xc11daf=new ckeditor5['ListItemView'](this['locale']),_0x2eb8af=aiQuickActionsButtonCreator(_0x4ec02a,_0x1f305b,!0x0,void 0x0!==_0x1f305b['icon'])();return _0xc11daf['children']['add'](_0x2eb8af),_0xc11daf;}['_createActionGroupButton'](_0x306a33,_0x224ae5,_0x355261){const _0x5ad822=new ckeditor5['ListItemView'](this['locale']),_0x3efa08=new ckeditor5['DropdownMenuButtonView'](this['locale']),_0x58d50b=_0x3efa08['bindTemplate'],_0x51310e='rtl'===_0x355261['locale']['uiLanguageDirection']?'ArrowRight':'ArrowLeft',_0x3ec7bf=this['_createGroupActionsList'](_0x306a33,_0x224ae5['actions'],_0x355261);_0x3efa08['set']({'label':_0x224ae5['label'],'withText':!0x0,'role':_0x395aad['MENU_ITEM'],'icon':_0x224ae5['icon']??ckeditor5['IconAIQuickActions']}),_0x3efa08['extendTemplate']({'on':{'mouseenter':_0x58d50b['to'](()=>{_0x3efa08['focus']();})}});const _0x1bb09f=new ckeditor5['BalloonPanelView'](this['locale']);return _0x1bb09f['extendTemplate']({'attributes':{'class':['ck','ck-reset_all','ck-ai-quick-actions-group-panel','ck-dropdown-menu__nested-menu__panel']},'on':{'keydown':_0x58d50b['to'](_0x2065e6=>{_0x2065e6['key']==_0x51310e&&(_0x3efa08['focus'](),this['_hideNestedPanel'](_0x1bb09f));})}}),_0x3efa08['bind']('isOn')['to'](_0x1bb09f,'isVisible'),this['_bodyCollection']['add'](_0x1bb09f),_0x1bb09f['content']['add'](_0x3ec7bf),this['_setupGroupMenuBehavior'](_0x3efa08,_0x1bb09f),_0x5ad822['children']['add'](_0x3efa08),_0x5ad822;}['_createGroupActionsList'](_0x57910c,_0x425ccc,_0x366f76){const _0x6a1fee=new ckeditor5['ListView'](this['locale']);return _0x6a1fee['extendTemplate']({'attributes':{'class':['ck','ck-reset_all','ck-ai-quick-actions-group-list','ck-dropdown-menu-list']}}),_0x425ccc['forEach'](_0x3be8d6=>{const _0x142eb5=new ckeditor5['ListItemView'](this['locale']),_0x2dc4da=aiQuickActionsButtonCreator(_0x57910c,_0x3be8d6,!0x0,!0x1)();_0x142eb5['children']['add'](_0x2dc4da),_0x366f76['focusTracker']['add'](_0x2dc4da),_0x6a1fee['items']['add'](_0x142eb5);}),_0x6a1fee;}['_setupGroupMenuBehavior'](_0x10f61d,_0x179c2d){const _0x3a28c4=_0x10f61d['bindTemplate'],_0x31e010='rtl'===_0x10f61d['locale']['uiLanguageDirection']?'ArrowLeft':'ArrowRight';_0x10f61d['extendTemplate']({'attributes':{'class':['ck-ai-quick-actions-group-button']},'on':{'mouseenter':_0x3a28c4['to'](()=>{this['_showNestedPanel'](_0x179c2d,_0x10f61d);}),'mouseleave':_0x3a28c4['to'](_0xe1d94a=>{const _0x5f58be=_0xe1d94a['relatedTarget'];this['_isMovingToNestedMenu'](_0x5f58be,_0x179c2d)||this['_hideNestedPanel'](_0x179c2d);}),'keydown':_0x3a28c4['to'](_0x2ed2ef=>{_0x2ed2ef['key']==_0x31e010&&(this['_showNestedPanel'](_0x179c2d,_0x10f61d),_0x179c2d['content']['get'](0x0)['focus']());})}}),_0x179c2d['on']('render',()=>{_0x179c2d['element']?.['addEventListener']('mouseleave',_0x1d9e9f=>{const _0x1e8cfa=_0x1d9e9f['relatedTarget'];_0x10f61d['element']?.['contains'](_0x1e8cfa)||this['_isMovingToNestedMenu'](_0x1e8cfa,_0x179c2d)||this['_hideNestedPanel'](_0x179c2d);});});}['_showNestedPanel'](_0x254600,_0x24c2e1){this['_openNestedPanels']['forEach'](_0x3d78dd=>{_0x3d78dd!==_0x254600&&_0x3d78dd['isVisible']&&_0x3d78dd['hide']();}),_0x254600['show'](),_0x254600['pin']({'positions':[ckeditor5['DropdownMenuPanelPositioningFunctions']['eastSouth']],'target':_0x24c2e1['element'],'fitInViewport':!0x0}),this['_openNestedPanels']['add'](_0x254600);}['_hideNestedPanel'](_0x33a848){_0x33a848['hide'](),this['_openNestedPanels']['delete'](_0x33a848);}['_hideAllNestedPanels'](){this['_openNestedPanels']['forEach'](_0x4b71e9=>_0x4b71e9['hide']()),this['_openNestedPanels']['clear']();}['_isMovingToNestedMenu'](_0x1d9a8d,_0x323dca){if(!_0x1d9a8d)return!0x1;if(_0x323dca['element']?.['contains'](_0x1d9a8d))return!0x0;const _0x802928=_0x1d9a8d;return _0x802928['closest']&&(null!==_0x802928['closest']('.ck-ai-quick-actions-group-panel')||null!==_0x802928['closest']('.ck-ai-quick-actions-group-list')||null!==_0x802928['closest']('.ck-ai-quick-actions-group-button'));}['destroy'](){this['_hideAllNestedPanels'](),this['_bodyCollection']['detachFromDom'](),super['destroy']();}['focus'](){this['optionsListView']['focus']();}}function aiQuickActionsDropdownCreator(_0x1bb66a,_0x319836,_0xf7d1a7,_0x2e2578){return()=>{const _0x1cb2e6=_0x1bb66a['locale'],_0x228073=ckeditor5['createDropdown'](_0x1cb2e6);_0x228073['buttonView']['set']({'icon':_0xf7d1a7['icon']??ckeditor5['IconAIQuickActions'],'label':_0xf7d1a7['label'],'tooltip':!0x0}),_0x228073['set']({'class':'ck-ai-quick-actions-dropdown'});const _0x6fb54c=new AIQuickActionsDropdownContentView(_0x1bb66a,_0x319836,_0x228073,_0x2e2578);return _0x228073['panelView']['children']['add'](_0x6fb54c),_0x228073;};}const _0x381902='<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>',_0x42cead='<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>',_0x3ffc18='<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(_0x464bf5){return _0x464bf5['CHAT']='CHAT',_0x464bf5['ACTION']='ACTION',_0x464bf5['REVIEW']='REVIEW',_0x464bf5;}({}),AIQuickActionTypeToPluginName=function(_0x50af48){return _0x50af48['CHAT']='AIChat',_0x50af48['ACTION']='AIActions',_0x50af48['REVIEW']='AIReviewMode',_0x50af48;}({});class AIQuickActionsUI extends ckeditor5['Plugin']{static get['requires'](){return[ckeditor5['BalloonToolbar']];}static get['pluginName'](){return'AIQuickActionsUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['_prepareQuickActionsDefinition'](this['_getDefaultAndCustomActions']()),this['_initializeQuickActionsComponentsAndCommands']();}static['getDefaultQuickActions'](_0xa427dd){return getDefaultQuickActions(_0xa427dd);}['_getDefaultAndCustomActions'](){const _0x8bd030=AIQuickActionsUI['getDefaultQuickActions'](this['editor']['locale']),_0x4cc0b8=(this['editor']['config']['get']('ai.quickActions.extraCommands')||[])['map'](_0x2712ab=>({..._0x2712ab,'icon':void 0x0})),_0x582573=_0x8bd030['find'](_0x84dade=>'other'===_0x84dade['id']);return _0x582573['actions']['push'](..._0x4cc0b8),_0x8bd030;}['_initializeQuickActionsComponentsAndCommands'](){const _0x1737a7=new ckeditor5['BodyCollection'](this['editor']['locale']);_0x1737a7['attachToDom'](),this['_initializeQuickActionsDropdown'](_0x1737a7),this['_initializeQuickActionsMenuBar'](),this['_initializeQuickActionsComponents'](_0x1737a7);}['_initializeQuickActionsDropdown'](_0x8af8ee){this['editor']['ui']['componentFactory']['add']('aiQuickActions',aiQuickActionsDropdownCreator(this['editor'],this['_quickActionsDefinition'],{'icon':ckeditor5['IconAIQuickActions'],'label':getTranslation$i(this['editor']['locale'],'AI_QUICK_ACTIONS_HEADING')},_0x8af8ee));}['_prepareQuickActionsDefinition'](_0x894f5a){this['_quickActionsDefinition']=_0x894f5a['map'](_0x218180=>{if('actions'in _0x218180){const _0x539967=_0x218180;return{..._0x539967,'actions':_0x539967['actions']['map'](_0x51bc01=>{const {actions:_0x4c274b,..._0x57ddb4}=_0x539967;return{..._0x51bc01,'parent':_0x57ddb4};})['filter'](_0xa4dfab=>this['_shouldIncludeAction'](_0xa4dfab))};}return _0x218180;})['filter'](_0x279a20=>'actions'in _0x279a20?_0x279a20['actions']['length']>0x0:this['_shouldIncludeAction'](_0x279a20));}['_shouldIncludeAction'](_0x1e256e){const _0x31b196=this['editor']['config']['get']('ai.quickActions.removeCommands')||[];return this['editor']['plugins']['has'](AIQuickActionTypeToPluginName[_0x1e256e['type']])&&!_0x31b196['includes'](_0x1e256e['id']);}['_initializeQuickActionsComponents'](_0x17a942){this['_quickActionsDefinition']['forEach'](_0x2f33e6=>{if('actions'in _0x2f33e6){const _0xb21c95=aiQuickActionsDropdownCreator(this['editor'],_0x2f33e6['actions'],_0x2f33e6,_0x17a942);this['editor']['ui']['componentFactory']['add'](_0x2f33e6['id'],_0xb21c95),_0x2f33e6['actions']['forEach'](_0x11b238=>{const _0x56b346=aiQuickActionsButtonCreator(this['editor'],_0x11b238);this['editor']['ui']['componentFactory']['add'](_0x11b238['id'],_0x56b346);});}else{const _0x457582=aiQuickActionsButtonCreator(this['editor'],_0x2f33e6,!0x1,!0x0,!0x1);this['editor']['ui']['componentFactory']['add'](_0x2f33e6['id'],_0x457582);}});}['_initializeQuickActionsMenuBar'](){this['editor']['ui']['componentFactory']['add']('menuBar:aiQuickActions',_0x56db54=>{const _0x7a07ca=new ckeditor5['MenuBarMenuView'](_0x56db54),_0x5e9c3d=getTranslation$i(_0x56db54,'AI_QUICK_ACTIONS_HEADING');_0x7a07ca['buttonView']['set']({'label':_0x5e9c3d,'icon':ckeditor5['IconAIQuickActions']});const _0x1face0=new ckeditor5['MenuBarMenuListView'](_0x56db54);_0x1face0['set']({'ariaLabel':_0x5e9c3d,'role':'menu'}),this['_quickActionsDefinition']['forEach'](_0x2a0f36=>{if('actions'in _0x2a0f36){const _0x207ea8=_0x2a0f36,_0x460fef=new ckeditor5['MenuBarMenuListItemView'](_0x56db54,_0x7a07ca),_0x4303ad=new ckeditor5['MenuBarMenuView'](_0x56db54),_0x5b256e=new ckeditor5['MenuBarMenuListView'](_0x56db54);_0x4303ad['buttonView']['set']({'label':_0x207ea8['label'],'icon':_0x207ea8['icon']}),_0x207ea8['actions']['forEach'](_0x656cb7=>{const _0xa1d3ff=new ckeditor5['MenuBarMenuListItemView'](_0x56db54,_0x4303ad),_0x4273b7=new ckeditor5['MenuBarMenuListItemButtonView'](_0x56db54);_0x4273b7['set']({'label':_0x656cb7['displayedPrompt'],'icon':_0x656cb7['icon'],'role':'menuitem'}),_0x4273b7['on']('execute',()=>{this['_executeQuickAction'](_0x656cb7);}),_0x4273b7['delegate']('execute')['to'](_0x4303ad),_0xa1d3ff['children']['add'](_0x4273b7),_0x5b256e['items']['add'](_0xa1d3ff);}),_0x4303ad['panelView']['children']['add'](_0x5b256e),_0x460fef['children']['add'](_0x4303ad),_0x1face0['items']['add'](_0x460fef);}else{const _0x283100=_0x2a0f36,_0x9e0256=new ckeditor5['MenuBarMenuListItemView'](_0x56db54,_0x7a07ca),_0x48c9b0=new ckeditor5['MenuBarMenuListItemButtonView'](_0x56db54);_0x48c9b0['set']({'label':_0x283100['displayedPrompt'],'icon':_0x283100['icon'],'role':'menuitem'}),_0x48c9b0['on']('execute',()=>{this['_executeQuickAction'](_0x283100);}),_0x48c9b0['delegate']('execute')['to'](_0x7a07ca),_0x9e0256['children']['add'](_0x48c9b0),_0x1face0['items']['add'](_0x9e0256);}});const _0x4b4ff8=Object['values'](AIQuickActionTypeToPluginName)['some'](_0x271850=>this['editor']['plugins']['has'](_0x271850));return _0x7a07ca['set']({'isEnabled':_0x4b4ff8}),_0x7a07ca['panelView']['children']['add'](_0x1face0),_0x7a07ca;});}['_executeQuickAction'](_0x19d537){const _0x56d889=this['editor'];_0x56d889['editing']['view']['focus'](),_0x56d889['commands']['execute']('aiQuickAction',_0x19d537);const _0x1f01b1=_0x56d889['ui']['view']['menuBarView'];_0x1f01b1&&_0x1f01b1['close']&&_0x1f01b1['close']();}}function getDefaultQuickActions(_0x117313){const _0x2abfc1=new Intl['DisplayNames'](['en'],{'type':'language'})['of'](_0x117313['uiLanguage'])||'English';return[{'id':'ask-ai','displayedPrompt':getTranslation$i(_0x117313,'AI_QUICK_ACTIONS_ASK_AI'),'type':'CHAT','icon':ckeditor5['IconAIAskAI']},{'id':'chat-commands','label':getTranslation$i(_0x117313,'AI_QUICK_ACTIONS_CHAT_COMMANDS'),'icon':ckeditor5['IconAIChatCommands'],'actions':[{'id':'explain','displayedPrompt':getTranslation$i(_0x117313,'AI_QUICK_ACTIONS_EXPLAIN'),'prompt':_0x381902['replace']('%0',_0x2abfc1),'type':'CHAT'},{'id':'summarize','displayedPrompt':getTranslation$i(_0x117313,'AI_QUICK_ACTIONS_SUMMARIZE'),'prompt':_0x42cead['replace']('%0',_0x2abfc1),'type':'CHAT'},{'id':'highlight-key-points','displayedPrompt':getTranslation$i(_0x117313,'AI_QUICK_ACTIONS_HIGHLIGHT_KEY_POINTS'),'prompt':_0x3ffc18['replace']('%0',_0x2abfc1),'type':'CHAT'}]},{'id':'improve-writing','displayedPrompt':getTranslation$i(_0x117313,'AI_QUICK_ACTIONS_IMPROVE_WRITING'),'type':'ACTION','icon':ckeditor5['IconAIImproveWriting']},{'id':'continue','displayedPrompt':getTranslation$i(_0x117313,'AI_QUICK_ACTIONS_CONTINUE_WRITING'),'type':'ACTION','icon':ckeditor5['IconAIContinueWriting']},{'id':'fix-grammar','displayedPrompt':getTranslation$i(_0x117313,'AI_QUICK_ACTIONS_FIX_GRAMMAR_SPELLING'),'type':'ACTION','icon':ckeditor5['IconAIGrammarCheck']},{'id':'adjust-length','label':getTranslation$i(_0x117313,'AI_QUICK_ACTIONS_ADJUST_LENGTH'),'icon':ckeditor5['IconAIAdjustLength'],'actions':[{'id':'make-shorter','displayedPrompt':getTranslation$i(_0x117313,'AI_QUICK_ACTIONS_MAKE_SHORTER'),'type':'ACTION'},{'id':'make-longer','displayedPrompt':getTranslation$i(_0x117313,'AI_QUICK_ACTIONS_MAKE_LONGER'),'type':'ACTION'}]},{'id':'change-tone','label':getTranslation$i(_0x117313,'AI_QUICK_ACTIONS_CHANGE_TONE'),'icon':ckeditor5['IconAIChangeTone'],'actions':[{'id':'make-tone-casual','displayedPrompt':getTranslation$i(_0x117313,'AI_QUICK_ACTIONS_MORE_CASUAL'),'type':'ACTION'},{'id':'make-tone-direct','displayedPrompt':getTranslation$i(_0x117313,'AI_QUICK_ACTIONS_MORE_DIRECT'),'type':'ACTION'},{'id':'make-tone-friendly','displayedPrompt':getTranslation$i(_0x117313,'AI_QUICK_ACTIONS_MORE_FRIENDLY'),'type':'ACTION'},{'id':'make-tone-confident','displayedPrompt':getTranslation$i(_0x117313,'AI_QUICK_ACTIONS_MORE_CONFIDENT'),'type':'ACTION'},{'id':'make-tone-professional','displayedPrompt':getTranslation$i(_0x117313,'AI_QUICK_ACTIONS_MORE_PROFESSIONAL'),'type':'ACTION'}]},{'id':'translate','label':getTranslation$i(_0x117313,'AI_QUICK_ACTIONS_TRANSLATE'),'icon':ckeditor5['IconAITranslate'],'actions':[{'id':'translate-to-english','displayedPrompt':getTranslation$i(_0x117313,'AI_QUICK_ACTIONS_TRANSLATE_ENGLISH'),'type':'ACTION','actionName':'translate','args':{'language':'english'}},{'id':'translate-to-chinese','displayedPrompt':getTranslation$i(_0x117313,'AI_QUICK_ACTIONS_TRANSLATE_CHINESE'),'type':'ACTION','actionName':'translate','args':{'language':'chinese'}},{'id':'translate-to-spanish','displayedPrompt':getTranslation$i(_0x117313,'AI_QUICK_ACTIONS_TRANSLATE_SPANISH'),'type':'ACTION','actionName':'translate','args':{'language':'spanish'}},{'id':'translate-to-german','displayedPrompt':getTranslation$i(_0x117313,'AI_QUICK_ACTIONS_TRANSLATE_GERMAN'),'type':'ACTION','actionName':'translate','args':{'language':'german'}},{'id':'translate-to-french','displayedPrompt':getTranslation$i(_0x117313,'AI_QUICK_ACTIONS_TRANSLATE_FRENCH'),'type':'ACTION','actionName':'translate','args':{'language':'french'}},{'id':'translate-to-japanese','displayedPrompt':getTranslation$i(_0x117313,'AI_QUICK_ACTIONS_TRANSLATE_JAPANESE'),'type':'ACTION','actionName':'translate','args':{'language':'japanese'}},{'id':'translate-to-portuguese','displayedPrompt':getTranslation$i(_0x117313,'AI_QUICK_ACTIONS_TRANSLATE_PORTUGUESE'),'type':'ACTION','actionName':'translate','args':{'language':'portuguese'}},{'id':'translate-to-korean','displayedPrompt':getTranslation$i(_0x117313,'AI_QUICK_ACTIONS_TRANSLATE_KOREAN'),'type':'ACTION','actionName':'translate','args':{'language':'korean'}},{'id':'translate-to-italian','displayedPrompt':getTranslation$i(_0x117313,'AI_QUICK_ACTIONS_TRANSLATE_ITALIAN'),'type':'ACTION','actionName':'translate','args':{'language':'italian'}},{'id':'translate-to-russian','displayedPrompt':getTranslation$i(_0x117313,'AI_QUICK_ACTIONS_TRANSLATE_RUSSIAN'),'type':'ACTION','actionName':'translate','args':{'language':'russian'}}]},{'id':'other','label':getTranslation$i(_0x117313,'AI_QUICK_ACTIONS_OTHER'),'icon':ckeditor5['IconAIOther'],'actions':[]}];}class AIQuickActionsCommand extends ckeditor5['Command']{['execute'](_0x507035){switch(this['_expandSelectionIfCollapsed'](),_0x507035['type']){case AIQuickActionType['CHAT']:if(!this['editor']['plugins']['has']('AIChat')){const _0x2fab7f=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':_0x2fab7f});}this['_handleAIChatAction'](_0x507035);break;case AIQuickActionType['ACTION']:if(!this['editor']['plugins']['has']('AIActions')){const _0x56691c=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':_0x56691c});}this['_handleAIActionsAction'](_0x507035);break;case AIQuickActionType['REVIEW']:if(!this['editor']['plugins']['has']('AIReviewMode')){const _0x5bfa05=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':_0x5bfa05});}this['_handleAIReviewAction'](_0x507035);}}async['_handleAIChatAction'](_0x423373){const _0x44b8e3=this['editor']['plugins']['get']('AIChat'),_0x217c43=this['editor']['plugins']['get']('AIChatController');if(this['editor']['plugins']['get']('AITabs')['view']['activateTab']('chat'),'ask-ai'===_0x423373['id'])_0x217c43['removeSelectionFromChatContext'](),await _0x44b8e3['addSelectionToChatContext'](),_0x44b8e3['focusPromptInput']();else await _0x44b8e3['startConversation'](),_0x217c43['removeSelectionFromChatContext'](),await _0x44b8e3['addSelectionToChatContext'](),_0x44b8e3['focusPromptInput'](),await _0x44b8e3['sendMessage']({'message':_0x423373['prompt']||_0x423373['displayedPrompt'],'quickActionData':{'id':_0x423373['id'],'displayedPrompt':_0x423373['displayedPrompt']}});}['_expandSelectionIfCollapsed'](){const _0xbb2894=this['editor'],_0x3be602=_0xbb2894['model']['document']['selection'];if(!_0x3be602['isCollapsed'])return;const _0x3c53f7=ckeditor5['first'](_0x3be602['getSelectedBlocks']())||_0xbb2894['model']['schema']['getLimitElement'](_0x3be602);_0xbb2894['model']['change'](_0x587284=>{_0x587284['setSelection'](_0x3c53f7,'in');});}['_handleAIActionsActionLabel'](_0x3e016c){return _0x3e016c['parent']?.['label']&&'other'!==_0x3e016c['parent']?.['id']?_0x3e016c['parent']['label']+':\x20'+_0x3e016c['displayedPrompt']:_0x3e016c['displayedPrompt'];}async['_handleAIActionsAction'](_0x30d785){const _0x886c45=this['editor']['plugins']['get']('AIActions'),_0x314584=_0x30d785['prompt']?{'userMessage':_0x30d785['prompt'],'model':_0x30d785['model']}:{'actionName':_0x30d785['actionName']||_0x30d785['id'],'args':_0x30d785['args']},_0x3b28f4=this['_handleAIActionsActionLabel'](_0x30d785);await _0x886c45['executeAction'](_0x314584,_0x3b28f4,_0x30d785['icon']);}async['_handleAIReviewAction'](_0x4bf8d7){console['log']('handleAIReviewAction',_0x4bf8d7);}}class AIQuickActionsEditing extends ckeditor5['Plugin']{static get['pluginName'](){return'AIQuickActionsEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x350b30=this['editor'],_0x44c21a=new AIQuickActionsCommand(this['editor']);if(_0x350b30['commands']['add']('aiQuickAction',_0x44c21a),_0x350b30['plugins']['has']('AIChat')){const _0xc70dfc=this['editor']['plugins']['get']('AIChat');_0x350b30['model']['document']['selection']['on']('change:range',(_0x468313,_0x383c2a)=>{_0x383c2a['directChange']&&_0xc70dfc['removeSelectionFromChatContext']();});}}}class AIActionsReply extends _0x2566d9{['updateChangeGroups'](){if(this['parsedMergedContent']=this['parsedContent']['cloneNode'](!0x0),0x0==this['parsedMergedContent']['childNodes']['length'])return void(this['changeGroups']=[]);const _0x10871f=_0x2d992d(this['documentContextContent']['children']['map'](_0x3a17f9=>({'node':_0x3a17f9,'id':getAttribute(_0x3a17f9,'data-id')})),this['parsedMergedContent']['children']['map'](_0x402e61=>({'node':_0x402e61,'id':getAttribute(_0x402e61,'data-id')||ckeditor5['uid']()})),{'comparator':(_0x48cb0d,_0x2d951a)=>_0x48cb0d['id']==_0x2d951a['id'],'oneChangePerToken':!0x0});if(!this['isDone']){for(;_0x10871f['length']&&_0x10871f[_0x10871f['length']-0x1]['removed'];)_0x10871f['pop']();}const _0x39a295=_0x10871f['map'](_0x56a395=>{const _0x3e92c4=_0x56a395['added']?'new':_0x56a395['removed']?'removed':'modified';return{'node':_0x56a395['value'][0x0]['node'],'type':_0x3e92c4,'id':_0x56a395['value'][0x0]['id']};});this['changeGroups']=[{'changes':_0x39a295,'state':'pending','index':0x0}];}['_getDifferentChangeGroups'](_0x2b8e28,_0x100f00){return _0x100f00;}}class AIActionsInteraction extends AIInteraction{['content'];['version'];['actionName'];['args'];['userMessage'];['model'];['hasError']=!0x1;constructor(_0x3e847d){super(_0x3e847d),this['content']=_0x3e847d['content'],this['version']=_0x3e847d['version'],this['actionName']=_0x3e847d['actionName'],this['args']=_0x3e847d['args'],this['userMessage']=_0x3e847d['userMessage'],this['model']=_0x3e847d['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'](_0x4bdaa3){const _0x153adb=new AIActionsReply({'editor':this['editor'],'documentContextContent':this['content'],..._0x4bdaa3});return this['replies']['push'](_0x153adb),_0x153adb['delegate'](..._0x4c19e6)['to'](this),this['fire']('replyCreated',_0x153adb),_0x153adb;}}class AIActions extends ckeditor5['Plugin']{static get['requires'](){return[AIConnector,ckeditor5['Dialog'],AIEditing,_0x335177,DocumentCompare];}static get['pluginName'](){return'AIActions';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['_aiConnector'];['_interactions']=[];['_currentInteractionIndex']=0x0;['_interactionParams'];['_balloonShowDiff']=!0x1;['_customViews']=new ckeditor5['ViewCollection']();['_navigationPreviousButton'];['_navigationCounter'];['_isNavigationCounterInView']=!0x1;['_navigationNextButton'];['_isNavigationPreviousButtonInView']=!0x1;['_isNavigationNextButtonInView']=!0x1;['_promiseQueue'];get['_interaction'](){return this['_interactions'][this['_interactions']['length']-0x1];}constructor(_0x4073ad){super(_0x4073ad),this['_aiConnector']=this['editor']['plugins']['get']('AIConnector'),this['set']('isBusy',!0x1),this['_promiseQueue']=new _0x209e4e(),this['_setupCustomViews']();}['stopInteraction'](){this['_stopInteraction']();}async['executeAction'](_0x5694aa,_0x3b9220,_0x2774af){if(this['editor']['plugins']['has']('TableSelection')){if(this['editor']['plugins']['get']('TableSelection')['getSelectedTableCells']()){const {modelFragment:_0x231c8e,anchorData:_0x39bb46}=this['_getExecuteDataInTable']();return this['_executeAction'](_0x5694aa,_0x231c8e,_0x39bb46,_0x3b9220,_0x2774af);}}const {modelFragment:_0x7f3188,anchorData:_0x232003}=this['_getExecuteDataRegular']();return this['_executeAction'](_0x5694aa,_0x7f3188,_0x232003,_0x3b9220,_0x2774af);}['_getExecuteDataRegular'](){const _0x3af5a1=this['editor']['model']['document']['selection'];if(_0x3af5a1['isCollapsed']){const _0x458cb7=ckeditor5['first'](_0x3af5a1['getSelectedBlocks']())||this['editor']['model']['schema']['getLimitElement'](_0x3af5a1);this['editor']['model']['change'](_0x5ef0d9=>{_0x5ef0d9['setSelection'](_0x458cb7,'in');});}const _0x29a851=_0x3af5a1['getFirstRange'](),_0x4179c8=this['_wrapWithCommonAncestors'](this['editor']['model']['getSelectedContent'](_0x3af5a1),_0x29a851['start'],_0x29a851['end']),_0x4c71e9=_0x3af5a1['getFirstRange']()['start'],_0x26c4c7=new Map();let _0x127962=_0x4179c8;for(let _0x20f07e=0x0;_0x20f07e<_0x4c71e9['path']['length'];_0x20f07e++)_0x26c4c7['set'](_0x127962,_0x4c71e9['path'][_0x20f07e]),_0x127962=_0x127962['getChild'](0x0);return{'modelFragment':_0x4179c8,'anchorData':_0x26c4c7};}['_getExecuteDataInTable'](){const _0x38806c=this['editor']['model']['document']['selection'],_0x2d1719=this['editor']['plugins']['get']('TableSelection')['getSelectionAsFragment'](),_0x525110=_0x38806c['getFirstRange']()['start']['parent']['parent'],_0x3e1916=this['_wrapWithCommonAncestors'](_0x2d1719,this['editor']['model']['createPositionBefore'](_0x525110),this['editor']['model']['createPositionAfter'](_0x525110)),_0x41ee19=_0x38806c['getFirstRange']()['start'],_0x30f619=new Map();let _0xf1754e=_0x3e1916;for(let _0x2fd277=0x0;_0x2fd277<_0x41ee19['path']['length'];_0x2fd277++)if(_0x30f619['set'](_0xf1754e,_0x41ee19['path'][_0x2fd277]),_0x2fd277<_0x41ee19['path']['length']-0x1)_0xf1754e=_0xf1754e['getChild'](0x0);else{let _0x511cd9=_0xf1754e['nextSibling'];for(;_0x511cd9;)_0x30f619['set'](_0x511cd9,_0x41ee19['path'][_0x2fd277]),_0x511cd9=_0x511cd9['nextSibling'];}return{'modelFragment':_0x3e1916,'anchorData':_0x30f619};}['_executeAction'](_0x1f597b,_0x519e5b,_0x3e4eec,_0x1e0783,_0x580782){const _0x597e1b=this['editor']['plugins']['get'](AIEditing),_0x3ce816=this['editor']['plugins']['get'](_0x335177),_0x49b415=this['editor']['model']['document']['selection'],_0x1cfd29=_0x597e1b['modelToViewWithIds'](_0x519e5b),_0x14d289=this['editor']['data']['processor']['toData'](_0x1cfd29),_0x10e39d=this['editor']['model']['document']['version'],_0x5a4148=[..._0x49b415['getRanges']()],_0x4c6268=new AISuggestionContainerView(this['editor']['locale'],{'showDiff':!0x1,'areActionsDisabled':!0x1,'hideHeader':!0x0,'showLoader':!0x0,'miniToolbarConfig':{'showChanges':'icon','customView':this['_customViews']},'showUnchangedParts':!0x0});return _0x3ce816['open']({'index':0x3e8*Math['random']()%0x3e8,'title':_0x1e0783,'icon':_0x580782||ckeditor5['IconAIQuickActions'],'mainView':_0x4c6268,'showRotator':!0x1,'showApplyButton':!0x0,'showSuggestButton':!0x0,'ranges':_0x5a4148}),this['_setLoadingState'](_0x4c6268,_0x3ce816),this['listenTo'](_0x3ce816,'applySuggestion',()=>{this['_applyChanges'](_0x519e5b,_0x3e4eec,!0x1);}),this['listenTo'](_0x3ce816,'insertSuggestion',()=>{this['_applyChanges'](_0x519e5b,_0x3e4eec,!0x0);}),this['listenTo'](_0x3ce816,'dialogClosed',()=>{if(this['_interaction']&&this['_interaction']['replies']['length']>0x0){const _0x3b484a=this['_interaction']['replies'][this['_interaction']['replies']['length']-0x1],_0x5f21c3=_0x3b484a['changeGroups'][0x0];_0x5f21c3&&'pending'===_0x5f21c3['state']&&_0x3b484a['setChangeGroupState'](0x0,'rejected');}this['_stopInteraction'](),this['_clearInteractionHistory'](),this['stopListening'](_0x3ce816);}),this['_createInteraction'](_0x14d289,_0x10e39d,_0x4c6268,_0x3ce816,_0x1f597b);}['_wrapWithCommonAncestors'](_0x4eb5e5,_0x950471,_0x318a10){const _0xc2d83c=this['editor']['model']['createRange'](_0x950471,_0x318a10)['getCommonAncestor'](),_0x247059=_0xc2d83c['is']('documentFragment')?[]:_0xc2d83c['getAncestors']({'includeSelf':!0x0})['slice'](0x1);if(_0x247059['length']){const _0x21a0f1=_0x247059['map'](_0x170688=>_0x170688['_clone'](!0x1));for(let _0x43af6b=0x1;_0x43af6b<_0x21a0f1['length'];_0x43af6b++)_0x21a0f1[_0x43af6b-0x1]['_appendChild'](_0x21a0f1[_0x43af6b]);return _0x21a0f1[_0x21a0f1['length']-0x1]['_appendChild'](_0x4eb5e5),new ckeditor5['ModelDocumentFragment'](_0x21a0f1[0x0]);}return _0x4eb5e5;}async['_createInteraction'](_0x37e1f1,_0x59f895,_0xde2633,_0x10ca3a,_0x4be2a5){const _0x12727f=this['editor'];this['_interactionParams']={'action':_0x4be2a5,'content':_0x37e1f1,'version':_0x59f895,'mainView':_0xde2633,'aiBalloon':_0x10ca3a};const _0x7e58c=new AIActionsInteraction({'connector':this['_aiConnector'],'editor':_0x12727f,'content':_0x37e1f1,'version':_0x59f895,..._0x4be2a5});this['_interactions']['push'](_0x7e58c),_0xde2633['hideError']();const _0x46688a=(_0x108fd6,_0x4fd9e1,_0xe30b82=!0x1,_0x4800a3='streaming')=>this['_promiseQueue']['enqueue'](async _0x29a280=>{try{const _0x1193b7=getSuggestionPartsFromReply({'editor':_0x12727f,'changeGroups':_0x108fd6['changeGroups'],'documentContextContent':_0x108fd6['documentContextContent'],'showDiff':_0xe30b82,'trimUnchanged':!0x1});await _0x4fd9e1['updateContent']({'parts':_0x1193b7,'renderingStrategy':_0x4800a3,'abortSignal':_0x29a280});}catch(_0x160d77){if(this['_isAbortError'](_0x160d77))return;throw _0x160d77;}});this['_interaction']['on']('replyCreated',(_0x4a5158,_0x7e3dee)=>{_0xde2633['hideLoader'](),_0x46688a(_0x7e3dee,_0xde2633)['catch'](_0x910539=>{this['_isAbortError'](_0x910539)||(console['error']('Error\x20updating\x20content\x20in\x20replyCreated:',_0x910539),this['_setErrorState'](_0x7e58c,_0xde2633));});}),this['_interaction']['on']('replyContentUpdated',(_0x16a15b,_0x25cb0f)=>{_0x46688a(_0x25cb0f,_0xde2633)['catch'](_0x559751=>{this['_isAbortError'](_0x559751)||(console['error']('Error\x20updating\x20content\x20in\x20replyContentUpdated:',_0x559751),this['_setErrorState'](_0x7e58c,_0xde2633));});}),this['_interaction']['on']('interactionFinished',async()=>{try{await this['_clearLoadingState'](_0xde2633,_0x10ca3a),this['_updateNavigationUI']();}catch(_0x59a40b){this['_isAbortError'](_0x59a40b)||(console['error']('Error\x20clearing\x20loading\x20state\x20in\x20interactionFinished:',_0x59a40b),this['_setErrorState'](_0x7e58c,_0xde2633));}}),this['listenTo'](_0xde2633,'toggleSuggestionDisplayMode',(_0x5cb834,{showDiff:_0x2d8920})=>{this['_balloonShowDiff']=_0x2d8920;const _0x1a2a56=this['_interaction']['replies'][this['_interaction']['replies']['length']-0x1];_0x1a2a56&&_0x46688a(_0x1a2a56,_0xde2633,_0x2d8920,'static')['catch'](_0x409abc=>{this['_isAbortError'](_0x409abc)||(console['error']('Error\x20updating\x20content\x20in\x20toggleSuggestionDisplayMode:',_0x409abc),this['_setErrorState'](_0x7e58c,_0xde2633));});}),this['_interaction']['on']('replyChangeGroupStateUpdated',(_0x4c179e,{reply:_0x414fe1})=>{const _0x355b71={'positiveCount':_0x414fe1['changeGroups']['filter'](_0x3227c2=>'accepted'===_0x3227c2['state'])['length'],'totalCount':_0x414fe1['changeGroups']['length']},_0x30cac3=this['_interaction']['actionCallId'],_0x1549f6=this['_interaction']['actionName'];_0x1549f6?this['_aiConnector']['upsertAIActionRating'](_0x1549f6,_0x30cac3,_0x355b71):this['_aiConnector']['upsertCustomAIActionRating'](_0x30cac3,_0x355b71);}),this['_setLoadingState'](_0xde2633,_0x10ca3a);try{const _0xdcb471=await this['_interaction']['start']();return this['_updateNavigationUI'](),_0xdcb471;}catch(_0x3de10a){if(this['_isAbortError'](_0x3de10a))return;_0xde2633['hideLoader'](),this['_setErrorState'](_0x7e58c,_0xde2633);}}['_applyChanges'](_0x19e973,_0x43528e,_0x4ae6f4){const _0x453ba9=this['editor'],_0x18ba95=this['editor']['plugins']['get'](DocumentCompare),_0x348a13=this['_interaction'],_0xee21b1=this['_interaction']['replies'][this['_interaction']['replies']['length']-0x1],_0x203af8=_0xee21b1['changeGroups'];_0xee21b1['setChangeGroupState'](0x0,'accepted');let _0x4b1a2d=getOperationsFromReply({'editor':_0x453ba9,'reply':_0xee21b1,'interaction':_0x348a13,'groups':_0x203af8,'transform':!0x1,'documentCompare':_0x18ba95,'documentCompareOptions':{'anchor':_0x453ba9['model']['createPositionAt'](_0x19e973,0x0),'markDeletions':_0x4ae6f4}});_0x4b1a2d=this['_filterOperationsOutsideRange'](_0x4b1a2d,_0x43528e);for(const _0x14596b of _0x4b1a2d)this['_anchorOperation'](_0x43528e,_0x14596b,_0x453ba9['model']['document']['getRoot']());const _0x3228f7=_0x348a13['getDocumentContext']()['version'],_0x2f4341=_0x453ba9['model']['document']['history']['getOperations'](_0x3228f7),_0x1e8012={'document':_0x453ba9['model']['document'],'useRelations':!0x1,'padWithNoOps':!0x1},_0x1cf0d6=ckeditor5['transformOperationSets'](_0x4b1a2d,_0x2f4341,_0x1e8012)['operationsA'];_0x453ba9['model']['change'](_0x47a211=>{if(_0x47a211['setSelection'](_0x453ba9['model']['document']['selection']['focus']),_0x4ae6f4)_0x453ba9['plugins']['get']('TrackChangesEditing')['_applyOperationsAsSuggestions'](_0x1cf0d6);else{for(const _0x5cf750 of _0x1cf0d6)_0x5cf750['baseVersion']=_0x453ba9['model']['document']['version'],_0x47a211['batch']['addOperation'](_0x5cf750),_0x453ba9['model']['applyOperation'](_0x5cf750);}}),this['editor']['plugins']['get']('AIBalloon')['close']();}['_filterOperationsOutsideRange'](_0x530af1,_0x500748){return _0x530af1['filter'](_0x268ec1=>{if('rename'==_0x268ec1['type']){const _0x348f9a=_0x268ec1['position']['nodeAfter'];return!_0x500748['has'](_0x348f9a);}if(_0x268ec1['type']['indexOf']('Attribute')>-0x1){const _0x2f3a0b=_0x268ec1['range']['start']['nodeAfter'];return!_0x500748['has'](_0x2f3a0b);}return!0x0;});}['_anchorOperation'](_0x274e56,_0x583d65,_0x2680f2){const _0x4a6b98=_0x583d65['clone']();for(const _0x37c331 in _0x583d65){const _0x2be79e=_0x583d65[_0x37c331];_0x2be79e instanceof ckeditor5['ModelRange']?_0x583d65[_0x37c331]=new ckeditor5['ModelRange'](_0x4bb13f(_0x2be79e['start']),_0x4bb13f(_0x2be79e['end'])):_0x2be79e instanceof ckeditor5['ModelPosition']&&(_0x583d65[_0x37c331]=_0x4bb13f(_0x2be79e));}if(['insert','move','remove','reinsert','split','merge']['includes'](_0x4a6b98['type'])){if(_0x4a6b98['isDocumentOperation']=!0x1,_0x4a6b98['baseVersion']=null,'remove'==_0x4a6b98['type']){const _0x285fcd=_0x4a6b98['sourcePosition'],_0x2c5f28=_0x4a6b98['howMany'];new ckeditor5['_DetachOperation'](_0x285fcd,_0x2c5f28)['_execute']();}else _0x4a6b98['_execute']();}function _0x4bb13f(_0x3e6156){if('$graveyard'==_0x3e6156['root']['rootName'])return _0x3e6156;const _0x1e9679=[];let _0x5dfcab=_0x3e6156['root'];for(let _0x17b9be=0x0;_0x17b9be<_0x3e6156['path']['length'];_0x17b9be++){const _0x3b149e=_0x274e56['get'](_0x5dfcab)||0x0;_0x1e9679[_0x17b9be]=_0x3e6156['path'][_0x17b9be]+_0x3b149e,_0x5dfcab=_0x5dfcab['getChildAtOffset'](_0x3e6156['path'][_0x17b9be]);}return new ckeditor5['ModelPosition'](_0x2680f2,_0x1e9679,_0x3e6156['stickiness']);}}['_refreshInteraction'](){if(!this['_interactionParams'])return;this['_interactions']['length']>0x0&&this['_stopInteraction'](),this['_currentInteractionIndex']=0x0,this['_balloonShowDiff']=!0x1;const {action:_0x55198b,content:_0x533e67,version:_0x84f4bc,mainView:_0x2b6df8,aiBalloon:_0x5f44c4}=this['_interactionParams'];_0x2b6df8['areChangesVisible']=!0x1,_0x2b6df8['hideError'](),this['_clearErrorState'](_0x2b6df8,_0x5f44c4);const _0x4b94ae=_0x2b6df8;_0x4b94ae['miniToolbarView']&&_0x4b94ae['miniToolbarView']['showChangesButton']&&_0x4b94ae['miniToolbarView']['showChangesButton']['set']({'isOn':!0x1,'icon':ckeditor5['IconShowChangesOff']}),this['_clearSuggestionContent'](_0x2b6df8),_0x2b6df8['showLoader'](),this['_updateNavigationUI'](),this['_createInteraction'](_0x533e67,_0x84f4bc,_0x2b6df8,_0x5f44c4,_0x55198b)['catch'](_0xf924a4=>{this['_isAbortError'](_0xf924a4)||console['error']('Error\x20refreshing\x20interaction:',_0xf924a4);});}['_clearSuggestionContent'](_0x46452e){const _0x4cba6d=_0x46452e['bodyView']['_children'];for(;_0x4cba6d['length']>0x0;)_0x4cba6d['remove'](_0x4cba6d['first']);_0x46452e['bodyView']['hasPendingParts']=!0x1;}['_isAbortError'](_0x106726){return!!_0x106726['message']&&_0x106726['message']['startsWith']('ai-request-aborted');}['_clearInteractionHistory'](){this['_interactions']=[],this['_interactionParams']=void 0x0,this['_currentInteractionIndex']=0x0,this['_updateNavigationUI']();}['_stopInteraction'](){this['_interaction']&&this['_interaction']['stop'](),this['_promiseQueue']['abort'](),this['isBusy']=!0x1;}['_setupCustomViews'](){const _0x35be1b=new ckeditor5['ButtonView'](this['editor']['locale']),_0x782086=new ckeditor5['ButtonView'](this['editor']['locale']),_0x3694c7=new ckeditor5['View'](this['editor']['locale']),_0x2ac2e5=new ckeditor5['ButtonView'](this['editor']['locale']);_0x35be1b['set']({'icon':ckeditor5['IconRefresh'],'label':getTranslation$i(this['editor']['locale'],'AI_ACTIONS_TRY_AGAIN'),'tooltip':!0x0,'class':'ck-ai-custom-action-button'}),_0x782086['set']({'icon':ckeditor5['IconPreviousArrow'],'tooltip':getTranslation$i(this['editor']['locale'],'AI_ACTIONS_PREVIOUS_INTERACTION'),'class':'ck-ai-navigation-button\x20ck-ai-previous-button'}),_0x3694c7['setTemplate']({'tag':'span','attributes':{'class':['ck-ai-interaction-counter']},'children':['1/1']}),_0x2ac2e5['set']({'icon':ckeditor5['IconNextArrow'],'tooltip':getTranslation$i(this['editor']['locale'],'AI_ACTIONS_NEXT_INTERACTION'),'class':'ck-ai-navigation-button\x20ck-ai-next-button'}),_0x35be1b['bind']('isEnabled')['to'](this,'isBusy',_0x551104=>!_0x551104),_0x35be1b['on']('execute',()=>{this['_refreshInteraction']();}),_0x782086['bind']('isEnabled')['to'](this,'isBusy',_0x50994e=>!_0x50994e),_0x782086['on']('execute',()=>{this['_navigateToPrevious']();}),_0x2ac2e5['bind']('isEnabled')['to'](this,'isBusy',_0x1716d5=>!_0x1716d5),_0x2ac2e5['on']('execute',()=>{this['_navigateToNext']();}),this['_navigationPreviousButton']=_0x782086,this['_navigationCounter']=_0x3694c7,this['_navigationNextButton']=_0x2ac2e5,this['_customViews']['add'](_0x35be1b);}['_navigateToPrevious'](){const _0x5e9679=this['_interactions']['length'];this['_currentInteractionIndex']<_0x5e9679-0x1&&this['_displayInteractionAtIndex'](this['_currentInteractionIndex']+0x1);}['_navigateToNext'](){this['_currentInteractionIndex']>0x0&&this['_displayInteractionAtIndex'](this['_currentInteractionIndex']-0x1);}async['_displayInteractionAtIndex'](_0x501af7){if(!this['_interactionParams'])return;this['_currentInteractionIndex']=_0x501af7;const {mainView:_0x2f837b}=this['_interactionParams'],_0xfbf256=this['_interactions'][this['_interactions']['length']-0x1-this['_currentInteractionIndex']];if(!_0xfbf256)return;if(_0xfbf256['hasError'])return this['_setErrorState'](_0xfbf256,_0x2f837b),void this['_updateNavigationUI']();if(!_0xfbf256['replies']['length'])return;_0x2f837b['hideError'](),this['_interactionParams']&&this['_clearErrorState'](_0x2f837b,this['_interactionParams']['aiBalloon']);const _0xf87ad9=_0xfbf256['replies'][_0xfbf256['replies']['length']-0x1];if(_0xf87ad9){const _0x46e052=this['editor'];this['_clearSuggestionContent'](_0x2f837b);try{const _0x469f9f=getSuggestionPartsFromReply({'editor':_0x46e052,'changeGroups':_0xf87ad9['changeGroups'],'documentContextContent':_0xf87ad9['documentContextContent'],'showDiff':this['_balloonShowDiff'],'trimUnchanged':!0x1});this['_clearSuggestionContent'](_0x2f837b),await new Promise(_0x3f110a=>setTimeout(_0x3f110a,0x32)),await _0x2f837b['updateContent']({'parts':_0x469f9f,'renderingStrategy':'static','abortSignal':new AbortController()['signal']});}catch(_0x16ea69){this['_isAbortError'](_0x16ea69)||console['error']('Error\x20updating\x20content\x20during\x20navigation:',_0x16ea69);}}this['_updateNavigationUI']();}['_updateNavigationUI'](){if(!this['_navigationPreviousButton']||!this['_navigationCounter']||!this['_navigationNextButton'])return;const _0x5139c0=this['_interactions']['length'],_0x1450d0=_0x5139c0>0x1,_0x137630=this['_interactionParams']?.['mainView'];if(_0x1450d0){this['_isNavigationPreviousButtonInView']||this['_isNavigationCounterInView']||this['_isNavigationNextButtonInView']||(this['_customViews']['add'](this['_navigationPreviousButton']),_0x137630?.['addNavigationItem'](this['_navigationPreviousButton']),this['_isNavigationPreviousButtonInView']=!0x0,this['_customViews']['add'](this['_navigationCounter']),_0x137630?.['addNavigationItem'](this['_navigationCounter']),this['_isNavigationCounterInView']=!0x0,this['_customViews']['add'](this['_navigationNextButton']),_0x137630?.['addNavigationItem'](this['_navigationNextButton']),this['_isNavigationNextButtonInView']=!0x0);const _0x25c7e8=_0x5139c0-this['_currentInteractionIndex'];this['_navigationCounter']['element']&&(this['_navigationCounter']['element']['textContent']=_0x25c7e8+'/'+_0x5139c0),this['_navigationPreviousButton']['isEnabled']=this['_currentInteractionIndex']<_0x5139c0-0x1,this['_navigationNextButton']['isEnabled']=this['_currentInteractionIndex']>0x0;}else(this['_isNavigationPreviousButtonInView']||this['_isNavigationCounterInView']||this['_isNavigationNextButtonInView'])&&(this['_customViews']['remove'](this['_navigationPreviousButton']),_0x137630?.['removeNavigationItem'](this['_navigationPreviousButton']),this['_isNavigationPreviousButtonInView']=!0x1,this['_customViews']['remove'](this['_navigationCounter']),_0x137630?.['removeNavigationItem'](this['_navigationCounter']),this['_isNavigationCounterInView']=!0x1,this['_customViews']['remove'](this['_navigationNextButton']),_0x137630?.['removeNavigationItem'](this['_navigationNextButton']),this['_isNavigationNextButtonInView']=!0x1);}['_setLoadingState'](_0x2904cc,_0x219a38){_0x2904cc['setLoading'](),_0x219a38['balloonView']['setLoading'](),this['isBusy']=!0x0;}async['_setErrorState'](_0x27ce90,_0x112e17){const _0x3668dc=getTranslation$i(this['editor']['locale'],'AI_ACTIONS_GENERIC_ERROR');_0x112e17['showError'](_0x3668dc),_0x27ce90['hasError']=!0x0,await this['_promiseQueue']['queueEmptyPromise'],_0x112e17['setErrorState'](),this['_interactionParams']?.['aiBalloon']['balloonView']['toolbar']&&(this['_interactionParams']['aiBalloon']['balloonView']['toolbar']['isLoading']=!0x0);}['_clearErrorState'](_0x10d2ba,_0x9666c){_0x10d2ba['clearErrorState'](),_0x9666c['balloonView']['toolbar']&&(_0x9666c['balloonView']['toolbar']['isLoading']=!0x1);}async['_clearLoadingState'](_0x5acf18,_0x4a8034){await this['_promiseQueue']['queueEmptyPromise'],this['isBusy']=!0x1,_0x5acf18['clearLoading'](),_0x4a8034['balloonView']['clearLoading']();}}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(_0x3ec5ba){super(_0x3ec5ba),_0x3ec5ba['config']['define']('ai.quickActions',{'extraCommands':[],'removeCommands':[]});}}class _0x582b95{['id'];['title'];['description'];['isParameterized'];['useArgs'];['options'];constructor({id:_0x2e34ab,title:_0x281aeb,description:_0x2123af,isParameterized:_0x131e07,useArgs:_0x3e06ec,options:_0x3efb8f}){this['id']=_0x2e34ab,this['title']=_0x281aeb,this['description']=_0x2123af,this['isParameterized']=_0x131e07,this['useArgs']=_0x3e06ec,this['options']=_0x3efb8f;}}class AIReviewCheckCustom extends _0x582b95{['_models']=[];get['models'](){return this['_models'];}set['models'](_0x336e43){this['_models']=_0x336e43;}}class AIReviewCheckList extends ckeditor5['ObservableMixin'](){['_checks'];constructor(_0x5dc337){super(),this['_checks']=this['_mapCheckDefinitions'](_0x5dc337);}get['checks'](){return this['_checks'];}['getCheckById'](_0x1de9c2){return this['checks']['find'](_0x87e687=>_0x87e687['id']===_0x1de9c2);}['_mapCheckDefinitions'](_0x2d635c){return _0x2d635c['map'](_0x3f5e1f=>'custom'===_0x3f5e1f['id']?new AIReviewCheckCustom(_0x3f5e1f):new _0x582b95(_0x3f5e1f));}}class AIReviewCheckResult extends ckeditor5['EmitterMixin'](){['id'];['contentNew'];['contentInitial'];['documentVersion'];constructor({id:_0x157dd2,contentNew:_0x409219,contentInitial:_0x482070,documentVersion:_0x4a77d7}){super(),this['id']=_0x157dd2,this['contentNew']=_0x409219,this['contentInitial']=_0x482070,this['documentVersion']=_0x4a77d7;}}class AIReviewCheckResultChange extends ckeditor5['ObservableMixin'](){['id'];['parent'];['_data'];['_editorOperations']=[];constructor(_0x329a0e,_0x4b3f05,_0x3b31f7){super(),this['id']=_0x329a0e,this['parent']=_0x3b31f7,this['_data']=_0x4b3f05,this['set']('isActivated',!0x1),this['set']('isRated',!0x1),this['set']('status','active');}get['contentDiffed'](){return this['_data']['context']();}get['operations'](){return this['_data']['operations'];}get['operationsIsolated'](){return this['_data']['operationsIsolated'];}}class _0x3ac1f7 extends ckeditor5['ObservableMixin'](){['id']=ckeditor5['uid']();['callId'];['_results']=new Map();['_changes']=[];['_documentData'];['_sourceCheck'];['_aiConnector'];['_reviewParams'];['_reviewArgs'];['_activeRequest']=null;['_currentError'];constructor(_0x38d033,_0x4609d0,_0x3f566b,_0xf0e8c,_0x1993a0){super(),this['_documentData']=_0x38d033,this['_sourceCheck']=_0x4609d0,this['_aiConnector']=_0x3f566b,this['_reviewParams']=_0xf0e8c,this['_reviewArgs']=_0x1993a0,this['on']('change:status',(_0x4d3f3d,_0x5a4e0b,_0x5c3d4a)=>{this['fire']('reviewCheckRunUpdated',{'status':_0x5c3d4a,'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'](_0x468deb=>'active'===_0x468deb['status']);}async['start'](){this['status']='loading',this['_currentError']=void 0x0;try{this['_activeRequest']=this['_createApiRequest']();const _0x447003=await this['_activeRequest']['getStream']();this['status']='data';for await(const _0xceb438 of _0x447003)'unmodified'!==_0xceb438['data']['operation']&&('error'!==_0xceb438['data']['operation']?'review-metadata'!==_0xceb438['event']?this['_addReviewCheckResult'](_0xceb438['data']['dataId'],_0xceb438['data']['textDelta']):this['callId']=_0xceb438['data']['callId']:this['status']='error-chunk');'error-chunk'!==this['status']&&(0x0===this['_results']['size']?this['status']='unmodified':this['status']='ready');}catch(_0xe24c00){this['_currentError']=_0xe24c00,_0xe24c00 instanceof Error&&_0xe24c00['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'](_0x3db2be,_0x12792a){const _0xc0dcb9=this['_results']['get'](_0x3db2be);if(!_0xc0dcb9)return;const _0x111d69=[];_0x12792a['forEach']((_0xc00a0d,_0x4fb497)=>{const _0x5dd952=new AIReviewCheckResultChange(_0xc0dcb9['id']+'-'+_0x4fb497,_0xc00a0d,_0xc0dcb9);_0x5dd952['on']('change:status',()=>{'accepted'===_0x5dd952['status']?this['fire']('reviewCheckResultAccepted',{'change':_0x5dd952}):'rejected'===_0x5dd952['status']&&this['fire']('reviewCheckResultRejected',{'change':_0x5dd952});}),_0x5dd952['on']('change:isActivated',()=>{_0x5dd952['isActivated']?this['fire']('reviewCheckResultActivated',{'change':_0x5dd952}):this['fire']('reviewCheckResultDeactivated',{'change':_0x5dd952});}),this['_changes']['push'](_0x5dd952),_0x111d69['push'](_0x5dd952);}),this['fire']('reviewCheckResultReady',{'changes':_0x111d69,'result':_0xc0dcb9,'source':this});}['abort'](){this['_activeRequest']&&(this['_activeRequest']['abortController']['abort'](),this['_activeRequest']=null,this['status']='aborted');}['isChangeActive'](_0x14bcc4){const _0x209a2f=this['_changes']['find'](_0x1258e9=>_0x1258e9['id']===_0x14bcc4);return!(!_0x209a2f||'active'!==_0x209a2f['status']);}['getActiveChanges'](){return this['_changes']['filter'](_0x2fcb53=>'active'===_0x2fcb53['status']);}['markAllChangesAsAccepted'](){for(const _0x96e6ff of this['_changes'])'active'===_0x96e6ff['status']&&(_0x96e6ff['status']='accepted');this['_checkIfFinished']();}['markChangeAsAccepted'](_0x5b3a78){const _0x210a3b=this['_changes']['find'](_0x2e5bd3=>_0x2e5bd3['id']===_0x5b3a78);_0x210a3b&&'active'===_0x210a3b['status']&&(_0x210a3b['status']='accepted'),this['_checkIfFinished']();}['markChangeAsRejected'](_0x367ca6){const _0x116b04=this['_changes']['find'](_0x140b63=>_0x140b63['id']===_0x367ca6);_0x116b04&&'active'===_0x116b04['status']&&(_0x116b04['status']='rejected'),this['_checkIfFinished']();}['activateChange'](_0x11b87b){this['_changes']['filter'](_0xfbe78d=>_0xfbe78d['isActivated']&&_0xfbe78d['id']!==_0x11b87b)['forEach'](_0x168740=>{_0x168740['isActivated']=!0x1;});const _0x2752a5=this['_changes']['find'](_0x566510=>_0x566510['id']===_0x11b87b);_0x2752a5&&(_0x2752a5['isActivated']=!0x0);}['deactivateChange'](){this['_changes']['filter'](_0x10405e=>_0x10405e['isActivated'])['forEach'](_0x1eebb6=>{_0x1eebb6['isActivated']=!0x1;});}['forceReadyState'](){this['status']='ready';}async['sendRating'](_0x19cdd3){if('initialized'===this['status']||'loading'===this['status']||'data'===this['status'])return;if(!this['callId']||0x0===this['_changes']['length'])return;let _0x125e2d;if(_0x19cdd3){const _0x231388=this['_changes']['find'](_0x47df9e=>_0x47df9e['id']===_0x19cdd3);if(_0x231388&&_0x231388['isRated'])return;_0x231388&&(_0x125e2d=_0x231388['parent']['id'],_0x231388['isRated']=!0x0);}const _0x3d7b97={'positiveCount':this['_changes']['filter'](_0x127f6a=>'accepted'===_0x127f6a['status'])['length'],'totalCount':this['_changes']['length']};this['_sendRatingRequest'](_0x3d7b97,this['callId'],_0x125e2d);}['_addReviewCheckResult'](_0x844c77,_0x4095e7){const _0xcbdb9d=this['_documentData']['elements']['get'](_0x844c77);if(!_0xcbdb9d)return;const _0x456186=_0xcbdb9d['getContent']();if(_0x456186===_0x4095e7)return;const _0x281168=new AIReviewCheckResult({'id':_0x844c77,'contentInitial':_0x456186,'contentNew':_0x4095e7,'documentVersion':this['_documentData']['version']});this['_results']['set'](_0x281168['id'],_0x281168),this['fire']('reviewCheckResultAdded',{'result':_0x281168,'source':this});}['_checkIfFinished'](){if('ready'!==this['status'])return;0x0===this['_changes']['filter'](_0x2455ce=>'active'===_0x2455ce['status'])['length']&&(this['status']='finished');}}class AIReviewSystemCheckRun extends _0x3ac1f7{get['subTitle'](){if(!this['_reviewParams']||0x0===this['_reviewParams']['length'])return'';const _0x1aa12c=[];if(this['_reviewParams']['length']>0x0&&this['_sourceCheck']['options'])for(let _0x58d05a=0x0;_0x58d05a<this['_reviewParams']['length'];_0x58d05a++){if(!this['_reviewParams'][_0x58d05a]||!this['_sourceCheck']['options'][_0x58d05a])continue;const _0x47aa9a=this['_sourceCheck']['options'][_0x58d05a],_0x543341=_0x47aa9a['data']?.['find'](_0x265c62=>_0x265c62['id']===this['_reviewParams'][_0x58d05a]);_0x543341&&_0x1aa12c['push'](_0x543341['label']);}return _0x1aa12c['join'](',\x20');}get['reviewName'](){return this['_composeReviewName']();}['_createApiRequest'](){return this['_aiConnector']['callSystemReview']({'reviewName':this['_composeReviewName'](),'content':this['_documentData']['content'],'args':this['_reviewArgs']});}['_sendRatingRequest'](_0x5907be,_0x57fbfc,_0x2bd5fc){return this['_aiConnector']['upsertAIReviewRating'](this['reviewName'],_0x57fbfc,_0x5907be,_0x2bd5fc);}['_composeReviewName'](){return!this['_reviewParams']||0x0===this['_reviewParams']['length']||this['_sourceCheck']['useArgs']?this['_sourceCheck']['id']:[this['_sourceCheck']['id'],...this['_reviewParams']]['join']('-');}}class AIReviewCustomCheckRun extends _0x3ac1f7{['_prompt'];['_model'];constructor(_0x8cb57d,_0x2b2a16,_0x5cc255,_0x474823,_0x108e41){super(_0x5cc255,_0x474823,_0x108e41),this['_prompt']=_0x8cb57d,this['_model']=_0x2b2a16;}get['subTitle'](){return this['_prompt'];}['_createApiRequest'](){return this['_aiConnector']['callCustomReview']({'content':this['_documentData']['content'],'prompt':this['_prompt'],'model':this['_model']});}['_sendRatingRequest'](_0x2b2c49,_0x93192e,_0x4cc80a){return this['_aiConnector']['upsertCustomAIReviewRating'](_0x93192e,_0x2b2c49,_0x4cc80a);}}class _0x2697e9 extends ckeditor5['EmitterMixin'](){['_modelList']=[];['_connector'];constructor({connector:_0x912629}){super(),this['_connector']=_0x912629;}async['getAll'](){if(!this['_modelList']['length'])try{const _0x4ce87c=this['_connector']['getModels'](),_0x4b8d74=await _0x4ce87c['list']();this['_modelList']=_0x4b8d74['items'];}catch{}return this['_modelList'];}}const _0x5346c3=[{'id':'custom','title':'Custom\x20command','description':'Type\x20a\x20custom\x20command\x20to\x20review\x20the\x20content\x20exactly\x20as\x20you\x20need.','isParameterized':!0x0},{'id':'correctness','title':'Correctness','description':'Ensure\x20the\x20text\x20is\x20factually\x20accurate\x20and\x20free\x20of\x20errors.','isParameterized':!0x1},{'id':'clarity','title':'Clarity','description':'Improve\x20the\x20clarity\x20and\x20readability\x20of\x20the\x20text.','isParameterized':!0x1},{'id':'readability','title':'Readability','description':'Enhance\x20the\x20overall\x20readability\x20of\x20the\x20text.','isParameterized':!0x1},{'id':'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':'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'}]}]},{'id':'translate','title':'Translate','description':'Translate\x20the\x20text\x20into\x20another\x20language.','isParameterized':!0x0,'useArgs':!0x0,'options':[{'formType':'dropdown','label':'Select\x20language','argsKey':'language','data':[{'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'}]}]}];class AIReviewModeController extends ckeditor5['ContextPlugin']{['_aiConnector'];['_aiReviewModeUi'];['_aiReviewModeEditing'];['_aiReviewCheckList'];['_currentReviewCheckRun'];['_isDiffOn']=!0x1;['_changeActivationSource']=null;static get['requires'](){return[AIConnector];}static get['pluginName'](){return'AIReviewModeController';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['init'](){this['_aiConnector']=this['context']['plugins']['get']('AIConnector'),this['_aiReviewModeUi']=this['context']['plugins']['get']('AIReviewModeUI'),this['_aiReviewModeEditing']=this['context']['plugins']['get']('AIReviewModeEditing');const _0x424991=this['context']['config']['get']('ai.reviewMode.translations');if(_0x424991){for(const _0x23a5c0 of _0x5346c3)'translate'===_0x23a5c0['id']&&(_0x23a5c0['options'][0x0]['data']=_0x424991);}const _0x21c9df=this['_translateReviewChecks'](_0x5346c3);this['_aiReviewCheckList']=new AIReviewCheckList(_0x21c9df);const _0x164005=this['_aiReviewCheckList']['checks']['find'](_0x1ace28=>'custom'===_0x1ace28['id']);if(_0x164005){const _0x18a40e=await new _0x2697e9({'connector':this['_aiConnector']})['getAll']();_0x164005['models']=_0x18a40e['map'](_0x328528=>({..._0x328528,'description':this['_getTranslationWithDefault']('AI_MODEL_DESCRIPTION_'+_0x328528['id']['toUpperCase'](),_0x328528['description'])}));}this['listenTo'](this['_aiReviewModeUi'],'getReviewCheckList',()=>{this['_aiReviewModeUi']['setAvailableChecks'](this['_aiReviewCheckList']['checks']);}),this['listenTo'](this['_aiReviewModeUi'],'runReviewCheck',async(_0x18d3eb,_0x4cc3c7)=>{const _0x972a4a=this['_aiReviewCheckList']['getCheckById'](_0x4cc3c7['id']);if(_0x972a4a){this['_onDiffChange'](this['_isDiffOn']),_0x4cc3c7['isCustom']?this['_currentReviewCheckRun']=new AIReviewCustomCheckRun(_0x4cc3c7['args']['prompt'],_0x4cc3c7['args']['model'],this['_aiReviewModeEditing']['getDocumentData'](),_0x972a4a,this['_aiConnector']):this['_currentReviewCheckRun']=new AIReviewSystemCheckRun(this['_aiReviewModeEditing']['getDocumentData'](),_0x972a4a,this['_aiConnector'],_0x4cc3c7['params'],_0x4cc3c7['args']),this['_aiReviewModeUi']['setCheckResultTitle'](this['_currentReviewCheckRun']['title'],this['_currentReviewCheckRun']['subTitle']),this['_currentReviewCheckRun']['on']('reviewCheckRunUpdated',(_0x3082c8,_0x3824a1)=>{'data'===_0x3824a1['status']||'loading'===_0x3824a1['status']?(this['_aiReviewModeEditing']['switchToReadOnly'](),this['_aiReviewModeUi']['showCheckRunResults'](_0x3824a1)):'finished'===_0x3824a1['status']?this['_aiReviewModeUi']['showReviewCompletedView']():'ready'===_0x3824a1['status']?this['_aiReviewModeUi']['showActionsWhenResultIsReady']():'unmodified'===_0x3824a1['status']?this['_aiReviewModeUi']['showNoChangesView']():'error-general'===_0x3824a1['status']?this['_aiReviewModeUi']['showGeneralErrorView']():'error-chunk'===_0x3824a1['status']?this['_aiReviewModeUi']['showChunkErrorView']():'aborted'===_0x3824a1['status']&&(this['_currentReviewCheckRun']&&this['_currentReviewCheckRun']['processedResultsCount']>0x0?setTimeout(()=>{this['_currentReviewCheckRun']?.['forceReadyState']();},0x0):this['_onReviewModeRunLeave'](!0x0)),'ready'!==_0x3824a1['status']&&'error-chunk'!==_0x3824a1['status']&&'error-general'!==_0x3824a1['status']||this['_currentReviewCheckRun']?.['sendRating']();}),this['_currentReviewCheckRun']['on']('reviewCheckResultAdded',(_0xf9c27b,_0x5bca14)=>{if(!this['_currentReviewCheckRun'])throw new ckeditor5['CKEditorError']('ai-review-mode-no-current-check-run',this);const _0x58aecb=this['_aiReviewModeEditing']['diffContent'](_0x5bca14['result']['contentInitial'],_0x5bca14['result']['contentNew']);_0x5bca14['source']['addResultChanges'](_0x5bca14['result']['id'],_0x58aecb);}),this['_currentReviewCheckRun']['on']('reviewCheckResultReady',(_0x370557,_0x4461eb)=>{for(const _0x3cf91e of _0x4461eb['changes'])this['_aiReviewModeUi']['showCheckRunResult'](_0x3cf91e);this['_aiReviewModeEditing']['markChangePositionInEditorContent'](_0x4461eb['changes'],_0x4461eb['source']['documentData']);}),this['_currentReviewCheckRun']['on']('reviewCheckResultAccepted',(_0x1b6e7a,_0x42d27b)=>{this['_aiReviewModeUi']['updateChangeState'](_0x42d27b['change']['id'],'accepted');}),this['_currentReviewCheckRun']['on']('reviewCheckResultRejected',(_0x5e0ba5,_0x1edf2c)=>{this['_aiReviewModeUi']['updateChangeState'](_0x1edf2c['change']['id'],'rejected');}),this['_currentReviewCheckRun']['on']('reviewCheckResultActivated',(_0x574db5,_0x4f1c5c)=>{this['_aiReviewModeUi']['setActiveStateInResults'](_0x4f1c5c['change']['id']);const _0x3042a1=this['_aiReviewModeEditing']['getMarkerElementForChange'](_0x4f1c5c['change']['id']);if(_0x3042a1){if('content'===this['_changeActivationSource']){const _0x548889=this['_aiReviewModeUi']['getChangeElement'](_0x4f1c5c['change']['id']);_0x548889&&ckeditor5['scrollAncestorsToShowTarget'](_0x548889['closest']('.ck-ai-review-mode__check-run-result')||_0x548889);}else{if('panel'===this['_changeActivationSource']){const _0x4c7e1b={'target':_0x3042a1['domElement'],'viewportOffset':{'top':0x55,'left':0x0,'bottom':0x0,'right':0x0},'ancestorOffset':0x14,'alignToTop':!0x0};ckeditor5['scrollViewportToShowTarget'](_0x4c7e1b);}}this['_aiReviewModeUi']['showChangeBalloon'](_0x4f1c5c['change'],_0x3042a1['domElement']);}}),this['_currentReviewCheckRun']['on']('reviewCheckResultDeactivated',()=>{this['_aiReviewModeUi']['resetActiveStateInResults']();});try{await this['_currentReviewCheckRun']['start']();}catch(_0x11db83){_0x11db83 instanceof Error&&_0x11db83['message']['includes']('ai-request-aborted')||(_0x11db83 instanceof ckeditor5['CKEditorError']?this['_logError'](_0x11db83):this['_logError'](new ckeditor5['CKEditorError']('ai-review-mode-check-run-failed',this,{'error':_0x11db83})));}}else this['_logError'](new ckeditor5['CKEditorError']('ai-review-mode-source-check-not-found',this,{'checkId':_0x4cc3c7['id']}));}),this['listenTo'](this['_aiReviewModeUi'],'leaveReviewMode',()=>{this['_onReviewModeRunLeave']();}),this['listenTo'](this['_aiReviewModeUi'],'leaveReviewModeResultList',()=>{this['_onReviewModeRunLeave'](!0x0);}),this['listenTo'](this['_aiReviewModeUi'],'abortReviewStream',()=>{this['_currentReviewCheckRun']&&this['_currentReviewCheckRun']['abort']();}),this['listenTo'](this['_aiReviewModeUi'],'finishReview',()=>{this['_onReviewModeRunLeave'](!0x0);}),this['listenTo'](this['_aiReviewModeUi'],'acceptAllChanges',()=>{if(!this['_currentReviewCheckRun'])return;const _0x3157c0=this['_currentReviewCheckRun']['getActiveChanges']();_0x3157c0['length']&&(this['_aiReviewModeEditing']['applyChange'](_0x3157c0['map'](_0x5d2a8c=>_0x5d2a8c['id'])),this['_currentReviewCheckRun']['markAllChangesAsAccepted'](),this['_currentReviewCheckRun']['sendRating']());}),this['listenTo'](this['_aiReviewModeUi'],'acceptChange',(_0x519318,_0x5930c4)=>{this['_currentReviewCheckRun']&&this['_currentReviewCheckRun']['isChangeActive'](_0x5930c4['id'])&&(this['_aiReviewModeEditing']['applyChange']([_0x5930c4['id']]),this['_currentReviewCheckRun']['markChangeAsAccepted'](_0x5930c4['id']),this['_aiReviewModeUi']['hideChangeBalloon'](),this['_currentReviewCheckRun']['sendRating'](_0x5930c4['id']));}),this['listenTo'](this['_aiReviewModeUi'],'dismissChange',(_0x1c75cd,_0x5b8776)=>{this['_currentReviewCheckRun']&&this['_currentReviewCheckRun']['isChangeActive'](_0x5b8776['id'])&&(this['_aiReviewModeEditing']['rejectChange'](_0x5b8776['id']),this['_currentReviewCheckRun']['markChangeAsRejected'](_0x5b8776['id']),this['_aiReviewModeUi']['hideChangeBalloon'](),this['_currentReviewCheckRun']['sendRating'](_0x5b8776['id']));}),this['listenTo'](this['_aiReviewModeUi'],'toggleDiff',(_0xb28ab9,_0x70ab25)=>{this['_isDiffOn']=_0x70ab25['on'],this['_onDiffChange'](this['_isDiffOn']);}),this['listenTo'](this['_aiReviewModeUi'],'retryReview',async()=>{this['_currentReviewCheckRun']&&await this['_currentReviewCheckRun']['restart']();}),this['listenTo'](this['_aiReviewModeUi'],'activateChange',(_0x49ef3b,_0x477eab)=>{this['_currentReviewCheckRun']&&(this['_changeActivationSource']='panel',this['_currentReviewCheckRun']['activateChange'](_0x477eab['id']));}),this['listenTo'](this['_aiReviewModeUi'],'deactivateChange',()=>{this['_currentReviewCheckRun']&&this['_currentReviewCheckRun']['deactivateChange']();}),this['listenTo'](this['_aiReviewModeEditing']['emitter'],'changeMarkerClick',(_0x1c6204,_0x1b4ef8)=>{this['_currentReviewCheckRun']&&(this['_changeActivationSource']='content',this['_currentReviewCheckRun']['activateChange'](_0x1b4ef8['changeId']));});}['_onReviewModeRunLeave'](_0xa2305e=!0x1){this['_currentReviewCheckRun']&&(this['_currentReviewCheckRun']['hasModifications']||this['_currentReviewCheckRun']['sendRating'](),this['_currentReviewCheckRun']['abort'](),this['_currentReviewCheckRun']['stopListening'](),this['_currentReviewCheckRun']=void 0x0),_0xa2305e&&this['_aiReviewModeUi']['showReviewCheckList'](),this['_aiReviewModeEditing']['clearAllMarkers'](),this['_aiReviewModeEditing']['switchToEdit'](),this['_changeActivationSource']=null;const _0x3874f0=this['_aiReviewModeEditing']['getEditor']();_0x3874f0&&_0x3874f0['editing']['view']['change'](_0x104d69=>{const _0x4abae6=_0x3874f0['editing']['view']['document']['getRoot']();_0x104d69['removeClass']('ck-ai-review-mode-diff',_0x4abae6),_0x104d69['removeClass']('ck-ai-review-mode-highlights',_0x4abae6);});}['_onDiffChange'](_0x534975){const _0x209561=this['_aiReviewModeEditing']['getEditor']();_0x534975?this['_aiReviewModeUi']['hideDiffInBalloon']():this['_aiReviewModeUi']['showDiffInBalloon'](),_0x209561&&_0x209561['editing']['view']['change'](_0x37a796=>{const _0x505332=_0x209561['editing']['view']['document']['getRoot']();_0x37a796['removeClass']('ck-ai-review-mode-diff',_0x505332),_0x37a796['removeClass']('ck-ai-review-mode-highlights',_0x505332),_0x37a796['addClass'](_0x534975?'ck-ai-review-mode-diff':'ck-ai-review-mode-highlights',_0x505332);});}['_translateReviewChecks'](_0x578bb7){return _0x578bb7['map'](_0x40c006=>{const _0x30e5a2='AI_REVIEW_CHECK_'+_0x40c006['id']['toUpperCase']()['replaceAll']('-','_'),_0x4bba89={..._0x40c006,'title':this['_getTranslationWithDefault'](_0x30e5a2+'_TITLE',_0x40c006['title']),'description':this['_getTranslationWithDefault'](_0x30e5a2+'_DESCRIPTION',_0x40c006['description'])};return _0x40c006['options']&&(_0x4bba89['options']=_0x40c006['options']['map'](_0x3a0ce5=>({..._0x3a0ce5,'label':this['_getTranslationWithDefault'](_0x30e5a2+'_OPTIONS_LABEL',_0x3a0ce5['label']||''),'data':_0x3a0ce5['data']?_0x3a0ce5['data']['map'](_0x17e3e6=>({..._0x17e3e6,'label':this['_getTranslationWithDefault'](_0x30e5a2+'_OPTIONS_DATA_'+_0x17e3e6['id']['toUpperCase'](),_0x17e3e6['label'])})):void 0x0}))),_0x4bba89;});}['_getTranslationWithDefault'](_0x1772ea,_0x58732f){const _0x2c7f65=getTranslation$i(this['context']['locale'],_0x1772ea);return _0x2c7f65===_0x1772ea?_0x58732f:_0x2c7f65;}['_logError'](_0x2558dd){ckeditor5['logError'](_0x2558dd['message']),this['_aiReviewModeUi']['showGeneralErrorView']();}}class _0x3663fe extends ckeditor5['View']{['_dropdownView'];['_defaultValue'];['_defaultLabel'];constructor(_0x1bc903,_0x4a6d92){super(_0x1bc903),this['_defaultValue']=_0x4a6d92['default']||(_0x4a6d92['data']['length']>0x0?_0x4a6d92['data'][0x0]['id']:''),this['_defaultLabel']=_0x4a6d92['data']['find'](_0x178ac4=>_0x178ac4['id']===this['_defaultValue'])?.['label']||'',this['set']('formValue',''),this['_dropdownView']=ckeditor5['createDropdown'](this['locale']);const _0x5eb3f0=this['_prepareListOptions'](_0x4a6d92['data']);ckeditor5['addListToDropdown'](this['_dropdownView'],_0x5eb3f0,{'role':'menu','ariaLabel':_0x4a6d92['label']}),this['_dropdownView']['buttonView']['set']({'label':this['_defaultLabel'],'withText':!0x0}),this['_dropdownView']['extendTemplate']({'on':{'click':this['bindTemplate']['to'](_0x56b780=>{_0x56b780['stopPropagation']();})}}),this['listenTo'](this['_dropdownView'],'execute',_0x7f255c=>{this['formValue']=_0x7f255c['source']['model']['id'],this['_dropdownView']['buttonView']['label']=_0x7f255c['source']['model']['label'];}),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all','ck-ai-review-mode__check-list-item-parameterized-form-element','ck-ai-review-mode__check-list-item-parameterized-form-element_dropdown']},'children':[this['_dropdownView']]});}['resetToDefault'](){this['formValue']=this['_defaultValue'],this['_dropdownView']['buttonView']['label']=this['_defaultLabel'];}['_prepareListOptions'](_0x2b09ed=[]){const _0x18bdd3=new ckeditor5['Collection']();this['resetToDefault']();for(const _0x2f44a2 of _0x2b09ed){const _0x5930d2=new ckeditor5['UIModel']({'label':_0x2f44a2['label'],'withText':!0x0,'role':'menuitemradio','id':_0x2f44a2['id'],'model':_0x2f44a2});_0x5930d2['bind']('isOn')['to'](this,'formValue',_0x2605f9=>_0x2605f9===_0x5930d2['id']);const _0x4841d1={'type':'button','model':_0x5930d2};_0x18bdd3['add'](_0x4841d1);}return _0x18bdd3;}}class _0x28c341 extends ckeditor5['ListItemView']{['_formItem']=null;constructor(_0x317b10,_0x271686,_0x17ae38){super(_0x317b10),this['argsKey']=_0x271686?.['argsKey'];if('dropdown'===_0x271686['formType'])this['_formItem']=new _0x3663fe(this['locale'],_0x271686);this['set']('value',''),this['bind']('value')['to'](this['_formItem'],'formValue');const _0x4a999b=new ckeditor5['FormRowView'](this['locale'],{'children':[this['_formItem']],'class':[_0x17ae38?'ck-form__row_with-submit':'']});_0x17ae38&&_0x4a999b['children']['add'](_0x17ae38),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-review-mode__form-item','ck-reset_all']},'children':[_0x4a999b]});}['resetToDefault'](){this['_formItem']['resetToDefault']();}}class AIReviewModePromptInputView extends ckeditor5['TextareaView']{['keystrokes'];static ['MIN_ROWS']=0x1;static ['MAX_ROWS']=0xc;constructor(_0x42725e){super(_0x42725e),this['set']('isEmpty',!0x0),this['keystrokes']=new ckeditor5['KeystrokeHandler'](),this['minRows']=AIReviewModePromptInputView['MIN_ROWS'],this['maxRows']=AIReviewModePromptInputView['MAX_ROWS'],this['extendTemplate']({'attributes':{'id':'ai-review-mode-prompt-input','class':['ck','ck-review-mode__prompt-input']}});}['render'](){super['render'](),this['on']('update',()=>{this['isEmpty']=''===this['element']['value']?.['trim']();}),this['keystrokes']['listenTo'](this['element']);}}class AIReviewModeCustomCheckView extends ckeditor5['View']{['focusTracker']=new ckeditor5['FocusTracker']();['keystrokes']=new ckeditor5['KeystrokeHandler']();['focusCycler'];['_focusables']=new ckeditor5['ViewCollection']();['submitButtonView'];['cancelButtonView'];['promptInputView'];['actionsFooterView'];['_modelSelectionDropdown'];['_modelSelectionDropdownItems'];['_check'];['_defaultValue'];['_defaultLabel'];constructor(_0x3bc70e,_0x190ce8){super(_0x3bc70e),this['_check']=_0x190ce8,this['set']('prompt',''),this['set']('modelId',''),this['_defaultValue']=_0x190ce8['models']&&_0x190ce8['models']['length']>0x0?_0x190ce8['models'][0x0]['id']:'',this['_defaultLabel']=_0x190ce8['models']&&_0x190ce8['models']['length']>0x0?_0x190ce8['models'][0x0]['name']:'',this['submitButtonView']=this['_createSubmitButtonView'](),this['cancelButtonView']=this['_createCancelButtonView'](),(this['promptInputView']=new ckeditor5['LabeledFieldView'](this['locale'],()=>new AIReviewModePromptInputView(_0x3bc70e)),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['_setModelList'](),ckeditor5['addListToDropdown'](this['_modelSelectionDropdown'],this['_modelSelectionDropdownItems']),this['actionsFooterView']=this['_createActionsFooterView'](),this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-review-mode__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',(_0x43a82f,_0x56791b)=>{this['_isValid']()?(this['fire']('runReviewCheck',{'id':'custom','args':{'prompt':this['prompt'],'model':this['modelId']},'isCustom':!0x0}),_0x56791b()):_0x56791b();}),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'](_0x477e80=>{this['_focusables']['add'](_0x477e80),this['focusTracker']['add'](_0x477e80['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 _0x341279 of this['_getFormValidators']()){const _0x1c0149=_0x341279();if(_0x1c0149)return this['promptInputView']['errorText']=_0x1c0149,!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 _0x4f2715=new ckeditor5['ButtonView'](this['locale']),t=this['locale']['t'];return _0x4f2715['set']({'label':t('Submit'),'withText':!0x0,'class':'ck-ai-button-primary'}),_0x4f2715['on']('execute',()=>{this['_isValid']()&&this['fire']('runReviewCheck',{'id':'custom','args':{'prompt':this['prompt'],'model':this['modelId']},'isCustom':!0x0});}),_0x4f2715;}['_createCancelButtonView'](){const _0x4f0e60=new ckeditor5['ButtonView'](this['locale']),t=this['locale']['t'];return _0x4f0e60['set']({'label':t('Cancel'),'withText':!0x0,'class':'ck-ai-button-tertiary-filled'}),_0x4f0e60['extendTemplate']({'on':{'click':this['bindTemplate']['to'](_0x4b97f9=>{_0x4b97f9['stopPropagation']();})}}),_0x4f0e60['on']('execute',()=>{this['resetToDefault'](),this['fire']('closeCustomCheck');}),_0x4f0e60;}['_setModelList'](){this['_modelSelectionDropdownItems']['clear']();const _0x5d094b=this['_check']['models'];if(this['resetToDefault'](),_0x5d094b?.['length'])for(const _0x76bf80 of _0x5d094b){const _0x2d4353=new ckeditor5['UIModel']({'label':_0x76bf80['name'],'withText':!0x0,'role':'menuitemradio','id':_0x76bf80['id'],'model':_0x76bf80});_0x2d4353['bind']('isOn')['to'](this,'modelId',_0x375d33=>_0x375d33===_0x76bf80['id']),this['_modelSelectionDropdownItems']['add']({'type':'button','model':_0x2d4353,'labelView':new ModelButtonLabelView(this['locale'],_0x76bf80)});}}['_createModelSelectionDropdown'](){const _0x559413=ckeditor5['createDropdown'](this['locale']);return _0x559413['set']({'panelPosition':'se','class':'ck-ai-review-mode__check-list-item-model-dropdown'}),_0x559413['buttonView']['set']({'label':this['_defaultLabel'],'withText':!0x0,'tooltip':!0x0}),this['listenTo'](_0x559413,'execute',_0x39d3d2=>{this['modelId']=_0x39d3d2['source']['model']['id'],_0x559413['buttonView']['label']=_0x39d3d2['source']['label'];}),_0x559413;}['_createActionsFooterView'](){const _0x520811=new ckeditor5['View'](this['locale']);return _0x520811['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-custom-actions-footer']},'children':[this['_modelSelectionDropdown'],{'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-parameterized-custom-actions-buttons']},'children':[this['cancelButtonView'],this['submitButtonView']]}]}),_0x520811;}}class ModelButtonLabelView extends ckeditor5['ButtonLabelView']{constructor(_0x1db8bd,_0x13643e){super();const _0x2bf032=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-button__label'],'style':_0x2bf032['to']('style'),'id':_0x2bf032['to']('id')},'children':[{'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-model-dropdown-name']},'children':[{'tag':'span','children':[{'text':_0x2bf032['to']('text')}]}]},{'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-model-dropdown-description']},'children':[{'tag':'span','children':[_0x13643e['description']||'']}]}]});}}class AIReviewModeReviewCommandListItemView extends ckeditor5['ListItemView']{['_formItemsCollection']=new ckeditor5['ViewCollection']();['_customCheckView']=null;constructor(_0x1ee770,_0x4fb0ff,_0x1099b6){super(_0x1ee770),this['set']('isParametrizedViewOpen',!0x1),this['set']('isListItemRendered',!0x1),this['set']('isItemParametrized',_0x4fb0ff['isParameterized']);const _0x5d7057=this['_createIconView']();this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item',this['bindTemplate']['if']('isParametrizedViewOpen','ck-ai-review-mode__check-list-item_selected',_0x1f2217=>_0x1f2217),this['bindTemplate']['if']('isListItemRendered','ck-ai-review-mode__check-list-item_rendered',_0x621d1=>_0x621d1)],'style':{'--ck-ai-check-list-item-index':_0x1099b6}},'on':{'click':this['bindTemplate']['to']('click')},'children':[{'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-content']},'children':[{'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-main-content']},'children':[{'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-title']},'children':[{'tag':'span','attributes':{'class':['ck-ai-review-mode__check-list-item-title-text']},'children':[{'text':_0x4fb0ff['title']}]},_0x5d7057]},{'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-description']},'children':[{'text':_0x4fb0ff['description']}]}]}]},..._0x4fb0ff['isParameterized']?[this['_createParameterizedView'](_0x4fb0ff)]:[],...'custom'===_0x4fb0ff['id']?[this['_createCustomView'](_0x4fb0ff)]:[]]}),this['on']('click',()=>{_0x4fb0ff['isParameterized']?this['isParametrizedViewOpen']=!0x0:this['fire']('runReviewCheck',{'id':_0x4fb0ff['id']});}),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'](_0x2db246=>{_0x2db246['resetToDefault']();}),this['_customCheckView']&&this['_customCheckView']['resetToDefault']();}['_createIconView'](){const _0x5ba50e=new ckeditor5['IconView']();return _0x5ba50e['content']=ckeditor5['IconChevronRight'],_0x5ba50e['extendTemplate']({'attributes':{'class':['ck-ai-review-mode__check-list-item-title-icon']}}),_0x5ba50e;}['_createParameterizedView'](_0x3c378b){const _0x205a47=new ckeditor5['View'](),_0x308700=this['_createFormView'](_0x3c378b);return _0x205a47['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-parameterized',this['bindTemplate']['if']('isParametrizedViewOpen','ck-hidden',_0x3eae9d=>!_0x3eae9d)]},'children':[_0x308700]}),_0x205a47;}['_createFormView'](_0x1a0730){const _0x10ac6=new ckeditor5['View'](),_0x2e9fa2=Array['isArray'](_0x1a0730['options'])?_0x1a0730['options']:[],_0x41a7c4=new ckeditor5['ButtonView'](this['locale']),t=this['locale']['t'];_0x41a7c4['set']({'label':t('Submit'),'withText':!0x0,'class':'ck-ai-button-primary'}),_0x41a7c4['extendTemplate']({'on':{'click':this['bindTemplate']['to'](_0xe8e3fe=>{_0xe8e3fe['stopPropagation']();})}}),_0x41a7c4['on']('execute',()=>{const _0x2d535a=[],_0x5958c6={};this['_formItemsCollection']['forEach'](_0x18dcba=>{_0x2d535a['push'](_0x18dcba['value']),_0x1a0730['useArgs']&&_0x1a0730['options']&&(_0x5958c6[_0x18dcba['argsKey']]=_0x18dcba['value']);}),this['fire']('runReviewCheck',{'id':_0x1a0730['id'],'params':_0x2d535a['length']?_0x2d535a:void 0x0,'args':Object['keys'](_0x5958c6)['length']?_0x5958c6:void 0x0});});const _0x21fb84=_0x2e9fa2['length'];return _0x2e9fa2['forEach']((_0x5df6e6,_0xa0649)=>{const _0x300a93=_0xa0649===_0x21fb84-0x1;this['_formItemsCollection']['add'](new _0x28c341(this['locale'],_0x5df6e6,_0x300a93?_0x41a7c4:null));}),_0x10ac6['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-parameterized-form']},'children':this['_formItemsCollection']}),_0x10ac6;}['_createCustomView'](_0x2655fb){return this['_customCheckView']=new AIReviewModeCustomCheckView(this['locale'],_0x2655fb),this['_customCheckView']['extendTemplate']({'attributes':{'class':['ck-ai-review-mode__check-list-item-parameterized','ck-ai-review-mode__check-list-item-parameterized_custom',this['bindTemplate']['if']('isParametrizedViewOpen','ck-hidden',_0x50cd82=>!_0x50cd82)]}}),this['_customCheckView']['delegate']('runReviewCheck')['to'](this),this['listenTo'](this['_customCheckView'],'closeCustomCheck',()=>{this['isParametrizedViewOpen']=!0x1;}),this['on']('change:isParametrizedViewOpen',(_0x20789d,_0x477d94,_0x3556bd)=>{_0x3556bd||this['_customCheckView']['resetFormValidationStatus']();}),this['_customCheckView'];}}class AIReviewModeReviewCheckListView extends ckeditor5['ListItemView']{['_checkViews'];constructor(_0x489e37){super(_0x489e37),this['_checkViews']=new ckeditor5['ViewCollection']();const _0x474c30=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list',_0x474c30['if']('isVisible','ck-hidden',_0x431fd9=>!_0x431fd9)]},'children':this['_checkViews']});}['setChecks'](_0x2c2238){this['_checkViews']['clear']();for(const [_0x5d01d6,_0x5947b0]of _0x2c2238['entries']()){const _0x56fc19=new AIReviewModeReviewCommandListItemView(this['locale'],_0x5947b0,_0x5d01d6);_0x56fc19['delegate']('runReviewCheck')['to'](this),this['_checkViews']['add'](_0x56fc19);}}['hasChecks'](){return this['_checkViews']['length']>0x0;}['resetAllParameterizedChecks'](){for(const _0x13b8e4 of this['_checkViews'])_0x13b8e4 instanceof AIReviewModeReviewCommandListItemView&&_0x13b8e4['resetToDefault']();}}class AIReviewModeReviewCheckListItemResultsView extends ckeditor5['View']{['resultResponseView'];['acceptButtonView'];['dismissButtonView'];['infoButtonView'];constructor(_0x3adb57,_0x5a74b2){super(_0x3adb57),this['id']=_0x5a74b2,this['set']('changeId',_0x5a74b2),this['resultResponseView']=this['_createResultResponseView'](),this['acceptButtonView']=this['_createAcceptButtonView'](),this['dismissButtonView']=this['_createDismissButtonView'](),this['infoButtonView']=this['_createInfoButtonView'](),this['set']('isInfoToggleOn',!0x1),this['set']('isActive',!0x1),this['set']('showDiff',!0x0),this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-review-mode__check-run-result',this['bindTemplate']['if']('isActive','ck-ai-review-mode__check-run-result_active')]},'on':{'click':this['bindTemplate']['to']('click')},'children':[this['resultResponseView'],{'tag':'div','attributes':{'class':['ck-ai-review-mode__check-run-result-footer']},'children':[{'tag':'div','attributes':{'class':['ck-ai-review-mode__check-run-result-action-buttons']},'children':[this['acceptButtonView'],this['dismissButtonView']]},this['infoButtonView']]}]}),this['on']('click',()=>{this['fire']('activateChange',{'id':_0x5a74b2,'source':this});});}['setItemAsActive'](){this['isActive']=!0x0;}['setItemAsInactive'](){this['isActive']=!0x1;}['_createResultResponseView'](){const _0xda4205=new ckeditor5['View'](this['locale']);return _0xda4205['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-content','ck-content-direct-excluded','ck-ai-review-mode__check-run-result-response',this['bindTemplate']['if']('showDiff','ck-hidden',_0x83e831=>!_0x83e831)]}}),_0xda4205;}['_createAcceptButtonView'](){const _0x1a599d=new ckeditor5['ButtonView'](this['locale']);return _0x1a599d['set']({'label':getTranslation$i(this['locale'],'AI_REVIEW_MODE_ACCEPT_CHANGE'),'withText':!0x0,'class':'ck-ai-button-secondary\x20ck-ai-review-mode__check-run-result-accept-button'}),_0x1a599d['extendTemplate']({'on':{'click':this['bindTemplate']['to'](_0x68f8af=>{this['fire']('acceptChange',{'id':this['changeId']}),_0x68f8af['stopPropagation']();})}}),_0x1a599d;}['_createDismissButtonView'](){const _0x26af85=new ckeditor5['ButtonView'](this['locale']);return _0x26af85['set']({'label':getTranslation$i(this['locale'],'AI_REVIEW_MODE_DISMISS_CHANGE'),'withText':!0x0,'class':'ck-ai-button-tertiary-filled\x20ck-ai-review-mode__check-run-result-dismiss-button'}),_0x26af85['extendTemplate']({'on':{'click':this['bindTemplate']['to'](_0x38558c=>{this['fire']('dismissChange',{'id':this['changeId']}),_0x38558c['stopPropagation']();})}}),_0x26af85;}['_createInfoButtonView'](){const _0x2b381e=new ckeditor5['ButtonView'](this['locale']);return _0x2b381e['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-filled\x20ck-ai-review-mode__check-run-result-info-button\x20ck-hidden'}),_0x2b381e['bind']('isOn')['to'](this,'isInfoToggleOn',_0x23559d=>_0x23559d),_0x2b381e['on']('execute',()=>{this['isInfoToggleOn']=!this['isInfoToggleOn'];}),_0x2b381e;}}class AIReviewModeReviewCheckResultsView extends ckeditor5['ListItemView']{['_resultViews'];['resultsHeader'];['reviewDisclaimer'];['_cancelButtonView'];['_acceptAllButtonView'];['_exitReviewButtonView'];['_toggleDiffButtonView'];['_errorMessageView'];constructor(_0x1f380b){super(_0x1f380b),this['_resultViews']=new ckeditor5['ViewCollection'](),this['_cancelButtonView']=this['_createCancelButtonView'](),this['_acceptAllButtonView']=this['_createAcceptAllButtonView'](),this['_exitReviewButtonView']=this['_createExitReviewButtonView'](),this['_toggleDiffButtonView']=this['_createToggleDiffButtonView'](),this['resultsHeader']=this['_createResultHeaderView'](),this['_errorMessageView']=this['_createErrorView'](),this['reviewDisclaimer']=new _0x1d1ab4(_0x1f380b),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');const _0x42428e=this['_createCombinedSkeletonLoader'](),_0x3fdc7f=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-review-mode__check-run',_0x3fdc7f['if']('isVisible','ck-hidden',_0x45408b=>!_0x45408b)]},'children':[this['resultsHeader'],{'tag':'div','attributes':{'class':['ck-ai-review-mode__check-run-results-wrapper']},'children':[this['_errorMessageView'],{'tag':'div','attributes':{'class':['ck-ai-review-mode__check-run-results-container',this['bindTemplate']['if']('isLoading','ck-hidden',_0x5bb8e6=>_0x5bb8e6)]},'children':this['_resultViews']},_0x42428e]},this['reviewDisclaimer']]});}['clearResults'](){this['_resultViews']['clear']();}['getResults'](){return this['_resultViews'];}['addResult'](_0x31607c){const _0x322ba3=new AIReviewModeReviewCheckListItemResultsView(this['locale'],_0x31607c['id']);_0x322ba3['delegate']('acceptChange','dismissChange','activateChange')['to'](this),this['_resultViews']['add'](_0x322ba3),_0x322ba3['resultResponseView']['element']['innerHTML']=_0x31607c['contentDiffed'];}['hideResult'](_0x3836d6){const _0x4b9cd4=this['_resultViews']['find'](_0x48f99d=>_0x48f99d['id']===_0x3836d6);_0x4b9cd4&&(_0x4b9cd4['element']?.['classList']['add']('ck-ai-review-mode__check-run-result_removing'),_0x4b9cd4['element']?.['addEventListener']('animationend',()=>{this['_resultViews']['remove'](_0x4b9cd4),_0x4b9cd4['destroy']();},{'once':!0x0}));}['setTitle'](_0x263e4b,_0x5c519e){this['headerTitle']=_0x263e4b,this['headerSubtitle']=_0x5c519e||'';}['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'],_0x124b88['aiReviewChecks']);}['_createCombinedSkeletonLoader'](){const _0x5ab8c0=new ckeditor5['View'](this['locale']),_0x48f8be=[];for(let _0x36f2f3=0x0;_0x36f2f3<0x10;_0x36f2f3++){const _0x2cdbc9=this['_createSkeletonLoader']();_0x2cdbc9['extendTemplate']({'attributes':{'class':['ck-ai-review-mode__check-run-skeleton-item']}}),_0x48f8be['push'](_0x2cdbc9);}return _0x5ab8c0['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-review-mode__check-run-skeleton-container',this['bindTemplate']['if']('isLoading','ck-hidden',_0x241914=>!_0x241914)]},'children':_0x48f8be}),_0x5ab8c0;}['_createErrorView'](){const _0x83b5bb=new ckeditor5['View'](this['locale']),_0x268654=new ckeditor5['ButtonView'](this['locale']),t=this['locale']['t'];return _0x83b5bb['delegate']('retryReview')['to'](this),_0x268654['set']({'label':t('Try\x20again'),'withText':!0x0,'class':'ck-ai-button-secondary\x20ck-ai-review-mode__check-run-error-retry-button'}),_0x268654['on']('execute',()=>{this['fire']('retryReview');}),_0x83b5bb['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-review-mode__check-run-error-container',this['bindTemplate']['if']('showErrorMessage','ck-hidden',_0x8c5710=>!_0x8c5710),this['bindTemplate']['if']('errorType','ck-ai-review-mode__check-run-error-container_border-bottom',_0x5e75e2=>'chunk'===_0x5e75e2)]},'children':[{'tag':'div','attributes':{'class':['ck','ck-ai-chat-error','ck-ai-chat-error_full-width','ck-ai-review-mode__check-run-error-message',this['bindTemplate']['if']('errorType','ck-ai-chat-error_warning',_0x149b33=>'chunk'===_0x149b33)]},'children':[{'tag':'p','attributes':{'class':['ck-ai-chat-error__content',this['bindTemplate']['if']('errorType','ck-hidden',_0x344e0d=>'general'!==_0x344e0d)]},'children':[{'text':getTranslation$i(this['locale'],'AI_REVIEW_MODE_GENERAL_ERROR_MESSAGE')}]},{'tag':'p','attributes':{'class':['ck-ai-chat-error__content',this['bindTemplate']['if']('errorType','ck-hidden',_0x573fc1=>'chunk'!==_0x573fc1)]},'children':[{'text':getTranslation$i(this['locale'],'AI_REVIEW_MODE_CHUNK_ERROR_MESSAGE')}]}]},_0x268654]}),_0x83b5bb;}['_createCancelButtonView'](){const _0x1ae863=new ckeditor5['ButtonView'](this['locale']);return _0x1ae863['set']({'label':getTranslation$i(this['locale'],'AI_REVIEW_MODE_STOP_GENERATING'),'withText':!0x0,'class':['ai-chat-controls-loader__cancel-button'],'icon':ckeditor5['IconStop']}),_0x1ae863['extendTemplate']({'attributes':{'class':[this['bindTemplate']['if']('isResultReady','ck-hidden',_0x53437c=>_0x53437c)]}}),_0x1ae863['on']('execute',()=>{this['fire']('abortReviewStream');}),_0x1ae863;}['_createToggleDiffButtonView'](){const _0x48ae8f=new ckeditor5['ButtonView'](this['locale']);_0x48ae8f['set']({'tooltip':!0x0,'isToggleable':!0x0,'role':'menuitemcheckbox'}),_0x48ae8f['bind']('isEnabled')['to'](this,'isError',_0x1a6944=>!_0x1a6944),_0x48ae8f['extendTemplate']({'attributes':{'class':['ck-ai-button-secondary','ck-ai-review-mode__check-run-toggle-diff-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0x46d7b9=>!_0x46d7b9)]}});const _0x1e8e1f=getTranslation$i(this['locale'],'AI_REVIEW_MODE_HIDE_CHANGES'),_0x3e5c89=getTranslation$i(this['locale'],'AI_REVIEW_MODE_SHOW_CHANGES');return _0x48ae8f['bind']('isOn')['to'](this,'isToggleDiffOn',_0x2cc18d=>_0x2cc18d),_0x48ae8f['bind']('icon')['to'](this,'isToggleDiffOn',_0x475d3f=>_0x475d3f?ckeditor5['IconEye']:ckeditor5['IconEyeCrossedOut']),_0x48ae8f['bind']('label')['to'](this,'isToggleDiffOn',_0x4fdd7d=>_0x4fdd7d?_0x1e8e1f:_0x3e5c89),_0x48ae8f['on']('execute',()=>{this['isToggleDiffOn']=!this['isToggleDiffOn'],this['fire']('toggleDiff',{'on':this['isToggleDiffOn']});}),_0x48ae8f;}['_createAcceptAllButtonView'](){const _0x37f5c6=new ckeditor5['ButtonView'](this['locale']);return _0x37f5c6['set']({'label':getTranslation$i(this['locale'],'AI_REVIEW_MODE_ACCEPT_ALL'),'withText':!0x0}),_0x37f5c6['bind']('isEnabled')['to'](this,'isError',_0x517608=>!_0x517608),_0x37f5c6['extendTemplate']({'attributes':{'class':['ck-ai-button-primary','ck-ai-review-mode__check-run-accept-all-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0x50d11=>!_0x50d11)]}}),_0x37f5c6['on']('execute',()=>{this['fire']('acceptAllChanges');}),_0x37f5c6;}['_createExitReviewButtonView'](){const _0x48822d=new ckeditor5['ButtonView'](this['locale']);return _0x48822d['set']({'label':getTranslation$i(this['locale'],'AI_REVIEW_MODE_EXIT_REVIEW'),'withText':!0x0}),_0x48822d['extendTemplate']({'attributes':{'class':['ck-ai-button-tertiary-filled','ck-ai-review-mode__check-run-exit-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0xb22f95=>!_0xb22f95)]}}),_0x48822d['on']('execute',()=>{this['fire']('leaveReviewModeResultList');}),_0x48822d;}['_createResultHeaderView'](){const _0xc2cdb3=new ckeditor5['View'](this['locale']),_0x48e2e3=this['_createTitleView']();return _0xc2cdb3['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-review-mode__check-run-results-header']},'children':[_0x48e2e3,{'tag':'div','attributes':{'class':['ck-ai-review-mode__check-run-results-header-buttons']},'children':[this['_cancelButtonView'],this['_acceptAllButtonView'],this['_exitReviewButtonView'],this['_toggleDiffButtonView']]}]}),_0xc2cdb3;}['_createTitleView'](){const _0x45871a=new ckeditor5['View'](this['locale']),_0x1ebd8f=new _0xbc7c50();return _0x1ebd8f['bind']('isVisible')['to'](this,'isResultReady',_0x3f58a0=>!_0x3f58a0),_0x45871a['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-review-mode__check-run-results-header-title-wrapper']},'children':[_0x1ebd8f,{'tag':'div','attributes':{'class':['ck-ai-review-mode__check-run-results-header-title-content']},'children':[{'tag':'span','attributes':{'class':['ck-ai-review-mode__check-run-results-header-title']},'children':[{'text':this['bindTemplate']['to']('headerTitle')}]},{'tag':'span','attributes':{'class':['ck-ai-review-mode__check-run-results-header-subtitle']},'children':[{'text':this['bindTemplate']['to']('headerSubtitle')}]}]}]}),_0x45871a;}}class AIReviewModeReviewCompletedView extends ckeditor5['ListItemView']{['resultsHeader'];['_finishReviewButtonView'];constructor(_0x55ad96){super(_0x55ad96),this['_finishReviewButtonView']=this['_createFinishReviewButtonView'](),this['resultsHeader']=this['_createResultHeaderView'](),this['set']('viewType','completed');const _0x35b7c0=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-review-mode__review-completed',_0x35b7c0['if']('isVisible','ck-hidden',_0xa9ebb2=>!_0xa9ebb2)]},'children':[this['resultsHeader'],{'tag':'div','attributes':{'class':['ck-ai-review-mode__review-completed-content']},'children':[{'tag':'span','attributes':{'class':['ck-ai-review-mode__review-completed-content-icon']},'children':[{'text':_0x35b7c0['to']('viewType',_0x11679c=>'completed'===_0x11679c?'🎉':'👍')}]},{'tag':'p','attributes':{'class':['ck-ai-review-mode__review-completed-content-text']},'children':[{'text':_0x35b7c0['to']('viewType',_0x2fc9ed=>getTranslation$i(_0x55ad96,'completed'===_0x2fc9ed?'AI_REVIEW_MODE_COMPLETED_TEXT':'AI_REVIEW_MODE_EMPTY_RESULTS_TEXT'))}]}]}]});}['_createFinishReviewButtonView'](){const _0x2b7dc4=new ckeditor5['ButtonView'](this['locale']);return _0x2b7dc4['set']({'label':getTranslation$i(this['locale'],'AI_REVIEW_MODE_FINISH_REVIEW_BUTTON_LABEL'),'withText':!0x0,'class':'ck-ai-button-primary'}),_0x2b7dc4['on']('execute',()=>{this['fire']('finishReview');}),_0x2b7dc4;}['_createResultHeaderView'](){const _0x4b8916=new ckeditor5['View'](this['locale']);return _0x4b8916['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-review-mode__review-completed-header']},'children':[{'tag':'span','attributes':{'class':['ck-ai-review-mode__review-completed-header-title']},'children':[{'text':getTranslation$i(this['locale'],'AI_REVIEW_MODE_FINISH_REVIEW_HEADER_TITLE')}]},{'tag':'div','attributes':{'class':['ck-ai-review-mode__review-completed-header-buttons']},'children':[this['_finishReviewButtonView']]}]}),_0x4b8916;}}class _0x15c6e5 extends ckeditor5['View']{['reviewModeHeader'];['reviewCheckListView'];['reviewCheckResultsView'];['reviewCompletedView'];constructor(_0x114b15){super(_0x114b15),this['reviewModeHeader']=new ckeditor5['FormHeaderView'](_0x114b15,{'label':getTranslation$i(_0x114b15,'AI_REVIEW_MODE'),'icon':ckeditor5['IconAIReview'],'class':'ck-ai-header\x20ck-ai-header_review-mode'}),this['reviewCheckListView']=new AIReviewModeReviewCheckListView(_0x114b15),this['reviewCheckListView']['delegate'](..._0x1ec386)['to'](this),this['reviewCheckResultsView']=new AIReviewModeReviewCheckResultsView(_0x114b15),this['reviewCheckResultsView']['delegate'](..._0x1ec386)['to'](this),this['reviewCompletedView']=new AIReviewModeReviewCompletedView(_0x114b15),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-mode','ck-rounded-corners'],'dir':'ltr'},'children':[this['reviewModeHeader'],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);}['addCheckRunResult'](_0x26703b){this['reviewCheckResultsView']['addResult'](_0x26703b),this['reviewCheckResultsView']['set']('isLoading',!0x1);}['showReviewCompletedView'](){this['reviewCheckListView']['set']('isVisible',!0x1),this['reviewCheckResultsView']['set']('isVisible',!0x1),this['reviewCompletedView']['set']('viewType','completed'),this['reviewCompletedView']['set']('isVisible',!0x0);}['showActionsWhenResultIsReady'](){this['reviewCheckResultsView']['isResultReady']=!0x0;}['showNoChangesView'](){this['reviewCheckListView']['set']('isVisible',!0x1),this['reviewCheckResultsView']['set']('isVisible',!0x1),this['reviewCompletedView']['set']('viewType','unmodified'),this['reviewCompletedView']['set']('isVisible',!0x0);}['hideActionsWhenResultIsReady'](){this['reviewCheckResultsView']['isResultReady']=!0x1;}['showGeneralErrorView'](){this['reviewCheckResultsView']['set']('isLoading',!0x1),this['showActionsWhenResultIsReady'](),this['reviewCheckResultsView']['showGeneralErrorMessage']();}['showChunkErrorView'](){this['reviewCheckResultsView']['set']('isLoading',!0x1),this['showActionsWhenResultIsReady'](),this['reviewCheckResultsView']['showChunkErrorMessage']();}}class AIReviewModeBalloonSuggestionItemView extends ckeditor5['BalloonPanelView']{['resultItemView'];constructor(_0x36994d,_0x175723){super(_0x36994d),this['set']({'isVisible':!0x1,'position':'arrow_se','class':null,'top':0x0,'left':0x0}),this['extendTemplate']({'tag':'div','attributes':{'class':['ck-reset'],'tabindex':'-1'}}),this['content']['add'](this['_createContentView']()),_0x175723['add'](this);}['render'](){super['render'](),this['_setupClickOutsideHandler']();}['updateContent'](_0x25aade){this['resultItemView']['changeId']=_0x25aade['id'],this['resultItemView']['resultResponseView']['element']['innerHTML']=_0x25aade['contentDiffed'];}['showBalloon'](_0x215d96,_0x381ccc){this['updateContent'](_0x215d96),this['show'](),this['pin']({'target':()=>this['_getBestRectPosition'](_0x381ccc)});}['hideBalloon'](){this['hide'](),this['unpin']();}['hideDiffInBalloon'](){this['resultItemView']['showDiff']=!0x1;}['showDiffInBalloon'](){this['resultItemView']['showDiff']=!0x0;}['deactivateChange'](){this['fire']('deactivateChange');}['_setupClickOutsideHandler'](){ckeditor5['clickOutsideHandler']({'emitter':this,'activator':()=>this['isVisible'],'contextElements':[this['element']],'callback':()=>{this['hideBalloon'](),this['deactivateChange']();}});}['_createContentView'](){const _0x44eea9=new ckeditor5['View']();return this['resultItemView']=new AIReviewModeReviewCheckListItemResultsView(this['locale'],''),this['resultItemView']['resultResponseView']['extendTemplate']({'attributes':{'class':['ck-content']}}),this['resultItemView']['delegate']('acceptChange','dismissChange')['to'](this),_0x44eea9['setTemplate']({'tag':'div','attributes':{'class':['ck-reset','ck-ai-review-mode-balloon-panel-suggestion']},'children':[{'tag':'p','attributes':{'class':['ck-ai-review-mode__suggestion-text']},'children':[this['resultItemView']]}]}),_0x44eea9;}['_getBestRectPosition'](_0x1295ad){const _0x2ebe7e=Array['from'](_0x1295ad['getClientRects']());return _0x2ebe7e['find'](_0x7fdd08=>_0x7fdd08['width']>0x0)||_0x2ebe7e[0x0];}}const _0x1ec386=['getReviewCheckList','runReviewCheck','abortReviewStream','toggleDiff','acceptAllChanges','leaveReviewModeResultList','activateChange','acceptChange','dismissChange','learnMore','finishReview','retryReview'];class _0x128634 extends ckeditor5['ContextPlugin']{['_reviewModeView'];['_reviewModeBalloonSuggestionItemView'];['_bodyCollection'];static get['requires'](){return[_0x564b61];}static get['pluginName'](){return'AIReviewModeUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x3d4179){super(_0x3d4179),this['_bodyCollection']=new ckeditor5['BodyCollection'](this['context']['locale']),this['_bodyCollection']['attachToDom'](),this['_reviewModeView']=new _0x15c6e5(this['context']['locale']),this['_reviewModeView']['delegate'](..._0x1ec386)['to'](this),this['_reviewModeBalloonSuggestionItemView']=new AIReviewModeBalloonSuggestionItemView(this['context']['locale'],this['_bodyCollection']),this['_reviewModeBalloonSuggestionItemView']['delegate']('acceptChange','dismissChange','deactivateChange')['to'](this);}['init'](){const _0x251ff9=this['context']['plugins']['get']('AITabs');_0x251ff9['view']['on']('activateTab',(_0x34c69f,_0x481741)=>{'reviewMode'===_0x481741?this['fire']('getReviewCheckList'):this['fire']('leaveReviewMode');}),_0x251ff9['view']['addTab']({'id':'reviewMode','buttonLabel':getTranslation$i(this['context']['locale'],'AI_REVIEW_MODE'),'buttonIcon':ckeditor5['IconAIReview'],'order':0x0,'content':this['_reviewModeView']});}['destroy'](){this['_bodyCollection']['detachFromDom'](),super['destroy']();}['setAvailableChecks'](_0x34df4d){this['_reviewModeView']['reviewCheckListView']['hasChecks']()||this['_reviewModeView']['reviewCheckListView']['setChecks'](_0x34df4d),this['_reviewModeView']['showReviewCheckListView']();}['showReviewCheckList'](){this['fire']('getReviewCheckList');}['showCheckRunResults'](_0x449fca){_0x449fca&&('error-general'!==_0x449fca['status']?'error-chunk'!==_0x449fca['status']?this['_reviewModeView']['showReviewCheckResultsView']():this['showChunkErrorView']():this['showGeneralErrorView']());}['showCheckRunResult'](_0x39f528){this['_reviewModeView']['addCheckRunResult'](_0x39f528);}['showGeneralErrorView'](){this['_reviewModeView']['showGeneralErrorView']();}['showChunkErrorView'](){this['_reviewModeView']['showChunkErrorView']();}['setCheckResultTitle'](_0xceba1e,_0x43073f){this['_reviewModeView']['reviewCheckResultsView']['setTitle'](_0xceba1e,_0x43073f);}['setActiveStateInResults'](_0x482126){this['_reviewModeView']['reviewCheckResultsView']['getResults']()['forEach'](_0x1bb3be=>{_0x1bb3be['id']===_0x482126&&_0x1bb3be['setItemAsActive']();});}['resetActiveStateInResults'](){this['_reviewModeView']['reviewCheckResultsView']['getResults']()['forEach'](_0x55ca7d=>_0x55ca7d['setItemAsInactive']());}['updateChangeState'](_0x4e620c,_0x2db940){'accepted'!==_0x2db940&&'rejected'!==_0x2db940||this['_reviewModeView']['reviewCheckResultsView']['hideResult'](_0x4e620c);}['showReviewCompletedView'](){this['_reviewModeView']['showReviewCompletedView']();}['showActionsWhenResultIsReady'](){this['_reviewModeView']['showActionsWhenResultIsReady']();}['showNoChangesView'](){this['_reviewModeView']['showNoChangesView']();}['hideActionsWhenResultIsReady'](){this['_reviewModeView']['hideActionsWhenResultIsReady']();}['showChangeBalloon'](_0x2a39c1,_0x5e7ea6){this['_reviewModeBalloonSuggestionItemView']['showBalloon'](_0x2a39c1,_0x5e7ea6);}['hideChangeBalloon'](){this['_reviewModeBalloonSuggestionItemView']['hideBalloon']();}['hideDiffInBalloon'](){this['_reviewModeBalloonSuggestionItemView']['hideDiffInBalloon']();}['showDiffInBalloon'](){this['_reviewModeBalloonSuggestionItemView']['showDiffInBalloon']();}['getChangeElement'](_0x2e0ee7){const _0x382cd5=this['_reviewModeView']['reviewCheckResultsView']['getResults']()['find'](_0x88aea0=>_0x88aea0['id']===_0x2e0ee7);return _0x382cd5?_0x382cd5['element']:null;}['deactivateChange'](){this['_reviewModeBalloonSuggestionItemView']['deactivateChange']();}}const _0x5ba294='reviewmode-',_0x1aad14=0x6;class AIReviewModeEditing extends ckeditor5['ContextPlugin']{static get['pluginName'](){return'AIReviewModeEditing';}static get['requires'](){return[DocumentCompare,AIEditing];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['_markers']=new Map();['_domEmitter'];['_eventEmitter'];constructor(_0x2179ad){super(_0x2179ad),this['_domEmitter']=new(ckeditor5['DomEmitterMixin']())(),this['_eventEmitter']=new(ckeditor5['EmitterMixin']())();}get['emitter'](){return this['_eventEmitter'];}['afterInit'](){const _0x533aca=getEditorFromContext(this['context']);_0x533aca['conversion']['for']('editingDowncast')['markerToElement']({'model':_0x5ba294+'insert','view':(_0x380c18,{writer:_0x397be2})=>{const _0x1f2459=this['_markers']['get'](_0x380c18['markerName']),_0x4c6595={'class':'ck-ai_review-mode-marker_add','data-marker-id':_0x380c18['markerName']};return _0x397be2['createUIElement']('span',_0x4c6595,function(_0x57acb3){const _0x4a6598=this['toDomElement'](_0x57acb3);return _0x4a6598['innerHTML']=_0x1f2459?.['text']||'',_0x4a6598;});}}),_0x533aca['conversion']['for']('editingDowncast')['markerToHighlight']({'model':_0x5ba294+'remove-only','view':_0x1964d5=>({'classes':'ck-ai_review-mode-marker_strikethrough','attributes':{'data-marker-id':_0x1964d5['markerName']}})}),_0x533aca['conversion']['for']('editingDowncast')['markerToHighlight']({'model':_0x5ba294+'remove-context','view':_0x2e9ce0=>({'classes':'ck-ai_review-mode-marker_underline','attributes':{'data-marker-id':_0x2e9ce0['markerName']}})}),_0x533aca['conversion']['for']('editingDowncast')['markerToHighlight']({'model':_0x5ba294+'remove-text','view':_0x4e26b4=>({'classes':'ck-ai_review-mode-marker_hide','attributes':{'data-marker-id':_0x4e26b4['markerName']}})}),_0x533aca['conversion']['for']('dataDowncast')['markerToElement']({'model':_0x5ba294+'suggestion-context','view':(_0x10712f,{writer:_0x61e06e})=>_0x61e06e['createRawElement']('span',{'class':'ck-ai_review-mode-marker_context-'+(_0x10712f['isOpening']?'start':'end')})}),_0x533aca['conversion']['for']('downcast')['attributeToAttribute']({'model':_0x146f44,'view':_0x65defd}),this['_domEmitter']['listenTo'](document,'click',(_0x2f9a8b,_0x256f41)=>{const _0x34e739=_0x256f41['target'],_0x26acdd=this['_findMarkerElement'](_0x34e739);if(!_0x26acdd)return;const _0x3de8b6=_0x26acdd['getAttribute']('data-marker-id'),_0x3bba21=_0x3de8b6['split'](':')['pop']()?.['split']('_')[0x0];this['_eventEmitter']['fire']('changeMarkerClick',{'markerId':_0x3de8b6,'changeId':_0x3bba21});});}['getDocumentData'](){const _0x7b8170=this['context']['plugins']['get']('AIEditing'),_0x347aa7=getEditorFromContext(this['context']),_0x4603f9=_0x347aa7['model'],_0x36811a=new ckeditor5['ModelDocumentFragment']();for(const _0x504e94 of _0x4603f9['document']['getRoot']()['getChildren']()){const _0x1a6207=_0x504e94['_clone'](!0x0);_0x36811a['_appendChild'](_0x1a6207);}for(const _0x4bdb55 of _0x4603f9['markers'])_0x36811a['markers']['set'](_0x4bdb55['name'],this['_changeRangeOwnerDocument'](_0x4bdb55['getRange']()['clone'](),_0x36811a));const _0x32f41c=new ckeditor5['ModelTreeWalker']({'ignoreElementEnd':!0x0,'startPosition':_0x4603f9['createPositionAt'](_0x36811a,0x0)}),_0x13547a=new Set(),_0x4d8704=new Map();for(const {item:_0x3191c9}of _0x32f41c){if(!_0x3191c9['is']('$textProxy'))continue;const _0x199db4=_0x3191c9['parent'];if((!_0x199db4||!_0x199db4['is']('element','caption'))&&(_0x199db4&&_0x199db4['is']('element'))){let _0x903f7a=_0x199db4['getAttribute'](_0x146f44);_0x903f7a||(_0x903f7a=_0x7b8170['_nextDataId'](_0x13547a),_0x199db4['_setAttribute'](_0x146f44,_0x903f7a)),_0x13547a['add'](_0x903f7a);let _0xb5e1f8=_0x199db4;for(;_0xb5e1f8['parent']&&!_0xb5e1f8['parent']['is']('documentFragment');)_0xb5e1f8=_0xb5e1f8['parent'],_0xb5e1f8['hasAttribute'](_0x146f44)&&_0xb5e1f8['_removeAttribute'](_0x146f44);_0x4d8704['set'](_0x903f7a,{'path':_0x199db4['getPath'](),'getContent':this['_createGetContentUsingDataIdFn'](_0xb5e1f8['_clone'](!0x0),_0x903f7a,_0x347aa7['data'])}),_0x32f41c['jumpTo'](_0x4603f9['createPositionAfter'](_0x199db4));}}return{'content':_0x347aa7['data']['processor']['toData'](_0x347aa7['data']['toView'](_0x36811a)),'version':_0x347aa7['model']['document']['version'],'elements':_0x4d8704};}['diffContent'](_0x35dc62,_0x5adc78){const _0x5eb4bf=getEditorFromContext(this['context']),_0x531c43=_0x5eb4bf['data']['parse'](_0x35dc62,'$documentFragment'),_0x2c181e=_0x5eb4bf['model']['createPositionAt'](_0x531c43,0x0),_0x421a45=this['context']['plugins']['get']('DocumentCompare')['getDiff'](_0x35dc62,_0x5adc78,{'anchor':_0x2c181e,'markDeletions':!0x0})['getOperations']()['filter'](_0x3a0f42=>'insert'===_0x3a0f42['type']||'marker'===_0x3a0f42['type']&&_0x3a0f42['name']['startsWith']('$markedRemove')),_0x212c7a=this['_groupAdjacentOperations'](_0x421a45),_0x1a20f3=[];let _0x49ff74=0x0;return _0x5eb4bf['model']['change'](_0x5df54f=>{for(let _0x15e579=0x0;_0x15e579<_0x212c7a['length'];_0x15e579++){const _0xc6f21=_0x212c7a[_0x15e579],_0x4e8711=_0x5df54f['createDocumentFragment']();for(const _0x338b12 of _0x531c43['getChildren']())_0x5df54f['append'](_0x338b12['_clone'](!0x0),_0x4e8711);for(const _0x23abaa of _0xc6f21['operationsIsolated'])if('insert'===_0x23abaa['type']){const _0x52a064=_0x23abaa;_0x52a064['baseVersion']=null,_0x52a064['isDocumentOperation']=!0x1,this['_changeOperationOwnerDocument'](_0x52a064,_0x4e8711),_0x5df54f['batch']['addOperation'](_0x23abaa),_0x5eb4bf['model']['applyOperation'](_0x23abaa);const _0x47537a='suggestion:insertion:id:authorId:'+_0x49ff74++,_0x1a7d34=_0x5eb4bf['model']['createRange'](_0x52a064['position'],_0x52a064['position']['getShiftedBy'](_0x52a064['howMany']));_0x4e8711['markers']['set'](_0x47537a,_0x1a7d34);}else{if('marker'===_0x23abaa['type']&&_0x23abaa['name']['startsWith']('$markedRemove')){const _0x1993ad=_0x23abaa,_0x5ce1c1='suggestion:deletion:id:authorId:'+_0x49ff74++;this['_changeOperationOwnerDocument'](_0x1993ad,_0x4e8711),_0x4e8711['markers']['set'](_0x5ce1c1,_0x1993ad['newRange']);}}const _0x21631d=this['_getChangeContext'](this['_changePositionOwnerDocument'](this['_getOperationStart'](_0xc6f21['operationsIsolated'][0x0]),_0x4e8711),this['_changePositionOwnerDocument'](this['_getOperationEnd'](_0xc6f21['operationsIsolated'][_0xc6f21['operationsIsolated']['length']-0x1]),_0x4e8711));_0x4e8711['markers']['set'](_0x5ba294+'suggestion-context',new ckeditor5['ModelRange'](_0x21631d['start'],_0x21631d['end'])),_0x1a20f3['push']({..._0xc6f21,'context':this['_createGetContextFn'](_0x4e8711,_0x5eb4bf['data'],{'ellipsisBefore':_0x21631d['hasContentBefore'],'ellipsisAfter':_0x21631d['hasContentAfter']}),'content':this['_createGetContentFn'](_0x4e8711,_0x5eb4bf['data'])});}}),_0x1a20f3;}['markChangePositionInEditorContent'](_0x5e5aaa,_0x211f5e){const _0x12951c=_0x5e5aaa[0x0]['parent']['id'],_0x14c525=_0x211f5e['elements']['get'](_0x12951c);if(!_0x14c525)return void console['warn']('No\x20element\x20found\x20for\x20ID:\x20'+_0x12951c);const _0x114ef4=_0x14c525['path'],_0x5b3327=getEditorFromContext(this['context']),_0x7f6cb8=_0x5b3327['model']['document']['history']['getOperations'](_0x211f5e['version']),_0xc39df5=[];for(const _0x41d56d of _0x5e5aaa){const _0x2284ac=_0x41d56d['operationsIsolated']['map'](_0x2da012=>this['_translateOperationToEditorContent'](_0x2da012,_0x114ef4,_0x5b3327['model']['document']['getRoots']()[0x0]));if(!_0x2284ac||!_0x2284ac['length'])continue;const _0x294d97=_0x2284ac['every'](_0x48080d=>'marker'===_0x48080d['type']&&_0x48080d['name']['startsWith']('$markedRemove')),_0xc8c319={'document':_0x5b3327['model']['document'],'useRelations':!0x1,'padWithNoOps':!0x1},_0x1a3a4c=ckeditor5['transformOperationSets'](_0x2284ac,_0x7f6cb8,_0xc8c319)['operationsA'];for(const _0xeeb7c8 of _0x1a3a4c)if('insert'===_0xeeb7c8['type']){const _0x5aa9d6=_0xeeb7c8,_0x5a907c=_0x5aa9d6['nodes'];let _0x44dae8='';for(const _0x1fea3e of _0x5a907c)_0x1fea3e&&_0x1fea3e['is']('model:$text')&&(_0x44dae8+=_0x1fea3e['data']);_0xc39df5['push']({'start':_0x5aa9d6['position'],'end':_0x5aa9d6['position'],'type':'insert','groupId':_0x41d56d['id'],'text':_0x44dae8});}else{if('marker'===_0xeeb7c8['type']&&_0xeeb7c8['name']['startsWith']('$markedRemove')){const _0x5cd281=_0xeeb7c8;let _0x137950='remove-text';if(_0x294d97){const _0x4aeb7c=this['_findAdjacentContextDistance'](_0x5cd281['newRange']['start'],'backward',_0x5b3327['model']['schema']),_0x379f19=this['_findAdjacentContextDistance'](_0x5cd281['newRange']['end'],'forward',_0x5b3327['model']['schema']);if(_0x4aeb7c||_0x379f19){const _0x1b041e=_0x5cd281['newRange']['start']['getShiftedBy'](-_0x4aeb7c),_0x5b1013=_0x5cd281['newRange']['end']['getShiftedBy'](_0x379f19);_0xc39df5['push']({'start':_0x1b041e,'end':_0x5b1013,'groupId':_0x41d56d['id'],'type':'remove-context'});}else _0x137950='remove-only';}_0xc39df5['push']({'start':_0x5cd281['newRange']['start'],'end':_0x5cd281['newRange']['end'],'groupId':_0x41d56d['id'],'type':_0x137950});}}}this['_insertMarkers'](_0xc39df5);}['clearAllMarkers'](){getEditorFromContext(this['context'])['model']['change'](_0x4ee43c=>{for(const _0x2ab837 of this['_markers']['keys']())_0x4ee43c['removeMarker'](_0x2ab837);}),this['_markers']['clear']();}['switchToReadOnly'](){getEditorFromContext(this['context'])['enableReadOnlyMode']('ai-review-mode');}['switchToEdit'](){getEditorFromContext(this['context'])['disableReadOnlyMode']('ai-review-mode');}['applyChange'](_0x18b080){const _0x3b89b4=getEditorFromContext(this['context']),_0x20f01a=_0x3b89b4['model'],_0x38bb7e=_0x18b080['map'](_0x476c8e=>this['_getMarkersDataForGroup'](_0x476c8e))['flat']();_0x20f01a['change'](_0x51a163=>{for(const _0x4bfab6 of _0x38bb7e){const _0x144e53=_0x3b89b4['model']['markers']['get'](_0x4bfab6['id']);_0x144e53&&('insert'===_0x4bfab6['type']?_0x20f01a['insertContent'](_0x51a163['createText'](_0x4bfab6['text']||''),_0x144e53['getRange']()['start']):'remove-text'!==_0x4bfab6['type']&&'remove-only'!==_0x4bfab6['type']||_0x20f01a['deleteContent'](_0x20f01a['createSelection'](_0x144e53['getRange']())),_0x51a163['removeMarker'](_0x4bfab6['id']),this['_markers']['delete'](_0x4bfab6['id']));}});}['rejectChange'](_0xd01c99){const _0x22b1d4=getEditorFromContext(this['context']),_0xe1d2f6=this['_getMarkersDataForGroup'](_0xd01c99);_0x22b1d4['model']['change'](_0x5d93a8=>{for(const _0xe86da0 of _0xe1d2f6)_0x5d93a8['removeMarker'](_0xe86da0['id']),this['_markers']['delete'](_0xe86da0['id']);});}['getEditor'](){return getEditorFromContext(this['context']);}['getMarkerElementForChange'](_0x131c25){const _0x26068f=Array['from'](this['_markers']['values']())['filter'](_0x5309e0=>_0x5309e0['groupId']===_0x131c25);if(!_0x26068f['length'])return null;const _0x49e5a9=0x1===_0x26068f['length']?_0x26068f[0x0]:this['_sortMarkers'](_0x26068f)[0x0],_0x3be093=getEditorFromContext(this['context']),_0x9688dc=_0x3be093['model']['markers']['get'](_0x49e5a9['id']);if(!_0x9688dc)return null;const _0x21d788=_0x9688dc['getRange'](),_0x17462=_0x3be093['editing']['view']['getDomRoot']();if(!_0x17462||!_0x21d788)return null;const _0x8f1a54=_0x17462['querySelector']('[data-marker-id=\x22'+_0x49e5a9['id']+'\x22]');return _0x8f1a54?{'modelRange':_0x21d788,'domElement':_0x8f1a54}:null;}['_translateOperationToEditorContent'](_0x506436,_0x5a4d95,_0x124800){if('insert'===_0x506436['type']){const _0x4ac036=_0x506436;return new ckeditor5['InsertOperation'](this['_changePosition'](_0x4ac036['position'],_0x5a4d95['concat'](_0x4ac036['position']['offset']),_0x124800),_0x4ac036['nodes'],_0x4ac036['baseVersion']);}if('marker'===_0x506436['type']&&_0x506436['name']['startsWith']('$markedRemove')){const _0x32e079=_0x506436;return new ckeditor5['MarkerOperation'](_0x32e079['name'],_0x32e079['oldRange'],this['_changeRange'](_0x32e079['newRange'],_0x5a4d95['concat'](_0x32e079['newRange']['start']['offset']),_0x5a4d95['concat'](_0x32e079['newRange']['end']['offset']),_0x124800),_0x32e079['_markers'],_0x32e079['affectsData'],_0x32e079['baseVersion']);}return _0x506436;}['_groupAdjacentOperations'](_0x3f1ee4){if(!_0x3f1ee4['length'])return[];const _0x3a458f=[];let _0xa6b3df=0x0,_0x9fec56=0x0,_0x275a0a=[];for(let _0x4be334=0x0;_0x4be334<=_0x3f1ee4['length'];_0x4be334++){const _0x52ab88=_0x3f1ee4[_0x4be334],_0x30ef82=_0x3f1ee4[_0x4be334-0x1];!_0x52ab88||_0x30ef82&&!this['_getOperationEnd'](_0x30ef82)['isTouching'](this['_getOperationStart'](_0x52ab88))?(_0x3a458f['push']({'operations':_0x275a0a,'operationsIsolated':_0x275a0a['map'](_0x306a06=>this['_shiftOperation'](_0x306a06['clone'](),-_0x9fec56)),'groupOffset':_0xa6b3df}),_0x275a0a=_0x52ab88?[_0x52ab88]:[],_0x9fec56+=_0xa6b3df,_0xa6b3df=0x0):_0x275a0a['push'](_0x52ab88),_0x52ab88&&'insert'===_0x52ab88['type']&&(_0xa6b3df+=_0x52ab88['howMany']);}return _0x3a458f;}['_findAdjacentContextDistance'](_0x27d39e,_0x4875d8,_0xf1da9,_0x2ac76a=0x1){const _0x23196d=new ckeditor5['ModelTreeWalker']({'startPosition':_0x27d39e,'direction':_0x4875d8});let _0x2c57c5=0x0;for(let _0xbb5e03=0x0;_0xbb5e03<_0x2ac76a;_0xbb5e03++){let _0x383ad4=0x0,_0x34589d=!0x1,_0x62c7f='forward'===_0x4875d8?/^\W*\w+/:/\w+\W*$/;for(const {item:_0x5dac47}of _0x23196d)if(_0x5dac47['is']('$textProxy')){const _0x46d0ef=_0x62c7f['exec'](_0x5dac47['data']);if(_0x46d0ef&&_0x46d0ef['length']){if(_0x383ad4+='forward'===_0x4875d8?_0x46d0ef['index']+_0x46d0ef[0x0]['length']:_0x5dac47['data']['length']-_0x46d0ef['index'],_0x46d0ef[0x0]['length']!==_0x5dac47['data']['length'])break;_0x34589d=!0x0,_0x62c7f='forward'===_0x4875d8?/^\w+/:/\w+$/;}else{if(_0x34589d)break;_0x383ad4+=_0x5dac47['offsetSize'];}}else{if(_0x5dac47['is']('element')){_0xf1da9['isInline'](_0x5dac47)&&!_0x34589d&&(_0x383ad4+=0x1);break;}}_0x2c57c5+=_0x383ad4,_0x23196d['jumpTo'](_0x27d39e['getShiftedBy']('forward'===_0x4875d8?_0x2c57c5:-_0x2c57c5));}return _0x2c57c5;}['_getChangeContext'](_0x36ba78,_0x69e212){const _0x401790=getEditorFromContext(this['context'])['model']['schema'],_0x35a2fa=this['_findAdjacentContextDistance'](_0x36ba78,'backward',_0x401790,_0x1aad14),_0x5d0d43=this['_findAdjacentContextDistance'](_0x69e212,'forward',_0x401790,_0x1aad14),_0x1ce3ad=_0x36ba78['getShiftedBy'](-_0x35a2fa),_0x391ea3=_0x69e212['getShiftedBy'](_0x5d0d43);return{'start':_0x1ce3ad,'end':_0x391ea3,'hasContentBefore':!_0x1ce3ad['isAtStart'],'hasContentAfter':!_0x391ea3['isAtEnd']};}['_insertMarkers'](_0x1e2d60){const _0x4c794f=this['context']['plugins']['get']('AIEditing'),_0x45c7f4=new Set();getEditorFromContext(this['context'])['model']['change'](_0x3b480c=>{for(const _0x4ae961 of _0x1e2d60){const _0x4c6eb1=''+_0x5ba294+_0x4ae961['type']+':'+_0x4ae961['groupId']+'_'+_0x4c794f['_nextDataId'](_0x45c7f4);this['_markers']['set'](_0x4c6eb1,{'id':_0x4c6eb1,'groupId':_0x4ae961['groupId'],'type':_0x4ae961['type'],'text':_0x4ae961['text']}),_0x3b480c['addMarker'](_0x4c6eb1,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x3b480c['createRange'](_0x4ae961['start'],_0x4ae961['end'])});}});}['_createGetContextFn'](_0x38b00f,_0x12fa1b,_0x469693){let _0x23658a='';return()=>{if(!_0x23658a){const _0x3f2131=_0x12fa1b['toView'](_0x38b00f,{'showSuggestionHighlights':!0x0}),_0x39d839=_0x3f2131['getChild'](0x0);if(!_0x39d839)return'';let _0x19646a=!0x1;const _0x3d0df6=[];for(const _0x36d767 of _0x39d839['getChildren']())_0x36d767['is']('element','span')&&_0x36d767['hasClass']('ck-ai_review-mode-marker_context-end')&&(_0x19646a=!0x1),_0x19646a&&_0x3d0df6['push'](_0x36d767),_0x36d767['is']('element','span')&&_0x36d767['hasClass']('ck-ai_review-mode-marker_context-start')&&(_0x19646a=!0x0);_0x39d839['_removeChildren'](0x0,_0x39d839['childCount']),_0x469693?.['ellipsisBefore']&&_0x39d839['_appendChild']('…'),_0x39d839['_appendChild'](_0x3d0df6),_0x469693?.['ellipsisAfter']&&_0x39d839['_appendChild']('…');const _0x2de6c9=_0x12fa1b['htmlProcessor']['domConverter']['viewToDom'](_0x3f2131),_0x23897c=_0x12fa1b['htmlProcessor']['htmlWriter']['getHtml'](_0x2de6c9);_0x23658a=_0x23897c;}return _0x23658a;};}['_createGetContentFn'](_0x25cbfd,_0x449798){let _0x150ce1='';return()=>(_0x150ce1||(_0x150ce1=_0x449798['stringify'](_0x25cbfd,{'showSuggestionHighlights':!0x0})),_0x150ce1);}['_createGetContentUsingDataIdFn'](_0x48724b,_0x214918,_0x307e3e){let _0x3140bf='';return()=>{if(!_0x3140bf){const _0x399ae1=_0x307e3e['toView'](new ckeditor5['ModelDocumentFragment'](_0x48724b)),_0x31ab68=_0x307e3e['htmlProcessor']['domConverter']['viewToDom'](_0x399ae1)['querySelector']('[data-id=\x22'+_0x214918+'\x22]');_0x3140bf=_0x31ab68?.['outerHTML']||'';}return _0x3140bf;};}['_findMarkerElement'](_0x20a9b0,_0x5d9de5=0x5){let _0x18cbe5=_0x20a9b0,_0x361d02=null;for(let _0x28ac5d=0x0;_0x28ac5d<_0x5d9de5&&_0x18cbe5;_0x28ac5d++){if(!_0x18cbe5['className']){_0x18cbe5=_0x18cbe5['parentElement'];continue;}if(!(''+_0x18cbe5['className'])['includes']('ck-ai_review-mode-marker_')){_0x18cbe5=_0x18cbe5['parentElement'];continue;}if(!_0x18cbe5['getAttribute']('data-marker-id'))break;_0x361d02=_0x18cbe5;break;}return _0x361d02;}['_getMarkersDataForGroup'](_0x2db9f1){return Array['from'](this['_markers']['values']())['filter'](_0x417d1=>_0x417d1['groupId']===_0x2db9f1);}['_getOperationStart'](_0x4446e1){return'insert'===_0x4446e1['type']?_0x4446e1['position']:_0x4446e1['newRange']['start'];}['_getOperationEnd'](_0x49ac4d,_0x282b99=!0x1){return'insert'===_0x49ac4d['type']?_0x282b99?_0x49ac4d['position']:_0x49ac4d['position']['getShiftedBy'](_0x49ac4d['howMany']):_0x49ac4d['newRange']['end'];}['_shiftOperation'](_0x3171cc,_0x39dc6a){return'insert'===_0x3171cc['type']?_0x3171cc['position']=_0x3171cc['position']['getShiftedBy'](_0x39dc6a):'marker'===_0x3171cc['type']&&_0x3171cc['newRange']&&(_0x3171cc['newRange']=new ckeditor5['ModelRange'](_0x3171cc['newRange']['start']['getShiftedBy'](_0x39dc6a),_0x3171cc['newRange']['end']['getShiftedBy'](_0x39dc6a))),_0x3171cc;}['_changeOperationOwnerDocument'](_0xdc88e0,_0x954a8f){'insert'===_0xdc88e0['type']?_0xdc88e0['position']=this['_changePositionOwnerDocument'](_0xdc88e0['position'],_0x954a8f):'marker'===_0xdc88e0['type']&&_0xdc88e0['newRange']&&(_0xdc88e0['newRange']=this['_changeRangeOwnerDocument'](_0xdc88e0['newRange'],_0x954a8f));}['_changePositionOwnerDocument'](_0x4af3e8,_0x49e4e3){return new ckeditor5['ModelPosition'](_0x49e4e3,_0x4af3e8['path']);}['_changeRangeOwnerDocument'](_0x75faab,_0x3d4679){return new ckeditor5['ModelRange'](this['_changePositionOwnerDocument'](_0x75faab['start'],_0x3d4679),this['_changePositionOwnerDocument'](_0x75faab['end'],_0x3d4679));}['_changePosition'](_0x2d4d1d,_0x521f1b,_0xf7b8ef){return new ckeditor5['ModelPosition'](_0xf7b8ef,[..._0x521f1b]);}['_changeRange'](_0xa134fe,_0x3d91f9,_0xa4ac79,_0x23dcba){return new ckeditor5['ModelRange'](this['_changePosition'](_0xa134fe['start'],_0x3d91f9,_0x23dcba),this['_changePosition'](_0xa134fe['end'],_0xa4ac79,_0x23dcba));}['_sortMarkers'](_0x94d514){const _0x2287be=_0xff8be0=>{switch(_0xff8be0){case'insert':return 0x1;case'remove-context':return 0x2;case'remove-only':return 0x3;case'remove-text':return 0x4;}};return _0x94d514['sort']((_0x1d785e,_0x166607)=>_0x2287be(_0x1d785e['type'])-_0x2287be(_0x166607['type']));}}class _0x46cffe extends ckeditor5['ContextPlugin']{static get['requires'](){return[AIReviewModeController,_0x128634,AIReviewModeEditing];}static get['pluginName'](){return'AIReviewMode';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}class _0x305ec8 extends ckeditor5['Command']{['_transformCallback'];constructor(_0x3b0d35,_0x3d60da){super(_0x3b0d35),this['_transformCallback']=_0x3d60da;}['execute'](){const _0x4555d6=this['editor']['model'],_0x288936=Array['from'](this['_getAffectedRanges']()),_0x3eeafc=Array['from'](_0x4555d6['document']['selection']['getRanges']());_0x4555d6['change'](_0x3ceba8=>{for(const _0x261425 of _0x288936)this['_modifyContent'](_0x261425,_0x3ceba8);_0x3ceba8['setSelection'](_0x3eeafc);});}['refresh'](){for(const _0x1d9d87 of this['_getAffectedRanges']())for(const _0x485208 of _0x1d9d87)if(_0x485208['item']['is']('$textProxy'))return void(this['isEnabled']=!0x0);this['isEnabled']=!0x1;}['_getAffectedRanges'](){const _0x1f3930=this['editor']['model'],_0xc2499c=_0x1f3930['document']['selection'];if(_0xc2499c['isCollapsed']){const _0x56b419=this['_findAncestorTextBlock'](_0xc2499c['getFirstPosition']()['parent']);return _0x56b419?[_0x1f3930['createRangeIn'](_0x56b419)]:[];}return _0xc2499c['getRanges']();}['_modifyContent'](_0xb513d3,_0x3b85f3){for(const _0x4d63ca of this['_getElementsAllowingText'](_0xb513d3)){const _0x29047a=this['_getElementTextContent'](_0x4d63ca),_0x3f70cf=this['_transformCallback'](_0x29047a);for(const _0x5913da of this['_getTextNodesRangeLimited'](_0x4d63ca,_0xb513d3))this['_replaceTextNodeData'](_0x5913da,_0x3f70cf,_0x3b85f3);}}['_findAncestorTextBlock'](_0x50060f){const _0x44a94c=this['editor']['model']['schema'];if(_0x50060f['is']('element')&&_0x44a94c['checkChild'](_0x50060f,'$text'))return _0x50060f;const _0x106e58=_0x50060f['parent'];return!_0x106e58||_0x44a94c['isLimit'](_0x50060f)?null:this['_findAncestorTextBlock'](_0x106e58);}*['_getElementsAllowingText'](_0x5ef396){const _0x468911=new Set();for(const {item:_0x134d56}of _0x5ef396['getWalker']()){const _0x447aa8=this['_findAncestorTextBlock'](_0x134d56);_0x447aa8&&!_0x468911['has'](_0x447aa8)&&(_0x468911['add'](_0x447aa8),yield _0x447aa8);}}['_getElementTextContent'](_0x256a5f){return Array['from'](_0x256a5f['getChildren']())['reduce']((_0x1ef172,_0x556f7e)=>_0x1ef172+(_0x556f7e['is']('$text')?_0x556f7e['data']:'\x20'),'');}*['_getTextNodesRangeLimited'](_0x16761b,_0x8181f){const _0x4111f0=_0x8181f['getIntersection'](this['editor']['model']['createRangeIn'](_0x16761b));if(_0x4111f0){for(const _0x313500 of _0x4111f0['getItems']())_0x313500['is']('$textProxy')&&_0x313500['parent']==_0x16761b&&(yield _0x313500);}}['_replaceTextNodeData'](_0x4b3515,_0x36459b,_0x565d1b){const _0x5c269b=_0x36459b['substring'](_0x4b3515['startOffset'],_0x4b3515['endOffset']);if(_0x5c269b===_0x4b3515['data'])return;const _0x279e8e=_0x4b3515['getAttributes']();this['editor']['model']['insertContent'](_0x565d1b['createText'](_0x5c269b,_0x279e8e),_0x565d1b['createSelection'](_0x565d1b['createRangeOn'](_0x4b3515)));}}function getTranslation$g(_0x554a46,_0x2d2c15,..._0x34732b){const t=_0x554a46['t'];switch(_0x2d2c15){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',..._0x34732b);default:return _0x2d2c15;}}class CaseChangeEditing extends ckeditor5['Plugin']{['_currentCommandIndex']=0x0;static get['pluginName'](){return'CaseChangeEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x3de835=this['editor'],_0x358a0e=_0x3de835['locale']['contentLanguage'],_0x30b00c=_0x428807(_0x3de835['config']['get']('caseChange.titleCase.excludeWords')),_0x4500dd={'changeCaseUpper':new _0x305ec8(_0x3de835,_0x1dccc7=>_0x1dccc7['toLocaleUpperCase'](_0x358a0e)),'changeCaseLower':new _0x305ec8(_0x3de835,_0x5687a0=>_0x5687a0['toLocaleLowerCase'](_0x358a0e)),'changeCaseTitle':new _0x305ec8(_0x3de835,_0x1b15e0=>capitalizeText(_0x1b15e0,_0x30b00c,_0x358a0e))};for(const [_0x3dd2f5,_0x5ecec6]of Object['entries'](_0x4500dd))_0x3de835['commands']['add'](_0x3dd2f5,_0x5ecec6),_0x5ecec6['on']('execute',()=>{this['_announceCaseChangeOperation'](_0x3dd2f5);});this['listenTo'](_0x3de835['editing']['view']['document'],'selectionChange',()=>{this['_currentCommandIndex']=0x0;}),_0x3de835['keystrokes']['set']('shift+f3',(_0x3449bb,_0x31cfc2)=>{const _0x1f90da=_getOptions(this['editor']['locale']),_0x28b0bf=_0x1f90da[this['_currentCommandIndex']%_0x1f90da['length']]['commandName'];_0x3de835['execute'](_0x28b0bf),this['_currentCommandIndex']++,_0x31cfc2();});}['afterInit'](){_0x2169a5(this);}['_announceCaseChangeOperation'](_0x33cb80){const {ui:_0x4b2bf5,locale:_0x2f1715}=this['editor'],_0x5c99ea=_getOptions(_0x2f1715)['find'](_0x418c50=>_0x418c50['commandName']===_0x33cb80)['label']['toLowerCase']();_0x4b2bf5['ariaLiveAnnouncer']['announce'](getTranslation$g(_0x2f1715,'Changed\x20case\x20to\x20%0',_0x5c99ea));}}function _getOptions(_0x358619){return[{'label':getTranslation$g(_0x358619,'UPPERCASE'),'commandName':'changeCaseUpper'},{'label':getTranslation$g(_0x358619,'lowercase'),'commandName':'changeCaseLower'},{'label':getTranslation$g(_0x358619,'Title\x20Case'),'commandName':'changeCaseTitle'}];}function capitalizeText(_0x4341c7,_0x5aae50,_0x5b0942){return _0x35fbc7(_0x4341c7,(_0x507065,_0x337677,_0xd906f1)=>{const _0x556aa0=_0x507065['toLocaleLowerCase'](_0x5b0942);return _0x5aae50(_0x556aa0,{'charOffset':_0x337677,'wordIndex':_0xd906f1,'blockText':_0x4341c7})?_0x556aa0:_0x556aa0['replace'](/(?:^|[^\p{L}\d'])\p{L}/gu,_0x148104=>_0x148104['toLocaleUpperCase'](_0x5b0942));});}function _0x35fbc7(_0x503d15,_0x12abbb){let _0x4e20d2='',_0x5b1600=0x0,_0x54b0c2=0x0;for(const _0x269e8b of _0x503d15['matchAll'](/ +/g)){const _0x5ec501=_0x269e8b['index'],_0x4878f5=_0x503d15['substring'](_0x5b1600,_0x5ec501);_0x4878f5['length']&&(_0x4e20d2+=_0x12abbb(_0x4878f5,_0x5b1600,_0x54b0c2++)),_0x4e20d2+=_0x269e8b[0x0],_0x5b1600=_0x5ec501+_0x269e8b[0x0]['length'];}const _0xa137a6=_0x503d15['substring'](_0x5b1600);return _0xa137a6['length']&&(_0x4e20d2+=_0x12abbb(_0xa137a6,_0x5b1600,_0x54b0c2)),_0x4e20d2;}function _0x428807(_0x2910bc=[]){return'function'==typeof _0x2910bc?_0x2910bc:(_0x245c50,{wordIndex:_0x351179})=>_0x351179>0x0&&_0x2910bc['includes'](_0x245c50);}async function _0x2169a5(_0x2d0502){const _0x26a9f7=_0x554e31([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]),_0x37cf9f=window[_0x554e31([0x44,0x61,0x74,0x65])][_0x554e31([0x6e,0x6f,0x77])](),_0x5426f6=_0x2d0502[_0x554e31([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x2cbf4b=new window[(_0x554e31([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x42ae25=>{_0x5426f6[_0x554e31([0x6f,0x6e,0x63,0x65])](_0x554e31([0x72,0x65,0x61,0x64,0x79]),_0x42ae25);}),_0x4a70a9={[_0x554e31([0x6b,0x74,0x79])]:_0x554e31([0x45,0x43]),[_0x554e31([0x75,0x73,0x65])]:_0x554e31([0x73,0x69,0x67]),[_0x554e31([0x63,0x72,0x76])]:_0x554e31([0x50,0x2d,0x32,0x35,0x36]),[_0x554e31([0x78])]:_0x554e31([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]),[_0x554e31([0x79])]:_0x554e31([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]),[_0x554e31([0x61,0x6c,0x67])]:_0x554e31([0x45,0x53,0x32,0x35,0x36])},_0xf1e09=_0x5426f6[_0x554e31([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x554e31([0x67,0x65,0x74])](_0x554e31([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x2775f9=await(async function(){let _0x102bdf,_0x449115=null,_0x83e2db=null;try{if(_0xf1e09==_0x554e31([0x47,0x50,0x4c]))return _0x554e31([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x102bdf=(function(){const _0x4b507f=_0xf1e09[_0x554e31([0x73,0x70,0x6c,0x69,0x74])](_0x554e31([0x2e]));if(0x3!=_0x4b507f[_0x554e31([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;const _0x3a4e2b=_0x4b507f[0x1];return _0x58ae4c(_0x3a4e2b);function _0x58ae4c(_0x34d406){const _0x311621=_0xf73a0e(_0x34d406);return _0x311621&&_0x4061a6()?_0x311621:null;function _0x4061a6(){const _0x3a02ba=_0x311621[_0x554e31([0x6a,0x74,0x69])],_0x41b45e=window[_0x554e31([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3a02ba[_0x554e31([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3a02ba[_0x554e31([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x219e45={..._0x311621,[_0x554e31([0x6a,0x74,0x69])]:_0x3a02ba[_0x554e31([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x3a02ba[_0x554e31([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x219e45[_0x554e31([0x76,0x63])],_0x291538(_0x219e45)==_0x41b45e;}}}()),!_0x102bdf)return _0x554e31([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);_0x102bdf[_0x554e31([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x83e2db=function(_0x2987e4,_0x51032e){return new window[(_0x554e31([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4ae788=>{if(_0xf785da())return _0x4ae788(_0x554e31([0x56,0x61,0x6c,0x69,0x64]));_0x10165a(),_0x5426f6[_0x554e31([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x554e31([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x475adc=!0x1;const _0x21c971=ckeditor5['uid']();function _0x9ea124(_0xdbedba){return!!_0xdbedba&&(typeof _0xdbedba===_0x554e31([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0xdbedba===_0x554e31([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0xdbedba[_0x554e31([0x74,0x68,0x65,0x6e])]===_0x554e31([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0xdbedba[_0x554e31([0x63,0x61,0x74,0x63,0x68])]===_0x554e31([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x2cee2c(_0x413440){_0x383d89(_0x413440)[_0x554e31([0x74,0x68,0x65,0x6e])](_0x48e3d1=>{if(!_0x48e3d1||_0x48e3d1[_0x554e31([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x554e31([0x6f,0x6b]))return _0x554e31([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x5ba745(_0x291538(_0x21c971+_0x51032e))!=_0x48e3d1[_0x554e31([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x554e31([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x554e31([0x56,0x61,0x6c,0x69,0x64]);})[_0x554e31([0x74,0x68,0x65,0x6e])](_0x4dd42f=>(_0x284f4e(),_0x4dd42f),()=>{const _0x23a592=_0x3787af();return null==_0x23a592?(_0x284f4e(),_0x554e31([0x56,0x61,0x6c,0x69,0x64])):_0x554e31(_0x37cf9f-_0x23a592>0x240c8400?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x554e31([0x74,0x68,0x65,0x6e])](_0x4ae788)[_0x554e31([0x63,0x61,0x74,0x63,0x68])](()=>{_0x4ae788(_0x554e31([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x42b72a=0x36ee80;function _0x284f4e(){const _0xbabf36=_0x554e31([0x6c,0x6c,0x63,0x74,0x2d])+_0x5ba745(_0x291538(_0x2987e4)),_0xd78874=_0xb8dcc(_0x5ba745(window[_0x554e31([0x4d,0x61,0x74,0x68])][_0x554e31([0x63,0x65,0x69,0x6c])](_0x37cf9f/_0x42b72a)));window[_0x554e31([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x554e31([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xbabf36,_0xd78874);}function _0x3787af(){const _0x5acfc6=_0x554e31([0x6c,0x6c,0x63,0x74,0x2d])+_0x5ba745(_0x291538(_0x2987e4)),_0x29ae06=window[_0x554e31([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x554e31([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5acfc6);return _0x29ae06?window[_0x554e31([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xb8dcc(_0x29ae06),0x10)*_0x42b72a:null;}function _0x383d89(_0x23c9b8){return new window[(_0x554e31([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x49fd7f,_0x465253)=>{_0x23c9b8[_0x554e31([0x74,0x68,0x65,0x6e])](_0x49fd7f,_0x465253),window[_0x554e31([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x465253,0x1d4c0);});}}_0x5426f6[_0x554e31([0x6f,0x6e])](_0x554e31([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x219983,_0x3cd5d1)=>{if(_0x3cd5d1[0x0]!=_0x2987e4)return _0x4ae788(_0x554e31([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x3cd5d1[0x1]={..._0x3cd5d1[0x1],[_0x554e31([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x21c971};},{[_0x554e31([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x554e31([0x68,0x69,0x67,0x68])}),_0x5426f6[_0x554e31([0x6f,0x6e])](_0x554e31([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x8b348e=>{_0x9ea124(_0x8b348e[_0x554e31([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x475adc=!0x0,_0x2cee2c(_0x8b348e[_0x554e31([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x554e31([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x554e31([0x6c,0x6f,0x77])}),_0x2cbf4b[_0x554e31([0x74,0x68,0x65,0x6e])](()=>{_0x475adc||_0x4ae788(_0x554e31([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0xf785da(){return _0x5426f6[_0x554e31([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x554e31([0x76,0x69,0x65,0x77])][_0x554e31([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x554e31([0x61,0x75,0x74,0x6f]);}function _0x10165a(){_0x5426f6[_0x554e31([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x554e31([0x76,0x69,0x65,0x77])][_0x554e31([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x554e31([0x61,0x75,0x74,0x6f]);}}(_0x102bdf[_0x554e31([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x102bdf[_0x554e31([0x6a,0x74,0x69])]));const _0x4a333d=await(async function(){let _0x32653c=!0x0;try{const _0x557520=_0xf1e09[_0x554e31([0x73,0x70,0x6c,0x69,0x74])](_0x554e31([0x2e])),[_0x3f983e,_0x3a49c6,_0x2e7128]=_0x557520;return _0x44deb7(_0x3f983e),await _0x530d4d(_0x3f983e,_0x3a49c6,_0x2e7128),_0x32653c;}catch{return!0x1;}function _0x44deb7(_0x4df423){const _0x59b9de=_0xf73a0e(_0x4df423);_0x59b9de&&_0x59b9de[_0x554e31([0x61,0x6c,0x67])]==_0x554e31([0x45,0x53,0x32,0x35,0x36])||(_0x32653c=!0x1);}async function _0x530d4d(_0x2717f1,_0x3ba434,_0x55903c){const _0x451f9c=window[_0x554e31([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x554e31([0x66,0x72,0x6f,0x6d])](_0x57d9b8(_0x55903c),_0x112576=>_0x112576[_0x554e31([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x54a076=new window[(_0x554e31([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x554e31([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x2717f1+_0x554e31([0x2e])+_0x3ba434),_0x36db20=window[_0x554e31([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x554e31([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x36db20)return;const _0x47bb07=await _0x36db20[_0x554e31([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x554e31([0x6a,0x77,0x6b]),_0x4a70a9,{[_0x554e31([0x6e,0x61,0x6d,0x65])]:_0x554e31([0x45,0x43,0x44,0x53,0x41]),[_0x554e31([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x554e31([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x554e31([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x36db20[_0x554e31([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x554e31([0x6e,0x61,0x6d,0x65])]:_0x554e31([0x45,0x43,0x44,0x53,0x41]),[_0x554e31([0x68,0x61,0x73,0x68])]:{[_0x554e31([0x6e,0x61,0x6d,0x65])]:_0x554e31([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x47bb07,_0x451f9c,_0x54a076)||(_0x32653c=!0x1);}}());return _0x4a333d?(function(){const _0x209e27=_0x102bdf[_0x554e31([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];if(!_0x209e27)return!0x1;if(_0x209e27[_0x554e31([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x554e31([0x2a])))return!0x0;if(_0x209e27[_0x554e31([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x554e31([0x43,0x43])))return!0x0;if(_0x209e27[_0x554e31([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x554e31([0x50,0x50])))return!0x0;return!0x1;}())?(function(){const _0x4e927c=[_0x554e31([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x554e31([0x74,0x72,0x69,0x61,0x6c])][_0x554e31([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x102bdf[_0x554e31([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x37cf9f/0x3e8:0x68f03580;return _0x102bdf[_0x554e31([0x65,0x78,0x70])]<_0x4e927c;}())?_0x554e31([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):(function(){const _0x3516de=_0x102bdf[_0x554e31([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x3516de||0x0==_0x3516de[_0x554e31([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x410657}=new URL(window[_0x554e31([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x3516de[_0x554e31([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x410657))return!0x0;const _0x99892d=_0x410657[_0x554e31([0x73,0x70,0x6c,0x69,0x74])](_0x554e31([0x2e]));return _0x3516de[_0x554e31([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x234db5=>_0x234db5[_0x554e31([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x554e31([0x2a])))[_0x554e31([0x6d,0x61,0x70])](_0xfb2110=>_0xfb2110[_0x554e31([0x73,0x70,0x6c,0x69,0x74])](_0x554e31([0x2e])))[_0x554e31([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x268689=>_0x268689[_0x554e31([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x99892d[_0x554e31([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x554e31([0x6d,0x61,0x70])](_0xad9953=>Array(_0x99892d[_0x554e31([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0xad9953[_0x554e31([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x554e31([0x66,0x69,0x6c,0x6c])](_0xad9953[0x0]===_0x554e31([0x2a])?_0x554e31([0x2a]):'')[_0x554e31([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0xad9953))[_0x554e31([0x73,0x6f,0x6d,0x65])](_0x39d911=>_0x99892d[_0x554e31([0x65,0x76,0x65,0x72,0x79])]((_0x369157,_0x31827e)=>_0x39d911[_0x31827e]===_0x369157||_0x39d911[_0x31827e]===_0x554e31([0x2a])));}())?(_0x102bdf[_0x554e31([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x554e31([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x449115=_0x5a3cc1(_0x554e31([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x102bdf[_0x554e31([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x554e31([0x74,0x72,0x69,0x61,0x6c])&&(_0x449115=_0x5a3cc1(_0x554e31([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await(function(){if(_0x449115&&_0x83e2db)return new window[(_0x554e31([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x201118,_0x469a57)=>{_0x449115[_0x554e31([0x74,0x68,0x65,0x6e])](_0x201118,_0x469a57),_0x83e2db[_0x554e31([0x74,0x68,0x65,0x6e])](_0x54123f=>{_0x54123f!=_0x554e31([0x56,0x61,0x6c,0x69,0x64])&&_0x201118(_0x54123f);},_0x469a57);});return _0x449115||_0x83e2db||_0x554e31([0x56,0x61,0x6c,0x69,0x64]);}())):_0x554e31([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x554e31([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x554e31([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x554e31([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}}());function _0x5a3cc1(_0x5b6353){const _0x2f7385=[new window[(_0x554e31([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x578d40=>setTimeout(_0x578d40,0x93ecc)),_0x2cbf4b[_0x554e31([0x74,0x68,0x65,0x6e])](()=>new window[(_0x554e31([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x133c76=>{let _0x17b7b0=0x0;_0x5426f6[_0x554e31([0x6d,0x6f,0x64,0x65,0x6c])][_0x554e31([0x6f,0x6e])](_0x554e31([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x3e7c31,_0xe2178)=>{_0xe2178[0x0][_0x554e31([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x17b7b0++,0x1f8==_0x17b7b0&&(_0x133c76(),_0x3e7c31[_0x554e31([0x6f,0x66,0x66])]());});}))];return window[_0x554e31([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x554e31([0x72,0x61,0x63,0x65])](_0x2f7385)[_0x554e31([0x74,0x68,0x65,0x6e])](()=>_0x5b6353);}function _0xf73a0e(_0x4678d8){return _0x4678d8[_0x554e31([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x554e31([0x65,0x79]))?JSON[_0x554e31([0x70,0x61,0x72,0x73,0x65])](_0x57d9b8(_0x4678d8)):null;}function _0x57d9b8(_0x30ae54){return window[_0x554e31([0x61,0x74,0x6f,0x62])](_0x30ae54[_0x554e31([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x554e31([0x2b]))[_0x554e31([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x554e31([0x2f])));}function _0x291538(_0x24fb12){let _0x457236=0x1505;function _0x4b7035(_0x20d613){for(let _0x118cf3=0x0;_0x118cf3<_0x20d613[_0x554e31([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x118cf3++){const _0x9ac961=_0x20d613[_0x554e31([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x118cf3);_0x457236=(_0x457236<<0x5)+_0x457236+_0x9ac961,_0x457236&=_0x457236;}}return function _0x467722(_0x226523){Array[_0x554e31([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x226523)?_0x226523[_0x554e31([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x467722):_0x226523&&typeof _0x226523==_0x554e31([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x554e31([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x226523)[_0x554e31([0x73,0x6f,0x72,0x74])]()[_0x554e31([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x449b6a,_0x2ac123])=>{_0x4b7035(_0x449b6a),_0x467722(_0x2ac123);}):_0x4b7035(window[_0x554e31([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x226523));}(_0x24fb12),_0x457236>>>0x0;}function _0x5ba745(_0x4c68cb){return _0x4c68cb[_0x554e31([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x554e31([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x554e31([0x30]));}function _0xb8dcc(_0x13f8aa){return _0x13f8aa[_0x554e31([0x73,0x70,0x6c,0x69,0x74])]('')[_0x554e31([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x554e31([0x6a,0x6f,0x69,0x6e])]('');}function _0x451ab4(){}function _0x554e31(_0x2bdc71){return _0x2bdc71['map'](_0x9b301f=>String['fromCharCode'](_0x9b301f))['join']('');}!function(_0x40f176){const _0x47d996=(function(){const _0x674ffa=window[_0x554e31([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x554e31([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x554e31([0x6e,0x6f,0x77])]())[_0x554e31([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x554e31([0x2e]),'');let _0x5efdc8=_0x554e31([0x45]);for(let _0x416823=0x0;_0x416823<_0x674ffa[_0x554e31([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x416823+=0x2){let _0x1f24b0=window[_0x554e31([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x674ffa[_0x554e31([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x416823,_0x416823+0x2));_0x1f24b0>=_0x26a9f7[_0x554e31([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x1f24b0-=_0x26a9f7[_0x554e31([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x5efdc8+=_0x26a9f7[_0x1f24b0];}return _0x5efdc8;}());_0x5426f6[_0x47d996]=_0x554e31([0x63,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x40f176,_0x40f176!=_0x554e31([0x56,0x61,0x6c,0x69,0x64])&&(async function(){await _0x2cbf4b,_0x5426f6[_0x554e31([0x6d,0x6f,0x64,0x65,0x6c])][_0x554e31([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x451ab4,_0x5426f6[_0x554e31([0x6d,0x6f,0x64,0x65,0x6c])][_0x554e31([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x451ab4,_0x5426f6[_0x554e31([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x554e31([0x6d,0x6f,0x64,0x65,0x6c]));}());}(_0x2775f9);}class _0x14cb08 extends ckeditor5['Plugin']{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'CaseChangeUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x55ec44=this['editor'];this['_registerComponents'](),_0x55ec44['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':getTranslation$g(_0x55ec44['locale'],'Change\x20text\x20case'),'keystroke':'Shift+f3','mayRequireFn':!0x0}]}),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x36f3ea=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x57c49d;for(const _0x3b32f5 in _0x36f3ea){const _0x2e75a3=_0x3b32f5,_0x25560e=_0x36f3ea[_0x2e75a3];if('caseChangeLicenseKeyValid'==_0x25560e||'caseChangeLicenseKeyInvalid'==_0x25560e||'caseChangeLicenseKeyExpired'==_0x25560e||'caseChangeLicenseKeyDomainLimit'==_0x25560e||'caseChangeLicenseKeyNotAllowed'==_0x25560e||'caseChangeLicenseKeyEvaluationLimit'==_0x25560e||'caseChangeLicenseKeyTrialLimit'==_0x25560e||'caseChangeLicenseKeyUsageLimit'==_0x25560e){delete _0x36f3ea[_0x2e75a3],_0x57c49d=_0x25560e,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'caseChangeLicenseKeyInvalid'==_0x57c49d&&_0x36f3ea['_showLicenseError']('invalid'),'caseChangeLicenseKeyExpired'==_0x57c49d&&_0x36f3ea['_showLicenseError']('expired'),'caseChangeLicenseKeyDomainLimit'==_0x57c49d&&_0x36f3ea['_showLicenseError']('domainLimit'),'caseChangeLicenseKeyNotAllowed'==_0x57c49d&&_0x36f3ea['_showLicenseError']('featureNotAllowed','CaseChange'),'caseChangeLicenseKeyEvaluationLimit'==_0x57c49d&&_0x36f3ea['_showLicenseError']('evaluationLimit'),'caseChangeLicenseKeyTrialLimit'==_0x57c49d&&_0x36f3ea['_showLicenseError']('trialLimit'),'caseChangeLicenseKeyUsageLimit'==_0x57c49d&&_0x36f3ea['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_registerComponents'](){const _0x2d1580=this['editor'],{itemDefinitions:_0x2f90c4,commands:_0x6cae49}=this['_getListItemDefinitionsAndCommands']();_0x2d1580['ui']['componentFactory']['add']('caseChange',()=>this['_createDropdownView'](_0x2f90c4,_0x6cae49)),_0x2d1580['ui']['componentFactory']['add']('menuBar:caseChange',()=>this['_createMenuBarMenuView'](_0x2f90c4,_0x6cae49));}['_createMenuBarMenuView'](_0x4b40b3,_0x21f253){const _0x3dcdc2=this['editor'],_0x20adfa=_0x3dcdc2['locale'],_0x43293f=new ckeditor5['MenuBarMenuView'](_0x20adfa),_0x4a2399=new ckeditor5['MenuBarMenuListView'](_0x20adfa);_0x4a2399['set']({'ariaLabel':getTranslation$g(_0x20adfa,'Case\x20change'),'role':'menu'}),this['_setButtonProperties'](_0x43293f['buttonView']),_0x43293f['bind']('isEnabled')['toMany'](_0x21f253,'isEnabled',(..._0x5b5e56)=>_0x5b5e56['some'](_0x3cb15f=>_0x3cb15f));for(const _0x1105e7 of _0x4b40b3){const _0x26484f=new ckeditor5['MenuBarMenuListItemView'](_0x20adfa,_0x43293f),_0x362d04=new ckeditor5['MenuBarMenuListItemButtonView'](_0x20adfa);_0x362d04['delegate']('execute')['to'](_0x43293f),_0x362d04['bind'](...Object['keys'](_0x1105e7['model']))['to'](_0x1105e7['model']),_0x362d04['on']('execute',()=>{_0x3dcdc2['execute'](_0x1105e7['model']['commandName']),_0x3dcdc2['editing']['view']['focus']();}),_0x26484f['children']['add'](_0x362d04),_0x4a2399['items']['add'](_0x26484f);}return _0x43293f['panelView']['children']['add'](_0x4a2399),_0x43293f;}['_createDropdownView'](_0x418d6a,_0x3977aa){const _0x47f97c=this['editor'],_0x5bfb27=ckeditor5['createDropdown'](_0x47f97c['locale']);return this['_setButtonProperties'](_0x5bfb27['buttonView']),_0x5bfb27['buttonView']['set']({'tooltip':!0x0}),_0x5bfb27['extendTemplate']({'attributes':{'class':['ck-case-change-dropdown']}}),ckeditor5['addListToDropdown'](_0x5bfb27,_0x418d6a,{'ariaLabel':getTranslation$g(_0x47f97c['locale'],'Case\x20change'),'role':'menu'}),_0x5bfb27['bind']('isEnabled')['toMany'](_0x3977aa,'isEnabled',(..._0x33be7d)=>_0x33be7d['some'](_0x508f9f=>_0x508f9f)),this['listenTo'](_0x5bfb27,'execute',_0xcde4bb=>{_0x47f97c['execute'](_0xcde4bb['source']['commandName']),_0x47f97c['editing']['view']['focus']();}),_0x5bfb27;}['_setButtonProperties'](_0x5de812){const _0x5bbf3c=this['editor'];_0x5de812['set']({'label':getTranslation$g(_0x5bbf3c['locale'],'Case\x20change'),'icon':ckeditor5['IconCaseChange'],'keystroke':'Shift+F3'});}['_getListItemDefinitionsAndCommands'](){const _0x4d2c29=new ckeditor5['Collection'](),_0x5c7b28=[];for(const _0x5668c3 of _getOptions(this['editor']['locale'])){const _0x5c69f9=this['editor']['commands']['get'](_0x5668c3['commandName']),_0x17d8b6=new ckeditor5['UIModel']({'commandName':_0x5668c3['commandName'],'label':_0x5668c3['label'],'role':'menuitemradio','withText':!0x0});_0x17d8b6['bind']('isEnabled')['to'](_0x5c69f9,'isEnabled'),_0x4d2c29['add']({'type':'button','model':_0x17d8b6}),_0x5c7b28['push'](_0x5c69f9);}return{'itemDefinitions':_0x4d2c29,'commands':_0x5c7b28};}}class _0x383e2b extends ckeditor5['Plugin']{static get['requires'](){return[CaseChangeEditing,_0x14cb08];}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(_0x121129,_0x2f6f0c){super(),this['model']=_0x121129,this['model']['_isAttached']=!0x0,this['view']=_0x2f6f0c,this['listenTo'](_0x2f6f0c,'submitCommentThread',()=>this['submit']()),this['listenTo'](_0x2f6f0c,'removeCommentThread',()=>this['remove']()),this['listenTo'](_0x2f6f0c,'resolveCommentThread',()=>this['resolve']()),this['listenTo'](_0x2f6f0c,'reopenCommentThread',()=>this['reopen']()),this['listenTo'](_0x2f6f0c,'addComment',(_0x21e576,_0x5b13f1)=>this['addComment'](_0x5b13f1)),this['listenTo'](_0x2f6f0c,'updateComment',(_0x4be9ee,_0x5013a4,_0x3142ea)=>this['updateComment'](_0x5013a4,_0x3142ea)),this['listenTo'](_0x2f6f0c,'removeComment',(_0xa4eb,_0x521d43)=>this['removeComment'](_0x521d43));}['submit'](){this['model']['submit']();}['remove'](){this['model']['remove']();}['resolve'](){this['model']['isResolved']||this['model']['resolve']();}['reopen'](){this['model']['isResolved']&&this['model']['reopen']();}['addComment'](_0xb1dc36){this['model']['addComment']({'content':_0xb1dc36,'authorId':this['view']['_localUser']['id']});}['updateComment'](_0x9faf1d,_0x1a4892){this['model']['getComment'](_0x9faf1d)['update']({'content':_0x1a4892});}['removeComment'](_0x2e1b42){this['model']['getComment'](_0x2e1b42)['remove']();}['destroy'](){this['stopListening'](),this['model']['_isAttached']=!0x1;}}function getTranslation$f(_0x3ec706,_0x593e6c,_0x56a46a){const t=_0x3ec706['t'];switch(_0x593e6c){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'},_0x56a46a);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'},_0x56a46a);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'},_0x56a46a);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'},_0x56a46a);case'NUMBER_OF_COMMENTS':return t({'string':'%0\x20Comment','plural':'%0\x20Comments','id':'NUMBER_OF_COMMENTS'},_0x56a46a);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'},_0x56a46a);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'},_0x56a46a);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'},_0x56a46a);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(_0x5001d8,_0x41edf1){super(_0x5001d8);const _0x561625=ckeditor5['uid']();this['main']=this['createCollection'](),this['editable']=new ckeditor5['InlineEditableUIView'](_0x5001d8,_0x41edf1,void 0x0,{'label':()=>getTranslation$f(_0x5001d8,'Comment\x20editor')}),this['setTemplate']({'tag':'div','attributes':{'class':['ck-reset','ck-editor','ck-rounded-corners','ck-comment__input'],'dir':_0x5001d8['uiLanguageDirection'],'lang':_0x5001d8['uiLanguage'],'aria-labelledby':'cke-editor__aria-label_'+_0x561625},'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(_0x2cc123){super(_0x2cc123),this['view']=new CommentEditorUIView(_0x2cc123['locale'],_0x2cc123['editing']['view']);}get['element'](){return this['view']['element'];}['init'](){const _0x3b6b89=this['editor']['editing']['view'],_0xa809ec=this['view']['editable'],_0x3b0d9d=_0x3b6b89['document']['getRoot']();_0xa809ec['name']=_0x3b0d9d['rootName'],this['view']['render']();const _0x5850aa=_0xa809ec['element'];this['setEditableElement'](_0xa809ec['name'],_0x5850aa),this['view']['editable']['bind']('isFocused')['to'](this['focusTracker']),_0x3b6b89['attachDomRoot'](_0x5850aa),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(_0x5767f7={}){function _0x10fad7(_0x3803d7){return _0x3803d7['map'](_0x52ac8a=>String['fromCharCode'](_0x52ac8a))['join']('');}(_0x5767f7=Object['assign']({},_0x5767f7))['plugins']||(_0x5767f7['plugins']=CommentEditor['defaultPlugins']),super(_0x5767f7),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[_0x10fad7([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x10fad7([0x76,0x69,0x65,0x77])][_0x10fad7([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x10fad7([0x61,0x75,0x74,0x6f]),this[_0x10fad7([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74])]=()=>window[_0x10fad7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x10fad7([0x72,0x65,0x73,0x6f,0x6c,0x76,0x65])]({[_0x10fad7([0x73,0x74,0x61,0x74,0x75,0x73])]:_0x10fad7([0x6f,0x6b])});}['create'](){const _0x2ab463=this['config']['get']('initialData')||'';return this['initPlugins']()['then'](()=>this['ui']['init']())['then'](()=>this['data']['init'](_0x2ab463))['then'](()=>this['fire']('ready'));}['destroy'](){return super['destroy']()['then'](()=>this['ui']['destroy']());}['focus'](){this['model']['change'](_0x62da4b=>{const _0x4f7173=this['model']['document']['getRoot'](),_0x378dd0=_0x4f7173&&_0x4f7173['getChild'](_0x4f7173['childCount']-0x1);_0x62da4b['setSelection'](_0x378dd0,'end'),this['editing']['view']['focus']();});}['_updatePlaceholder'](){const _0x243b97=this['editing']['view'],_0x3a5ffd=_0x243b97['document']['getRoot'](),_0x112f17=_0x3a5ffd['getChild'](0x0);_0x3a5ffd['childCount']>0x1||!_0x112f17||'p'!=_0x112f17['name']?this['placeholderElement']&&this['placeholderElement']['placeholder']&&(ckeditor5['disableViewPlaceholder'](_0x243b97,this['placeholderElement']),this['placeholderElement']=void 0x0):(this['placeholder']&&(_0x112f17['placeholder']=this['placeholder']),ckeditor5['enableViewPlaceholder']({'view':_0x243b97,'element':_0x112f17,'keepOnFocus':!0x0}),this['placeholderElement']=_0x112f17);}}class CommentInputView extends ckeditor5['View']{['keystrokes'];['focusTracker'];['focusables'];['focusCycler'];['submitButtonView'];['cancelButtonView'];['_editorConfig'];constructor(_0x39863c,_0x49f0af={}){super(_0x39863c),this['editor']=null,this['_editorConfig']=_0x49f0af,this['set']('value',_0x49f0af['initialData']||''),this['set']('disabledSubmit',!0x1),this['set']('showButtons',!0x0),this['set']('placeholder',getTranslation$f(_0x39863c,'Reply...')),this['set']('submitLabel',getTranslation$f(_0x39863c,'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',(_0x1ab8e4,_0x3b5326)=>{this['cancelButtonView']['fire']('execute'),_0x3b5326();}),this['keystrokes']['set']('Ctrl+Enter',(_0x314302,_0x3abe79)=>{this['submitButtonView']['isEnabled']&&(this['submitButtonView']['fire']('execute'),_0x3abe79());}),this['on']('submit',(_0x1b88fd,_0x5abff6)=>{_0x5abff6['length']>0xfde8?(alert(getTranslation$f(_0x39863c,'TOO_LONG_COMMENT_ALERT',[_0x5abff6['length'],0xfde8])),_0x1b88fd['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 _0x13dab9=this['editor'];this['element']['insertBefore'](_0x13dab9['ui']['element'],this['element']['firstChild']),_0x13dab9['model']['document']['on']('change',()=>this['value']=_0x13dab9['getData']()),_0x13dab9['bind']('placeholder')['to'](this),this['focusables']['add'](_0x13dab9['ui']['view'],0x0),this['fire']('editorReady',this['editor']);})),this['_editorCreationPromise'];}['focus'](_0x535f4d){-0x1===_0x535f4d?(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:_0x4af115}=this,_0x304943=new ckeditor5['ButtonView'](_0x4af115);return _0x304943['extendTemplate']({'attributes':{'class':['ck-comment__input-actions--submit']}}),_0x304943['withText']=!0x0,_0x304943['bind']('label')['to'](this,'submitLabel'),_0x304943['on']('execute',()=>{this['fire']('submit',this['value']);}),_0x304943['bind']('isEnabled')['to'](this,'value',this,'disabledSubmit',(_0x150ed9,_0x47da3d)=>!_0x47da3d&&!!_0x150ed9['trim']()),_0x304943;}['_createCancelButton'](){const {locale:_0x5aba64}=this,_0x5556f0=new ckeditor5['ButtonView'](_0x5aba64);return _0x5556f0['extendTemplate']({'attributes':{'class':['ck-comment__input-actions--cancel']}}),_0x5556f0['label']=getTranslation$f(_0x5aba64,'Cancel'),_0x5556f0['withText']=!0x0,_0x5556f0['on']('execute',()=>{this['editor']['setData'](''),this['fire']('cancel');}),_0x5556f0;}['_setupKeyboardNavigation'](){this['keystrokes']['listenTo'](this['element']),this['focusables']['forEach'](_0x594b0b=>{this['focusTracker']['add'](_0x594b0b['element']);}),this['focusables']['on']('change',(_0x53ae81,_0x4e4ab1)=>{for(const _0x2e6c83 of Array['from'](_0x4e4ab1['added'])['reverse']())this['focusTracker']['add'](_0x2e6c83['element']);});}}class CommentThreadInputView extends ckeditor5['View']{constructor(_0x2a58f7,_0x56d05d,_0x5834a8){super(_0x2a58f7),this['commentInputView']=new CommentInputView(_0x2a58f7,_0x5834a8),this['focusCycler']=this['commentInputView']['focusCycler'],this['commentInputView']['bind']('showButtons')['to'](this['commentInputView']['focusTracker'],'isFocused',this['commentInputView'],'value',(_0x1a39a0,_0x158841)=>_0x1a39a0||!!_0x158841),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 _0x278fab(_0x2a58f7,_0x56d05d),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'](_0x1841cd){this['commentInputView']['focus'](_0x1841cd);}['_focusOnNonInteractiveMouseDown'](){this['listenTo'](this['element'],'mousedown',(_0x1d43fc,_0x4697e0)=>{const {submitButtonView:_0x5f494a,cancelButtonView:_0x171aaa,editor:_0x5eeb49}=this['commentInputView'];[_0x5f494a['element'],_0x171aaa['element'],_0x5eeb49?_0x5eeb49['editing']['view']['getDomRoot']():null]['filter'](_0x36e0d9=>_0x36e0d9)['some'](_0x322295=>_0x322295['contains'](_0x4697e0['target']))||(this['focus'](),_0x4697e0['preventDefault']());});}}class CollapsedCommentsView extends ckeditor5['View']{constructor(_0x1dac98){super(_0x1dac98);const _0x4f23ba=this['bindTemplate'];this['set']('count',void 0x0),this['setTemplate']({'tag':'li','attributes':{'class':'ck-thread__comment-count'},'children':[{'text':_0x4f23ba['to']('count',_0x1c2e61=>getTranslation$f(_0x1dac98,'NUMBER_OF_COMMENTS',_0x1c2e61))}]});}}class CommentsListView extends ckeditor5['View']{['commentViews'];['resolvedCommentView'];['focusTracker'];['keystrokes'];['focusCycler'];['_model'];['_config'];['_collapsedCommentsView'];constructor(_0x551c66,_0x57ab8a,_0x20d611){super(_0x551c66);const _0x378830=this['bindTemplate'];this['set']('hasDirtyComment',!0x1),this['set']('length',_0x57ab8a['comments']['length']),this['set']('isActive',!0x1),this['_model']=_0x57ab8a,this['_config']=_0x20d611,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':_0x287977=>this['commentViews']['map'](_0x568833=>_0x568833['element'])['includes'](_0x287977['target'])},'actions':{'focusPrevious':'arrowup','focusNext':'arrowdown'}}),this['_collapsedCommentsView']=new CollapsedCommentsView(_0x551c66),this['_collapsedCommentsView']['bind']('count')['to'](this,'length',_0x431db5=>_0x431db5-this['_config']['maxCommentsWhenCollapsed']);for(const _0x5e6173 of _0x57ab8a['comments'])this['_handleNewCommentModel'](_0x5e6173);this['_handleInfoComment'](),this['listenTo'](_0x57ab8a['comments'],'add',(_0x5d604e,_0x4666d6)=>{const _0x110adc=this['_calculatePosition'](_0x4666d6);this['length']++,this['_handleNewCommentModel'](_0x4666d6,_0x110adc),this['refreshVisibleViews']();}),this['listenTo'](_0x57ab8a['comments'],'remove',(_0x5010b8,_0x28bcec)=>{this['length']--,this['_handleRemoveCommentModel'](_0x28bcec),this['refreshVisibleViews']();}),this['listenTo'](_0x57ab8a,'commentUpdated',()=>this['refreshVisibleViews']()),this['listenTo'](_0x57ab8a,'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',_0x378830['if']('length','ck-hidden',_0x405927=>!_0x405927)],'aria-label':getTranslation$f(_0x551c66,'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'](_0x2a1e2f){-0x1===_0x2a1e2f?this['focusCycler']['focusLast']():this['focusCycler']['focusFirst']();}['destroy'](){this['_collapsedCommentsView']['destroy']();for(const _0x57fd31 of this['commentViews'])_0x57fd31['destroy']();super['destroy']();}['refreshVisibleViews'](){this['_shouldCollapse']?this['_rearrangeCollapse']():this['_rearrangeExpand']();}['_handleNewCommentModel'](_0x33da14,_0x4aa040){const _0x1d6edc=new this['_config']['CommentView'](this['locale'],_0x33da14,{'maxCommentCharsWhenCollapsed':this['_config']['maxCommentCharsWhenCollapsed'],'formatDateTime':this['_config']['formatDateTime'],'editorConfig':this['_config']['editorConfig']});_0x1d6edc['viewUid']=_0x33da14['id'],_0x1d6edc['delegate']('removeComment')['to'](this),_0x1d6edc['delegate']('updateComment')['to'](this),_0x1d6edc['delegate']('resolveCommentThread')['to'](this),_0x1d6edc['delegate']('editorReady')['to'](this),_0x1d6edc['delegate']('editorDestroyed')['to'](this),this['listenTo'](_0x1d6edc,'change:isEditMode',()=>this['_updateHasDirtyComment']()),this['commentViews']['add'](_0x1d6edc,_0x4aa040);}['_calculatePosition'](_0x555f5e){const _0x77f9db=this['_model']['_findOptimalIndex'](_0x555f5e);return this['resolvedCommentView']?this['resolvedCommentView']['authoredAt']>_0x555f5e['authoredAt']?_0x77f9db-0x1:_0x77f9db:_0x77f9db-0x1;}['_handleInfoComment'](){if(this['_model']['resolvedBy']&&this['_model']['resolvedAt']){const _0x21993a={'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'],_0x21993a,{'maxCommentCharsWhenCollapsed':this['_config']['maxCommentCharsWhenCollapsed'],'formatDateTime':this['_config']['formatDateTime'],'editorConfig':this['_config']['editorConfig'],'isSystemComment':!0x0}),this['commentViews']['add'](this['resolvedCommentView'],this['_model']['_findOptimalIndex'](_0x21993a));}else this['resolvedCommentView']&&(this['commentViews']['remove'](this['resolvedCommentView']),this['resolvedCommentView']['destroy'](),this['resolvedCommentView']=null);this['refreshVisibleViews']();}['_handleRemoveCommentModel'](_0x3b1f51){const _0x3f8d6f=this['commentViews']['remove'](_0x3b1f51['id']);this['stopListening'](_0x3f8d6f),_0x3f8d6f['isEditMode']&&this['_updateHasDirtyComment'](),_0x3f8d6f['destroy']();}['_updateHasDirtyComment'](){this['hasDirtyComment']=Array['from'](this['commentViews'])['some'](_0x25160b=>_0x25160b['isEditMode']);}['_rearrangeCollapse'](){const _0x524583=cloneCollection(this['commentViews']),_0x3d7a5d=this['_collapsedCommentsView']['count'];for(let _0x1116e6=0x1;_0x1116e6<=_0x3d7a5d;_0x1116e6++)_0x524583['remove'](0x1);for(const _0x1623fe of _0x524583)_0x1623fe['collapse']();_0x3d7a5d>0x0&&_0x524583['add'](this['_collapsedCommentsView'],0x1),applyDiffToCollection(ckeditor5['diff'](Array['from'](this['visibleViews']),Array['from'](_0x524583)),this['visibleViews'],_0x524583);}['_rearrangeExpand'](){applyDiffToCollection(ckeditor5['diff'](Array['from'](this['visibleViews']),Array['from'](this['commentViews'])),this['visibleViews'],this['commentViews']);for(const _0xc971d3 of this['visibleViews'])_0xc971d3['expand']();}['_setupKeyboardNavigation'](){this['commentViews']['forEach'](_0xd4e184=>{this['focusTracker']['add'](_0xd4e184['element']),this['keystrokes']['listenTo'](_0xd4e184['element']);}),this['commentViews']['on']('change',(_0x19c935,_0x4d33f1)=>{for(const _0x5dc7c8 of _0x4d33f1['removed'])this['focusTracker']['remove'](_0x5dc7c8['element']),this['keystrokes']['stopListening'](_0x5dc7c8['element']);for(const _0x212632 of Array['from'](_0x4d33f1['added'])['reverse']())this['focusTracker']['add'](_0x212632['element']),this['keystrokes']['listenTo'](_0x212632['element']);});}}function cloneCollection(_0xcd80b3){const _0x534d04=new ckeditor5['Collection']();for(const _0x31d7d5 of _0xcd80b3)_0x534d04['add'](_0x31d7d5);return _0x534d04;}function applyDiffToCollection(_0x369bcb,_0x147f3c,_0x41921b){let _0x2b4f3d=0x0;for(const _0x29c44e of _0x369bcb)switch(_0x29c44e){case'insert':_0x147f3c['add'](_0x41921b['get'](_0x2b4f3d),_0x2b4f3d),_0x2b4f3d++;break;case'delete':_0x147f3c['remove'](_0x2b4f3d);break;case'equal':_0x2b4f3d++;}}class CommentThreadHeaderContextView extends ckeditor5['View']{constructor(_0x1ace73){super(_0x1ace73);const _0x40c292=this['bindTemplate'];this['set']('contextValue',''),this['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-context__value'],'aria-label':_0x40c292['to']('contextValue',_0x56d4bc=>getTranslation$f(_0x1ace73,'THREAD_CONTEXT_LABEL',_0x56d4bc)),'tabindex':-0x1},'children':[{'text':_0x40c292['to']('contextValue')}]});}['focus'](){this['element']['focus']();}}const _0x53c788=0x96;class CommentThreadHeaderView extends ckeditor5['View']{['_model'];['reopenButtonView'];['contextView'];['focusables'];['focusTracker'];['keystrokes'];['focusCycler'];constructor(_0x15067e,_0x33e537){super(_0x15067e);const _0xc4c825=this['bindTemplate'];this['_model']=_0x33e537,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',_0x671c20=>!!_0x671c20),this['bind']('contextValue')['to'](this['_model'],'context',_0x31bd45=>_0x31bd45&&_0x31bd45['value']?this['_trimContextValue'](_0x31bd45['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',_0xc4c825['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 _0x23b5e5=new ckeditor5['ButtonView'](this['locale']);return _0x23b5e5['label']=getTranslation$f(this['locale'],'Reopen'),_0x23b5e5['tooltip']=getTranslation$f(this['locale'],'Reopen'),_0x23b5e5['icon']=ckeditor5['IconUndo'],_0x23b5e5['bind']('isEnabled')['to'](this['_model'],'isReadOnly',_0x26d330=>!_0x26d330),_0x23b5e5['bind']('isVisible')['to'](this['_model'],'isResolvable',this['_model'],'isResolved',(_0x269728,_0x73b0e6)=>_0x269728&&_0x73b0e6),_0x23b5e5['on']('execute',()=>{this['fire']('reopenCommentThread',this['_model']['id']);}),_0x23b5e5;}['_trimContextValue'](_0x14a3ac){const _0x391aee=_0x53c788-0x3;if(_0x14a3ac['length']<_0x53c788)return _0x14a3ac;const _0xdfe154=_0x14a3ac['lastIndexOf']('\x20',_0x391aee);return _0x14a3ac['substring'](0x0,_0xdfe154>-0x1?_0xdfe154:_0x391aee)+'...';}['_attachContextActions'](){const _0x1bf9db=this['element']['querySelector']('.ck-context'),_0x941825=_0x1bf9db['querySelector']('.ck-context__value');this['listenTo'](_0x1bf9db,'mouseenter',()=>{_0x941825['offsetWidth']<_0x941825['scrollWidth']&&_0x1bf9db['classList']['add']('overlay');}),this['listenTo'](_0x1bf9db,'mouseleave',()=>{_0x1bf9db['classList']['remove']('overlay');});}['_setupKeyboardNavigation'](){this['keystrokes']['listenTo'](this['element']);for(const _0x12844c of this['focusables'])this['focusTracker']['add'](_0x12844c['element']),this['keystrokes']['listenTo'](_0x12844c['element']);}['_createContextView'](){const _0x4b8d3b=new CommentThreadHeaderContextView(this['locale']);return _0x4b8d3b['bind']('contextValue')['to'](this),_0x4b8d3b;}}class BaseCommentThreadView extends ckeditor5['View']{['_model'];['_config'];['commentThreadHeaderView'];['commentThreadInputView'];['ariaDescriptionView'];['focusables'];['focusTracker'];['keystrokes'];['focusCycler'];constructor(_0x2804b1,_0x5c9cb8,_0x5ed750,_0xa14523){super(_0x2804b1),this['set']('isActive',!0x1),this['set']('isDirty',!0x1),this['_model']=_0x5c9cb8,this['_localUser']=_0x5ed750,this['_config']=_0xa14523,this['commentThreadHeaderView']=new CommentThreadHeaderView(_0x2804b1,_0x5c9cb8),this['commentThreadHeaderView']['delegate']('reopenCommentThread')['to'](this),this['ariaDescriptionView']=new AriaDescriptionView(_0x2804b1,getTranslation$f(_0x2804b1,'COMMENT_THREAD_DESCRIPTION')),this['listenTo'](this,'reopenCommentThread',()=>{this['focus']();}),this['commentsListView']=new CommentsListView(_0x2804b1,_0x5c9cb8,Object['assign']({'CommentView':this['_config']['CommentView']},_0xa14523)),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',(_0x56f97b,_0x25a75d)=>_0x56f97b||!!_0x25a75d),this['bind']('isUnlinked')['to'](_0x5c9cb8,'unlinkedAt',_0xc0d31a=>!!_0xc0d31a),this['bind']('ariaLabel')['to'](this,'length',_0xebf829=>{const _0x4f8cba=this['_model']['comments']['first']?this['_model']['comments']['first']['author']['name']:this['_localUser']['name'];return getTranslation$f(this['locale'],'COMMENT_THREAD_LABEL',[_0xebf829,_0x4f8cba]);}),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':_0x4a8bcf=>_0x4a8bcf['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 _0x4ae965=new CommentThreadInputView(this['locale'],this['_localUser'],this['_config']['editorConfig']),_0x2659c0=_0x4ae965['commentInputView'];return _0x4ae965['bind']('showInput')['to'](this,'isActive',this['_model'],'isReadOnly',this['_model'],'canComment',this['_model'],'archivedAt',_0x2659c0,'value',(_0x572f67,_0x29282f,_0x547850,_0x2170d8,_0x14819d)=>!!_0x14819d||!!_0x2170d8&&_0x547850&&!_0x29282f||_0x572f67&&_0x547850&&!_0x29282f),_0x2659c0['bind']('placeholder')['to'](this,'length',this['_model'],'isResolvable',this['_model'],'isResolved',(_0x403d5c,_0x410339,_0x59422c)=>{let _0x49ea39;return _0x49ea39=_0x59422c&&_0x410339?'Reply\x20to\x20reopen\x20discussion...':_0x403d5c?'Reply...':'Write\x20a\x20comment...',getTranslation$f(this['locale'],_0x49ea39);}),_0x2659c0['bind']('submitLabel')['to'](this,'length',_0x1ad43b=>getTranslation$f(this['locale'],_0x1ad43b?'Reply':'Comment')),_0x2659c0['on']('submit',(_0x5a3009,_0x116dc7)=>{this['fire']('addComment',_0x116dc7),this['_model']['isResolved']&&this['_model']['isResolvable']&&this['fire']('reopenCommentThread',this['_model']['id']),this['_model']['isSubmitted']||this['fire']('submitCommentThread');}),_0x2659c0['on']('cancel',()=>{this['focus']();}),_0x2659c0['bind']('disabledSubmit')['to'](this['_model'],'isReadOnly'),_0x2659c0['on']('cancel',_0x4d470f=>{0x0==this['length']&&(this['fire']('removeCommentThread'),_0x4d470f['stop']());}),this['on']('change:isActive',(_0x5b15a7,_0x397373,_0x1b80c6)=>{_0x1b80c6||this['length']||_0x2659c0['value']||this['fire']('removeCommentThread');}),_0x4ae965;}}class CommentThreadView extends/* #__PURE__ -- @preserve */
_0x4497bd(BaseCommentThreadView){['commentThreadChildren'];['containerElement'];['resolveButton'];['_boundFirstCommentView'];constructor(_0x178bc4,_0x5ab15f,_0x883dff,_0x36d975){super(_0x178bc4,_0x5ab15f,_0x883dff,_0x36d975),this['commentThreadChildren']=this['createCollection']([this['commentsListView'],this['commentThreadInputView'],this['ariaDescriptionView']]),this['set']('actionIndicator',null),this['containerElement']=null,this['_boundFirstCommentView']=null,this['locale']=_0x178bc4,this['resolveButton']=this['_createResolveButton'](),this['setTemplate'](this['getTemplate']()),this['on']('change:isActive',(_0x222cd3,_0x2cad80,_0x2d975b)=>{_0x2d975b||this['_cancelAllConfirms']();}),this['listenTo'](this['_model'],'change:isReadOnly',(_0x4f3f2f,_0x406add,_0x175345)=>{_0x175345&&this['_cancelAllConfirms']();}),this['length']>0x0&&this['_bindFirstCommentView'](),this['listenTo'](this['commentsListView']['commentViews'],'add',()=>{this['_bindFirstCommentView']();});}['getTemplate'](){const _0x110d54=this['bindTemplate'];return{'tag':'div','attributes':{'class':['ck','ck-thread','ck-reset_all-excluded','ck-rounded-corners',_0x110d54['if']('isActive','ck-thread--active'),_0x110d54['if']('isUnlinked','ck-thread--unlinked'),_0x110d54['to']('actionIndicator',_0x1fe3f1=>_0x1fe3f1?'ck-thread--'+_0x1fe3f1:'')],'data-thread-id':this['_model']['id'],'tabindex':0x0,'role':'listitem','aria-label':_0x110d54['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 _0x20e4e4 of this['commentsListView']['commentViews'])_0x20e4e4['cancelConfirm']();}['_bindFirstCommentView'](){const {locale:_0x574b1f}=this,_0x5244aa=this['commentsListView']['commentViews']['get'](0x0);_0x5244aa===this['_boundFirstCommentView']||_0x5244aa['isSystemComment']||(this['_boundFirstCommentView']=_0x5244aa,this['unbind']('actionIndicator'),this['bind']('actionIndicator')['to'](_0x5244aa,'actionIndicator',_0x1126e7=>'remove'===_0x1126e7?'remove':null),_0x5244aa['placeholder']=getTranslation$f(_0x574b1f,'Write\x20a\x20comment...'),_0x5244aa['removeButton']['on']('execute',_0x5d9924=>{_0x5d9924['stop'](),this['showConfirm'](getTranslation$f(_0x574b1f,'Delete\x20comment\x20thread?'),this['containerElement'])['then'](()=>{this['fire']('removeCommentThread');});},{'priority':'high'}),this['on']('removeConfirm',()=>{_0x5244aa['focus']();}),_0x5244aa['actionBar']['add'](this['resolveButton'],0x0),_0x5244aa['focusables']['add'](this['resolveButton'],0x0));}['_createResolveButton'](){const _0x1011b4=new LateFocusButtonView(this['locale']);return _0x1011b4['label']=getTranslation$f(this['locale'],'Resolve'),_0x1011b4['tooltip']=getTranslation$f(this['locale'],'Resolve'),_0x1011b4['icon']=ckeditor5['IconCheck'],_0x1011b4['extendTemplate']({'attributes':{'class':'ck-comment--resolve'}}),_0x1011b4['bind']('isEnabled')['to'](this['_model'],'isReadOnly',_0x53bdf0=>!_0x53bdf0),_0x1011b4['bind']('isVisible')['to'](this['_model'],'isResolvable',this['_model'],'isResolved',(_0x182211,_0x580b21)=>_0x182211&&!_0x580b21),_0x1011b4['on']('execute',()=>{this['fire']('resolveCommentThread',this['_model']['id']);}),_0x1011b4;}['_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(_0x2ecc72){super(_0x2ecc72),this['set']('content',''),this['setTemplate']({'tag':'div','attributes':{'class':['ck-content','ck-comment__content','ck-annotation__content']}});}['render'](){super['render'](),this['on']('change:content',(_0x2675f1,_0x528b4c,_0x1660dc)=>{this['element']['innerHTML']=_0x1660dc;}),this['element']['innerHTML']=this['content'];}}class BaseCommentView extends ckeditor5['View']{['visibleView'];['ariaDescriptionView'];['focusables'];['focusTracker'];['keystrokes'];['focusCycler'];['_model'];['_config'];constructor(_0xdb23c3,_0x58e58a,_0x1819c7){super(_0xdb23c3),this['_model']=_0x58e58a,this['_config']=_0x1819c7,this['isSystemComment']=!!this['_config']['isSystemComment'],this['set']('isEditMode',!0x1),this['set']('isCollapsed',!0x0),this['bind']('ariaLabel')['to'](_0x58e58a,'content',_0x58e58a,'authoredAt',(_0x353601,_0x907174)=>getTranslation$f(_0xdb23c3,'COMMENT_ARIA_LABEL',[_0x58e58a['author']['name'],_0x1819c7['formatDateTime'](_0x907174),new DOMParser()['parseFromString'](_0x353601,'text/html')['body']['textContent'],_0x58e58a['isExternal']?this['getExternalCommentNote']():''])),this['ariaDescriptionView']=new AriaDescriptionView(_0xdb23c3,getTranslation$f(_0xdb23c3,'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':_0x926c45=>_0x926c45['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 _0x4b9a6c=new CommentContentView(this['locale']);return _0x4b9a6c['bind']('content')['to'](this['_model'],'content',this,'isCollapsed',(_0x192269,_0x57ac93)=>_0x57ac93?trimHtml(_0x192269,{'limit':this['_config']['maxCommentCharsWhenCollapsed']}):_0x192269),_0x4b9a6c;}['_createCommentInputView'](){this['_config']['editorConfig']||(this['_config']['editorConfig']={}),this['_config']['editorConfig']['initialData']=this['_model']['content'];const _0x32018a=new CommentInputView(this['locale'],this['_config']['editorConfig']);return _0x32018a['value']=this['_model']['content'],_0x32018a['bind']('disabledSubmit')['to'](this['_model'],'isReadOnly'),_0x32018a['submitLabel']=getTranslation$f(this['locale'],'Save'),_0x32018a['on']('submit',(_0x33f809,_0x39e6cb)=>{this['fire']('updateComment',this['_model']['id'],_0x39e6cb),this['switchToDisplayMode'](),this['focus']();}),_0x32018a['on']('cancel',()=>{this['switchToDisplayMode'](),this['focus']();}),_0x32018a['once']('editorReady',()=>{_0x32018a['focus']();}),_0x32018a['createEditor'](),_0x32018a['delegate']('editorReady')['to'](this),_0x32018a['delegate']('editorDestroyed')['to'](this),_0x32018a;}['_setupKeyboardNavigation'](){const _0x2a7ade=this['element'];this['keystrokes']['listenTo'](_0x2a7ade);for(const _0x1cef7d of this['focusables'])this['focusTracker']['add'](_0x1cef7d['element']),this['keystrokes']['listenTo'](_0x1cef7d['element']);this['focusables']['on']('change',(_0x4ad772,_0x42e62b)=>{for(const _0x43e29c of _0x42e62b['removed'])this['focusTracker']['remove'](_0x43e29c['element']),this['keystrokes']['stopListening'](_0x43e29c['element']);for(const _0x4aaa1c of _0x42e62b['added'])this['focusTracker']['add'](_0x4aaa1c['element']),this['keystrokes']['listenTo'](_0x4aaa1c['element']);}),this['keystrokes']['set']('enter',(_0x4c9d24,_0x2d72f1)=>{_0x2a7ade===_0x4c9d24['target']&&(this['focusCycler']['focusFirst'](),_0x2d72f1());}),this['keystrokes']['set']('esc',(_0x2e9984,_0x2c411d)=>{_0x2a7ade!==_0x2e9984['target']&&(this['focus'](),_0x2c411d());});}}class CommentView extends/* #__PURE__ -- @preserve */
_0x4497bd(BaseCommentView){['actionBar'];['userView'];constructor(_0x1f6987,_0x175a4d,_0x1b4c64){super(_0x1f6987,_0x175a4d,_0x1b4c64),this['set']('actionIndicator',null),this['set']('placeholder',getTranslation$f(_0x1f6987,'Reply...')),this['bind']('authoredAt')['to'](_0x175a4d),this['bind']('resolvedAt')['to'](_0x175a4d),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 _0x278fab(_0x1f6987,_0x175a4d['author'],this['getUserViewNotificationText']()),this['userView']['extendTemplate']({'attributes':{'class':['ck-comment__user','ck-annotation__user'],'aria-hidden':!0x0}}),this['listenTo'](_0x175a4d,'change:isRemovable',()=>this['cancelConfirm']()),this['setTemplate'](this['getTemplate']());}['getTemplate'](){const _0x320411=this['bindTemplate'],_0x2c9fa1=[{'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':_0x320411['to']('authoredAt'),'class':['ck-comment__info-time','ck-annotation__info-time']},'children':[{'text':_0x320411['to']('authoredAt',_0xd803c7=>this['_config']['formatDateTime'](_0xd803c7))}]}]},{'tag':'div','attributes':{'class':['ck-comment__actions','ck-annotation__actions',_0x320411['if']('isEditMode','ck-comment__actions--hidden'),_0x320411['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']&&_0x2c9fa1['push']({'tag':'div','attributes':{'class':['ck-comment__external']},'children':[{'text':this['getExternalCommentNote']()}]}),{'tag':'li','attributes':{'class':['ck-comment__wrapper'],'tabindex':-0x1,'aria-label':_0x320411['to']('ariaLabel'),'aria-describedby':this['ariaDescriptionView']['id'],'role':'listitem'},'children':[{'tag':'div','attributes':{'class':['ck-comment','ck-annotation',_0x320411['if']('isEditMode','ck-comment--edit'),_0x320411['if']('isSystemComment','ck-comment--info'),_0x320411['to']('actionIndicator',_0x458b0f=>_0x458b0f?'ck-comment--'+_0x458b0f:'')],'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':_0x2c9fa1}]}]};}['_createEditButton'](){const _0xbdc5be=new ckeditor5['ButtonView'](this['locale']);return _0xbdc5be['label']=getTranslation$f(this['locale'],'Edit'),_0xbdc5be['icon']=ckeditor5['IconPencil'],_0xbdc5be['withText']=!0x0,_0xbdc5be['extendTemplate']({'attributes':{'class':'ck-comment--edit'}}),_0xbdc5be['bind']('isEnabled')['to'](this['_model'],'isReadOnly',_0x446bcd=>!_0x446bcd),_0xbdc5be['bind']('isVisible')['to'](this['_model'],'isEditable'),_0xbdc5be['on']('execute',()=>this['switchToEditMode']()),_0xbdc5be;}['_createRemoveButton'](){const _0x4f0bd9=new ckeditor5['ButtonView'](this['locale']);return _0x4f0bd9['label']=getTranslation$f(this['locale'],'Remove'),_0x4f0bd9['icon']=ckeditor5['IconRemoveComment'],_0x4f0bd9['withText']=!0x0,_0x4f0bd9['extendTemplate']({'attributes':{'class':'ck-comment--remove'}}),_0x4f0bd9['bind']('isEnabled')['to'](this['_model'],'isReadOnly',_0x340e56=>!_0x340e56),_0x4f0bd9['bind']('isVisible')['to'](this['_model'],'isRemovable'),_0x4f0bd9['on']('execute',()=>{this['showConfirm'](getTranslation$f(this['locale'],'Delete\x20comment?'),this['element'])['then'](()=>{this['fire']('removeComment',this['_model']['id']);});}),_0x4f0bd9;}['_createDropdown'](){const _0xf27172=ckeditor5['createDropdown'](this['locale'],LateFocusDropdownButtonView),_0x54f0a7=_0xf27172['panelView']['children'],_0x499eb2=new ckeditor5['ListView'](this['locale']),_0x2c8912=_0xf27172['bindTemplate'];ckeditor5['focusChildOnDropdownOpen'](_0xf27172,()=>this['items']['find'](_0x129bcd=>_0x129bcd['isVisible'])),_0xf27172['extendTemplate']({'attributes':{'class':[_0x2c8912['if']('isVisible','ck-hidden',_0x301cd2=>!_0x301cd2)]}});const _0x54952f=(_0xad781b,_0xc93301=-0x1)=>{const _0x4277cd=new ckeditor5['ListItemView'](this['locale']);_0x4277cd['children']['add'](_0xad781b);const _0x382823=_0xc93301>-0x1?_0xc93301:_0x499eb2['items']['length'];_0x499eb2['items']['add'](_0x4277cd,_0x382823);const _0x24b109=Array['from'](this['items']);_0xf27172['unbind']('isEnabled','isVisible'),_0xf27172['bind']('isEnabled')['toMany'](_0x24b109,'isEnabled',(..._0x2ec140)=>_0x2ec140['some'](_0x4b4748=>_0x4b4748)),_0xf27172['bind']('isVisible')['toMany'](_0x24b109,'isVisible',(..._0x174f55)=>_0x174f55['some'](_0x4e747a=>_0x4e747a));};_0xf27172['panelPosition']='sw',_0xf27172['buttonView']['set']({'label':getTranslation$f(this['locale'],'Show\x20more\x20items'),'icon':ckeditor5['IconThreeVerticalDots']});for(const _0x3842a9 of this['items'])_0x54952f(_0x3842a9);return _0x54f0a7['add'](_0x499eb2),_0xf27172['listenTo'](this['items'],'add',(_0x5aa763,_0x215504,_0x2b1533)=>{_0x54952f(_0x215504,_0x2b1533);}),_0xf27172['listenTo'](this['items'],'remove',(_0x2c37ac,_0x2ef8e0,_0x38e3ba)=>{_0x499eb2['items']['remove'](_0x38e3ba);}),_0xf27172;}['_attachActions'](_0x126df2,_0x12e6de){const _0x34652c=_0x126df2&&_0x126df2['element'];_0x34652c&&(this['listenTo'](_0x34652c,'mouseenter',()=>this['actionIndicator']=_0x12e6de),this['listenTo'](_0x34652c,'focus',()=>this['actionIndicator']=_0x12e6de),this['listenTo'](_0x34652c,'mouseleave',()=>this['actionIndicator']=null),this['listenTo'](_0x34652c,'blur',()=>this['actionIndicator']=null));}['_createCommentInputView'](){const _0x5cf6f8=super['_createCommentInputView']();return _0x5cf6f8['bind']('placeholder')['to'](this),_0x5cf6f8;}['render'](){super['render'](),this['_attachActions'](this['editButton'],'edit'),this['_attachActions'](this['removeButton'],'remove');}}function createMutationObserver(_0x5e24ee){const _0x515093=throttle$1(_0x5e24ee,0x1e),_0x1d3255=new MutationObserver(_0x2af649=>{for(const _0xbc8d3 of _0x2af649)('attributes'==_0xbc8d3['type']&&'class'==_0xbc8d3['attributeName']||'childList'==_0xbc8d3['type']||'characterData'==_0xbc8d3['type'])&&_0x515093();});return{'attach'(_0x4a124f){_0x1d3255['observe'](_0x4a124f,{'attributes':!0x0,'childList':!0x0,'subtree':!0x0,'characterData':!0x0});},'detach'(){_0x1d3255['disconnect'](),_0x515093['cancel']();}};}class AnnotationView extends ckeditor5['View']{['focusTracker'];['id'];['keystrokes'];['content'];['mainView'];['_mutationObserver'];constructor(_0x2657ac,_0x51c078){super(_0x2657ac),this['id']=ckeditor5['uid'](),this['focusTracker']=new ckeditor5['FocusTracker'](),this['keystrokes']=new ckeditor5['KeystrokeHandler'](),this['keystrokes']['set']('Esc',(_0x23af05,_0x2cde12)=>this['fire']('Esc',_0x2cde12)),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'](_0x51c078),this['mainView']=_0x51c078;const _0x5c3ad1=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-annotation-wrapper','ck-rounded-corners',_0x5c3ad1['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 _0x277c49=this['element']['clientHeight'];_0x277c49&&(this['height']=_0x277c49);}}let Annotation$1=class _0x2e9fac extends/* #__PURE__ -- @preserve */
ckeditor5['ObservableMixin'](){['view'];['focusableElements'];['_type'];['_target'];constructor({view:_0x6684a,target:_0x32784d,type:_0x51e8a0,isVisible:_0x2d305d=!0x0}){super(),this['view']=_0x6684a,this['view']['element']||this['view']['render'](),this['_type']=_0x51e8a0,this['_target']=_0x32784d,_0x2e9fac['_assertCorrectTarget'](this['_getNormalizedTarget']()),this['focusableElements']=new ckeditor5['Collection']([this['view']['element']],{'idProperty':'_id'}),this['focusableElements']['on']('add',(_0x135f22,_0x4e1702)=>{this['view']['focusTracker']['add'](_0x4e1702);}),this['focusableElements']['on']('remove',(_0x10561a,_0x21f681)=>{this['view']['focusTracker']['remove'](_0x21f681);}),this['set']('isVisible',_0x2d305d);}get['type'](){return'function'==typeof this['_type']?this['_type']():this['_type'];}get['innerView'](){return this['view']['mainView'];}get['target'](){const _0x174fc2=this['_getNormalizedTarget']();return _0x2e9fac['_assertCorrectTarget'](_0x174fc2),_0x174fc2;}get['targetRect'](){const _0x53957b=this['target'];if(null===_0x53957b)return null;if(_0x53957b instanceof ckeditor5['Rect'])return _0x53957b;const _0x4e3c3d=_0x53957b['filter'](_0xc09ae0=>isDomElementVisible(_0xc09ae0));return 0x0===_0x4e3c3d['length']?null:new ckeditor5['Rect'](_0x4e3c3d[0x0]['getClientRects']()['item'](0x0));}get['isActive'](){return this['view']['isActive'];}set['isActive'](_0x542411){this['view']['isActive']=_0x542411,this['view']['mainView']['isActive']=_0x542411;}['updateTargetRect'](){this['view']['targetRect']=this['targetRect'];}['destroy'](){this['focusableElements']['stopListening'](),this['focusableElements']['clear'](),this['stopListening']();}['refreshVisibility'](){this['isVisible']=!!this['targetRect'];}static['_assertCorrectTarget'](_0x4993c3){if(!(null===_0x4993c3||_0x4993c3 instanceof ckeditor5['Rect']||Array['isArray'](_0x4993c3)&&_0x4993c3['every'](_0x10df10=>isElement$1(_0x10df10))))throw new ckeditor5['CKEditorError']('annotation-invalid-target',null,{'target':_0x4993c3});}['_getNormalizedTarget'](){const _0x190c51='function'==typeof this['_target']?this['_target']():this['_target'];return isElement$1(_0x190c51)?[_0x190c51]:_0x190c51;}};function isElement$1(_0x4c2fb6){return null!==_0x4c2fb6&&'object'==typeof _0x4c2fb6&&'nodeType'in _0x4c2fb6&&0x1===_0x4c2fb6['nodeType'];}function isDomElementVisible(_0x28b6c6){if(_0x28b6c6['offsetParent'])return!0x0;return!!_0x28b6c6['getClientRects']()['item'](0x0);}class AnnotationCollection extends ckeditor5['Collection']{['_innerViewToAnnotation'];['_viewToAnnotation'];['_focusTracker'];constructor(_0x1775fc=[]){super(),this['_innerViewToAnnotation']=new Map(),this['_viewToAnnotation']=new Map(),this['_focusTracker']=new ckeditor5['FocusTracker'](),this['_focusTracker']['on']('change:isFocused',(_0x39216b,_0x112adf,_0x35a111)=>{_0x35a111||this['fire']('blur');});for(const _0x58b0bc of _0x1775fc)this['add'](_0x58b0bc);}get['isFocused'](){return this['_focusTracker']['isFocused'];}['add'](_0x4958bf){if(this['has'](_0x4958bf))throw new ckeditor5['CKEditorError']('annotationcollection-duplicated-item',null);this['_innerViewToAnnotation']['set'](_0x4958bf['innerView'],_0x4958bf),this['_viewToAnnotation']['set'](_0x4958bf['view'],_0x4958bf);for(const _0x3af1ee of _0x4958bf['focusableElements'])this['_focusTracker']['add'](_0x3af1ee);this['listenTo'](_0x4958bf['focusableElements'],'add',(_0x5e0ce6,_0x35ee2c)=>{this['_focusTracker']['add'](_0x35ee2c);}),this['listenTo'](_0x4958bf['focusableElements'],'remove',(_0x2a9954,_0x7c7a3)=>{this['_focusTracker']['remove'](_0x7c7a3);}),this['listenTo'](_0x4958bf['view']['focusTracker'],'change:isFocused',(_0x304912,_0x11b7cb,_0x5181dd)=>{_0x5181dd&&this['fire']('focus',_0x4958bf);}),_0x4958bf['updateTargetRect']();const _0x168646=this['_getOrderInContent'](_0x4958bf['view']['targetRect']);return super['add'](_0x4958bf,_0x168646);}['remove'](_0x50d397){if(!this['has'](_0x50d397))throw new ckeditor5['CKEditorError']('annotationcollection-not-existing-item',null);this['stopListening'](_0x50d397['view']['focusTracker']),this['stopListening'](_0x50d397['focusableElements']);for(const _0x1c055a of _0x50d397['focusableElements'])this['_focusTracker']['remove'](_0x1c055a);return this['_viewToAnnotation']['delete'](_0x50d397['view']),this['_innerViewToAnnotation']['delete'](_0x50d397['innerView']),super['remove'](_0x50d397);}['getByInnerView'](_0x3f2c19){return this['_innerViewToAnnotation']['get'](_0x3f2c19);}['getByView'](_0x5ac7a7){return this['_viewToAnnotation']['get'](_0x5ac7a7);}['destroy'](){super['clear'](),this['stopListening'](),this['_innerViewToAnnotation']['clear'](),this['_viewToAnnotation']['clear'](),this['_focusTracker']['destroy']();}['refreshPositioning'](){for(const _0x33403b of this)_0x33403b['updateTargetRect']();this['_sort']();}['_sort'](){const _0x18619c=Array['from'](this)['sort']((_0x13e91d,_0x24c37d)=>elementOffsetComparator(_0x13e91d['view']['targetRect'],_0x24c37d['view']['targetRect']));for(let _0x30f98d=_0x18619c['length']-0x1;_0x30f98d>0x0;_0x30f98d--){const _0x3fac7d=_0x18619c[_0x30f98d];_0x30f98d!==this['getIndex'](_0x3fac7d)&&(this['remove'](_0x3fac7d),this['add'](_0x3fac7d));}}['_getOrderInContent'](_0x27b126){let _0x2cfa0f=0x0;if(!_0x27b126)return this['length'];for(const _0x42097f of this){const _0x563f11=_0x42097f['view']['targetRect'];if(_0x563f11){if(elementOffsetComparator(_0x27b126,_0x563f11)<0x0)return _0x2cfa0f;_0x2cfa0f++;}}return _0x2cfa0f;}}function bindAnnotationCollections({source:_0x4f1a02,target:_0x59de63,filter:_0x499a64}){for(const _0x43a909 of _0x4f1a02)_0x499a64(_0x43a909)&&_0x59de63['add'](_0x43a909);_0x59de63['listenTo'](_0x4f1a02,'add',(_0x491237,_0x1c211a)=>{_0x499a64(_0x1c211a)&&_0x59de63['add'](_0x1c211a);}),_0x59de63['listenTo'](_0x4f1a02,'remove',(_0xb72bc2,_0x17ae58)=>{_0x59de63['has'](_0x17ae58)&&_0x59de63['remove'](_0x17ae58);});}function elementOffsetComparator(_0x396456,_0x3e8a9b){if(null===_0x396456&&null===_0x3e8a9b)return 0x0;if(null===_0x396456)return-0x1;if(null===_0x3e8a9b)return 0x1;const _0x45272a=_0x396456['top']-_0x3e8a9b['top'];return 0x0==_0x45272a?_0x396456['left']-_0x3e8a9b['left']:_0x45272a;}class Annotations extends ckeditor5['ContextPlugin']{['collection'];['_visibleAnnotations'];static get['pluginName'](){return'Annotations';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x402b7f){if(super(_0x402b7f),this['collection']=new AnnotationCollection(),this['_visibleAnnotations']=new AnnotationCollection(),this['set']('activeAnnotations',new Set()),this['_bindAnnotationsToVisibleAnnotations'](),_0x402b7f instanceof ckeditor5['Editor']){const _0x5907c3=_0x402b7f['locale'];_0x402b7f['accessibility']['addKeystrokeInfoGroup']({'id':'annotations','label':getTranslation$f(_0x5907c3,'ACCESSIBILITY_HELP_ANNOTATIONS_GROUP'),'keystrokes':[{'label':getTranslation$f(_0x5907c3,'ACCESSIBILITY_HELP_ANNOTATIONS_MOVE_TO'),'keystroke':'Ctrl+Shift+E'},{'label':getTranslation$f(_0x5907c3,'ACCESSIBILITY_HELP_ANNOTATIONS_EXIT'),'keystroke':'Esc'},{'label':getTranslation$f(_0x5907c3,'ACCESSIBILITY_HELP_ANNOTATIONS_ENTER'),'keystroke':'Enter'},{'label':getTranslation$f(_0x5907c3,'ACCESSIBILITY_HELP_ANNOTATIONS_BROWSE_GROUPS'),'keystroke':[['Tab'],['Shift+Tab']]},{'label':getTranslation$f(_0x5907c3,'ACCESSIBILITY_HELP_ANNOTATIONS_SUBMIT_COMMENT'),'keystroke':['Ctrl+Enter']},{'label':getTranslation$f(_0x5907c3,'ACCESSIBILITY_HELP_ANNOTATIONS_NAVIGATE_THREADS'),'keystroke':[['Arrowup'],['Arrowdown']]}]});}this['_setupEnterAnnotationKeystroke'](),this['_setupEscapeAnnotationHandling']();}['add'](_0x476a41){this['collection']['add'](_0x476a41);}['remove'](_0x306e7d){this['collection']['remove'](_0x306e7d),_0x306e7d['destroy']();}['refreshVisibility'](){for(const _0x8f4866 of this['collection'])_0x8f4866['refreshVisibility']();}['refreshPositioning'](){this['_visibleAnnotations']['refreshPositioning']();}['getByInnerView'](_0x5e1285){return this['collection']['getByInnerView'](_0x5e1285);}['deactivateAll'](){this['fire']('_deactivateAllAnnotations');}['destroy'](){for(const _0x42238b of this['collection'])_0x42238b['destroy']();this['_visibleAnnotations']['destroy'](),this['collection']['destroy'](),super['destroy']();}['activate'](_0x4bea76){this['fire']('_activateAnnotation',_0x4bea76);}['createAnnotation'](_0x249b11){return new Annotation$1(_0x249b11);}['createAnnotationView'](_0x21e9f2,_0x48184b){return new AnnotationView(_0x21e9f2,_0x48184b);}['_addActiveAnnotation'](_0x729b01){const _0x1abda8=new Set(this['activeAnnotations']);_0x1abda8['add'](_0x729b01),this['activeAnnotations']=_0x1abda8;}['_removeActiveAnnotation'](_0x3175aa){const _0x4e846f=new Set(this['activeAnnotations']);_0x4e846f['delete'](_0x3175aa),this['activeAnnotations']=_0x4e846f;}['_bindAnnotationsToVisibleAnnotations'](){const _0x455a8c=this['collection'],_0x506f37=this['_visibleAnnotations'];function _0x5e6848(_0x5ee3aa){const _0x140fc8=_0x5ee3aa['source'];_0x140fc8['isVisible']&&!_0x506f37['has'](_0x140fc8)?_0x506f37['add'](_0x140fc8):!_0x140fc8['isVisible']&&_0x506f37['has'](_0x140fc8)&&_0x506f37['remove'](_0x140fc8),_0x140fc8['view']['focusTracker']['remove'](_0x140fc8['view']['element']),_0x140fc8['view']['focusTracker']['add'](_0x140fc8['view']['element']);}this['listenTo'](_0x455a8c,'add',(_0x4c5705,_0x200f9b)=>{_0x200f9b['isVisible']&&_0x506f37['add'](_0x200f9b),this['listenTo'](_0x200f9b,'change:isVisible',_0x5e6848);}),this['listenTo'](_0x455a8c,'remove',(_0x13c33f,_0x2a321f)=>{_0x506f37['has'](_0x2a321f)&&_0x506f37['remove'](_0x2a321f),this['stopListening'](_0x2a321f,'change:isVisible',_0x5e6848);});}['_setupEnterAnnotationKeystroke'](){const _0x14e0be=_0x5f4915=>{_0x5f4915['on']('ready',()=>{_0x5f4915['keystrokes']['set'](_0x33435d,(_0x3fb5be,_0x4da60f)=>{const _0x589e1d=ckeditor5['first'](this['activeAnnotations']['values']());_0x589e1d&&(_0x589e1d['view']['focus'](),_0x4da60f());});});};this['context']instanceof ckeditor5['Editor']?_0x14e0be(this['context']):this['context']['editors']&&this['context']['editors']['on']('add',(_0x5c0a14,_0x2729e0)=>{_0x14e0be(_0x2729e0);});}['_setupEscapeAnnotationHandling'](){const _0x479213=_0x4602bd=>{const _0x317d85=_0x4602bd['source'],_0x7dcab9=[];let _0x266fa0;if(Array['isArray'](_0x317d85['target'])){_0x266fa0=_0x317d85['target'][0x0],this['context']instanceof ckeditor5['Editor']?_0x7dcab9['push'](this['context']):this['context']['editors']&&_0x7dcab9['push'](...this['context']['editors']);for(const _0x6c5d53 of _0x7dcab9)for(const _0x1a6364 of _0x6c5d53['editing']['view']['domRoots']['values']())if(_0x1a6364['contains'](_0x266fa0))return void _0x6c5d53['editing']['view']['focus']();_0x266fa0['focus']();}};this['listenTo'](this['collection'],'add',(_0x75db6a,_0x4415de)=>{this['listenTo'](_0x4415de,'escape',_0x479213,{'priority':'low'});}),this['listenTo'](this['collection'],'remove',(_0x2ae202,_0x1b0ba5)=>{this['stopListening'](_0x1b0ba5,'escape',_0x479213);});}}const _0x3f5f3b=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'],_0x38ef77];}static get['pluginName'](){return'CommentsRepository';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x23262a){super(_0x23262a),this['_threads']=new Map(),this['_threadToController']=new Map(),this['_viewToController']=new Map(),this['set']('_readOnlyChannels',new Set()),this['set']('_permissions',new Map());const _0x47bf1a=this['context']['config'];_0x47bf1a['define']('comments.maxCommentsWhenCollapsed',0x2),_0x47bf1a['define']('comments.maxThreadTotalWeight',0x1f4),_0x47bf1a['define']('comments.maxCommentCharsWhenCollapsed',0x8c),_0x47bf1a['define']('comments.CommentThreadView',CommentThreadView),_0x47bf1a['define']('comments.CommentView',CommentView),_0x47bf1a['get']('comments.editorConfig')||console['warn']('Missing\x20comments\x20editor\x20configuration\x20(`comments.editorConfig`).\x20Default\x20configuration\x20will\x20be\x20used\x20instead.');}['init'](){const _0x1c36b5=this['context']['plugins']['get'](Annotations);this['set']('activeCommentThread',null),this['on']('addCommentThread',(_0x3e715d,_0x2d00de)=>this['_addCommentThread'](_0x2d00de)),this['on']('submitCommentThread',(_0x481999,_0x23427d)=>this['_submitCommentThread'](_0x23427d)),this['on']('resolveCommentThread',(_0x2c163d,_0x3056e1)=>this['_resolveCommentThread'](_0x3056e1)),this['on']('resolveCommentThread',(_0x1d90ca,_0x162bfd)=>this['_updateActiveAnnotation'](_0x162bfd),{'priority':'lowest'}),this['on']('reopenCommentThread',(_0x37fa63,_0xecb3d8)=>this['_reopenCommentThread'](_0xecb3d8)),this['on']('reopenCommentThread',(_0x47b33b,_0x1cfbdc)=>this['_updateActiveAnnotation'](_0x1cfbdc),{'priority':'lowest'}),this['on']('removeCommentThread',(_0x559546,_0x1e870a)=>this['_removeCommentThread'](_0x1e870a)),this['on']('updateCommentThread',(_0x866eba,_0x1776bf)=>this['_updateCommentThread'](_0x1776bf)),this['on']('updateCommentThread',(_0x24712f,_0x2f4295)=>this['_updateActiveAnnotation'](_0x2f4295),{'priority':'lowest'}),this['on']('addComment',(_0x3f7c2,_0x2573fa)=>this['_addComment'](_0x2573fa)),this['on']('updateComment',(_0x39e597,_0x410169)=>this['_updateComment'](_0x410169)),this['on']('removeComment',(_0x16bc86,_0xa4c13e)=>this['_removeComment'](_0xa4c13e)),this['on']('addComment',(_0x4ae82f,{threadId:_0x48de34,isFromAdapter:_0x2d397e})=>{if(_0x2d397e)return;const _0x2665ab=this['getCommentThread'](_0x48de34),_0xc818ec=_0x2665ab&&this['_threadToController']['get'](_0x2665ab);_0xc818ec&&_0xc818ec['view']['commentsListView']['focus'](-0x1);},{'priority':'lowest'}),this['listenTo'](_0x1c36b5,'change:activeAnnotations',(_0x3ba0ac,_0x1680c9,_0x50b70b)=>{const _0x13264f=Array['from'](_0x50b70b)['map'](_0x46959b=>this['_viewToController']['get'](_0x46959b['innerView']))['filter'](Boolean)[0x0];this['activeCommentThread']=_0x13264f?_0x13264f['model']:null;});}set['adapter'](_0x4f1cf4){if(this['_adapter'])throw new ckeditor5['CKEditorError']('commentsrepository-adapter-already-set');this['_adapter']=_0x4f1cf4;}get['adapter'](){return this['_adapter'];}['addCommentThread']({channelId:_0x5eef77=_0x3f5f3b,threadId:_0xed009d=ckeditor5['uid'](),comments:_0x5a637a=[],unlinkedAt:_0xad893a=null,resolvedAt:_0x402ded=null,resolvedBy:_0x4b407d=null,target:_0x2ba5e9=null,context:_0x3d2d26=null,attributes:_0xec13ed={},isResolvable:_0x401ae1=!0x0,isSubmitted:_0x409e76=!0x1,isFromAdapter:_0x3ca2f6=!0x1}={}){return this['fire'](toEventName('addCommentThread',_0x5eef77),{'channelId':_0x5eef77,'threadId':_0xed009d,'comments':_0x5a637a,'unlinkedAt':_0xad893a,'resolvedAt':_0x402ded,'resolvedBy':_0x4b407d,'target':_0x2ba5e9,'context':_0x3d2d26,'attributes':_0xec13ed,'isFromAdapter':_0x3ca2f6,'isResolvable':_0x401ae1,'isSubmitted':_0x409e76}),this['getCommentThread'](_0xed009d);}['openNewCommentThread']({channelId:_0x5c238d=_0x3f5f3b,threadId:_0x862533=ckeditor5['uid'](),target:_0x175602,context:_0x379f2d=null,isResolvable:_0x4b2f79=!0x0}){if(this['_readOnlyChannels']['has'](_0x5c238d)||this['_readOnlyChannels']['has'](void 0x0))return null;if(!_0x175602)throw new ckeditor5['CKEditorError']('commentsrepository-missing-target');const _0x263946=this['addCommentThread']({'channelId':_0x5c238d,'threadId':_0x862533,'target':_0x175602,'context':_0x379f2d,'isResolvable':_0x4b2f79});if(!_0x263946)return null;const _0x3731b5=this['_threadToController']['get'](_0x263946),_0x1a8def=_0x3731b5['view']['commentThreadInputView']['commentInputView'],_0x1594c2=this['context']['plugins']['get'](Annotations),_0x3e208c=_0x1594c2['getByInnerView'](_0x3731b5['view']);return _0x1594c2['activate'](_0x3e208c),_0x1a8def['once']('editorReady',()=>_0x1a8def['focus']()),_0x263946;}['hasCommentThread'](_0x1e8d5a){if('string'!=typeof _0x1e8d5a)throw new ckeditor5['CKEditorError']('commentsrepository-invalid-comment-thread-id');return this['_threads']['has'](_0x1e8d5a);}['updateCommentThread']({channelId:_0x10edbd=_0x3f5f3b,threadId:_0x4eea5f,context:_0x3966c2,unlinkedAt:_0x16a125,attributes:_0x680700,isFromAdapter:_0x5df883=!0x1}){return this['fire'](toEventName('updateCommentThread',_0x10edbd),{'channelId':_0x10edbd,'threadId':_0x4eea5f,'context':_0x3966c2,'unlinkedAt':_0x16a125,'attributes':_0x680700,'isFromAdapter':_0x5df883}),this['getCommentThread'](_0x4eea5f);}['getCommentThread'](_0x20e8bc){if('string'!=typeof _0x20e8bc)throw new ckeditor5['CKEditorError']('commentsrepository-invalid-comment-thread-id');return this['_threads']['get'](_0x20e8bc);}['fetchCommentThread']({channelId:_0x2ebae5,threadId:_0x38da70}={}){const _0x4de59d=this['getCommentThread'](_0x38da70);if(_0x4de59d)return Promise['resolve'](_0x4de59d);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':_0x2ebae5,'threadId':_0x38da70})['then'](_0x4fd434=>this['hasCommentThread'](_0x38da70)?this['getCommentThread'](_0x38da70):_0x4fd434?this['addCommentThread'](Object['assign']({'isFromAdapter':!0x0,'channelId':_0x2ebae5},_0x4fd434)):void 0x0)['catch'](_0xd7b921=>{throw console['error'](_0xd7b921),new ckeditor5['CKEditorError']('commentsrepository-fetch-comment-thread',this['context']);});}['getCommentThreads']({channelId:_0x11eba2,skipNotAttached:_0x43560c=!0x1,skipEmpty:_0x16d643=!0x1,toJSON:_0x52a862=!0x1}={}){const _0x5726d1=[];for(const _0x14d2e7 of this['_threads']['values']())_0x11eba2&&_0x14d2e7['channelId']!==_0x11eba2||_0x43560c&&!_0x14d2e7['isAttached']||_0x16d643&&0x0===_0x14d2e7['length']||_0x5726d1['push'](_0x14d2e7);return _0x52a862?_0x5726d1['map'](_0x3a564e=>_0x3a564e['toJSON']()):_0x5726d1;}['getAnnotationForCommentThread'](_0x5afd7d){const _0xd387e3=this['_threadToController']['get'](_0x5afd7d);if(!_0xd387e3)return null;return this['context']['plugins']['get'](Annotations)['getByInnerView'](_0xd387e3['view'])||null;}['getCommentThreadForAnnotation'](_0x5566ee){const _0x510438=this['_viewToController']['get'](_0x5566ee['innerView']);return _0x510438?_0x510438['model']:null;}['setActiveCommentThread'](_0x2000ae){const _0xd7dd15=this['context']['plugins']['get'](Annotations);if(!_0x2000ae)return void(this['activeCommentThread']&&_0xd7dd15['deactivateAll']());const _0x563eea=this['getCommentThread'](_0x2000ae);if(!_0x563eea)throw new ckeditor5['CKEditorError']('commentsrepository-active-missing-comment-thread',null,{'threadId':_0x2000ae});if(!this['_threadToController']['has'](_0x563eea))throw new ckeditor5['CKEditorError']('commentsrepository-active-not-attached',null,{'threadId':_0x2000ae});const _0x5d8629=_0xd7dd15['getByInnerView'](this['_threadToController']['get'](_0x563eea)['view']);_0xd7dd15['activate'](_0x5d8629);}['switchReadOnly'](_0x361594,_0x4e889b){_0x361594?this['_readOnlyChannels']['add'](_0x4e889b):this['_readOnlyChannels']['delete'](_0x4e889b),this['fire']('change:_readOnlyChannels','_readOnlyChannels',this['_readOnlyChannels'],this['_readOnlyChannels']);}['isReadOnly'](_0x3256cf){return this['_readOnlyChannels']['has'](_0x3256cf)||this['_readOnlyChannels']['has'](void 0x0);}['createCommentThreadController'](_0x736ead,_0x53ea98){return new CommentThreadController(_0x736ead,_0x53ea98);}['setPermissions'](_0x2e8c53,_0x49e967=_0x3f5f3b){this['_permissions']['set'](_0x49e967,_0x2e8c53),this['fire']('change:_permissions','_permissions',this['_permissions'],this['_permissions']);}['getPermissions'](_0x250d69=_0x3f5f3b){return this['_permissions']['has'](_0x250d69)?this['_permissions']['get'](_0x250d69):defaultPermissions;}['_addCommentThread']({channelId:_0xcf28a2,threadId:_0x47f4cc,comments:_0x2ac9f3,unlinkedAt:_0x303f23,resolvedAt:_0x50431b,resolvedBy:_0x21b6a2,target:_0xe15101,context:_0x45b8ad,attributes:_0x40da52,isFromAdapter:_0xab2738,isResolvable:_0x3836b4,isSubmitted:_0xfc8667}){if('string'!=typeof _0x47f4cc)throw new ckeditor5['CKEditorError']('commentsrepository-invalid-comment-thread-id',null,{'threadId':_0x47f4cc});if(this['hasCommentThread'](_0x47f4cc))throw new ckeditor5['CKEditorError']('commentsrepository-duplicated-comment-thread-id',null,{'threadId':_0x47f4cc});const _0x1d9c4d=new CommentThread(this,{'channelId':_0xcf28a2,'id':_0x47f4cc,'context':_0x45b8ad,'attributes':_0x40da52,'unlinkedAt':_0x303f23,'resolvedAt':_0x50431b,'resolvedBy':_0x21b6a2?this['context']['plugins']['get'](_0x38ef77)['getUser'](_0x21b6a2):null,'isResolvable':_0x3836b4,'isSubmitted':_0xfc8667||_0xab2738});this['_threads']['set'](_0x47f4cc,_0x1d9c4d);for(const _0x1c6b87 of _0x2ac9f3)_0x1d9c4d['_add'](this['_createNewComment']({'threadId':_0x47f4cc,..._0x1c6b87}));return _0xe15101&&_0x1d9c4d['attachTo'](_0xe15101),_0xab2738||!_0x1d9c4d['length']?Promise['resolve']():this['_submitCommentThread']({'channelId':_0xcf28a2,'threadId':_0x47f4cc});}['_submitCommentThread']({channelId:_0xbfde17,threadId:_0x1dba79}){if(!this['hasCommentThread'](_0x1dba79))throw new ckeditor5['CKEditorError']('commentsrepository-missing-comment-thread',this);const _0x3762a7=this['getCommentThread'](_0x1dba79);if(_0x3762a7['_isSubmitted']=!0x0,!this['adapter']||'function'!=typeof this['adapter']['addCommentThread'])return Promise['resolve']();const {id:_0x33467f,comments:_0xd6e68a,resolvedAt:_0x5ac76d,resolvedBy:_0x21f201,context:_0x58487e,attributes:_0xc1368c}=_0x3762a7,_0x31db8f=this['context']['plugins']['get']('PendingActions'),_0x1b380f=_0x31db8f['add'](getTranslation$f(this['context']['locale'],'PENDING_ACTION_COMMENT_THREAD'));return this['adapter']['addCommentThread']({'channelId':_0xbfde17,'threadId':_0x33467f,'comments':_0xd6e68a['map'](_0xdf8a02=>_0xdf8a02['toJSON']()),'resolvedAt':_0x5ac76d,'resolvedBy':_0x21f201?_0x21f201['id']:_0x21f201,'context':_0x58487e,'attributes':_0xc1368c})['then'](({comments:_0x399f12})=>{_0x31db8f['remove'](_0x1b380f);for(const _0x22e010 of _0x399f12)this['_updateComment']({'channelId':_0xbfde17,'threadId':_0x1dba79,'commentId':_0x22e010['commentId'],'createdAt':_0x22e010['createdAt'],'isFromAdapter':!0x0});})['catch'](_0x55b3ad=>{throw console['error'](_0x55b3ad),new ckeditor5['CKEditorError']('commentsrepository-add-comment-thread-internal-error',this);});}['_attachCommentThread']({threadId:_0x73e9e,target:_0x2fa308}){const _0x2137d5=this['getCommentThread'](_0x73e9e);if(!_0x2137d5)throw new ckeditor5['CKEditorError']('commentsrepository-attach-missing-comment-thread',this);const _0x1b7369=this['context']['plugins']['get']('PendingActions'),_0x24edbc=this['context']['plugins']['get'](Annotations),_0x3a29d1=this['_createCommentThreadView'](_0x2137d5),_0x5e025f=new CommentThreadController(_0x2137d5,_0x3a29d1);let _0x27cdb0=null;_0x3a29d1['on']('change:isDirty',(_0x524a8d,_0x3c9a81,_0x559c49)=>{_0x559c49?_0x27cdb0=_0x1b7369['add'](getTranslation$f(this['context']['locale'],'PENDING_ACTION_COMMENT_THREAD')):_0x27cdb0&&(_0x1b7369['remove'](_0x27cdb0),_0x27cdb0=null);}),this['_threadToController']['set'](_0x2137d5,_0x5e025f),this['_viewToController']['set'](_0x3a29d1,_0x5e025f);const _0x5443b2=new AnnotationView(this['context']['locale'],_0x3a29d1);_0x5443b2['bind']('length')['to'](_0x3a29d1),_0x5443b2['bind']('isDirty')['to'](_0x3a29d1,'isDirty',_0x3a29d1,'length',(_0x28c525,_0x328da6)=>_0x28c525||!_0x328da6),_0x5443b2['bind']('isActive')['to'](_0x3a29d1),_0x5443b2['type']='comment';const _0x278838=new Annotation$1({'view':_0x5443b2,'target':_0x2fa308,'type':'comment','isVisible':!_0x2137d5['archivedAt']&&!!('function'==typeof _0x2fa308?_0x2fa308():_0x2fa308)});return _0x3a29d1['on']('escape',()=>{_0x278838['fire']('escape');}),this['_bindAnnotationToEditors'](_0x3a29d1,_0x278838),_0x24edbc['add'](_0x278838),_0x278838;}['_bindAnnotationToEditors'](_0x10ed83,_0x3a025e){this['listenTo'](_0x10ed83,'editorReady',(_0x44bba0,_0x5b7359)=>{const _0x33636e=_0x5b7359['ui']['view']['body']['bodyCollectionContainer'];_0x3a025e['focusableElements']['add'](_0x33636e),this['context']instanceof ckeditor5['Editor']&&this['context']['ui']['focusTracker']['add'](_0x33636e);},{'priority':'highest'}),this['listenTo'](_0x10ed83,'editorDestroyed',(_0x10b0d0,_0x1df0de)=>{const _0x5ea6d0=_0x1df0de['ui']['view']['body']['bodyCollectionContainer'];_0x3a025e['focusableElements']['has'](_0x5ea6d0)&&_0x3a025e['focusableElements']['remove'](_0x5ea6d0),this['context']instanceof ckeditor5['Editor']&&this['context']['ui']['focusTracker']['remove'](_0x5ea6d0);});}['_unbindEditors'](_0x35523c){this['stopListening'](_0x35523c,'editorReady'),this['stopListening'](_0x35523c,'editorDestroyed');}['_createCommentThreadView'](_0x486434){const _0x55f520=this['context']['plugins']['get'](_0x38ef77),{config:_0x26c195,locale:_0x1c19c4}=this['context'],_0x493c20=getDateTimeFormatter(_0x26c195['get']('locale'),_0x1c19c4);return new(0x0,(_0x26c195['get']('comments'))['CommentThreadView'])(_0x1c19c4,_0x486434,_0x55f520['me'],{'editorConfig':{..._0x26c195['get']('comments.editorConfig'),'licenseKey':this['context']['config']['get']('licenseKey')},'copyMarkers':_0x26c195['get']('comments.copyMarkers'),'maxCommentsWhenCollapsed':_0x26c195['get']('comments.maxCommentsWhenCollapsed'),'maxThreadTotalWeight':_0x26c195['get']('comments.maxThreadTotalWeight'),'maxCommentCharsWhenCollapsed':_0x26c195['get']('comments.maxCommentCharsWhenCollapsed'),'formatDateTime':_0x493c20,'CommentView':_0x26c195['get']('comments')['CommentView']});}['_resolveCommentThread']({threadId:_0x5c8436,channelId:_0x203227,resolvedAt:_0x41b77a,resolvedBy:_0x3efe48,isFromAdapter:_0x51985d}){if(!this['hasCommentThread'](_0x5c8436))throw new ckeditor5['CKEditorError']('commentsrepository-missing-comment-thread',null,{'threadId':_0x5c8436});const _0x32d82e=this['getCommentThread'](_0x5c8436);if(_0x32d82e['isResolved'])throw new ckeditor5['CKEditorError']('commentsrepository-resolved-comment-thread',null,{'threadId':_0x5c8436});const _0x12bb36=this['context']['plugins']['get'](_0x38ef77);if(_0x32d82e['resolvedBy']=_0x12bb36['getUser'](_0x3efe48),_0x32d82e['resolvedAt']=_0x41b77a,_0x51985d||!this['adapter']||'function'!=typeof this['adapter']['resolveCommentThread'])return Promise['resolve']();const _0x15b5ca=this['context']['plugins']['get']('PendingActions'),_0xec89e2=_0x15b5ca['add'](getTranslation$f(this['context']['locale'],'PENDING_ACTION_COMMENT_THREAD'));return this['adapter']['resolveCommentThread']({'channelId':_0x203227,'threadId':_0x5c8436})['then'](({resolvedAt:_0x429292,resolvedBy:_0xe12ee5})=>{_0x15b5ca['remove'](_0xec89e2),_0x32d82e['resolvedBy']['id']!==_0xe12ee5&&(_0x32d82e['resolvedBy']=_0x12bb36['getUser'](_0xe12ee5)),_0x32d82e['resolvedAt']=_0x429292;})['catch'](_0xbd7bf3=>{throw console['error'](_0xbd7bf3),new ckeditor5['CKEditorError']('commentsrepository-resolve-comment-thread-internal-error',this);});}['_reopenCommentThread']({threadId:_0x2c0a05,channelId:_0xa0e3ed,isFromAdapter:_0x12499a}){if(!this['hasCommentThread'](_0x2c0a05))throw new ckeditor5['CKEditorError']('commentsrepository-missing-comment-thread',null,{'threadId':_0x2c0a05});const _0x4e6865=this['getCommentThread'](_0x2c0a05);if(!_0x4e6865['isResolved'])throw new ckeditor5['CKEditorError']('commentsrepository-reopen-comment-thread',null,{'threadId':_0x2c0a05});if(_0x4e6865['resolvedBy']=null,_0x4e6865['resolvedAt']=null,_0x12499a||!this['adapter']||'function'!=typeof this['adapter']['reopenCommentThread'])return Promise['resolve']();const _0x26e938=this['context']['plugins']['get']('PendingActions'),_0x33bdbc=_0x26e938['add'](getTranslation$f(this['context']['locale'],'PENDING_ACTION_COMMENT_THREAD'));return this['adapter']['reopenCommentThread']({'channelId':_0xa0e3ed,'threadId':_0x2c0a05})['then'](()=>_0x26e938['remove'](_0x33bdbc))['catch'](_0x15fbad=>{throw console['error'](_0x15fbad),new ckeditor5['CKEditorError']('commentsrepository-reopen-comment-thread-internal-error',this);});}['_removeCommentThread']({threadId:_0x30f26d,isFromAdapter:_0x45e27e}){const _0x55e74b=this['getCommentThread'](_0x30f26d);if(!_0x55e74b)throw new ckeditor5['CKEditorError']('commentsrepository-remove-missing-comment-thread',this);if(this['_detachCommentThread'](_0x30f26d),this['_threads']['delete'](_0x30f26d),!_0x55e74b['isSubmitted']||_0x45e27e||!this['adapter']||'function'!=typeof this['adapter']['removeCommentThread'])return Promise['resolve']();const _0xa708e0=this['context']['plugins']['get']('PendingActions'),{channelId:_0x2e26e7}=_0x55e74b,_0x4d46a7=_0xa708e0['add'](getTranslation$f(this['context']['locale'],'PENDING_ACTION_COMMENT_THREAD'));return this['adapter']['removeCommentThread']({'channelId':_0x2e26e7,'threadId':_0x30f26d})['then'](()=>_0xa708e0['remove'](_0x4d46a7))['catch'](_0x14120f=>{throw console['error'](_0x14120f),new ckeditor5['CKEditorError']('commentsrepository-remove-comment-thread-internal-error',this);});}['_updateCommentThread']({threadId:_0x2d2dbb,unlinkedAt:_0x21bd0e,context:_0x4daedb,attributes:_0x27480f,isFromAdapter:_0x572d28}){if('string'!=typeof _0x2d2dbb)throw new ckeditor5['CKEditorError']('commentsrepository-invalid-comment-thread-id',null,{'threadId':_0x2d2dbb});if(!this['hasCommentThread'](_0x2d2dbb))throw new ckeditor5['CKEditorError']('commentsrepository-missing-comment-thread',null,{'threadId':_0x2d2dbb});const _0x4a16f0=this['getCommentThread'](_0x2d2dbb);let _0x48ce6b=!0x1;if(void 0x0!==_0x4daedb&&_0x4a16f0['context']!==_0x4daedb&&(_0x4a16f0['context']=_0x4daedb,_0x48ce6b=!0x0),void 0x0!==_0x21bd0e&&_0x4a16f0['unlinkedAt']!==_0x21bd0e&&(_0x4a16f0['unlinkedAt']=_0x21bd0e,_0x48ce6b=!0x0),_0x27480f&&!_0x5d9d2a(_0x27480f,_0x4a16f0['attributes'])&&(_0x4a16f0['attributes']=_0x27480f,_0x48ce6b=!0x0),!_0x48ce6b)return Promise['resolve']();if(!_0x4a16f0['isSubmitted']||_0x572d28||!this['adapter']||'function'!=typeof this['adapter']['updateCommentThread'])return Promise['resolve']();const _0x1b3116=this['context']['plugins']['get']('PendingActions'),{channelId:_0x1032fa}=_0x4a16f0,_0x4e4285=_0x1b3116['add'](getTranslation$f(this['context']['locale'],'PENDING_ACTION_COMMENT_THREAD'));return this['adapter']['updateCommentThread']({'channelId':_0x1032fa,'threadId':_0x2d2dbb,'context':_0x4daedb,'unlinkedAt':_0x21bd0e,'attributes':_0x27480f})['then'](()=>_0x1b3116['remove'](_0x4e4285))['catch'](_0x1b6bc5=>{throw console['error'](_0x1b6bc5),new ckeditor5['CKEditorError']('commentsrepository-update-comment-thread-internal-error',this);});}['_detachCommentThread'](_0x491f4c){const _0x5b4cb5=this['context']['plugins']['get'](Annotations),_0x3b21db=this['getCommentThread'](_0x491f4c);if(_0x3b21db['_isAttached']=!0x1,this['_threadToController']['has'](_0x3b21db)){const _0x3f1eea=this['_threadToController']['get'](_0x3b21db),_0x59f9e1=_0x3f1eea['view'],_0x3d1ab7=_0x5b4cb5['getByInnerView'](_0x59f9e1);this['_threadToController']['delete'](_0x3b21db),this['_viewToController']['delete'](_0x59f9e1),_0x3d1ab7&&_0x5b4cb5['remove'](_0x3d1ab7),_0x3f1eea['destroy'](),_0x59f9e1['destroy']()['then'](()=>{this['_unbindEditors'](_0x59f9e1);});}}['_updateActiveAnnotation']({threadId:_0x2d052d,resolvedAt:_0x22e2a6,unlinkedAt:_0x1c187d}){const _0x40b4b0=!!_0x22e2a6,_0x45511f=this['context']['plugins']['get'](Annotations),_0x187001=this['getCommentThread'](_0x2d052d);if(this['_threadToController']['has'](_0x187001)){const _0x1a4ea3=this['_threadToController']['get'](_0x187001)['view'],_0x49ef1d=_0x45511f['getByInnerView'](_0x1a4ea3);_0x49ef1d&&(_0x40b4b0&&_0x45511f['_removeActiveAnnotation'](_0x49ef1d),_0x1c187d?_0x49ef1d['isVisible']=!0x1:_0x49ef1d['refreshVisibility']());}}['_getExternalAuthor'](_0x1d77f5){const _0x20206a=this['context']['plugins']['get'](_0x38ef77),_0x3a3e4e=hashObject('external:'+_0x1d77f5),_0x5265a1=_0x20206a['getUser'](_0x3a3e4e);return _0x5265a1||_0x20206a['addUser']({'id':_0x3a3e4e,'name':_0x1d77f5});}['_createNewComment']({threadId:_0x43162f,commentId:_0x4bc5b3=ckeditor5['uid'](),content:_0x2356a7,authorId:_0x3972f0,createdAt:_0x821ac1,attributes:_0x16b7ef}){if('string'!=typeof _0x4bc5b3)throw new ckeditor5['CKEditorError']('commentsrepository-invalid-commentid');if('string'!=typeof _0x3972f0)throw new ckeditor5['CKEditorError']('commentsrepository-invalid-comment-authorid');if('string'!=typeof _0x2356a7||!_0x2356a7['trim']())throw new ckeditor5['CKEditorError']('commentsrepository-invalid-comment-content');const _0x3d0c13=this['context']['plugins']['get'](_0x38ef77)['getUser'](_0x3972f0);if(!_0x3d0c13)throw new ckeditor5['CKEditorError']('commentsrepository-add-comment-user-not-exists',null,{'authorId':_0x3972f0});let _0x117118=null,_0x4b77f2=_0x821ac1;return _0x16b7ef?.['@external']&&(_0x117118=this['_getExternalAuthor'](_0x16b7ef['@external']['authorName']),_0x4b77f2=new Date(_0x16b7ef['@external']['createdAt'])),new Comment(this,{'threadId':_0x43162f,'id':_0x4bc5b3,'author':_0x117118||_0x3d0c13,'creator':_0x3d0c13,'content':_0x2356a7,'createdAt':_0x821ac1,'authoredAt':_0x4b77f2,'attributes':_0x16b7ef});}['_addComment'](_0x24ecb2){let {threadId:_0x1ee90f,content:_0x2a306c,attributes:_0x4dea1c,isFromAdapter:_0x35c286}=_0x24ecb2;const _0x3a436d=this['getCommentThread'](_0x24ecb2['threadId']);if(!_0x3a436d)throw new ckeditor5['CKEditorError']('commentsrepository-add-comment-to-missing-comment-thread',this);const _0xdbeb2d=this['_createNewComment'](_0x24ecb2),{id:_0x5822df}=_0xdbeb2d;if(_0x3a436d['_add'](_0xdbeb2d),_0x35c286||!this['adapter']||'function'!=typeof this['adapter']['addComment']||!_0x3a436d['isSubmitted'])return Promise['resolve']();const _0x3a9686=this['context']['plugins']['get']('PendingActions'),{channelId:_0x26aa92}=_0x3a436d,_0x5a96a1=_0x3a9686['add'](getTranslation$f(this['context']['locale'],'PENDING_ACTION_COMMENT_THREAD'));return _0x4dea1c||(_0x4dea1c={}),this['adapter']['addComment']({'channelId':_0x26aa92,'threadId':_0x1ee90f,'commentId':_0x5822df,'content':_0x2a306c,'attributes':_0x4dea1c})['then'](_0x3c84bc=>{_0x3a9686['remove'](_0x5a96a1),_0x3c84bc&&this['_updateComment']({'channelId':_0x26aa92,'threadId':_0x1ee90f,'commentId':_0x5822df,'createdAt':_0x3c84bc['createdAt'],'isFromAdapter':!0x0});})['catch'](_0x59716b=>{throw console['error'](_0x59716b),new ckeditor5['CKEditorError']('commentsrepository-add-comment-internal-error',this);});}['_updateComment']({threadId:_0x426704,commentId:_0x19aba6,content:_0x45e3cb,createdAt:_0x168390,attributes:_0x3846c6,isFromAdapter:_0x4b40c8}){if(void 0x0!==_0x45e3cb&&('string'!=typeof _0x45e3cb||!_0x45e3cb['trim']()['length']))throw new ckeditor5['CKEditorError']('commentsrepository-update-comment-invalid-content');const _0x2632e8=this['getCommentThread'](_0x426704),_0x5e5cf9=_0x2632e8['getComment'](_0x19aba6);if(!_0x5e5cf9)throw new ckeditor5['CKEditorError']('commentsrepository-update-missing-comment',this);let _0x2ed3de=!0x1;if(_0x45e3cb&&_0x45e3cb!==_0x5e5cf9['content']&&(_0x5e5cf9['isEditable']||_0x4b40c8)&&(_0x5e5cf9['content']=_0x45e3cb,_0x2ed3de=!0x0),_0x168390&&_0x168390!==_0x5e5cf9['createdAt']&&(_0x5e5cf9['createdAt']=_0x168390,_0x5e5cf9['attributes']&&_0x5e5cf9['attributes']['@external']||(_0x5e5cf9['authoredAt']=_0x168390),_0x2ed3de=!0x0),_0x3846c6&&!_0x5d9d2a(_0x3846c6,_0x5e5cf9['attributes'])&&(_0x5e5cf9['attributes']=_0x3846c6,_0x2ed3de=!0x0),!_0x2ed3de)return Promise['resolve']();if(_0x2632e8['fire']('commentUpdated'),_0x4b40c8||!this['adapter']||'function'!=typeof this['adapter']['updateComment'])return Promise['resolve']();const _0x2d6d2d=this['context']['plugins']['get']('PendingActions'),{channelId:_0x4e869b}=this['getCommentThread'](_0x5e5cf9['threadId']),_0x1b6f3d=_0x2d6d2d['add'](getTranslation$f(this['context']['locale'],'PENDING_ACTION_COMMENT_THREAD'));return this['adapter']['updateComment']({'channelId':_0x4e869b,'threadId':_0x426704,'commentId':_0x19aba6,'content':_0x45e3cb,'attributes':_0x3846c6})['then'](()=>_0x2d6d2d['remove'](_0x1b6f3d))['catch'](_0x2edf5d=>{throw console['error'](_0x2edf5d),new ckeditor5['CKEditorError']('commentsrepository-update-comment-internal-error',this);});}['_removeComment']({threadId:_0x4b61da,commentId:_0x2f318b,isFromAdapter:_0x2d969}){const _0x282e0a=this['getCommentThread'](_0x4b61da),_0x5de23f=_0x282e0a['getComment'](_0x2f318b);if(!_0x5de23f)throw new ckeditor5['CKEditorError']('commentsrepository-remove-missing-comment',this);if(_0x282e0a['_remove'](_0x5de23f),_0x2d969||!this['adapter']||'function'!=typeof this['adapter']['removeComment'])return Promise['resolve']();const _0x2b9b1a=this['context']['plugins']['get']('PendingActions'),{channelId:_0x27f28a}=_0x282e0a,_0x5cc7e0=_0x2b9b1a['add'](getTranslation$f(this['context']['locale'],'PENDING_ACTION_COMMENT_THREAD'));return this['adapter']['removeComment']({'channelId':_0x27f28a,'threadId':_0x4b61da,'commentId':_0x2f318b})['then'](()=>_0x2b9b1a['remove'](_0x5cc7e0))['catch'](_0x1c8487=>{throw console['error'](_0x1c8487),new ckeditor5['CKEditorError']('commentsrepository-remove-comment-internal-error',this);});}}class CommentThread extends/* #__PURE__ -- @preserve */
ckeditor5['ObservableMixin'](){['channelId'];['id'];['_isAttached'];['_isSubmitted'];['comments'];['_repository'];constructor(_0x36d639,_0x4ade4d){super();const _0x4bccb8=_0x4ade4d['isResolvable'];this['channelId']=_0x4ade4d['channelId'],this['id']=_0x4ade4d['id'],this['comments']=new ckeditor5['Collection'](),this['_repository']=_0x36d639,this['_isAttached']=!0x1,this['_isSubmitted']=_0x4ade4d['isSubmitted'],this['set']('_hasTargetInContent',!0x0),this['bind']('isReadOnly')['to'](_0x36d639,'_permissions',_0x36d639,'_readOnlyChannels',()=>_0x36d639['isReadOnly'](this['channelId'])),this['bind']('isRemovable')['to'](_0x36d639,'_permissions',()=>_0x36d639['getPermissions'](this['channelId'])['admin']),this['bind']('canComment')['to'](_0x36d639,'_permissions',()=>{const _0x2906e2=_0x36d639['getPermissions'](this['channelId']);return _0x2906e2['write']||_0x2906e2['admin'];}),this['bind']('isResolvable')['to'](_0x36d639,'_permissions',()=>_0x4bccb8&&_0x36d639['getPermissions'](this['channelId'])['resolve']),this['set']('context',_0x4ade4d['context']),this['bind']('archivedAt')['to'](this,'resolvedAt',this,'unlinkedAt',(_0x59f366,_0x518738)=>_0x59f366?_0x518738?_0x59f366<_0x518738?_0x59f366:_0x518738:_0x59f366:_0x518738),this['set']('unlinkedAt',_0x4ade4d['unlinkedAt']||null),this['set']('resolvedAt',_0x4ade4d['resolvedAt']||null),this['set']('resolvedBy',_0x4ade4d['resolvedBy']||null),this['bind']('isResolved')['to'](this,'resolvedAt',_0x2a2ceb=>!!_0x2a2ceb),this['set']('attributes',_0x4ade4d['attributes']||{});}get['weight'](){return Array['from'](this['comments'])['reduce']((_0x2e25f8,_0x424a59)=>_0x2e25f8+_0x424a59['weight'],0x0);}get['length'](){return this['comments']['length'];}get['isAttached'](){return this['_isAttached'];}get['isSubmitted'](){return this['_isSubmitted'];}['submit'](){const {channelId:_0x1d55ea,id:_0xb8c3e7}=this;this['_repository']['fire'](toEventName('submitCommentThread',_0x1d55ea),{'channelId':_0x1d55ea,'threadId':_0xb8c3e7});}['setUnlinkedAt'](_0x5f3cc0){this['_update']({'unlinkedAt':_0x5f3cc0});}['resolve']({resolvedAt:_0x40301d=new Date(),resolvedBy:_0x1de6a7='',isFromAdapter:_0x54b99a=!0x1}={}){const _0x2ed063=this['_repository']['context']['plugins']['get'](_0x38ef77)['me'],{channelId:_0x1de41a,id:_0x148cfd}=this;this['_repository']['fire'](toEventName('resolveCommentThread',_0x1de41a),{'channelId':_0x1de41a,'threadId':_0x148cfd,'resolvedAt':_0x40301d,'resolvedBy':_0x1de6a7||_0x2ed063['id'],'isFromAdapter':_0x54b99a});}['reopen']({isFromAdapter:_0x30d82b=!0x1}={}){const {channelId:_0x133816,id:_0xa1d8e3}=this;this['_repository']['fire'](toEventName('reopenCommentThread',_0x133816),{'channelId':_0x133816,'threadId':_0xa1d8e3,'isFromAdapter':_0x30d82b});}['setContext'](_0x2956bf){this['context']||this['_update']({'context':_0x2956bf});}['setAttribute'](_0x55096d,_0x1b4a47){const _0x2507b5=_0x3db43b(this['attributes']);set(_0x2507b5,_0x55096d,_0x1b4a47),this['_update']({'attributes':_0x2507b5});}['removeAttribute'](_0x244c9e){const _0x4d577e=_0x3db43b(this['attributes']);unset(_0x4d577e,_0x244c9e),this['_update']({'attributes':_0x4d577e});}['remove']({isFromAdapter:_0xcc18e5=!0x1}={}){const {channelId:_0x35009d,id:_0x13d58b}=this;this['_repository']['fire'](toEventName('removeCommentThread',_0x35009d),{'channelId':_0x35009d,'threadId':_0x13d58b,'isFromAdapter':_0xcc18e5});}['attachTo'](_0x4e1bcf){return this['_repository']['_attachCommentThread']({'threadId':this['id'],'target':_0x4e1bcf});}['addComment'](_0x20da75){const {channelId:_0x7f7058,id:_0x263775}=this;this['_repository']['fire'](toEventName('addComment',_0x7f7058,_0x263775),Object['assign']({'channelId':_0x7f7058,'threadId':_0x263775},_0x20da75));}['getComment'](_0x5358ba){if('string'!=typeof _0x5358ba)throw new ckeditor5['CKEditorError']('commentsrepository-get-comment-invalid-id',null,{'commentId':_0x5358ba});return this['comments']['get'](_0x5358ba);}['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'](_0x166a07=>_0x166a07['toJSON']()),'attributes':this['attributes']};}['_add'](_0x1f07a3){return this['listenTo'](_0x1f07a3,'change:authoredAt',()=>{const _0x550116=this['_findOptimalIndex'](_0x1f07a3),_0x23dc1f=this['comments'];_0x550116-0x1!=_0x23dc1f['getIndex'](_0x1f07a3)&&_0x550116+0x1!=_0x23dc1f['getIndex'](_0x1f07a3)&&(this['_remove'](_0x1f07a3),this['_add'](_0x1f07a3));}),this['comments']['add'](_0x1f07a3,this['_findOptimalIndex'](_0x1f07a3));}['_update'](_0x34cd80){const {channelId:_0x1c287e,id:_0x557e1a}=this;this['_repository']['fire'](toEventName('updateCommentThread',_0x1c287e),{..._0x34cd80,'channelId':_0x1c287e,'threadId':_0x557e1a});}['_remove'](_0x5da687){return this['stopListening'](_0x5da687),_0x5da687['destroy'](),this['comments']['remove'](_0x5da687);}['_findOptimalIndex'](_0x3f8e2f){const _0x255dec=this['comments']['find'](_0x56c8bd=>new Date(_0x56c8bd['authoredAt'])['getTime']()>new Date(_0x3f8e2f['authoredAt'])['getTime']());return _0x255dec?this['comments']['getIndex'](_0x255dec):this['length'];}}const _0x426812=0xc8;function getContentLength(_0x31eb57){const _0x39b40b=document['createElement']('div');return _0x39b40b['innerHTML']=_0x31eb57,_0x39b40b['textContent']['length'];}class Comment extends/* #__PURE__ -- @preserve */
ckeditor5['ObservableMixin'](){['id'];['threadId'];['author'];['creator'];['isExternal'];['createdAt'];['_repository'];constructor(_0x1d92b5,_0x2832fc){super();const _0x4fb39a=_0x1d92b5['context']['plugins']['get'](_0x38ef77)['me'],_0x99b02f=_0x1d92b5['getCommentThread'](_0x2832fc['threadId']),_0x59a768=0x0===_0x99b02f['comments']['length'],_0x156768=_0x4fb39a===_0x2832fc['author'];this['id']=_0x2832fc['id'],this['threadId']=_0x2832fc['threadId'],this['author']=_0x2832fc['author'],this['creator']=_0x2832fc['creator'],this['isExternal']=Boolean(_0x2832fc['attributes']&&_0x2832fc['attributes']['@external']),this['set']('content',_0x2832fc['content']),this['createdAt']=_0x2832fc['createdAt']||new Date(),this['set']('authoredAt',_0x2832fc['authoredAt']||new Date()),this['bind']('resolvedAt')['to'](_0x99b02f,'resolvedAt'),this['set']('attributes',_0x2832fc['attributes']||{}),this['bind']('isEditable')['to'](_0x1d92b5,'_permissions',()=>{const _0x4a2cf6=_0x1d92b5['getPermissions'](_0x99b02f['channelId'])['write'],_0x363863=_0x1d92b5['getPermissions'](_0x99b02f['channelId'])['modifyAll'];return _0x156768&&_0x4a2cf6||!_0x156768&&_0x363863;}),this['bind']('isRemovable')['to'](_0x99b02f,'isRemovable',_0x1d92b5,'_permissions',_0x444e39=>{const _0x5a1a43=_0x1d92b5['getPermissions'](_0x99b02f['channelId'])['write'],_0x308ef1=_0x1d92b5['getPermissions'](_0x99b02f['channelId'])['modifyAll'];return _0x156768&&_0x5a1a43||_0x444e39&&_0x59a768||!_0x156768&&_0x308ef1&&!_0x59a768;}),this['bind']('isReadOnly')['to'](_0x99b02f,'isReadOnly'),this['_repository']=_0x1d92b5;}get['weight'](){return Math['max'](getContentLength(this['content']),_0x426812);}['update'](_0x2f076e){const {threadId:_0x56dbcc,id:_0x494411}=this;if(!this['_repository']['hasCommentThread'](_0x56dbcc))throw new ckeditor5['CKEditorError']('commentsrepository-update-comment-missing-comment-thread',this);const {channelId:_0x507ce9}=this['_repository']['getCommentThread'](_0x56dbcc);this['_repository']['fire'](toEventName('updateComment',_0x507ce9,_0x56dbcc),{'channelId':_0x507ce9,'threadId':_0x56dbcc,'commentId':_0x494411,..._0x2f076e});}['setAttribute'](_0x104f76,_0x2c13a4){const _0x17150a=_0x3db43b(this['attributes']);set(_0x17150a,_0x104f76,_0x2c13a4),this['update']({'attributes':_0x17150a});}['removeAttribute'](_0x20c281){const _0x2a6408=_0x3db43b(this['attributes']);unset(_0x2a6408,_0x20c281),this['update']({'attributes':_0x2a6408});}['remove'](_0xb93920={}){if(!_0xb93920['isFromAdapter']&&!this['isRemovable'])return;const {threadId:_0x184c30,id:_0x3b1ae8}=this;if(!this['_repository']['hasCommentThread'](_0x184c30))throw new ckeditor5['CKEditorError']('commentsrepository-remove-comment-missing-comment-thread',this);const {channelId:_0x9bd3d}=this['_repository']['getCommentThread'](_0x184c30);this['_repository']['fire'](toEventName('removeComment',_0x9bd3d,_0x184c30),{'channelId':_0x9bd3d,'threadId':_0x184c30,'commentId':_0x3b1ae8,..._0xb93920});}['toJSON'](){return{'commentId':this['id'],'content':this['content'],'createdAt':this['createdAt'],'authorId':this['creator']['id'],'attributes':this['attributes']};}['destroy'](){this['stopListening']();}}function toEventName(_0x3a06ea,..._0x237ce0){for(const _0x485e41 of _0x237ce0)void 0x0!==_0x485e41&&(_0x3a06ea+=':'+String(_0x485e41));return _0x3a06ea;}class AddCommentThreadCommand extends ckeditor5['Command']{constructor(_0x130d4e){super(_0x130d4e),this['set']('hasContent',!0x1);}['refresh'](){const _0x149ac3=this['editor']['model']['document']['selection'];this['isEnabled']=!0x0,this['hasContent']=!0x1;for(const _0x4ae3a0 of _0x149ac3['getRanges']())if(this['_hasContent'](_0x4ae3a0))return void(this['hasContent']=!0x0);}['execute']({threadId:_0xb853d5=ckeditor5['uid'](),ranges:_0x595761,comment:_0x17e064}={}){const _0x261c4b=this['editor']['model'],_0x8c5ab4=_0x595761??Array['from'](_0x261c4b['document']['selection']['getRanges']()),_0x586c7c=[];for(const _0x40d9b4 of _0x8c5ab4)this['_hasContent'](_0x40d9b4)&&_0x586c7c['push'](this['_trimToContent'](_0x40d9b4));if(!_0x586c7c['length'])throw new ckeditor5['CKEditorError']('addcommentthreadcommand-incorrect-ranges',null);_0x17e064&&this['_createCommentThread'](_0xb853d5,_0x17e064),this['_createMarkersFromRanges'](_0xb853d5,_0x586c7c,!!_0x17e064);}['_createMarkersFromRanges'](_0x1708fb,_0x769bf7,_0x42a1e5){this['editor']['model']['change'](_0x1328d4=>{for(const _0x286730 of _0x769bf7){const _0x1b51aa=ckeditor5['uid']()['substr'](0x1,0x5),_0xd57d8e='comment:'+_0x1708fb+':'+_0x1b51aa;_0x1328d4['addMarker'](_0xd57d8e,{'range':_0x286730,'usingOperation':_0x42a1e5,'affectsData':_0x42a1e5});}});}['_createCommentThread'](_0x1213bf,_0x5ea876){const _0x16cf84=this['editor']['plugins']['get']('CommentsRepository'),_0x232257=this['editor']['config']['get']('collaboration.channelId'),_0x2e93e8=this['editor']['plugins']['get']('Users')['me'];if(!_0x2e93e8)throw new ckeditor5['CKEditorError']('addcommentthreadcommand-user-not-found',null);_0x16cf84['addCommentThread']({'threadId':_0x1213bf,'channelId':_0x232257,'comments':[{'authorId':_0x2e93e8['id'],'content':_0x5ea876,'createdAt':new Date(),'attributes':{}}]});}['_hasContent'](_0x3c6be6){for(const _0x23992c of _0x3c6be6['getItems']())if(this['_itemIsContent'](_0x23992c))return!0x0;return!0x1;}['_itemIsContent'](_0x385e0){return _0x385e0['is']('$textProxy')||this['editor']['model']['schema']['isObject'](_0x385e0)&&!_0x385e0['is']('element','tableCell');}['_trimToContent'](_0x2abe99){const _0x32739f=_0x2e0776=>!this['_itemIsContent'](_0x2e0776['item']),_0x4bedc9=_0x2abe99['start']['getLastMatchingPosition'](_0x32739f),_0x1f65a2=_0x2abe99['end']['getLastMatchingPosition'](_0x32739f,{'direction':'backward'});return this['editor']['model']['createRange'](_0x4bedc9,_0x1f65a2);}}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(_0x2f6407){super(_0x2f6407),this['_dataCollectors']=new Set(),this['_editorAnnotations']=new Set();}['init'](){const _0xb05137=this['editor'],_0x5d2bc6=_0xb05137['model']['document']['selection'],_0xe670c2=_0x4313fa(()=>this['refreshSelectedViews'](),0xa);_0x5d2bc6['on']('change:range',(_0x53a2d1,_0x2ba4a5)=>{_0x2ba4a5['directChange']&&(_0xe670c2['cancel'](),this['refreshSelectedViews']());}),this['listenTo'](_0xb05137['editing']['view']['document'],'change:isFocused',(_0x3918fc,_0x4df12e,_0x35cb0b)=>{_0x35cb0b&&_0xe670c2();}),this['listenTo'](_0xb05137['ui']['focusTracker'],'change:isFocused',(_0x53b9d6,_0x3c565a,_0x40fe)=>{_0x40fe||this['fire']('blur',{'isAnnotationTracked':_0x4cba44=>this['_editorAnnotationsData']['has'](_0x4cba44['innerView'])});}),this['listenTo'](this['editor']['ui'],'update',()=>this['fire']('uiUpdate'));}['registerAnnotation'](_0x459a46){if(this['_editorAnnotations']['has'](_0x459a46['view']))return;this['_editorAnnotations']['add'](_0x459a46['view']),this['editor']['ui']['focusTracker']['add'](_0x459a46['view']['element']);const _0x118f84=this['editor']['plugins']['get'](Annotations);this['listenTo'](_0x118f84['collection'],'remove',(_0x38b548,_0x508637)=>{this['editor']['ui']['focusTracker']['remove'](_0x508637['view']['element']),this['_editorAnnotations']['delete'](_0x508637['view']);});}['hasDomSelection'](){return this['editor']['editing']['view']['hasDomSelection'];}['addSourceCollector'](_0x56beae){if('function'!=typeof _0x56beae)throw new ckeditor5['CKEditorError']('editorannotations-invalid-source-callback');this['_dataCollectors']['add'](_0x56beae);}['refreshSelectedViews'](){this['fire']('refresh');}['getOrderedSelectedAnnotations']({activeAnnotation:_0x5be614,annotations:_0x4c3a0b}){const _0x1c4f8e=[],_0x241fc4=this['editor']['model']['document']['selection'],_0x19ebe5=Array['from'](_0x241fc4['getRanges']());for(const [_0x722f0b,_0x530246]of this['_editorAnnotationsData']){const _0x1c2288=_0x570bda(_0x530246),_0xbaac2c=_0x4c3a0b['getByInnerView'](_0x722f0b);_0x1c2288&&_0xbaac2c&&_0x1c4f8e['push']({'annotation':_0xbaac2c,'range':_0x1c2288});}function _0x570bda(_0x34d25f){for(const _0x428f88 of _0x34d25f)for(const _0x4bc59d of _0x19ebe5)if(_0x428f88['containsRange'](_0x4bc59d,!_0x241fc4['isCollapsed']))return _0x428f88;return null;}return _0x1c4f8e['sort']((_0x193aba,_0xd06de7)=>{const _0x5a63ce=_0x193aba['range'],_0x39122c=_0xd06de7['range'];if(!_0x5a63ce['isEqual'](_0x39122c)){if(_0x5a63ce['containsRange'](_0x39122c,!0x0))return 0x1;if(_0x39122c['containsRange'](_0x5a63ce,!0x0))return-0x1;}return _0x193aba['annotation']==_0x5be614?-0x1:_0xd06de7['annotation']==_0x5be614?0x1:0x0;})['map'](_0x5d5356=>_0x5d5356['annotation']);}get['_editorAnnotationsData'](){const _0x53e816=new Map();for(const _0x180f8b of Array['from'](this['_dataCollectors']))for(const [_0x133e95,_0x5c32cb]of _0x180f8b())_0x53e816['set'](_0x133e95,_0x5c32cb);return _0x53e816;}}class CommentsRestrictedEditingMode extends ckeditor5['Plugin']{['afterInit'](){const _0x43564f=this['editor'];if(!_0x43564f['plugins']['has']('RestrictedEditingModeEditing'))return;_0x43564f['plugins']['get']('RestrictedEditingModeEditing')['enableCommand']('addCommentThread');}}class CommentsImportWord extends ckeditor5['Plugin']{constructor(_0x2b63e4){super(_0x2b63e4),this['editor']['config']['define']('importWord.formatting.comments','basic');}['afterInit'](){const _0x5b48f4=this['editor'],_0x2a10f5=_0x5b48f4['commands']['get']('importWord'),_0x2a174f=_0x5b48f4['plugins']['get'](_0x38ef77);_0x2a10f5&&(_0x2a10f5['on']('execute',(_0x4b38cb,[,_0x438c0e])=>{_0x438c0e['collaboration_features']={'comments':!0x0,'user_id':_0x2a174f['me']['id']};},{'priority':ckeditor5['priorities']['high']+0xa}),this['listenTo'](_0x2a10f5,'dataInsert',this['_handleImportedData']));}['_handleImportedData'](_0xee2602,_0x53dc81){const {comment_threads:_0x366a68}=_0x53dc81;_0x366a68&&_0x366a68['forEach'](({thread_id:_0x3b21ab,comments:_0x1c1408,is_resolved:_0x4cd490})=>{const _0x4a6e3c=new Date(),_0x4f11f1=_0x1c1408['map'](({author:_0x3a02f7,content:_0x42d050,created_at:_0x1e4207})=>({'content':_0x42d050,'authorId':this['editor']['plugins']['get'](_0x38ef77)['me']['id'],'createdAt':_0x4a6e3c,'attributes':{'@external':{'authorName':_0x3a02f7,'createdAt':_0x1e4207?new Date(_0x1e4207):new Date(),'source':'importWord'}}})),_0x237a2a=this['editor']['config']['get']('collaboration.channelId');this['editor']['plugins']['get'](CommentsRepository)['addCommentThread']({'channelId':_0x237a2a,'threadId':_0x3b21ab,'comments':_0x4f11f1,'resolvedAt':_0x4cd490?_0x4a6e3c:null});});}}class CommentsClipboard extends ckeditor5['Plugin']{constructor(_0x22df88){super(_0x22df88),this['editor']['config']['define']('comments.copyMarkers','default');}static get['requires'](){return[ckeditor5['ClipboardMarkersUtils'],ckeditor5['ClipboardPipeline']];}['afterInit'](){const _0x5cb475=this['editor']['plugins']['get']('ClipboardPipeline');this['_registerMarkerInClipboardPipeline'](),this['listenTo'](_0x5cb475,'contentInsertion',(_0x465890,_0x42a26a)=>this['_removeMarkersWithoutThreads'](_0x42a26a['content']['markers']),{'priority':'highest'});}['_removeMarkersWithoutThreads'](_0x13c424){if(!this['editor']['plugins']['has']('CommentsRepository'))return _0x13c424;const _0x21951f=this['editor']['plugins']['get']('CommentsRepository');for(const _0x2a24e9 of _0x13c424['keys']()){const [_0x3f46ae,_0x124947]=_0x2a24e9['split'](':');'comment'!=_0x3f46ae||_0x21951f['hasCommentThread'](_0x124947)||_0x13c424['delete'](_0x2a24e9);}return _0x13c424;}['_registerMarkerInClipboardPipeline'](){const _0x25d29b=this['editor']['plugins']['get']('ClipboardMarkersUtils'),_0x101e54=this['_mapCommentsCopyConfigToRegisterConfiguration'](this['editor']['config']['get']('comments.copyMarkers'));_0x101e54&&_0x25d29b['_registerMarkerToCopy']('comment',_0x101e54);}['_mapCommentsCopyConfigToRegisterConfiguration'](_0x34633e){switch(_0x34633e){case'always':return{'allowedActions':'all','copyPartiallySelected':!0x1,'duplicateOnPaste':!0x0};case'default':return{'allowedActions':['cut','dragstart'],'copyPartiallySelected':!0x1,'duplicateOnPaste':!0x1};default:return null;}}}function splitMarkerName(_0x4cb111){const _0x3e4059=_0x4cb111['split'](':');return{'group':_0x3e4059[0x0],'id':_0x3e4059[0x1],'part':_0x3e4059[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':(_0x245b0a,_0x5c8bb6)=>{if(!_0x5c8bb6['options']['showCommentHighlights'])return null;if(_0x5c8bb6['options']['ignoreResolvedComments']){const {id:_0x2e3580}=splitMarkerName(_0x245b0a['markerName']),_0x40f23f=this['editor']['plugins']['get'](CommentsRepository);if(_0x40f23f['getCommentThread'](_0x2e3580)?.['isResolved']&&_0x245b0a['item'])return _0x5c8bb6['consumable']['consume'](_0x245b0a['item'],'addMarker:'+_0x245b0a['markerName']),_0x5c8bb6['consumable']['consume'](_0x245b0a['item'],'removeMarker:'+_0x245b0a['markerName']),null;}return{'classes':['ck-comment-marker']};}}),this['editor']['conversion']['for']('dataDowncast')['add'](_0x2508ad=>{_0x2508ad['on']('addMarker:comment',(_0x114b65,_0x940e93,_0x30ead4)=>{if(!_0x30ead4['options']['showCommentHighlights'])return;const _0x5f4d91=_0x940e93['item'];if(!_0x5f4d91)return;const _0xbbbf4b=_0x30ead4['mapper']['toViewElement'](_0x5f4d91);this['editor']['model']['schema']['isObject'](_0x5f4d91)&&_0xbbbf4b&&!_0xbbbf4b['getCustomProperty']('widget')&&_0xbbbf4b['is']('containerElement')&&ckeditor5['toWidget'](_0xbbbf4b,_0x30ead4['writer']);},{'priority':'high'});});}['overrideHorizontalRuleConverter'](){this['editor']['conversion']['for']('dataDowncast')['elementToStructure']({'model':'horizontalLine','view':(_0xf766ee,{writer:_0x2685b1,options:_0x447146})=>{if(!_0x447146['showCommentHighlights'])return null;const _0x195454=_0x2685b1['createContainerElement']('div'),_0x44f24e=_0x2685b1['createEmptyElement']('hr');return _0x2685b1['addClass']('ck-horizontal-line',_0x195454),_0x2685b1['insert'](_0x2685b1['createPositionAt'](_0x195454,0x0),_0x44f24e),_0x195454;},'converterPriority':'high'});}['overrideImageInlineConverter'](){this['editor']['conversion']['for']('dataDowncast')['elementToStructure']({'model':'imageInline','view':(_0x229107,{writer:_0x255f4c,options:_0x15074a})=>{if(!_0x15074a['showCommentHighlights'])return null;const _0x3af958=_0x255f4c['createContainerElement']('span'),_0x1da005=_0x255f4c['createEmptyElement']('img');return _0x255f4c['addClass']('image-inline',_0x3af958),_0x255f4c['insert'](_0x255f4c['createPositionAt'](_0x3af958,0x0),_0x1da005),_0x3af958;},'converterPriority':'high'});}['overrideMediaEmbedConverter'](){this['editor']['conversion']['for']('dataDowncast')['elementToElement']({'model':'media','view':(_0x36fda0,{writer:_0x2deeef,options:_0x351c4b})=>{if(_0x351c4b['showCommentHighlights'])return _0x2deeef['createEmptyElement']('div');},'converterPriority':'high'}),this['editor']['data']['downcastDispatcher']['on']('attribute:url:media',(_0x3d2821,_0x11bf6c,_0x2e12d3)=>{_0x2e12d3['options']['showCommentHighlights']&&_0x3d2821['stop']();},{'priority':'high'});}}const _0x180374=0x96;class CommentsEditing extends ckeditor5['Plugin']{static get['requires'](){return[CommentsRepository,EditorAnnotations,_0x38ef77,CommentsRestrictedEditingMode,CommentsImportWord,CommentsClipboard,ShowCommentHighlights];}static get['pluginName'](){return'CommentsEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x2c8533){super(_0x2c8533),this['set']('isThreadsLoadingPaused',!0x0),_0x2c8533['data']['once']('ready',()=>this['isThreadsLoadingPaused']=!0x1),this['set']('activeMarker',null),this['on']('change:activeMarker',(_0x228603,_0x56039f,_0xb25e9e,_0x24de25)=>{const _0x949dac=_0x2c8533['plugins']['get'](CommentsRepository),_0x8c6c66=_0xb25e9e?splitMarkerName(_0xb25e9e)['id']:null;_0x2c8533['model']['change'](()=>{if(_0x8c6c66){const _0x58b082=this['getAllMarkersForId'](_0x8c6c66);for(const _0x1b2c3d of _0x58b082)_0x2c8533['editing']['reconvertMarker'](_0x1b2c3d);}if(_0x24de25){const {id:_0x1d1e63}=splitMarkerName(_0x24de25),_0x3a2184=_0x949dac['getCommentThread'](_0x1d1e63);if(_0x3a2184&&_0x3a2184['unlinkedAt'])return;if(_0x3a2184&&!_0x3a2184['isAttached'])return;const _0x389767=this['getAllMarkersForId'](_0x1d1e63);for(const _0x4bb97a of _0x389767)_0x2c8533['editing']['reconvertMarker'](_0x4bb97a);}}),_0x8c6c66&&this['scrollToThreadMarker'](_0x8c6c66);}),this['_initAriaMarkerChangeAnnouncements']();}['init'](){const _0xd4e18d=this['editor'],_0x1790f2=_0xd4e18d['plugins']['get'](CommentsRepository),_0xf40878=_0xd4e18d['config']['get']('collaboration.channelId'),_0x5c00cb=_0x1790f2['getCommentThreads']()['filter'](_0x247a15=>_0x247a15['channelId']!==_0xf40878);_0xd4e18d['commands']['add']('addCommentThread',new AddCommentThreadCommand(_0xd4e18d)),this['listenTo'](_0xd4e18d,'change:isReadOnly',(_0x4bd4fb,_0x21968c,_0x4d77c0)=>{_0x1790f2['switchReadOnly'](_0x4d77c0,_0xd4e18d['config']['get']('collaboration.channelId'));}),this['listenTo'](_0x1790f2,createChannelEvent('addCommentThread',_0xf40878),(_0x1198c2,{threadId:_0x37b88e})=>{const _0x5db263=this['editor']['plugins']['get'](CommentsRepository)['getCommentThread'](_0x37b88e);_0x5db263?.['unlinkedAt']&&this['_attachArchivedThread'](_0x37b88e);}),this['listenTo'](_0x1790f2,createChannelEvent('removeCommentThread',_0xf40878),(_0x25ed77,{threadId:_0x187eb9})=>{_0xd4e18d['model']['enqueueChange']({'isUndoable':!0x1},_0x481b24=>{const _0x8068c9=this['getAllMarkersForId'](_0x187eb9);for(const _0x17f627 of _0x8068c9)_0x481b24['removeMarker'](_0x17f627);});}),this['listenTo'](_0x1790f2,createChannelEvent('resolveCommentThread',_0xf40878),(_0xc41b07,{threadId:_0x1bae5a})=>{(this['_reconvertMarkers'](_0x1bae5a),this['editor']['editing']['view']['hasDomSelection'])&&(this['editor']['plugins']['get'](CommentsRepository)['getCommentThread'](_0x1bae5a)['unlinkedAt']||this['editor']['editing']['view']['focus']());},{'priority':'low'}),this['listenTo'](_0x1790f2,createChannelEvent('reopenCommentThread',_0xf40878),(_0x1f487e,{threadId:_0x2b3d74})=>{this['_reconvertMarkers'](_0x2b3d74);},{'priority':'low'}),this['listenTo'](_0x1790f2,createChannelEvent('addComment',_0xf40878),(_0x513561,{threadId:_0x49cbc0,isFromAdapter:_0x487590})=>{const _0x47841b=this['getAllMarkersForId'](_0x49cbc0);if(_0x487590||0x0==_0x47841b['length']||!_0x1790f2['hasCommentThread'](_0x49cbc0))return;0x1===_0x1790f2['getCommentThread'](_0x49cbc0)['length']&&_0xd4e18d['model']['enqueueChange']({'isUndoable':!0x1},_0x36cc05=>{for(const _0x2a7c85 of _0x47841b)_0x36cc05['updateMarker'](_0x2a7c85,{'usingOperation':!0x0,'affectsData':!0x0});});},{'priority':'low'}),this['_initializeMarkerConverters'](),this['_handleMarkerAddAndRemove'](),this['_handleInitialThreads'](_0x5c00cb);}['afterInit'](){_0x284ae6(this);}['destroy'](){const _0x4c4e30=this['editor']['plugins']['get'](CommentsRepository),_0x24066f=this['editor']['config']['get']('collaboration.channelId');for(const _0x14e82f of _0x4c4e30['getCommentThreads']({'channelId':_0x24066f}))_0x4c4e30['_detachCommentThread'](_0x14e82f['id']),_0x4c4e30['_threads']['delete'](_0x14e82f['id']);super['destroy']();}['hasMarkerForId'](_0x174a8e){return this['getAllMarkersForId'](_0x174a8e)['length']>0x0;}['getAllMarkersForId'](_0x4436cf){const _0x3cd723=[];for(const _0xb55b7b of this['editor']['model']['markers'])_0xb55b7b['name']['startsWith']('comment:'+_0x4436cf)&&_0x3cd723['push'](_0xb55b7b);return _0x3cd723;}['scrollToThreadMarker'](_0x24823e){setTimeout(()=>{const _0x4f8758=this['_getTargetForId'](_0x24823e);if(!_0x4f8758)return;this['activeMarker']&&splitMarkerName(this['activeMarker'])['id']===_0x24823e&&ckeditor5['scrollViewportToShowTarget']({'target':_0x4f8758[0x0],'viewportOffset':0x64,'alignToTop':!0x0});},0x32);}['_reconvertMarkers'](_0x14a164){this['editor']['model']['change'](()=>{for(const _0xc2d5a9 of this['getAllMarkersForId'](_0x14a164))this['editor']['editing']['reconvertMarker'](_0xc2d5a9);});}['_attachArchivedThread'](_0x4d2f68){const _0x545a83=this['editor']['plugins']['get'](CommentsRepository),_0x38deaa=this['editor']['plugins']['get'](EditorAnnotations),_0x3f3287=_0x545a83['getCommentThread'](_0x4d2f68);if(!_0x3f3287['isAttached']){const _0x506c49=_0x3f3287['attachTo'](()=>this['_getTargetForId'](_0x3f3287['id']));_0x38deaa['registerAnnotation'](_0x506c49),_0x3f3287['_hasTargetInContent']=!0x1;}}['_initializeMarkerConverters'](){const _0x4ac319=this['editor'],_0x2ae20e=_0x4ac319['plugins']['get'](_0x38ef77);_0x4ac319['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'comment','view':(_0x580bdf,_0x467591)=>{const {id:_0x2d9801}=splitMarkerName(_0x580bdf['markerName']),_0x4cda12=_0x4ac319['plugins']['get'](CommentsRepository)['getCommentThread'](_0x2d9801),_0x50f092=this['activeMarker']&&splitMarkerName(this['activeMarker'])['id']===_0x2d9801;let _0x1e448c;if(_0x4cda12&&_0x4cda12['isResolved']&&!_0x50f092&&_0x580bdf['item'])return _0x467591['consumable']['consume'](_0x580bdf['item'],'addMarker:'+_0x580bdf['markerName']),_0x467591['consumable']['consume'](_0x580bdf['item'],'removeMarker:'+_0x580bdf['markerName']),null;const _0x29d111=['ck-comment-marker'];return _0x50f092&&_0x29d111['push']('ck-comment-marker--active'),_0x1e448c=_0x4cda12?.['length']?_0x4cda12['comments']['first']['author']['id']:_0x2ae20e['me']['id'],{'classes':_0x29d111,'attributes':{'data-comment':_0x2d9801,'data-author-id':_0x1e448c}};}}),_0x4ac319['conversion']['for']('dataDowncast')['markerToData']({'model':'comment','view':(_0x441441,{options:_0x276359})=>{if(_0x276359['showCommentHighlights'])return null;const _0x140032=_0x4ac319['plugins']['get'](CommentsRepository),_0x450414=_0x4ac319['model']['markers']['get'](_0x441441),{id:_0x5dfb02,part:_0x339439}=splitMarkerName(_0x441441);return _0x450414&&!_0x450414['affectsData']||_0x276359['ignoreResolvedComments']&&_0x140032['getCommentThread'](_0x5dfb02)?.['isResolved']?null:{'group':'comment','name':_0x339439?_0x5dfb02+':'+_0x339439:_0x5dfb02};}}),_0x4ac319['conversion']['for']('upcast')['elementToElement']({'view':{'name':'comment','attributes':{'id':/^\w/}},'model':(_0xf07063,{writer:_0x2dd70d})=>_0x2dd70d['createElement']('$marker',{'data-name':'comment:'+_0xf07063['getAttribute']('id')})}),_0x4ac319['conversion']['for']('upcast')['dataToMarker']({'view':'comment'});}['_handleMarkerAddAndRemove'](){const _0x591222=this['editor'],_0x155830=_0x591222['plugins']['get'](CommentsRepository),_0xda2a34=new Set(),_0x22c670=new Set();_0x591222['model']['document']['registerPostFixer'](_0x42b3ac=>{let _0x10cc00=!0x1;for(const {name:_0x42a5b0,data:_0xcd9e67}of _0x591222['model']['document']['differ']['getChangedMarkers']()){const {group:_0x345f4f,id:_0x4b1986}=splitMarkerName(_0x42a5b0);let _0x2ab7c3=_0xcd9e67['newRange'];if('comment'!==_0x345f4f||!_0x2ab7c3)continue;const _0x33a152='$graveyard'===_0x2ab7c3['root']['rootName'];_0x33a152||(_0x2ab7c3=_0x4974c8(_0x2ab7c3,_0x591222['model']),!_0x2ab7c3||_0x2ab7c3['isCollapsed']||!_0xcd9e67['newRange']||_0x2ab7c3['isEqual'](_0xcd9e67['newRange']))?_0x591222['model']['hasContent'](_0x2ab7c3)&&!_0x33a152?this['isThreadsLoadingPaused']?_0xda2a34['add'](_0x42a5b0):this['_handleThreadMarker'](_0x42a5b0,_0x4b1986):(_0x22c670['add'](_0x42a5b0),_0xda2a34['delete'](_0x42a5b0),_0x42b3ac['removeMarker'](_0x42a5b0),_0x10cc00=!0x0):(_0x42b3ac['updateMarker'](_0x42a5b0,{'range':_0x2ab7c3}),_0x10cc00=!0x0);}return _0x10cc00;}),this['on']('change:isThreadsLoadingPaused',(_0x435755,_0x55500c,_0x20df99)=>{if(!_0x20df99&&_0xda2a34['size'])for(const _0x243938 of _0xda2a34){const {id:_0x446f7e}=splitMarkerName(_0x243938);_0xda2a34['delete'](_0x243938),_0x591222['model']['markers']['get'](_0x243938)&&this['_handleThreadMarker'](_0x243938,_0x446f7e);}}),this['listenTo'](_0x591222['model']['document'],'change',()=>{for(const {name:_0x1de8ca,data:{newRange:_0x125201}}of _0x591222['model']['document']['differ']['getChangedMarkers']()){const {group:_0xddb083,id:_0xdb4018}=splitMarkerName(_0x1de8ca);if('comment'!==_0xddb083)continue;const _0x38800e=_0x155830['getCommentThread'](_0xdb4018),_0x4612a4=this['hasMarkerForId'](_0xdb4018);_0x38800e&&(!_0x38800e['_hasTargetInContent']&&_0x125201&&_0x591222['editing']['view']['once']('render',()=>{const _0x947148=_0x591222['plugins']['get'](Annotations),_0x55f9ab=_0x155830['_threadToController']['get'](_0x38800e)['view'];_0x947148['getByInnerView'](_0x55f9ab)['refreshVisibility']();},{'priority':'low'}),_0x38800e['_hasTargetInContent']=_0x4612a4||!!_0x125201),_0x125201||(_0x22c670['add'](_0x1de8ca),_0xda2a34['delete'](_0x1de8ca));}for(const _0x4d6326 of _0x22c670){const {id:_0x232367}=splitMarkerName(_0x4d6326),_0x2686f0=_0x155830['getCommentThread'](_0x232367);if(_0xda2a34['delete'](_0x4d6326),!_0x2686f0)continue;const _0xfe9102=this['hasMarkerForId'](_0x232367);_0xfe9102||_0x2686f0['isSubmitted']?_0xfe9102||_0x2686f0['unlinkedAt']||_0x2686f0['setUnlinkedAt'](new Date()):_0x2686f0['remove']();}_0x22c670['clear']();});}['_handleInitialThreads'](_0x2cefa0){_0x2cefa0['forEach'](_0x36340a=>{_0x36340a['unlinkedAt']&&this['_attachArchivedThread'](_0x36340a['id']);});}['_getTargetForId'](_0x4e878d){const _0x48ca42=this['editor'],_0x33b639=this['getAllMarkersForId'](_0x4e878d);return getAllMarkersDomElementsSorted(_0x48ca42['editing'],_0x33b639);}['_getTextContext'](_0x4b1e85){const _0x254e42=this['getAllMarkersForId'](_0x4b1e85);let _0x49ab45='',_0x55063e=!0x1;for(const _0x407e6a of _0x254e42){const _0x37bbf3=_0x407e6a['getRange']();for(const _0x3ba966 of Array['from'](_0x37bbf3['getItems']()))_0x3ba966['is']('$textProxy')?(_0x49ab45&&_0x55063e&&(_0x49ab45+='\x20',_0x55063e=!0x1),_0x49ab45+=_0x3ba966['data']):_0x55063e=!0x0;_0x55063e=!0x0;}return _0x49ab45['substring'](0x0,_0x180374);}['_attachMarkerToThread'](_0x40ed44,_0x557fdc){const _0x9e884f=this['editor'],_0x26b15b=_0x9e884f['plugins']['get'](CommentsRepository);let _0x37e230=_0x26b15b['getCommentThread'](_0x557fdc);const _0x171e8b=_0x9e884f['config']['get']('collaboration.channelId'),_0x5c2db5=_0x9e884f['plugins']['get'](EditorAnnotations);if(_0x37e230&&(_0x37e230['unlinkedAt']&&_0x37e230['setUnlinkedAt'](null),_0x37e230['isAttached']))return _0x37e230;return!this['getAllMarkersForId'](_0x557fdc)[0x0]['managedUsingOperations']?_0x9e884f['editing']['view']['once']('render',()=>{if(_0x26b15b['getCommentThread'](_0x557fdc))return;const _0x42bf8f=_0x9e884f['plugins']['get'](Annotations);_0x37e230=_0x26b15b['openNewCommentThread']({'channelId':_0x171e8b,'threadId':_0x557fdc,'target':()=>this['_getTargetForId'](_0x557fdc),'context':{'type':'text','value':this['_getTextContext'](_0x557fdc)}});const _0x35a4bd=_0x26b15b['_threadToController']['get'](_0x37e230)['view'],_0xcb27a1=_0x42bf8f['getByInnerView'](_0x35a4bd);_0xcb27a1&&_0x5c2db5['registerAnnotation'](_0xcb27a1);},{'priority':'low'}):_0x26b15b['fetchCommentThread']({'channelId':_0x171e8b,'threadId':_0x557fdc})['then'](_0x11e03c=>{if('destroyed'!==_0x9e884f['state']){if(_0x37e230=_0x11e03c,_0x37e230&&!_0x37e230['isAttached']){const _0x2d8c75=_0x37e230['attachTo'](()=>this['_getTargetForId'](_0x557fdc));_0x5c2db5['registerAnnotation'](_0x2d8c75),_0x37e230['isResolved']&&this['_reconvertMarkers'](_0x557fdc);}else{if(!_0x37e230){const _0x52393f=this['getAllMarkersForId'](_0x557fdc);_0x9e884f['model']['change'](_0x1195c7=>{for(const _0x487413 of _0x52393f)_0x1195c7['removeMarker'](_0x487413);});}}}}),_0x37e230;}['_handleThreadMarker'](_0x26c8b2,_0x4247f9){const _0x17fc9e=this['_attachMarkerToThread'](_0x26c8b2,_0x4247f9);_0x17fc9e&&!_0x17fc9e['context']&&_0x17fc9e['setContext']({'type':'text','value':this['_getTextContext'](_0x4247f9)});}['_initAriaMarkerChangeAnnouncements'](){const _0x3ec461=this['editor'];surroundingMarkersDetector(_0x3ec461['model'],({left:_0x4c8b22,entered:_0x35bed8})=>{for(const _0x7d768a of _0x4c8b22)if(isCommentMarker(_0x7d768a)){_0x3ec461['ui']['ariaLiveAnnouncer']['announce'](getTranslation$f(_0x3ec461['locale'],'LEAVE_COMMENT_ANNOUNCEMENT'));break;}for(const _0x5c252f of _0x35bed8)if(isCommentMarker(_0x5c252f)){_0x3ec461['ui']['ariaLiveAnnouncer']['announce'](getTranslation$f(_0x3ec461['locale'],'ENTER_COMMENT_ANNOUNCEMENT',ckeditor5['getEnvKeystrokeText'](_0x33435d)));break;}});}}function createChannelEvent(_0x2c56dc,_0x43ed42){return _0x43ed42?_0x2c56dc+':'+_0x43ed42:_0x2c56dc;}function _0x4974c8(_0x4faaac,_0x5f358f){const _0x44e356=_0x5f358f['schema'],_0x40b16a=_0x5f358f['createRange'](_0x4faaac['start']);for(const _0x42abc4 of _0x4faaac['getWalker']()){const {type:_0x58b2c0,item:_0x36654c,nextPosition:_0x43935f}=_0x42abc4;if('text'===_0x58b2c0||_0x44e356['isObject'](_0x36654c)){const _0x4f5627=_0x5f358f['createPositionBefore'](_0x36654c);_0x40b16a['isCollapsed']&&(_0x40b16a['start']=_0x4f5627),_0x40b16a['end']=_0x43935f;}}return _0x40b16a;}function isCommentMarker(_0x54bb6e){return'comment'===splitMarkerName(_0x54bb6e['name'])['group'];}async function _0x284ae6(_0x29cc0c){const _0x32a04b=_0x34cea9([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]),_0x42642f=window[_0x34cea9([0x44,0x61,0x74,0x65])][_0x34cea9([0x6e,0x6f,0x77])](),_0x4f8866=_0x29cc0c[_0x34cea9([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x316bd6=new window[(_0x34cea9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x46a913=>{_0x4f8866[_0x34cea9([0x6f,0x6e,0x63,0x65])](_0x34cea9([0x72,0x65,0x61,0x64,0x79]),_0x46a913);}),_0x3fa355={[_0x34cea9([0x6b,0x74,0x79])]:_0x34cea9([0x45,0x43]),[_0x34cea9([0x75,0x73,0x65])]:_0x34cea9([0x73,0x69,0x67]),[_0x34cea9([0x63,0x72,0x76])]:_0x34cea9([0x50,0x2d,0x32,0x35,0x36]),[_0x34cea9([0x78])]:_0x34cea9([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]),[_0x34cea9([0x79])]:_0x34cea9([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]),[_0x34cea9([0x61,0x6c,0x67])]:_0x34cea9([0x45,0x53,0x32,0x35,0x36])},_0x3046b6=_0x4f8866[_0x34cea9([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x34cea9([0x67,0x65,0x74])](_0x34cea9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x2dc5fe=await(async function(){let _0x22a9bb,_0x1f56ca=null,_0x4da324=null;try{if(_0x3046b6==_0x34cea9([0x47,0x50,0x4c]))return _0x34cea9([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x22a9bb=(function(){const _0x30aaf6=_0x3046b6[_0x34cea9([0x73,0x70,0x6c,0x69,0x74])](_0x34cea9([0x2e]));if(0x3!=_0x30aaf6[_0x34cea9([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;const _0x3b26be=_0x30aaf6[0x1];return _0x33ad81(_0x3b26be);function _0x33ad81(_0x5abfaf){const _0x4a2eb4=_0x23f6f8(_0x5abfaf);return _0x4a2eb4&&_0x13158f()?_0x4a2eb4:null;function _0x13158f(){const _0x39b128=_0x4a2eb4[_0x34cea9([0x6a,0x74,0x69])],_0x47b6d5=window[_0x34cea9([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x39b128[_0x34cea9([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x39b128[_0x34cea9([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x229e0c={..._0x4a2eb4,[_0x34cea9([0x6a,0x74,0x69])]:_0x39b128[_0x34cea9([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x39b128[_0x34cea9([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x229e0c[_0x34cea9([0x76,0x63])],_0x2439ee(_0x229e0c)==_0x47b6d5;}}}()),!_0x22a9bb)return _0x34cea9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);_0x22a9bb[_0x34cea9([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x4da324=function(_0xb02c51,_0x16a4b6){return new window[(_0x34cea9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5190b9=>{if(_0x44ee7f())return _0x5190b9(_0x34cea9([0x56,0x61,0x6c,0x69,0x64]));_0x3e3c44(),_0x4f8866[_0x34cea9([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x34cea9([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x27c5f2=!0x1;const _0x2ab26b=ckeditor5['uid']();function _0x379875(_0x1c13f6){return!!_0x1c13f6&&(typeof _0x1c13f6===_0x34cea9([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x1c13f6===_0x34cea9([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x1c13f6[_0x34cea9([0x74,0x68,0x65,0x6e])]===_0x34cea9([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x1c13f6[_0x34cea9([0x63,0x61,0x74,0x63,0x68])]===_0x34cea9([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x3c6cae(_0x378fa2){_0x3e4fb8(_0x378fa2)[_0x34cea9([0x74,0x68,0x65,0x6e])](_0x27bb42=>{if(!_0x27bb42||_0x27bb42[_0x34cea9([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x34cea9([0x6f,0x6b]))return _0x34cea9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x5ab8d6(_0x2439ee(_0x2ab26b+_0x16a4b6))!=_0x27bb42[_0x34cea9([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x34cea9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x34cea9([0x56,0x61,0x6c,0x69,0x64]);})[_0x34cea9([0x74,0x68,0x65,0x6e])](_0x50cba2=>(_0x4f1dfe(),_0x50cba2),()=>{const _0x3bd0f1=_0x219150();return null==_0x3bd0f1?(_0x4f1dfe(),_0x34cea9([0x56,0x61,0x6c,0x69,0x64])):_0x34cea9(_0x42642f-_0x3bd0f1>0x240c8400?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x34cea9([0x74,0x68,0x65,0x6e])](_0x5190b9)[_0x34cea9([0x63,0x61,0x74,0x63,0x68])](()=>{_0x5190b9(_0x34cea9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x122c6e=0x36ee80;function _0x4f1dfe(){const _0x113f90=_0x34cea9([0x6c,0x6c,0x63,0x74,0x2d])+_0x5ab8d6(_0x2439ee(_0xb02c51)),_0xe61b07=_0x5215f5(_0x5ab8d6(window[_0x34cea9([0x4d,0x61,0x74,0x68])][_0x34cea9([0x63,0x65,0x69,0x6c])](_0x42642f/_0x122c6e)));window[_0x34cea9([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x34cea9([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x113f90,_0xe61b07);}function _0x219150(){const _0x43cf5d=_0x34cea9([0x6c,0x6c,0x63,0x74,0x2d])+_0x5ab8d6(_0x2439ee(_0xb02c51)),_0x144635=window[_0x34cea9([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x34cea9([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x43cf5d);return _0x144635?window[_0x34cea9([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5215f5(_0x144635),0x10)*_0x122c6e:null;}function _0x3e4fb8(_0x13c14a){return new window[(_0x34cea9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x579487,_0xa90fdb)=>{_0x13c14a[_0x34cea9([0x74,0x68,0x65,0x6e])](_0x579487,_0xa90fdb),window[_0x34cea9([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0xa90fdb,0x1d4c0);});}}_0x4f8866[_0x34cea9([0x6f,0x6e])](_0x34cea9([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x542943,_0x494fbb)=>{if(_0x494fbb[0x0]!=_0xb02c51)return _0x5190b9(_0x34cea9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x494fbb[0x1]={..._0x494fbb[0x1],[_0x34cea9([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x2ab26b};},{[_0x34cea9([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x34cea9([0x68,0x69,0x67,0x68])}),_0x4f8866[_0x34cea9([0x6f,0x6e])](_0x34cea9([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x40694b=>{_0x379875(_0x40694b[_0x34cea9([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x27c5f2=!0x0,_0x3c6cae(_0x40694b[_0x34cea9([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x34cea9([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x34cea9([0x6c,0x6f,0x77])}),_0x316bd6[_0x34cea9([0x74,0x68,0x65,0x6e])](()=>{_0x27c5f2||_0x5190b9(_0x34cea9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x44ee7f(){return _0x4f8866[_0x34cea9([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x34cea9([0x76,0x69,0x65,0x77])][_0x34cea9([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x34cea9([0x61,0x75,0x74,0x6f]);}function _0x3e3c44(){_0x4f8866[_0x34cea9([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x34cea9([0x76,0x69,0x65,0x77])][_0x34cea9([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x34cea9([0x61,0x75,0x74,0x6f]);}}(_0x22a9bb[_0x34cea9([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x22a9bb[_0x34cea9([0x6a,0x74,0x69])]));const _0x3d918b=await(async function(){let _0x2e3bd6=!0x0;try{const _0x54615d=_0x3046b6[_0x34cea9([0x73,0x70,0x6c,0x69,0x74])](_0x34cea9([0x2e])),[_0x5c57ae,_0x4d0d21,_0x4ec450]=_0x54615d;return _0x1837f1(_0x5c57ae),await _0x59200c(_0x5c57ae,_0x4d0d21,_0x4ec450),_0x2e3bd6;}catch{return!0x1;}function _0x1837f1(_0x1837c6){const _0x4b44f1=_0x23f6f8(_0x1837c6);_0x4b44f1&&_0x4b44f1[_0x34cea9([0x61,0x6c,0x67])]==_0x34cea9([0x45,0x53,0x32,0x35,0x36])||(_0x2e3bd6=!0x1);}async function _0x59200c(_0x422187,_0x3512c8,_0x4fce50){const _0x2dec03=window[_0x34cea9([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x34cea9([0x66,0x72,0x6f,0x6d])](_0x18bc60(_0x4fce50),_0x58a9c3=>_0x58a9c3[_0x34cea9([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x4890a4=new window[(_0x34cea9([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x34cea9([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x422187+_0x34cea9([0x2e])+_0x3512c8),_0x516526=window[_0x34cea9([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x34cea9([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x516526)return;const _0x448c6f=await _0x516526[_0x34cea9([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x34cea9([0x6a,0x77,0x6b]),_0x3fa355,{[_0x34cea9([0x6e,0x61,0x6d,0x65])]:_0x34cea9([0x45,0x43,0x44,0x53,0x41]),[_0x34cea9([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x34cea9([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x34cea9([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x516526[_0x34cea9([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x34cea9([0x6e,0x61,0x6d,0x65])]:_0x34cea9([0x45,0x43,0x44,0x53,0x41]),[_0x34cea9([0x68,0x61,0x73,0x68])]:{[_0x34cea9([0x6e,0x61,0x6d,0x65])]:_0x34cea9([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x448c6f,_0x2dec03,_0x4890a4)||(_0x2e3bd6=!0x1);}}());return _0x3d918b?(function(){const _0x2c8fa5=_0x22a9bb[_0x34cea9([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];if(!_0x2c8fa5)return!0x1;if(_0x2c8fa5[_0x34cea9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x34cea9([0x2a])))return!0x0;if(_0x2c8fa5[_0x34cea9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x34cea9([0x43,0x4d,0x54])))return!0x0;if(_0x2c8fa5[_0x34cea9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x34cea9([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))&&window[_0x34cea9([0x67,0x6c,0x6f,0x62])]&&window[_0x34cea9([0x67,0x6c,0x6f,0x62])][_0x34cea9([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])])return!0x0;if(_0x2c8fa5[_0x34cea9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x34cea9([0x52,0x43,0x4d,0x54]))){if(_0x6cb8ed(_0x34cea9([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&(_0x5c7d60=_0x34cea9([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]),_0x4f8866[_0x34cea9([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x34cea9([0x67,0x65,0x74])](_0x5c7d60))[_0x34cea9([0x73,0x74,0x61,0x74,0x65])]==_0x34cea9([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64]))return!0x0;if(_0x6cb8ed(_0x34cea9([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]))||_0x6cb8ed(_0x34cea9([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 _0x5c7d60;return!0x1;}())?(function(){const _0x1fb647=[_0x34cea9([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x34cea9([0x74,0x72,0x69,0x61,0x6c])][_0x34cea9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x22a9bb[_0x34cea9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x42642f/0x3e8:0x68f03580;return _0x22a9bb[_0x34cea9([0x65,0x78,0x70])]<_0x1fb647;}())?_0x34cea9([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):(function(){const _0x50bebe=_0x22a9bb[_0x34cea9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x50bebe||0x0==_0x50bebe[_0x34cea9([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x324a67}=new URL(window[_0x34cea9([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x50bebe[_0x34cea9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x324a67))return!0x0;const _0x1b313a=_0x324a67[_0x34cea9([0x73,0x70,0x6c,0x69,0x74])](_0x34cea9([0x2e]));return _0x50bebe[_0x34cea9([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1a903a=>_0x1a903a[_0x34cea9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x34cea9([0x2a])))[_0x34cea9([0x6d,0x61,0x70])](_0x4290f7=>_0x4290f7[_0x34cea9([0x73,0x70,0x6c,0x69,0x74])](_0x34cea9([0x2e])))[_0x34cea9([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3935f4=>_0x3935f4[_0x34cea9([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x1b313a[_0x34cea9([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x34cea9([0x6d,0x61,0x70])](_0x7fe5a1=>Array(_0x1b313a[_0x34cea9([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x7fe5a1[_0x34cea9([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x34cea9([0x66,0x69,0x6c,0x6c])](_0x7fe5a1[0x0]===_0x34cea9([0x2a])?_0x34cea9([0x2a]):'')[_0x34cea9([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x7fe5a1))[_0x34cea9([0x73,0x6f,0x6d,0x65])](_0x75bdd8=>_0x1b313a[_0x34cea9([0x65,0x76,0x65,0x72,0x79])]((_0xcae90c,_0x12452a)=>_0x75bdd8[_0x12452a]===_0xcae90c||_0x75bdd8[_0x12452a]===_0x34cea9([0x2a])));}())?(_0x22a9bb[_0x34cea9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x34cea9([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x1f56ca=_0xdda066(_0x34cea9([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x22a9bb[_0x34cea9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x34cea9([0x74,0x72,0x69,0x61,0x6c])&&(_0x1f56ca=_0xdda066(_0x34cea9([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await(function(){if(_0x1f56ca&&_0x4da324)return new window[(_0x34cea9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1c9684,_0x500c3f)=>{_0x1f56ca[_0x34cea9([0x74,0x68,0x65,0x6e])](_0x1c9684,_0x500c3f),_0x4da324[_0x34cea9([0x74,0x68,0x65,0x6e])](_0x16ee2d=>{_0x16ee2d!=_0x34cea9([0x56,0x61,0x6c,0x69,0x64])&&_0x1c9684(_0x16ee2d);},_0x500c3f);});return _0x1f56ca||_0x4da324||_0x34cea9([0x56,0x61,0x6c,0x69,0x64]);}())):_0x34cea9([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x34cea9([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x34cea9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x34cea9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}}());function _0xdda066(_0x3cdd89){const _0x3a7167=[new window[(_0x34cea9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1164ec=>setTimeout(_0x1164ec,0x93ecc)),_0x316bd6[_0x34cea9([0x74,0x68,0x65,0x6e])](()=>new window[(_0x34cea9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5da853=>{let _0x24d056=0x0;_0x4f8866[_0x34cea9([0x6d,0x6f,0x64,0x65,0x6c])][_0x34cea9([0x6f,0x6e])](_0x34cea9([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x38823c,_0x2d2766)=>{_0x2d2766[0x0][_0x34cea9([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x24d056++,0x1f8==_0x24d056&&(_0x5da853(),_0x38823c[_0x34cea9([0x6f,0x66,0x66])]());});}))];return window[_0x34cea9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x34cea9([0x72,0x61,0x63,0x65])](_0x3a7167)[_0x34cea9([0x74,0x68,0x65,0x6e])](()=>_0x3cdd89);}function _0x23f6f8(_0x4bdcd6){return _0x4bdcd6[_0x34cea9([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x34cea9([0x65,0x79]))?JSON[_0x34cea9([0x70,0x61,0x72,0x73,0x65])](_0x18bc60(_0x4bdcd6)):null;}function _0x18bc60(_0x4a2f93){return window[_0x34cea9([0x61,0x74,0x6f,0x62])](_0x4a2f93[_0x34cea9([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x34cea9([0x2b]))[_0x34cea9([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x34cea9([0x2f])));}function _0x2439ee(_0x2dd6c5){let _0x315dc8=0x1505;function _0x2fa46d(_0x400dce){for(let _0x2f45f3=0x0;_0x2f45f3<_0x400dce[_0x34cea9([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2f45f3++){const _0x4fdfb1=_0x400dce[_0x34cea9([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x2f45f3);_0x315dc8=(_0x315dc8<<0x5)+_0x315dc8+_0x4fdfb1,_0x315dc8&=_0x315dc8;}}return function _0x3f9827(_0xac84a7){Array[_0x34cea9([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0xac84a7)?_0xac84a7[_0x34cea9([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x3f9827):_0xac84a7&&typeof _0xac84a7==_0x34cea9([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x34cea9([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0xac84a7)[_0x34cea9([0x73,0x6f,0x72,0x74])]()[_0x34cea9([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x3a8480,_0x410863])=>{_0x2fa46d(_0x3a8480),_0x3f9827(_0x410863);}):_0x2fa46d(window[_0x34cea9([0x53,0x74,0x72,0x69,0x6e,0x67])](_0xac84a7));}(_0x2dd6c5),_0x315dc8>>>0x0;}function _0x5ab8d6(_0x10b684){return _0x10b684[_0x34cea9([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x34cea9([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x34cea9([0x30]));}function _0x5215f5(_0x4d9869){return _0x4d9869[_0x34cea9([0x73,0x70,0x6c,0x69,0x74])]('')[_0x34cea9([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x34cea9([0x6a,0x6f,0x69,0x6e])]('');}function _0x6cb8ed(_0x4719b1){return _0x4f8866[_0x34cea9([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x34cea9([0x68,0x61,0x73])](_0x4719b1);}function _0x1b105b(){}function _0x34cea9(_0x248803){return _0x248803['map'](_0x5463de=>String['fromCharCode'](_0x5463de))['join']('');}!function(_0x3a4cf9){const _0x330e7e=(function(){const _0x44fb35=window[_0x34cea9([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x34cea9([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x34cea9([0x6e,0x6f,0x77])]())[_0x34cea9([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x34cea9([0x2e]),'');let _0x2631d9=_0x34cea9([0x4b]);for(let _0x5827dc=0x0;_0x5827dc<_0x44fb35[_0x34cea9([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5827dc+=0x2){let _0xd591fd=window[_0x34cea9([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x44fb35[_0x34cea9([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5827dc,_0x5827dc+0x2));_0xd591fd>=_0x32a04b[_0x34cea9([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0xd591fd-=_0x32a04b[_0x34cea9([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x2631d9+=_0x32a04b[_0xd591fd];}return _0x2631d9;}());_0x4f8866[_0x330e7e]=_0x34cea9([0x63,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x3a4cf9,_0x3a4cf9!=_0x34cea9([0x56,0x61,0x6c,0x69,0x64])&&(async function(){await _0x316bd6,_0x4f8866[_0x34cea9([0x6d,0x6f,0x64,0x65,0x6c])][_0x34cea9([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x1b105b,_0x4f8866[_0x34cea9([0x6d,0x6f,0x64,0x65,0x6c])][_0x34cea9([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x1b105b,_0x4f8866[_0x34cea9([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x34cea9([0x6d,0x6f,0x64,0x65,0x6c]));}());}(_0x2dc5fe);}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 _0x2b676f=this['editor'],_0x473365=_0x2b676f['plugins']['get'](CommentsRepository),_0x227820=_0x2b676f['plugins']['get'](CommentsEditing),_0x34bb31=_0x2b676f['plugins']['get'](Annotations),_0x267d19=_0x2b676f['plugins']['get'](EditorAnnotations);_0x2b676f['ui']['componentFactory']['add']('comment',()=>{const _0x7b5b0e=this['_createUIButton'](ckeditor5['ButtonView']);return _0x7b5b0e['tooltip']=!0x0,_0x7b5b0e;}),_0x2b676f['ui']['componentFactory']['add']('menuBar:comment',()=>this['_createUIButton'](ckeditor5['MenuBarMenuListItemButtonView'])),_0x267d19['addSourceCollector'](()=>{const _0x493329=[];for(const [_0x45819d,_0x2737aa]of _0x473365['_threadToController']){const _0x1f4a49=_0x227820['getAllMarkersForId'](_0x45819d['id']),_0x36dad6=_0x1f4a49['map'](_0x4b9b3c=>_0x4b9b3c['getRange']());_0x1f4a49['length']>0x0&&_0x493329['push']([_0x2737aa['view'],_0x36dad6]);}return _0x493329;}),this['listenTo'](_0x34bb31,'change:activeAnnotations',(_0x5da72f,_0x46973c,_0x5aefad)=>{const _0x162363=Array['from'](_0x5aefad)['map'](_0x411bb2=>_0x411bb2['innerView'])['find'](_0x252b48=>_0x473365['_viewToController']['has'](_0x252b48));if(!_0x162363)return void(_0x227820['activeMarker']=null);const _0x2df546=_0x473365['_viewToController']['get'](_0x162363)['model']['id'],_0x33f84d='comment:'+_0x2df546;_0x2df546&&_0x227820['hasMarkerForId'](_0x2df546)?_0x227820['activeMarker']=_0x33f84d:_0x227820['activeMarker']&&(_0x227820['activeMarker']=null);}),this['listenTo'](_0x473365,'removeCommentThread',(_0x462863,{threadId:_0x3ea5fa,isFromAdapter:_0x44d959})=>{!_0x44d959&&_0x2b676f['ui']['focusTracker']['isFocused']&&_0x227820['hasMarkerForId'](_0x3ea5fa)&&_0x2b676f['editing']['view']['focus']();},{'priority':'highest'}),this['listenTo'](_0x473365,'addComment',(_0x3bcec8,{threadId:_0x4a06f3,isFromAdapter:_0x59e74a})=>{if(_0x59e74a||!_0x227820['hasMarkerForId'](_0x4a06f3)||!_0x473365['hasCommentThread'](_0x4a06f3))return;0x1===_0x473365['getCommentThread'](_0x4a06f3)['length']&&(_0x2b676f['editing']['view']['focus'](),_0x3bcec8['stop']());},{'priority':'low'}),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x47e9a8=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x139534;for(const _0x3d1a62 in _0x47e9a8){const _0x7a2bd8=_0x3d1a62,_0x26b399=_0x47e9a8[_0x7a2bd8];if('commentsLicenseKeyValid'==_0x26b399||'commentsLicenseKeyInvalid'==_0x26b399||'commentsLicenseKeyExpired'==_0x26b399||'commentsLicenseKeyDomainLimit'==_0x26b399||'commentsLicenseKeyNotAllowed'==_0x26b399||'commentsLicenseKeyEvaluationLimit'==_0x26b399||'commentsLicenseKeyTrialLimit'==_0x26b399||'commentsLicenseKeyUsageLimit'==_0x26b399){delete _0x47e9a8[_0x7a2bd8],_0x139534=_0x26b399,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'commentsLicenseKeyInvalid'==_0x139534&&_0x47e9a8['_showLicenseError']('invalid'),'commentsLicenseKeyExpired'==_0x139534&&_0x47e9a8['_showLicenseError']('expired'),'commentsLicenseKeyDomainLimit'==_0x139534&&_0x47e9a8['_showLicenseError']('domainLimit'),'commentsLicenseKeyNotAllowed'==_0x139534&&_0x47e9a8['_showLicenseError']('featureNotAllowed','Comments'),'commentsLicenseKeyEvaluationLimit'==_0x139534&&_0x47e9a8['_showLicenseError']('evaluationLimit'),'commentsLicenseKeyTrialLimit'==_0x139534&&_0x47e9a8['_showLicenseError']('trialLimit'),'commentsLicenseKeyUsageLimit'==_0x139534&&_0x47e9a8['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_createUIButton'](_0x33e22d){const _0x108d06=this['editor'],_0x329fca=new _0x33e22d(_0x108d06['locale']),_0x18f92a=_0x108d06['commands']['get']('addCommentThread');return _0x329fca['set']({'label':getTranslation$f(_0x108d06['locale'],'Comment'),'icon':ckeditor5['IconAddComment']}),_0x329fca['bind']('isEnabled')['to'](_0x18f92a,'hasContent'),this['listenTo'](_0x329fca,'execute',()=>{_0x18f92a['execute']();}),_0x329fca;}}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(_0x57d034){super(_0x57d034),this['set']('isEnabled',!0x1),this['on']('change:isEnabled',(_0x529fd3,_0x3da1fc,_0x3f663b)=>{_0x3f663b?this['_enableCommentsOnlyMode']():this['_disableCommentsOnlyMode']();});}['afterInit'](){!this['isEnabled']&&this['editor']['config']['get']('commentsOnly')&&(this['isEnabled']=!0x0);}['_enableCommentsOnlyMode'](){for(const [_0x2d2404,_0x3361f8]of this['editor']['commands'])_0x3361f8['affectsData']&&'addCommentThread'!==_0x2d2404&&_0x3361f8['forceDisabled']('commentsOnlyMode');(this['editor']['plugins']['has']('DragDrop')&&this['editor']['plugins']['get']('DragDrop')['forceDisabled']('commentsOnlyMode'),this['editor']['plugins']['has']('SourceEditing'))&&this['editor']['plugins']['get']('SourceEditing')['forceDisabled']('commentsOnlyMode');this['editor']['commands']['get']('editSource')?.['forceDisabled']('commentsOnlyMode');const _0x4c8590=this['editor']['editing']['view']['document'];this['listenTo'](_0x4c8590,'cut',_0x2b57ad=>_0x2b57ad['stop'](),{'priority':'highest'}),this['listenTo'](_0x4c8590,'clipboardInput',_0x404508=>_0x404508['stop'](),{'priority':'highest'}),this['listenTo'](_0x4c8590,'delete',_0x58d57e=>_0x58d57e['stop'](),{'priority':'highest'});}['_disableCommentsOnlyMode'](){for(const [_0x5f282c,_0x3a015c]of this['editor']['commands'])_0x3a015c['affectsData']&&'addCommentThread'!==_0x5f282c&&_0x3a015c['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(_0x5b21c4){super(_0x5b21c4),this['activeUIs']=new Set(),this['_uis']=new Map(),this['uisData']=new Map();}['init'](){const _0x24f53c=this['context']['plugins']['get'](Annotations);this['listenTo'](_0x24f53c,'_activateAnnotation',(_0x571913,_0x3e93ba)=>{for(const _0x3dea64 of this['activeUIs']){const _0x150166=this['_uis']['get'](_0x3dea64);(0x0,this['uisData']['get'](_0x3dea64)['filter'])(_0x3e93ba)&&_0x150166['setActiveAnnotation'](_0x3e93ba);}}),this['listenTo'](_0x24f53c,'_deactivateAllAnnotations',()=>{for(const _0xec6c32 of this['activeUIs']){this['_uis']['get'](_0xec6c32)['setActiveAnnotation'](null);}}),this['listenTo'](_0x24f53c['_visibleAnnotations'],'add',(_0x2ab8fd,_0xfb6d81)=>{this['_assertAnnotationDoesNotBelongToMultipleUIs'](_0xfb6d81);});}['hasActive'](){return this['activeUIs']['size']>0x0;}['isActive'](_0x34c9be){return this['activeUIs']['has'](_0x34c9be);}['activate'](_0x3a1a51,_0x546230=this['defaultFilter']){const _0x5d1125=this['context']['plugins']['get'](Annotations);if(!this['_uis']['has'](_0x3a1a51))throw new ckeditor5['CKEditorError']('annotationsuis-missing-ui',this,{'uiName':_0x3a1a51});this['isActive'](_0x3a1a51)&&this['deactivate'](_0x3a1a51),this['activeUIs']['add'](_0x3a1a51);const _0x16be9a=new AnnotationCollection();bindAnnotationCollections({'source':_0x5d1125['_visibleAnnotations'],'target':_0x16be9a,'filter':_0x546230}),this['uisData']['set'](_0x3a1a51,{'collection':_0x16be9a,'filter':_0x546230});const _0x303f20=this['_uis']['get'](_0x3a1a51);_0x303f20['attach'](_0x16be9a),this['listenTo'](_0x303f20,'change:activeAnnotation',(_0x4c2e99,_0x228c9b,_0x177364,_0x4824d9)=>{_0x4824d9&&_0x5d1125['_removeActiveAnnotation'](_0x4824d9),_0x177364&&_0x5d1125['_addActiveAnnotation'](_0x177364);});}['deactivate'](_0x19dede){if(this['activeUIs']['delete'](_0x19dede),!this['_uis']['has'](_0x19dede))throw new ckeditor5['CKEditorError']('annotationsuis-missing-ui',this,{'uiName':_0x19dede});const _0x397141=this['_uis']['get'](_0x19dede);_0x397141['detach'](),this['stopListening'](_0x397141),this['uisData']['get'](_0x19dede)['collection']['destroy'](),this['uisData']['delete'](_0x19dede);}['switchTo'](_0x549410){if(!this['_uis']['has'](_0x549410))throw new ckeditor5['CKEditorError']('annotationsuis-missing-ui',this,{'uiName':_0x549410});const _0x3a508e=this['context']['plugins']['get'](Annotations),_0x44af88=Array['from'](_0x3a508e['activeAnnotations'])[0x0]||null;this['deactivateAll'](),this['activate'](_0x549410);const _0x10c9f3=this['_uis']['get'](_0x549410);_0x10c9f3['setActiveAnnotation'](_0x44af88),_0x10c9f3['_setSelectedAnnotations']&&_0x44af88&&_0x10c9f3['_setSelectedAnnotations']([_0x44af88]);}['deactivateAll'](){for(const _0x344d4d of this['activeUIs'])this['deactivate'](_0x344d4d);}['register'](_0xa1d324,_0x2a292e){if(this['_uis']['has'](_0xa1d324))throw new ckeditor5['CKEditorError']('annotationsuis-register-already-registered');if('function'!=typeof _0x2a292e['attach']||'function'!=typeof _0x2a292e['detach']||'function'!=typeof _0x2a292e['setActiveAnnotation'])throw new ckeditor5['CKEditorError']('annotationsuis-register-invalid-interface',null);this['_uis']['set'](_0xa1d324,_0x2a292e);}['refilterAnnotations'](){const _0x5b8834=this['context']['plugins']['get'](Annotations)['collection'],_0x2e2c4e=new Map(),_0x176eda=Array['from'](this['activeUIs']);for(const _0x2ee65e of this['activeUIs']){const _0x58fbbe=this['uisData']['get'](_0x2ee65e)['collection'];for(const _0x6ffc13 of _0x58fbbe)_0x2e2c4e['set'](_0x6ffc13,_0x2ee65e);}for(const _0x3b2c84 of _0x5b8834){const _0x28459a=_0x2e2c4e['get'](_0x3b2c84);this['_assertAnnotationDoesNotBelongToMultipleUIs'](_0x3b2c84);const _0x206c98=_0x176eda['find'](_0x5363c9=>this['uisData']['get'](_0x5363c9)['filter'](_0x3b2c84));_0x28459a!==_0x206c98&&(_0x28459a&&this['uisData']['get'](_0x28459a)['collection']['remove'](_0x3b2c84),_0x206c98&&this['uisData']['get'](_0x206c98)['collection']['add'](_0x3b2c84));}}['destroy'](){this['deactivateAll'](),super['destroy']();}['defaultFilter'](){return!0x0;}['_assertAnnotationDoesNotBelongToMultipleUIs'](_0x23efdf){const _0x271631=[];for(const _0x5708a6 of this['activeUIs']){(0x0,this['uisData']['get'](_0x5708a6)['filter'])(_0x23efdf)&&_0x271631['push'](_0x5708a6);}if(_0x271631['length']>0x1)throw new ckeditor5['CKEditorError']('annotationsuis-annotation-mismatch',null,{'matchedUIs':_0x271631,'annotationType':_0x23efdf['type']});}}const toPx$2=/* #__PURE__ -- @preserve */
ckeditor5['toUnit']('px');class AnnotationsSidebarView extends ckeditor5['View']{['list'];['focusables'];['focusTracker'];['focusCycler'];constructor(_0x3a03e6){super(_0x3a03e6);const _0x44a35d=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',_0x44a35d['to']('class')],'style':{'minHeight':_0x44a35d['to']('minHeight',_0x5cc342=>'number'==typeof _0x5cc342?toPx$2(_0x5cc342+0xa):null)},'dir':_0x3a03e6['uiLanguageDirection'],'role':'application','aria-label':getTranslation$f(_0x3a03e6,'Annotations\x20sidebar'),'tabindex':0x0},'children':[{'tag':'div','attributes':{'role':'list','aria-label':getTranslation$f(_0x3a03e6,'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',_0x43e369=>{this['_updateItemPositionInFocusables'](_0x43e369['source']);}),this['list']['forEach'](_0x206f9e=>{this['focusTracker']['add'](_0x206f9e['element']),this['_updateItemPositionInFocusables'](_0x206f9e);}),this['list']['on']('change',(_0x5492c8,_0x33348c)=>{for(const _0x3d442a of _0x33348c['removed'])this['focusTracker']['remove'](_0x3d442a['element']),this['focusables']['remove'](_0x3d442a);for(const _0x31b986 of _0x33348c['added'])this['focusTracker']['add'](_0x31b986['element']),this['_updateItemPositionInFocusables'](_0x31b986);}),this['on']('arrowup',()=>{this['focusCycler']['focusPrevious']();}),this['on']('arrowdown',()=>{this['focusCycler']['focusNext']();}),this['listenTo'](this['element'],'focus',()=>{this['focus']();});}['_updateItemPositionInFocusables'](_0x5dad30){const _0x306e64=this['focusables']['getIndex'](_0x5dad30);let _0x155622,_0x4d84b5;for(const _0x24e444 of this['focusables'])if(_0x5dad30['top']<_0x24e444['top']){_0x155622=_0x24e444;break;}if(_0x4d84b5=_0x155622?this['focusables']['getIndex'](_0x155622):this['focusables']['length'],-0x1!==_0x306e64){if(_0x306e64===_0x4d84b5-0x1)return;this['focusables']['remove'](_0x5dad30),_0x4d84b5=_0x155622?this['focusables']['getIndex'](_0x155622):this['focusables']['length'];}this['focusables']['add'](_0x5dad30,_0x4d84b5);}}const toPx$1=/* #__PURE__ -- @preserve */
ckeditor5['toUnit']('px');class AnnotationsSidebarItemView extends ckeditor5['View']{['content'];['_targetTop'];['_mutationObserver'];constructor(_0x36814b){super(_0x36814b),this['set']('top',0x0),this['set']('height',0x0),this['bind']('bottom')['to'](this,'top',this,'height',(_0x1bdce0,_0x16ff80)=>_0x1bdce0+_0x16ff80),this['set']('isAnimationDisabled',!0x1),this['_mutationObserver']=createMutationObserver(()=>this['updateHeight']()),this['_targetTop']=null,this['content']=this['createCollection'](),this['content']['delegate']('arrowup','arrowdown')['to'](this);const _0x40db36=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck-sidebar-item',_0x40db36['to']('isAnimationDisabled',_0x290911=>_0x290911?'ck-sidebar-item--no-animation':'')],'style':{'top':_0x40db36['to']('top',_0x417a30=>toPx$1(_0x417a30))},'role':'presentation'},'children':this['content']});}['render'](){super['render'](),this['_mutationObserver']['attach'](this['element']);}['focus'](){this['content']['first']&&this['content']['first']['focus']();}['updateHeight'](){const _0x1596d0=this['element']['clientHeight'];_0x1596d0&&(this['height']=_0x1596d0);}['destroy'](){this['content']['clear'](),this['_mutationObserver']['detach'](),super['destroy']();}}class _0x3c5ed0 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(_0x3de4d1){super(_0x3de4d1),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 _0x1045a4=this['context']['config']['get']('sidebar.container');_0x1045a4&&this['setContainer'](_0x1045a4);}['setContainer'](_0x55c005){if(!isElement(_0x55c005))throw new ckeditor5['CKEditorError']('sidebar-setcontainer-invalid-element');this['container']=_0x55c005;}['_attachToContainer']({viewClass:_0x2a60f6='',spaceBetweenItems:_0x282868=0x19}={}){if(!isElement(this['container']))throw new ckeditor5['CKEditorError']('sidebar-attachtocontainer-missing-container',this);this['container']['appendChild'](this['view']['element']),this['view']['class']=_0x2a60f6,this['_spaceBetweenItems']=_0x282868;}['rearrange']({removedAnnotation:_0x3eb981,previousAnnotation:_0x403a9f,nextAnnotation:_0x1ff830}){const _0x40af03=this['getSidebarItemView'](_0x3eb981);this['view']['list']['remove'](_0x40af03),this['_destroySidebarItemView'](_0x3eb981),_0x403a9f&&this['_alignToTargetRect'](this['getSidebarItemView'](_0x403a9f)),_0x1ff830&&this['_alignToTargetRect'](this['getSidebarItemView'](_0x1ff830)),this['_updateLastItem']();}['refresh']({blurredAnnotation:_0x1eb815,activatedAnnotation:_0x378c51,disableAnimationOnActivatedAnnotation:_0x13fe7e}){if(this['_activeAnnotation']=_0x378c51,_0x1eb815){_0x1eb815['isActive']=!0x1;const _0x35c714=this['getSidebarItemView'](_0x1eb815);_0x35c714&&_0x13fe7e&&(_0x35c714['isAnimationDisabled']=!0x1);}if(_0x378c51){const _0x229b0c=this['getSidebarItemView'](_0x378c51);_0x229b0c&&(_0x378c51['isActive']=!0x0,_0x13fe7e&&(_0x229b0c['isAnimationDisabled']=!0x0,_0x229b0c['top']+=0x1),this['_alignToTargetRect'](_0x229b0c));}}['_detachFromContainer'](_0x5a359c){if(this['view']['element']['remove'](),_0x5a359c){for(const _0x987efc of _0x5a359c)this['_destroySidebarItemView'](_0x987efc);}this['view']['list']['clear'](),this['view']['class']='',this['_lastItem']=null;}['addAnnotation'](_0x22468d,_0x252baa){_0x252baa||(_0x252baa=_0x22468d['view']);const _0x224493=new AnnotationsSidebarItemView(this['context']['locale']);this['_sidebarItemViewToAnnotation']['set'](_0x224493,_0x22468d),this['_annotationToSidebarItemView']['set'](_0x22468d,_0x224493),_0x224493['content']['add'](_0x252baa),this['listenTo'](_0x22468d['view'],'change:targetRect',(_0x10042b,_0x235143,_0x451339)=>{const _0x294dc8=this['_getTargetTop'](_0x22468d,_0x451339);_0x224493['_targetTop']!=_0x294dc8&&(_0x224493['_targetTop']=_0x294dc8,this['_setItemTop'](_0x224493,_0x294dc8));}),this['listenTo'](_0x224493,'change:top',()=>{this['_recalculate'](_0x224493,'top');}),this['listenTo'](_0x224493,'change:bottom',()=>{this['_recalculate'](_0x224493,'bottom');}),this['_alignToTargetRect'](_0x224493);const _0x3fe274=this['_getItemBefore'](_0x224493);if(_0x3fe274)this['_alignAfterItem'](_0x3fe274,_0x224493)||this['_alignToTargetRect'](_0x224493);else this['_alignToTargetRect'](_0x224493);return this['_updateLastItem'](),this['view']['list']['add'](_0x224493),_0x224493;}['_alignForTopChange'](_0x2f7216){if(!_0x2f7216['content']['length'])return;const _0x456359=this['_getItemBefore'](_0x2f7216);if(!_0x456359)return;const _0x1c0513=this['_sidebarItemViewToAnnotation']['get'](_0x456359),_0x4e4f57=this['_activeAnnotation'];_0x4e4f57&&_0x4e4f57===_0x1c0513?this['_alignAfterItem'](_0x456359,_0x2f7216):this['_alignBeforeItem'](_0x2f7216,_0x456359);}['_alignForBottomChange'](_0x251694){if(!_0x251694['content']['length'])return;const _0x23a5a5=this['_getItemAfter'](_0x251694);if(!_0x23a5a5)return;const _0x4f9cdd=this['_sidebarItemViewToAnnotation']['get'](_0x23a5a5),_0x84c31a=this['context']['config']['get']('sidebar.preventScrollOutOfView'),_0x3a5863=this['_activeAnnotation'];_0x3a5863&&_0x3a5863===_0x4f9cdd&&_0x84c31a?(this['_alignBeforeItem'](_0x23a5a5,_0x251694),this['_alignAfterItem'](_0x251694,_0x23a5a5)):_0x3a5863&&_0x3a5863===_0x4f9cdd?this['_alignBeforeItem'](_0x23a5a5,_0x251694):this['_alignAfterItem'](_0x251694,_0x23a5a5);}['_recalculate'](_0x4af821,_0x2592fa){0x0===this['_recalculateBuffer']['length']&&setTimeout(()=>{for(const {sidebarItemView:_0x70ccd3,changedProp:_0x3b011a}of this['_recalculateBuffer'])'top'===_0x3b011a?this['_alignForTopChange'](_0x70ccd3):this['_alignForBottomChange'](_0x70ccd3);this['_recalculateBuffer']=[];},0xa),this['_recalculateBuffer']['push']({'sidebarItemView':_0x4af821,'changedProp':_0x2592fa});}['getSidebarItemView'](_0x359ae6){return this['_annotationToSidebarItemView']['get'](_0x359ae6);}['destroy'](){this['stopListening'](),this['view']['destroy']();}['_destroySidebarItemView'](_0x2f5fca){const _0x4f2982=this['getSidebarItemView'](_0x2f5fca);this['stopListening'](_0x4f2982),this['stopListening'](_0x2f5fca['view']),_0x4f2982['destroy'](),this['_annotationToSidebarItemView']['delete'](_0x2f5fca),this['_sidebarItemViewToAnnotation']['delete'](_0x4f2982);}['_createSidebarView'](){const _0x3e96ad=new AnnotationsSidebarView(this['context']['locale']);return _0x3e96ad['render'](),this['on']('change:_lastItem',(_0x4a7003,_0x26dd2c,_0x5d15b6,_0x11c492)=>{_0x11c492&&_0x3e96ad['unbind']('minHeight'),_0x5d15b6?_0x3e96ad['bind']('minHeight')['to'](_0x5d15b6,'bottom'):_0x3e96ad['minHeight']=null;}),_0x3e96ad;}['_updateLastItem'](){this['_lastItem']=this['_annotations']?.['last']?this['getSidebarItemView'](this['_annotations']['last']):null;}['_getItemBefore'](_0x470bc9){const _0x4df583=this['_sidebarItemViewToAnnotation']['get'](_0x470bc9),_0x3bb67c=_0x4df583&&this['_annotations']?.['get'](this['_annotations']['getIndex'](_0x4df583)-0x1);return _0x3bb67c&&this['getSidebarItemView'](_0x3bb67c)||null;}['_getItemAfter'](_0x5e32ad){const _0x34187b=this['_sidebarItemViewToAnnotation']['get'](_0x5e32ad),_0x2a116f=_0x34187b&&this['_annotations']?.['get'](this['_annotations']['getIndex'](_0x34187b)+0x1);return _0x2a116f&&this['getSidebarItemView'](_0x2a116f)||null;}['_alignBeforeItem'](_0x811eb,_0x17a610){_0x811eb['updateHeight']();const _0xf6814d=getOverlap(_0x17a610['bottom']+this['_spaceBetweenItems'],_0x811eb['top']);return!!_0xf6814d&&(this['_setItemTop'](_0x17a610,_0x17a610['top']-_0xf6814d),!0x0);}['_alignAfterItem'](_0x51fbec,_0x311707){_0x51fbec['updateHeight']();const _0x2c2c3f=getOverlap(_0x51fbec['bottom']+this['_spaceBetweenItems'],_0x311707['top']);return!!_0x2c2c3f&&(this['_setItemTop'](_0x311707,_0x311707['top']+_0x2c2c3f,!0x1),!0x0);}['_alignToTargetRect'](_0x57e5c2){const _0x539674=this['_sidebarItemViewToAnnotation']['get'](_0x57e5c2);if(!_0x539674||!_0x539674['target']||!_0x539674['targetRect'])return;const _0x3bd499=this['_getTargetTop'](_0x539674,_0x539674['targetRect']);this['_setItemTop'](_0x57e5c2,_0x3bd499);}['_getTargetTop'](_0x22a292,_0x5d25d3){if(null===_0x5d25d3)return 0x0;if(_0x22a292['target']instanceof ckeditor5['Rect'])return _0x5d25d3['top'];{const _0x1e826f=new ckeditor5['Rect'](this['view']['element'])['top'];return _0x5d25d3['top']-_0x1e826f;}}['_setItemTop'](_0x2f7f26,_0x2bcff8,_0x5cb4ec=this['context']['config']['get']('sidebar.preventScrollOutOfView')){_0x5cb4ec&&(_0x2bcff8=Math['max'](_0x2bcff8,this['_getMaxAvailableTop'](_0x2f7f26))),_0x2f7f26['top']=_0x2bcff8;}['_getMaxAvailableTop'](_0x390817){let _0x674c42=this['_getItemBefore'](_0x390817),_0x4fefa2=0x0;for(;_0x674c42;)_0x674c42['updateHeight'](),_0x4fefa2+=this['_spaceBetweenItems']+_0x674c42['height'],_0x674c42=this['_getItemBefore'](_0x674c42);return _0x4fefa2;}}function getOverlap(_0x12a1d9,_0x2ed4e9){return Math['max'](_0x12a1d9-_0x2ed4e9,0x0);}function isElement(_0x3e9c0e){return null!==_0x3e9c0e&&'object'==typeof _0x3e9c0e&&0x1===_0x3e9c0e['nodeType'];}class _0x120cfd extends ckeditor5['ContextPlugin']{['isAttached'];['annotations'];['_editorAnnotations'];['_refreshPositioningDebounced'];static get['requires'](){return[_0x3c5ed0,AnnotationsUIs];}static get['pluginName'](){return'WideSidebar';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x316ccc){super(_0x316ccc),this['isAttached']=!0x1,this['set']('activeAnnotation',null),this['annotations']=null,this['_editorAnnotations']=new ckeditor5['Collection'](),this['_refreshPositioningDebounced']=_0x4313fa(()=>{_0x316ccc['plugins']['get']('Annotations')['refreshVisibility'](),this['annotations']['refreshPositioning']();},0xfa,{'leading':!0x1});}['init'](){const _0x254451=this['context']['plugins']['get'](AnnotationsUIs),_0x289853=this['context']['plugins']['get'](_0x3c5ed0);_0x254451['register']('wideSidebar',this),_0x289853['container']&&_0x254451['switchTo']('wideSidebar');}['setActiveAnnotation'](_0x673af3){if(_0x673af3===this['activeAnnotation'])return;const _0x35c776=this['context']['plugins']['get'](_0x3c5ed0);_0x35c776['_activeAnnotation']=_0x673af3;const _0x21cc1e=this['activeAnnotation'];_0x35c776['refresh']({'blurredAnnotation':_0x21cc1e,'activatedAnnotation':_0x673af3}),this['activeAnnotation']=_0x673af3;}['attach'](_0x39f20b){this['annotations']=_0x39f20b;const _0x4f3882=this['context']['plugins']['get'](_0x3c5ed0);if(_0x4f3882['_annotations']=_0x39f20b,this['isAttached'])throw new ckeditor5['CKEditorError']('widesidebar-attach-already-attached',this);this['isAttached']=!0x0,this['listenTo'](_0x4f3882,'set:container',()=>{this['detach'](),this['listenTo'](_0x4f3882,'change:container',_0x5ba3a6=>{_0x5ba3a6['off'](),this['attach'](_0x39f20b);});}),_0x4f3882['_attachToContainer']({'viewClass':'ck-sidebar--wide'});const _0xbfcc71=_0x586cff=>{_0x586cff['updateTargetRect'](),_0x4f3882['addAnnotation'](_0x586cff);};for(const _0x486d1c of _0x39f20b)_0xbfcc71(_0x486d1c);this['listenTo'](_0x39f20b,'add',(_0x169adc,_0xb48482)=>{_0xbfcc71(_0xb48482);}),this['listenTo'](_0x39f20b,'remove',(_0x3508cf,_0x3cd9a2,_0x168495)=>{_0x4f3882['rearrange']({'removedAnnotation':_0x3cd9a2,'previousAnnotation':_0x39f20b['get'](_0x168495-0x1),'nextAnnotation':_0x39f20b['get'](_0x168495+0x1)}),_0x3cd9a2===this['activeAnnotation']&&this['setActiveAnnotation'](null);},{'priority':'high'}),this['listenTo'](_0x39f20b,'focus',(_0xa87bab,_0x5ee551)=>{this['setActiveAnnotation'](_0x5ee551);}),this['listenTo'](_0x39f20b,'blur',()=>{this['setActiveAnnotation'](null);});const _0x5b8449=this['context']instanceof ckeditor5['Context']?this['context']['editors']:new ckeditor5['Collection']([this['context']]);for(const _0x146a5b of _0x5b8449)this['_integrateWithEditorAnnotations'](_0x146a5b);this['listenTo'](_0x5b8449,'add',(_0x1281ca,_0x1880a0)=>{this['listenTo'](_0x1880a0,'ready',()=>{this['_integrateWithEditorAnnotations'](_0x1880a0);});}),this['listenTo'](_0x5b8449,'remove',(_0x42fef4,_0x3bd076)=>{_0x3bd076['plugins']['has']('EditorAnnotations')&&this['_destroyEditorAnnotationsIntegration'](_0x3bd076['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 _0x1a22f6=this['context']['plugins']['get'](_0x3c5ed0);_0x1a22f6['_detachFromContainer'](this['annotations']),this['stopListening'](_0x1a22f6),this['stopListening'](this['annotations']),this['context']instanceof ckeditor5['Context']&&this['stopListening'](this['context']['editors']);for(const _0x2e3aa5 of Array['from'](this['_editorAnnotations']))this['_destroyEditorAnnotationsIntegration'](_0x2e3aa5);window['removeEventListener']('resize',this['_refreshPositioningDebounced']),this['_refreshPositioningDebounced']['cancel'](),this['activeAnnotation']=null,this['isAttached']=!0x1,this['annotations']=null;}['destroy'](){this['isAttached']&&this['detach']();}['_integrateWithEditorAnnotations'](_0x47e196){if(!_0x47e196['plugins']['has']('EditorAnnotations'))return;const _0x3fd8ff=_0x47e196['plugins']['get']('EditorAnnotations'),_0x4d471a=()=>{const _0x20c23c=_0x3fd8ff['getOrderedSelectedAnnotations']({'annotations':this['annotations'],'activeAnnotation':this['activeAnnotation']});this['setActiveAnnotation'](_0x20c23c[0x0]||null);};this['listenTo'](_0x3fd8ff,'refresh',_0x4d471a),this['listenTo'](_0x3fd8ff,'blur',(_0x4c7626,{isAnnotationTracked:_0xe46b47})=>{this['activeAnnotation']&&_0xe46b47(this['activeAnnotation'])&&this['setActiveAnnotation'](null);}),this['listenTo'](_0x3fd8ff,'uiUpdate',()=>{this['_refreshPositioningDebounced']();}),this['listenTo'](this['annotations'],'blur',_0xe33dc9=>{_0x3fd8ff['hasDomSelection']()&&(_0x4d471a(),_0xe33dc9['stop']());},{'priority':'high'}),this['_editorAnnotations']['add'](_0x3fd8ff);}['_destroyEditorAnnotationsIntegration'](_0x3d2c9d){this['stopListening'](_0x3d2c9d),this['_editorAnnotations']['remove'](_0x3d2c9d);}}class AnnotationCounterButtonView extends ckeditor5['ButtonView']{['counterView'];constructor(_0x4103d0){super(_0x4103d0);const _0x43b004=this['bindTemplate'];this['set']('isDirty',!0x1),this['set']('number',0x0),this['bind']('_badge')['to'](this,'isDirty',this,'number',(_0x4e6bad,_0x3e614e)=>_0x4e6bad?'...':_0x3e614e['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',_0x43b004['to']('annotationType',_0x33cfb3=>'ck-annotation-counter__badge--'+_0x33cfb3),_0x43b004['if']('isDirty','ck-annotation-counter__badge--edit-mode')]},'children':[{'text':_0x43b004['to']('_badge')}]}),this['children']['add'](this['counterView']);}}class _0x59e16e extends ckeditor5['ContextPlugin']{['isAttached'];['annotations'];['_manuallyClosedAnnotationViews'];['_domEmitter'];['_annotationToNarrowView'];['_selectedAnnotations'];['_editorAnnotations'];['_refreshPositioningDebounced'];static get['requires'](){return[_0x3c5ed0,AnnotationsUIs];}static get['pluginName'](){return'NarrowSidebar';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x4d0a6d){super(_0x4d0a6d),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']=_0x4313fa(()=>{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'](_0x425576){this['annotations']=_0x425576;const _0x2dfba7=this['context']['plugins']['get'](_0x3c5ed0),_0x8e223c=this['balloonPanelView'];if(_0x2dfba7['_annotations']=_0x425576,this['isAttached'])throw new ckeditor5['CKEditorError']('narrowsidebar-attach-already-attached',this);this['isAttached']=!0x0,this['listenTo'](_0x2dfba7,'set:container',()=>{this['detach'](),this['listenTo'](_0x2dfba7,'change:container',_0x4e51db=>{_0x4e51db['off'](),this['attach'](_0x425576);});}),_0x2dfba7['_attachToContainer']({'viewClass':'ck-sidebar--narrow','spaceBetweenItems':0x5});const _0x2037df=_0x10a46f=>{const _0x4530d9=new AnnotationCounterButtonView(this['context']['locale']);_0x2dfba7['addAnnotation'](_0x10a46f,_0x4530d9),this['_annotationToNarrowView']['set'](_0x10a46f,_0x4530d9),_0x4530d9['bind']('isDirty','annotationType','number')['to'](_0x10a46f['view'],'isDirty','type','length'),_0x4530d9['on']('execute',()=>{this['_manuallyClosedAnnotationViews']['clear'](),_0x8e223c['content']['first']!==_0x10a46f['view']?(this['_showBalloon'](_0x10a46f),_0x10a46f['view']['element']['focus'](),this['setActiveAnnotation'](_0x10a46f)):this['setActiveAnnotation'](null);});};for(const _0xab26a2 of _0x425576)_0x2037df(_0xab26a2);this['listenTo'](_0x425576,'add',(_0x4e6e42,_0x394f22)=>{_0x2037df(_0x394f22);}),this['listenTo'](_0x425576,'remove',(_0x3f3266,_0x4879f1,_0x5d6ffb)=>{this['_annotationToNarrowView']['get'](_0x4879f1)['destroy'](),this['_annotationToNarrowView']['delete'](_0x4879f1),_0x2dfba7['rearrange']({'removedAnnotation':_0x4879f1,'previousAnnotation':_0x425576['get'](_0x5d6ffb-0x1),'nextAnnotation':_0x425576['get'](_0x5d6ffb+0x1)}),_0x4879f1===this['activeAnnotation']&&this['setActiveAnnotation'](null);},{'priority':'low'}),this['listenTo'](_0x425576,'focus',(_0x3a47b9,_0xd9dc5b)=>{this['setActiveAnnotation'](_0xd9dc5b);}),this['listenTo'](_0x425576,'blur',()=>{this['setActiveAnnotation'](null);}),this['_domEmitter']['listenTo'](document,'keydown',(_0x45e49f,_0x2b3257)=>{_0x2b3257['keyCode']===ckeditor5['keyCodes']['esc']&&_0x8e223c['isVisible']&&(this['_manuallyClosedAnnotationViews']['add'](_0x8e223c['content']['first']),this['_hideBalloon'](),_0x2b3257['stopPropagation'](),_0x2b3257['preventDefault']());}),this['_domEmitter']['listenTo'](document,'mousedown',(_0x3cfd93,_0x24d1ce)=>{const _0x581920=_0x24d1ce['target'];_0x8e223c['isVisible']&&_0x8e223c['element']['contains'](_0x581920)||_0x2dfba7['view']['element']['contains'](_0x581920)||_0x3cfd93['preventClosingBalloon']||this['activeAnnotation']&&this['activeAnnotation']['focusableElements']['find'](_0x4934bb=>_0x4934bb['contains'](_0x581920))||(this['_manuallyClosedAnnotationViews']['clear'](),this['_hideBalloon'](),this['setActiveAnnotation'](null));});const _0x3432bd=this['context']instanceof ckeditor5['Context']?this['context']['editors']:new ckeditor5['Collection']([this['context']]);for(const _0x4bed92 of _0x3432bd)this['_integrateWithEditorAnnotations'](_0x4bed92);this['listenTo'](_0x3432bd,'add',(_0x18ae71,_0x4dc3d1)=>{this['listenTo'](_0x4dc3d1,'ready',()=>{this['_integrateWithEditorAnnotations'](_0x4dc3d1);});}),this['listenTo'](_0x3432bd,'remove',(_0xf20458,_0x2f0b25)=>{_0x2f0b25['plugins']['has']('EditorAnnotations')&&this['_destroyEditorAnnotationsIntegration'](_0x2f0b25['plugins']['get']('EditorAnnotations'));}),window['addEventListener']('resize',this['_refreshPositioningDebounced']),this['_refreshPositioning']();}['setActiveAnnotation'](_0x31945e){if(_0x31945e===this['activeAnnotation'])return;const _0x56b641=this['context']['plugins']['get'](_0x3c5ed0);if(_0x56b641['refresh']({'blurredAnnotation':this['activeAnnotation'],'activatedAnnotation':_0x31945e,'disableAnimationOnActivatedAnnotation':!0x0}),_0x31945e)_0x56b641['getSidebarItemView'](_0x31945e)?this['_showBalloon'](_0x31945e):this['_hideBalloon']();else this['_hideBalloon']();this['activeAnnotation']=_0x31945e;}['detach'](){if(!this['isAttached'])throw new ckeditor5['CKEditorError']('narrowsidebar-detach-not-attached',this);this['setActiveAnnotation'](null);const _0x4b85ac=this['context']['plugins']['get'](_0x3c5ed0);this['_hideBalloon'](),Array['from'](this['_annotationToNarrowView']['values'](),_0x29fe91=>_0x29fe91['destroy']()),this['_annotationToNarrowView']['clear'](),_0x4b85ac['_detachFromContainer'](this['annotations']),this['stopListening'](),this['_domEmitter']['stopListening'](),this['context']instanceof ckeditor5['Context']&&this['stopListening'](this['context']['editors']);for(const _0x3df0c0 of Array['from'](this['_editorAnnotations']))this['_destroyEditorAnnotationsIntegration'](_0x3df0c0);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'](_0x5efb6b){if(!_0x5efb6b['plugins']['has']('EditorAnnotations'))return;const _0x1a6d66=_0x5efb6b['plugins']['get']('EditorAnnotations'),_0xc9727f=this['context']['plugins']['get'](_0x3c5ed0),_0x11ac67=this['annotations'],_0x338590=this['balloonPanelView'],_0x4c3f0b=()=>{const _0xca2942=_0x1a6d66['getOrderedSelectedAnnotations']({'annotations':this['annotations'],'activeAnnotation':this['activeAnnotation']});this['_setSelectedAnnotations'](_0xca2942),this['setActiveAnnotation'](_0xca2942[0x0]||null);};this['listenTo'](_0x1a6d66,'refresh',_0x4c3f0b),this['listenTo'](_0x1a6d66,'blur',(_0x11dc8f,{isAnnotationTracked:_0x4e2a1f})=>{this['activeAnnotation']&&_0x4e2a1f(this['activeAnnotation'])&&(this['_setSelectedAnnotations']([]),this['setActiveAnnotation'](null));}),this['listenTo'](_0x1a6d66,'uiUpdate',()=>{this['_refreshPositioningDebounced']();}),this['listenTo'](_0x11ac67,'blur',_0x13498a=>{_0x1a6d66['hasDomSelection']()&&_0x13498a['stop']();},{'priority':'high'}),this['listenTo'](this['_domEmitter'],'mousedown',(_0x3977b1,_0xb741f9)=>{const _0x996e0d=_0xb741f9['target'];_0x338590['isVisible']&&_0x338590['element']['contains'](_0x996e0d)||_0xc9727f['view']['element']['contains'](_0x996e0d)||this['activeAnnotation']&&_0x1a6d66['hasDomSelection']()&&(_0x4c3f0b(),_0x3977b1['preventClosingBalloon']=!0x0);},{'priority':'high'}),this['_editorAnnotations']['add'](_0x1a6d66);}['_destroyEditorAnnotationsIntegration'](_0x5a27ba){_0x5a27ba&&(this['stopListening'](_0x5a27ba),this['_editorAnnotations']['remove'](_0x5a27ba));}['_setSelectedAnnotations'](_0x1a94e1){for(const _0x5b3b8d of this['_selectedAnnotations'])_0x1a94e1['includes'](_0x5b3b8d)||this['_manuallyClosedAnnotationViews']['delete'](_0x5b3b8d['view']);this['_selectedAnnotations']=_0x1a94e1;}['_refreshPositioning'](){const _0x46c27e=this['balloonPanelView'];this['context']['plugins']['get']('Annotations')['refreshVisibility'](),this['annotations']['refreshPositioning'](),_0x46c27e['isVisible']&&this['_updateBalloonPosition']();}['_showBalloon'](_0x56fcf8){if(this['_manuallyClosedAnnotationViews']['has'](_0x56fcf8['view']))return;const _0x325075=this['balloonPanelView']['content']['first'];_0x325075!==_0x56fcf8['view']?(_0x325075&&this['_detachListeners'](_0x325075),this['_attachListeners'](_0x56fcf8['view']),this['balloonPanelView']['content']['clear'](),this['balloonPanelView']['content']['add'](_0x56fcf8['view']),this['_updateBalloonPosition']()):this['_updateBalloonPosition']();}['_updateBalloonPosition'](){const _0x439bff=this['balloonPanelView']['content']['first'],_0x526f58=_0x439bff&&this['annotations']['getByView'](_0x439bff);if(!_0x526f58||!this['_annotationToNarrowView']['has'](_0x526f58))return;const _0x2943ff=this['_annotationToNarrowView']['get'](_0x526f58)['element'],_0x188c25=getBalloonPositions();this['balloonPanelView']['pin']({'target':_0x2943ff,'positions':_0x188c25});}['_hideBalloon'](){const _0x551849=this['balloonPanelView'],_0x2d730d=_0x551849['content']['first'];_0x2d730d&&(this['_detachListeners'](_0x2d730d),_0x551849['unpin'](),_0x551849['content']['clear']());}['_attachListeners'](_0x379129){this['listenTo'](_0x379129,'change:height',()=>this['_updateBalloonPosition']()),this['listenTo'](_0x379129,'Esc',(_0x7d1719,_0x3861b4)=>{this['_manuallyClosedAnnotationViews']['add'](_0x379129),this['_hideBalloon'](),_0x3861b4();});}['_detachListeners'](_0x1caa6c){this['stopListening'](_0x1caa6c);}}function getBalloonPositions(){const _0x81148a=ckeditor5['BalloonPanelView']['defaultPositions'];return[_0x81148a['southArrowNorthEast'],_0x81148a['northArrowSouthEast'],_0x81148a['southArrowNorth'],_0x81148a['northArrowSouth'],_0x81148a['southArrowNorthWest'],_0x81148a['northArrowSouthWest']];}class InlineAnnotations extends ckeditor5['Plugin']{['isAttached'];['annotations'];['_manuallyClosed'];['_balloon'];['_addedAnnotations'];['_selectedAnnotations'];['_forceRefresh'];static get['requires'](){return[EditorAnnotations,ckeditor5['ContextualBalloon'],AnnotationsUIs];}static get['pluginName'](){return'InlineAnnotations';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0xa84ae6){super(_0xa84ae6),_0xa84ae6['editing']['view']['addObserver'](ckeditor5['MouseObserver']),this['isAttached']=!0x1,this['set']('activeAnnotation',null),this['annotations']=null,this['_manuallyClosed']=new Set(),this['_balloon']=_0xa84ae6['plugins']['get'](ckeditor5['ContextualBalloon']),this['_addedAnnotations']=new Set(),this['_selectedAnnotations']=[],this['_forceRefresh']=!0x1;}['init'](){const _0x47c78b=this['editor']['plugins']['get'](AnnotationsUIs);_0x47c78b['context']===this['editor']&&(_0x47c78b['register']('inline',this),this['editor']['keystrokes']['set']('Esc',(_0x1d1d79,_0x48d226)=>{const _0x4d42e8=this['_balloon'];if(this['isAttached']&&_0x4d42e8['visibleView']){const _0x2c0252=this['annotations']['getByView'](_0x4d42e8['visibleView']);_0x2c0252&&this['_closeAnnotation'](_0x2c0252),_0x48d226();}}));}['afterInit'](){const _0x32d0d3=this['editor']['plugins']['get'](AnnotationsUIs);_0x32d0d3['context']===this['editor']&&(_0x32d0d3['hasActive']()||_0x32d0d3['switchTo']('inline'));}['setActiveAnnotation'](_0x48d972){_0x48d972!==this['activeAnnotation']&&(this['activeAnnotation']&&(this['activeAnnotation']['isActive']=!0x1),_0x48d972&&this['editor']['ui']['focusTracker']['isFocused']&&(this['annotations']['has'](_0x48d972)&&this['_addAnnotationToBalloon'](_0x48d972,!0x0),_0x48d972['isActive']=!0x0),_0x48d972||this['_setSelectedAnnotations']([]),this['activeAnnotation']=_0x48d972);}['attach'](_0x427abc){this['annotations']=_0x427abc;const _0x408a64=this['editor']['plugins']['get'](AnnotationsUIs),_0x28babd=this['_balloon'];if(this['isAttached'])throw new ckeditor5['CKEditorError']('inlineannotations-attach-already-attached',this);if(_0x408a64['context']!==this['editor'])throw new ckeditor5['CKEditorError']('inlineannotations-not-allowed-with-context',this);const _0x2c5621=this['editor']['plugins']['get'](EditorAnnotations);this['listenTo'](_0x2c5621,'refresh',()=>{const _0x4f8491=_0x2c5621['getOrderedSelectedAnnotations']({'annotations':this['annotations'],'activeAnnotation':this['activeAnnotation']});!this['_forceRefresh']&&_0x16d28a(_0x4f8491,this['_selectedAnnotations'])||(this['_forceRefresh']=!0x1,this['_setSelectedAnnotations'](_0x4f8491),this['setActiveAnnotation'](_0x4f8491[0x0]||null));}),this['listenTo'](_0x2c5621,'blur',(_0x12ab93,{isAnnotationTracked:_0x2f92dd})=>{this['activeAnnotation']&&_0x2f92dd(this['activeAnnotation'])&&(this['_setSelectedAnnotations']([]),this['setActiveAnnotation'](null));}),this['listenTo'](this['editor']['ui']['focusTracker'],'change:isFocused',(_0x4ad01c,_0x1aea11,_0x136923)=>{_0x136923||this['setActiveAnnotation'](null);}),this['listenTo'](_0x427abc,'remove',(_0x4ba64d,_0x1b4e58)=>{this['_removeAnnotationFromBalloon'](_0x1b4e58),_0x1b4e58===this['activeAnnotation']&&this['setActiveAnnotation'](null);}),this['listenTo'](_0x28babd,'change:visibleView',(_0x1406e9,_0x3ca9ef,_0x40bd54,_0x19080a)=>{_0x19080a&&this['stopListening'](_0x19080a);const _0x4cc6a2=_0x427abc['getByView'](_0x40bd54);_0x40bd54&&_0x4cc6a2&&(this['listenTo'](_0x40bd54,'change:height',()=>{_0x28babd['updatePosition']();}),this['listenTo'](_0x40bd54,'Esc',()=>{this['_closeAnnotation'](_0x4cc6a2),this['editor']['editing']['view']['focus']();}),this['activeAnnotation']!==_0x4cc6a2&&this['setActiveAnnotation'](_0x4cc6a2));}),this['listenTo'](this['editor']['ui'],'update',()=>{_0x28babd['visibleView']&&(_0x427abc['getByView'](_0x28babd['visibleView'])&&_0x28babd['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 _0xdb525c of this['_addedAnnotations'])this['_removeAnnotationFromBalloon'](_0xdb525c);this['stopListening'](),this['isAttached']=!0x1,this['annotations']=null;}['destroy'](){this['isAttached']&&this['detach']();}['_setSelectedAnnotations'](_0x126d36){for(const _0x40d95a of this['_selectedAnnotations'])_0x126d36['includes'](_0x40d95a)||this['_manuallyClosed']['delete'](_0x40d95a);for(const _0x22db3e of this['annotations'])_0x126d36['includes'](_0x22db3e)||this['_removeAnnotationFromBalloon'](_0x22db3e);if(this['editor']['ui']['focusTracker']['isFocused']){for(const _0x569d7e of _0x126d36)this['_addAnnotationToBalloon'](_0x569d7e);}this['_selectedAnnotations']=_0x126d36;}['_addAnnotationToBalloon'](_0x326e58,_0x3d0355=!0x1){this['_manuallyClosed']['has'](_0x326e58)||(this['_addedAnnotations']['has'](_0x326e58)||this['_balloon']['hasView'](_0x326e58['view'])||(this['_addedAnnotations']['add'](_0x326e58),this['_balloon']['add']({'stackId':_0x326e58['view']['id'],'view':_0x326e58['view'],'position':{'target':()=>this['_getBalloonTargetForAnnotation'](_0x326e58)}})),_0x3d0355&&this['_balloon']['showStack'](_0x326e58['view']['id']));}['_getBalloonTargetForAnnotation'](_0x566b11){const _0x20b12a=_0x566b11['target'],_0x498a69=this['editor']['editing']['view'],_0x486505=_0x498a69['document']['selection']['getFirstRange'](),_0x3456e6=_0x498a69['domConverter']['viewRangeToDom'](_0x486505);if(_0x3456e6['collapse'](!0x0),_0x20b12a){if(_0x20b12a instanceof ckeditor5['Rect'])return _0x20b12a;let _0x1b5263=[];for(const _0x436c54 of _0x20b12a)_0x1b5263['push'](...cloneRects(_0x436c54['getClientRects']()));_0x1b5263=joinClientRects(_0x1b5263);const _0x1f7b49=_0x3456e6['getBoundingClientRect']();return _0x1b5263['find'](_0x4c4f04=>_0x4c4f04['top']<=_0x1f7b49['top']&&_0x4c4f04['bottom']>=_0x1f7b49['bottom']&&_0x4c4f04['left']<=_0x1f7b49['left']&&_0x4c4f04['right']>=_0x1f7b49['right'])||_0x1b5263[0x0];}return _0x566b11['targetRect']||_0x3456e6;}['_removeAnnotationFromBalloon'](_0x5def35){this['_addedAnnotations']['has'](_0x5def35)&&this['_balloon']['hasView'](_0x5def35['view'])&&(this['_addedAnnotations']['delete'](_0x5def35),this['_balloon']['remove'](_0x5def35['view']));}['_closeAnnotation'](_0x9ae0c3){this['_manuallyClosed']['add'](_0x9ae0c3),this['_removeAnnotationFromBalloon'](_0x9ae0c3);}}function _0x16d28a(_0x428891,_0x49cf74){return _0x428891['length']===_0x49cf74['length']&&_0x428891['every'](_0x196423=>_0x49cf74['includes'](_0x196423));}function cloneRects(_0x10cd8a){return Array['from'](_0x10cd8a)['map'](DOMRect['fromRect']);}function joinClientRects(_0x25185b){const _0x2e1a39=[];let _0x5a2483=_0x25185b[0x0];for(let _0x26c01f=0x1;_0x26c01f<_0x25185b['length'];_0x26c01f++)canJoinRects(_0x5a2483,_0x25185b[_0x26c01f])?_0x5a2483['width']+=_0x25185b[_0x26c01f]['width']:(_0x2e1a39['push'](_0x5a2483),_0x5a2483=_0x25185b[_0x26c01f]);return _0x2e1a39['push'](_0x5a2483),_0x2e1a39;}function canJoinRects(_0x515e3d,_0x1d4574){return _0x515e3d['top']===_0x1d4574['top']&&_0x515e3d['bottom']===_0x1d4574['bottom']&&_0x515e3d['right']===_0x1d4574['left'];}class CommentsArchiveView extends ckeditor5['View']{['focusTracker'];['focusCycler'];['_annotationViews'];constructor(_0x39f45c,_0x5a412c){super(_0x39f45c),this['set']('isEmpty',!_0x5a412c['length']),this['focusTracker']=new ckeditor5['FocusTracker'](),this['_annotationViews']=_0x5a412c,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':_0x5a412c,'focusTracker':this['focusTracker']}),this['listenTo'](_0x5a412c,'add',()=>{this['isEmpty']=!0x1;}),this['listenTo'](_0x5a412c,'remove',(_0x2109e1,_0x3b69e6)=>{_0x3b69e6['isActive']&&this['focus'](),_0x5a412c['length']||(this['isEmpty']=!0x0);});const _0x17d099=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'dir':'auto','class':['ck','ck-comments-archive'],'tabindex':-0x1,'role':'list','aria-label':getTranslation$f(_0x39f45c,'COMMENTS_ARCHIVE_LIST_LABEL')},'children':[{'tag':'div','attributes':{'class':['ck-comments-archive__content'],'role':'presentation'},'children':[{'tag':'div','attributes':{'role':'presentation'},'children':_0x5a412c},{'tag':'p','attributes':{'class':['ck-comments-archive__info',_0x17d099['if']('isEmpty','ck-hidden',_0x2a9131=>!_0x2a9131)]},'children':[{'text':getTranslation$f(_0x39f45c,'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 _0x1ebaa7 of this['_annotationViews'])this['focusTracker']['add'](_0x1ebaa7['element']);this['_annotationViews']['on']('change',(_0x2f2c0e,{added:_0xb52210,removed:_0x4e30cc})=>{for(const _0x56da11 of _0xb52210)this['focusTracker']['add'](_0x56da11['element']);for(const _0x33229b of _0x4e30cc)this['focusTracker']['remove'](_0x33229b['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(_0x5e87b4){super(_0x5e87b4),this['archivedThreads']=new ckeditor5['Collection']();}['init'](){const _0x492421=this['context'],_0x2903b3=_0x492421['plugins']['get'](CommentsRepository),_0x547561=_0x492421['plugins']['get'](Annotations);this['listenTo'](_0x2903b3,'addCommentThread',(_0x4ce52d,{threadId:_0x2f375b})=>{const _0x455b9d=_0x2903b3['getCommentThread'](_0x2f375b);_0x455b9d['archivedAt']&&this['archivedThreads']['add'](_0x455b9d,this['_calculatePosition'](_0x455b9d['archivedAt'])),this['listenTo'](_0x455b9d,'change:archivedAt',(_0x104b85,_0x4abe48,_0x5135b8)=>{_0x5135b8?this['archivedThreads']['has'](_0x455b9d)||this['archivedThreads']['add'](_0x455b9d,this['_calculatePosition'](_0x455b9d['archivedAt'])):this['archivedThreads']['has'](_0x455b9d)&&this['archivedThreads']['remove'](_0x455b9d);});}),this['listenTo'](_0x2903b3,'removeCommentThread',(_0x61c933,{threadId:_0x501bde})=>{const _0x39e620=_0x2903b3['getCommentThread'](_0x501bde);this['stopListening'](_0x39e620),this['archivedThreads']['has'](_0x39e620)&&this['archivedThreads']['remove'](_0x39e620);},{'priority':'highest'}),this['listenTo'](_0x547561['collection'],'focus',(_0x4631b8,_0x3620d7)=>{_0x3620d7['isVisible']||(_0x3620d7['isActive']=!0x0,_0x547561['activate'](_0x3620d7));});}['_calculatePosition'](_0x53f392){const _0x1d11b0=[...this['archivedThreads']]['findIndex'](_0x2455b2=>_0x2455b2['archivedAt']<_0x53f392);return _0x1d11b0>-0x1?_0x1d11b0: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(_0x24ec27){super(_0x24ec27),this['annotationViews']=new ckeditor5['ViewCollection'](),this['_pendingThreads']=[];}['init'](){const _0x427dc6=this['editor'],_0x5d0e9a=this['_hideDialogOnAnnotationEscape']['bind'](this);_0x427dc6['ui']['componentFactory']['add']('commentsArchive',()=>this['_createCommentsArchiveButton'](ckeditor5['ButtonView'],!0x0)),_0x427dc6['ui']['componentFactory']['add']('menuBar:commentsArchive',()=>{const _0x55e4b5=this['_createCommentsArchiveButton'](ckeditor5['MenuBarMenuListItemButtonView']);return _0x55e4b5['set']({'role':'menuitemcheckbox'}),_0x55e4b5;});const _0x3af556=_0x427dc6['plugins']['get'](CommentsArchive),_0x2b9e10=_0x427dc6['plugins']['get']('Annotations'),_0x2c690f=_0x427dc6['plugins']['get']('CommentsRepository');_0x3af556['archivedThreads']['forEach'](_0x413205=>{this['_handleNewThread'](_0x413205);}),this['listenTo'](_0x3af556['archivedThreads'],'add',(_0x2bac23,_0x143863)=>{this['_handleNewThread'](_0x143863);}),this['listenTo'](_0x2b9e10['collection'],'add',(_0x3940f6,_0x8fb2b)=>{const _0x3d252d=this['_pendingThreads']['find'](_0x5b0646=>{const _0x3bfa73=_0x2c690f['_threadToController']['get'](_0x5b0646);return _0x3bfa73&&_0x8fb2b['innerView']===_0x3bfa73['view'];});if(_0x3d252d){const _0x4f2afd=this['_calculatePosition'](_0x3d252d['archivedAt']);this['_addAnnotationToArchive'](_0x8fb2b,_0x4f2afd),this['_pendingThreads']['splice'](this['_pendingThreads']['indexOf'](_0x3d252d),0x1);}}),this['listenTo'](_0x3af556['archivedThreads'],'remove',(_0x2d33e3,_0x34941e)=>{const _0xe63777=_0x427dc6['config']['get']('collaboration.channelId');if(!_0xe63777||_0x34941e['channelId']===_0xe63777){if(this['_pendingThreads']['includes'](_0x34941e))this['_pendingThreads']['splice'](this['_pendingThreads']['indexOf'](_0x34941e),0x1);else{const _0x71599a=_0x2c690f['_threadToController']['get'](_0x34941e),_0x1fd535=_0x2b9e10['getByInnerView'](_0x71599a['view']);this['annotationViews']['remove'](_0x1fd535['view']),this['stopListening'](_0x1fd535),this['stopListening'](_0x1fd535['focusableElements']);}}}),this['listenTo'](_0x2b9e10['collection'],'add',(_0x1b443b,_0x17ebb3)=>{this['listenTo'](_0x17ebb3,'escape',_0x5d0e9a);}),this['listenTo'](_0x2b9e10['collection'],'remove',(_0x173fb9,_0x1ab3dc)=>{this['stopListening'](_0x1ab3dc,'escape',_0x5d0e9a);});}['_addAnnotationToArchive'](_0x401a43,_0x13df7e){this['listenTo'](_0x401a43,'set:isVisible',_0x541137=>{_0x541137['return']=!0x1,_0x541137['stop']();}),this['annotationViews']['add'](_0x401a43['view'],_0x13df7e);}['_handleNewThread'](_0x1a5f3f){const _0x2f036b=this['editor']['plugins']['get']('CommentsRepository'),_0x3bdfd8=this['editor']['plugins']['get']('Annotations'),_0xa53ca4=this['editor']['config']['get']('collaboration.channelId');if(!_0xa53ca4||_0x1a5f3f['channelId']===_0xa53ca4){const _0x4c1509=_0x2f036b['_threadToController']['get'](_0x1a5f3f);if(!_0x4c1509)return void this['_pendingThreads']['push'](_0x1a5f3f);const _0x2c7658=this['_calculatePosition'](_0x1a5f3f['archivedAt']),_0x7dfbf=_0x3bdfd8['getByInnerView'](_0x4c1509['view']);_0x7dfbf['isVisible']&&_0x3bdfd8['_visibleAnnotations']['remove'](_0x7dfbf),this['_addAnnotationToArchive'](_0x7dfbf,_0x2c7658);}}['_calculatePosition'](_0x8535a5){const _0x5f390d=this['editor']['config']['get']('collaboration.channelId'),_0x2777f7=[...this['editor']['plugins']['get'](CommentsArchive)['archivedThreads']]['filter'](_0x9ccc06=>_0x9ccc06['channelId']===_0x5f390d)['findIndex'](_0x4a6bbc=>_0x4a6bbc['archivedAt']<_0x8535a5);return _0x2777f7<0x0||_0x2777f7>this['annotationViews']['length']?this['annotationViews']['length']:_0x2777f7-0x1;}['_toggleDialog'](){const _0x277636=this['editor'],_0x1f8946=_0x277636['plugins']['get']('Dialog');this['commentsArchiveView']||(this['commentsArchiveView']=new CommentsArchiveView(_0x277636['locale'],this['annotationViews'])),'commentsArchive'===_0x1f8946['id']?_0x1f8946['hide']():_0x1f8946['show']({'id':'commentsArchive','title':getTranslation$f(_0x277636['locale'],'COMMENTS_ARCHIVE'),'icon':ckeditor5['IconCommentsArchive'],'hasCloseButton':!0x0,'content':this['commentsArchiveView'],'position':ckeditor5['DialogViewPosition']['EDITOR_TOP_SIDE']});}['_createCommentsArchiveButton'](_0x239da1,_0x57e71f=!0x1){const _0x51f959=this['editor']['locale'],_0x528f63=this['editor']['plugins']['get']('Dialog'),_0x221154=new _0x239da1(_0x51f959);return _0x221154['bind']('isEnabled')['to'](this,'isEnabled'),_0x221154['bind']('isOn')['to'](_0x528f63,'id',_0xcc2954=>'commentsArchive'===_0xcc2954),_0x221154['set']({'label':getTranslation$f(_0x51f959,'COMMENTS_ARCHIVE'),'icon':ckeditor5['IconCommentsArchive'],'isToggleable':!0x0}),_0x57e71f&&(_0x221154['tooltip']=!0x0),this['listenTo'](_0x221154,'execute',()=>this['_toggleDialog']()),_0x221154;}['_hideDialogOnAnnotationEscape']=_0x3a280e=>{const _0x989ac3=_0x3a280e['source'];if(!this['annotationViews']['has'](_0x989ac3['view']))return;const _0x3eb586=this['editor']['plugins']['get']('Dialog');_0x3eb586['isOpen']&&'commentsArchive'===_0x3eb586['id']&&(_0x3eb586['hide'](),_0x3a280e['stop']());};}class Comments extends ckeditor5['Plugin']{static get['requires'](){return[CommentsRepository,CommentsEditing,CommentsUI,CommentsArchive,CommentsArchiveUI,CommentsOnly,_0x120cfd,_0x59e16e,InlineAnnotations];}static get['pluginName'](){return'Comments';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}function getElementText(_0x3dda55){let _0x583465='';for(const _0x5e62ea of _0x3dda55['getChildren']())_0x5e62ea instanceof ckeditor5['ModelText']&&(_0x583465+=_0x5e62ea['data']);return _0x583465;}function getDefaultFeatureHeadingNames(_0x5ad489){const _0x1d1550=_0x5ad489['config']['get']('heading.options');return _0x1d1550?_0x1d1550['reduce']((_0x69f22d,_0x2760db)=>('paragraph'!==_0x2760db['model']&&_0x69f22d['push'](_0x2760db['model']),_0x69f22d),[]):_0x5ad489['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 _0x3c42f3=this['editor'];this['_headingNames']=this['_getHeadingNames']();let _0x370d7c=[];_0x3c42f3['model']['document']['on']('change',_0x4313fa(()=>{const _0x94c409=_0x370d7c;_0x370d7c=this['_getOutlineDefinitions']();const _0x7f5935=ckeditor5['diff'](_0x94c409,_0x370d7c,(_0x31534f,_0x51dbad)=>_0x31534f['level']===_0x51dbad['level']&&_0x31534f['text']===_0x51dbad['text']&&_0x31534f['modelElement']===_0x51dbad['modelElement']),_0xcdb3c1=ckeditor5['diffToChanges'](_0x7f5935,_0x370d7c),_0x3627cd=this['_getActiveHeading'](),_0x10667f=_0x370d7c['findIndex'](_0x791bbe=>_0x791bbe['modelElement']===_0x3627cd);_0xcdb3c1['length']&&this['fire']('change',{'outlineDefinitions':_0x370d7c,'activeItemIndex':_0x10667f,'outlineChanges':_0xcdb3c1}),this['fire']('activeItemIndex',{'index':_0x10667f});},0xfa,{'leading':!0x0,'trailing':!0x0}));}['afterInit'](){this['_headingNames']['length']||this['_deriveHeadingElementsFromConversion']();}['_getOutlineDefinitions'](){const _0x5d2ed1=this['editor'],_0x767c55=[],_0x337113=this['_headingNames'];for(const _0x2c1c5e of _0x5d2ed1['model']['document']['getRootNames']())_0x3037d6(_0x5d2ed1['model']['document']['getRoot'](_0x2c1c5e));function _0x3037d6(_0x2e87dc){for(const _0x5b6b56 of _0x2e87dc['getChildren']())_0x5b6b56['is']('element')&&(_0x337113['includes'](_0x5b6b56['name'])&&_0x767c55['push']({'level':_0x337113['indexOf'](_0x5b6b56['name'])+0x1,'text':getElementText(_0x5b6b56),'modelElement':_0x5b6b56}),_0x3037d6(_0x5b6b56));}return _0x767c55;}['_getActiveHeading'](){const _0x2638ca=this['editor']['model']['document']['selection']['getFirstPosition'](),_0x2bfc9b=new ckeditor5['ModelTreeWalker']({'direction':'backward','startPosition':_0x2638ca});for(const _0x3257a8 of _0x2bfc9b)if(_0x3257a8['item']['is']('element')&&this['_headingNames']['includes'](_0x3257a8['item']['name']))return _0x3257a8['item'];}['_getHeadingNames'](){const _0x348312=this['editor']['config']['get']('documentOutline.headings');return _0x348312||getDefaultFeatureHeadingNames(this['editor']);}['_deriveHeadingElementsFromConversion'](){const _0xacf1b3=this['editor'],_0x4145ec=['h1','h2','h3','h4','h5','h6'],_0x4f196d=[];for(const _0x1f35ad of _0x4145ec){const _0xe1872a=_0xacf1b3['editing']['view']['domConverter']['domToView'](document['createElement'](_0x1f35ad)),_0x4b35f0=_0xacf1b3['data']['toModel'](_0xe1872a)['getChild'](0x0);_0x4b35f0?.['is']('element')&&_0x4f196d['push'](_0x4b35f0['name']);}this['_headingNames']=_0x4f196d;}}function getTranslation$e(_0x259ac3,_0x5ab5e6){const t=_0x259ac3['t'];switch(_0x5ab5e6){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 _0x5ab5e6;}}class DocumentOutlineItemView extends ckeditor5['View']{constructor(_0xa743b3,_0x37c28e=!0x1){super(_0xa743b3);const _0x2e0665=this['bindTemplate'],_0x580416=_0x37c28e?'['+getTranslation$e(_0xa743b3,'Empty\x20heading')+']':'';this['set']('text',''),this['set']('level',0x1),this['set']('isActive',!0x1),this['bind']('isEmpty')['to'](this,'text',_0x5cbc65=>!_0x5cbc65),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-document-outline__item',_0x2e0665['to']('level',_0x2dda81=>'ck-document-outline__item_level-'+_0x2dda81),_0x2e0665['if']('isActive','ck-document-outline__item_active'),_0x2e0665['if']('isEmpty','ck-document-outline__item_empty')],'title':_0x2e0665['to']('text')},'children':[{'text':_0x2e0665['to']('text',_0x1ec3ab=>_0x1ec3ab||_0x580416)}],'on':{'click':_0x2e0665['to']('click')}});}}class DocumentOutlineView extends ckeditor5['View']{['items'];['documentOutlineContainer'];['showEmptyHeadingText'];constructor(_0xb16004,_0x105970=!0x1,_0x3b8985){super(_0xb16004),this['showEmptyHeadingText']=_0x105970,this['set']('activeItemIndex',-0x1),this['documentOutlineContainer']=_0x3b8985,this['items']=this['createCollection'](),this['items']['delegate']('click')['to'](this),this['on']('click',this['_handleItemClick']['bind'](this)),this['on']('change:activeItemIndex',(_0x5aa81f,_0x463d0f,_0x22400f,_0x35171e)=>{this['_setActiveItem'](_0x35171e,_0x22400f);}),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-document-outline'],'dir':_0xb16004['contentLanguageDirection'],'data-document-outline-empty-placeholder':getTranslation$e(_0xb16004,'Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.'),'tabindex':-0x1},'children':this['items']});}['sync'](_0x1528bd){_0x1528bd['forEach'](_0x3cb29b=>{'insert'==_0x3cb29b['type']?this['_insertItem'](_0x3cb29b['index'],..._0x3cb29b['values']):'delete'==_0x3cb29b['type']&&this['_deleteItem'](_0x3cb29b['index'],_0x3cb29b['howMany']);});}['_setActiveItem'](_0x152836,_0x2cd132){if(-0x1!==_0x152836){const _0x2d1ff=this['items']['get'](_0x152836);_0x2d1ff&&(_0x2d1ff['isActive']=!0x1);}-0x1!==_0x2cd132&&(this['items']['get'](_0x2cd132)['isActive']=!0x0,this['_scrollToItem'](_0x2cd132));}['_insertItem'](_0x5c9726,..._0x343d21){const _0x33ebe3=_0x343d21['map']((_0x2dbe34,_0x5d31d5)=>{const _0xe03a80=new DocumentOutlineItemView(this['locale'],this['showEmptyHeadingText']);return _0xe03a80['text']=_0x2dbe34['text'],_0xe03a80['level']=_0x2dbe34['level'],_0x5c9726+_0x5d31d5===this['activeItemIndex']&&(_0xe03a80['isActive']=!0x0),_0xe03a80;});this['items']['addMany'](_0x33ebe3,_0x5c9726);}['_deleteItem'](_0x5aef64,_0xa8879c){do{this['items']['remove'](_0x5aef64);}while(--_0xa8879c);}['_handleItemClick'](_0x2b8592){const _0x1feb97=this['items']['getIndex'](_0x2b8592['source']);this['fire']('itemSelected',_0x1feb97);}['_scrollToItem'](_0x474d77){ckeditor5['scrollAncestorsToShowTarget'](this['items']['get'](_0x474d77)['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(_0x3578b8){super(_0x3578b8),this['view']=new DocumentOutlineView(_0x3578b8['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 _0x53a535=this['editor'],_0x779f16=_0x53a535['plugins']['get']('DocumentOutlineUtils');let _0x152407=!0x1;if(this['view']['render'](),this['editor']['ui']['focusTracker']['add'](this['view']['element']),!_0x53a535['config']['get']('documentOutline.container'))throw new ckeditor5['CKEditorError']('document-outline-container-not-provided',{'editor':_0x53a535});_0x53a535['config']['get']('documentOutline.container')['appendChild'](this['view']['element']),_0x779f16['on']('change',this['_handleOutlineChange']['bind'](this)),_0x779f16['on']('activeItemIndex',(_0x261f5f,{index:_0x27604c})=>this['_setActiveViewItem'](_0x27604c)),this['view']['on']('itemSelected',(_0x5f5628,_0x1a9dcf)=>{_0x152407=!0x0,this['_handleItemSelected'](_0x1a9dcf);}),this['view']['listenTo'](ckeditor5['global']['document'],'scroll',()=>{_0x152407?_0x152407=!0x1:this['_updateActiveDefinitionFromViewportThrottled']();},{'useCapture':!0x0}),this['view']['listenTo'](ckeditor5['global']['window'],'resize',this['_updateActiveDefinitionFromViewportThrottled'],{'useCapture':!0x0});}['afterInit'](){_0x6d848d(this);}['destroy'](){super['destroy'](),this['view']['destroy'](),this['_updateActiveDefinitionFromViewportThrottled']['cancel']();}['_handleOutlineChange'](_0x382cb5,{outlineDefinitions:_0x4733b3,outlineChanges:_0x23a14d}){this['_currentOutlineDefinitions']=_0x4733b3,this['view']['sync'](_0x23a14d);}['_setActiveViewItem'](_0x1678ad){this['_currentOutlineDefinitions']['length']&&this['_currentOutlineDefinitions'][_0x1678ad]&&(this['view']['activeItemIndex']=_0x1678ad);}['_handleItemSelected'](_0x5b23df){const _0x1f99c4=this['_currentOutlineDefinitions'][_0x5b23df]['modelElement'];this['editor']['model']['change'](_0x550ff9=>{_0x550ff9['setSelection'](_0x1f99c4,0x0);}),this['editor']['editing']['view']['scrollToTheSelection']({'alignToTop':!0x0,'forceScroll':!0x0}),this['editor']['editing']['view']['focus'](),this['_setActiveViewItem'](_0x5b23df);}['_updateActiveDefinitionOnViewportChange'](){const _0x16821f=this['editor'];let _0x55af40;for(const _0x95a4ff of _0x16821f['model']['document']['getRootNames']()){const _0x119670=_0x16821f['editing']['view']['getDomRoot'](_0x95a4ff),_0x1870d8=_0x119670&&new ckeditor5['Rect'](_0x119670)['getVisible']();if(_0x1870d8){const _0x490941=new ckeditor5['Rect'](ckeditor5['global']['window'])['getIntersection'](_0x1870d8);_0x490941&&(_0x55af40=_0x490941['top']+0.25*_0x490941['height']);}}if(void 0x0===_0x55af40)return;const _0x2318b5=binaryActiveDefinitionSearch(_0x16821f['editing'],this['_currentOutlineDefinitions'],_0x55af40);_0x2318b5?this['_setActiveViewItem'](this['_currentOutlineDefinitions']['indexOf'](_0x2318b5)):this['_setActiveViewItem'](-0x1);}}function binaryActiveDefinitionSearch(_0x294709,_0x2da82a,_0xd1d3c9,_0x515631=0x0,_0x4cded3=_0x2da82a['length']-0x1){const _0x5c9b10=Math['floor'](_0x515631+(_0x4cded3-_0x515631)/0x2);if(_0x4cded3>=_0x515631){const _0x42b940=_0x2da82a[_0x5c9b10],_0x2a2b7a=_0x294709['mapper']['toViewElement'](_0x42b940['modelElement']);if(!_0x2a2b7a)return null;const _0x26bfd6=_0x294709['view']['domConverter']['mapViewToDom'](_0x2a2b7a);return new ckeditor5['Rect'](_0x26bfd6)['bottom']>_0xd1d3c9?binaryActiveDefinitionSearch(_0x294709,_0x2da82a,_0xd1d3c9,_0x515631,_0x5c9b10-0x1):binaryActiveDefinitionSearch(_0x294709,_0x2da82a,_0xd1d3c9,_0x5c9b10+0x1,_0x4cded3);}return _0x5c9b10<0x0?null:_0x2da82a[_0x5c9b10];}async function _0x6d848d(_0x4c39d2){const _0x471300=_0x3d4d74([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]),_0x32cd1c=window[_0x3d4d74([0x44,0x61,0x74,0x65])][_0x3d4d74([0x6e,0x6f,0x77])](),_0x371cb8=_0x4c39d2[_0x3d4d74([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x5e5f8f=new window[(_0x3d4d74([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xf91c4a=>{_0x371cb8[_0x3d4d74([0x6f,0x6e,0x63,0x65])](_0x3d4d74([0x72,0x65,0x61,0x64,0x79]),_0xf91c4a);}),_0xd0683c={[_0x3d4d74([0x6b,0x74,0x79])]:_0x3d4d74([0x45,0x43]),[_0x3d4d74([0x75,0x73,0x65])]:_0x3d4d74([0x73,0x69,0x67]),[_0x3d4d74([0x63,0x72,0x76])]:_0x3d4d74([0x50,0x2d,0x32,0x35,0x36]),[_0x3d4d74([0x78])]:_0x3d4d74([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]),[_0x3d4d74([0x79])]:_0x3d4d74([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]),[_0x3d4d74([0x61,0x6c,0x67])]:_0x3d4d74([0x45,0x53,0x32,0x35,0x36])},_0x3d3925=_0x371cb8[_0x3d4d74([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x3d4d74([0x67,0x65,0x74])](_0x3d4d74([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x1d3e26=await(async function(){let _0xf50d14,_0x1b0ea0=null,_0x1a43fb=null;try{if(_0x3d3925==_0x3d4d74([0x47,0x50,0x4c]))return _0x3d4d74([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0xf50d14=(function(){const _0x241e8a=_0x3d3925[_0x3d4d74([0x73,0x70,0x6c,0x69,0x74])](_0x3d4d74([0x2e]));if(0x3!=_0x241e8a[_0x3d4d74([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;const _0x7ae4fc=_0x241e8a[0x1];return _0x56fb24(_0x7ae4fc);function _0x56fb24(_0x2f5eb5){const _0x2888b8=_0x36abbb(_0x2f5eb5);return _0x2888b8&&_0x55f434()?_0x2888b8:null;function _0x55f434(){const _0x45d0e7=_0x2888b8[_0x3d4d74([0x6a,0x74,0x69])],_0x42d090=window[_0x3d4d74([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x45d0e7[_0x3d4d74([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x45d0e7[_0x3d4d74([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x2dad77={..._0x2888b8,[_0x3d4d74([0x6a,0x74,0x69])]:_0x45d0e7[_0x3d4d74([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x45d0e7[_0x3d4d74([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x2dad77[_0x3d4d74([0x76,0x63])],_0x3a8c06(_0x2dad77)==_0x42d090;}}}()),!_0xf50d14)return _0x3d4d74([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);_0xf50d14[_0x3d4d74([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x1a43fb=function(_0x3cc231,_0x5ebc5c){return new window[(_0x3d4d74([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x50c409=>{if(_0x1e3b66())return _0x50c409(_0x3d4d74([0x56,0x61,0x6c,0x69,0x64]));_0x2e6001(),_0x371cb8[_0x3d4d74([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x3d4d74([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x153f81=!0x1;const _0x3fd633=ckeditor5['uid']();function _0x136943(_0x3c88d1){return!!_0x3c88d1&&(typeof _0x3c88d1===_0x3d4d74([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x3c88d1===_0x3d4d74([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x3c88d1[_0x3d4d74([0x74,0x68,0x65,0x6e])]===_0x3d4d74([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x3c88d1[_0x3d4d74([0x63,0x61,0x74,0x63,0x68])]===_0x3d4d74([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x28a492(_0x17596b){_0x990bc6(_0x17596b)[_0x3d4d74([0x74,0x68,0x65,0x6e])](_0x167cb4=>{if(!_0x167cb4||_0x167cb4[_0x3d4d74([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x3d4d74([0x6f,0x6b]))return _0x3d4d74([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x248d70(_0x3a8c06(_0x3fd633+_0x5ebc5c))!=_0x167cb4[_0x3d4d74([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x3d4d74([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x3d4d74([0x56,0x61,0x6c,0x69,0x64]);})[_0x3d4d74([0x74,0x68,0x65,0x6e])](_0x127da3=>(_0x219eac(),_0x127da3),()=>{const _0x546ccf=_0x559c9e();return null==_0x546ccf?(_0x219eac(),_0x3d4d74([0x56,0x61,0x6c,0x69,0x64])):_0x3d4d74(_0x32cd1c-_0x546ccf>0x240c8400?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x3d4d74([0x74,0x68,0x65,0x6e])](_0x50c409)[_0x3d4d74([0x63,0x61,0x74,0x63,0x68])](()=>{_0x50c409(_0x3d4d74([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x371951=0x36ee80;function _0x219eac(){const _0x4c08cd=_0x3d4d74([0x6c,0x6c,0x63,0x74,0x2d])+_0x248d70(_0x3a8c06(_0x3cc231)),_0x32c34e=_0x37e29a(_0x248d70(window[_0x3d4d74([0x4d,0x61,0x74,0x68])][_0x3d4d74([0x63,0x65,0x69,0x6c])](_0x32cd1c/_0x371951)));window[_0x3d4d74([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3d4d74([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4c08cd,_0x32c34e);}function _0x559c9e(){const _0x1e6da0=_0x3d4d74([0x6c,0x6c,0x63,0x74,0x2d])+_0x248d70(_0x3a8c06(_0x3cc231)),_0x17a3c4=window[_0x3d4d74([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3d4d74([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1e6da0);return _0x17a3c4?window[_0x3d4d74([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x37e29a(_0x17a3c4),0x10)*_0x371951:null;}function _0x990bc6(_0x18f14a){return new window[(_0x3d4d74([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x505cae,_0x578aa4)=>{_0x18f14a[_0x3d4d74([0x74,0x68,0x65,0x6e])](_0x505cae,_0x578aa4),window[_0x3d4d74([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x578aa4,0x1d4c0);});}}_0x371cb8[_0x3d4d74([0x6f,0x6e])](_0x3d4d74([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x124c32,_0x5376dc)=>{if(_0x5376dc[0x0]!=_0x3cc231)return _0x50c409(_0x3d4d74([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x5376dc[0x1]={..._0x5376dc[0x1],[_0x3d4d74([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x3fd633};},{[_0x3d4d74([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3d4d74([0x68,0x69,0x67,0x68])}),_0x371cb8[_0x3d4d74([0x6f,0x6e])](_0x3d4d74([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x3af5d8=>{_0x136943(_0x3af5d8[_0x3d4d74([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x153f81=!0x0,_0x28a492(_0x3af5d8[_0x3d4d74([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x3d4d74([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3d4d74([0x6c,0x6f,0x77])}),_0x5e5f8f[_0x3d4d74([0x74,0x68,0x65,0x6e])](()=>{_0x153f81||_0x50c409(_0x3d4d74([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x1e3b66(){return _0x371cb8[_0x3d4d74([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3d4d74([0x76,0x69,0x65,0x77])][_0x3d4d74([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x3d4d74([0x61,0x75,0x74,0x6f]);}function _0x2e6001(){_0x371cb8[_0x3d4d74([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3d4d74([0x76,0x69,0x65,0x77])][_0x3d4d74([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x3d4d74([0x61,0x75,0x74,0x6f]);}}(_0xf50d14[_0x3d4d74([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0xf50d14[_0x3d4d74([0x6a,0x74,0x69])]));const _0x487f31=await(async function(){let _0x4df748=!0x0;try{const _0x57c6ef=_0x3d3925[_0x3d4d74([0x73,0x70,0x6c,0x69,0x74])](_0x3d4d74([0x2e])),[_0x57af29,_0x264fce,_0x326877]=_0x57c6ef;return _0x5a3688(_0x57af29),await _0xa6bab6(_0x57af29,_0x264fce,_0x326877),_0x4df748;}catch{return!0x1;}function _0x5a3688(_0x5e37d1){const _0xd29776=_0x36abbb(_0x5e37d1);_0xd29776&&_0xd29776[_0x3d4d74([0x61,0x6c,0x67])]==_0x3d4d74([0x45,0x53,0x32,0x35,0x36])||(_0x4df748=!0x1);}async function _0xa6bab6(_0x2b100a,_0x59328a,_0x4ddece){const _0x496751=window[_0x3d4d74([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x3d4d74([0x66,0x72,0x6f,0x6d])](_0x596072(_0x4ddece),_0x49b597=>_0x49b597[_0x3d4d74([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x5428b1=new window[(_0x3d4d74([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x3d4d74([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x2b100a+_0x3d4d74([0x2e])+_0x59328a),_0x5c3c72=window[_0x3d4d74([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x3d4d74([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x5c3c72)return;const _0x4b4602=await _0x5c3c72[_0x3d4d74([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x3d4d74([0x6a,0x77,0x6b]),_0xd0683c,{[_0x3d4d74([0x6e,0x61,0x6d,0x65])]:_0x3d4d74([0x45,0x43,0x44,0x53,0x41]),[_0x3d4d74([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x3d4d74([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x3d4d74([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x5c3c72[_0x3d4d74([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x3d4d74([0x6e,0x61,0x6d,0x65])]:_0x3d4d74([0x45,0x43,0x44,0x53,0x41]),[_0x3d4d74([0x68,0x61,0x73,0x68])]:{[_0x3d4d74([0x6e,0x61,0x6d,0x65])]:_0x3d4d74([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x4b4602,_0x496751,_0x5428b1)||(_0x4df748=!0x1);}}());return _0x487f31?(function(){const _0x3aeef5=_0xf50d14[_0x3d4d74([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];if(!_0x3aeef5)return!0x1;if(_0x3aeef5[_0x3d4d74([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3d4d74([0x2a])))return!0x0;if(_0x3aeef5[_0x3d4d74([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3d4d74([0x44,0x4f])))return!0x0;if(_0x3aeef5[_0x3d4d74([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3d4d74([0x50,0x50])))return!0x0;if(_0x3aeef5[_0x3d4d74([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3d4d74([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))&&window[_0x3d4d74([0x67,0x6c,0x6f,0x62])]&&window[_0x3d4d74([0x67,0x6c,0x6f,0x62])][_0x3d4d74([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])])return!0x0;return!0x1;}())?(function(){const _0x2deefd=[_0x3d4d74([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x3d4d74([0x74,0x72,0x69,0x61,0x6c])][_0x3d4d74([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xf50d14[_0x3d4d74([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x32cd1c/0x3e8:0x68f03580;return _0xf50d14[_0x3d4d74([0x65,0x78,0x70])]<_0x2deefd;}())?_0x3d4d74([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):(function(){const _0x22e7e2=_0xf50d14[_0x3d4d74([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x22e7e2||0x0==_0x22e7e2[_0x3d4d74([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x2c7da4}=new URL(window[_0x3d4d74([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x22e7e2[_0x3d4d74([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2c7da4))return!0x0;const _0x324175=_0x2c7da4[_0x3d4d74([0x73,0x70,0x6c,0x69,0x74])](_0x3d4d74([0x2e]));return _0x22e7e2[_0x3d4d74([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x43e9d2=>_0x43e9d2[_0x3d4d74([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3d4d74([0x2a])))[_0x3d4d74([0x6d,0x61,0x70])](_0x23179f=>_0x23179f[_0x3d4d74([0x73,0x70,0x6c,0x69,0x74])](_0x3d4d74([0x2e])))[_0x3d4d74([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1e3143=>_0x1e3143[_0x3d4d74([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x324175[_0x3d4d74([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3d4d74([0x6d,0x61,0x70])](_0x18ab9c=>Array(_0x324175[_0x3d4d74([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x18ab9c[_0x3d4d74([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3d4d74([0x66,0x69,0x6c,0x6c])](_0x18ab9c[0x0]===_0x3d4d74([0x2a])?_0x3d4d74([0x2a]):'')[_0x3d4d74([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x18ab9c))[_0x3d4d74([0x73,0x6f,0x6d,0x65])](_0x3e1222=>_0x324175[_0x3d4d74([0x65,0x76,0x65,0x72,0x79])]((_0x1b90bf,_0x45b297)=>_0x3e1222[_0x45b297]===_0x1b90bf||_0x3e1222[_0x45b297]===_0x3d4d74([0x2a])));}())?(_0xf50d14[_0x3d4d74([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3d4d74([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x1b0ea0=_0x52150d(_0x3d4d74([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0xf50d14[_0x3d4d74([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3d4d74([0x74,0x72,0x69,0x61,0x6c])&&(_0x1b0ea0=_0x52150d(_0x3d4d74([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await(function(){if(_0x1b0ea0&&_0x1a43fb)return new window[(_0x3d4d74([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x59ca22,_0x3eaea6)=>{_0x1b0ea0[_0x3d4d74([0x74,0x68,0x65,0x6e])](_0x59ca22,_0x3eaea6),_0x1a43fb[_0x3d4d74([0x74,0x68,0x65,0x6e])](_0x1c7458=>{_0x1c7458!=_0x3d4d74([0x56,0x61,0x6c,0x69,0x64])&&_0x59ca22(_0x1c7458);},_0x3eaea6);});return _0x1b0ea0||_0x1a43fb||_0x3d4d74([0x56,0x61,0x6c,0x69,0x64]);}())):_0x3d4d74([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x3d4d74([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x3d4d74([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x3d4d74([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}}());function _0x52150d(_0x2f81eb){const _0x42e85f=[new window[(_0x3d4d74([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5a66ec=>setTimeout(_0x5a66ec,0x93ecc)),_0x5e5f8f[_0x3d4d74([0x74,0x68,0x65,0x6e])](()=>new window[(_0x3d4d74([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x27083e=>{let _0x1c14d2=0x0;_0x371cb8[_0x3d4d74([0x6d,0x6f,0x64,0x65,0x6c])][_0x3d4d74([0x6f,0x6e])](_0x3d4d74([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x3bc697,_0x5c2205)=>{_0x5c2205[0x0][_0x3d4d74([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x1c14d2++,0x1f8==_0x1c14d2&&(_0x27083e(),_0x3bc697[_0x3d4d74([0x6f,0x66,0x66])]());});}))];return window[_0x3d4d74([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x3d4d74([0x72,0x61,0x63,0x65])](_0x42e85f)[_0x3d4d74([0x74,0x68,0x65,0x6e])](()=>_0x2f81eb);}function _0x36abbb(_0x450fc5){return _0x450fc5[_0x3d4d74([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x3d4d74([0x65,0x79]))?JSON[_0x3d4d74([0x70,0x61,0x72,0x73,0x65])](_0x596072(_0x450fc5)):null;}function _0x596072(_0x2cd17e){return window[_0x3d4d74([0x61,0x74,0x6f,0x62])](_0x2cd17e[_0x3d4d74([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x3d4d74([0x2b]))[_0x3d4d74([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x3d4d74([0x2f])));}function _0x3a8c06(_0x43a606){let _0x1cc6a2=0x1505;function _0x5c9905(_0xd4568f){for(let _0x14d95d=0x0;_0x14d95d<_0xd4568f[_0x3d4d74([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x14d95d++){const _0x4a06ca=_0xd4568f[_0x3d4d74([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x14d95d);_0x1cc6a2=(_0x1cc6a2<<0x5)+_0x1cc6a2+_0x4a06ca,_0x1cc6a2&=_0x1cc6a2;}}return function _0x468459(_0x45fae1){Array[_0x3d4d74([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x45fae1)?_0x45fae1[_0x3d4d74([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x468459):_0x45fae1&&typeof _0x45fae1==_0x3d4d74([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x3d4d74([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x45fae1)[_0x3d4d74([0x73,0x6f,0x72,0x74])]()[_0x3d4d74([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x5b233f,_0x4560af])=>{_0x5c9905(_0x5b233f),_0x468459(_0x4560af);}):_0x5c9905(window[_0x3d4d74([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x45fae1));}(_0x43a606),_0x1cc6a2>>>0x0;}function _0x248d70(_0x239155){return _0x239155[_0x3d4d74([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x3d4d74([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x3d4d74([0x30]));}function _0x37e29a(_0x2b901f){return _0x2b901f[_0x3d4d74([0x73,0x70,0x6c,0x69,0x74])]('')[_0x3d4d74([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x3d4d74([0x6a,0x6f,0x69,0x6e])]('');}function _0x10ff9e(){}function _0x3d4d74(_0x206ed3){return _0x206ed3['map'](_0x475545=>String['fromCharCode'](_0x475545))['join']('');}!function(_0x1385d8){const _0xf5ed8=(function(){const _0x5788d7=window[_0x3d4d74([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x3d4d74([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3d4d74([0x6e,0x6f,0x77])]())[_0x3d4d74([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3d4d74([0x2e]),'');let _0x35d782=_0x3d4d74([0x61]);for(let _0x31e787=0x0;_0x31e787<_0x5788d7[_0x3d4d74([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x31e787+=0x2){let _0x50fbe7=window[_0x3d4d74([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5788d7[_0x3d4d74([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x31e787,_0x31e787+0x2));_0x50fbe7>=_0x471300[_0x3d4d74([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x50fbe7-=_0x471300[_0x3d4d74([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x35d782+=_0x471300[_0x50fbe7];}return _0x35d782;}());_0x371cb8[_0xf5ed8]=_0x3d4d74([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])+_0x1385d8,_0x1385d8!=_0x3d4d74([0x56,0x61,0x6c,0x69,0x64])&&(async function(){await _0x5e5f8f,_0x371cb8[_0x3d4d74([0x6d,0x6f,0x64,0x65,0x6c])][_0x3d4d74([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x10ff9e,_0x371cb8[_0x3d4d74([0x6d,0x6f,0x64,0x65,0x6c])][_0x3d4d74([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x10ff9e,_0x371cb8[_0x3d4d74([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3d4d74([0x6d,0x6f,0x64,0x65,0x6c]));}());}(_0x1d3e26);}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 _0x57e7bd=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x3341bb;for(const _0x561767 in _0x57e7bd){const _0x550df9=_0x561767,_0x95c8b0=_0x57e7bd[_0x550df9];if('documentOutlineLicenseKeyValid'==_0x95c8b0||'documentOutlineLicenseKeyInvalid'==_0x95c8b0||'documentOutlineLicenseKeyExpired'==_0x95c8b0||'documentOutlineLicenseKeyDomainLimit'==_0x95c8b0||'documentOutlineLicenseKeyNotAllowed'==_0x95c8b0||'documentOutlineLicenseKeyEvaluationLimit'==_0x95c8b0||'documentOutlineLicenseKeyTrialLimit'==_0x95c8b0||'documentOutlineLicenseKeyUsageLimit'==_0x95c8b0){delete _0x57e7bd[_0x550df9],_0x3341bb=_0x95c8b0,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'documentOutlineLicenseKeyInvalid'==_0x3341bb&&_0x57e7bd['_showLicenseError']('invalid'),'documentOutlineLicenseKeyExpired'==_0x3341bb&&_0x57e7bd['_showLicenseError']('expired'),'documentOutlineLicenseKeyDomainLimit'==_0x3341bb&&_0x57e7bd['_showLicenseError']('domainLimit'),'documentOutlineLicenseKeyNotAllowed'==_0x3341bb&&_0x57e7bd['_showLicenseError']('featureNotAllowed','DocumentOutline'),'documentOutlineLicenseKeyEvaluationLimit'==_0x3341bb&&_0x57e7bd['_showLicenseError']('evaluationLimit'),'documentOutlineLicenseKeyTrialLimit'==_0x3341bb&&_0x57e7bd['_showLicenseError']('trialLimit'),'documentOutlineLicenseKeyUsageLimit'==_0x3341bb&&_0x57e7bd['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}class TableOfContentsCommand extends ckeditor5['Command']{['execute'](){this['editor']['model']['change'](_0x2a0474=>{this['editor']['model']['insertObject'](_0x2a0474['createElement']('tableOfContents'));});}['refresh'](){const _0x20a891=this['editor']['model'],_0x3f34f2=_0x20a891['document']['selection']['getFirstPosition']();this['isEnabled']=null!==(_0x3f34f2&&_0x20a891['schema']['findAllowedParent'](_0x3f34f2,'tableOfContents'));}}class _0x30325b extends ckeditor5['Plugin']{static get['pluginName'](){return'HeadingId';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const _0x3aa830=this['editor'];if(_0x3aa830['config']['get']('headingId.modelAttributeName'))return;getDefaultHeadingMapNames(this['editor']['config']['get']('heading.options'))['forEach']((_0x5c54c6,_0x391ad3)=>{this['_customUpcastHeadingsConversion'](_0x391ad3),this['_customDataDowncastHeadingsConversion'](_0x5c54c6),_0x3aa830['model']['schema']['isRegistered'](_0x5c54c6)&&_0x3aa830['model']['schema']['extend'](_0x5c54c6,{'allowAttributes':'headingId'});}),this['_registerHeadingIdAttributePostfixer']();}['_customUpcastHeadingsConversion'](_0x306645){this['editor']['conversion']['for']('upcast')['add'](_0x16d170=>_0x16d170['on']('element:'+_0x306645,(_0x2a1e00,_0xfbf91,_0x3938ab)=>{const {consumable:_0x11877d,writer:_0x3a06a}=_0x3938ab,_0x57a5ac=_0xfbf91['viewItem']['getAttribute']('id'),_0x25922e=_0xfbf91['modelRange']['getContainedElement']();if(_0x25922e)return _0x57a5ac&&_0x57a5ac['length']||_0x25922e['hasAttribute']('headingId')?void(_0x11877d['consume'](_0xfbf91['viewItem'],{'attributes':['id']})&&_0x3a06a['setAttribute']('headingId',_0x57a5ac,_0x25922e)):(_0x11877d['consume'](_0xfbf91['viewItem'],{'attributes':['id']}),void _0x3a06a['setAttribute']('headingId',ckeditor5['uid'](),_0x25922e));},{'priority':ckeditor5['priorities']['get']('low')+0.5}));}['_customDataDowncastHeadingsConversion'](_0x5ca878){this['editor']['conversion']['for']('downcast')['add'](_0x49a230=>_0x49a230['on']('attribute:headingId:'+_0x5ca878,(_0x571581,_0x37d53b,_0x5837a6)=>{if(!_0x5837a6['consumable']['consume'](_0x37d53b['item'],_0x571581['name']))return;const _0x138806=_0x37d53b['item']['getAttribute']('headingId'),_0x263525=_0x5837a6['mapper']['toViewElement'](_0x37d53b['item']);_0x5837a6['writer']['setAttribute']('id',_0x138806,_0x263525);}));}['_registerHeadingIdAttributePostfixer'](){const _0x1ea39d=this['editor'],_0x243486=new Set(),_0x1e4be6=new Set();function _0x3dc221(_0x201b0e,_0x110e24){const _0x49a9e4=ckeditor5['uid']();return _0x1e4be6['add'](_0x49a9e4),_0x201b0e['setAttribute']('headingId',_0x49a9e4,_0x110e24),_0x49a9e4;}function _0xa95e9c(_0xa9f755,_0x1b6184){_0xa9f755['removeAttribute']('headingId',_0x1b6184);}_0x1ea39d['model']['document']['registerPostFixer'](_0xa9af2=>{const _0x365c73=_0x1ea39d['model']['document']['differ']['getChanges']();let _0x239607=!0x1;for(const _0xac9fc6 of _0x365c73)if('insert'==_0xac9fc6['type']&&_0xac9fc6['name']){if(_0x59355e(_0xac9fc6['name'])){const _0x15c7fc=_0xac9fc6['attributes']['get']('headingId');'string'==typeof _0x15c7fc?_0x243486['has'](_0x15c7fc)?(_0x3dc221(_0xa9af2,_0xac9fc6['position']['nodeAfter']),_0x239607=!0x0):_0x1e4be6['add'](_0x15c7fc):(_0x3dc221(_0xa9af2,_0xac9fc6['position']['nodeAfter']),_0x239607=!0x0);}else'string'==typeof _0xac9fc6['attributes']['get']('headingId')&&(_0xa95e9c(_0xa9af2,_0xac9fc6['position']['nodeAfter']),_0x239607=!0x0);}else{if('remove'==_0xac9fc6['type']){const _0x5e6ebe=_0xac9fc6['attributes']['get']('headingId');'string'==typeof _0x5e6ebe&&_0x243486['delete'](_0x5e6ebe);}}return _0x239607;}),_0x1ea39d['model']['document']['on']('change',()=>{_0x1e4be6['forEach'](_0x2f4163=>_0x243486['add'](_0x2f4163)),_0x1e4be6['clear']();});}}function _0x59355e(_0x27e143){return!!_0x27e143['match'](/heading\d/);}function getDefaultHeadingMapNames(_0x1b3e4e){const _0x119483=new Map();return _0x1b3e4e?(_0x1b3e4e['forEach'](_0x14efa2=>{'paragraph'!==_0x14efa2['model']&&_0x119483['set'](_0x14efa2['view'],_0x14efa2['model']);}),_0x119483['get']('h1')||_0x119483['set']('h1','heading1'),_0x119483):_0x119483;}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,_0x30325b];}['_currentOutlineDefinitions'];['_tableOfContentsElements'];['_headingIdModelAttributeName'];constructor(_0x5613f3){super(_0x5613f3),this['_currentOutlineDefinitions']=[],this['_tableOfContentsElements']=new Set(),this['_headingIdModelAttributeName']='headingId';}['init'](){const _0x53ab0f=this['editor'],_0x5735a7=_0x53ab0f['editing']['view']['document'];_0x53ab0f['config']['get']('headingId.modelAttributeName')&&(this['_headingIdModelAttributeName']=_0x53ab0f['config']['get']('headingId.modelAttributeName')),this['listenTo'](_0x5735a7,'click',(_0x1fe051,_0x1c944c)=>{if(!_0x1c944c['target'])return;const _0x10b0d3=_0x1c944c['target']['getCustomProperty']('tableOfContentsHeadingIndex');Number['isInteger'](_0x10b0d3)&&(_0x1c944c['domEvent']['preventDefault'](),_0x1fe051['stop'](),this['_handleScrollToHeading'](_0x10b0d3));},{'priority':'high','context':'$capture'}),this['_defineSchema'](),this['_defineConverters'](),_0x53ab0f['commands']['add']('insertTableOfContents',new TableOfContentsCommand(_0x53ab0f)),(_0x53ab0f['plugins']['get']('DocumentOutlineUtils')['on']('change',(_0x5e93b1,_0x218e00)=>{this['_currentOutlineDefinitions']=_0x218e00['outlineDefinitions'],this['_updateTableOfContentsElements']();}),this['listenTo'](_0x53ab0f['model']['document'],'change',()=>{this['_trackNewToCElements']();}));}['afterInit'](){_0x586099(this);}['_updateTableOfContentsElements'](){this['_tableOfContentsElements']['forEach'](_0x310d86=>{'$graveyard'!==_0x310d86['rootName']&&this['editor']['editing']['reconvertItem'](_0x310d86);});}['_trackNewToCElements'](){for(const _0x353181 of this['editor']['model']['document']['differ']['getChanges']({'includeChangesInGraveyard':!0x0})){if('insert'!==_0x353181['type']||'tableOfContents'!==_0x353181['name'])return;this['_tableOfContentsElements']['add'](_0x353181['position']['nodeAfter']);}}['_defineSchema'](){this['editor']['model']['schema']['register']('tableOfContents',{'inheritAllFrom':'$blockObject'});}['_defineConverters'](){const _0x236e13=this['editor']['conversion'];_0x236e13['for']('upcast')['elementToElement']({'model':'tableOfContents','view':{'name':'div','classes':'table-of-contents'}}),_0x236e13['for']('dataDowncast')['elementToStructure']({'model':'tableOfContents','view':(_0x1ae345,{writer:_0x46efc2})=>this['_createTableOfContents'](_0x46efc2,!0x0)}),_0x236e13['for']('editingDowncast')['elementToStructure']({'model':'tableOfContents','view':(_0x51de22,{writer:_0x425775})=>{this['_tableOfContentsElements']['add'](_0x51de22);const _0x4c9176=this['_createTableOfContents'](_0x425775);return ckeditor5['toWidget'](_0x4c9176,_0x425775,{'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'](_0x189cdb,_0xa824bc=!0x1){const {locale:_0x4b0587}=this['editor'],_0x57396c=_0x189cdb['createContainerElement']('div',{'class':'table-of-contents'+(0x0===this['_currentOutlineDefinitions']['length']?'\x20table-of-contents_empty':''),...!_0xa824bc&&{'data-table-of-contents-label':getTranslation$e(_0x4b0587,'Table\x20of\x20contents')}});0x0===this['_currentOutlineDefinitions']['length']&&!0x1===_0xa824bc&&_0x189cdb['insert'](_0x189cdb['createPositionAt'](_0x57396c,'end'),_0x189cdb['createContainerElement']('p',{'class':'table-of-contents__placeholder'},[_0x189cdb['createText'](getTranslation$e(_0x4b0587,'No\x20headings\x20were\x20found\x20in\x20the\x20document.'))]));const _0x12581e=_0xa824bc?'':'['+getTranslation$e(_0x4b0587,'Empty\x20heading')+']';let _0x582768=_0x57396c;return this['_currentOutlineDefinitions']['forEach']((_0x5d2e12,_0xd85521,_0x15c005)=>{const _0x721d7f=this['editor']['model']['hasContent'](_0x5d2e12['modelElement'],{'ignoreWhitespaces':!0x0}),_0x520c88=_0x721d7f?_0x5d2e12['text']:_0x12581e,_0x23d766=_0x5d2e12['modelElement']['getAttribute'](this['_headingIdModelAttributeName']),_0x3036b9=_0x189cdb['createContainerElement']('a',{'href':'#'+_0x23d766,...!_0xa824bc&&{'tabindex':'-1'}},[_0x189cdb['createText'](_0x520c88)]),_0x11224e=this['editor']['config']['get']('documentOutline.showEmptyHeadings');_0x189cdb['setCustomProperty']('tableOfContentsHeadingIndex',_0xd85521,_0x3036b9);const _0x27563e=_0x189cdb['createContainerElement']('li',null,[_0x721d7f||!_0xa824bc&&_0x11224e?_0x3036b9:_0x189cdb['createText']('')]),_0xfe7ce2=_0xd85521?_0x15c005[_0xd85521-0x1]['level']:0x0,_0x381305=Math['abs'](_0x5d2e12['level']-_0xfe7ce2);if(_0x5d2e12['level']>_0xfe7ce2){const _0x42c1cc=wrapInList(_0x27563e,_0x381305,_0x189cdb);_0x189cdb['insert'](_0x189cdb['createPositionAt'](_0x582768,'end'),_0x42c1cc);}else{const _0x5aadd6=getOuterListByLevelDifference(_0x582768,_0x381305);_0x189cdb['insert'](_0x189cdb['createPositionAt'](_0x5aadd6,'end'),_0x27563e);}_0x582768=_0x27563e;}),_0x57396c;}['_handleScrollToHeading'](_0x1ec97e){const _0x5f5ae3=this['_currentOutlineDefinitions'][_0x1ec97e]['modelElement'];this['editor']['model']['change'](_0x40c5d5=>{_0x40c5d5['setSelection'](_0x5f5ae3,0x0);}),this['editor']['editing']['view']['scrollToTheSelection']({'alignToTop':!0x0,'forceScroll':!0x0});}['_redirectMapper'](){return(_0x200d50,_0x264c98)=>{const _0x911398=_0x264c98['mapper'],_0x3f6fd2=_0x911398['findMappedViewAncestor'](_0x264c98['viewPosition']),_0x492b65=_0x911398['toModelElement'](_0x3f6fd2);_0x492b65['is']('element','tableOfContents')&&(_0x264c98['modelPosition']=this['editor']['model']['createPositionAt'](_0x492b65,0x0),_0x200d50['stop']());};}}function wrapInList(_0x65486c,_0x1eb136,_0x4499dc){return 0x1===_0x1eb136?_0x4499dc['createContainerElement']('ol',null,[_0x65486c]):_0x4499dc['createContainerElement']('ol',null,[_0x4499dc['createContainerElement']('li',null,[wrapInList(_0x65486c,_0x1eb136-0x1,_0x4499dc)])]);}function getOuterListByLevelDifference(_0x8c3f76,_0x578393){return _0x8c3f76['getAncestors']({'includeSelf':!0x0,'parentFirst':!0x0})['filter'](_0x309e9b=>_0x309e9b['is']('element','ol'))[_0x578393];}async function _0x586099(_0x237d73){const _0x45b7a8=_0x2cdad9([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]),_0x57400f=window[_0x2cdad9([0x44,0x61,0x74,0x65])][_0x2cdad9([0x6e,0x6f,0x77])](),_0x367988=_0x237d73[_0x2cdad9([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x242c8b=new window[(_0x2cdad9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xbe0193=>{_0x367988[_0x2cdad9([0x6f,0x6e,0x63,0x65])](_0x2cdad9([0x72,0x65,0x61,0x64,0x79]),_0xbe0193);}),_0xad6c17={[_0x2cdad9([0x6b,0x74,0x79])]:_0x2cdad9([0x45,0x43]),[_0x2cdad9([0x75,0x73,0x65])]:_0x2cdad9([0x73,0x69,0x67]),[_0x2cdad9([0x63,0x72,0x76])]:_0x2cdad9([0x50,0x2d,0x32,0x35,0x36]),[_0x2cdad9([0x78])]:_0x2cdad9([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]),[_0x2cdad9([0x79])]:_0x2cdad9([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]),[_0x2cdad9([0x61,0x6c,0x67])]:_0x2cdad9([0x45,0x53,0x32,0x35,0x36])},_0x204974=_0x367988[_0x2cdad9([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x2cdad9([0x67,0x65,0x74])](_0x2cdad9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x19818b=await(async function(){let _0x589c14,_0x2a02ca=null,_0x23e00c=null;try{if(_0x204974==_0x2cdad9([0x47,0x50,0x4c]))return _0x2cdad9([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x589c14=(function(){const _0x20f4c9=_0x204974[_0x2cdad9([0x73,0x70,0x6c,0x69,0x74])](_0x2cdad9([0x2e]));if(0x3!=_0x20f4c9[_0x2cdad9([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;const _0x23480a=_0x20f4c9[0x1];return _0x18175c(_0x23480a);function _0x18175c(_0x2648a2){const _0x2864ca=_0xe203a8(_0x2648a2);return _0x2864ca&&_0x32000a()?_0x2864ca:null;function _0x32000a(){const _0x2e9047=_0x2864ca[_0x2cdad9([0x6a,0x74,0x69])],_0x186b15=window[_0x2cdad9([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2e9047[_0x2cdad9([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2e9047[_0x2cdad9([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x245e41={..._0x2864ca,[_0x2cdad9([0x6a,0x74,0x69])]:_0x2e9047[_0x2cdad9([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x2e9047[_0x2cdad9([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x245e41[_0x2cdad9([0x76,0x63])],_0x4ba64c(_0x245e41)==_0x186b15;}}}()),!_0x589c14)return _0x2cdad9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);_0x589c14[_0x2cdad9([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x23e00c=function(_0x3f4331,_0x32b2a4){return new window[(_0x2cdad9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4f947c=>{if(_0x33b2de())return _0x4f947c(_0x2cdad9([0x56,0x61,0x6c,0x69,0x64]));_0x2be225(),_0x367988[_0x2cdad9([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x2cdad9([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x2f0fb0=!0x1;const _0x372870=ckeditor5['uid']();function _0x1da504(_0x55a50b){return!!_0x55a50b&&(typeof _0x55a50b===_0x2cdad9([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x55a50b===_0x2cdad9([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x55a50b[_0x2cdad9([0x74,0x68,0x65,0x6e])]===_0x2cdad9([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x55a50b[_0x2cdad9([0x63,0x61,0x74,0x63,0x68])]===_0x2cdad9([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x4e9956(_0x5b4db2){_0x8ead1a(_0x5b4db2)[_0x2cdad9([0x74,0x68,0x65,0x6e])](_0x31c72c=>{if(!_0x31c72c||_0x31c72c[_0x2cdad9([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x2cdad9([0x6f,0x6b]))return _0x2cdad9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x3c921d(_0x4ba64c(_0x372870+_0x32b2a4))!=_0x31c72c[_0x2cdad9([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x2cdad9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x2cdad9([0x56,0x61,0x6c,0x69,0x64]);})[_0x2cdad9([0x74,0x68,0x65,0x6e])](_0x33e16f=>(_0xad8d0b(),_0x33e16f),()=>{const _0x539912=_0xf184ac();return null==_0x539912?(_0xad8d0b(),_0x2cdad9([0x56,0x61,0x6c,0x69,0x64])):_0x2cdad9(_0x57400f-_0x539912>0x240c8400?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x2cdad9([0x74,0x68,0x65,0x6e])](_0x4f947c)[_0x2cdad9([0x63,0x61,0x74,0x63,0x68])](()=>{_0x4f947c(_0x2cdad9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x1a4104=0x36ee80;function _0xad8d0b(){const _0x519c40=_0x2cdad9([0x6c,0x6c,0x63,0x74,0x2d])+_0x3c921d(_0x4ba64c(_0x3f4331)),_0x3e2a7e=_0x506dce(_0x3c921d(window[_0x2cdad9([0x4d,0x61,0x74,0x68])][_0x2cdad9([0x63,0x65,0x69,0x6c])](_0x57400f/_0x1a4104)));window[_0x2cdad9([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2cdad9([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x519c40,_0x3e2a7e);}function _0xf184ac(){const _0x570e74=_0x2cdad9([0x6c,0x6c,0x63,0x74,0x2d])+_0x3c921d(_0x4ba64c(_0x3f4331)),_0x226071=window[_0x2cdad9([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2cdad9([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x570e74);return _0x226071?window[_0x2cdad9([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x506dce(_0x226071),0x10)*_0x1a4104:null;}function _0x8ead1a(_0x3a8b33){return new window[(_0x2cdad9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2f9fba,_0x319cde)=>{_0x3a8b33[_0x2cdad9([0x74,0x68,0x65,0x6e])](_0x2f9fba,_0x319cde),window[_0x2cdad9([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x319cde,0x1d4c0);});}}_0x367988[_0x2cdad9([0x6f,0x6e])](_0x2cdad9([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x5aee60,_0x3d64c9)=>{if(_0x3d64c9[0x0]!=_0x3f4331)return _0x4f947c(_0x2cdad9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x3d64c9[0x1]={..._0x3d64c9[0x1],[_0x2cdad9([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x372870};},{[_0x2cdad9([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2cdad9([0x68,0x69,0x67,0x68])}),_0x367988[_0x2cdad9([0x6f,0x6e])](_0x2cdad9([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x52e286=>{_0x1da504(_0x52e286[_0x2cdad9([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x2f0fb0=!0x0,_0x4e9956(_0x52e286[_0x2cdad9([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x2cdad9([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2cdad9([0x6c,0x6f,0x77])}),_0x242c8b[_0x2cdad9([0x74,0x68,0x65,0x6e])](()=>{_0x2f0fb0||_0x4f947c(_0x2cdad9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x33b2de(){return _0x367988[_0x2cdad9([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2cdad9([0x76,0x69,0x65,0x77])][_0x2cdad9([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x2cdad9([0x61,0x75,0x74,0x6f]);}function _0x2be225(){_0x367988[_0x2cdad9([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2cdad9([0x76,0x69,0x65,0x77])][_0x2cdad9([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2cdad9([0x61,0x75,0x74,0x6f]);}}(_0x589c14[_0x2cdad9([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x589c14[_0x2cdad9([0x6a,0x74,0x69])]));const _0xd2716a=await(async function(){let _0x4d7985=!0x0;try{const _0x352c88=_0x204974[_0x2cdad9([0x73,0x70,0x6c,0x69,0x74])](_0x2cdad9([0x2e])),[_0x57768b,_0x2b82db,_0x20c140]=_0x352c88;return _0x2f6011(_0x57768b),await _0x18f1ea(_0x57768b,_0x2b82db,_0x20c140),_0x4d7985;}catch{return!0x1;}function _0x2f6011(_0x4c1d94){const _0x1204d4=_0xe203a8(_0x4c1d94);_0x1204d4&&_0x1204d4[_0x2cdad9([0x61,0x6c,0x67])]==_0x2cdad9([0x45,0x53,0x32,0x35,0x36])||(_0x4d7985=!0x1);}async function _0x18f1ea(_0x49f5d8,_0x36cc32,_0x3e640b){const _0x3eb63f=window[_0x2cdad9([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x2cdad9([0x66,0x72,0x6f,0x6d])](_0x5e5b33(_0x3e640b),_0x486ab3=>_0x486ab3[_0x2cdad9([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x2ce3b1=new window[(_0x2cdad9([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x2cdad9([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x49f5d8+_0x2cdad9([0x2e])+_0x36cc32),_0x2a69cc=window[_0x2cdad9([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x2cdad9([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x2a69cc)return;const _0x580686=await _0x2a69cc[_0x2cdad9([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x2cdad9([0x6a,0x77,0x6b]),_0xad6c17,{[_0x2cdad9([0x6e,0x61,0x6d,0x65])]:_0x2cdad9([0x45,0x43,0x44,0x53,0x41]),[_0x2cdad9([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x2cdad9([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x2cdad9([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x2a69cc[_0x2cdad9([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x2cdad9([0x6e,0x61,0x6d,0x65])]:_0x2cdad9([0x45,0x43,0x44,0x53,0x41]),[_0x2cdad9([0x68,0x61,0x73,0x68])]:{[_0x2cdad9([0x6e,0x61,0x6d,0x65])]:_0x2cdad9([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x580686,_0x3eb63f,_0x2ce3b1)||(_0x4d7985=!0x1);}}());return _0xd2716a?(function(){const _0x1542d0=_0x589c14[_0x2cdad9([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];if(!_0x1542d0)return!0x1;if(_0x1542d0[_0x2cdad9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2cdad9([0x2a])))return!0x0;if(_0x1542d0[_0x2cdad9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2cdad9([0x54,0x4f,0x43])))return!0x0;if(_0x1542d0[_0x2cdad9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2cdad9([0x50,0x50])))return!0x0;if(_0x1542d0[_0x2cdad9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2cdad9([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))&&window[_0x2cdad9([0x67,0x6c,0x6f,0x62])]&&window[_0x2cdad9([0x67,0x6c,0x6f,0x62])][_0x2cdad9([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])])return!0x0;return!0x1;}())?(function(){const _0x3c9fdd=[_0x2cdad9([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x2cdad9([0x74,0x72,0x69,0x61,0x6c])][_0x2cdad9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x589c14[_0x2cdad9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x57400f/0x3e8:0x68f03580;return _0x589c14[_0x2cdad9([0x65,0x78,0x70])]<_0x3c9fdd;}())?_0x2cdad9([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):(function(){const _0x1f223d=_0x589c14[_0x2cdad9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x1f223d||0x0==_0x1f223d[_0x2cdad9([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x2e69d3}=new URL(window[_0x2cdad9([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x1f223d[_0x2cdad9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2e69d3))return!0x0;const _0xeca2c=_0x2e69d3[_0x2cdad9([0x73,0x70,0x6c,0x69,0x74])](_0x2cdad9([0x2e]));return _0x1f223d[_0x2cdad9([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x347291=>_0x347291[_0x2cdad9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2cdad9([0x2a])))[_0x2cdad9([0x6d,0x61,0x70])](_0x21d2aa=>_0x21d2aa[_0x2cdad9([0x73,0x70,0x6c,0x69,0x74])](_0x2cdad9([0x2e])))[_0x2cdad9([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1912ca=>_0x1912ca[_0x2cdad9([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0xeca2c[_0x2cdad9([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2cdad9([0x6d,0x61,0x70])](_0x41ec54=>Array(_0xeca2c[_0x2cdad9([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x41ec54[_0x2cdad9([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2cdad9([0x66,0x69,0x6c,0x6c])](_0x41ec54[0x0]===_0x2cdad9([0x2a])?_0x2cdad9([0x2a]):'')[_0x2cdad9([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x41ec54))[_0x2cdad9([0x73,0x6f,0x6d,0x65])](_0x5a5965=>_0xeca2c[_0x2cdad9([0x65,0x76,0x65,0x72,0x79])]((_0x8ed81b,_0x749279)=>_0x5a5965[_0x749279]===_0x8ed81b||_0x5a5965[_0x749279]===_0x2cdad9([0x2a])));}())?(_0x589c14[_0x2cdad9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2cdad9([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x2a02ca=_0x47855a(_0x2cdad9([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x589c14[_0x2cdad9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2cdad9([0x74,0x72,0x69,0x61,0x6c])&&(_0x2a02ca=_0x47855a(_0x2cdad9([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await(function(){if(_0x2a02ca&&_0x23e00c)return new window[(_0x2cdad9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4afd46,_0xdc04ca)=>{_0x2a02ca[_0x2cdad9([0x74,0x68,0x65,0x6e])](_0x4afd46,_0xdc04ca),_0x23e00c[_0x2cdad9([0x74,0x68,0x65,0x6e])](_0x1e62a3=>{_0x1e62a3!=_0x2cdad9([0x56,0x61,0x6c,0x69,0x64])&&_0x4afd46(_0x1e62a3);},_0xdc04ca);});return _0x2a02ca||_0x23e00c||_0x2cdad9([0x56,0x61,0x6c,0x69,0x64]);}())):_0x2cdad9([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x2cdad9([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x2cdad9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x2cdad9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}}());function _0x47855a(_0x285be4){const _0x19b519=[new window[(_0x2cdad9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x357847=>setTimeout(_0x357847,0x93ecc)),_0x242c8b[_0x2cdad9([0x74,0x68,0x65,0x6e])](()=>new window[(_0x2cdad9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x392aa6=>{let _0x1cf706=0x0;_0x367988[_0x2cdad9([0x6d,0x6f,0x64,0x65,0x6c])][_0x2cdad9([0x6f,0x6e])](_0x2cdad9([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x383239,_0x4467dc)=>{_0x4467dc[0x0][_0x2cdad9([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x1cf706++,0x1f8==_0x1cf706&&(_0x392aa6(),_0x383239[_0x2cdad9([0x6f,0x66,0x66])]());});}))];return window[_0x2cdad9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2cdad9([0x72,0x61,0x63,0x65])](_0x19b519)[_0x2cdad9([0x74,0x68,0x65,0x6e])](()=>_0x285be4);}function _0xe203a8(_0x14b1f3){return _0x14b1f3[_0x2cdad9([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x2cdad9([0x65,0x79]))?JSON[_0x2cdad9([0x70,0x61,0x72,0x73,0x65])](_0x5e5b33(_0x14b1f3)):null;}function _0x5e5b33(_0x4500ee){return window[_0x2cdad9([0x61,0x74,0x6f,0x62])](_0x4500ee[_0x2cdad9([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x2cdad9([0x2b]))[_0x2cdad9([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x2cdad9([0x2f])));}function _0x4ba64c(_0x26e47a){let _0x19283f=0x1505;function _0x2fe82f(_0x27adb2){for(let _0x13f739=0x0;_0x13f739<_0x27adb2[_0x2cdad9([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x13f739++){const _0x18f473=_0x27adb2[_0x2cdad9([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x13f739);_0x19283f=(_0x19283f<<0x5)+_0x19283f+_0x18f473,_0x19283f&=_0x19283f;}}return function _0x1c503a(_0x17d183){Array[_0x2cdad9([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x17d183)?_0x17d183[_0x2cdad9([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x1c503a):_0x17d183&&typeof _0x17d183==_0x2cdad9([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x2cdad9([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x17d183)[_0x2cdad9([0x73,0x6f,0x72,0x74])]()[_0x2cdad9([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x2c69c1,_0xabaefb])=>{_0x2fe82f(_0x2c69c1),_0x1c503a(_0xabaefb);}):_0x2fe82f(window[_0x2cdad9([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x17d183));}(_0x26e47a),_0x19283f>>>0x0;}function _0x3c921d(_0xfba92c){return _0xfba92c[_0x2cdad9([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x2cdad9([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x2cdad9([0x30]));}function _0x506dce(_0x2fe6c9){return _0x2fe6c9[_0x2cdad9([0x73,0x70,0x6c,0x69,0x74])]('')[_0x2cdad9([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x2cdad9([0x6a,0x6f,0x69,0x6e])]('');}function _0xdb619a(){}function _0x2cdad9(_0x4383fe){return _0x4383fe['map'](_0x44ada0=>String['fromCharCode'](_0x44ada0))['join']('');}!function(_0x504773){const _0x1453a1=(function(){const _0x45a1ec=window[_0x2cdad9([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x2cdad9([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2cdad9([0x6e,0x6f,0x77])]())[_0x2cdad9([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2cdad9([0x2e]),'');let _0xbab63b=_0x2cdad9([0x6d]);for(let _0x359506=0x0;_0x359506<_0x45a1ec[_0x2cdad9([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x359506+=0x2){let _0x400587=window[_0x2cdad9([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x45a1ec[_0x2cdad9([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x359506,_0x359506+0x2));_0x400587>=_0x45b7a8[_0x2cdad9([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x400587-=_0x45b7a8[_0x2cdad9([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0xbab63b+=_0x45b7a8[_0x400587];}return _0xbab63b;}());_0x367988[_0x1453a1]=_0x2cdad9([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])+_0x504773,_0x504773!=_0x2cdad9([0x56,0x61,0x6c,0x69,0x64])&&(async function(){await _0x242c8b,_0x367988[_0x2cdad9([0x6d,0x6f,0x64,0x65,0x6c])][_0x2cdad9([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0xdb619a,_0x367988[_0x2cdad9([0x6d,0x6f,0x64,0x65,0x6c])][_0x2cdad9([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0xdb619a,_0x367988[_0x2cdad9([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2cdad9([0x6d,0x6f,0x64,0x65,0x6c]));}());}(_0x19818b);}class TableOfContentsUI extends ckeditor5['Plugin']{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'TableOfContentsUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x4cb75d=this['editor'];_0x4cb75d['ui']['componentFactory']['add']('tableOfContents',()=>{const _0xb0bb2a=this['_createButton'](ckeditor5['ButtonView']);return _0xb0bb2a['tooltip']=!0x0,_0xb0bb2a;}),_0x4cb75d['ui']['componentFactory']['add']('menuBar:tableOfContents',()=>this['_createButton'](ckeditor5['MenuBarMenuListItemButtonView'])),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0xccd12b=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x230800;for(const _0x5188b0 in _0xccd12b){const _0x446a2a=_0x5188b0,_0x3ea62a=_0xccd12b[_0x446a2a];if('tableOfContentsLicenseKeyValid'==_0x3ea62a||'tableOfContentsLicenseKeyInvalid'==_0x3ea62a||'tableOfContentsLicenseKeyExpired'==_0x3ea62a||'tableOfContentsLicenseKeyDomainLimit'==_0x3ea62a||'tableOfContentsLicenseKeyNotAllowed'==_0x3ea62a||'tableOfContentsLicenseKeyEvaluationLimit'==_0x3ea62a||'tableOfContentsLicenseKeyTrialLimit'==_0x3ea62a||'tableOfContentsLicenseKeyUsageLimit'==_0x3ea62a){delete _0xccd12b[_0x446a2a],_0x230800=_0x3ea62a,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'tableOfContentsLicenseKeyInvalid'==_0x230800&&_0xccd12b['_showLicenseError']('invalid'),'tableOfContentsLicenseKeyExpired'==_0x230800&&_0xccd12b['_showLicenseError']('expired'),'tableOfContentsLicenseKeyDomainLimit'==_0x230800&&_0xccd12b['_showLicenseError']('domainLimit'),'tableOfContentsLicenseKeyNotAllowed'==_0x230800&&_0xccd12b['_showLicenseError']('featureNotAllowed','TableOfContents'),'tableOfContentsLicenseKeyEvaluationLimit'==_0x230800&&_0xccd12b['_showLicenseError']('evaluationLimit'),'tableOfContentsLicenseKeyTrialLimit'==_0x230800&&_0xccd12b['_showLicenseError']('trialLimit'),'tableOfContentsLicenseKeyUsageLimit'==_0x230800&&_0xccd12b['_showLicenseError']('usageLimit');},0x3e8);}['_createButton'](_0x3613a5){const _0x38667=this['editor'],_0x3d8d48=_0x38667['locale'],_0x2f07ea=_0x38667['commands']['get']('insertTableOfContents'),_0x36e66d=new _0x3613a5(_0x3d8d48);return _0x36e66d['set']({'label':getTranslation$e(_0x3d8d48,'Table\x20of\x20contents'),'icon':ckeditor5['IconTableOfContents']}),_0x36e66d['bind']('isEnabled')['to'](_0x2f07ea,'isEnabled'),this['listenTo'](_0x36e66d,'execute',()=>{_0x38667['execute']('insertTableOfContents'),_0x38667['editing']['view']['focus']();}),_0x36e66d;}['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 _0x31fd59='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(_0x5c7b30){super(_0x5c7b30),_0x5c7b30['config']['define']('email.logs',{'suppress':[],'suppressAll':!0x1});}['afterInit'](){_0x5137ea(this);}['_logSuppressibleWarning'](_0x297a1,_0x1c542a){if(this['_isSuppressedLog'](_0x297a1,_0x1c542a))return;const _0x534711=_0x31fd59+'/support/error-codes.html#error-'+_0x297a1;console['warn']('%cEmailConfigurationHelper%c\x20'+_0x297a1,'background:\x20#E65100;\x20color:\x20white;\x20padding:\x202px\x204px;','',..._0x1c542a?[_0x1c542a]:[],'\x0aRead\x20more:\x20'+_0x534711);}['_logSuppressibleInfo'](_0x55d0e9,_0x5b88e9,_0x90b0d2){if(this['_isSuppressedLog'](_0x55d0e9))return;let _0x2b78ab=_0x5b88e9;_0x90b0d2&&(_0x2b78ab+='\x0aRead\x20more:\x20'+(_0x31fd59+'/'+_0x90b0d2)),console['info']('%cEmailConfigurationHelper%c\x20'+_0x55d0e9,'background:\x20#4169E1;\x20color:\x20white;\x20padding:\x202px\x204px;','',_0x2b78ab);}['_checkUnsupportedPlugin'](_0x2000b6,_0x56d3b1){this['editor']['plugins']['has'](_0x2000b6)&&this['_logSuppressibleWarning']('email-configuration-unsupported-plugin',{'pluginName':_0x2000b6,..._0x56d3b1});}['_validateConfigColorValue'](_0x57f9a8){const _0x440530=this['editor']['config']['get'](_0x57f9a8);if(!_0x440530)return;const _0x1076ec=Array['isArray'](_0x440530),_0x11391f=_0x1076ec?_0x440530:[_0x440530];for(const [_0x41b2ba,_0x42408b]of _0x11391f['entries']()){const _0x2a8e89='string'==typeof _0x42408b?_0x42408b:_0x42408b['color'];isUnsupportedEmailColorValue(_0x2a8e89)&&this['_logSuppressibleWarning']('email-configuration-unsupported-color-value',{'configPath':_0x1076ec?_0x57f9a8+'['+_0x41b2ba+']':_0x57f9a8,'color':_0x2a8e89});}}['_validateConfigColorFormat'](_0x361263){const _0x13820c=this['editor']['config']['get'](_0x361263);_0x13820c&&isUnsupportedEmailColorFormat(_0x13820c)&&this['_logSuppressibleWarning']('email-configuration-unsupported-color-format',{'configPath':_0x361263,'format':_0x13820c});}['_isSuppressedLog'](_0x1da1e6,_0x145232){const _0x45fcd1=this['editor']['config']['get']('email.logs');return!!_0x45fcd1['suppressAll']||(!('function'!=typeof _0x45fcd1['suppress']||!_0x45fcd1['suppress'](_0x1da1e6,_0x145232))||!(!Array['isArray'](_0x45fcd1['suppress'])||!_0x45fcd1['suppress']['includes'](_0x1da1e6)));}}const _0x5cc24e=['hsl','hsla','hwb','lab','lch','oklab','oklch','color-mix','rgba'];function isUnsupportedEmailColorValue(_0x179ea6){return!!_0x179ea6&&_0x5cc24e['some'](_0x21e275=>_0x179ea6['includes'](_0x21e275+'('));}function isUnsupportedEmailColorFormat(_0x5cd8ef){return!!_0x5cd8ef&&_0x5cc24e['includes'](_0x5cd8ef);}async function _0x5137ea(_0x134a6c){const _0x1cfdd7=_0x212e20([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]),_0x20b92e=window[_0x212e20([0x44,0x61,0x74,0x65])][_0x212e20([0x6e,0x6f,0x77])](),_0x2b8a4c=_0x134a6c[_0x212e20([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x1158b9=new window[(_0x212e20([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x137553=>{_0x2b8a4c[_0x212e20([0x6f,0x6e,0x63,0x65])](_0x212e20([0x72,0x65,0x61,0x64,0x79]),_0x137553);}),_0x1fa0c6={[_0x212e20([0x6b,0x74,0x79])]:_0x212e20([0x45,0x43]),[_0x212e20([0x75,0x73,0x65])]:_0x212e20([0x73,0x69,0x67]),[_0x212e20([0x63,0x72,0x76])]:_0x212e20([0x50,0x2d,0x32,0x35,0x36]),[_0x212e20([0x78])]:_0x212e20([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]),[_0x212e20([0x79])]:_0x212e20([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]),[_0x212e20([0x61,0x6c,0x67])]:_0x212e20([0x45,0x53,0x32,0x35,0x36])},_0x787989=_0x2b8a4c[_0x212e20([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x212e20([0x67,0x65,0x74])](_0x212e20([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x237244=await(async function(){let _0x429222,_0xadf5b0=null,_0xb3e5d8=null;try{if(_0x787989==_0x212e20([0x47,0x50,0x4c]))return _0x212e20([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x429222=(function(){const _0x4ad6b5=_0x787989[_0x212e20([0x73,0x70,0x6c,0x69,0x74])](_0x212e20([0x2e]));if(0x3!=_0x4ad6b5[_0x212e20([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;const _0x1e196f=_0x4ad6b5[0x1];return _0x3bf77d(_0x1e196f);function _0x3bf77d(_0x255dbc){const _0x13422d=_0x3def41(_0x255dbc);return _0x13422d&&_0x245763()?_0x13422d:null;function _0x245763(){const _0x405453=_0x13422d[_0x212e20([0x6a,0x74,0x69])],_0x1ab875=window[_0x212e20([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x405453[_0x212e20([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x405453[_0x212e20([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x174578={..._0x13422d,[_0x212e20([0x6a,0x74,0x69])]:_0x405453[_0x212e20([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x405453[_0x212e20([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x174578[_0x212e20([0x76,0x63])],_0x43d99d(_0x174578)==_0x1ab875;}}}()),!_0x429222)return _0x212e20([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);_0x429222[_0x212e20([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0xb3e5d8=function(_0x355158,_0x504ed7){return new window[(_0x212e20([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2a7ef1=>{if(_0x5eba3c())return _0x2a7ef1(_0x212e20([0x56,0x61,0x6c,0x69,0x64]));_0x582d3f(),_0x2b8a4c[_0x212e20([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x212e20([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x354cbb=!0x1;const _0x194a48=ckeditor5['uid']();function _0x32f620(_0x41cbc4){return!!_0x41cbc4&&(typeof _0x41cbc4===_0x212e20([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x41cbc4===_0x212e20([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x41cbc4[_0x212e20([0x74,0x68,0x65,0x6e])]===_0x212e20([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x41cbc4[_0x212e20([0x63,0x61,0x74,0x63,0x68])]===_0x212e20([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x3dae97(_0x1fed5d){_0x466b2e(_0x1fed5d)[_0x212e20([0x74,0x68,0x65,0x6e])](_0x2fc5a4=>{if(!_0x2fc5a4||_0x2fc5a4[_0x212e20([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x212e20([0x6f,0x6b]))return _0x212e20([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x315f6a(_0x43d99d(_0x194a48+_0x504ed7))!=_0x2fc5a4[_0x212e20([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x212e20([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x212e20([0x56,0x61,0x6c,0x69,0x64]);})[_0x212e20([0x74,0x68,0x65,0x6e])](_0x3ef010=>(_0x11613a(),_0x3ef010),()=>{const _0x2b23d2=_0x39f76f();return null==_0x2b23d2?(_0x11613a(),_0x212e20([0x56,0x61,0x6c,0x69,0x64])):_0x212e20(_0x20b92e-_0x2b23d2>0x240c8400?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x212e20([0x74,0x68,0x65,0x6e])](_0x2a7ef1)[_0x212e20([0x63,0x61,0x74,0x63,0x68])](()=>{_0x2a7ef1(_0x212e20([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x4d99ae=0x36ee80;function _0x11613a(){const _0x2826a1=_0x212e20([0x6c,0x6c,0x63,0x74,0x2d])+_0x315f6a(_0x43d99d(_0x355158)),_0x42023a=_0x1d9a62(_0x315f6a(window[_0x212e20([0x4d,0x61,0x74,0x68])][_0x212e20([0x63,0x65,0x69,0x6c])](_0x20b92e/_0x4d99ae)));window[_0x212e20([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x212e20([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2826a1,_0x42023a);}function _0x39f76f(){const _0x118590=_0x212e20([0x6c,0x6c,0x63,0x74,0x2d])+_0x315f6a(_0x43d99d(_0x355158)),_0x3a2f4f=window[_0x212e20([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x212e20([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x118590);return _0x3a2f4f?window[_0x212e20([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1d9a62(_0x3a2f4f),0x10)*_0x4d99ae:null;}function _0x466b2e(_0x3f4c95){return new window[(_0x212e20([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x58f161,_0x5df60b)=>{_0x3f4c95[_0x212e20([0x74,0x68,0x65,0x6e])](_0x58f161,_0x5df60b),window[_0x212e20([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x5df60b,0x1d4c0);});}}_0x2b8a4c[_0x212e20([0x6f,0x6e])](_0x212e20([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x359524,_0x1b5818)=>{if(_0x1b5818[0x0]!=_0x355158)return _0x2a7ef1(_0x212e20([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x1b5818[0x1]={..._0x1b5818[0x1],[_0x212e20([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x194a48};},{[_0x212e20([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x212e20([0x68,0x69,0x67,0x68])}),_0x2b8a4c[_0x212e20([0x6f,0x6e])](_0x212e20([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0xfd5c9d=>{_0x32f620(_0xfd5c9d[_0x212e20([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x354cbb=!0x0,_0x3dae97(_0xfd5c9d[_0x212e20([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x212e20([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x212e20([0x6c,0x6f,0x77])}),_0x1158b9[_0x212e20([0x74,0x68,0x65,0x6e])](()=>{_0x354cbb||_0x2a7ef1(_0x212e20([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x5eba3c(){return _0x2b8a4c[_0x212e20([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x212e20([0x76,0x69,0x65,0x77])][_0x212e20([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x212e20([0x61,0x75,0x74,0x6f]);}function _0x582d3f(){_0x2b8a4c[_0x212e20([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x212e20([0x76,0x69,0x65,0x77])][_0x212e20([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x212e20([0x61,0x75,0x74,0x6f]);}}(_0x429222[_0x212e20([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x429222[_0x212e20([0x6a,0x74,0x69])]));const _0x41a6a5=await(async function(){let _0x260f12=!0x0;try{const _0x1af5b8=_0x787989[_0x212e20([0x73,0x70,0x6c,0x69,0x74])](_0x212e20([0x2e])),[_0x426466,_0x6b30e7,_0x569d25]=_0x1af5b8;return _0xbd2d46(_0x426466),await _0x273ec6(_0x426466,_0x6b30e7,_0x569d25),_0x260f12;}catch{return!0x1;}function _0xbd2d46(_0xa0ae1a){const _0x1c9d83=_0x3def41(_0xa0ae1a);_0x1c9d83&&_0x1c9d83[_0x212e20([0x61,0x6c,0x67])]==_0x212e20([0x45,0x53,0x32,0x35,0x36])||(_0x260f12=!0x1);}async function _0x273ec6(_0x4fca58,_0x145fe2,_0x95610d){const _0x261a72=window[_0x212e20([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x212e20([0x66,0x72,0x6f,0x6d])](_0x5c30e1(_0x95610d),_0x4d1929=>_0x4d1929[_0x212e20([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x2e407a=new window[(_0x212e20([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x212e20([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x4fca58+_0x212e20([0x2e])+_0x145fe2),_0x246671=window[_0x212e20([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x212e20([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x246671)return;const _0x188d71=await _0x246671[_0x212e20([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x212e20([0x6a,0x77,0x6b]),_0x1fa0c6,{[_0x212e20([0x6e,0x61,0x6d,0x65])]:_0x212e20([0x45,0x43,0x44,0x53,0x41]),[_0x212e20([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x212e20([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x212e20([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x246671[_0x212e20([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x212e20([0x6e,0x61,0x6d,0x65])]:_0x212e20([0x45,0x43,0x44,0x53,0x41]),[_0x212e20([0x68,0x61,0x73,0x68])]:{[_0x212e20([0x6e,0x61,0x6d,0x65])]:_0x212e20([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x188d71,_0x261a72,_0x2e407a)||(_0x260f12=!0x1);}}());return _0x41a6a5?(function(){const _0x10dc2b=_0x429222[_0x212e20([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];if(!_0x10dc2b)return!0x1;if(_0x10dc2b[_0x212e20([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x212e20([0x2a])))return!0x0;if(_0x10dc2b[_0x212e20([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x212e20([0x45,0x43,0x48])))return!0x0;return!0x1;}())?(function(){const _0x2530c8=[_0x212e20([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x212e20([0x74,0x72,0x69,0x61,0x6c])][_0x212e20([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x429222[_0x212e20([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x20b92e/0x3e8:0x68f03580;return _0x429222[_0x212e20([0x65,0x78,0x70])]<_0x2530c8;}())?_0x212e20([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):(function(){const _0x2ecd70=_0x429222[_0x212e20([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x2ecd70||0x0==_0x2ecd70[_0x212e20([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x3053fd}=new URL(window[_0x212e20([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x2ecd70[_0x212e20([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3053fd))return!0x0;const _0x1b831c=_0x3053fd[_0x212e20([0x73,0x70,0x6c,0x69,0x74])](_0x212e20([0x2e]));return _0x2ecd70[_0x212e20([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5c4be3=>_0x5c4be3[_0x212e20([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x212e20([0x2a])))[_0x212e20([0x6d,0x61,0x70])](_0x4607f1=>_0x4607f1[_0x212e20([0x73,0x70,0x6c,0x69,0x74])](_0x212e20([0x2e])))[_0x212e20([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x473fba=>_0x473fba[_0x212e20([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x1b831c[_0x212e20([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x212e20([0x6d,0x61,0x70])](_0x41ca83=>Array(_0x1b831c[_0x212e20([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x41ca83[_0x212e20([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x212e20([0x66,0x69,0x6c,0x6c])](_0x41ca83[0x0]===_0x212e20([0x2a])?_0x212e20([0x2a]):'')[_0x212e20([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x41ca83))[_0x212e20([0x73,0x6f,0x6d,0x65])](_0x484cdf=>_0x1b831c[_0x212e20([0x65,0x76,0x65,0x72,0x79])]((_0x4d22a2,_0x21e941)=>_0x484cdf[_0x21e941]===_0x4d22a2||_0x484cdf[_0x21e941]===_0x212e20([0x2a])));}())?(_0x429222[_0x212e20([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x212e20([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0xadf5b0=_0x44b340(_0x212e20([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x429222[_0x212e20([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x212e20([0x74,0x72,0x69,0x61,0x6c])&&(_0xadf5b0=_0x44b340(_0x212e20([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await(function(){if(_0xadf5b0&&_0xb3e5d8)return new window[(_0x212e20([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x327eb5,_0x1f35a8)=>{_0xadf5b0[_0x212e20([0x74,0x68,0x65,0x6e])](_0x327eb5,_0x1f35a8),_0xb3e5d8[_0x212e20([0x74,0x68,0x65,0x6e])](_0xf9fd1d=>{_0xf9fd1d!=_0x212e20([0x56,0x61,0x6c,0x69,0x64])&&_0x327eb5(_0xf9fd1d);},_0x1f35a8);});return _0xadf5b0||_0xb3e5d8||_0x212e20([0x56,0x61,0x6c,0x69,0x64]);}())):_0x212e20([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x212e20([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x212e20([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x212e20([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}}());function _0x44b340(_0x17ba14){const _0x12896f=[new window[(_0x212e20([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x53e2fa=>setTimeout(_0x53e2fa,0x93ecc)),_0x1158b9[_0x212e20([0x74,0x68,0x65,0x6e])](()=>new window[(_0x212e20([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x918d1d=>{let _0x5b1835=0x0;_0x2b8a4c[_0x212e20([0x6d,0x6f,0x64,0x65,0x6c])][_0x212e20([0x6f,0x6e])](_0x212e20([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x1807ca,_0x20bd65)=>{_0x20bd65[0x0][_0x212e20([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x5b1835++,0x1f8==_0x5b1835&&(_0x918d1d(),_0x1807ca[_0x212e20([0x6f,0x66,0x66])]());});}))];return window[_0x212e20([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x212e20([0x72,0x61,0x63,0x65])](_0x12896f)[_0x212e20([0x74,0x68,0x65,0x6e])](()=>_0x17ba14);}function _0x3def41(_0x36791a){return _0x36791a[_0x212e20([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x212e20([0x65,0x79]))?JSON[_0x212e20([0x70,0x61,0x72,0x73,0x65])](_0x5c30e1(_0x36791a)):null;}function _0x5c30e1(_0x297312){return window[_0x212e20([0x61,0x74,0x6f,0x62])](_0x297312[_0x212e20([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x212e20([0x2b]))[_0x212e20([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x212e20([0x2f])));}function _0x43d99d(_0x1b285a){let _0x4c16ec=0x1505;function _0x1dd14d(_0x19bb90){for(let _0x2549d3=0x0;_0x2549d3<_0x19bb90[_0x212e20([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2549d3++){const _0x3fb32f=_0x19bb90[_0x212e20([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x2549d3);_0x4c16ec=(_0x4c16ec<<0x5)+_0x4c16ec+_0x3fb32f,_0x4c16ec&=_0x4c16ec;}}return function _0x1b427f(_0x393a1d){Array[_0x212e20([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x393a1d)?_0x393a1d[_0x212e20([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x1b427f):_0x393a1d&&typeof _0x393a1d==_0x212e20([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x212e20([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x393a1d)[_0x212e20([0x73,0x6f,0x72,0x74])]()[_0x212e20([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x2f60f0,_0x538b7b])=>{_0x1dd14d(_0x2f60f0),_0x1b427f(_0x538b7b);}):_0x1dd14d(window[_0x212e20([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x393a1d));}(_0x1b285a),_0x4c16ec>>>0x0;}function _0x315f6a(_0x36dc70){return _0x36dc70[_0x212e20([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x212e20([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x212e20([0x30]));}function _0x1d9a62(_0x2cfb85){return _0x2cfb85[_0x212e20([0x73,0x70,0x6c,0x69,0x74])]('')[_0x212e20([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x212e20([0x6a,0x6f,0x69,0x6e])]('');}function _0x436d18(){}function _0x212e20(_0x9543b8){return _0x9543b8['map'](_0x334af6=>String['fromCharCode'](_0x334af6))['join']('');}!function(_0xeb932b){const _0x40bf04=(function(){const _0x4f8376=window[_0x212e20([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x212e20([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x212e20([0x6e,0x6f,0x77])]())[_0x212e20([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x212e20([0x2e]),'');let _0x4a832c=_0x212e20([0x75]);for(let _0x41cb55=0x0;_0x41cb55<_0x4f8376[_0x212e20([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x41cb55+=0x2){let _0x491c52=window[_0x212e20([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4f8376[_0x212e20([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x41cb55,_0x41cb55+0x2));_0x491c52>=_0x1cfdd7[_0x212e20([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x491c52-=_0x1cfdd7[_0x212e20([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4a832c+=_0x1cfdd7[_0x491c52];}return _0x4a832c;}());_0x2b8a4c[_0x40bf04]=_0x212e20([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])+_0xeb932b,_0xeb932b!=_0x212e20([0x56,0x61,0x6c,0x69,0x64])&&(async function(){await _0x1158b9,_0x2b8a4c[_0x212e20([0x6d,0x6f,0x64,0x65,0x6c])][_0x212e20([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x436d18,_0x2b8a4c[_0x212e20([0x6d,0x6f,0x64,0x65,0x6c])][_0x212e20([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x436d18,_0x2b8a4c[_0x212e20([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x212e20([0x6d,0x6f,0x64,0x65,0x6c]));}());}(_0x237244);}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');}}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'](){this['editor']['plugins']['get'](EmailConfigurationLogger)['_checkUnsupportedPlugin']('ImageBlock');}}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 _0x3c37e4=this['editor']['plugins']['get'](EmailConfigurationLogger);this['editor']['plugins']['has']('ExportInlineStyles')||_0x3c37e4['_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 _0x2fc557=this['editor']['plugins']['get'](EmailConfigurationLogger),_0x3e8b3b=this['editor']['config']['get']('list');_0x3e8b3b&&_0x3e8b3b['properties']&&_0x3e8b3b['properties']['reversed']&&_0x2fc557['_logSuppressibleWarning']('email-configuration-unsupported-reversed-list'),_0x3e8b3b&&_0x3e8b3b['enableListItemMarkerFormatting']&&_0x2fc557['_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:_0x6b02e5}=this['editor'],_0x34dd4f=_0x6b02e5['get'](EmailConfigurationLogger);_0x6b02e5['has']('Table')&&(_0x6b02e5['has']('PlainTableOutput')||_0x34dd4f['_logSuppressibleWarning']('email-configuration-missing-plain-table-output-plugin'),_0x6b02e5['has']('TableLayout')||_0x34dd4f['_logSuppressibleWarning']('email-configuration-missing-table-layout-plugin'));}['_checkTableConfig'](){const {config:_0x4915a7,plugins:_0x4ba8ac}=this['editor'];_0x4915a7['get']('table')&&_0x4ba8ac['has']('Table')&&(this['_checkTablePropertiesConfig']('tableCellProperties'),this['_checkTablePropertiesConfig']('tableProperties'));}['_checkTablePropertiesConfig'](_0x2e582a){const _0x419ed6=this['editor']['plugins']['get'](EmailConfigurationLogger);_0x419ed6['_validateConfigColorValue']('table.'+_0x2e582a+'.borderColors'),_0x419ed6['_validateConfigColorValue']('table.'+_0x2e582a+'.backgroundColors'),_0x419ed6['_validateConfigColorValue']('table.'+_0x2e582a+'.defaultProperties.borderColor'),_0x419ed6['_validateConfigColorValue']('table.'+_0x2e582a+'.defaultProperties'),_0x419ed6['_validateConfigColorFormat']('table.'+_0x2e582a+'.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 _0xcaf366=this['editor']['plugins']['get'](EmailConfigurationLogger);this['editor']['plugins']['has']('EmptyBlock')||_0xcaf366['_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:_0x36402b}=this['editor'];_0x36402b['has']('FontColorEditing')&&this['_checkColorConfig']('fontColor'),_0x36402b['has']('FontBackgroundColorEditing')&&this['_checkColorConfig']('fontBackgroundColor');}['_checkColorConfig'](_0x1f0398){const _0x1e2cad=this['editor']['plugins']['get'](EmailConfigurationLogger);this['editor']['config']['get'](_0x1f0398)&&(_0x1e2cad['_validateConfigColorValue'](_0x1f0398+'.colors'),_0x1e2cad['_validateConfigColorValue'](_0x1f0398+'.documentColors'),_0x1e2cad['_validateConfigColorFormat'](_0x1f0398+'.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:_0x5904a6}=this['editor'],_0x12719d=_0x5904a6['get'](EmailConfigurationLogger);_0x5904a6['has']('SourceEditing')||_0x5904a6['has']('SourceEditingEnhanced')||_0x12719d['_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:_0x3694da}=this['editor'];if(!_0x3694da['has']('DataFilter'))return;const _0x1c96f9=_0x3694da['get']('DataFilter'),_0x1c06c7=_0x3694da['get'](EmailConfigurationLogger);for(const _0x57dc3b of GeneralHtmlIntegrationSupport['UNSUPPORTED_ELEMENTS'])_0x1c96f9['once']('register:'+_0x57dc3b,(_0x4e5ea5,_0x1f5afd)=>{_0x1c06c7['_logSuppressibleWarning']('email-unsupported-html-element',{'element':_0x1f5afd['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 _0x19d1be=this['editor']['plugins']['get'](EmailConfigurationLogger);this['editor']['plugins']['has']('MergeFields')||_0x19d1be['_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 _0x2fe7c9=this['editor']['plugins']['get'](EmailConfigurationLogger);this['editor']['plugins']['has']('Template')||_0x2fe7c9['_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'](){this['editor']['plugins']['get'](EmailConfigurationLogger)['_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.'});}}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 _0x5e5299=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x177adb;for(const _0x1f97b6 in _0x5e5299){const _0x515a2e=_0x1f97b6,_0x4cc267=_0x5e5299[_0x515a2e];if('emailConfigurationHelperLicenseKeyValid'==_0x4cc267||'emailConfigurationHelperLicenseKeyInvalid'==_0x4cc267||'emailConfigurationHelperLicenseKeyExpired'==_0x4cc267||'emailConfigurationHelperLicenseKeyDomainLimit'==_0x4cc267||'emailConfigurationHelperLicenseKeyNotAllowed'==_0x4cc267||'emailConfigurationHelperLicenseKeyEvaluationLimit'==_0x4cc267||'emailConfigurationHelperLicenseKeyTrialLimit'==_0x4cc267||'emailConfigurationHelperLicenseKeyUsageLimit'==_0x4cc267){delete _0x5e5299[_0x515a2e],_0x177adb=_0x4cc267,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'emailConfigurationHelperLicenseKeyInvalid'==_0x177adb&&_0x5e5299['_showLicenseError']('invalid'),'emailConfigurationHelperLicenseKeyExpired'==_0x177adb&&_0x5e5299['_showLicenseError']('expired'),'emailConfigurationHelperLicenseKeyDomainLimit'==_0x177adb&&_0x5e5299['_showLicenseError']('domainLimit'),'emailConfigurationHelperLicenseKeyNotAllowed'==_0x177adb&&_0x5e5299['_showLicenseError']('featureNotAllowed','EmailConfigurationHelper'),'emailConfigurationHelperLicenseKeyEvaluationLimit'==_0x177adb&&_0x5e5299['_showLicenseError']('evaluationLimit'),'emailConfigurationHelperLicenseKeyTrialLimit'==_0x177adb&&_0x5e5299['_showLicenseError']('trialLimit'),'emailConfigurationHelperLicenseKeyUsageLimit'==_0x177adb&&_0x5e5299['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}var calculate=function(_0x4c3819){var _0x54e829,_0x49cd7d,_0x569b9c,_0x2db15f,_0x313771=[];for(_0x569b9c=0x0,_0x2db15f=(_0x54e829=_0x4c3819['split'](','))['length'];_0x569b9c<_0x2db15f;_0x569b9c+=0x1)(_0x49cd7d=_0x54e829[_0x569b9c])['length']>0x0&&_0x313771['push'](calculateSingle(_0x49cd7d));return _0x313771;},calculateSingle=function(_0x436385){var _0x558af0,_0x25e50d,_0x30ad33=_0x436385,_0x33b1d8={'a':0x0,'b':0x0,'c':0x0},_0x2c4da9=[];return _0x558af0=function(_0x3ab99a,_0x4f8bed){var _0x57f9a4,_0x343293,_0x3f16ce,_0x2a210b,_0xb1cfef,_0x14ddeb;if(_0x3ab99a['test'](_0x30ad33)){for(_0x343293=0x0,_0x3f16ce=(_0x57f9a4=_0x30ad33['match'](_0x3ab99a))['length'];_0x343293<_0x3f16ce;_0x343293+=0x1)_0x33b1d8[_0x4f8bed]+=0x1,_0x2a210b=_0x57f9a4[_0x343293],_0xb1cfef=_0x30ad33['indexOf'](_0x2a210b),_0x14ddeb=_0x2a210b['length'],_0x2c4da9['push']({'selector':_0x436385['substr'](_0xb1cfef,_0x14ddeb),'type':_0x4f8bed,'index':_0xb1cfef,'length':_0x14ddeb}),_0x30ad33=_0x30ad33['replace'](_0x2a210b,Array(_0x14ddeb+0x1)['join']('\x20'));}},_0x25e50d=function(_0x18fe9f){var _0xc21986,_0x11edbc,_0x8dbcdc,_0x23d5d0;if(_0x18fe9f['test'](_0x30ad33)){for(_0x11edbc=0x0,_0x8dbcdc=(_0xc21986=_0x30ad33['match'](_0x18fe9f))['length'];_0x11edbc<_0x8dbcdc;_0x11edbc+=0x1)_0x23d5d0=_0xc21986[_0x11edbc],_0x30ad33=_0x30ad33['replace'](_0x23d5d0,Array(_0x23d5d0['length']+0x1)['join']('A'));}},_0x25e50d(/\\[0-9A-Fa-f]{6}\s?/g),_0x25e50d(/\\[0-9A-Fa-f]{1,5}\s/g),_0x25e50d(/\\./g),(function(){var _0x197e86,_0x42f01f,_0x539afb,_0x369a1c,_0x5f0c17=/{[^]*/gm;if(_0x5f0c17['test'](_0x30ad33)){for(_0x42f01f=0x0,_0x539afb=(_0x197e86=_0x30ad33['match'](_0x5f0c17))['length'];_0x42f01f<_0x539afb;_0x42f01f+=0x1)_0x369a1c=_0x197e86[_0x42f01f],_0x30ad33=_0x30ad33['replace'](_0x369a1c,Array(_0x369a1c['length']+0x1)['join']('\x20'));}}()),_0x558af0(/(\[[^\]]+\])/g,'b'),_0x558af0(/(#[^\#\s\+>~\.\[:\)]+)/g,'a'),_0x558af0(/(\.[^\s\+>~\.\[:\)]+)/g,'b'),_0x558af0(/(::[^\s\+>~\.\[:]+|:first-line|:first-letter|:before|:after)/gi,'c'),_0x558af0(/(:(?!not|global|local)[\w-]+\([^\)]*\))/gi,'b'),_0x558af0(/(:(?!not|global|local)[^\s\+>~\.\[:]+)/g,'b'),_0x30ad33=(_0x30ad33=(_0x30ad33=(_0x30ad33=(_0x30ad33=(_0x30ad33=_0x30ad33['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'),_0x558af0(/([^\s\+>~\.\[:]+)/g,'c'),_0x2c4da9['sort'](function(_0x330615,_0x99b08d){return _0x330615['index']-_0x99b08d['index'];}),{'selector':_0x436385,'specificity':'0,'+_0x33b1d8['a']['toString']()+','+_0x33b1d8['b']['toString']()+','+_0x33b1d8['c']['toString'](),'specificityArray':[0x0,_0x33b1d8['a'],_0x33b1d8['b'],_0x33b1d8['c']],'parts':_0x2c4da9};},_0x3906da=function(_0x56f08a,_0x4e6740){var _0x4e6867,_0x40ab23,_0x1abf96;if('string'==typeof _0x56f08a){if(-0x1!==_0x56f08a['indexOf'](','))throw'Invalid\x20CSS\x20selector';_0x4e6867=calculateSingle(_0x56f08a)['specificityArray'];}else{if(!Array['isArray'](_0x56f08a))throw'Invalid\x20CSS\x20selector\x20or\x20specificity\x20array';if(0x4!==_0x56f08a['filter'](function(_0x491640){return'number'==typeof _0x491640;})['length'])throw'Invalid\x20specificity\x20array';_0x4e6867=_0x56f08a;}if('string'==typeof _0x4e6740){if(-0x1!==_0x4e6740['indexOf'](','))throw'Invalid\x20CSS\x20selector';_0x40ab23=calculateSingle(_0x4e6740)['specificityArray'];}else{if(!Array['isArray'](_0x4e6740))throw'Invalid\x20CSS\x20selector\x20or\x20specificity\x20array';if(0x4!==_0x4e6740['filter'](function(_0x51c000){return'number'==typeof _0x51c000;})['length'])throw'Invalid\x20specificity\x20array';_0x40ab23=_0x4e6740;}for(_0x1abf96=0x0;_0x1abf96<0x4;_0x1abf96+=0x1){if(_0x4e6867[_0x1abf96]<_0x40ab23[_0x1abf96])return-0x1;if(_0x4e6867[_0x1abf96]>_0x40ab23[_0x1abf96])return 0x1;}return 0x0;};function splitByTopLevelComma(_0x375f57){const _0x1541c9=[];let _0x2ce4ab='',_0x2a055b=0x0;for(;_0x2a055b<_0x375f57['length'];){const _0x29e23c=_0x375f57[_0x2a055b];if('('===_0x29e23c){const _0x220a99=findMatchingParenthesis(_0x375f57,_0x2a055b+0x1);if(-0x1===_0x220a99)return[];_0x2ce4ab+=_0x375f57['slice'](_0x2a055b,_0x220a99+0x1),_0x2a055b=_0x220a99+0x1;}else','!==_0x29e23c||_0x2ce4ab['endsWith']('\x5c')?(_0x2ce4ab+=_0x29e23c,_0x2a055b++):(_0x1541c9['push'](_0x2ce4ab['trim']()),_0x2ce4ab='',_0x2a055b++);}return _0x2ce4ab['trim']()&&_0x1541c9['push'](_0x2ce4ab['trim']()),_0x1541c9['filter'](Boolean);}function findMatchingParenthesis(_0x3e7cc7,_0x15307f){let _0x23bb0c=0x1;for(let _0x3d4d70=_0x15307f;_0x3d4d70<_0x3e7cc7['length'];_0x3d4d70++){const _0x45b2b1=_0x3e7cc7[_0x3d4d70];if('('===_0x45b2b1)_0x23bb0c++;else{if(')'===_0x45b2b1&&(_0x23bb0c--,0x0===_0x23bb0c))return _0x3d4d70;}}return-0x1;}function dropImportantStyleSuffix(_0x5bf483){return _0x5bf483['replace'](/!\s*important/i,'')['trim']();}function collectRootStylesheetsVariables(_0x519983){const _0x180fbe=new Map();for(const {stylesMap:_0x2a5ef9,flatSelector:_0x4eb0c4}of _0x519983){if(':root'!==_0x4eb0c4)continue;const _0x27ee93=inlineStylesMapCSSVariables(_0x180fbe['get']['bind'](_0x180fbe),_0x2a5ef9);for(const [_0x4a3f44,_0xcc93f6]of _0x27ee93)_0x180fbe['set'](_0x4a3f44,_0xcc93f6);}return _0x180fbe;}function inlineStylesMapCSSVariables(_0x2dd730,_0x416ccf){const _0x15bda8=new Map(),_0x34a7f1=_0x298b74=>_0x15bda8['has'](_0x298b74)?_0x15bda8['get'](_0x298b74):_0x2dd730(_0x298b74);for(const [_0x82559a,_0x56c8e5]of _0x416ccf['getStylesEntries']())if(_0x56c8e5&&_0x82559a['startsWith']('--')){const _0x55bc3a=inlineCSSVariablesInString(_0x34a7f1,_0x56c8e5);_0x15bda8['set'](_0x82559a,_0x55bc3a),_0x416ccf['remove'](_0x82559a);}for(const [_0x1ace8f,_0x32e8da]of _0x416ccf['getStylesEntries']())if(_0x32e8da){const _0x551399=inlineCSSVariablesInString(_0x34a7f1,_0x32e8da);_0x416ccf['set'](_0x1ace8f,_0x551399);}return _0x15bda8;}function inlineCSSVariablesInString(_0x180623,_0x5b7e7b){return _0x14c7f0(_0x5b7e7b,_0x5c3adb=>{const [_0x947e4e,_0x51f3de]=splitByTopLevelComma(_0x5c3adb),_0x18c24a=_0x180623(_0x947e4e);return void 0x0!==_0x18c24a?_0x18c24a:_0x51f3de?inlineCSSVariablesInString(_0x180623,_0x51f3de):'var('+_0x947e4e+')';});}function _0x14c7f0(_0x57d763,_0x1d7082){let _0x165b8a='',_0x3aa97c=0x0;for(;_0x3aa97c<_0x57d763['length'];){const _0x8f67d4=_0x57d763['indexOf']('var(',_0x3aa97c);if(-0x1===_0x8f67d4){_0x165b8a+=_0x57d763['slice'](_0x3aa97c);break;}_0x165b8a+=_0x57d763['slice'](_0x3aa97c,_0x8f67d4);const _0x42d0d3=_0x8f67d4+0x4,_0x157926=findMatchingParenthesis(_0x57d763,_0x42d0d3);_0x165b8a+=_0x1d7082(_0x57d763['substring'](_0x42d0d3,_0x157926)),_0x3aa97c=_0x157926+0x1;}return _0x165b8a;}async function collectAndProcessStylesheets(_0xc09f0d){const _0xe5968e=[await ckeditor5['collectStylesheets'](_0xc09f0d['stylesheets']),_0xc09f0d['inlineCss']]['filter'](_0x237790=>_0x237790&&_0x237790['length'])['join']('\x0a'),_0x5dd015=await convertRawStylesheetToParsedCSSRules(_0xc09f0d['stylesProcessor'],_0xe5968e);return{'parsedCssRules':_0x5dd015,'rootCssVariables':collectRootStylesheetsVariables(_0x5dd015)};}async function convertRawStylesheetToParsedCSSRules(_0xa5a3a9,_0x53e42e){const _0x55eb15=new CSSStyleSheet();return await _0x55eb15['replace'](_0x53e42e),dropCSSNesting(Array['from'](_0x55eb15['cssRules'])['filter'](_0xde2fa2=>_0xde2fa2 instanceof CSSStyleRule))['flatMap'](({selectorText:_0x3874e4,contentCssText:_0x5d69e4})=>{const _0x24ffab=splitByTopLevelComma(_0x3874e4),_0x3a306e=new ckeditor5['StylesMap'](_0xa5a3a9)['setTo'](_0x5d69e4);return _0x24ffab['map'](_0x16dfb4=>{const _0x33fd19=_0x1f2d4d(_0x16dfb4),_0x2177c5=_0x33fd19?calculate(_0x33fd19)[0x0]['specificityArray']:[0x0,0x0,0x0,0x0];return{'stylesMap':_0x3a306e,'flatSelector':_0x16dfb4,'specificity':_0x2177c5};});})['sort']((_0x1073b4,_0xe084c0)=>_0x3906da(_0x1073b4['specificity'],_0xe084c0['specificity']));}function _0x1f2d4d(_0x29adaf){const _0xeb3cac=':where(';let _0x25cf88=_0x29adaf,_0x44b605=0x0;for(let _0x3908fc=0x0;_0x3908fc<0x64;_0x3908fc++){const _0x357e8d=_0x25cf88['indexOf'](_0xeb3cac,_0x44b605);if(-0x1===_0x357e8d)break;let _0x470b9d=0x0;for(let _0x477970=0x0;_0x477970<_0x357e8d;_0x477970++)'('===_0x25cf88[_0x477970]?_0x470b9d++:')'===_0x25cf88[_0x477970]&&_0x470b9d--;if(_0x470b9d>0x0){_0x44b605=_0x357e8d+0x7;continue;}let _0x46b072=-0x1;for(let _0x4bf39f=_0x357e8d+0x7,_0x5e356d=0x1;_0x4bf39f<_0x25cf88['length'];_0x4bf39f++)if('('===_0x25cf88[_0x4bf39f]?_0x5e356d++:')'===_0x25cf88[_0x4bf39f]&&_0x5e356d--,!_0x5e356d){_0x46b072=_0x4bf39f;break;}-0x1!==_0x46b072?(_0x25cf88=_0x25cf88['slice'](0x0,_0x357e8d)+_0x25cf88['slice'](_0x46b072+0x1),_0x44b605=_0x357e8d):_0x44b605=_0x357e8d+0x7;}return _0x25cf88['replace'](/\s+/g,'\x20')['trim']();}function dropCSSNesting(_0x1e86ad,_0x6cf795=''){return _0x1e86ad['flatMap'](_0x236ba7=>{const {selectorText:_0x5743e0,cssText:_0x25e606,cssRules:_0x3fe512}=_0x236ba7;if(!_0x5743e0)return[];const _0x24fe1f=_0x5743e0['replace'](/&/g,_0x6cf795);let _0x21224e=_0x25e606['replace'](_0x5743e0,'')['trim']()['replace'](/^{|}$/g,'');if(!_0x3fe512||!_0x3fe512['length'])return[{'selectorText':_0x24fe1f,'contentCssText':_0x21224e}];for(const _0x530cce of _0x3fe512)_0x21224e=_0x21224e['replace'](_0x530cce['cssText'],'')['trim']();return[{'selectorText':_0x24fe1f,'contentCssText':_0x21224e},...dropCSSNesting(Array['from'](_0x3fe512),_0x24fe1f)];});}function getElementInlineStyles(_0x1f69f0){const _0x16da0b=_0x1f69f0['element']['getAttribute']('style')||'',_0x2abfe8=_0x1f69f0['parsedCssRules']['filter'](_0x495a4b=>_0x1f69f0['element']['matches'](_0x495a4b['flatSelector']))['map'](_0x1ea4cb=>_0x1ea4cb['stylesMap']),_0xec8a4f=concatStylesMaps(_0x1f69f0['stylesProcessor'],[..._0x2abfe8,_0x16da0b]);return{'localCSSVariables':inlineStylesMapCSSVariables(_0x1f69f0['fallbackCSSVariablesLookup'],_0xec8a4f),'stylesMap':_0xec8a4f};}function concatStylesMaps(_0x4d12b6,_0x4b1c89){const _0x272388=new ckeditor5['StylesMap'](_0x4d12b6);for(const _0x11ce4d of _0x4b1c89){let _0x30f953=null;if(_0x30f953='string'==typeof _0x11ce4d?new ckeditor5['StylesMap'](_0x4d12b6)['setTo'](_0x11ce4d):_0x11ce4d,_0x30f953){for(const [_0x53c7a7,_0x189628]of _0x30f953['getStylesEntries']())_0x272388['set'](_0x53c7a7,_0x189628);}}return _0x272388;}class ExportInlineStylesCommand extends ckeditor5['Command']{['_stylesProcessor'];constructor(_0x236f69){super(_0x236f69),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'](_0x36be4d){const _0x479528=this['editor']['config']['get']('exportInlineStyles'),{contentLanguageDirection:_0x40c536}=this['editor']['locale'],{rootName:_0x3120c1='main',dataControllerDowncastOptions:_0x3d5095={},transformations:_0x50b721=_0x479528['transformations']||[]}=_0x36be4d||{};this['isBusy']=!0x0,this['refresh']();const _0x45fc67=this['_getRootDataHTMLFragment'](_0x3120c1,_0x3d5095),_0x2906f6=ckeditor5['createElement'](_0x45fc67['ownerDocument'],'div',{'dir':_0x40c536,'class':'ck-content'},[_0x45fc67]);return this['_collectAndApplyStyles'](_0x50b721,_0x2906f6)['then'](()=>{const _0x253b87=extractElementChildrenAsFragment(_0x2906f6),_0x137653=_0x2906f6['getAttribute']('style');if(_0x137653)for(const _0x3ccbac of _0x253b87['children']){const _0x26657d=_0x3ccbac['getAttribute']('style'),_0x4f827c=concatStylesMaps(this['_stylesProcessor'],[_0x137653,_0x26657d]);_0x3ccbac['setAttribute']('style',dumpNonSortedStylesMap(_0x4f827c));}return this['editor']['data']['htmlProcessor']['htmlWriter']['getHtml'](_0x253b87);})['finally'](()=>{this['isBusy']=!0x1,this['refresh']();});}['_getRootDataHTMLFragment'](_0x59322d,_0x50355c){const {data:_0x37162c,model:_0x417ceb}=this['editor'],_0x18af9e=_0x417ceb['document']['getRoot'](_0x59322d),_0x2bcd52=_0x37162c['toView'](_0x18af9e,_0x50355c);return _0x37162c['htmlProcessor']['domConverter']['viewToDom'](_0x2bcd52);}async['_collectAndApplyStyles'](_0x19f9ea,_0x4fad57){const {stylesheets:_0x4ac91a,inlineCss:_0x1b7b9f,stripCssClasses:_0x271a19}=this['editor']['config']['get']('exportInlineStyles'),{parsedCssRules:_0x41356f,rootCssVariables:_0x18ac8c}=await collectAndProcessStylesheets({'stylesheets':_0x4ac91a||['EDITOR_STYLES'],'stylesProcessor':this['_stylesProcessor'],'inlineCss':_0x1b7b9f});this['_processElementTree']({'transformations':_0x19f9ea,'parsedCssRules':_0x41356f,'element':_0x4fad57,'stripCssClasses':_0x271a19,'parentCSSVariablesLookup':_0x18ac8c['get']['bind'](_0x18ac8c)});}['_processElementTree']({element:_0x140db6,parsedCssRules:_0x40b0a9,parentCSSVariablesLookup:_0x57644a,stripCssClasses:_0x1d7e9c,transformations:_0x471683}){const {stylesMap:_0x66ae7,localCSSVariables:_0x217b74}=getElementInlineStyles({'stylesProcessor':this['_stylesProcessor'],'fallbackCSSVariablesLookup':_0x57644a,'parsedCssRules':_0x40b0a9,'element':_0x140db6});for(const _0x51aa78 of _0x471683)_0x51aa78(_0x140db6,_0x66ae7);_0x66ae7['size']?_0x140db6['setAttribute']('style',dumpNonSortedStylesMap(_0x66ae7)):_0x140db6['removeAttribute']('style');const _0x469a80=_0x158f71=>_0x217b74['has'](_0x158f71)?_0x217b74['get'](_0x158f71):_0x57644a(_0x158f71);for(const _0x10145b of _0x140db6['children'])_0x10145b instanceof HTMLElement&&this['_processElementTree']({'element':_0x10145b,'parentCSSVariablesLookup':_0x469a80,'parsedCssRules':_0x40b0a9,'stripCssClasses':_0x1d7e9c,'transformations':_0x471683});_0x1d7e9c&&_0x140db6['removeAttribute']('class');}}function dumpNonSortedStylesMap(_0x2b1713){return _0x2b1713['getStylesEntries']()['map'](_0x5fddbe=>_0x5fddbe['join'](':'))['join'](';')+';';}function extractElementChildrenAsFragment(_0x345355){const _0x19905a=_0x345355['ownerDocument']['createDocumentFragment']();for(;_0x345355['firstChild'];)_0x19905a['appendChild'](_0x345355['firstChild']);return _0x19905a;}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'](){_0x2d0a19(this);}}async function _0x2d0a19(_0x1a77e1){const _0x1e6864=_0x2bfefa([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]),_0x44ec87=window[_0x2bfefa([0x44,0x61,0x74,0x65])][_0x2bfefa([0x6e,0x6f,0x77])](),_0x3bd439=_0x1a77e1[_0x2bfefa([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x578145=new window[(_0x2bfefa([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2e5c19=>{_0x3bd439[_0x2bfefa([0x6f,0x6e,0x63,0x65])](_0x2bfefa([0x72,0x65,0x61,0x64,0x79]),_0x2e5c19);}),_0x28597d={[_0x2bfefa([0x6b,0x74,0x79])]:_0x2bfefa([0x45,0x43]),[_0x2bfefa([0x75,0x73,0x65])]:_0x2bfefa([0x73,0x69,0x67]),[_0x2bfefa([0x63,0x72,0x76])]:_0x2bfefa([0x50,0x2d,0x32,0x35,0x36]),[_0x2bfefa([0x78])]:_0x2bfefa([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]),[_0x2bfefa([0x79])]:_0x2bfefa([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]),[_0x2bfefa([0x61,0x6c,0x67])]:_0x2bfefa([0x45,0x53,0x32,0x35,0x36])},_0x33da57=_0x3bd439[_0x2bfefa([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x2bfefa([0x67,0x65,0x74])](_0x2bfefa([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x4916c3=await(async function(){let _0x2bb023,_0x260608=null,_0x192761=null;try{if(_0x33da57==_0x2bfefa([0x47,0x50,0x4c]))return _0x2bfefa([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x2bb023=(function(){const _0x50b979=_0x33da57[_0x2bfefa([0x73,0x70,0x6c,0x69,0x74])](_0x2bfefa([0x2e]));if(0x3!=_0x50b979[_0x2bfefa([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;const _0x4820ef=_0x50b979[0x1];return _0x50c74d(_0x4820ef);function _0x50c74d(_0x3d5156){const _0x34861c=_0x3a7b9a(_0x3d5156);return _0x34861c&&_0x5d6913()?_0x34861c:null;function _0x5d6913(){const _0x187cea=_0x34861c[_0x2bfefa([0x6a,0x74,0x69])],_0x592bd6=window[_0x2bfefa([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x187cea[_0x2bfefa([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x187cea[_0x2bfefa([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x13b03c={..._0x34861c,[_0x2bfefa([0x6a,0x74,0x69])]:_0x187cea[_0x2bfefa([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x187cea[_0x2bfefa([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x13b03c[_0x2bfefa([0x76,0x63])],_0x5bbadc(_0x13b03c)==_0x592bd6;}}}()),!_0x2bb023)return _0x2bfefa([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);_0x2bb023[_0x2bfefa([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x192761=function(_0x2ffa27,_0x2f22fa){return new window[(_0x2bfefa([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x27839e=>{if(_0x2df227())return _0x27839e(_0x2bfefa([0x56,0x61,0x6c,0x69,0x64]));_0x28367c(),_0x3bd439[_0x2bfefa([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x2bfefa([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x209705=!0x1;const _0x2e484d=ckeditor5['uid']();function _0x3397e6(_0x3e5b67){return!!_0x3e5b67&&(typeof _0x3e5b67===_0x2bfefa([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x3e5b67===_0x2bfefa([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x3e5b67[_0x2bfefa([0x74,0x68,0x65,0x6e])]===_0x2bfefa([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x3e5b67[_0x2bfefa([0x63,0x61,0x74,0x63,0x68])]===_0x2bfefa([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x51c34a(_0x1ddccf){_0x2e3690(_0x1ddccf)[_0x2bfefa([0x74,0x68,0x65,0x6e])](_0x22342e=>{if(!_0x22342e||_0x22342e[_0x2bfefa([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x2bfefa([0x6f,0x6b]))return _0x2bfefa([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x4a6e30(_0x5bbadc(_0x2e484d+_0x2f22fa))!=_0x22342e[_0x2bfefa([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x2bfefa([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x2bfefa([0x56,0x61,0x6c,0x69,0x64]);})[_0x2bfefa([0x74,0x68,0x65,0x6e])](_0x53433e=>(_0x12b2d8(),_0x53433e),()=>{const _0xb98f9e=_0x2cbfbe();return null==_0xb98f9e?(_0x12b2d8(),_0x2bfefa([0x56,0x61,0x6c,0x69,0x64])):_0x2bfefa(_0x44ec87-_0xb98f9e>0x240c8400?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x2bfefa([0x74,0x68,0x65,0x6e])](_0x27839e)[_0x2bfefa([0x63,0x61,0x74,0x63,0x68])](()=>{_0x27839e(_0x2bfefa([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x137ad8=0x36ee80;function _0x12b2d8(){const _0x2d7609=_0x2bfefa([0x6c,0x6c,0x63,0x74,0x2d])+_0x4a6e30(_0x5bbadc(_0x2ffa27)),_0x33a3f6=_0x5de7e4(_0x4a6e30(window[_0x2bfefa([0x4d,0x61,0x74,0x68])][_0x2bfefa([0x63,0x65,0x69,0x6c])](_0x44ec87/_0x137ad8)));window[_0x2bfefa([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2bfefa([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2d7609,_0x33a3f6);}function _0x2cbfbe(){const _0x35ce88=_0x2bfefa([0x6c,0x6c,0x63,0x74,0x2d])+_0x4a6e30(_0x5bbadc(_0x2ffa27)),_0x256ea4=window[_0x2bfefa([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2bfefa([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x35ce88);return _0x256ea4?window[_0x2bfefa([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5de7e4(_0x256ea4),0x10)*_0x137ad8:null;}function _0x2e3690(_0xc555b){return new window[(_0x2bfefa([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4c5501,_0x1ed15e)=>{_0xc555b[_0x2bfefa([0x74,0x68,0x65,0x6e])](_0x4c5501,_0x1ed15e),window[_0x2bfefa([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x1ed15e,0x1d4c0);});}}_0x3bd439[_0x2bfefa([0x6f,0x6e])](_0x2bfefa([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0xbe27d6,_0x8994fd)=>{if(_0x8994fd[0x0]!=_0x2ffa27)return _0x27839e(_0x2bfefa([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x8994fd[0x1]={..._0x8994fd[0x1],[_0x2bfefa([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x2e484d};},{[_0x2bfefa([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2bfefa([0x68,0x69,0x67,0x68])}),_0x3bd439[_0x2bfefa([0x6f,0x6e])](_0x2bfefa([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x9e146b=>{_0x3397e6(_0x9e146b[_0x2bfefa([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x209705=!0x0,_0x51c34a(_0x9e146b[_0x2bfefa([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x2bfefa([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2bfefa([0x6c,0x6f,0x77])}),_0x578145[_0x2bfefa([0x74,0x68,0x65,0x6e])](()=>{_0x209705||_0x27839e(_0x2bfefa([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x2df227(){return _0x3bd439[_0x2bfefa([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2bfefa([0x76,0x69,0x65,0x77])][_0x2bfefa([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x2bfefa([0x61,0x75,0x74,0x6f]);}function _0x28367c(){_0x3bd439[_0x2bfefa([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2bfefa([0x76,0x69,0x65,0x77])][_0x2bfefa([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2bfefa([0x61,0x75,0x74,0x6f]);}}(_0x2bb023[_0x2bfefa([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x2bb023[_0x2bfefa([0x6a,0x74,0x69])]));const _0x52f508=await(async function(){let _0x250be1=!0x0;try{const _0x553cb9=_0x33da57[_0x2bfefa([0x73,0x70,0x6c,0x69,0x74])](_0x2bfefa([0x2e])),[_0x49ace3,_0x31416e,_0x5afa9c]=_0x553cb9;return _0x29d168(_0x49ace3),await _0x55c4a0(_0x49ace3,_0x31416e,_0x5afa9c),_0x250be1;}catch{return!0x1;}function _0x29d168(_0x478fec){const _0x1692bb=_0x3a7b9a(_0x478fec);_0x1692bb&&_0x1692bb[_0x2bfefa([0x61,0x6c,0x67])]==_0x2bfefa([0x45,0x53,0x32,0x35,0x36])||(_0x250be1=!0x1);}async function _0x55c4a0(_0x34eab7,_0x305e8e,_0x294844){const _0x136b65=window[_0x2bfefa([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x2bfefa([0x66,0x72,0x6f,0x6d])](_0x249e43(_0x294844),_0x5d8afe=>_0x5d8afe[_0x2bfefa([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x39689f=new window[(_0x2bfefa([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x2bfefa([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x34eab7+_0x2bfefa([0x2e])+_0x305e8e),_0x58216d=window[_0x2bfefa([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x2bfefa([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x58216d)return;const _0x14694e=await _0x58216d[_0x2bfefa([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x2bfefa([0x6a,0x77,0x6b]),_0x28597d,{[_0x2bfefa([0x6e,0x61,0x6d,0x65])]:_0x2bfefa([0x45,0x43,0x44,0x53,0x41]),[_0x2bfefa([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x2bfefa([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x2bfefa([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x58216d[_0x2bfefa([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x2bfefa([0x6e,0x61,0x6d,0x65])]:_0x2bfefa([0x45,0x43,0x44,0x53,0x41]),[_0x2bfefa([0x68,0x61,0x73,0x68])]:{[_0x2bfefa([0x6e,0x61,0x6d,0x65])]:_0x2bfefa([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x14694e,_0x136b65,_0x39689f)||(_0x250be1=!0x1);}}());return _0x52f508?(function(){const _0x153dde=_0x2bb023[_0x2bfefa([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];if(!_0x153dde)return!0x1;if(_0x153dde[_0x2bfefa([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2bfefa([0x2a])))return!0x0;if(_0x153dde[_0x2bfefa([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2bfefa([0x45,0x49,0x53])))return!0x0;return!0x1;}())?(function(){const _0x5191b1=[_0x2bfefa([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x2bfefa([0x74,0x72,0x69,0x61,0x6c])][_0x2bfefa([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2bb023[_0x2bfefa([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x44ec87/0x3e8:0x68f03580;return _0x2bb023[_0x2bfefa([0x65,0x78,0x70])]<_0x5191b1;}())?_0x2bfefa([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):(function(){const _0x5ec390=_0x2bb023[_0x2bfefa([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x5ec390||0x0==_0x5ec390[_0x2bfefa([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x2bfbf4}=new URL(window[_0x2bfefa([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x5ec390[_0x2bfefa([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2bfbf4))return!0x0;const _0x1d322a=_0x2bfbf4[_0x2bfefa([0x73,0x70,0x6c,0x69,0x74])](_0x2bfefa([0x2e]));return _0x5ec390[_0x2bfefa([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x104967=>_0x104967[_0x2bfefa([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2bfefa([0x2a])))[_0x2bfefa([0x6d,0x61,0x70])](_0x2c6a25=>_0x2c6a25[_0x2bfefa([0x73,0x70,0x6c,0x69,0x74])](_0x2bfefa([0x2e])))[_0x2bfefa([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2a3aee=>_0x2a3aee[_0x2bfefa([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x1d322a[_0x2bfefa([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2bfefa([0x6d,0x61,0x70])](_0x50b0ec=>Array(_0x1d322a[_0x2bfefa([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x50b0ec[_0x2bfefa([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2bfefa([0x66,0x69,0x6c,0x6c])](_0x50b0ec[0x0]===_0x2bfefa([0x2a])?_0x2bfefa([0x2a]):'')[_0x2bfefa([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x50b0ec))[_0x2bfefa([0x73,0x6f,0x6d,0x65])](_0x5c6ee6=>_0x1d322a[_0x2bfefa([0x65,0x76,0x65,0x72,0x79])]((_0x2e1669,_0x29a383)=>_0x5c6ee6[_0x29a383]===_0x2e1669||_0x5c6ee6[_0x29a383]===_0x2bfefa([0x2a])));}())?(_0x2bb023[_0x2bfefa([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2bfefa([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x260608=_0x26bb42(_0x2bfefa([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x2bb023[_0x2bfefa([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2bfefa([0x74,0x72,0x69,0x61,0x6c])&&(_0x260608=_0x26bb42(_0x2bfefa([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await(function(){if(_0x260608&&_0x192761)return new window[(_0x2bfefa([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x40fe0e,_0x8a07ad)=>{_0x260608[_0x2bfefa([0x74,0x68,0x65,0x6e])](_0x40fe0e,_0x8a07ad),_0x192761[_0x2bfefa([0x74,0x68,0x65,0x6e])](_0x38548c=>{_0x38548c!=_0x2bfefa([0x56,0x61,0x6c,0x69,0x64])&&_0x40fe0e(_0x38548c);},_0x8a07ad);});return _0x260608||_0x192761||_0x2bfefa([0x56,0x61,0x6c,0x69,0x64]);}())):_0x2bfefa([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x2bfefa([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x2bfefa([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x2bfefa([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}}());function _0x26bb42(_0x3f7f50){const _0x3822d0=[new window[(_0x2bfefa([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x453524=>setTimeout(_0x453524,0x93ecc)),_0x578145[_0x2bfefa([0x74,0x68,0x65,0x6e])](()=>new window[(_0x2bfefa([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1bed7f=>{let _0xa89829=0x0;_0x3bd439[_0x2bfefa([0x6d,0x6f,0x64,0x65,0x6c])][_0x2bfefa([0x6f,0x6e])](_0x2bfefa([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x359dd4,_0x5c327f)=>{_0x5c327f[0x0][_0x2bfefa([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0xa89829++,0x1f8==_0xa89829&&(_0x1bed7f(),_0x359dd4[_0x2bfefa([0x6f,0x66,0x66])]());});}))];return window[_0x2bfefa([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2bfefa([0x72,0x61,0x63,0x65])](_0x3822d0)[_0x2bfefa([0x74,0x68,0x65,0x6e])](()=>_0x3f7f50);}function _0x3a7b9a(_0x4976b7){return _0x4976b7[_0x2bfefa([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x2bfefa([0x65,0x79]))?JSON[_0x2bfefa([0x70,0x61,0x72,0x73,0x65])](_0x249e43(_0x4976b7)):null;}function _0x249e43(_0x5d9172){return window[_0x2bfefa([0x61,0x74,0x6f,0x62])](_0x5d9172[_0x2bfefa([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x2bfefa([0x2b]))[_0x2bfefa([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x2bfefa([0x2f])));}function _0x5bbadc(_0x12c8de){let _0x591042=0x1505;function _0x1414eb(_0x3bb1c9){for(let _0x2f9234=0x0;_0x2f9234<_0x3bb1c9[_0x2bfefa([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2f9234++){const _0x4434d8=_0x3bb1c9[_0x2bfefa([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x2f9234);_0x591042=(_0x591042<<0x5)+_0x591042+_0x4434d8,_0x591042&=_0x591042;}}return function _0x288bb7(_0x3ce95e){Array[_0x2bfefa([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x3ce95e)?_0x3ce95e[_0x2bfefa([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x288bb7):_0x3ce95e&&typeof _0x3ce95e==_0x2bfefa([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x2bfefa([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x3ce95e)[_0x2bfefa([0x73,0x6f,0x72,0x74])]()[_0x2bfefa([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x23fce3,_0x109910])=>{_0x1414eb(_0x23fce3),_0x288bb7(_0x109910);}):_0x1414eb(window[_0x2bfefa([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x3ce95e));}(_0x12c8de),_0x591042>>>0x0;}function _0x4a6e30(_0x5d2e59){return _0x5d2e59[_0x2bfefa([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x2bfefa([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x2bfefa([0x30]));}function _0x5de7e4(_0x2f1e75){return _0x2f1e75[_0x2bfefa([0x73,0x70,0x6c,0x69,0x74])]('')[_0x2bfefa([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x2bfefa([0x6a,0x6f,0x69,0x6e])]('');}function _0x58a7e3(){}function _0x2bfefa(_0x48cef0){return _0x48cef0['map'](_0x28761d=>String['fromCharCode'](_0x28761d))['join']('');}!function(_0x46c7c7){const _0x3874a2=(function(){const _0xf89fed=window[_0x2bfefa([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x2bfefa([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2bfefa([0x6e,0x6f,0x77])]())[_0x2bfefa([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2bfefa([0x2e]),'');let _0x305c48=_0x2bfefa([0x44]);for(let _0x416f62=0x0;_0x416f62<_0xf89fed[_0x2bfefa([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x416f62+=0x2){let _0x1e561d=window[_0x2bfefa([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xf89fed[_0x2bfefa([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x416f62,_0x416f62+0x2));_0x1e561d>=_0x1e6864[_0x2bfefa([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x1e561d-=_0x1e6864[_0x2bfefa([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x305c48+=_0x1e6864[_0x1e561d];}return _0x305c48;}());_0x3bd439[_0x3874a2]=_0x2bfefa([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])+_0x46c7c7,_0x46c7c7!=_0x2bfefa([0x56,0x61,0x6c,0x69,0x64])&&(async function(){await _0x578145;const _0x1f9c8c=_0x3bd439['commands'][_0x2bfefa([0x67,0x65,0x74])](_0x2bfefa([0x65,0x78,0x70,0x6f,0x72,0x74,0x49,0x6e,0x6c,0x69,0x6e,0x65,0x53,0x74,0x79,0x6c,0x65,0x73]));_0x1f9c8c&&_0x1f9c8c[_0x2bfefa([0x6f,0x6e])](_0x2bfefa([0x65,0x78,0x65,0x63,0x75,0x74,0x65]),_0x1fe9d0=>{_0x1fe9d0['stop']();},{'priority':_0x2bfefa([0x68,0x69,0x67,0x68,0x65,0x73,0x74])}),(_0x3bd439[_0x2bfefa([0x6d,0x6f,0x64,0x65,0x6c])][_0x2bfefa([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x58a7e3,_0x3bd439[_0x2bfefa([0x6d,0x6f,0x64,0x65,0x6c])][_0x2bfefa([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x58a7e3,_0x3bd439[_0x2bfefa([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2bfefa([0x6d,0x6f,0x64,0x65,0x6c])));}());}(_0x4916c3);}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 _0x2fcfcf=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x9ac539;for(const _0x164796 in _0x2fcfcf){const _0x8f9ab8=_0x164796,_0x2937f8=_0x2fcfcf[_0x8f9ab8];if('exportInlineStylesLicenseKeyValid'==_0x2937f8||'exportInlineStylesLicenseKeyInvalid'==_0x2937f8||'exportInlineStylesLicenseKeyExpired'==_0x2937f8||'exportInlineStylesLicenseKeyDomainLimit'==_0x2937f8||'exportInlineStylesLicenseKeyNotAllowed'==_0x2937f8||'exportInlineStylesLicenseKeyEvaluationLimit'==_0x2937f8||'exportInlineStylesLicenseKeyTrialLimit'==_0x2937f8||'exportInlineStylesLicenseKeyUsageLimit'==_0x2937f8){delete _0x2fcfcf[_0x8f9ab8],_0x9ac539=_0x2937f8,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'exportInlineStylesLicenseKeyInvalid'==_0x9ac539&&_0x2fcfcf['_showLicenseError']('invalid'),'exportInlineStylesLicenseKeyExpired'==_0x9ac539&&_0x2fcfcf['_showLicenseError']('expired'),'exportInlineStylesLicenseKeyDomainLimit'==_0x9ac539&&_0x2fcfcf['_showLicenseError']('domainLimit'),'exportInlineStylesLicenseKeyNotAllowed'==_0x9ac539&&_0x2fcfcf['_showLicenseError']('featureNotAllowed','ExportInlineStyles'),'exportInlineStylesLicenseKeyEvaluationLimit'==_0x9ac539&&_0x2fcfcf['_showLicenseError']('evaluationLimit'),'exportInlineStylesLicenseKeyTrialLimit'==_0x9ac539&&_0x2fcfcf['_showLicenseError']('trialLimit'),'exportInlineStylesLicenseKeyUsageLimit'==_0x9ac539&&_0x2fcfcf['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function getEmailInlineStylesTransformations(){return[(_0x246d36,_0x56e7b3)=>{if(!['TABLE','IMG']['includes'](_0x246d36['tagName']))return;const _0x1b7d89=_0x56e7b3['getAsString']('float');if(_0x1b7d89){const _0x5f805a=dropImportantStyleSuffix(_0x1b7d89);'left'!==_0x5f805a&&'right'!==_0x5f805a||_0x246d36['setAttribute']('align',_0x5f805a);}},(_0x1b1edc,_0x42f790)=>{if('TABLE'!==_0x1b1edc['tagName'])return;const _0x84bcb9=_0x42f790['getAsString']('margin-left'),_0x56dd15=_0x42f790['getAsString']('margin-right');_0x84bcb9&&_0x56dd15&&'auto'===dropImportantStyleSuffix(_0x84bcb9)&&'auto'===dropImportantStyleSuffix(_0x56dd15)&&_0x1b1edc['setAttribute']('align','center');}];}function getTranslation$d(_0x54d2c7,_0x141125){const t=_0x54d2c7['t'];switch(_0x141125){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 _0x141125;}}const _0x5266ba='https://pdf-converter.cke-cs.com/v1/convert/';class ExportPdfCommand extends ckeditor5['Command']{constructor(_0x416b04){super(_0x416b04),this['set']('isBusy',!0x1),this['affectsData']=!0x1;}['refresh'](){this['isEnabled']=!this['isBusy'],this['value']=this['isBusy']?'pending':void 0x0;}['execute'](_0x19b057={}){const _0xa0890f=this['editor'],_0xb211e=_0x19b057['converterUrl']||_0x5266ba,_0x48480d=_0x19b057['dataCallback']||(_0x53d4c3=>_0x53d4c3['data']['get']()),_0x35c156=_0xa0890f['plugins']['get']('ExportPdf'),_0x13b0f9=_0x19b057['token']||_0x35c156['_token'];return this['isBusy']=!0x0,this['refresh'](),ckeditor5['collectStylesheets'](_0x19b057['stylesheets']||['EDITOR_STYLES'])['then'](async _0x57af58=>{if(_0xa0890f['ui']['ariaLiveAnnouncer']['announce'](getTranslation$d(_0xa0890f['locale'],'PDF\x20export\x20started')),_0xa0890f['plugins']['has']('MergeFields')){_0x19b057['converterOptions']||(_0x19b057['converterOptions']={});const _0x1abe73=_0xa0890f['plugins']['get']('MergeFieldsEditing'),_0x3580a3=_0x1abe73['previewMode'],{prefix:_0x587773,suffix:_0x41b270}=_0xa0890f['config']['get']('mergeFields'),_0xb7bc5a='data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mP88B8AAuUB8e2ujYwAAAAASUVORK5CYII=',_0x4a7ad4={'prefix':_0x587773,'suffix':_0x41b270,'data':{}};if('$labels'===_0x3580a3){for(const _0xd675cd of _0x1abe73['getMergeFieldsIds']())'image'===_0x1abe73['getMergeFieldType'](_0xd675cd)?_0x4a7ad4['data'][_0xd675cd]=_0xb7bc5a:_0x4a7ad4['data'][_0xd675cd]=_0x1abe73['wrapInAffixes'](_0x1abe73['getLabel'](_0xd675cd)||_0xd675cd);}else{const _0xb2d828='$defaultValues'===_0x3580a3?_0x1abe73['getDefaultValues']():_0x1abe73['getDataSetValues'](_0x3580a3,!0x0);for(const _0x1801eb of Object['entries'](_0xb2d828)){const [_0x1656a9,_0x4c8f33]=_0x1801eb;'image'===_0x1abe73['getMergeFieldType'](_0x1656a9)?_0x4a7ad4['data'][_0x1656a9]=null!==_0x4c8f33?_0x4c8f33:_0xb7bc5a:_0x4a7ad4['data'][_0x1656a9]=null!==_0x4c8f33?_0x4c8f33:_0x1abe73['getLabel'](_0x1656a9)||_0x1656a9;}}_0x19b057['converterOptions']['merge_fields']=_0x4a7ad4;}const _0x54e0a9=prepareContentInlineStyle(_0x19b057['converterOptions']),_0x2a7ceb={'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'+_0xa0890f['locale']['contentLanguageDirection']+'\x22\x20style=\x22'+_0x54e0a9+'\x22>\x0a\x09\x09\x09\x09\x09\x09\x09\x09'+await _0x48480d(_0xa0890f)+'\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':_0x57af58,'options':_0x19b057['converterOptions']},_0x338b29={'method':'POST','headers':{'Content-Type':'application/json','Accept':'application/pdf',..._0x13b0f9?{'Authorization':_0x13b0f9['value']}:null,'x-cs-app-id':_0x19b057['appID']||'cke5'},'body':JSON['stringify'](_0x2a7ceb)};return window['fetch'](_0xb211e,_0x338b29)['then'](_0x171f00=>{if(0xc8!==_0x171f00['status'])throw _0x171f00;return _0x171f00['blob']();})['then'](_0xf3d796=>{_0xa0890f['ui']['ariaLiveAnnouncer']['announce'](getTranslation$d(_0xa0890f['locale'],'PDF\x20export\x20successful'));const _0x6c9c26='function'==typeof _0x19b057['fileName']?_0x19b057['fileName']():_0x19b057['fileName'];this['_downloadFile'](_0xf3d796,_0x6c9c26||'document.pdf');});})['catch'](_0x530859=>{const _0x23d442=_0xa0890f['plugins']['get']('Notification');throw _0xa0890f['ui']['ariaLiveAnnouncer']['announce'](getTranslation$d(_0xa0890f['locale'],'PDF\x20export\x20failed'),{'politeness':'assertive'}),_0x23d442['showWarning'](getTranslation$d(_0xa0890f['locale'],'An\x20error\x20occurred\x20while\x20generating\x20the\x20PDF.')),_0x530859;})['finally'](()=>{this['isBusy']=!0x1,this['refresh']();});}['_downloadFile'](_0x325bb7,_0x1ec30a){const _0x172529=document['createElement']('a');_0x172529['href']=window['URL']['createObjectURL'](_0x325bb7),_0x172529['download']=_0x1ec30a,_0x172529['click'](),_0x172529['remove']();}}function prepareContentInlineStyle(_0x171e03){const _0x25d04a=pageFormatToWidth(_0x171e03?.['format']||'A4'),_0x3775c3=_0x171e03?.['margin_left'],_0x26f672=_0x171e03?.['margin_right'];return'width:calc('+[_0x25d04a,..._0x3775c3?[_0x3775c3]:[],..._0x26f672?[_0x26f672]:[]]['join']('\x20-\x20')+');';}function pageFormatToWidth(_0x26833c){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']}[_0x26833c['toLowerCase']()][0x0];}class ExportPdfUI extends ckeditor5['Plugin']{static get['pluginName'](){return'ExportPdfUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x515cf3=this['editor'];_0x515cf3['ui']['componentFactory']['add']('exportPdf',()=>{const _0x3883ba=this['_createButton'](ckeditor5['ButtonView']),_0x1eab1c=_0x515cf3['commands']['get']('exportPdf');return _0x3883ba['set']({'tooltip':!0x0}),_0x3883ba['bind']('isOn')['to'](_0x1eab1c,'isBusy'),_0x3883ba;}),_0x515cf3['ui']['componentFactory']['add']('menuBar:exportPdf',()=>this['_createButton'](ckeditor5['MenuBarMenuListItemButtonView']));}['_createButton'](_0x316358){const _0x2f702f=this['editor'],_0x188635=_0x2f702f['config']['get']('exportPdf')||{},_0x599751=_0x2f702f['commands']['get']('exportPdf'),_0xf6f163=new _0x316358(_0x2f702f['locale']),_0x43e9dd=new ckeditor5['SpinnerView']();return _0xf6f163['children']['add'](_0x43e9dd),_0x43e9dd['bind']('isVisible')['to'](_0x599751,'isBusy'),_0xf6f163['iconView']['bind']('isVisible')['to'](_0x599751,'isBusy',_0x5379de=>!_0x5379de),_0xf6f163['set']({'icon':ckeditor5['IconExportPdf']}),_0xf6f163['bind']('isEnabled')['to'](_0x599751,'isEnabled'),_0xf6f163['bind']('label')['to'](_0x599751,'isBusy',_0x3ffa0c=>getTranslation$d(_0x2f702f['locale'],_0x3ffa0c?'Exporting\x20PDF\x20document':'Export\x20to\x20PDF')),this['listenTo'](_0xf6f163,'execute',()=>{_0x2f702f['execute']('exportPdf',_0x188635),_0x2f702f['editing']['view']['focus']();}),_0xf6f163;}}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 _0x29deab=this['editor'],_0x1837f4=_0x29deab['config']['get']('exportPdf')||{};_0x29deab['commands']['add']('exportPdf',new ExportPdfCommand(_0x29deab));const _0x59bed7=_0x29deab['plugins']['get']('CloudServices');!0x1===_0x1837f4['tokenUrl']?this['_token']=null:_0x1837f4['tokenUrl']?_0x59bed7['registerTokenUrl'](_0x1837f4['tokenUrl'])['then'](_0x2cda27=>{this['_token']=_0x2cda27;}):this['_token']=_0x59bed7['token'];}}function getConverterOptions(_0x39db7c,_0x2ff54b={}){const _0x52ec85=_0x39db7c['plugins']['has']('Users'),_0x3c5454=_0x39db7c['plugins']['has']('CommentsRepository'),_0x2d807e=_0x39db7c['plugins']['has']('TrackChanges'),_0x4fb80b=_0x2ff54b;if(_0x52ec85&&_0x3c5454){const _0x3cf27b=getComments(_0x39db7c['plugins']['get']('CommentsRepository')['getCommentThreads']({'skipNotAttached':!0x0,'skipEmpty':!0x0}));Object['keys'](_0x3cf27b)['length']&&(_0x4fb80b['comments']=_0x3cf27b);}if(_0x52ec85&&_0x2d807e){const _0x3b768b=_0x39db7c['plugins']['get']('TrackChanges'),_0x4cac54=_0x39db7c['plugins']['get']('Users'),_0x992882=getSuggestions(_0x3b768b['getSuggestions']({'toJSON':!0x0}),_0x4cac54['users']);Object['keys'](_0x992882)['length']&&(_0x4fb80b['suggestions']=_0x992882);}return(_0x4fb80b['suggestions']||_0x4fb80b['comments'])&&(_0x4fb80b['timezone']=new Intl['DateTimeFormat']()['resolvedOptions']()['timeZone']),_0x4fb80b;}function getComments(_0x478a1d){const _0x477771={};if(!_0x478a1d['length'])return _0x477771;for(const _0x2a13c7 of _0x478a1d)_0x2a13c7['comments']['map'](_0x11077d=>{void 0x0===_0x477771[_0x2a13c7['id']]&&(_0x477771[_0x2a13c7['id']]=[]),_0x477771[_0x2a13c7['id']]['push']({'author':_0x11077d['author']['name'],'content':_0x11077d['content'],'created':_0x11077d['createdAt'],'is_resolved':_0x2a13c7['isResolved']});});return _0x477771;}function getSuggestions(_0x3e5619,_0x459c43){const _0x14fa4d={};if(!_0x3e5619['length']||!_0x459c43['length'])return _0x14fa4d;for(const {id:_0x16ad0d,createdAt:_0x1d414b,authorId:_0x4652b0,attributes:_0x3ef0df}of _0x3e5619){const _0x44d458=_0x3ef0df&&_0x3ef0df['@external'],_0x524ce9=_0x44d458?_0x44d458['authorName']:_0x459c43['get'](_0x4652b0)['name'];_0x14fa4d[_0x16ad0d]={'author':_0x524ce9,'created':_0x1d414b};}return _0x14fa4d;}function getConverterOptionsV2(_0x16441e,_0x481625={}){const _0x29353f=_0x16441e['plugins']['has']('Users'),_0x469fae=_0x16441e['plugins']['has']('CommentsRepository'),_0xea996b=_0x16441e['plugins']['has']('TrackChanges'),_0x38cf30=_0x16441e['plugins']['has']('MergeFields'),_0x196667=_0x16441e['locale']['contentLanguage'],_0x1f9db1=_0x481625,_0x7bff62={};if(_0x1f9db1['document']=_0x1f9db1['document']||{},_0x1f9db1['document']['language']=_0x1f9db1['document']['language']||_0x196667,_0x29353f&&_0x469fae){const _0x376cd4=getCommentsV2(_0x16441e['plugins']['get']('CommentsRepository')['getCommentThreads']({'skipNotAttached':!0x0,'skipEmpty':!0x0}));_0x376cd4['length']&&(_0x7bff62['comment_threads']=_0x376cd4);}if(_0x29353f&&_0xea996b){const _0x1b467b=_0x16441e['plugins']['get']('TrackChanges'),_0x812e9b=_0x16441e['plugins']['get']('Users'),_0x516b00=getSuggestionsV2(_0x1b467b['getSuggestions']({'toJSON':!0x0}),_0x812e9b['users']);_0x516b00['length']&&(_0x7bff62['suggestions']=_0x516b00);}if(_0x38cf30){const _0x884b53=_0x16441e['plugins']['get']('MergeFieldsEditing'),_0x417203=_0x884b53['previewMode'],{prefix:_0x584d2a,suffix:_0xaeeae2}=_0x16441e['config']['get']('mergeFields');if(_0x1f9db1['merge_fields']={'prefix':_0x584d2a,'suffix':_0xaeeae2},'$labels'!==_0x417203){_0x1f9db1['merge_fields']['data']={};const _0xc6fdd9='data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mP88B8AAuUB8e2ujYwAAAAASUVORK5CYII=',_0x549292='$defaultValues'===_0x417203?_0x884b53['getDefaultValues']():_0x884b53['getDataSetValues'](_0x417203,!0x0);for(const _0x2d997e of Object['entries'](_0x549292)){const [_0x101a53,_0x3603df]=_0x2d997e;'image'===_0x884b53['getMergeFieldType'](_0x101a53)?_0x1f9db1['merge_fields']['data'][_0x101a53]=null!==_0x3603df?_0x3603df:_0xc6fdd9:_0x1f9db1['merge_fields']['data'][_0x101a53]=null!==_0x3603df?_0x3603df:_0x884b53['getLabel'](_0x101a53)||_0x101a53;}}}return(_0x7bff62['comment_threads']||_0x7bff62['suggestions'])&&(_0x1f9db1['timezone']=new Intl['DateTimeFormat']()['resolvedOptions']()['timeZone'],_0x1f9db1['collaboration_features']=_0x7bff62),_0x1f9db1;}function getCommentsV2(_0x36323d){const _0x399ebf=[];if(!_0x36323d['length'])return _0x399ebf;for(const _0x599e5d of _0x36323d){const _0xcd773=_0x599e5d['comments']['map'](_0x125f26=>({'author':_0x125f26['author']['name'],'content':_0x125f26['content'],'created_at':_0x125f26['createdAt']}));_0x399ebf['push']({'thread_id':_0x599e5d['id'],'is_resolved':_0x599e5d['isResolved'],'comments':_0xcd773});}return _0x399ebf;}function getSuggestionsV2(_0xa397e9,_0x3d35d3){return _0xa397e9['length']&&_0x3d35d3['length']?_0xa397e9['map'](({id:_0x1d6d4b,createdAt:_0x17e753,authorId:_0x505ccc,attributes:_0x57a980})=>{const _0x9f08bb=_0x57a980&&_0x57a980['@external'];return{'id':_0x1d6d4b,'author':_0x9f08bb?_0x9f08bb['authorName']:_0x3d35d3['get'](_0x505ccc)['name'],'created_at':_0x17e753};}):[];}function getTranslation$c(_0xfef662,_0x54abe5){const t=_0xfef662['t'];switch(_0x54abe5){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 _0x54abe5;}}const _0x32ea1a='https://docx-converter.cke-cs.com/v1/convert',_0x1e97ac='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(_0x12bcc3){super(_0x12bcc3),this['set']('isBusy',!0x1),this['affectsData']=!0x1;}['refresh'](){this['isEnabled']=!this['isBusy'],this['value']=this['isBusy']?'pending':void 0x0;}['execute'](_0x4e8c28={}){const _0x798e44=this['editor'],_0x62c109=_0x4e8c28['version']||0x2,_0x28835a=0x1===_0x62c109,_0x4b28af=_0x4e8c28['converterUrl']||(_0x28835a?_0x32ea1a:_0x1e97ac),_0xcdc22c=_0x4e8c28['converterOptions']||{},_0x2fe1c5=_0x798e44['plugins']['get']('ExportWord'),_0x196724=_0x4e8c28['token']||_0x2fe1c5['_token'],_0x3a2372=!0x0===_0xcdc22c['auto_pagination'],_0x247181=_0x4e8c28['dataCallback']||(_0x1b0e74=>_0x1b0e74['data']['get']({'pagination':_0x3a2372}));return 0x2===_0x62c109&&_0x5b2120(_0xcdc22c)&&ckeditor5['logWarning']('export-word-v1-api-is-deprecated'),this['isBusy']=!0x0,this['refresh'](),ckeditor5['collectStylesheets'](_0x4e8c28['stylesheets']||['EDITOR_STYLES'])['then'](async _0x5e2a05=>{_0x798e44['ui']['ariaLiveAnnouncer']['announce'](getTranslation$c(_0x798e44['locale'],'Word\x20document\x20export\x20started'));const _0x49c7e1=await _0x247181(_0x798e44),_0x38748f={'html':'<div\x20class=\x22ck-content\x22\x20dir=\x22'+_0x798e44['locale']['contentLanguageDirection']+'\x22>'+_0x49c7e1+'</div>','css':_0x5e2a05,[_0x28835a?'options':'config']:{..._0xcdc22c,..._0x28835a?getConverterOptions(_0x798e44,_0xcdc22c):getConverterOptionsV2(_0x798e44,_0xcdc22c)}},_0x1a5551={'method':'POST','headers':{'Content-Type':'application/json','Accept':'application/docx',..._0x196724?{'Authorization':_0x196724['value']}:null},'body':JSON['stringify'](_0x38748f)};return window['fetch'](_0x4b28af,_0x1a5551)['then'](_0x1e067c=>{if(0xc8!==_0x1e067c['status'])throw _0x1e067c;return _0x1e067c['blob']();})['then'](_0x40482f=>{_0x798e44['ui']['ariaLiveAnnouncer']['announce'](getTranslation$c(_0x798e44['locale'],'Word\x20document\x20export\x20successful'));const _0x85daaf='function'==typeof _0x4e8c28['fileName']?_0x4e8c28['fileName']():_0x4e8c28['fileName'];this['_downloadFile'](_0x40482f,_0x85daaf||'document.docx');});})['catch'](_0x2dbe9a=>{const _0xa89397=_0x798e44['plugins']['get']('Notification');throw _0x798e44['ui']['ariaLiveAnnouncer']['announce'](getTranslation$c(_0x798e44['locale'],'Word\x20document\x20export\x20failed'),{'politeness':'assertive'}),_0xa89397['showWarning'](getTranslation$c(_0x798e44['locale'],'An\x20error\x20occurred\x20while\x20generating\x20the\x20Word\x20file.')),_0x2dbe9a;})['finally'](()=>{this['isBusy']=!0x1,this['refresh']();});}['_downloadFile'](_0x425e0a,_0x35e6c9){const _0x38c749=document['createElement']('a');_0x38c749['href']=window['URL']['createObjectURL'](_0x425e0a),_0x38c749['download']=_0x35e6c9,_0x38c749['click'](),_0x38c749['remove']();}}function _0x5b2120(_0x312444){for(const _0x3d2445 of firstVersionApiKeys)if(void 0x0!==_0x312444[_0x3d2445])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 _0x5e818e=this['editor'];_0x5e818e['ui']['componentFactory']['add']('exportWord',()=>{const _0x1b4ece=_0x5e818e['commands']['get']('exportWord'),_0x11470d=this['_createButton'](ckeditor5['ButtonView']);return _0x11470d['set']({'tooltip':!0x0}),_0x11470d['bind']('isOn')['to'](_0x1b4ece,'isBusy'),_0x11470d;}),_0x5e818e['ui']['componentFactory']['add']('menuBar:exportWord',()=>this['_createButton'](ckeditor5['MenuBarMenuListItemButtonView']));}['_createButton'](_0x142ec5){const _0x1eed88=this['editor'],_0x474c3c=_0x1eed88['config']['get']('exportWord')||{},_0x6165ae=_0x1eed88['commands']['get']('exportWord'),_0x6039df=new _0x142ec5(_0x1eed88['locale']),_0x50c974=new ckeditor5['SpinnerView']();return _0x6039df['children']['add'](_0x50c974),_0x50c974['bind']('isVisible')['to'](_0x6165ae,'isBusy'),_0x6039df['iconView']['bind']('isVisible')['to'](_0x6165ae,'isBusy',_0x4d24ed=>!_0x4d24ed),_0x6039df['set']({'icon':ckeditor5['IconExportWord']}),_0x6039df['bind']('isEnabled')['to'](_0x6165ae,'isEnabled'),_0x6039df['bind']('label')['to'](_0x6165ae,'isBusy',_0x47f862=>getTranslation$c(_0x1eed88['locale'],_0x47f862?'Exporting\x20Word\x20document':'Export\x20to\x20Word')),this['listenTo'](_0x6039df,'execute',()=>{_0x1eed88['execute']('exportWord',_0x474c3c),_0x1eed88['editing']['view']['focus']();}),_0x6039df;}}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 _0x9e0510=this['editor'],_0x1446a0=_0x9e0510['config']['get']('exportWord')||{};_0x9e0510['commands']['add']('exportWord',new ExportWordCommand(_0x9e0510));const _0xae85d2=_0x9e0510['plugins']['get']('CloudServices');!0x1===_0x1446a0['tokenUrl']?this['_token']=null:_0x1446a0['tokenUrl']?_0xae85d2['registerTokenUrl'](_0x1446a0['tokenUrl'])['then'](_0x2997c9=>{this['_token']=_0x2997c9;}):this['_token']=_0xae85d2['token'];}}const _0x9d2a2c='copyFormat',_0xb00167='pasteFormat',_0x443eef='ck-format-painter-active';class CopyFormatCommand extends ckeditor5['Command']{constructor(_0x7ec029){super(_0x7ec029),this['value']=void 0x0,this['on']('change:isEnabled',(_0x3939c0,_0x3fac12,_0x5b7550)=>{_0x5b7550||this['reset']();}),this['on']('change:value',()=>_0x7ec029['commands']['get'](_0xb00167)['refresh']());}['execute'](){this['value']=this['_getFormattingAttributes']();}['reset'](){this['value']=void 0x0;}['_getFormattingAttributes'](){const _0x13e458=this['editor']['model'],_0x5d5eba=_0x13e458['document']['selection'];return Object['fromEntries'](Array['from'](_0x5d5eba['getAttributes']())['filter'](([_0x3f9f5c])=>_0x13e458['schema']['getAttributeProperties'](_0x3f9f5c)['isFormatting']));}}class PasteFormatCommand extends ckeditor5['Command']{constructor(_0x1beb5d){super(_0x1beb5d),this['_removeFormatCommand']=new RemoveFormatCommandAlias(_0x1beb5d);}['execute'](_0x50de33={}){const _0x3247aa=this['editor']['model'],_0x2d40af=_0x3247aa['document']['selection'],_0x1c4641=Array['from'](_0x2d40af['getRanges']()),_0x5b3b95=_0x2d40af['isCollapsed']?[this['_createRangeOnEntireWord'](_0x3247aa,_0x2d40af)]:_0x1c4641;_0x3247aa['change'](_0x52d8e8=>{_0x52d8e8['setSelection'](_0x5b3b95),this['_removeFormatCommand']['execute']();for(const _0x57c277 in _0x50de33)for(const _0x2cb6f0 of _0x3247aa['schema']['getValidRanges'](_0x5b3b95,_0x57c277))_0x52d8e8['setAttribute'](_0x57c277,_0x50de33[_0x57c277],_0x2cb6f0);_0x52d8e8['setSelection'](_0x1c4641);});}['_createRangeOnEntireWord'](_0x5d6f4c,_0x22f6d5){const _0x76603e=_0x5d6f4c['createSelection'](_0x22f6d5);_0x5d6f4c['modifySelection'](_0x76603e,{'unit':'word','direction':'backward'});const _0xd2e7c3=_0x76603e['getFirstPosition']();_0x5d6f4c['modifySelection'](_0x76603e,{'unit':'word','direction':'forward'});const _0x93bb19=_0x76603e['getLastPosition']();return _0x5d6f4c['createRange'](_0xd2e7c3,_0x93bb19);}}class RemoveFormatCommandAlias extends ckeditor5['Command']{['execute'](){const _0x21a933=this['editor']['model'],_0x3d9161=_0x21a933['schema'];_0x21a933['change'](_0x134d32=>{for(const _0x41acd3 of this['_getFormattingItems'](_0x21a933['document']['selection'],_0x3d9161))if(_0x41acd3['is']('selection')){for(const _0x268571 of this['_getFormattingAttributes'](_0x41acd3,_0x3d9161))_0x134d32['removeSelectionAttribute'](_0x268571);}else{const _0x28693d=_0x134d32['createRangeOn'](_0x41acd3);for(const _0x26c9f6 of this['_getFormattingAttributes'](_0x41acd3,_0x3d9161))_0x134d32['removeAttribute'](_0x26c9f6,_0x28693d);}});}*['_getFormattingItems'](_0x1ca025,_0x4eb76c){const _0x2e80a9=_0x26a07c=>!!ckeditor5['first'](this['_getFormattingAttributes'](_0x26a07c,_0x4eb76c));for(const _0x2f3370 of _0x1ca025['getRanges']())for(const _0x35277a of _0x2f3370['getItems']())!_0x4eb76c['isBlock'](_0x35277a)&&_0x2e80a9(_0x35277a)&&(yield _0x35277a);for(const _0x1a3d17 of _0x1ca025['getSelectedBlocks']())_0x2e80a9(_0x1a3d17)&&(yield _0x1a3d17);_0x2e80a9(_0x1ca025)&&(yield _0x1ca025);}*['_getFormattingAttributes'](_0x41232f,_0x4079b2){for(const [_0x4252d0]of _0x41232f['getAttributes']()){const _0xfb711a=_0x4079b2['getAttributeProperties'](_0x4252d0);_0xfb711a&&_0xfb711a['isFormatting']&&(yield _0x4252d0);}}}class FormatPainterEditing extends ckeditor5['Plugin']{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FormatPainterEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x2364c4=this['editor'];_0x2364c4['commands']['add'](_0x9d2a2c,new CopyFormatCommand(_0x2364c4)),_0x2364c4['commands']['add'](_0xb00167,new PasteFormatCommand(_0x2364c4)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x264390=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x176575;for(const _0x50e2cf in _0x264390){const _0x47230d=_0x50e2cf,_0x51a8e8=_0x264390[_0x47230d];if('formatPainterLicenseKeyValid'==_0x51a8e8||'formatPainterLicenseKeyInvalid'==_0x51a8e8||'formatPainterLicenseKeyExpired'==_0x51a8e8||'formatPainterLicenseKeyDomainLimit'==_0x51a8e8||'formatPainterLicenseKeyNotAllowed'==_0x51a8e8||'formatPainterLicenseKeyEvaluationLimit'==_0x51a8e8||'formatPainterLicenseKeyTrialLimit'==_0x51a8e8||'formatPainterLicenseKeyUsageLimit'==_0x51a8e8){delete _0x264390[_0x47230d],_0x176575=_0x51a8e8,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'formatPainterLicenseKeyInvalid'==_0x176575&&_0x264390['_showLicenseError']('invalid'),'formatPainterLicenseKeyExpired'==_0x176575&&_0x264390['_showLicenseError']('expired'),'formatPainterLicenseKeyDomainLimit'==_0x176575&&_0x264390['_showLicenseError']('domainLimit'),'formatPainterLicenseKeyNotAllowed'==_0x176575&&_0x264390['_showLicenseError']('featureNotAllowed','FormatPainter'),'formatPainterLicenseKeyEvaluationLimit'==_0x176575&&_0x264390['_showLicenseError']('evaluationLimit'),'formatPainterLicenseKeyTrialLimit'==_0x176575&&_0x264390['_showLicenseError']('trialLimit'),'formatPainterLicenseKeyUsageLimit'==_0x176575&&_0x264390['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function getTranslation$b(_0x23ce97,_0x191d55){const t=_0x23ce97['t'];switch(_0x191d55){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 _0x191d55;}}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 _0x358a4b=this['editor'];_0x358a4b['editing']['view']['addObserver'](ckeditor5['ClickObserver']),_0x358a4b['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':getTranslation$b(_0x358a4b['locale'],'Copy\x20text\x20formatting'),'keystroke':'Ctrl+Alt+C'},{'label':getTranslation$b(_0x358a4b['locale'],'Paste\x20text\x20formatting'),'keystroke':'Ctrl+Alt+V'}]}),_0x358a4b['ui']['componentFactory']['add']('formatPainter',_0x574044=>{const _0x1d3d8f=ckeditor5['createDropdown'](_0x574044,ckeditor5['SplitButtonView']),_0xcac752=_0x358a4b['commands']['get'](_0x9d2a2c);_0x1d3d8f['buttonView']['set']({'label':getTranslation$b(_0x358a4b['locale'],'Paint\x20formatting'),'icon':ckeditor5['IconPaintRoller'],'keystroke':'Ctrl+Alt+C','tooltip':!0x0}),_0x1d3d8f['class']='ck-format-painter-dropdown',_0xcac752&&(_0x1d3d8f['bind']('isEnabled')['to'](_0xcac752,'isEnabled'),this['listenTo'](_0xcac752,'change:isEnabled',(_0x57ff42,_0x3c0eed,_0x253b3f)=>{_0x253b3f||this['_finishPainting']();}),_0x1d3d8f['buttonView']['bind']('isOn')['to'](_0xcac752,'value',_0x4759d6=>!!_0x4759d6),this['listenTo'](_0x358a4b,'destroy',()=>this['_toggleSpecialCursor'](!0x1)),this['listenTo'](_0xcac752,'change:value',(_0x45652f,_0x42a9cb,_0x598118)=>{this['_toggleSpecialCursor'](!!_0x598118);}));const _0x354050=new ckeditor5['UIModel']({'withText':!0x0,'label':getTranslation$b(_0x358a4b['locale'],'Continuous\x20painting'),'tooltip':getTranslation$b(_0x358a4b['locale'],'Keeps\x20the\x20painter\x20on\x20after\x20setting\x20the\x20formatting.'),'isOn':!0x1,'role':'menuitemcheckbox'});ckeditor5['addListToDropdown'](_0x1d3d8f,new ckeditor5['Collection']([{'type':'switchbutton','model':_0x354050}]),{'role':'menu'});const _0x1d33ec=()=>{this['_copyFormatting'](),this['listenTo'](ckeditor5['global']['window']['document'],'mouseup',()=>{this['_pasteFormatting'](),_0x354050['isOn']||this['_finishPainting']();});};return this['listenTo'](_0x1d3d8f,'execute',()=>{_0x354050['isOn']=!_0x354050['isOn'];}),this['listenTo'](_0x1d3d8f['buttonView'],'execute',()=>{_0x358a4b['editing']['view']['focus'](),_0x1d3d8f['buttonView']['isOn']?this['_finishPainting']():_0x1d33ec();}),_0x358a4b['keystrokes']['set']('Ctrl+Alt+C',(_0x43e4ad,_0x48c5d5)=>{_0x1d33ec(),_0x354050['isOn']=!0x0,_0x48c5d5();},{'priority':'high'}),_0x358a4b['keystrokes']['set']('Ctrl+Alt+V',(_0x252dcc,_0xf256fd)=>{_0x1d3d8f['buttonView']['isOn']&&(this['_pasteFormatting'](),_0x354050['isOn']||this['_finishPainting'](),_0xf256fd());},{'priority':'high'}),_0x358a4b['keystrokes']['set']('Esc',(_0x537354,_0x346bb7)=>{_0x1d3d8f['buttonView']['isOn']&&(_0x354050['isOn']=!0x1,this['_finishPainting'](),_0x346bb7());}),_0x1d3d8f;});}['afterInit'](){_0xdb9c27(this);}['_toggleSpecialCursor'](_0x488516){this['editor']['editing']['view']['change'](_0x4839a9=>{for(const _0x403d71 of this['editor']['editing']['view']['document']['roots'])_0x488516?_0x4839a9['addClass'](_0x443eef,_0x403d71):_0x4839a9['removeClass'](_0x443eef,_0x403d71);});}['_copyFormatting'](){const {editor:_0x31e74d}=this;_0x31e74d['execute'](_0x9d2a2c),_0x31e74d['ui']['ariaLiveAnnouncer']['announce'](getTranslation$b(_0x31e74d['locale'],'Formatting\x20copied.'));}['_pasteFormatting'](){const {editor:_0x110085}=this,_0x4ece19=_0x110085['commands']['get'](_0x9d2a2c)['value'];_0x110085['execute'](_0xb00167,_0x4ece19),_0x110085['ui']['ariaLiveAnnouncer']['announce'](getTranslation$b(_0x110085['locale'],'Pasted\x20formatting.'));}['_finishPainting'](){this['editor']['commands']['get'](_0x9d2a2c)['reset'](),this['stopListening'](ckeditor5['global']['window']['document'],'mouseup');}}async function _0xdb9c27(_0x5a1777){const _0x32df66=_0x81f028([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]),_0xdb07fa=window[_0x81f028([0x44,0x61,0x74,0x65])][_0x81f028([0x6e,0x6f,0x77])](),_0x3c486b=_0x5a1777[_0x81f028([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x34f542=new window[(_0x81f028([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x18b03a=>{_0x3c486b[_0x81f028([0x6f,0x6e,0x63,0x65])](_0x81f028([0x72,0x65,0x61,0x64,0x79]),_0x18b03a);}),_0x473309={[_0x81f028([0x6b,0x74,0x79])]:_0x81f028([0x45,0x43]),[_0x81f028([0x75,0x73,0x65])]:_0x81f028([0x73,0x69,0x67]),[_0x81f028([0x63,0x72,0x76])]:_0x81f028([0x50,0x2d,0x32,0x35,0x36]),[_0x81f028([0x78])]:_0x81f028([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]),[_0x81f028([0x79])]:_0x81f028([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]),[_0x81f028([0x61,0x6c,0x67])]:_0x81f028([0x45,0x53,0x32,0x35,0x36])},_0x5ea8ee=_0x3c486b[_0x81f028([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x81f028([0x67,0x65,0x74])](_0x81f028([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x32d77d=await(async function(){let _0x6c80be,_0x21afb4=null,_0x56f382=null;try{if(_0x5ea8ee==_0x81f028([0x47,0x50,0x4c]))return _0x81f028([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x6c80be=(function(){const _0x4b7747=_0x5ea8ee[_0x81f028([0x73,0x70,0x6c,0x69,0x74])](_0x81f028([0x2e]));if(0x3!=_0x4b7747[_0x81f028([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;const _0xdc7204=_0x4b7747[0x1];return _0x239ec4(_0xdc7204);function _0x239ec4(_0x3893c2){const _0x5b9e48=_0x3e70b5(_0x3893c2);return _0x5b9e48&&_0x56c457()?_0x5b9e48:null;function _0x56c457(){const _0x2259d9=_0x5b9e48[_0x81f028([0x6a,0x74,0x69])],_0x2aee7f=window[_0x81f028([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2259d9[_0x81f028([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2259d9[_0x81f028([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x9b957b={..._0x5b9e48,[_0x81f028([0x6a,0x74,0x69])]:_0x2259d9[_0x81f028([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x2259d9[_0x81f028([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x9b957b[_0x81f028([0x76,0x63])],_0x2dc917(_0x9b957b)==_0x2aee7f;}}}()),!_0x6c80be)return _0x81f028([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);_0x6c80be[_0x81f028([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x56f382=function(_0x5e294b,_0x334635){return new window[(_0x81f028([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x40437b=>{if(_0x10f636())return _0x40437b(_0x81f028([0x56,0x61,0x6c,0x69,0x64]));_0x1fc2ea(),_0x3c486b[_0x81f028([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x81f028([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x1434cd=!0x1;const _0x14eb70=ckeditor5['uid']();function _0x42443d(_0x5876d2){return!!_0x5876d2&&(typeof _0x5876d2===_0x81f028([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x5876d2===_0x81f028([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x5876d2[_0x81f028([0x74,0x68,0x65,0x6e])]===_0x81f028([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x5876d2[_0x81f028([0x63,0x61,0x74,0x63,0x68])]===_0x81f028([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x5c742f(_0x2ed79d){_0x2c7c4(_0x2ed79d)[_0x81f028([0x74,0x68,0x65,0x6e])](_0x40063d=>{if(!_0x40063d||_0x40063d[_0x81f028([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x81f028([0x6f,0x6b]))return _0x81f028([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x986711(_0x2dc917(_0x14eb70+_0x334635))!=_0x40063d[_0x81f028([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x81f028([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x81f028([0x56,0x61,0x6c,0x69,0x64]);})[_0x81f028([0x74,0x68,0x65,0x6e])](_0x4bc037=>(_0x54a66b(),_0x4bc037),()=>{const _0x4243dd=_0x47e7f0();return null==_0x4243dd?(_0x54a66b(),_0x81f028([0x56,0x61,0x6c,0x69,0x64])):_0x81f028(_0xdb07fa-_0x4243dd>0x240c8400?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x81f028([0x74,0x68,0x65,0x6e])](_0x40437b)[_0x81f028([0x63,0x61,0x74,0x63,0x68])](()=>{_0x40437b(_0x81f028([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x1ba20d=0x36ee80;function _0x54a66b(){const _0x1a704e=_0x81f028([0x6c,0x6c,0x63,0x74,0x2d])+_0x986711(_0x2dc917(_0x5e294b)),_0xb4f086=_0x3c8ca0(_0x986711(window[_0x81f028([0x4d,0x61,0x74,0x68])][_0x81f028([0x63,0x65,0x69,0x6c])](_0xdb07fa/_0x1ba20d)));window[_0x81f028([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x81f028([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1a704e,_0xb4f086);}function _0x47e7f0(){const _0x357c98=_0x81f028([0x6c,0x6c,0x63,0x74,0x2d])+_0x986711(_0x2dc917(_0x5e294b)),_0x3ddff3=window[_0x81f028([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x81f028([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x357c98);return _0x3ddff3?window[_0x81f028([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3c8ca0(_0x3ddff3),0x10)*_0x1ba20d:null;}function _0x2c7c4(_0x20928b){return new window[(_0x81f028([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4e4282,_0x5f0583)=>{_0x20928b[_0x81f028([0x74,0x68,0x65,0x6e])](_0x4e4282,_0x5f0583),window[_0x81f028([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x5f0583,0x1d4c0);});}}_0x3c486b[_0x81f028([0x6f,0x6e])](_0x81f028([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x4d5fe3,_0x33a14a)=>{if(_0x33a14a[0x0]!=_0x5e294b)return _0x40437b(_0x81f028([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x33a14a[0x1]={..._0x33a14a[0x1],[_0x81f028([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x14eb70};},{[_0x81f028([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x81f028([0x68,0x69,0x67,0x68])}),_0x3c486b[_0x81f028([0x6f,0x6e])](_0x81f028([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x4eb6ee=>{_0x42443d(_0x4eb6ee[_0x81f028([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x1434cd=!0x0,_0x5c742f(_0x4eb6ee[_0x81f028([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x81f028([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x81f028([0x6c,0x6f,0x77])}),_0x34f542[_0x81f028([0x74,0x68,0x65,0x6e])](()=>{_0x1434cd||_0x40437b(_0x81f028([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x10f636(){return _0x3c486b[_0x81f028([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x81f028([0x76,0x69,0x65,0x77])][_0x81f028([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x81f028([0x61,0x75,0x74,0x6f]);}function _0x1fc2ea(){_0x3c486b[_0x81f028([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x81f028([0x76,0x69,0x65,0x77])][_0x81f028([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x81f028([0x61,0x75,0x74,0x6f]);}}(_0x6c80be[_0x81f028([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x6c80be[_0x81f028([0x6a,0x74,0x69])]));const _0x58fa23=await(async function(){let _0x2bb395=!0x0;try{const _0x378233=_0x5ea8ee[_0x81f028([0x73,0x70,0x6c,0x69,0x74])](_0x81f028([0x2e])),[_0x458156,_0x40d0e8,_0x551344]=_0x378233;return _0x5095b0(_0x458156),await _0x5c90df(_0x458156,_0x40d0e8,_0x551344),_0x2bb395;}catch{return!0x1;}function _0x5095b0(_0x3b9ee6){const _0x4ce0e6=_0x3e70b5(_0x3b9ee6);_0x4ce0e6&&_0x4ce0e6[_0x81f028([0x61,0x6c,0x67])]==_0x81f028([0x45,0x53,0x32,0x35,0x36])||(_0x2bb395=!0x1);}async function _0x5c90df(_0x21b9b2,_0x3d00eb,_0x55ac35){const _0x195436=window[_0x81f028([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x81f028([0x66,0x72,0x6f,0x6d])](_0x196056(_0x55ac35),_0x2f18b5=>_0x2f18b5[_0x81f028([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x42f8c4=new window[(_0x81f028([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x81f028([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x21b9b2+_0x81f028([0x2e])+_0x3d00eb),_0x204a16=window[_0x81f028([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x81f028([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x204a16)return;const _0x46aa3f=await _0x204a16[_0x81f028([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x81f028([0x6a,0x77,0x6b]),_0x473309,{[_0x81f028([0x6e,0x61,0x6d,0x65])]:_0x81f028([0x45,0x43,0x44,0x53,0x41]),[_0x81f028([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x81f028([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x81f028([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x204a16[_0x81f028([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x81f028([0x6e,0x61,0x6d,0x65])]:_0x81f028([0x45,0x43,0x44,0x53,0x41]),[_0x81f028([0x68,0x61,0x73,0x68])]:{[_0x81f028([0x6e,0x61,0x6d,0x65])]:_0x81f028([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x46aa3f,_0x195436,_0x42f8c4)||(_0x2bb395=!0x1);}}());return _0x58fa23?(function(){const _0x2bc13a=_0x6c80be[_0x81f028([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];if(!_0x2bc13a)return!0x1;if(_0x2bc13a[_0x81f028([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x81f028([0x2a])))return!0x0;if(_0x2bc13a[_0x81f028([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x81f028([0x46,0x50])))return!0x0;if(_0x2bc13a[_0x81f028([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x81f028([0x50,0x50])))return!0x0;if(_0x2bc13a[_0x81f028([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x81f028([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))&&window[_0x81f028([0x67,0x6c,0x6f,0x62])]&&window[_0x81f028([0x67,0x6c,0x6f,0x62])][_0x81f028([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])])return!0x0;return!0x1;}())?(function(){const _0x3e62d4=[_0x81f028([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x81f028([0x74,0x72,0x69,0x61,0x6c])][_0x81f028([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x6c80be[_0x81f028([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0xdb07fa/0x3e8:0x68f03580;return _0x6c80be[_0x81f028([0x65,0x78,0x70])]<_0x3e62d4;}())?_0x81f028([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):(function(){const _0x25dd54=_0x6c80be[_0x81f028([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x25dd54||0x0==_0x25dd54[_0x81f028([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x833d2d}=new URL(window[_0x81f028([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x25dd54[_0x81f028([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x833d2d))return!0x0;const _0x1b04d3=_0x833d2d[_0x81f028([0x73,0x70,0x6c,0x69,0x74])](_0x81f028([0x2e]));return _0x25dd54[_0x81f028([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5a371f=>_0x5a371f[_0x81f028([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x81f028([0x2a])))[_0x81f028([0x6d,0x61,0x70])](_0x506d07=>_0x506d07[_0x81f028([0x73,0x70,0x6c,0x69,0x74])](_0x81f028([0x2e])))[_0x81f028([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xc87dc8=>_0xc87dc8[_0x81f028([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x1b04d3[_0x81f028([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x81f028([0x6d,0x61,0x70])](_0x2b6f6f=>Array(_0x1b04d3[_0x81f028([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x2b6f6f[_0x81f028([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x81f028([0x66,0x69,0x6c,0x6c])](_0x2b6f6f[0x0]===_0x81f028([0x2a])?_0x81f028([0x2a]):'')[_0x81f028([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x2b6f6f))[_0x81f028([0x73,0x6f,0x6d,0x65])](_0x476a50=>_0x1b04d3[_0x81f028([0x65,0x76,0x65,0x72,0x79])]((_0x2862a4,_0x5aae69)=>_0x476a50[_0x5aae69]===_0x2862a4||_0x476a50[_0x5aae69]===_0x81f028([0x2a])));}())?(_0x6c80be[_0x81f028([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x81f028([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x21afb4=_0x47a06a(_0x81f028([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x6c80be[_0x81f028([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x81f028([0x74,0x72,0x69,0x61,0x6c])&&(_0x21afb4=_0x47a06a(_0x81f028([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await(function(){if(_0x21afb4&&_0x56f382)return new window[(_0x81f028([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x41107b,_0x248c51)=>{_0x21afb4[_0x81f028([0x74,0x68,0x65,0x6e])](_0x41107b,_0x248c51),_0x56f382[_0x81f028([0x74,0x68,0x65,0x6e])](_0x1a3d7d=>{_0x1a3d7d!=_0x81f028([0x56,0x61,0x6c,0x69,0x64])&&_0x41107b(_0x1a3d7d);},_0x248c51);});return _0x21afb4||_0x56f382||_0x81f028([0x56,0x61,0x6c,0x69,0x64]);}())):_0x81f028([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x81f028([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x81f028([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x81f028([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}}());function _0x47a06a(_0x1c4ab4){const _0x82af42=[new window[(_0x81f028([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x8a7dec=>setTimeout(_0x8a7dec,0x93ecc)),_0x34f542[_0x81f028([0x74,0x68,0x65,0x6e])](()=>new window[(_0x81f028([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1640ff=>{let _0x112644=0x0;_0x3c486b[_0x81f028([0x6d,0x6f,0x64,0x65,0x6c])][_0x81f028([0x6f,0x6e])](_0x81f028([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x4dc088,_0x24dab2)=>{_0x24dab2[0x0][_0x81f028([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x112644++,0x1f8==_0x112644&&(_0x1640ff(),_0x4dc088[_0x81f028([0x6f,0x66,0x66])]());});}))];return window[_0x81f028([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x81f028([0x72,0x61,0x63,0x65])](_0x82af42)[_0x81f028([0x74,0x68,0x65,0x6e])](()=>_0x1c4ab4);}function _0x3e70b5(_0x41e5bc){return _0x41e5bc[_0x81f028([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x81f028([0x65,0x79]))?JSON[_0x81f028([0x70,0x61,0x72,0x73,0x65])](_0x196056(_0x41e5bc)):null;}function _0x196056(_0x4fd27a){return window[_0x81f028([0x61,0x74,0x6f,0x62])](_0x4fd27a[_0x81f028([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x81f028([0x2b]))[_0x81f028([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x81f028([0x2f])));}function _0x2dc917(_0x2665db){let _0x4316cb=0x1505;function _0x190e66(_0x504c6b){for(let _0x36c8fb=0x0;_0x36c8fb<_0x504c6b[_0x81f028([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x36c8fb++){const _0x82ab50=_0x504c6b[_0x81f028([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x36c8fb);_0x4316cb=(_0x4316cb<<0x5)+_0x4316cb+_0x82ab50,_0x4316cb&=_0x4316cb;}}return function _0x180a33(_0x4ffff8){Array[_0x81f028([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x4ffff8)?_0x4ffff8[_0x81f028([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x180a33):_0x4ffff8&&typeof _0x4ffff8==_0x81f028([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x81f028([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x4ffff8)[_0x81f028([0x73,0x6f,0x72,0x74])]()[_0x81f028([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x3745a1,_0x2f11bb])=>{_0x190e66(_0x3745a1),_0x180a33(_0x2f11bb);}):_0x190e66(window[_0x81f028([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x4ffff8));}(_0x2665db),_0x4316cb>>>0x0;}function _0x986711(_0x1a48bd){return _0x1a48bd[_0x81f028([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x81f028([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x81f028([0x30]));}function _0x3c8ca0(_0x3ee069){return _0x3ee069[_0x81f028([0x73,0x70,0x6c,0x69,0x74])]('')[_0x81f028([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x81f028([0x6a,0x6f,0x69,0x6e])]('');}function _0x5bf17a(){}function _0x81f028(_0x36100e){return _0x36100e['map'](_0x21486b=>String['fromCharCode'](_0x21486b))['join']('');}!function(_0x5006c7){const _0x3b5a26=(function(){const _0x36fb20=window[_0x81f028([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x81f028([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x81f028([0x6e,0x6f,0x77])]())[_0x81f028([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x81f028([0x2e]),'');let _0x696d4e=_0x81f028([0x75]);for(let _0x6a03c7=0x0;_0x6a03c7<_0x36fb20[_0x81f028([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x6a03c7+=0x2){let _0x1b9431=window[_0x81f028([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x36fb20[_0x81f028([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x6a03c7,_0x6a03c7+0x2));_0x1b9431>=_0x32df66[_0x81f028([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x1b9431-=_0x32df66[_0x81f028([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x696d4e+=_0x32df66[_0x1b9431];}return _0x696d4e;}());_0x3c486b[_0x3b5a26]=_0x81f028([0x66,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x5006c7,_0x5006c7!=_0x81f028([0x56,0x61,0x6c,0x69,0x64])&&(async function(){await _0x34f542,_0x3c486b[_0x81f028([0x6d,0x6f,0x64,0x65,0x6c])][_0x81f028([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x5bf17a,_0x3c486b[_0x81f028([0x6d,0x6f,0x64,0x65,0x6c])][_0x81f028([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x5bf17a,_0x3c486b[_0x81f028([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x81f028([0x6d,0x6f,0x64,0x65,0x6c]));}());}(_0x32d77d);}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(_0x3f9055,_0x2c85e){const t=_0x3f9055['t'];switch(_0x2c85e){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 _0x2c85e;}}class ImportWordUI extends ckeditor5['Plugin']{static get['pluginName'](){return'ImportWordUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x42d2c1=this['editor'];_0x42d2c1['ui']['componentFactory']['add']('importWord',()=>{const _0x2df750=this['_createButton'](ckeditor5['FileDialogButtonView']),_0x4786b7=_0x42d2c1['commands']['get']('importWord');return _0x2df750['bind']('isOn')['to'](_0x4786b7,'isBusy'),_0x2df750['tooltip']=!0x0,_0x2df750;}),_0x42d2c1['ui']['componentFactory']['add']('menuBar:importWord',()=>this['_createButton'](ckeditor5['MenuBarMenuListItemFileDialogButtonView']));}['_createButton'](_0x42aad0){const _0x551d72=this['editor'],_0x13ea82=_0x551d72['commands']['get']('importWord'),_0x28bb81=new _0x42aad0(_0x551d72['locale']),_0x40e889=new ckeditor5['SpinnerView']();return _0x28bb81['set']({'acceptedType':'application/vnd.openxmlformats-officedocument.wordprocessingml.document,application/vnd.openxmlformats-officedocument.wordprocessingml.template'}),_0x28bb81['set']({'icon':ckeditor5['IconImportWord']}),_0x28bb81['bind']('isEnabled')['to'](_0x13ea82),_0x28bb81['bind']('label')['to'](_0x13ea82,'isBusy',_0x3428c9=>getTranslation$a(_0x551d72['locale'],_0x3428c9?'Importing\x20Word\x20document':'Import\x20from\x20Word')),_0x40e889['bind']('isVisible')['to'](_0x13ea82,'isBusy'),_0x28bb81['iconView']['bind']('isVisible')['to'](_0x13ea82,'isBusy',_0x3c9be2=>!_0x3c9be2),_0x28bb81['children']['add'](_0x40e889),_0x28bb81['on']('done',(_0x22a2ef,_0x532c44)=>{_0x551d72['execute']('importWord',_0x532c44[0x0],{}),_0x551d72['editing']['view']['focus']();}),_0x28bb81;}}class ImportWordCommand extends ckeditor5['Command']{['_importMarker'];['_undoStepBatch'];['_abortController'];constructor(_0x85b0d7){super(_0x85b0d7),this['set']('isBusy',!0x1),this['_importMarker']=null,this['_undoStepBatch']=null,this['_abortController']=null,this['on']('dataInsert',(_0x2fd2d2,_0x159cad)=>{const _0x648382=new DataTransfer();_0x648382['setData']('text/html',_0x159cad['html']);const _0x596f85=this['_importMarker']['getRange']();this['editor']['model']['enqueueChange'](this['_undoStepBatch'],_0x2de956=>{this['_importMarker']['stopListening'](),_0x2de956['setSelection'](_0x596f85),_0x85b0d7['editing']['view']['document']['fire']('clipboardInput',{'dataTransfer':_0x648382});});},{'priority':'low'});}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x35871e,_0x2cf905={}){if(this['isBusy'])return Promise['resolve']();const _0x952d86=this['editor']['config']['get']('importWord');if(this['editor']['plugins']['has']('MergeFields')){const {prefix:_0x36dfca,suffix:_0x2ddcdd}=this['editor']['config']['get']('mergeFields');_0x2cf905['merge_fields']={'prefix':_0x36dfca,'suffix':_0x2ddcdd};}const _0x531406={'url':_0x952d86['converterUrl'],'file':_0x35871e,'serviceConfig':{..._0x2cf905,'formatting':_0x952d86['formatting'],'timezone':new Intl['DateTimeFormat']()['resolvedOptions']()['timeZone']}};return this['_prepareForImport'](),this['_sendImportRequest'](_0x531406)['then'](this['_handleImportResponse']['bind'](this))['catch'](this['_handleImportFailure']['bind'](this))['finally'](this['_cleanUpAfterImport']['bind'](this));}['_checkEnabled'](){if(this['isBusy'])return!0x1;const _0x41e77f=this['editor']['model'],_0x2f4cdd=_0x41e77f['schema'],_0xf4c6bc=_0x41e77f['document']['selection'],_0x4d7e3b=ckeditor5['first'](_0xf4c6bc['getSelectedBlocks']());return!!_0x4d7e3b&&_0x2f4cdd['checkChild'](_0x4d7e3b['parent'],'paragraph');}['_prepareForImport'](){const _0x5d2c57=this['editor'],_0x10e2a1=_0x5d2c57['model'],_0x22b3d8=_0x10e2a1['document']['selection'];this['_abortController']=new AbortController(),this['_undoStepBatch']=_0x5d2c57['model']['createBatch']({'isUndoable':!0x0}),_0x10e2a1['enqueueChange'](this['_undoStepBatch'],_0x3a3f1e=>{_0x22b3d8['isCollapsed']||_0x10e2a1['deleteContent'](_0x22b3d8,{'leaveUnmerged':!0x0});const _0x5403df=_0x22b3d8['getFirstPosition'](),_0xb6059=ckeditor5['first'](_0x22b3d8['getSelectedBlocks']());let _0x47f546;_0x47f546=_0xb6059['is']('element','paragraph')&&_0xb6059['isEmpty']?_0x5403df:_0x5403df['isAtStart']?_0x10e2a1['createPositionBefore'](_0xb6059):_0x5403df['isAtEnd']?_0x10e2a1['createPositionAfter'](_0xb6059):_0x3a3f1e['split'](_0x5403df)['position'],this['_importMarker']=_0x3a3f1e['addMarker']('importWord:'+ckeditor5['uid'](),{'usingOperation':!0x1,'affectsData':!0x1,'range':new ckeditor5['ModelRange'](_0x47f546)}),this['_importMarker']['on']('change:range',()=>{'$graveyard'===this['_importMarker']['getRange']()['root']['rootName']&&this['_abortController']['abort']();});}),this['isBusy']=!0x0,this['refresh']();}['_cleanUpAfterImport'](){const _0x5419a2=this['editor']['model'];_0x5419a2['markers']['has'](this['_importMarker'])&&_0x5419a2['enqueueChange'](this['_undoStepBatch'],_0x408523=>{_0x408523['removeMarker'](this['_importMarker']);}),this['_importMarker']=null,this['_undoStepBatch']=null,this['_abortController']=null,this['isBusy']=!0x1,this['refresh']();}['_sendImportRequest']({url:_0x5ba248,file:_0x28ec62,serviceConfig:_0x14057e}){const _0x48142a=this['editor']['plugins']['get']('ImportWordEditing')['getToken'](),_0x6b629c=new FormData();_0x6b629c['set']('config',JSON['stringify'](_0x14057e)),_0x6b629c['set']('file',_0x28ec62);const _0x5c8432={'method':'POST','headers':{},'body':_0x6b629c,'signal':this['_abortController']['signal']};return _0x48142a&&(_0x5c8432['headers']['Authorization']=_0x48142a['value']),fetch(_0x5ba248,_0x5c8432);}['_handleImportResponse'](_0x47fbdf){return _0x47fbdf['ok']?_0x47fbdf['json']()['then'](_0x3d57a7=>{if(!this['editor']['model']['markers']['has'](this['_importMarker']))return;'$graveyard'!==this['_importMarker']['getRange']()['root']['rootName']&&this['fire']('dataInsert',_0x3d57a7);}):Promise['reject']();}['_handleImportFailure'](){if(this['_abortController']['signal']['aborted'])return void ckeditor5['logWarning']('import-word-plugin-import-cancelled');const _0x4fe4aa=this['editor'],_0x2643ed=getTranslation$a(_0x4fe4aa['locale'],'An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.');_0x4fe4aa['plugins']['get']('Notification')['showWarning'](_0x2643ed),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(_0x53d998){super(_0x53d998),this['_token']=null;}async['init'](){const _0x27c39c=this['editor'];_0x27c39c['config']['define']('importWord',{'converterUrl':'https://docx-converter.cke-cs.com/v2/convert/docx-html','tokenUrl':(_0x27c39c['config']['get']('cloudServices')||{})['tokenUrl'],'formatting':{'resets':'none','defaults':'none','styles':'inline'}}),_0x27c39c['commands']['add']('importWord',new ImportWordCommand(_0x27c39c));const {tokenUrl:_0x12356a}=_0x27c39c['config']['get']('importWord');if(_0x12356a){const {tokenUrl:_0x388039}=_0x27c39c['config']['get']('cloudServices')||{};this['_token']=_0x12356a===_0x388039?_0x27c39c['plugins']['get']('CloudServices')['token']:await _0x27c39c['plugins']['get']('CloudServices')['registerTokenUrl'](_0x12356a);}}['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 _0x19f0b4=this['editor']['model']['document'],_0x199c82=ckeditor5['first'](_0x19f0b4['selection']['getSelectedBlocks']());this['isEnabled']=Boolean(_0x199c82)&&this['_canHaveLineHeight'](_0x199c82),this['value']=this['isEnabled']&&_0x199c82['getAttribute']('lineHeight');}['execute'](_0x480a03={}){const _0x211c26=this['editor']['model'],_0x4a33b5=_0x211c26['document']['selection'],_0x2e6062=_0x480a03['value'];_0x211c26['change'](_0x542153=>{const _0x579ebe=Array['from'](_0x4a33b5['getSelectedBlocks']())['filter'](_0xd3418e=>this['_canHaveLineHeight'](_0xd3418e));for(const _0x441a4f of _0x579ebe)_0x2e6062?_0x542153['setAttribute']('lineHeight',_0x2e6062,_0x441a4f):_0x542153['removeAttribute']('lineHeight',_0x441a4f);});}['_canHaveLineHeight'](_0x345bb){return this['editor']['model']['schema']['checkAttribute'](_0x345bb,'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(_0x4d2927){return'string'==typeof _0x4d2927&&'default'===_0x4d2927['toLowerCase']();}function normalizeOptions(_0x1739b7){return _0x1739b7['options']['map'](_0x5badbf=>isLineHeightDefaultValue(_0x5badbf)?{'title':String(_0x1739b7['defaultValue']),'model':'default'}:('number'==typeof _0x5badbf&&(_0x5badbf=String(_0x5badbf)),'string'!=typeof _0x5badbf?_0x5badbf:parseFloat(_0x5badbf)?{'title':_0x5badbf,'model':_0x5badbf,'view':{'name':'span','styles':{'line-height':_0x5badbf}}}:findPreset(_0x5badbf)))['filter'](_0x56b645=>void 0x0!==_0x56b645);}function findPreset(_0x201440){return'string'==typeof _0x201440?namedPresets[_0x201440]:namedPresets[_0x201440['model']];}function buildDefinition(_0x32370f,_0x4e0edd){const _0x3d3d35={'model':{'key':_0x32370f,'values':[]},'view':{}};for(const _0x2f27b6 of _0x4e0edd)'class'===_0x2f27b6['view']?.['key']?(_0x3d3d35['model']['values']['push'](_0x2f27b6['model']),_0x3d3d35['view'][_0x2f27b6['model']]={'key':'class','value':_0x2f27b6['view']['value']}):(_0x3d3d35['model']['values']['push'](_0x2f27b6['model']),_0x3d3d35['view'][_0x2f27b6['model']]={'key':'style','value':'line-height:'+_0x2f27b6['model']+';'});return _0x3d3d35;}class LineHeightEditing extends ckeditor5['Plugin']{static get['pluginName'](){return'LineHeightEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x91fd3d){super(_0x91fd3d),_0x91fd3d['config']['define']('lineHeight',{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,'default',0x2,2.5,0x3]});}['init'](){const _0x2f9a8a=this['editor'];this['_validateConfig'](),_0x2f9a8a['model']['schema']['extend']('$block',{'allowAttributes':'lineHeight'}),_0x2f9a8a['model']['schema']['setAttributeProperties']('lineHeight',{'isFormatting':!0x0}),_0x2f9a8a['commands']['add']('lineHeight',new LineHeightCommand(_0x2f9a8a)),this['editor']['config']['get']('lineHeight.supportAllValues')?this['_prepareAnyValueConverters']():this['_preparePredefinedConverters']();}['afterInit'](){_0x422358(this);}['_validateConfig'](){const _0x505d4e=this['editor'];if(!_0x505d4e['config']['get']('lineHeight.supportAllValues'))return;const _0x17de3f=_0x505d4e['config']['get']('lineHeight.options')['filter'](_0x37c393=>'string'==typeof _0x37c393&&(!isLineHeightDefaultValue(_0x37c393)&&isNaN(Number(_0x37c393))));if(_0x17de3f['length'])throw new ckeditor5['CKEditorError']('line-height-invalid-use-of-named-presets',null,{'namedPresets':_0x17de3f});}['_prepareAnyValueConverters'](){const _0x381674=this['editor'],_0x18324d=this['editor']['config']['get']('lineHeight.defaultValue');_0x381674['conversion']['for']('downcast')['attributeToAttribute']({'model':{'key':'lineHeight'},'view':_0x5bfd1f=>String(_0x5bfd1f)===String(_0x18324d)?null:{'key':'style','value':{'line-height':_0x5bfd1f}}}),_0x381674['conversion']['for']('upcast')['attributeToAttribute']({'model':{'key':'lineHeight','value':_0x50d4e0=>{let _0x2b66ea=_0x50d4e0['getStyle']('line-height');return ckeditor5['isPercentageStyleValue'](_0x2b66ea)&&(_0x2b66ea=String(Number(_0x2b66ea['slice'](0x0,-0x1))/0x64)),String(_0x2b66ea)===String(_0x18324d)?null:_0x2b66ea;}},'view':{'styles':{'line-height':/.*/}}});}['_preparePredefinedConverters'](){const _0x1009cd=this['editor'],_0xbc73dc=this['editor']['config']['get']('lineHeight.defaultValue'),_0x159334=buildDefinition('lineHeight',normalizeOptions(this['editor']['config']['get']('lineHeight'))['filter'](_0x3ad33a=>_0x3ad33a['model']));_0x1009cd['conversion']['attributeToAttribute'](_0x159334),_0x1009cd['conversion']['for']('upcast')['attributeToAttribute']({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':'lineHeight','value':_0x5e55d8=>{let _0x496666=_0x5e55d8['getStyle']('line-height');return ckeditor5['isPercentageStyleValue'](_0x496666)&&(_0x496666=String(Number(_0x496666['slice'](0x0,-0x1))/0x64)),_0x496666===String(_0xbc73dc)?null:_0x159334['model']['values']['includes'](_0x496666)?_0x496666:null;}}});}}async function _0x422358(_0x56fcc6){const _0xa5e27a=_0x526afe([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]),_0x37f517=window[_0x526afe([0x44,0x61,0x74,0x65])][_0x526afe([0x6e,0x6f,0x77])](),_0x2596b3=_0x56fcc6[_0x526afe([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x59ceaa=new window[(_0x526afe([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x349a2f=>{_0x2596b3[_0x526afe([0x6f,0x6e,0x63,0x65])](_0x526afe([0x72,0x65,0x61,0x64,0x79]),_0x349a2f);}),_0x57f6bc={[_0x526afe([0x6b,0x74,0x79])]:_0x526afe([0x45,0x43]),[_0x526afe([0x75,0x73,0x65])]:_0x526afe([0x73,0x69,0x67]),[_0x526afe([0x63,0x72,0x76])]:_0x526afe([0x50,0x2d,0x32,0x35,0x36]),[_0x526afe([0x78])]:_0x526afe([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]),[_0x526afe([0x79])]:_0x526afe([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]),[_0x526afe([0x61,0x6c,0x67])]:_0x526afe([0x45,0x53,0x32,0x35,0x36])},_0x377c25=_0x2596b3[_0x526afe([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x526afe([0x67,0x65,0x74])](_0x526afe([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x28eb6c=await(async function(){let _0x21a276,_0x55b96f=null,_0xbcb9e8=null;try{if(_0x377c25==_0x526afe([0x47,0x50,0x4c]))return _0x526afe([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x21a276=(function(){const _0x51c778=_0x377c25[_0x526afe([0x73,0x70,0x6c,0x69,0x74])](_0x526afe([0x2e]));if(0x3!=_0x51c778[_0x526afe([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;const _0x2b839d=_0x51c778[0x1];return _0x526304(_0x2b839d);function _0x526304(_0x6c8b03){const _0x3cc7f7=_0x4c83b7(_0x6c8b03);return _0x3cc7f7&&_0x2cb81c()?_0x3cc7f7:null;function _0x2cb81c(){const _0x1a794f=_0x3cc7f7[_0x526afe([0x6a,0x74,0x69])],_0x3d524d=window[_0x526afe([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1a794f[_0x526afe([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1a794f[_0x526afe([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x193f58={..._0x3cc7f7,[_0x526afe([0x6a,0x74,0x69])]:_0x1a794f[_0x526afe([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x1a794f[_0x526afe([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x193f58[_0x526afe([0x76,0x63])],_0x2c8159(_0x193f58)==_0x3d524d;}}}()),!_0x21a276)return _0x526afe([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);_0x21a276[_0x526afe([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0xbcb9e8=function(_0x10156a,_0x1ac9dc){return new window[(_0x526afe([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x25c5cd=>{if(_0x203d1f())return _0x25c5cd(_0x526afe([0x56,0x61,0x6c,0x69,0x64]));_0xb619(),_0x2596b3[_0x526afe([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x526afe([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x1ab590=!0x1;const _0x56b521=ckeditor5['uid']();function _0x5cd942(_0x4f4dec){return!!_0x4f4dec&&(typeof _0x4f4dec===_0x526afe([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x4f4dec===_0x526afe([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x4f4dec[_0x526afe([0x74,0x68,0x65,0x6e])]===_0x526afe([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x4f4dec[_0x526afe([0x63,0x61,0x74,0x63,0x68])]===_0x526afe([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x43ca87(_0x353b05){_0x1486b0(_0x353b05)[_0x526afe([0x74,0x68,0x65,0x6e])](_0x5e8b94=>{if(!_0x5e8b94||_0x5e8b94[_0x526afe([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x526afe([0x6f,0x6b]))return _0x526afe([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x3cba7d(_0x2c8159(_0x56b521+_0x1ac9dc))!=_0x5e8b94[_0x526afe([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x526afe([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x526afe([0x56,0x61,0x6c,0x69,0x64]);})[_0x526afe([0x74,0x68,0x65,0x6e])](_0x208cbd=>(_0x3b7f0f(),_0x208cbd),()=>{const _0x52e0d4=_0x15bc55();return null==_0x52e0d4?(_0x3b7f0f(),_0x526afe([0x56,0x61,0x6c,0x69,0x64])):_0x526afe(_0x37f517-_0x52e0d4>0x240c8400?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x526afe([0x74,0x68,0x65,0x6e])](_0x25c5cd)[_0x526afe([0x63,0x61,0x74,0x63,0x68])](()=>{_0x25c5cd(_0x526afe([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x3db701=0x36ee80;function _0x3b7f0f(){const _0x7346b7=_0x526afe([0x6c,0x6c,0x63,0x74,0x2d])+_0x3cba7d(_0x2c8159(_0x10156a)),_0x15b689=_0x5c54ac(_0x3cba7d(window[_0x526afe([0x4d,0x61,0x74,0x68])][_0x526afe([0x63,0x65,0x69,0x6c])](_0x37f517/_0x3db701)));window[_0x526afe([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x526afe([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x7346b7,_0x15b689);}function _0x15bc55(){const _0x242cf9=_0x526afe([0x6c,0x6c,0x63,0x74,0x2d])+_0x3cba7d(_0x2c8159(_0x10156a)),_0xb610a2=window[_0x526afe([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x526afe([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x242cf9);return _0xb610a2?window[_0x526afe([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5c54ac(_0xb610a2),0x10)*_0x3db701:null;}function _0x1486b0(_0xa09e65){return new window[(_0x526afe([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1486e6,_0x3eefec)=>{_0xa09e65[_0x526afe([0x74,0x68,0x65,0x6e])](_0x1486e6,_0x3eefec),window[_0x526afe([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x3eefec,0x1d4c0);});}}_0x2596b3[_0x526afe([0x6f,0x6e])](_0x526afe([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x182dc0,_0x440f57)=>{if(_0x440f57[0x0]!=_0x10156a)return _0x25c5cd(_0x526afe([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x440f57[0x1]={..._0x440f57[0x1],[_0x526afe([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x56b521};},{[_0x526afe([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x526afe([0x68,0x69,0x67,0x68])}),_0x2596b3[_0x526afe([0x6f,0x6e])](_0x526afe([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x29a317=>{_0x5cd942(_0x29a317[_0x526afe([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x1ab590=!0x0,_0x43ca87(_0x29a317[_0x526afe([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x526afe([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x526afe([0x6c,0x6f,0x77])}),_0x59ceaa[_0x526afe([0x74,0x68,0x65,0x6e])](()=>{_0x1ab590||_0x25c5cd(_0x526afe([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x203d1f(){return _0x2596b3[_0x526afe([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x526afe([0x76,0x69,0x65,0x77])][_0x526afe([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x526afe([0x61,0x75,0x74,0x6f]);}function _0xb619(){_0x2596b3[_0x526afe([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x526afe([0x76,0x69,0x65,0x77])][_0x526afe([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x526afe([0x61,0x75,0x74,0x6f]);}}(_0x21a276[_0x526afe([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x21a276[_0x526afe([0x6a,0x74,0x69])]));const _0x1df395=await(async function(){let _0x2a5228=!0x0;try{const _0x30d2c3=_0x377c25[_0x526afe([0x73,0x70,0x6c,0x69,0x74])](_0x526afe([0x2e])),[_0xe7382d,_0x52d69d,_0x330334]=_0x30d2c3;return _0x3e2855(_0xe7382d),await _0x316daa(_0xe7382d,_0x52d69d,_0x330334),_0x2a5228;}catch{return!0x1;}function _0x3e2855(_0x1bf897){const _0x29855e=_0x4c83b7(_0x1bf897);_0x29855e&&_0x29855e[_0x526afe([0x61,0x6c,0x67])]==_0x526afe([0x45,0x53,0x32,0x35,0x36])||(_0x2a5228=!0x1);}async function _0x316daa(_0x278071,_0x318d0c,_0x57eb72){const _0x182b5e=window[_0x526afe([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x526afe([0x66,0x72,0x6f,0x6d])](_0x40e7f2(_0x57eb72),_0x1126a4=>_0x1126a4[_0x526afe([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x441394=new window[(_0x526afe([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x526afe([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x278071+_0x526afe([0x2e])+_0x318d0c),_0x46aeb6=window[_0x526afe([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x526afe([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x46aeb6)return;const _0x3c5281=await _0x46aeb6[_0x526afe([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x526afe([0x6a,0x77,0x6b]),_0x57f6bc,{[_0x526afe([0x6e,0x61,0x6d,0x65])]:_0x526afe([0x45,0x43,0x44,0x53,0x41]),[_0x526afe([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x526afe([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x526afe([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x46aeb6[_0x526afe([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x526afe([0x6e,0x61,0x6d,0x65])]:_0x526afe([0x45,0x43,0x44,0x53,0x41]),[_0x526afe([0x68,0x61,0x73,0x68])]:{[_0x526afe([0x6e,0x61,0x6d,0x65])]:_0x526afe([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x3c5281,_0x182b5e,_0x441394)||(_0x2a5228=!0x1);}}());return _0x1df395?(function(){const _0x2fbaf0=_0x21a276[_0x526afe([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];if(!_0x2fbaf0)return!0x1;if(_0x2fbaf0[_0x526afe([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x526afe([0x2a])))return!0x0;if(_0x2fbaf0[_0x526afe([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x526afe([0x4c,0x48])))return!0x0;return!0x1;}())?(function(){const _0x5c95dd=[_0x526afe([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x526afe([0x74,0x72,0x69,0x61,0x6c])][_0x526afe([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x21a276[_0x526afe([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x37f517/0x3e8:0x68f03580;return _0x21a276[_0x526afe([0x65,0x78,0x70])]<_0x5c95dd;}())?_0x526afe([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):(function(){const _0x3207ee=_0x21a276[_0x526afe([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x3207ee||0x0==_0x3207ee[_0x526afe([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x4fd581}=new URL(window[_0x526afe([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x3207ee[_0x526afe([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4fd581))return!0x0;const _0xce476f=_0x4fd581[_0x526afe([0x73,0x70,0x6c,0x69,0x74])](_0x526afe([0x2e]));return _0x3207ee[_0x526afe([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x7daec6=>_0x7daec6[_0x526afe([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x526afe([0x2a])))[_0x526afe([0x6d,0x61,0x70])](_0x111e61=>_0x111e61[_0x526afe([0x73,0x70,0x6c,0x69,0x74])](_0x526afe([0x2e])))[_0x526afe([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x350643=>_0x350643[_0x526afe([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0xce476f[_0x526afe([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x526afe([0x6d,0x61,0x70])](_0x3f1f24=>Array(_0xce476f[_0x526afe([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x3f1f24[_0x526afe([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x526afe([0x66,0x69,0x6c,0x6c])](_0x3f1f24[0x0]===_0x526afe([0x2a])?_0x526afe([0x2a]):'')[_0x526afe([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x3f1f24))[_0x526afe([0x73,0x6f,0x6d,0x65])](_0xb1fe7e=>_0xce476f[_0x526afe([0x65,0x76,0x65,0x72,0x79])]((_0x3812fc,_0x141187)=>_0xb1fe7e[_0x141187]===_0x3812fc||_0xb1fe7e[_0x141187]===_0x526afe([0x2a])));}())?(_0x21a276[_0x526afe([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x526afe([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x55b96f=_0x23c692(_0x526afe([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x21a276[_0x526afe([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x526afe([0x74,0x72,0x69,0x61,0x6c])&&(_0x55b96f=_0x23c692(_0x526afe([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await(function(){if(_0x55b96f&&_0xbcb9e8)return new window[(_0x526afe([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5b55de,_0x5b10df)=>{_0x55b96f[_0x526afe([0x74,0x68,0x65,0x6e])](_0x5b55de,_0x5b10df),_0xbcb9e8[_0x526afe([0x74,0x68,0x65,0x6e])](_0x1d98ac=>{_0x1d98ac!=_0x526afe([0x56,0x61,0x6c,0x69,0x64])&&_0x5b55de(_0x1d98ac);},_0x5b10df);});return _0x55b96f||_0xbcb9e8||_0x526afe([0x56,0x61,0x6c,0x69,0x64]);}())):_0x526afe([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x526afe([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x526afe([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x526afe([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}}());function _0x23c692(_0x258920){const _0x1c89e9=[new window[(_0x526afe([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x17d442=>setTimeout(_0x17d442,0x93ecc)),_0x59ceaa[_0x526afe([0x74,0x68,0x65,0x6e])](()=>new window[(_0x526afe([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x13b3dc=>{let _0xedbee2=0x0;_0x2596b3[_0x526afe([0x6d,0x6f,0x64,0x65,0x6c])][_0x526afe([0x6f,0x6e])](_0x526afe([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x541175,_0x4ada5f)=>{_0x4ada5f[0x0][_0x526afe([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0xedbee2++,0x1f8==_0xedbee2&&(_0x13b3dc(),_0x541175[_0x526afe([0x6f,0x66,0x66])]());});}))];return window[_0x526afe([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x526afe([0x72,0x61,0x63,0x65])](_0x1c89e9)[_0x526afe([0x74,0x68,0x65,0x6e])](()=>_0x258920);}function _0x4c83b7(_0x5275b8){return _0x5275b8[_0x526afe([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x526afe([0x65,0x79]))?JSON[_0x526afe([0x70,0x61,0x72,0x73,0x65])](_0x40e7f2(_0x5275b8)):null;}function _0x40e7f2(_0x25c0e9){return window[_0x526afe([0x61,0x74,0x6f,0x62])](_0x25c0e9[_0x526afe([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x526afe([0x2b]))[_0x526afe([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x526afe([0x2f])));}function _0x2c8159(_0x185ecd){let _0x241042=0x1505;function _0x182210(_0x11a3cb){for(let _0x7c899e=0x0;_0x7c899e<_0x11a3cb[_0x526afe([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x7c899e++){const _0x1008ce=_0x11a3cb[_0x526afe([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x7c899e);_0x241042=(_0x241042<<0x5)+_0x241042+_0x1008ce,_0x241042&=_0x241042;}}return function _0x2b0025(_0x4ec71b){Array[_0x526afe([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x4ec71b)?_0x4ec71b[_0x526afe([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x2b0025):_0x4ec71b&&typeof _0x4ec71b==_0x526afe([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x526afe([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x4ec71b)[_0x526afe([0x73,0x6f,0x72,0x74])]()[_0x526afe([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x2f244f,_0x3828d2])=>{_0x182210(_0x2f244f),_0x2b0025(_0x3828d2);}):_0x182210(window[_0x526afe([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x4ec71b));}(_0x185ecd),_0x241042>>>0x0;}function _0x3cba7d(_0x299f72){return _0x299f72[_0x526afe([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x526afe([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x526afe([0x30]));}function _0x5c54ac(_0x3a46f5){return _0x3a46f5[_0x526afe([0x73,0x70,0x6c,0x69,0x74])]('')[_0x526afe([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x526afe([0x6a,0x6f,0x69,0x6e])]('');}function _0x53bf70(){}function _0x526afe(_0x28ebe2){return _0x28ebe2['map'](_0xcd5c64=>String['fromCharCode'](_0xcd5c64))['join']('');}!function(_0x5bd641){const _0x123a31=(function(){const _0x2f3c08=window[_0x526afe([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x526afe([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x526afe([0x6e,0x6f,0x77])]())[_0x526afe([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x526afe([0x2e]),'');let _0x3d4949=_0x526afe([0x51]);for(let _0x373375=0x0;_0x373375<_0x2f3c08[_0x526afe([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x373375+=0x2){let _0x5d1afa=window[_0x526afe([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2f3c08[_0x526afe([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x373375,_0x373375+0x2));_0x5d1afa>=_0xa5e27a[_0x526afe([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x5d1afa-=_0xa5e27a[_0x526afe([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x3d4949+=_0xa5e27a[_0x5d1afa];}return _0x3d4949;}());_0x2596b3[_0x123a31]=_0x526afe([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x5bd641,_0x5bd641!=_0x526afe([0x56,0x61,0x6c,0x69,0x64])&&(async function(){await _0x59ceaa,_0x2596b3[_0x526afe([0x6d,0x6f,0x64,0x65,0x6c])][_0x526afe([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x53bf70,_0x2596b3[_0x526afe([0x6d,0x6f,0x64,0x65,0x6c])][_0x526afe([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x53bf70,_0x2596b3[_0x526afe([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x526afe([0x6d,0x6f,0x64,0x65,0x6c]));}());}(_0x28eb6c);}class LineHeightUI extends ckeditor5['Plugin']{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'LineHeightUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x15934c={'accessibleLabel':(0x0,this['editor']['t'])('Line\x20height'),'options':this['_prepareListOptions']()};this['_registerToolbarComponent'](_0x15934c),this['_registerMenuBarComponent'](_0x15934c),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x22f8e7=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x49abbb;for(const _0x169298 in _0x22f8e7){const _0x545667=_0x169298,_0x1783fc=_0x22f8e7[_0x545667];if('lineHeightLicenseKeyValid'==_0x1783fc||'lineHeightLicenseKeyInvalid'==_0x1783fc||'lineHeightLicenseKeyExpired'==_0x1783fc||'lineHeightLicenseKeyDomainLimit'==_0x1783fc||'lineHeightLicenseKeyNotAllowed'==_0x1783fc||'lineHeightLicenseKeyEvaluationLimit'==_0x1783fc||'lineHeightLicenseKeyTrialLimit'==_0x1783fc||'lineHeightLicenseKeyUsageLimit'==_0x1783fc){delete _0x22f8e7[_0x545667],_0x49abbb=_0x1783fc,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'lineHeightLicenseKeyInvalid'==_0x49abbb&&_0x22f8e7['_showLicenseError']('invalid'),'lineHeightLicenseKeyExpired'==_0x49abbb&&_0x22f8e7['_showLicenseError']('expired'),'lineHeightLicenseKeyDomainLimit'==_0x49abbb&&_0x22f8e7['_showLicenseError']('domainLimit'),'lineHeightLicenseKeyNotAllowed'==_0x49abbb&&_0x22f8e7['_showLicenseError']('featureNotAllowed','LineHeight'),'lineHeightLicenseKeyEvaluationLimit'==_0x49abbb&&_0x22f8e7['_showLicenseError']('evaluationLimit'),'lineHeightLicenseKeyTrialLimit'==_0x49abbb&&_0x22f8e7['_showLicenseError']('trialLimit'),'lineHeightLicenseKeyUsageLimit'==_0x49abbb&&_0x22f8e7['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_shouldRenderCustomValueOption'](){return this['editor']['config']['get']('lineHeight.supportAllValues');}['_getLocalizedLineHeightOptions'](){const _0x59b6dc=this['editor'],t=_0x59b6dc['t'],_0xa9a215=_0x59b6dc['config']['get']('lineHeight'),_0x5ef608={'Single':t({'string':'Single','id':'LINE_HEIGHT_SINGLE_OPTION_LABEL'}),'Double':t({'string':'Double','id':'LINE_HEIGHT_DOUBLE_OPTION_LABEL'})};return normalizeOptions(_0xa9a215)['map'](_0x455d30=>{const _0x491625=_0x5ef608[_0x455d30['title']];return _0x491625&&_0x491625!=_0x455d30['title']&&(_0x455d30=Object['assign']({},_0x455d30,{'title':_0x491625})),_0x455d30;});}['_prepareListOptions'](){const _0x5efd8c=this['editor']['commands']['get']('lineHeight'),_0x54390b=this['editor']['config']['get']('lineHeight.defaultValue'),_0x11faaf=this['_getLocalizedLineHeightOptions'](),_0x4e6f86=new ckeditor5['Collection'](),_0x5d5bad=_0x70f6ca=>'default'===_0x70f6ca||String(_0x54390b)===_0x70f6ca;for(const _0x2ce99a of _0x11faaf){const _0x25c156={'type':'button','model':new ckeditor5['UIModel']({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','label':_0x2ce99a['title'],'withText':!0x0})};_0x5d5bad(_0x2ce99a['model'])?(_0x25c156['model']['bind']('isOn')['to'](_0x5efd8c,'value',_0x3615a1=>!_0x3615a1),_0x25c156['model']['commandParam']=void 0x0):(_0x25c156['model']['bind']('isOn')['to'](_0x5efd8c,'value',_0x5220ab=>_0x5220ab===_0x2ce99a['model']),_0x25c156['model']['commandParam']=_0x2ce99a['model']),_0x4e6f86['add'](_0x25c156);}if(this['_shouldRenderCustomValueOption']()){const _0x4dbc3e=this['_getCustomValueOptionDefinition'](_0x11faaf);_0x4e6f86['add'](_0x4dbc3e);}return _0x4e6f86;}['_getCustomValueOptionDefinition'](_0x561909){const _0x32ef5d=this['editor'],t=_0x32ef5d['t'],_0x2baa2f=_0x32ef5d['commands']['get']('lineHeight'),_0x5c62b3=_0x561909['map'](_0x583827=>_0x583827['model']),_0x545302={'type':'button','model':new ckeditor5['UIModel']({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','withText':!0x0})};return _0x545302['model']['bind']('commandParam')['to'](_0x2baa2f,'value'),_0x545302['model']['bind']('isOn')['to'](_0x2baa2f,'value',_0x24f408=>!!_0x24f408&&!_0x5c62b3['includes'](String(_0x24f408))),_0x545302['model']['bind']('label')['to'](_0x2baa2f,'value',_0x3c6428=>t({'string':'Custom:\x20%0','id':'LINE_HEIGHT_CUSTOM_OPTION_LABEL'},String(_0x3c6428))),_0x545302;}['_registerToolbarComponent']({accessibleLabel:_0xd472b0,options:_0x24b21c}){const _0x473111=this['editor'],_0x418008=_0x473111['commands']['get']('lineHeight');_0x473111['ui']['componentFactory']['add']('lineHeight',_0x53ffd9=>{const _0x89d9e6=ckeditor5['createDropdown'](_0x53ffd9);return ckeditor5['addListToDropdown'](_0x89d9e6,_0x24b21c,{'role':'menu','ariaLabel':_0xd472b0}),_0x89d9e6['buttonView']['set']({'label':_0xd472b0,'tooltip':!0x0,'icon':ckeditor5['IconLineHeight']}),_0x89d9e6['extendTemplate']({'attributes':{'class':['ck-line-height-dropdown']}}),_0x89d9e6['bind']('isEnabled')['to'](_0x418008),this['listenTo'](_0x89d9e6,'execute',_0x43eb4d=>{_0x473111['execute'](_0x43eb4d['source']['commandName'],{'value':_0x43eb4d['source']['commandParam']}),_0x473111['editing']['view']['focus']();}),_0x89d9e6['once']('change:isOpen',()=>{const _0xf77b4f=_0x89d9e6['panelView']['children']['first'];this['_attachCustomOptionVisibilityHandler'](_0x89d9e6,_0x24b21c,_0xf77b4f);}),_0x89d9e6;});}['_registerMenuBarComponent']({accessibleLabel:_0x5e2139,options:_0x12fc36}){const _0xd33dbb=this['editor'],_0x49409d=_0xd33dbb['commands']['get']('lineHeight');_0xd33dbb['ui']['componentFactory']['add']('menuBar:lineHeight',_0x4940b8=>{const _0x19e13c=new ckeditor5['MenuBarMenuView'](_0x4940b8);_0x19e13c['buttonView']['set']({'label':_0x5e2139,'icon':ckeditor5['IconLineHeight']}),_0x19e13c['bind']('isEnabled')['to'](_0x49409d);const _0x2e0ef4=new ckeditor5['MenuBarMenuListView'](_0x4940b8);for(const _0x11a1f4 of _0x12fc36){const _0x52d68d=new ckeditor5['MenuBarMenuListItemView'](_0x4940b8,_0x19e13c),_0x55a54f=new ckeditor5['MenuBarMenuListItemButtonView'](_0x4940b8);_0x55a54f['set']({'role':'menuitemradio','isToggleable':!0x0}),_0x55a54f['bind'](...Object['keys'](_0x11a1f4['model']))['to'](_0x11a1f4['model']),_0x55a54f['delegate']('execute')['to'](_0x19e13c),_0x55a54f['on']('execute',()=>{_0xd33dbb['execute'](_0x11a1f4['model']['commandName'],{'value':_0x11a1f4['model']['commandParam']}),_0xd33dbb['editing']['view']['focus']();}),_0x52d68d['children']['add'](_0x55a54f),_0x2e0ef4['items']['add'](_0x52d68d);}return _0x19e13c['panelView']['children']['add'](_0x2e0ef4),this['_attachCustomOptionVisibilityHandler'](_0x19e13c,_0x12fc36,_0x2e0ef4),_0x19e13c;});}['_attachCustomOptionVisibilityHandler'](_0x2fd71f,_0x39203d,_0x3456b3){if(!this['_shouldRenderCustomValueOption']())return;const _0x3c1533=()=>{if(!_0x2fd71f['isOpen'])return;_0x3456b3['items']['last']['isVisible']=Boolean(_0x39203d['last']['model']['isOn']);};_0x3c1533(),_0x2fd71f['on']('change:isOpen',()=>{_0x3c1533();});}}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(_0x57fe59,_0x27e766,_0x3a2e5c){super(_0x57fe59),this['defaultListMarkerStyle']=_0x27e766,this['_listDefinitions']=_0x3a2e5c,this['_listUtils']=this['editor']['plugins']['get']('ListUtils');}['refresh'](){this['value']=this['_getValue'](),this['isEnabled']=this['_checkEnabled']();}['execute'](_0x31903b={}){const _0x2ac980=this['editor']['model'],_0x1a5f3b=_0x31903b['listMarkerStyle']||this['defaultListMarkerStyle'];_0x2ac980['change'](()=>{const _0x6ed45d=this['_getListTypeFromListMarkerStyle'](_0x1a5f3b);if(!_0x6ed45d)return;const _0x32116c=_0x6ed45d+'List';this['editor']['execute'](_0x32116c,{'additionalAttributes':{'listMarkerStyle':_0x1a5f3b}});});}['_getValue'](){const _0x1ff283=ckeditor5['first'](this['editor']['model']['document']['selection']['getSelectedBlocks']());return this['_listUtils']['isListItemBlock'](_0x1ff283)?_0x1ff283['getAttribute']('listMarkerStyle'):null;}['_checkEnabled'](){const _0x1f4726=this['editor'],_0x4a5c71=_0x1f4726['commands']['get']('customNumberedList'),_0x8171ad=_0x1f4726['commands']['get']('customBulletedList');return _0x4a5c71['isEnabled']||_0x8171ad['isEnabled'];}['_getListTypeFromListMarkerStyle'](_0x5f3f8d){const _0x34ae14=this['_listDefinitions']['find'](_0x425054=>_0x425054['listMarkerStyle']==_0x5f3f8d);return _0x34ae14?_0x34ae14['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(_0x33742b){super(_0x33742b);const _0x28fac8=this['editor']['config']['get']('listMultiLevel.listDefinitions')||[];this['_listDefinitions']=[{'listType':'customNumbered','listMarkerStyle':'legal','className':'legal-list','listMarkers':[{'marker':_0x492d75=>_0x492d75+'.'}]},..._0x28fac8];}['init'](){const _0x2bafe9=this['editor'],_0x3e181d=_0x2bafe9['model'],_0x531762=_0x2bafe9['editing']['view'],_0xf2a6f1=_0x2bafe9['plugins']['get']('ListEditing');_0x2bafe9['commands']['add']('multiLevelList',new MultiLevelListCommand(_0x2bafe9,'legal',this['_listDefinitions'])),_0x3e181d['schema']['extend']('$listItem',{'allowAttributes':['listMarkerStyle','listMarker']}),_0x3e181d['schema']['addAttributeCheck']((_0x14f4bf,_0x1b2e53)=>{const _0x2a452d=_0x14f4bf['last'];if('listMarker'==_0x1b2e53||'listMarkerStyle'==_0x1b2e53)return!(!_0x2a452d['getAttribute']('listItemId')||!this['_listDefinitions']['find'](_0x3b5b08=>_0x3b5b08['listType']==_0x2a452d['getAttribute']('listType')))&&void 0x0;});for(const _0x2ea1b8 of this['_listDefinitions'])_0x2bafe9['conversion']['for']('upcast')['add'](_0x135777=>{_0x135777['on']('element:'+('customNumbered'==_0x2ea1b8['listType']?'ol':'ul'),multiLevelListUpcastConverter(_0x2ea1b8,_0x3e181d['schema']),{'priority':'low'});}),_0xf2a6f1['registerDowncastStrategy']({'scope':'list','attributeName':'listMarkerStyle','setAttributeOnDowncast'(_0x331c68,_0x9875fb,_0x35935d){_0x9875fb==_0x2ea1b8['listMarkerStyle']?(_0x331c68['addClass'](['multi-level-list',_0x2ea1b8['className']],_0x35935d),_0x331c68['setStyle']('list-style-type','none',_0x35935d)):(_0x331c68['removeClass'](['multi-level-list',_0x2ea1b8['className']],_0x35935d),_0x331c68['removeStyle']('list-style-type',_0x35935d));}}),_0xf2a6f1['registerDowncastStrategy']({'scope':'itemMarker','attributeName':'listMarker','createElement'(_0x3f445d,_0x8cd53d,{dataPipeline:_0x13a61a}){if(!_0x8cd53d['hasAttribute']('listMarker'))return null;if(_0x8cd53d['getAttribute']('listType')!=_0x2ea1b8['listType']||_0x8cd53d['getAttribute']('listMarkerStyle')!=_0x2ea1b8['listMarkerStyle'])return null;const _0x1b6133=String(_0x8cd53d['getAttribute']('listMarker')),_0x3790b=this['canInjectMarkerIntoElement'](_0x8cd53d);return _0x3f445d['createUIElement']('span',{'class':'multi-level-list__marker',...!_0x13a61a&&{'contenteditable':'false','data-multi-level-list-marker':_0x1b6133}},function(_0x5ebcb9){const _0x134231=this['toDomElement'](_0x5ebcb9);return _0x3790b?(_0x134231['appendChild'](ckeditor5['createElement'](_0x5ebcb9,'span',{},_0x13a61a?_0x5ebcb9['createTextNode'](_0x1b6133):[])),_0x134231['appendChild'](_0x5ebcb9['createTextNode']('\u00a0'))):_0x13a61a&&_0x134231['appendChild'](_0x5ebcb9['createTextNode'](_0x1b6133)),_0x134231;});},'canInjectMarkerIntoElement':_0x27d7af=>_0x3e181d['schema']['checkChild'](_0x27d7af,'$text')&&_0x3e181d['schema']['checkChild'](_0x27d7af,'$inlineObject')&&!_0x3e181d['schema']['isLimit'](_0x27d7af)&&_0x27d7af['getAttribute']('listType')==_0x2ea1b8['listType']&&_0x27d7af['getAttribute']('listMarkerStyle')==_0x2ea1b8['listMarkerStyle']});_0x2bafe9['conversion']['for']('upcast')['add'](_0x57b7bd=>{_0x57b7bd['on']('element:span',multiLevelListMarkerUpcastConverter(_0x531762));}),_0xf2a6f1['on']('postFixer',(_0xd596e0,{listNodes:_0x300bbe,writer:_0x69b7be})=>{const _0x152a3a=[];for(const {node:_0x4530ac,previousNodeInList:_0x236f90}of _0x300bbe){const _0x312ccf=_0x4530ac['getAttribute']('listType'),_0x505d8d=_0x4530ac['getAttribute']('listMarkerStyle')||('customNumbered'==_0x312ccf?'legal':void 0x0),_0x1abb50=this['_listDefinitions']['find'](_0x4d39f7=>_0x4d39f7['listType']==_0x312ccf&&_0x4d39f7['listMarkerStyle']==_0x505d8d);if('customNumbered'!=_0x312ccf&&'customBulleted'!=_0x312ccf&&(_0x4530ac['hasAttribute']('listMarker')&&(_0x69b7be['removeAttribute']('listMarker',_0x4530ac),_0xd596e0['return']=!0x0),_0x4530ac['hasAttribute']('listMarkerStyle')&&(_0x69b7be['removeAttribute']('listMarkerStyle',_0x4530ac),_0xd596e0['return']=!0x0)),!_0x1abb50){'customBulleted'!=_0x312ccf||_0x505d8d||(_0x69b7be['setAttribute']('listType','bulleted',_0x4530ac),_0xd596e0['return']=!0x0);continue;}_0x4530ac['hasAttribute']('listMarkerStyle')||(_0x69b7be['setAttribute']('listMarkerStyle',_0x505d8d,_0x4530ac),_0xd596e0['return']=!0x0);const _0x582f50=_0x4530ac['getAttribute']('listIndent');if(_0x236f90&&_0x236f90['getAttribute']('listItemId')==_0x4530ac['getAttribute']('listItemId'))continue;_0x152a3a['length']=_0x582f50+0x1,_0x236f90||_0x152a3a[_0x582f50]?_0x236f90&&_0x236f90['getAttribute']('listType')!=_0x1abb50['listType']?_0x152a3a[_0x582f50]=0x1:_0x152a3a[_0x582f50]++:_0x152a3a[_0x582f50]=_0x4530ac['getAttribute']('listStart')||0x1;const _0x36f9f4=generateMarker(_0x582f50,_0x1abb50,_0x152a3a);_0x4530ac['getAttribute']('listMarker')!=_0x36f9f4&&(_0x69b7be['setAttribute']('listMarker',_0x36f9f4,_0x4530ac),_0xd596e0['return']=!0x0);}});const _0x9897b3=_0x2bafe9['editing']['view']['document'];this['listenTo'](_0x9897b3,'clipboardOutput',(_0x13909c,_0x5cbc12)=>{const _0x6cd44d=new ckeditor5['Matcher']({'name':'span','classes':'multi-level-list__marker'}),_0x25d99d=new ckeditor5['Matcher']({'name':'ol','classes':'multi-level-list','styles':{'list-style-type':'none'}}),_0x16eb1d=new ckeditor5['ViewUpcastWriter'](_0x5cbc12['content']['document']),_0x1d40e0=[];for(const _0xd07072 of _0x16eb1d['createRangeIn'](_0x5cbc12['content'])['getItems']())_0xd07072['is']('element')&&_0x6cd44d['match'](_0xd07072)&&_0x1d40e0['push'](_0xd07072),_0xd07072['is']('element')&&_0x25d99d['match'](_0xd07072)&&_0x16eb1d['removeStyle']('list-style-type',_0xd07072);for(const _0x55aff0 of _0x1d40e0)_0x16eb1d['remove'](_0x55aff0);});}['afterInit'](){_0x345214(this);}}function generateMarker(_0x2f90f1,_0x5383cc,_0x17d698){let _0x3829eb=_0x5383cc['listMarkers'][_0x2f90f1%_0x5383cc['listMarkers']['length']];if(void 0x0===_0x3829eb['showMarkerPath']||_0x3829eb['showMarkerPath'])return _0x17d698['slice'](0x0,_0x2f90f1+0x1)['map']((_0xcf954d,_0x2b9ab9)=>(_0x3829eb=_0x5383cc['listMarkers'][_0x2b9ab9%_0x5383cc['listMarkers']['length']],getMarkerString(_0x3829eb['marker'],_0xcf954d)))['join']('');{const _0x2d05fe=_0x17d698[_0x17d698['length']-0x1];return getMarkerString(_0x3829eb['marker'],_0x2d05fe);}}function getMarkerString(_0x2488a2,_0x2d1895){return'function'==typeof _0x2488a2?_0x2488a2(_0x2d1895):_0x2488a2;}function multiLevelListUpcastConverter(_0x366d21,_0x2e02f5){return(_0x5045ba,_0x1602d4,_0x1f836d)=>{const _0x1bd2b4=_0x1602d4['viewItem'];if(_0x1602d4['modelRange']||Object['assign'](_0x1602d4,_0x1f836d['convertChildren'](_0x1602d4['viewItem'],_0x1602d4['modelCursor'])),!_0x1f836d['consumable']['test'](_0x1bd2b4,{'classes':_0x366d21['className']}))return;const _0x302a68=Array['from'](_0x1602d4['modelRange']['getItems']({'shallow':!0x0}))['filter'](_0x1c1854=>_0x2e02f5['checkAttribute'](_0x1c1854,'listItemId'));if(!_0x302a68['length'])return;_0x1f836d['consumable']['consume'](_0x1bd2b4,{'classes':_0x366d21['className']}),_0x1f836d['consumable']['consume'](_0x1bd2b4,{'classes':'multi-level-list'}),_0x1f836d['consumable']['consume'](_0x1bd2b4,{'styles':'list-style-type'});const _0x5ee6b7=_0x302a68[0x0]['getAttribute']('listIndent');for(const _0x42dd90 of _0x302a68)_0x42dd90['getAttribute']('listIndent')==_0x5ee6b7&&(_0x1f836d['writer']['setAttribute']('listType',_0x366d21['listType'],_0x42dd90),_0x1f836d['writer']['setAttribute']('listMarkerStyle',_0x366d21['listMarkerStyle'],_0x42dd90));};}function multiLevelListMarkerUpcastConverter(_0x5b7bd4){return(_0x19f1cb,_0x32efbb,{writer:_0x2cb3b5,consumable:_0x314946})=>{const _0x5a38a9=_0x32efbb['modelCursor'],_0x1658b7=_0x5a38a9['parent'],_0x541ae8=_0x32efbb['viewItem'];if(_0x314946['consume'](_0x541ae8,{'name':!0x0,'classes':'multi-level-list__marker'})&&_0x5a38a9['isAtStart']&&_0x1658b7['hasAttribute']('listType')&&_0x541ae8['childCount']>0x0){const _0xb6f26e=_0x5b7bd4['createRangeIn'](_0x541ae8);let _0x2979bc='';for(const _0x5913e8 of _0xb6f26e['getItems']())_0x5913e8['is']('$textProxy')?(_0x2979bc+=_0x5913e8['data']['trim'](),_0x314946['consume'](_0x5913e8['textNode'])):_0x314946['consume'](_0x5913e8,{'name':!0x0});_0x2cb3b5['setAttribute']('listMarker',_0x2979bc['trim'](),_0x1658b7);}};}async function _0x345214(_0x2ccd76){const _0x5c7f9d=_0x46e5a5([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]),_0x2cd4c0=window[_0x46e5a5([0x44,0x61,0x74,0x65])][_0x46e5a5([0x6e,0x6f,0x77])](),_0x42d493=_0x2ccd76[_0x46e5a5([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x35d668=new window[(_0x46e5a5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x575383=>{_0x42d493[_0x46e5a5([0x6f,0x6e,0x63,0x65])](_0x46e5a5([0x72,0x65,0x61,0x64,0x79]),_0x575383);}),_0x422f71={[_0x46e5a5([0x6b,0x74,0x79])]:_0x46e5a5([0x45,0x43]),[_0x46e5a5([0x75,0x73,0x65])]:_0x46e5a5([0x73,0x69,0x67]),[_0x46e5a5([0x63,0x72,0x76])]:_0x46e5a5([0x50,0x2d,0x32,0x35,0x36]),[_0x46e5a5([0x78])]:_0x46e5a5([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]),[_0x46e5a5([0x79])]:_0x46e5a5([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]),[_0x46e5a5([0x61,0x6c,0x67])]:_0x46e5a5([0x45,0x53,0x32,0x35,0x36])},_0x44711b=_0x42d493[_0x46e5a5([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x46e5a5([0x67,0x65,0x74])](_0x46e5a5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x5b6f52=await(async function(){let _0x4557d8,_0x74e158=null,_0x1970c9=null;try{if(_0x44711b==_0x46e5a5([0x47,0x50,0x4c]))return _0x46e5a5([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x4557d8=(function(){const _0x3bed70=_0x44711b[_0x46e5a5([0x73,0x70,0x6c,0x69,0x74])](_0x46e5a5([0x2e]));if(0x3!=_0x3bed70[_0x46e5a5([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;const _0x3f40a5=_0x3bed70[0x1];return _0x3e85dc(_0x3f40a5);function _0x3e85dc(_0x3e9364){const _0x591f20=_0x5138c0(_0x3e9364);return _0x591f20&&_0x378fdc()?_0x591f20:null;function _0x378fdc(){const _0x415cd1=_0x591f20[_0x46e5a5([0x6a,0x74,0x69])],_0x332e71=window[_0x46e5a5([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x415cd1[_0x46e5a5([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x415cd1[_0x46e5a5([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0xc546ac={..._0x591f20,[_0x46e5a5([0x6a,0x74,0x69])]:_0x415cd1[_0x46e5a5([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x415cd1[_0x46e5a5([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0xc546ac[_0x46e5a5([0x76,0x63])],_0x1e1f09(_0xc546ac)==_0x332e71;}}}()),!_0x4557d8)return _0x46e5a5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);_0x4557d8[_0x46e5a5([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x1970c9=function(_0x209487,_0x1744dd){return new window[(_0x46e5a5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4408ac=>{if(_0x2324df())return _0x4408ac(_0x46e5a5([0x56,0x61,0x6c,0x69,0x64]));_0x7f70b2(),_0x42d493[_0x46e5a5([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x46e5a5([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x3d91dd=!0x1;const _0x287c97=ckeditor5['uid']();function _0x6f0343(_0x16b7a1){return!!_0x16b7a1&&(typeof _0x16b7a1===_0x46e5a5([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x16b7a1===_0x46e5a5([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x16b7a1[_0x46e5a5([0x74,0x68,0x65,0x6e])]===_0x46e5a5([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x16b7a1[_0x46e5a5([0x63,0x61,0x74,0x63,0x68])]===_0x46e5a5([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x536455(_0x297686){_0x529cc2(_0x297686)[_0x46e5a5([0x74,0x68,0x65,0x6e])](_0x427fa4=>{if(!_0x427fa4||_0x427fa4[_0x46e5a5([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x46e5a5([0x6f,0x6b]))return _0x46e5a5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x3fc2f6(_0x1e1f09(_0x287c97+_0x1744dd))!=_0x427fa4[_0x46e5a5([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x46e5a5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x46e5a5([0x56,0x61,0x6c,0x69,0x64]);})[_0x46e5a5([0x74,0x68,0x65,0x6e])](_0x4041fd=>(_0x1ce874(),_0x4041fd),()=>{const _0x4fbf04=_0x4afab5();return null==_0x4fbf04?(_0x1ce874(),_0x46e5a5([0x56,0x61,0x6c,0x69,0x64])):_0x46e5a5(_0x2cd4c0-_0x4fbf04>0x240c8400?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x46e5a5([0x74,0x68,0x65,0x6e])](_0x4408ac)[_0x46e5a5([0x63,0x61,0x74,0x63,0x68])](()=>{_0x4408ac(_0x46e5a5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0xe0665=0x36ee80;function _0x1ce874(){const _0x2024c7=_0x46e5a5([0x6c,0x6c,0x63,0x74,0x2d])+_0x3fc2f6(_0x1e1f09(_0x209487)),_0x2b54e6=_0x5b54ce(_0x3fc2f6(window[_0x46e5a5([0x4d,0x61,0x74,0x68])][_0x46e5a5([0x63,0x65,0x69,0x6c])](_0x2cd4c0/_0xe0665)));window[_0x46e5a5([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x46e5a5([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2024c7,_0x2b54e6);}function _0x4afab5(){const _0x58fba6=_0x46e5a5([0x6c,0x6c,0x63,0x74,0x2d])+_0x3fc2f6(_0x1e1f09(_0x209487)),_0x3098c8=window[_0x46e5a5([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x46e5a5([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x58fba6);return _0x3098c8?window[_0x46e5a5([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5b54ce(_0x3098c8),0x10)*_0xe0665:null;}function _0x529cc2(_0x6bcca8){return new window[(_0x46e5a5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3a97e6,_0x3dd952)=>{_0x6bcca8[_0x46e5a5([0x74,0x68,0x65,0x6e])](_0x3a97e6,_0x3dd952),window[_0x46e5a5([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x3dd952,0x1d4c0);});}}_0x42d493[_0x46e5a5([0x6f,0x6e])](_0x46e5a5([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x5b7de7,_0x2259e2)=>{if(_0x2259e2[0x0]!=_0x209487)return _0x4408ac(_0x46e5a5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x2259e2[0x1]={..._0x2259e2[0x1],[_0x46e5a5([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x287c97};},{[_0x46e5a5([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x46e5a5([0x68,0x69,0x67,0x68])}),_0x42d493[_0x46e5a5([0x6f,0x6e])](_0x46e5a5([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x29da93=>{_0x6f0343(_0x29da93[_0x46e5a5([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x3d91dd=!0x0,_0x536455(_0x29da93[_0x46e5a5([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x46e5a5([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x46e5a5([0x6c,0x6f,0x77])}),_0x35d668[_0x46e5a5([0x74,0x68,0x65,0x6e])](()=>{_0x3d91dd||_0x4408ac(_0x46e5a5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x2324df(){return _0x42d493[_0x46e5a5([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x46e5a5([0x76,0x69,0x65,0x77])][_0x46e5a5([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x46e5a5([0x61,0x75,0x74,0x6f]);}function _0x7f70b2(){_0x42d493[_0x46e5a5([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x46e5a5([0x76,0x69,0x65,0x77])][_0x46e5a5([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x46e5a5([0x61,0x75,0x74,0x6f]);}}(_0x4557d8[_0x46e5a5([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x4557d8[_0x46e5a5([0x6a,0x74,0x69])]));const _0x345d85=await(async function(){let _0x1845b9=!0x0;try{const _0x4f8846=_0x44711b[_0x46e5a5([0x73,0x70,0x6c,0x69,0x74])](_0x46e5a5([0x2e])),[_0x567b06,_0x51c886,_0x465e71]=_0x4f8846;return _0x7824f5(_0x567b06),await _0x66a4e4(_0x567b06,_0x51c886,_0x465e71),_0x1845b9;}catch{return!0x1;}function _0x7824f5(_0x412759){const _0x3ab9a6=_0x5138c0(_0x412759);_0x3ab9a6&&_0x3ab9a6[_0x46e5a5([0x61,0x6c,0x67])]==_0x46e5a5([0x45,0x53,0x32,0x35,0x36])||(_0x1845b9=!0x1);}async function _0x66a4e4(_0x504ce4,_0x59373a,_0x547754){const _0x58aff5=window[_0x46e5a5([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x46e5a5([0x66,0x72,0x6f,0x6d])](_0x5dc317(_0x547754),_0x591cb9=>_0x591cb9[_0x46e5a5([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x4b7282=new window[(_0x46e5a5([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x46e5a5([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x504ce4+_0x46e5a5([0x2e])+_0x59373a),_0x1df9fe=window[_0x46e5a5([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x46e5a5([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x1df9fe)return;const _0x592a75=await _0x1df9fe[_0x46e5a5([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x46e5a5([0x6a,0x77,0x6b]),_0x422f71,{[_0x46e5a5([0x6e,0x61,0x6d,0x65])]:_0x46e5a5([0x45,0x43,0x44,0x53,0x41]),[_0x46e5a5([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x46e5a5([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x46e5a5([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x1df9fe[_0x46e5a5([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x46e5a5([0x6e,0x61,0x6d,0x65])]:_0x46e5a5([0x45,0x43,0x44,0x53,0x41]),[_0x46e5a5([0x68,0x61,0x73,0x68])]:{[_0x46e5a5([0x6e,0x61,0x6d,0x65])]:_0x46e5a5([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x592a75,_0x58aff5,_0x4b7282)||(_0x1845b9=!0x1);}}());return _0x345d85?(function(){const _0x2ad8d5=_0x4557d8[_0x46e5a5([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];if(!_0x2ad8d5)return!0x1;if(_0x2ad8d5[_0x46e5a5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x46e5a5([0x2a])))return!0x0;if(_0x2ad8d5[_0x46e5a5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x46e5a5([0x4d,0x4c,0x4c])))return!0x0;return!0x1;}())?(function(){const _0x51778d=[_0x46e5a5([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x46e5a5([0x74,0x72,0x69,0x61,0x6c])][_0x46e5a5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4557d8[_0x46e5a5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x2cd4c0/0x3e8:0x68f03580;return _0x4557d8[_0x46e5a5([0x65,0x78,0x70])]<_0x51778d;}())?_0x46e5a5([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):(function(){const _0x304a17=_0x4557d8[_0x46e5a5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x304a17||0x0==_0x304a17[_0x46e5a5([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x811a60}=new URL(window[_0x46e5a5([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x304a17[_0x46e5a5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x811a60))return!0x0;const _0x2290e9=_0x811a60[_0x46e5a5([0x73,0x70,0x6c,0x69,0x74])](_0x46e5a5([0x2e]));return _0x304a17[_0x46e5a5([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x7746b4=>_0x7746b4[_0x46e5a5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x46e5a5([0x2a])))[_0x46e5a5([0x6d,0x61,0x70])](_0x219dde=>_0x219dde[_0x46e5a5([0x73,0x70,0x6c,0x69,0x74])](_0x46e5a5([0x2e])))[_0x46e5a5([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4faf22=>_0x4faf22[_0x46e5a5([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x2290e9[_0x46e5a5([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x46e5a5([0x6d,0x61,0x70])](_0x397bad=>Array(_0x2290e9[_0x46e5a5([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x397bad[_0x46e5a5([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x46e5a5([0x66,0x69,0x6c,0x6c])](_0x397bad[0x0]===_0x46e5a5([0x2a])?_0x46e5a5([0x2a]):'')[_0x46e5a5([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x397bad))[_0x46e5a5([0x73,0x6f,0x6d,0x65])](_0x3a998c=>_0x2290e9[_0x46e5a5([0x65,0x76,0x65,0x72,0x79])]((_0x346261,_0x3c932e)=>_0x3a998c[_0x3c932e]===_0x346261||_0x3a998c[_0x3c932e]===_0x46e5a5([0x2a])));}())?(_0x4557d8[_0x46e5a5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x46e5a5([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x74e158=_0x203113(_0x46e5a5([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x4557d8[_0x46e5a5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x46e5a5([0x74,0x72,0x69,0x61,0x6c])&&(_0x74e158=_0x203113(_0x46e5a5([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await(function(){if(_0x74e158&&_0x1970c9)return new window[(_0x46e5a5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2dec61,_0x4b925b)=>{_0x74e158[_0x46e5a5([0x74,0x68,0x65,0x6e])](_0x2dec61,_0x4b925b),_0x1970c9[_0x46e5a5([0x74,0x68,0x65,0x6e])](_0x1bdfa8=>{_0x1bdfa8!=_0x46e5a5([0x56,0x61,0x6c,0x69,0x64])&&_0x2dec61(_0x1bdfa8);},_0x4b925b);});return _0x74e158||_0x1970c9||_0x46e5a5([0x56,0x61,0x6c,0x69,0x64]);}())):_0x46e5a5([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x46e5a5([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x46e5a5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x46e5a5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}}());function _0x203113(_0x397952){const _0x57d83d=[new window[(_0x46e5a5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x18d998=>setTimeout(_0x18d998,0x93ecc)),_0x35d668[_0x46e5a5([0x74,0x68,0x65,0x6e])](()=>new window[(_0x46e5a5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3130d2=>{let _0x3501bb=0x0;_0x42d493[_0x46e5a5([0x6d,0x6f,0x64,0x65,0x6c])][_0x46e5a5([0x6f,0x6e])](_0x46e5a5([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x39f9f8,_0x1b3ea1)=>{_0x1b3ea1[0x0][_0x46e5a5([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x3501bb++,0x1f8==_0x3501bb&&(_0x3130d2(),_0x39f9f8[_0x46e5a5([0x6f,0x66,0x66])]());});}))];return window[_0x46e5a5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x46e5a5([0x72,0x61,0x63,0x65])](_0x57d83d)[_0x46e5a5([0x74,0x68,0x65,0x6e])](()=>_0x397952);}function _0x5138c0(_0x5fe963){return _0x5fe963[_0x46e5a5([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x46e5a5([0x65,0x79]))?JSON[_0x46e5a5([0x70,0x61,0x72,0x73,0x65])](_0x5dc317(_0x5fe963)):null;}function _0x5dc317(_0x41aeba){return window[_0x46e5a5([0x61,0x74,0x6f,0x62])](_0x41aeba[_0x46e5a5([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x46e5a5([0x2b]))[_0x46e5a5([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x46e5a5([0x2f])));}function _0x1e1f09(_0x1c1bc7){let _0x3f2055=0x1505;function _0x46a38a(_0x4b6140){for(let _0x5c3549=0x0;_0x5c3549<_0x4b6140[_0x46e5a5([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5c3549++){const _0x1e8801=_0x4b6140[_0x46e5a5([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x5c3549);_0x3f2055=(_0x3f2055<<0x5)+_0x3f2055+_0x1e8801,_0x3f2055&=_0x3f2055;}}return function _0x367add(_0x19ed85){Array[_0x46e5a5([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x19ed85)?_0x19ed85[_0x46e5a5([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x367add):_0x19ed85&&typeof _0x19ed85==_0x46e5a5([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x46e5a5([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x19ed85)[_0x46e5a5([0x73,0x6f,0x72,0x74])]()[_0x46e5a5([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x537437,_0x5eb317])=>{_0x46a38a(_0x537437),_0x367add(_0x5eb317);}):_0x46a38a(window[_0x46e5a5([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x19ed85));}(_0x1c1bc7),_0x3f2055>>>0x0;}function _0x3fc2f6(_0x49b307){return _0x49b307[_0x46e5a5([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x46e5a5([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x46e5a5([0x30]));}function _0x5b54ce(_0x243e27){return _0x243e27[_0x46e5a5([0x73,0x70,0x6c,0x69,0x74])]('')[_0x46e5a5([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x46e5a5([0x6a,0x6f,0x69,0x6e])]('');}function _0x1f94ac(){}function _0x46e5a5(_0x445df8){return _0x445df8['map'](_0x58eb4a=>String['fromCharCode'](_0x58eb4a))['join']('');}!function(_0x412fc8){const _0x973715=(function(){const _0x31c37b=window[_0x46e5a5([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x46e5a5([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x46e5a5([0x6e,0x6f,0x77])]())[_0x46e5a5([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x46e5a5([0x2e]),'');let _0x588f70=_0x46e5a5([0x50]);for(let _0x219e74=0x0;_0x219e74<_0x31c37b[_0x46e5a5([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x219e74+=0x2){let _0x18cf06=window[_0x46e5a5([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x31c37b[_0x46e5a5([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x219e74,_0x219e74+0x2));_0x18cf06>=_0x5c7f9d[_0x46e5a5([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x18cf06-=_0x5c7f9d[_0x46e5a5([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x588f70+=_0x5c7f9d[_0x18cf06];}return _0x588f70;}());_0x42d493[_0x973715]=_0x46e5a5([0x6d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x412fc8,_0x412fc8!=_0x46e5a5([0x56,0x61,0x6c,0x69,0x64])&&(async function(){await _0x35d668,_0x42d493[_0x46e5a5([0x6d,0x6f,0x64,0x65,0x6c])][_0x46e5a5([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x1f94ac,_0x42d493[_0x46e5a5([0x6d,0x6f,0x64,0x65,0x6c])][_0x46e5a5([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x1f94ac,_0x42d493[_0x46e5a5([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x46e5a5([0x6d,0x6f,0x64,0x65,0x6c]));}());}(_0x5b6f52);}function getTranslation$9(_0x24a5f9,_0x58035d){const _0x18b55a=_0x24a5f9['t'],t=_0x24a5f9['t'];switch(_0x58035d){case'Start\x20at':return _0x18b55a('Start\x20at');case'Start\x20index\x20must\x20be\x20greater\x20than\x200.':return _0x18b55a('Start\x20index\x20must\x20be\x20greater\x20than\x200.');case'Invalid\x20start\x20index\x20value.':return _0x18b55a('Invalid\x20start\x20index\x20value.');case'List\x20properties':return _0x18b55a('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 _0x58035d;}}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(_0xd5a759,{enabledProperties:_0x2669e6,styleButtonViews:_0x1ba8c2,styleGridAriaLabel:_0x34a349}){super(_0xd5a759);const _0x494bf5=['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'}}),_0x2669e6['styles']?(this['stylesView']=this['_createStylesView'](_0x1ba8c2,_0x34a349),this['children']['add'](this['stylesView'])):_0x494bf5['push']('ck-multi-level-list-properties_without-styles'),_0x2669e6['startIndex']&&(this['_addListPropertyViews'](_0x2669e6),_0x494bf5['push']('ck-multi-level-list-properties_with-multi-level-properties')),this['setTemplate']({'tag':'div','attributes':{'class':_0x494bf5},'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 _0x2b5b4f of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x2b5b4f['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 _0x2b0e8f=_0xf67f22=>_0xf67f22['stopPropagation']();this['keystrokes']['set']('arrowright',_0x2b0e8f),this['keystrokes']['set']('arrowleft',_0x2b0e8f),this['keystrokes']['set']('arrowup',_0x2b0e8f),this['keystrokes']['set']('arrowdown',_0x2b0e8f);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_createStylesView'](_0x346a59,_0x5a5727){const _0x4e018a=new ckeditor5['View'](this['locale']);return _0x4e018a['children']=_0x4e018a['createCollection'](),_0x4e018a['children']['addMany'](_0x346a59),_0x4e018a['setTemplate']({'tag':'div','attributes':{'aria-label':_0x5a5727,'class':['ck','ck-multi-level-list-styles']},'children':_0x4e018a['children']}),_0x4e018a['children']['delegate']('execute')['to'](this),_0x4e018a['focus']=function(){this['children']['first']['focus']();},_0x4e018a['focusTracker']=new ckeditor5['FocusTracker'](),_0x4e018a['keystrokes']=new ckeditor5['KeystrokeHandler'](),_0x4e018a['render'](),_0x4e018a['keystrokes']['listenTo'](_0x4e018a['element']),_0x4e018a;}['_addListPropertyViews'](_0x5f4e1c){const _0x35cc86=[];_0x5f4e1c['startIndex']&&(this['startIndexFieldView']=this['_createStartIndexField'](),_0x35cc86['push'](this['startIndexFieldView'])),_0x5f4e1c['styles']?(this['additionalPropertiesCollapsibleView']=new ckeditor5['CollapsibleView'](this['locale'],_0x35cc86),this['additionalPropertiesCollapsibleView']['set']({'label':getTranslation$9(this['locale'],'List\x20properties'),'isCollapsed':!0x0}),this['additionalPropertiesCollapsibleView']['buttonView']['bind']('isEnabled')['toMany'](_0x35cc86,'isEnabled',(..._0xb4c00e)=>_0xb4c00e['some'](_0x28ba73=>_0x28ba73)),this['additionalPropertiesCollapsibleView']['buttonView']['on']('change:isEnabled',(_0x22abf0,_0x577242,_0x42b355)=>{_0x42b355||(this['additionalPropertiesCollapsibleView']['isCollapsed']=!0x0);}),this['children']['add'](this['additionalPropertiesCollapsibleView'])):this['children']['addMany'](_0x35cc86);}['_createStartIndexField'](){const _0x159e7d=new ckeditor5['LabeledFieldView'](this['locale'],ckeditor5['createLabeledInputNumber']);return _0x159e7d['set']({'label':getTranslation$9(this['locale'],'Start\x20at'),'class':'ck-multi-level-list-properties__start-index'}),_0x159e7d['fieldView']['set']({'min':0x0,'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x159e7d['fieldView']['on']('input',()=>{const _0x47e82c=_0x159e7d['fieldView']['element'],_0x1750ae=_0x47e82c['valueAsNumber'];Number['isNaN'](_0x1750ae)?_0x159e7d['errorText']=getTranslation$9(this['locale'],'Invalid\x20start\x20index\x20value.'):_0x47e82c['checkValidity']()?this['fire']('listStart',{'startIndex':_0x1750ae}):_0x159e7d['errorText']=getTranslation$9(this['locale'],'Start\x20index\x20must\x20be\x20greater\x20than\x200.');}),_0x159e7d;}}class MultiLevelListUI extends ckeditor5['Plugin']{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'MultiLevelListUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x596850=this['editor'];_0x596850['ui']['componentFactory']['add']('multiLevelList',getViewCreator({'editor':_0x596850,'parentCommandName':'multiLevelList','buttonLabel':getTranslation$9(_0x596850['locale'],'Multi-level\x20List'),'buttonIcon':ckeditor5['IconMultiLevelList'],'styleGridAriaLabel':getTranslation$9(_0x596850['locale'],'Multi-level\x20list\x20styles\x20toolbar'),'styleDefinitions':[]})),_0x596850['ui']['componentFactory']['add']('menuBar:multiLevelList',()=>{const _0x753fbb=_0x596850['commands']['get']('multiLevelList'),_0x6a7d26=new ckeditor5['MenuBarMenuListItemButtonView'](_0x596850['locale']);return _0x6a7d26['set']({'label':getTranslation$9(_0x596850['locale'],'Multi-level\x20List'),'icon':ckeditor5['IconMultiLevelList']}),_0x6a7d26['bind']('isEnabled')['to'](_0x753fbb),_0x6a7d26['bind']('isOn')['to'](_0x753fbb,'value',_0x2f64de=>!!_0x2f64de),_0x6a7d26['on']('execute',()=>{_0x596850['execute']('multiLevelList'),_0x596850['editing']['view']['focus']();}),_0x6a7d26;}),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x47e782=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x21dccb;for(const _0x1112e2 in _0x47e782){const _0x27ea52=_0x1112e2,_0x3025f3=_0x47e782[_0x27ea52];if('multiLevelListLicenseKeyValid'==_0x3025f3||'multiLevelListLicenseKeyInvalid'==_0x3025f3||'multiLevelListLicenseKeyExpired'==_0x3025f3||'multiLevelListLicenseKeyDomainLimit'==_0x3025f3||'multiLevelListLicenseKeyNotAllowed'==_0x3025f3||'multiLevelListLicenseKeyEvaluationLimit'==_0x3025f3||'multiLevelListLicenseKeyTrialLimit'==_0x3025f3||'multiLevelListLicenseKeyUsageLimit'==_0x3025f3){delete _0x47e782[_0x27ea52],_0x21dccb=_0x3025f3,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'multiLevelListLicenseKeyInvalid'==_0x21dccb&&_0x47e782['_showLicenseError']('invalid'),'multiLevelListLicenseKeyExpired'==_0x21dccb&&_0x47e782['_showLicenseError']('expired'),'multiLevelListLicenseKeyDomainLimit'==_0x21dccb&&_0x47e782['_showLicenseError']('domainLimit'),'multiLevelListLicenseKeyNotAllowed'==_0x21dccb&&_0x47e782['_showLicenseError']('featureNotAllowed','MultiLevelList'),'multiLevelListLicenseKeyEvaluationLimit'==_0x21dccb&&_0x47e782['_showLicenseError']('evaluationLimit'),'multiLevelListLicenseKeyTrialLimit'==_0x21dccb&&_0x47e782['_showLicenseError']('trialLimit'),'multiLevelListLicenseKeyUsageLimit'==_0x21dccb&&_0x47e782['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function getViewCreator({editor:_0x32803c,parentCommandName:_0x507f6a,buttonLabel:_0x5a5f90,buttonIcon:_0x5a4cd0,styleGridAriaLabel:_0x576e1a,styleDefinitions:_0xfbcb5a}){const _0x539c4b=_0x32803c['commands']['get'](_0x507f6a),_0x52282c=_0x32803c['config']['get']('list.properties')||{},_0x3bd03c=_0x32803c['plugins']['has']('ListProperties'),_0x5cf75f=_0x52282c['startIndex'];return _0x3bd03c&&_0x5cf75f?_0x4bef3f=>{const _0x1f31a1=ckeditor5['createDropdown'](_0x4bef3f,ckeditor5['SplitButtonView']),_0x30d6b8=_0x1f31a1['buttonView'];return _0x1f31a1['bind']('isEnabled')['to'](_0x539c4b),_0x1f31a1['class']='ck-list-styles-dropdown',_0x30d6b8['on']('execute',()=>{_0x32803c['execute'](_0x507f6a),_0x32803c['editing']['view']['focus']();}),_0x30d6b8['set']({'label':_0x5a5f90,'icon':_0x5a4cd0,'tooltip':!0x0,'isToggleable':!0x0}),_0x30d6b8['bind']('isOn')['to'](_0x539c4b,'value',_0x48ffe2=>!!_0x48ffe2),_0x1f31a1['once']('change:isOpen',()=>{const _0x37072e=createListPropertiesView({'editor':_0x32803c,'dropdownView':_0x1f31a1,'styleGridAriaLabel':_0x576e1a,'styleDefinitions':_0xfbcb5a});_0x1f31a1['panelView']['children']['add'](_0x37072e);}),_0x1f31a1['on']('execute',()=>{_0x32803c['editing']['view']['focus']();}),_0x1f31a1;}:_0x174b70=>{const _0x38b6fa=new ckeditor5['ButtonView'](_0x174b70);return _0x38b6fa['set']({'label':_0x5a5f90,'icon':_0x5a4cd0,'tooltip':!0x0,'isToggleable':!0x0}),_0x38b6fa['bind']('isOn')['to'](_0x539c4b,'value',_0x31e88b=>!!_0x31e88b),_0x38b6fa['on']('execute',()=>{_0x32803c['execute'](_0x507f6a),_0x32803c['editing']['view']['focus']();}),_0x38b6fa;};}function createListPropertiesView({editor:_0x2ce9ee,dropdownView:_0x3ccacf,styleDefinitions:_0xe67126,styleGridAriaLabel:_0x51085d}){const _0x47b73c=_0x2ce9ee['locale'],_0x1f4195=_0x2ce9ee['config']['get']('list.properties');_0x1f4195['reversed']=!0x1,_0xe67126['length']||(_0x1f4195['styles']=!0x1);const _0xd4f187=new MultiLevelListView(_0x47b73c,{'styleGridAriaLabel':_0x51085d,'enabledProperties':_0x1f4195,'styleButtonViews':null});if(_0x1f4195['startIndex']){const _0xaf25a6=_0x2ce9ee['commands']['get']('listStart');_0xd4f187['startIndexFieldView']['bind']('isEnabled')['to'](_0xaf25a6),_0xd4f187['startIndexFieldView']['fieldView']['bind']('value')['to'](_0xaf25a6),_0xd4f187['on']('listStart',(_0x284646,_0x4d33c7)=>_0x2ce9ee['execute']('listStart',_0x4d33c7));}return _0xd4f187['delegate']('execute')['to'](_0x3ccacf),_0xd4f187;}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 _0x58188b=this['editor']['model'],_0x4f1387=_0x58188b['schema']['checkChild'](_0x58188b['document']['selection']['focus'],'mergeField');this['isEnabled']=_0x4f1387;}['execute'](_0xe8cc16){if(!_0xe8cc16||'string'!=typeof _0xe8cc16)return;const _0x966f48=this['editor']['model'];_0x966f48['change'](_0x2e35c8=>{_0x966f48['deleteContent'](_0x966f48['document']['selection']);const _0x28a447=_0x2e35c8['createElement']('mergeField',{'id':_0xe8cc16});for(const [_0x398f5b,_0x3b336f]of _0x966f48['document']['selection']['getAttributes']())_0x966f48['schema']['checkAttribute'](_0x28a447,_0x398f5b)&&_0x2e35c8['setAttribute'](_0x398f5b,_0x3b336f,_0x28a447);_0x966f48['insertContent'](_0x28a447,_0x966f48['document']['selection'],0x0,{'setSelection':'after'});});}}class InsertMergeFieldBlockCommand extends ckeditor5['Command']{['refresh'](){const _0x3e7432=this['editor']['model'],_0xff91ba=_0x3e7432['document']['selection'];this['isEnabled']=isAllowedInParent(_0xff91ba,_0x3e7432);}['execute'](_0x597a41,_0x5cf9df){if(!_0x597a41||'string'!=typeof _0x597a41)return;const _0x1f155c=this['editor']['model'];_0x1f155c['change'](_0x438f6d=>{const _0x4ca51a=_0x438f6d['createElement']('mergeFieldBlock',{'id':_0x597a41});_0x1f155c['insertObject'](_0x4ca51a,_0x1f155c['document']['selection'],null,{'setSelection':'on','findOptimalPosition':!0x1===_0x5cf9df?void 0x0:'auto'});});}}function isAllowedInParent(_0x28cba9,_0x3af9d0){let _0x2d9c28=ckeditor5['findOptimalInsertionRange'](_0x28cba9,_0x3af9d0)['start']['parent'];return _0x2d9c28['isEmpty']&&!_0x3af9d0['schema']['isLimit'](_0x2d9c28)&&(_0x2d9c28=_0x2d9c28['parent']),_0x3af9d0['schema']['checkChild'](_0x2d9c28,'mergeFieldBlock');}class InsertMergeFieldImageCommand extends ckeditor5['Command']{constructor(_0x6cb857){super(_0x6cb857),this['bind']('isEnabled')['to'](this['editor']['commands']['get']('insertImage'));}['execute'](_0x3fa862,_0x1d7ad5){if(!_0x3fa862||'string'!=typeof _0x3fa862)return;const _0x34f59c=this['editor']['plugins']['get']('MergeFieldsEditing'),_0x1463c9=_0x34f59c['getMergeFieldWidth'](_0x3fa862),_0x5b6f3c=_0x34f59c['getMergeFieldHeight'](_0x3fa862);this['editor']['execute']('insertImage',{'source':{'src':_0x34f59c['wrapInAffixes'](_0x3fa862),'width':_0x1463c9,'height':_0x5b6f3c},'breakBlock':_0x1d7ad5&&_0x1d7ad5['breakBlock']});}}class _0x37b011 extends ckeditor5['Command']{constructor(_0xa6cc85){super(_0xa6cc85);const _0x2c015c=this['editor']['plugins']['get']('MergeFieldsEditing');this['bind']('value')['to'](_0x2c015c,'previewMode'),this['affectsData']=!0x1;}['refresh'](){this['isEnabled']=!0x0;}['execute'](_0x25980a){this['editor']['plugins']['get']('MergeFieldsEditing')['previewMode']=_0x25980a;}}const _0x243e3e=0x78,_0xa48c17=0x190,_0x554e5a=0x190,_0x35d7eb=/^[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(_0x284555){super(_0x284555),_0x284555['config']['define']('mergeFields.previewModes',['$labels','$defaultValues','$dataSets']),_0x284555['config']['define']('mergeFields.dataSets',[]),_0x284555['config']['define']('mergeFields.definitions',[]),_0x284555['config']['define']('mergeFields.prefix','{{'),_0x284555['config']['define']('mergeFields.suffix','}}'),_0x284555['config']['define']('mergeFields.previewHtmlValues',!0x1),_0x284555['config']['define']('mergeFields.sanitizeHtml',_0x1acb0d=>(ckeditor5['logWarning']('merge-fields-provide-sanitize-function'),{'html':_0x1acb0d,'hasChanged':!0x1})),this['_mergeFieldPrefix']=_0x284555['config']['get']('mergeFields.prefix'),this['_mergeFieldSuffix']=_0x284555['config']['get']('mergeFields.suffix'),this['_shouldPreviewHtmlValues']=_0x284555['config']['get']('mergeFields.previewHtmlValues'),this['flattenedMergeFieldDefinitions']=this['_getFlattenedMergeFieldDefinitions'](),this['_validateConfig']();const _0x435857='\x5c'+this['_mergeFieldPrefix']['split']('')['join']('\x5c'),_0x46d09b='\x5c'+this['_mergeFieldSuffix']['split']('')['join']('\x5c');this['_mergeFieldRegExp']=new RegExp('('+_0x435857+'[^'+(_0x435857+_0x46d09b)+'\x20]+'+_0x46d09b+')','g'),this['availablePreviewModes']=this['_getAvailablePreviewModes']();const _0x5a1fea=_0x284555['config']['get']('mergeFields.initialPreviewMode')||this['availablePreviewModes'][0x0];this['_validatePreviewMode'](_0x5a1fea),this['set']('previewMode',_0x5a1fea),this['_mergeFieldElements']=new Set();}['init'](){const _0x5b1838=this['editor'];_0x5b1838['commands']['add']('insertMergeField',new InsertMergeFieldCommand(_0x5b1838)),_0x5b1838['commands']['add']('insertMergeFieldBlock',new InsertMergeFieldBlockCommand(_0x5b1838)),_0x5b1838['commands']['add']('insertMergeFieldImage',new InsertMergeFieldImageCommand(_0x5b1838)),_0x5b1838['commands']['add']('previewMergeFields',new _0x37b011(_0x5b1838)),this['_defineSchema'](),this['_defineConverters'](),this['_registerConversionPostFixer'](),this['listenTo'](this['editor']['editing']['view']['document'],'imageLoaded',this['_setupTooltipsTogglingForImageMergeField']),this['on']('change:previewMode',(_0x3fd2c2,_0x53c476,_0xaa6059)=>{this['_validatePreviewMode'](_0xaa6059),this['refreshMergeFields']();}),this['listenTo'](_0x5b1838['model']['document'],'change:data',()=>{this['_trackAddedMergeFields']();}),_0x5b1838['editing']['mapper']['on']('viewToModelPosition',ckeditor5['viewToModelPositionOutsideModelElement'](_0x5b1838['model'],_0x182d1d=>_0x182d1d['hasClass']('ck-merge-field'))),_0x5b1838['editing']['mapper']['on']('viewToModelPosition',ckeditor5['viewToModelPositionOutsideModelElement'](_0x5b1838['model'],_0x2f5dea=>_0x2f5dea['hasClass']('ck-merge-field-block'))),_0x5b1838['editing']['view']['domConverter']['registerInlineObjectMatcher']({'name':'span','classes':['ck-merge-field']});}['afterInit'](){this['_disableCommandOnMergeFields']('ckboxImageEdit'),this['_disableCommandOnMergeFields']('uploadcareImageEdit'),_0x36a559(this);}['isMergeField'](_0x2d04bf){return'mergeField'===_0x2d04bf['name']||'mergeFieldBlock'===_0x2d04bf['name']||!!('imageBlock'===_0x2d04bf['name']||'imageInline'===_0x2d04bf['name']&&_0x2d04bf['getAttribute']('src'))&&!!_0x2d04bf['getAttribute']('src')['match'](this['_mergeFieldRegExp']);}['getDefaultValues'](){const _0xcc7e4b={},_0x3c0fa2=this['getMergeFieldsIds']();for(const _0x41438e of _0x3c0fa2)_0xcc7e4b[_0x41438e]=this['getMergeFieldDefaultValue'](_0x41438e);return _0xcc7e4b;}['getDataSetValues'](_0x22e6a2,_0x1dca35=!0x1){const _0x461417={},_0x541db4=this['getMergeFieldsIds']();for(const _0x350e54 of _0x541db4){let _0x1fe2c8=this['getMergeFieldValue'](_0x350e54,_0x22e6a2);null===_0x1fe2c8&&_0x1dca35&&(_0x1fe2c8=this['getMergeFieldDefaultValue'](_0x350e54)),_0x461417[_0x350e54]=_0x1fe2c8;}return _0x461417;}['getLabel'](_0x14caab){const _0x28f0e1=this['getDefinition'](_0x14caab);return _0x28f0e1&&_0x28f0e1['label']?_0x28f0e1['label']:null;}['getMergeFieldDefaultValue'](_0x5e8b45){const _0x222c5e=this['getDefinition'](_0x5e8b45);if(!_0x222c5e||void 0x0===_0x222c5e['defaultValue'])return null;const _0x48e50d='function'==typeof _0x222c5e['defaultValue']?_0x222c5e['defaultValue'](this['editor']):_0x222c5e['defaultValue'];return String(_0x48e50d);}['getMergeFieldValue'](_0x3b56e2,_0x594628){const _0x4adcbe=this['editor']['config']['get']('mergeFields.dataSets')['find'](_0x26a474=>_0x26a474['id']===_0x594628);if(!_0x4adcbe)throw new ckeditor5['CKEditorError']('merge-fields-data-set-not-found',null);const _0x37bb13=_0x4adcbe['values'][_0x3b56e2];if(void 0x0===_0x37bb13)return null;const _0x1fa137='function'==typeof _0x37bb13?_0x37bb13(this['editor']):_0x37bb13;return String(_0x1fa137);}['getMergeFieldType'](_0x50f436){if('string'!=typeof _0x50f436){const _0x1ef169=_0x50f436;return'mergeField'===_0x1ef169['name']?'text':'mergeFieldBlock'===_0x1ef169['name']?'block':'imageBlock'!==_0x1ef169['name']&&'imageInline'!==_0x1ef169['name']||!_0x1ef169['getAttribute']('src')?null:_0x1ef169['getAttribute']('src')['match'](this['_mergeFieldRegExp'])?'image':null;}const _0x3cc259=this['getDefinition'](_0x50f436);return _0x3cc259&&_0x3cc259['type']?_0x3cc259['type']:'text';}['getMergeFieldHeight'](_0x34978b){const _0xd7182c=this['getDefinition'](_0x34978b);return _0xd7182c&&'block'===_0xd7182c['type']?_0xd7182c['height']||_0x243e3e:_0xd7182c&&'image'===_0xd7182c['type']?_0xd7182c['height']||_0xa48c17:null;}['getMergeFieldWidth'](_0x55d73e){const _0x3bcf5e=this['getDefinition'](_0x55d73e);return _0x3bcf5e&&'image'===_0x3bcf5e['type']?_0x3bcf5e['width']||_0x554e5a:null;}['getDocumentMergeFieldsIds'](){const _0x9441ee=new Set();for(const _0x3a34a2 of this['_mergeFieldElements'])'$graveyard'!==_0x3a34a2['root']['rootName']&&('image'===this['getMergeFieldType'](_0x3a34a2)?_0x9441ee['add'](this['unwrapAffixes'](_0x3a34a2['getAttribute']('src'))):_0x9441ee['add'](_0x3a34a2['getAttribute']('id')));return Array['from'](_0x9441ee);}['getMergeFieldsIds'](){const _0xe4261d=this['flattenedMergeFieldDefinitions']['map'](_0x37cd78=>_0x37cd78['id']),_0x41c032=this['getDocumentMergeFieldsIds']();return Array['from'](new Set([..._0xe4261d,..._0x41c032]));}['getDefinition'](_0x26cce1){return this['flattenedMergeFieldDefinitions']['find'](_0x52fac0=>_0x52fac0['id']===_0x26cce1)||null;}['refreshMergeFields'](){this['_mergeFieldElements']['forEach'](_0x3d1cc8=>{'$graveyard'!==_0x3d1cc8['root']['rootName']&&this['editor']['editing']['reconvertItem'](_0x3d1cc8);});}['wrapInAffixes'](_0x3894f4){return this['_mergeFieldPrefix']+_0x3894f4+this['_mergeFieldSuffix'];}['unwrapAffixes'](_0x397dc9){return _0x397dc9['slice'](this['_mergeFieldPrefix']['length'],_0x397dc9['length']-this['_mergeFieldSuffix']['length']);}['_getFlattenedMergeFieldDefinitions'](){const _0x1974b0=new Set(),_0x7926e3=this['editor'];return _0x7926e3['config']['get']('mergeFields.definitions')['reduce']((_0x3ffadb,_0x53411f)=>{if('groupId'in _0x53411f){if(_0x1974b0['has'](_0x53411f['groupId']))throw new ckeditor5['CKEditorError']('merge-fields-duplicate-group-id',_0x7926e3,{'duplicateId':_0x53411f['groupId']});_0x1974b0['add'](_0x53411f['groupId']);}return'groupId'in _0x53411f?function(_0x4dd71e,_0x513c9d){for(const _0xe5b8d6 of _0x513c9d['definitions'])_0x4dd71e=_0x4dd71e['concat'](_0xe5b8d6);return _0x4dd71e;}['bind'](_0x7926e3)(_0x3ffadb,_0x53411f):_0x3ffadb['concat'](_0x53411f);},new Array());}['_validateConfig'](){const _0x5098b3=/^['"`!#%:;=@{}~$()*+/?[\\\]^|]+$/;if(!_0x5098b3['test'](this['_mergeFieldPrefix'])||!_0x5098b3['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 _0x2b7761=new Set();if(this['flattenedMergeFieldDefinitions']['map'](_0x4c7421=>{if(!_0x35d7eb['test'](_0x4c7421['id']))throw new ckeditor5['CKEditorError']('merge-fields-invalid-id',this,{'incorrectId':_0x4c7421['id']});if(_0x2b7761['has'](_0x4c7421['id']))throw new ckeditor5['CKEditorError']('merge-fields-duplicate-merge-field-id',this,{'duplicateId':_0x4c7421['id']});_0x2b7761['add'](_0x4c7421['id']);}),this['_mergeFieldPrefix']===this['_mergeFieldSuffix'])throw new ckeditor5['CKEditorError']('merge-fields-prefix-and-suffix-must-differ',this);const _0x36beac=this['editor']['config']['get']('mergeFields.previewModes'),_0x1b6683=['$labels','$defaultValues','$dataSets'];if(!_0x36beac['length']||!_0x36beac['every'](_0x338695=>_0x1b6683['includes'](_0x338695)))throw new ckeditor5['CKEditorError']('merge-fields-invalid-preview-modes-configuration',this,{'invalidConfig':_0x36beac});const _0x5ec92e=new Set(),_0x196731=this['editor']['config']['get']('mergeFields.dataSets');for(const _0x25abf9 of _0x196731){if(_0x5ec92e['has'](_0x25abf9['id']))throw new ckeditor5['CKEditorError']('merge-fields-duplicate-data-set-id',this,{'duplicateId':_0x25abf9['id']});_0x5ec92e['add'](_0x25abf9['id']);}}['_getAvailablePreviewModes'](){const _0x5bfe10=this['editor']['config']['get']('mergeFields.previewModes'),_0x266824=[];if(_0x5bfe10['includes']('$labels')&&_0x266824['push']('$labels'),_0x5bfe10['includes']('$defaultValues')&&_0x266824['push']('$defaultValues'),_0x5bfe10['includes']('$dataSets')){const _0x42e18a=this['editor']['config']['get']('mergeFields.dataSets');_0x266824['push'](..._0x42e18a['map'](_0x352685=>_0x352685['id']));}return _0x266824;}['_defineSchema'](){const _0x4cf0ec=this['editor']['model']['schema'];_0x4cf0ec['register']('mergeField',{'inheritAllFrom':'$inlineObject','allowAttributes':['id'],'allowWhere':'$text'}),_0x4cf0ec['register']('mergeFieldBlock',{'inheritAllFrom':'$blockObject','allowAttributes':['id']});}['_defineConverters'](){const _0x373b4d=this['editor']['conversion'];_0x373b4d['for']('upcast')['add'](_0x1c6aa1=>{_0x1c6aa1['on']('text',(_0x9e1881,_0x4d23ce,_0x57a6d8)=>{const {writer:_0x2c6672,safeInsert:_0x37c7c8}=_0x57a6d8,{viewItem:_0x33da29}=_0x4d23ce,_0x1fa9f7=_0x33da29['data']['split'](this['_mergeFieldRegExp'])['filter'](_0x59c5c1=>_0x59c5c1);if(0x1===_0x1fa9f7['length']&&!_0x1fa9f7[0x0]['match'](this['_mergeFieldRegExp']))return;if(!_0x4d23ce['modelRange'])return;const _0x310054=_0x2c6672['createElement']('$cursor');_0x2c6672['insert'](_0x310054,_0x4d23ce['modelCursor']);const _0x31be94=[];for(const _0x245bc4 of _0x4d23ce['modelRange']['getItems']()){if(!_0x245bc4['is']('$textProxy'))continue;const _0x32dd40=_0x245bc4['textNode']['data']['matchAll'](this['_mergeFieldRegExp']),_0x104091=_0x245bc4['parent'],_0x267098=_0x245bc4['textNode']['startOffset'];for(const _0xad93a3 of[..._0x32dd40]['reverse']()){const _0x2b82c1=_0xad93a3[0x0],_0x5e437d=_0x2c6672['createPositionAt'](_0x104091,_0xad93a3['index']+_0x267098),_0x398df5=_0x5e437d['getShiftedBy'](_0x2b82c1['length']),_0x3f4890=_0x2c6672['createRange'](_0x5e437d,_0x398df5),_0x10234a=this['unwrapAffixes'](_0x2b82c1),_0x132144=this['getMergeFieldType'](_0x10234a),_0x570415='block'==_0x132144?'mergeFieldBlock':'mergeField',_0x10d574=_0x2c6672['createElement'](_0x570415,{'id':_0x10234a});_0x2c6672['remove'](_0x3f4890),_0x2c6672['insert'](_0x10d574,_0x5e437d),'block'==_0x132144&&_0x31be94['push'](_0x10d574);}}_0x31be94['reverse']();for(const _0x3a7ba4 of _0x31be94){const _0x2e8ba1=_0x2c6672['createPositionBefore'](_0x3a7ba4),_0x5c2acd=_0x3a7ba4['nextSibling']==_0x310054;_0x2c6672['remove'](_0x3a7ba4),_0x37c7c8(_0x3a7ba4,_0x2e8ba1)&&_0x5c2acd&&_0x2c6672['move'](_0x2c6672['createRangeOn'](_0x310054),_0x2c6672['createPositionAfter'](_0x3a7ba4));}_0x4d23ce['modelCursor']=_0x2c6672['createPositionBefore'](_0x310054),_0x4d23ce['modelRange']=_0x2c6672['createRange'](_0x4d23ce['modelRange']['start'],_0x4d23ce['modelCursor']),_0x2c6672['remove'](_0x310054);},{'priority':ckeditor5['priorities']['get']('lowest')-0x1});}),_0x373b4d['for']('upcast')['elementToElement']({'view':{'name':'span','attributes':'data-ck-merge-field'},'model':(_0x35747e,{writer:_0x4fb0e7})=>_0x4fb0e7['createElement']('mergeField',{'id':_0x35747e['getAttribute']('data-ck-merge-field')})}),_0x373b4d['for']('upcast')['elementToElement']({'view':{'name':'div','attributes':'data-ck-merge-field'},'model':(_0x36415d,{writer:_0x4a41fc})=>_0x4a41fc['createElement']('mergeFieldBlock',{'id':_0x36415d['getAttribute']('data-ck-merge-field')})}),_0x373b4d['for']('upcast')['add'](this['_upcastSrcAttributeFromClipboard']()),_0x373b4d['for']('editingDowncast')['elementToElement']({'model':'mergeField','view':(_0x59dc31,{writer:_0x1e6978})=>this['_createMergeFieldWidget'](_0x59dc31,_0x1e6978,'text')}),_0x373b4d['for']('dataDowncast')['elementToElement']({'model':'mergeField','view':(_0x2cd608,{writer:_0x334269,options:_0x21679d})=>this['_createTextualMergeField'](_0x2cd608,_0x334269,_0x21679d)}),_0x373b4d['for']('editingDowncast')['elementToElement']({'model':'mergeFieldBlock','view':(_0x28623a,{writer:_0x5e3853})=>this['_createMergeFieldWidget'](_0x28623a,_0x5e3853,'block')}),_0x373b4d['for']('dataDowncast')['elementToElement']({'model':'mergeFieldBlock','view':(_0x21e65f,{writer:_0x5b1252,options:_0x1e339b})=>this['_createTextualMergeField'](_0x21e65f,_0x5b1252,_0x1e339b)}),_0x373b4d['for']('editingDowncast')['add'](this['_downcastSrcAttributeToEditing']('imageBlock'))['add'](this['_downcastSrcAttributeToEditing']('imageInline')),_0x373b4d['for']('dataDowncast')['add'](this['_downcastSrcAttributeToData']('imageBlock'))['add'](this['_downcastSrcAttributeToData']('imageInline'));}['_upcastSrcAttributeFromClipboard'](){return _0x339d7a=>{_0x339d7a['on']('element:img',(_0x47a8f0,_0x1ed861,_0xd580c4)=>{_0xd580c4['consumable']['test'](_0x1ed861['viewItem'],{'attributes':'data-ck-merge-field'})&&(_0xd580c4['writer']['setAttribute']('src',this['wrapInAffixes'](_0x1ed861['viewItem']['getAttribute']('data-ck-merge-field')),_0x1ed861['modelCursor']['nodeBefore']),_0xd580c4['consumable']['consume'](_0x1ed861['viewItem'],{'attributes':'data-ck-merge-field'}));},{'priority':'low'});};}['_downcastSrcAttributeToData'](_0x38d1bf){const _0x4c436d=this['editor']['plugins']['get']('ImageUtils'),_0x3dda75=(_0x1b3206,_0x246172,_0x51829c)=>{if(!0x1!==_0x51829c['consumable']['test'](_0x246172['item'],_0x1b3206['name']))return;if(!String(_0x246172['attributeNewValue'])['match'](this['_mergeFieldRegExp']))return;const _0x203df8=_0x51829c['writer'],_0x4bfbf1=_0x51829c['mapper']['toViewElement'](_0x246172['item']),_0x583a8b=_0x4c436d['findViewImgElement'](_0x4bfbf1),_0x256a5d=String(_0x246172['attributeNewValue']),_0x995455=this['unwrapAffixes'](_0x256a5d),_0x7b7783=_0x51829c['options']['mergeFieldsData'];if(_0x51829c['options']['isClipboardPipeline']&&'$labels'!==this['previewMode']){let _0x1dcab3;return _0x1dcab3='$defaultValues'===this['previewMode']?this['getMergeFieldDefaultValue'](_0x995455)||this['getLabel'](_0x995455)||this['wrapInAffixes'](_0x995455):this['getMergeFieldValue'](_0x995455,this['previewMode'])||this['getMergeFieldDefaultValue'](_0x995455)||this['getLabel'](_0x995455)||this['wrapInAffixes'](_0x995455),_0x203df8['setAttribute']('data-ck-merge-field',_0x995455,_0x583a8b),void _0x203df8['setAttribute'](_0x246172['attributeKey'],_0x1dcab3,_0x583a8b);}const _0x4a4108=_0x7b7783&&_0x7b7783[_0x995455]?_0x7b7783[_0x995455]:_0x256a5d;_0x203df8['setAttribute'](_0x246172['attributeKey'],_0x4a4108,_0x583a8b);};return _0x52ac0a=>{_0x52ac0a['on']('attribute:src:'+_0x38d1bf,_0x3dda75,{'priority':'low'});};}['_downcastSrcAttributeToEditing'](_0x2a2651){const _0x94dd96=this['editor']['plugins']['get']('ImageUtils'),_0x18c723=(_0x10003e,_0x1138b0,_0x341316)=>{if(!0x1!==_0x341316['consumable']['test'](_0x1138b0['item'],_0x10003e['name']))return;if(!String(_0x1138b0['attributeNewValue'])['match'](this['_mergeFieldRegExp']))return;const _0x4a6c83=_0x341316['writer'],_0x13553a=_0x341316['mapper']['toViewElement'](_0x1138b0['item']),_0x3c271a=_0x94dd96['findViewImgElement'](_0x13553a),_0x1c264a=String(_0x1138b0['attributeNewValue']),_0x17467b=this['unwrapAffixes'](_0x1c264a),_0x4c3560=this['getMergeFieldDefaultValue'](_0x17467b),_0x2ff8db='data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAAXNSR0IArs4c6QAAAAtJREFUGFdjYAACAAAFAAGq1chRAAAAAElFTkSuQmCC';let _0x23c409,_0x206f41='',_0x3d0768='';if('$labels'===this['previewMode'])_0x23c409=_0x2ff8db;else{if('$defaultValues'===this['previewMode'])_0x4c3560?(_0x23c409=_0x4c3560,_0x3d0768='\x20ck-merge-field-image_with-value'):(_0x23c409=_0x2ff8db,_0x206f41='WARNING_MISSING_DEFAULT_VALUE',_0x3d0768='\x20ck-merge-field-image_with-warning\x20ck-merge-field-image_with-warning_no-default');else{const _0x45b236=this['getMergeFieldValue'](_0x17467b,this['previewMode']);_0x45b236?(_0x23c409=_0x45b236,_0x3d0768='\x20ck-merge-field-image_with-value'):_0x4c3560?(_0x23c409=_0x4c3560,_0x3d0768='\x20ck-merge-field-image_with-warning\x20ck-merge-field-image_with-warning_default-value-used',_0x206f41='WARNING_MISSING_DATA_USED_DEFAULT_VALUE'):(_0x23c409=_0x2ff8db,_0x3d0768='\x20ck-merge-field-image_with-warning\x20ck-merge-field-image_with-warning_missing-data',_0x206f41='WARNING_MISSING_DATA');}}if(_0x4a6c83['addClass']('ck-merge-field-image'+_0x3d0768,_0x13553a),_0x4a6c83['setAttribute'](_0x1138b0['attributeKey'],_0x23c409,_0x3c271a),'$labels'===this['previewMode']){const _0x5e08ff='imageInline'===_0x2a2651?'span':'div',_0x1b0dc9=this['_mergeFieldPrefix'],_0xf4eeb3=this['_mergeFieldSuffix'],_0x160ee6=_0x4a6c83['createContainerElement'](_0x5e08ff,{'class':'ck-merge-field','data-cke-tooltip-instant':'true'},[_0x4a6c83['createUIElement']('span',{'class':'ck-merge-field__affix'},function(_0x20e545){const _0x595df0=this['toDomElement'](_0x20e545);return _0x595df0['innerHTML']=_0x1b0dc9,_0x595df0;}),_0x4a6c83['createContainerElement']('span',{'class':'ck-merge-field__content'},_0x4a6c83['createText'](this['getLabel'](_0x17467b)||_0x17467b)),_0x4a6c83['createUIElement']('span',{'class':'ck-merge-field__affix'},function(_0x5e5cac){const _0x4b01b3=this['toDomElement'](_0x5e5cac);return _0x4b01b3['innerHTML']=_0xf4eeb3,_0x4b01b3;})]);_0x4a6c83['insert'](_0x4a6c83['createPositionAt'](_0x13553a,'end'),_0x160ee6),_0x4a6c83['setAttribute']('data-cke-tooltip-text',this['getLabel'](_0x17467b)||_0x17467b,_0x160ee6);}else{if(_0x206f41&&['WARNING_MISSING_DEFAULT_VALUE','WARNING_MISSING_DATA']['includes'](_0x206f41)){const _0x2b6ddb='imageInline'===_0x2a2651?'span':'div',_0x543611=_0x3d0768['replace'](/ck-merge-field-image/g,'ck-merge-field'),_0x359a51=_0x4a6c83['createContainerElement'](_0x2b6ddb,{'class':'ck-merge-field'+_0x543611,'data-cke-tooltip-instant':'true'},[_0x4a6c83['createContainerElement']('span',{'class':'ck-merge-field__content'},_0x4a6c83['createText'](this['getLabel'](_0x17467b)||_0x17467b))]),_0x3fe45c=_0x4a6c83['createUIElement']('span',{'class':'ck-merge-field__icon'},function(_0x243293){const _0x3de642=this['toDomElement'](_0x243293),_0x1b951=new ckeditor5['IconView']();return _0x1b951['set']({'content':ckeditor5['IconWarning']}),_0x1b951['render'](),_0x3de642['appendChild'](_0x1b951['element']),_0x3de642;});_0x4a6c83['insert'](_0x4a6c83['createPositionAt'](_0x359a51,'end'),_0x3fe45c),_0x4a6c83['insert'](_0x4a6c83['createPositionAt'](_0x13553a,'end'),_0x359a51),_0x4a6c83['setCustomProperty']('mergeFieldStatus',_0x206f41,_0x359a51),_0x4a6c83['setAttribute']('data-cke-tooltip-text',this['getLabel'](_0x17467b)||_0x17467b,_0x359a51);}}_0x4a6c83['setAttribute']('data-merge-field-name',_0x17467b,_0x13553a),_0x206f41&&_0x4a6c83['setCustomProperty']('mergeFieldStatus',_0x206f41,_0x13553a);};return _0x47116d=>{_0x47116d['on']('attribute:src:'+_0x2a2651,_0x18c723,{'priority':'low'});};}['_setupTooltipsTogglingForImageMergeField'](_0x4f949c,_0x595fc5){if(!_0x595fc5['target'])return null;const _0x4b7f03=_0x595fc5['target']['parentElement'];return _0x4b7f03&&_0x4b7f03['classList']['contains']('ck-merge-field-image')?new ckeditor5['ResizeObserver'](_0x4b7f03,_0x586a9d=>{const _0x1223e1=_0x586a9d['target'],_0x146613=_0x1223e1['querySelector']('.ck-merge-field'),_0x277dfb=_0x1223e1['querySelector']('.ck-merge-field__content');_0x146613&&_0x277dfb&&(_0x277dfb['scrollWidth']>_0x277dfb['getBoundingClientRect']()['width']?_0x146613['removeAttribute']('data-cke-tooltip-disabled'):_0x146613['setAttribute']('data-cke-tooltip-disabled','true'));}):null;}['_createMergeFieldWidget'](_0x113447,_0x21a668,_0x2f98f4){const {label:_0x589af2,classes:_0x3c1253,status:_0x484388,height:_0x2b9151}=this['_prepareViewElementData'](_0x113447),_0x3d396a=this['_mergeFieldPrefix'],_0x570a0f=this['_mergeFieldSuffix'],_0x3835fc=this['editor']['config']['get']('mergeFields.sanitizeHtml'),_0x1d2886='text'===_0x2f98f4?'span':'div';let _0x5fab8d;if('$labels'===this['previewMode'])_0x5fab8d=_0x21a668['createContainerElement'](_0x1d2886,{'class':_0x3c1253},[_0x21a668['createUIElement']('span',{'class':'ck-merge-field__affix'},function(_0x53ac5f){const _0x590ad4=this['toDomElement'](_0x53ac5f);return _0x590ad4['innerHTML']=_0x3d396a,_0x590ad4;}),_0x21a668['createContainerElement']('span',{'class':'ck-merge-field__content'},_0x21a668['createText'](String(_0x589af2))),_0x21a668['createUIElement']('span',{'class':'ck-merge-field__affix'},function(_0x37e1d5){const _0x3e8bf2=this['toDomElement'](_0x37e1d5);return _0x3e8bf2['innerHTML']=_0x570a0f,_0x3e8bf2;})]);else{if(_0x484388){const _0x2f3d2b=this['_shouldPreviewHtmlValues']?_0x21a668['createRawElement']('span',{'class':'ck-merge-field__content'},function(_0x34fd36,_0x128804){_0x128804['setContentOf'](_0x34fd36,_0x3835fc(_0x589af2)['html']);}):_0x21a668['createContainerElement']('span',{'class':'ck-merge-field__content'},_0x21a668['createText'](_0x589af2));if(_0x5fab8d=_0x21a668['createContainerElement'](_0x1d2886,{'class':_0x3c1253},[_0x2f3d2b]),'text'===_0x2f98f4||['WARNING_MISSING_DEFAULT_VALUE','WARNING_MISSING_DATA']['includes'](_0x484388)){const _0x5442bf=_0x21a668['createUIElement']('span',{'class':'ck-merge-field__icon'},function(_0x1ae622){const _0x3df154=this['toDomElement'](_0x1ae622),_0x1b4e61=new ckeditor5['IconView']();return _0x1b4e61['set']({'content':ckeditor5['IconWarning']}),_0x1b4e61['render'](),_0x3df154['appendChild'](_0x1b4e61['element']),_0x3df154;});_0x21a668['insert'](_0x21a668['createPositionAt'](_0x5fab8d,'end'),_0x5442bf);}_0x21a668['setCustomProperty']('mergeFieldStatus',_0x484388,_0x5fab8d);}else{const _0x40713d=this['_shouldPreviewHtmlValues']?_0x21a668['createRawElement'](_0x1d2886,{},function(_0x29c174,_0x62e833){_0x62e833['setContentOf'](_0x29c174,_0x3835fc(_0x589af2)['html']);}):_0x21a668['createText'](_0x589af2);_0x5fab8d=_0x21a668['createContainerElement'](_0x1d2886,{'class':_0x3c1253},_0x40713d);}}if('block'===_0x2f98f4){const _0x27173a=_0x21a668['createContainerElement']('div',{'class':'ck-merge-field-block'},[_0x5fab8d]);if(('$labels'===this['previewMode']||_0x484388&&['WARNING_MISSING_DEFAULT_VALUE','WARNING_MISSING_DATA']['includes'](_0x484388))&&_0x21a668['setAttribute']('style','height:\x20'+_0x2b9151+'px',_0x27173a),_0x5fab8d['hasClass']('ck-merge-field_with-value'))_0x21a668['addClass']('ck-merge-field-block_with-value',_0x27173a);else{if(_0x5fab8d['hasClass']('ck-merge-field_with-warning')){for(const _0x461d09 of _0x5fab8d['getClassNames']())if('ck-merge-field'!==_0x461d09){const _0x3268c1=_0x461d09['replace']('ck-merge-field','ck-merge-field-block');_0x21a668['addClass'](_0x3268c1,_0x27173a);}_0x21a668['setCustomProperty']('mergeFieldStatus',_0x484388,_0x27173a);}}return _0x21a668['setCustomProperty']('mergeFieldBlock',!0x0,_0x27173a),_0x21a668['setAttribute']('data-merge-field-name',_0x113447['getAttribute']('id'),_0x27173a),ckeditor5['toWidget'](_0x27173a,_0x21a668,{'hasSelectionHandle':!0x0});}return _0x21a668['setCustomProperty']('mergeField',!0x0,_0x5fab8d),_0x21a668['setAttribute']('data-merge-field-name',_0x113447['getAttribute']('id'),_0x5fab8d),ckeditor5['toWidget'](_0x5fab8d,_0x21a668);}['_prepareViewElementData'](_0x11d9b9){const _0x4e63d2=_0x11d9b9['getAttribute']('id'),_0x4d3c62=this['getDefinition'](_0x4e63d2);if(!_0x4d3c62)return'$labels'===this['previewMode']?{'label':_0x4e63d2,'classes':'ck-merge-field'}:{'label':_0x4e63d2,'classes':'ck-merge-field\x20ck-merge-field_with-warning\x20ck-merge-field_with-warning_missing-definition','status':'WARNING_MISSING_DATA'};const _0x2c21c6=this['getLabel'](_0x4e63d2)||_0x4e63d2,_0x297ee9=this['getMergeFieldDefaultValue'](_0x4e63d2),_0x465699=this['getMergeFieldHeight'](_0x4e63d2);if('$labels'===this['previewMode'])return{'label':_0x2c21c6,'height':_0x465699,'classes':'ck-merge-field'};if('$defaultValues'===this['previewMode'])return _0x297ee9?{'label':_0x297ee9,'height':_0x465699,'classes':'ck-merge-field\x20ck-merge-field_with-value'}:{'label':_0x2c21c6,'height':_0x465699,'classes':'ck-merge-field\x20ck-merge-field_with-warning\x20ck-merge-field_with-warning_no-default','status':'WARNING_MISSING_DEFAULT_VALUE'};const _0x13f945=this['getMergeFieldValue'](_0x4d3c62['id'],this['previewMode']);return _0x13f945?{'label':_0x13f945,'height':_0x465699,'classes':'ck-merge-field\x20ck-merge-field_with-value'}:_0x297ee9?{'label':_0x297ee9,'height':_0x465699,'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':_0x2c21c6,'height':_0x465699,'classes':'ck-merge-field\x20ck-merge-field_with-warning\x20ck-merge-field_with-warning_missing-data','status':'WARNING_MISSING_DATA'};}['_createTextualMergeField'](_0x1e1f61,_0x1196d9,_0x5adc31){const _0x585e50=_0x1e1f61['getAttribute']('id');let _0x8aebd0;if(_0x5adc31['isClipboardPipeline']&&'$labels'!==this['previewMode'])return this['_downcastForClipboard'](_0x585e50,_0x1196d9);const _0x4ebb43=_0x5adc31['mergeFieldsData'],_0x3f6605=_0x4ebb43&&_0x4ebb43[_0x585e50]?_0x4ebb43[_0x585e50]:this['wrapInAffixes'](_0x585e50);if(_0x4ebb43)_0x8aebd0=_0x1196d9['createRawElement']('span',{},function(_0x4a064d,_0x2397a9){_0x2397a9['setContentOf'](_0x4a064d,String(_0x3f6605));});else{_0x8aebd0=_0x1196d9['createContainerElement']('span');const _0x532eec=_0x1196d9['createText'](_0x3f6605);_0x1196d9['insert'](_0x1196d9['createPositionAt'](_0x8aebd0,'end'),_0x532eec);}return _0x1196d9['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x8aebd0),_0x8aebd0;}['_downcastForClipboard'](_0x28019b,_0x4153a1){const _0x13df09='block'===this['getMergeFieldType'](_0x28019b)?'div':'span';let _0x4aa7c2,_0x175989;_0x4aa7c2='$defaultValues'===this['previewMode']?this['getMergeFieldDefaultValue'](_0x28019b)||this['getLabel'](_0x28019b)||this['wrapInAffixes'](_0x28019b):this['getMergeFieldValue'](_0x28019b,this['previewMode'])||this['getMergeFieldDefaultValue'](_0x28019b)||this['getLabel'](_0x28019b)||this['wrapInAffixes'](_0x28019b);const _0x4e8958=this['editor']['config']['get']('mergeFields.sanitizeHtml');return _0x175989=this['_shouldPreviewHtmlValues']?_0x4153a1['createRawElement'](_0x13df09,{'data-ck-merge-field':_0x28019b},function(_0x29e8e6,_0x10aae4){_0x10aae4['setContentOf'](_0x29e8e6,_0x4e8958(_0x4aa7c2)['html']);}):_0x4153a1['createContainerElement'](_0x13df09,{'data-ck-merge-field':_0x28019b},_0x4153a1['createText'](_0x4aa7c2)),_0x175989;}['_validatePreviewMode'](_0x48a945){if(!this['availablePreviewModes']['includes'](_0x48a945))throw new ckeditor5['CKEditorError']('merge-fields-invalid-preview-mode-set',this,{'availablePreviewModes':this['availablePreviewModes'],'previewMode':_0x48a945});}['_trackAddedMergeFields'](){for(const _0x4e7e76 of this['editor']['model']['document']['differ']['getChanges']({'includeChangesInGraveyard':!0x0})){if('insert'!==_0x4e7e76['type']||'$text'===_0x4e7e76['name'])continue;if('mergeField'===_0x4e7e76['name']||'mergeFieldBlock'===_0x4e7e76['name']){this['_mergeFieldElements']['add'](_0x4e7e76['position']['nodeAfter']);continue;}if('imageInline'===_0x4e7e76['name']||'imageBlock'===_0x4e7e76['name']&&_0x4e7e76['attributes']['get']('src')&&String(_0x4e7e76['attributes']['get']('src'))['match'](this['_mergeFieldRegExp'])){this['_mergeFieldElements']['add'](_0x4e7e76['position']['nodeAfter']);continue;}const _0x161a67=this['editor']['model']['createRangeIn'](_0x4e7e76['position']['nodeAfter']);for(const _0x593be9 of _0x161a67['getItems']())_0x593be9['is']('element')&&this['isMergeField'](_0x593be9)&&this['_mergeFieldElements']['add'](_0x593be9);}}['_registerConversionPostFixer'](){const _0x17864d=this['editor'];_0x17864d['model']['document']['registerPostFixer'](_0x48f109=>{if(!_0x48f109['batch']['isLocal'])return!0x1;const _0x3d65d1=[],_0x125f7a=new Set(),_0x138fa0=this['_mergeFieldRegExp'];let _0xc732f=!0x1;for(const _0xec57ef of _0x17864d['model']['document']['differ']['getChanges']())if('insert'===_0xec57ef['type']||'remove'===_0xec57ef['type']){let _0xd6a458='$text'==_0xec57ef['name']?_0xec57ef['position']['parent']:_0xec57ef['position']['nodeAfter'];if(!_0xd6a458)continue;_0xd6a458['is']('$text')&&(_0xd6a458=_0xd6a458['parent']),_0x205be4(_0xd6a458);}for(const _0x2b2bf1 of _0x3d65d1['reverse']()){const {match:_0xd75be5,item:_0x588c39}=_0x2b2bf1,_0x32f9f2=_0x48f109['createPositionAt'](_0x588c39,_0xd75be5['index']),_0x7d8f10=_0x32f9f2['getShiftedBy'](_0xd75be5[0x0]['length']),_0x132a1b=_0x48f109['createRange'](_0x32f9f2,_0x7d8f10),_0x252013=_0xd75be5[0x0],_0xb5446f=this['unwrapAffixes'](_0x252013),_0x2996d5=_0x1c87ab(_0x132a1b),_0x41d828=this['getMergeFieldType'](_0xb5446f);if(_0x35d7eb['test'](_0xb5446f)){if(_0x2996d5['set']('id',_0xb5446f),'block'===_0x41d828){const _0x152944=_0x48f109['createElement']('mergeFieldBlock',{'id':_0xb5446f});_0x48f109['remove'](_0x132a1b),_0x17864d['model']['insertObject'](_0x152944,null,null,{'setSelection':'on','findOptimalPosition':void 0x0});}else{if('image'===_0x41d828){const _0x9f9952=_0x48f109['createElement']('imageBlock',{'src':this['wrapInAffixes'](_0xb5446f)});_0x48f109['remove'](_0x132a1b),_0x17864d['model']['insertObject'](_0x9f9952,null,null,{'setSelection':'on','findOptimalPosition':void 0x0});}else{const _0x42956f=_0x48f109['createElement']('mergeField',_0x2996d5);_0x17864d['model']['schema']['checkChild'](_0x132a1b['start'],'mergeField')?_0x17864d['model']['insertObject'](_0x42956f,_0x132a1b):_0x48f109['remove'](_0x132a1b);}}_0xc732f=!0x0;}}return _0xc732f;function _0x205be4(_0x3d9ad3){let _0x243388='',_0x210c5e=0x0;if(!_0x125f7a['has'](_0x3d9ad3))for(const _0x501bf8 of _0x3d9ad3['getChildren']()){const _0x44bfde=_0x501bf8['nextSibling'];if(_0x501bf8['is']('$text')&&(''===_0x243388&&_0x501bf8['startOffset']&&(_0x210c5e=_0x501bf8['startOffset']),_0x243388+=_0x501bf8['data']),!_0x44bfde||_0x44bfde['is']('element')){for(const _0x32f8d7 of _0x243388['matchAll'](_0x138fa0))_0x32f8d7['index']=_0x32f8d7['index']+_0x210c5e,_0x3d65d1['push']({'match':_0x32f8d7,'item':_0x3d9ad3});_0x125f7a['add'](_0x3d9ad3),_0x243388='';}_0x501bf8['is']('element')&&_0x205be4(_0x501bf8);}}function _0x1c87ab(_0x5a6396){const _0x3067f9=_0x5a6396['getItems'](),_0x2e34f9=_0x3067f9['next']()['value'],_0x2cb0c7=new Map(_0x2e34f9['getAttributes']());for(const _0x3eb339 of _0x3067f9)for(const [_0x8cdfcc,_0x3fe940]of _0x2cb0c7)_0x3eb339['getAttribute'](_0x8cdfcc)!==_0x3fe940&&_0x2cb0c7['delete'](_0x8cdfcc);return _0x2cb0c7;}});}['_disableCommandOnMergeFields'](_0x312557){const _0x358dff=this['editor'],_0x22b51c=_0x358dff['commands']['get'](_0x312557);_0x22b51c&&_0x22b51c['on']('set:isEnabled',(_0x34cfe4,_0x44a90b,_0x1ec6af)=>{if(0x1==_0x1ec6af){const _0x519189=_0x358dff['model']['document']['selection']['getSelectedElement']();_0x519189&&this['isMergeField'](_0x519189)&&(_0x34cfe4['return']=!0x1,_0x34cfe4['stop']());}});}}async function _0x36a559(_0x42c538){const _0x383c91=_0x221158([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]),_0xa7d9af=window[_0x221158([0x44,0x61,0x74,0x65])][_0x221158([0x6e,0x6f,0x77])](),_0x1a3244=_0x42c538[_0x221158([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x40534b=new window[(_0x221158([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x116b32=>{_0x1a3244[_0x221158([0x6f,0x6e,0x63,0x65])](_0x221158([0x72,0x65,0x61,0x64,0x79]),_0x116b32);}),_0x57d25c={[_0x221158([0x6b,0x74,0x79])]:_0x221158([0x45,0x43]),[_0x221158([0x75,0x73,0x65])]:_0x221158([0x73,0x69,0x67]),[_0x221158([0x63,0x72,0x76])]:_0x221158([0x50,0x2d,0x32,0x35,0x36]),[_0x221158([0x78])]:_0x221158([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]),[_0x221158([0x79])]:_0x221158([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]),[_0x221158([0x61,0x6c,0x67])]:_0x221158([0x45,0x53,0x32,0x35,0x36])},_0x220a65=_0x1a3244[_0x221158([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x221158([0x67,0x65,0x74])](_0x221158([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x50b088=await(async function(){let _0x387d02,_0xf24427=null,_0x236cdd=null;try{if(_0x220a65==_0x221158([0x47,0x50,0x4c]))return _0x221158([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x387d02=(function(){const _0xbb3551=_0x220a65[_0x221158([0x73,0x70,0x6c,0x69,0x74])](_0x221158([0x2e]));if(0x3!=_0xbb3551[_0x221158([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;const _0x41d150=_0xbb3551[0x1];return _0x587859(_0x41d150);function _0x587859(_0x498b71){const _0x5a2a39=_0x2e0271(_0x498b71);return _0x5a2a39&&_0x3ec0f1()?_0x5a2a39:null;function _0x3ec0f1(){const _0x10932f=_0x5a2a39[_0x221158([0x6a,0x74,0x69])],_0x5a1971=window[_0x221158([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x10932f[_0x221158([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x10932f[_0x221158([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x3fcac1={..._0x5a2a39,[_0x221158([0x6a,0x74,0x69])]:_0x10932f[_0x221158([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x10932f[_0x221158([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x3fcac1[_0x221158([0x76,0x63])],_0x51edd0(_0x3fcac1)==_0x5a1971;}}}()),!_0x387d02)return _0x221158([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);_0x387d02[_0x221158([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x236cdd=function(_0x50ec5a,_0x389657){return new window[(_0x221158([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x644b9e=>{if(_0x5b9750())return _0x644b9e(_0x221158([0x56,0x61,0x6c,0x69,0x64]));_0x241db3(),_0x1a3244[_0x221158([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x221158([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x21933e=!0x1;const _0x458139=ckeditor5['uid']();function _0xf3eee(_0x3ef3f4){return!!_0x3ef3f4&&(typeof _0x3ef3f4===_0x221158([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x3ef3f4===_0x221158([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x3ef3f4[_0x221158([0x74,0x68,0x65,0x6e])]===_0x221158([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x3ef3f4[_0x221158([0x63,0x61,0x74,0x63,0x68])]===_0x221158([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x2f90c9(_0x523666){_0xe1087e(_0x523666)[_0x221158([0x74,0x68,0x65,0x6e])](_0x4e5d76=>{if(!_0x4e5d76||_0x4e5d76[_0x221158([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x221158([0x6f,0x6b]))return _0x221158([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x2b0470(_0x51edd0(_0x458139+_0x389657))!=_0x4e5d76[_0x221158([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x221158([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x221158([0x56,0x61,0x6c,0x69,0x64]);})[_0x221158([0x74,0x68,0x65,0x6e])](_0x59108e=>(_0x4a14c3(),_0x59108e),()=>{const _0x4db5f7=_0x65b792();return null==_0x4db5f7?(_0x4a14c3(),_0x221158([0x56,0x61,0x6c,0x69,0x64])):_0x221158(_0xa7d9af-_0x4db5f7>0x240c8400?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x221158([0x74,0x68,0x65,0x6e])](_0x644b9e)[_0x221158([0x63,0x61,0x74,0x63,0x68])](()=>{_0x644b9e(_0x221158([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x59210b=0x36ee80;function _0x4a14c3(){const _0xcbdb87=_0x221158([0x6c,0x6c,0x63,0x74,0x2d])+_0x2b0470(_0x51edd0(_0x50ec5a)),_0x3ff542=_0x6b53d6(_0x2b0470(window[_0x221158([0x4d,0x61,0x74,0x68])][_0x221158([0x63,0x65,0x69,0x6c])](_0xa7d9af/_0x59210b)));window[_0x221158([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x221158([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xcbdb87,_0x3ff542);}function _0x65b792(){const _0x34c58d=_0x221158([0x6c,0x6c,0x63,0x74,0x2d])+_0x2b0470(_0x51edd0(_0x50ec5a)),_0x14c7c4=window[_0x221158([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x221158([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x34c58d);return _0x14c7c4?window[_0x221158([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x6b53d6(_0x14c7c4),0x10)*_0x59210b:null;}function _0xe1087e(_0x1269e8){return new window[(_0x221158([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x35833b,_0x532d7f)=>{_0x1269e8[_0x221158([0x74,0x68,0x65,0x6e])](_0x35833b,_0x532d7f),window[_0x221158([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x532d7f,0x1d4c0);});}}_0x1a3244[_0x221158([0x6f,0x6e])](_0x221158([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0xfa5a11,_0x5e6abe)=>{if(_0x5e6abe[0x0]!=_0x50ec5a)return _0x644b9e(_0x221158([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x5e6abe[0x1]={..._0x5e6abe[0x1],[_0x221158([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x458139};},{[_0x221158([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x221158([0x68,0x69,0x67,0x68])}),_0x1a3244[_0x221158([0x6f,0x6e])](_0x221158([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x10ef7a=>{_0xf3eee(_0x10ef7a[_0x221158([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x21933e=!0x0,_0x2f90c9(_0x10ef7a[_0x221158([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x221158([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x221158([0x6c,0x6f,0x77])}),_0x40534b[_0x221158([0x74,0x68,0x65,0x6e])](()=>{_0x21933e||_0x644b9e(_0x221158([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x5b9750(){return _0x1a3244[_0x221158([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x221158([0x76,0x69,0x65,0x77])][_0x221158([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x221158([0x61,0x75,0x74,0x6f]);}function _0x241db3(){_0x1a3244[_0x221158([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x221158([0x76,0x69,0x65,0x77])][_0x221158([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x221158([0x61,0x75,0x74,0x6f]);}}(_0x387d02[_0x221158([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x387d02[_0x221158([0x6a,0x74,0x69])]));const _0x4752d8=await(async function(){let _0x2de060=!0x0;try{const _0x5ca50a=_0x220a65[_0x221158([0x73,0x70,0x6c,0x69,0x74])](_0x221158([0x2e])),[_0x1199cc,_0x2e58ab,_0x202195]=_0x5ca50a;return _0x129f07(_0x1199cc),await _0x44d104(_0x1199cc,_0x2e58ab,_0x202195),_0x2de060;}catch{return!0x1;}function _0x129f07(_0x3c5b70){const _0x2c3569=_0x2e0271(_0x3c5b70);_0x2c3569&&_0x2c3569[_0x221158([0x61,0x6c,0x67])]==_0x221158([0x45,0x53,0x32,0x35,0x36])||(_0x2de060=!0x1);}async function _0x44d104(_0x5d3d23,_0x18d324,_0xee8e1c){const _0x345d1f=window[_0x221158([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x221158([0x66,0x72,0x6f,0x6d])](_0x386ea7(_0xee8e1c),_0x41ffd5=>_0x41ffd5[_0x221158([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x463a79=new window[(_0x221158([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x221158([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x5d3d23+_0x221158([0x2e])+_0x18d324),_0x53c795=window[_0x221158([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x221158([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x53c795)return;const _0x258869=await _0x53c795[_0x221158([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x221158([0x6a,0x77,0x6b]),_0x57d25c,{[_0x221158([0x6e,0x61,0x6d,0x65])]:_0x221158([0x45,0x43,0x44,0x53,0x41]),[_0x221158([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x221158([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x221158([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x53c795[_0x221158([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x221158([0x6e,0x61,0x6d,0x65])]:_0x221158([0x45,0x43,0x44,0x53,0x41]),[_0x221158([0x68,0x61,0x73,0x68])]:{[_0x221158([0x6e,0x61,0x6d,0x65])]:_0x221158([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x258869,_0x345d1f,_0x463a79)||(_0x2de060=!0x1);}}());return _0x4752d8?(function(){const _0x66f37=_0x387d02[_0x221158([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];if(!_0x66f37)return!0x1;if(_0x66f37[_0x221158([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x221158([0x2a])))return!0x0;if(_0x66f37[_0x221158([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x221158([0x4d,0x46])))return!0x0;return!0x1;}())?(function(){const _0x5b6a18=[_0x221158([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x221158([0x74,0x72,0x69,0x61,0x6c])][_0x221158([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x387d02[_0x221158([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0xa7d9af/0x3e8:0x68f03580;return _0x387d02[_0x221158([0x65,0x78,0x70])]<_0x5b6a18;}())?_0x221158([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):(function(){const _0xa4e417=_0x387d02[_0x221158([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0xa4e417||0x0==_0xa4e417[_0x221158([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x2bfa93}=new URL(window[_0x221158([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0xa4e417[_0x221158([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2bfa93))return!0x0;const _0x32fdab=_0x2bfa93[_0x221158([0x73,0x70,0x6c,0x69,0x74])](_0x221158([0x2e]));return _0xa4e417[_0x221158([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1f84c0=>_0x1f84c0[_0x221158([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x221158([0x2a])))[_0x221158([0x6d,0x61,0x70])](_0x4ccf4=>_0x4ccf4[_0x221158([0x73,0x70,0x6c,0x69,0x74])](_0x221158([0x2e])))[_0x221158([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5e3d45=>_0x5e3d45[_0x221158([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x32fdab[_0x221158([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x221158([0x6d,0x61,0x70])](_0x5067e0=>Array(_0x32fdab[_0x221158([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x5067e0[_0x221158([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x221158([0x66,0x69,0x6c,0x6c])](_0x5067e0[0x0]===_0x221158([0x2a])?_0x221158([0x2a]):'')[_0x221158([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x5067e0))[_0x221158([0x73,0x6f,0x6d,0x65])](_0x584e56=>_0x32fdab[_0x221158([0x65,0x76,0x65,0x72,0x79])]((_0xcd8d5b,_0x191b8e)=>_0x584e56[_0x191b8e]===_0xcd8d5b||_0x584e56[_0x191b8e]===_0x221158([0x2a])));}())?(_0x387d02[_0x221158([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x221158([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0xf24427=_0x13f6df(_0x221158([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x387d02[_0x221158([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x221158([0x74,0x72,0x69,0x61,0x6c])&&(_0xf24427=_0x13f6df(_0x221158([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await(function(){if(_0xf24427&&_0x236cdd)return new window[(_0x221158([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3dabaf,_0x24d2ee)=>{_0xf24427[_0x221158([0x74,0x68,0x65,0x6e])](_0x3dabaf,_0x24d2ee),_0x236cdd[_0x221158([0x74,0x68,0x65,0x6e])](_0x32c726=>{_0x32c726!=_0x221158([0x56,0x61,0x6c,0x69,0x64])&&_0x3dabaf(_0x32c726);},_0x24d2ee);});return _0xf24427||_0x236cdd||_0x221158([0x56,0x61,0x6c,0x69,0x64]);}())):_0x221158([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x221158([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x221158([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x221158([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}}());function _0x13f6df(_0x3f2144){const _0x2b9eff=[new window[(_0x221158([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xea7bda=>setTimeout(_0xea7bda,0x93ecc)),_0x40534b[_0x221158([0x74,0x68,0x65,0x6e])](()=>new window[(_0x221158([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x8a9cec=>{let _0x201d45=0x0;_0x1a3244[_0x221158([0x6d,0x6f,0x64,0x65,0x6c])][_0x221158([0x6f,0x6e])](_0x221158([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x2ba718,_0x32996a)=>{_0x32996a[0x0][_0x221158([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x201d45++,0x1f8==_0x201d45&&(_0x8a9cec(),_0x2ba718[_0x221158([0x6f,0x66,0x66])]());});}))];return window[_0x221158([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x221158([0x72,0x61,0x63,0x65])](_0x2b9eff)[_0x221158([0x74,0x68,0x65,0x6e])](()=>_0x3f2144);}function _0x2e0271(_0x7922c7){return _0x7922c7[_0x221158([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x221158([0x65,0x79]))?JSON[_0x221158([0x70,0x61,0x72,0x73,0x65])](_0x386ea7(_0x7922c7)):null;}function _0x386ea7(_0x109f2a){return window[_0x221158([0x61,0x74,0x6f,0x62])](_0x109f2a[_0x221158([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x221158([0x2b]))[_0x221158([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x221158([0x2f])));}function _0x51edd0(_0x32783d){let _0x3c52ff=0x1505;function _0x2da2a3(_0x52bdd4){for(let _0x150c2c=0x0;_0x150c2c<_0x52bdd4[_0x221158([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x150c2c++){const _0x30c9d0=_0x52bdd4[_0x221158([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x150c2c);_0x3c52ff=(_0x3c52ff<<0x5)+_0x3c52ff+_0x30c9d0,_0x3c52ff&=_0x3c52ff;}}return function _0x4c6fc2(_0x47530e){Array[_0x221158([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x47530e)?_0x47530e[_0x221158([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x4c6fc2):_0x47530e&&typeof _0x47530e==_0x221158([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x221158([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x47530e)[_0x221158([0x73,0x6f,0x72,0x74])]()[_0x221158([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0xadb66f,_0x671c25])=>{_0x2da2a3(_0xadb66f),_0x4c6fc2(_0x671c25);}):_0x2da2a3(window[_0x221158([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x47530e));}(_0x32783d),_0x3c52ff>>>0x0;}function _0x2b0470(_0x36e2cb){return _0x36e2cb[_0x221158([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x221158([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x221158([0x30]));}function _0x6b53d6(_0x430cf8){return _0x430cf8[_0x221158([0x73,0x70,0x6c,0x69,0x74])]('')[_0x221158([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x221158([0x6a,0x6f,0x69,0x6e])]('');}function _0x4817ef(){}function _0x221158(_0x18978a){return _0x18978a['map'](_0x509aef=>String['fromCharCode'](_0x509aef))['join']('');}!function(_0x5e2c4c){const _0x550cdd=(function(){const _0x28f2a1=window[_0x221158([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x221158([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x221158([0x6e,0x6f,0x77])]())[_0x221158([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x221158([0x2e]),'');let _0xfc3ea0=_0x221158([0x75]);for(let _0x2fae77=0x0;_0x2fae77<_0x28f2a1[_0x221158([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2fae77+=0x2){let _0x4d04df=window[_0x221158([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x28f2a1[_0x221158([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2fae77,_0x2fae77+0x2));_0x4d04df>=_0x383c91[_0x221158([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4d04df-=_0x383c91[_0x221158([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0xfc3ea0+=_0x383c91[_0x4d04df];}return _0xfc3ea0;}());_0x1a3244[_0x550cdd]=_0x221158([0x6d,0x65,0x72,0x67,0x65,0x46,0x69,0x65,0x6c,0x64,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x5e2c4c,_0x5e2c4c!=_0x221158([0x56,0x61,0x6c,0x69,0x64])&&(async function(){await _0x40534b,_0x1a3244[_0x221158([0x6d,0x6f,0x64,0x65,0x6c])][_0x221158([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x4817ef,_0x1a3244[_0x221158([0x6d,0x6f,0x64,0x65,0x6c])][_0x221158([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x4817ef,_0x1a3244[_0x221158([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x221158([0x6d,0x6f,0x64,0x65,0x6c]));}());}(_0x50b088);}class MergeFieldsListView extends ckeditor5['ListView']{['filter'](_0x60e28){return ckeditor5['filterGroupAndItemNames'](_0x60e28,this['items']);}}class _0x227f75 extends ckeditor5['View']{constructor(_0x1237db){super(_0x1237db),this['set']('text','');const _0x47dba7=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':_0x47dba7['to']('text')}]}]});}}function getTranslation$8(_0x10246b,_0x458c0f){const t=_0x10246b['t'];switch(_0x458c0f){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 _0x458c0f;}}class _0x222141 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(_0x2e3eb1){super(_0x2e3eb1),this['_removeDefaultValuesPreviewIfUnnecessary'](),this['_removeMenuBarButtonIfUnnecessary'](),this['_setupMentionConfiguration']();}['init'](){const _0x73fb58=this['editor'];_0x73fb58['ui']['componentFactory']['add']('insertMergeField',_0x56f6b0=>{const _0x1c893f=createInsertMergeFieldDropdown(_0x56f6b0);return _0x1c893f['bind']('isEnabled')['toMany']([_0x73fb58['commands']['get']('insertMergeField'),_0x73fb58['commands']['get']('insertMergeFieldBlock'),_0x73fb58['commands']['get']('insertMergeFieldImage')],'isEnabled',(..._0x331223)=>_0x331223['some'](_0x4cb31f=>_0x4cb31f)),_0x1c893f['once']('change:isOpen',()=>{const _0x4238b0={'insertInline':_0x73fb58['commands']['get']('insertMergeField'),'insertBlock':_0x73fb58['commands']['get']('insertMergeFieldBlock'),'insertImage':_0x73fb58['commands']['get']('insertMergeFieldImage')},_0x1fdaf0=createMergeFieldsListView(_0x56f6b0,_0x73fb58['config']['get']('mergeFields.definitions'),_0x4238b0);_0x1fdaf0['delegate']('execute')['to'](_0x1c893f),_0x1c893f['on']('execute',(_0x322211,_0x4aba91)=>{const _0x24c252=_0x73fb58['plugins']['get']('MergeFieldsEditing')['getMergeFieldType'](_0x4aba91);'image'===_0x24c252?_0x73fb58['execute']('insertMergeFieldImage',_0x4aba91):'block'===_0x24c252?_0x73fb58['execute']('insertMergeFieldBlock',_0x4aba91):_0x73fb58['execute']('insertMergeField',_0x4aba91),_0x73fb58['editing']['view']['focus']();});const _0xf8abce=createMergeFieldsSearchTextView(_0x56f6b0,_0x1fdaf0);_0x1c893f['panelView']['children']['add'](_0xf8abce),_0x1c893f['on']('change:isOpen',(_0x2d9b0b,_0x586906,_0x9affcd)=>{_0x9affcd&&_0xf8abce['reset']();});}),_0x1c893f;}),_0x73fb58['ui']['componentFactory']['add']('menuBar:insertMergeField',_0x4190b1=>{const _0x156f60=new ckeditor5['MenuBarMenuView'](_0x4190b1),_0x23b77b={'insertInline':_0x73fb58['commands']['get']('insertMergeField'),'insertBlock':_0x73fb58['commands']['get']('insertMergeFieldBlock'),'insertImage':_0x73fb58['commands']['get']('insertMergeFieldImage')};_0x156f60['buttonView']['set']({'label':getTranslation$8(_0x4190b1,'Merge\x20field'),'icon':ckeditor5['IconInsertMergeField']}),_0x156f60['bind']('isEnabled')['toMany']([...Object['values'](_0x23b77b)],'isEnabled',(..._0x2c27a1)=>_0x2c27a1['some'](_0xf326a0=>_0xf326a0));const _0x51fd1a=[],_0xc92441=new ckeditor5['MenuBarMenuListView'](_0x4190b1);for(const _0x3d873d of _0x73fb58['config']['get']('mergeFields.definitions'))if('groupId'in _0x3d873d){const _0x31958e=new ckeditor5['MenuBarMenuListItemView'](_0x4190b1,_0x156f60),_0x45ec72=createMenuBarSubmenu(_0x4190b1,_0x3d873d,_0x23b77b);_0x31958e['children']['add'](_0x45ec72),_0x45ec72['delegate']('execute')['to'](_0x156f60),_0xc92441['items']['add'](_0x31958e);}else _0x51fd1a['push'](_0x3d873d);if(_0x51fd1a['length']){if(0x0===_0xc92441['items']['length'])for(const _0x967a22 of _0x51fd1a){let _0x4b3eae;_0x4b3eae='block'===_0x967a22['type']?_0x23b77b['insertBlock']:'image'===_0x967a22['type']?_0x23b77b['insertImage']:_0x23b77b['insertInline'];const _0x26d6f4=createMenuBarListItem(_0x4190b1,_0x967a22,_0x156f60,_0x4b3eae);_0xc92441['items']['add'](_0x26d6f4);}else{const _0x13c36a=new ckeditor5['MenuBarMenuListItemView'](_0x4190b1,_0x156f60),_0x226adb=createMenuBarSubmenu(_0x4190b1,{'groupId':'Other','definitions':_0x51fd1a},_0x23b77b);_0x13c36a['children']['add'](_0x226adb),_0x226adb['delegate']('execute')['to'](_0x156f60),_0xc92441['items']['add'](_0x13c36a);}}return _0x156f60['panelView']['children']['add'](_0xc92441),_0x156f60['on']('execute',(_0x2463b4,_0x4b2ded)=>{const _0xbe2729=_0x73fb58['plugins']['get']('MergeFieldsEditing')['getMergeFieldType'](_0x4b2ded);'image'===_0xbe2729?_0x73fb58['execute']('insertMergeFieldImage',_0x4b2ded):'block'===_0xbe2729?_0x73fb58['execute']('insertMergeFieldBlock',_0x4b2ded):_0x73fb58['execute']('insertMergeField',_0x4b2ded),_0x73fb58['editing']['view']['focus']();}),_0x156f60;});const _0x380ae6=_0x73fb58['config']['get']('mergeFields.previewModes'),_0x32ded3=[];if(_0x380ae6['includes']('$labels')&&_0x32ded3['push']({'type':'button','model':new ckeditor5['UIModel']({'withText':!0x0,'isToggleable':!0x0,'label':getTranslation$8(this['editor']['locale'],'Labels'),'commandValue':'$labels'})}),_0x380ae6['includes']('$defaultValues')&&_0x32ded3['push']({'type':'button','model':new ckeditor5['UIModel']({'withText':!0x0,'isToggleable':!0x0,'label':getTranslation$8(this['editor']['locale'],'Default\x20values'),'commandValue':'$defaultValues'})}),_0x380ae6['includes']('$dataSets')){const _0x336816=_0x73fb58['config']['get']('mergeFields.dataSets');if(_0x336816['length']){for(const _0x30ee51 of _0x336816)_0x32ded3['push']({'type':'button','model':new ckeditor5['UIModel']({'withText':!0x0,'isToggleable':!0x0,'label':_0x30ee51['label']||_0x30ee51['id'],'commandValue':_0x30ee51['id']})});}}_0x73fb58['ui']['componentFactory']['add']('previewMergeFields',_0x47e3e9=>{const _0x3350cb=_0x73fb58['commands']['get']('previewMergeFields'),_0x59053c=new ckeditor5['Collection']();for(const _0x192c0 of _0x3db43b(_0x32ded3))_0x192c0['model']['bind']('isOn')['to'](_0x3350cb,'value',_0x1de05f=>_0x1de05f===_0x192c0['model']['commandValue']),_0x59053c['add'](_0x192c0);const _0x2756d1=ckeditor5['createDropdown'](_0x47e3e9),_0x1537c4=getTranslation$8(_0x47e3e9,'Merge\x20fields\x20preview');return _0x2756d1['bind']('isEnabled')['to'](_0x3350cb),ckeditor5['addListToDropdown'](_0x2756d1,_0x59053c,{'ariaLabel':_0x1537c4,'role':'menu'}),_0x2756d1['set']({'class':'ck-merge-fields-preview-dropdown'}),_0x2756d1['buttonView']['set']({'label':_0x1537c4,'ariaLabel':_0x1537c4,'ariaLabelledBy':void 0x0,'isOn':!0x1,'icon':ckeditor5['IconPreviewMergeFields'],'tooltip':!0x0}),this['listenTo'](_0x2756d1,'execute',_0x4a87d6=>{const {commandValue:_0x5e8c67}=_0x4a87d6['source'];_0x73fb58['execute']('previewMergeFields',_0x5e8c67),_0x73fb58['editing']['view']['focus']();}),_0x2756d1;}),_0x73fb58['ui']['componentFactory']['add']('menuBar:previewMergeFields',_0x3e9563=>{const _0x2784ee=new ckeditor5['MenuBarMenuView'](_0x3e9563),_0x588341=_0x73fb58['commands']['get']('previewMergeFields');_0x2784ee['buttonView']['set']({'label':getTranslation$8(_0x3e9563,'Merge\x20fields\x20preview'),'icon':ckeditor5['IconPreviewMergeFields']}),_0x2784ee['bind']('isEnabled')['to'](_0x588341);const _0x421dd5=new ckeditor5['MenuBarMenuListView'](_0x3e9563);_0x421dd5['set']({'ariaLabel':getTranslation$8(_0x3e9563,'Merge\x20fields\x20preview')});for(const _0x3b0890 of _0x3db43b(_0x32ded3)){const _0x156f80=new ckeditor5['MenuBarMenuListItemView'](_0x3e9563,_0x2784ee),_0x19e399=new ckeditor5['MenuBarMenuListItemButtonView'](_0x3e9563);_0x3b0890['model']['bind']('isOn')['to'](_0x588341,'value',_0x36d5b1=>_0x36d5b1===_0x3b0890['model']['commandValue']),_0x19e399['isToggleable']=!0x0,_0x19e399['bind'](...Object['keys'](_0x3b0890['model']))['to'](_0x3b0890['model']),_0x19e399['delegate']('execute')['to'](_0x2784ee),_0x19e399['on']('execute',_0x475c52=>{const {commandValue:_0x36f21b}=_0x475c52['source'];_0x73fb58['execute']('previewMergeFields',_0x36f21b),_0x73fb58['editing']['view']['focus']();}),_0x156f80['children']['add'](_0x19e399),_0x421dd5['items']['add'](_0x156f80);}return _0x2784ee['panelView']['children']['add'](_0x421dd5),_0x2784ee;}),this['_balloon']=_0x73fb58['plugins']['get'](ckeditor5['ContextualBalloon']),this['listenTo'](_0x73fb58['ui'],'update',()=>{this['_updateBalloonVisibility']();},{'priority':'low'}),this['listenTo'](_0x73fb58['ui']['focusTracker'],'change:isFocused',(_0x4ba49f,_0x45e1d3,_0x3da576)=>{this['_balloon']['visibleView']&&this['_balloon']['visibleView']===this['_balloonPanelView']&&(_0x3da576?this['_updateBalloonVisibility']():this['_hideBalloon']());},{'priority':'low'}),this['editor']['once']('ready',this['_overrideMentionExecuteListener']['bind'](this)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x4ab20a=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x585eb2;for(const _0x3aa34a in _0x4ab20a){const _0x408756=_0x3aa34a,_0x44a7cc=_0x4ab20a[_0x408756];if('mergeFieldsLicenseKeyValid'==_0x44a7cc||'mergeFieldsLicenseKeyInvalid'==_0x44a7cc||'mergeFieldsLicenseKeyExpired'==_0x44a7cc||'mergeFieldsLicenseKeyDomainLimit'==_0x44a7cc||'mergeFieldsLicenseKeyNotAllowed'==_0x44a7cc||'mergeFieldsLicenseKeyEvaluationLimit'==_0x44a7cc||'mergeFieldsLicenseKeyTrialLimit'==_0x44a7cc||'mergeFieldsLicenseKeyUsageLimit'==_0x44a7cc){delete _0x4ab20a[_0x408756],_0x585eb2=_0x44a7cc,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'mergeFieldsLicenseKeyInvalid'==_0x585eb2&&_0x4ab20a['_showLicenseError']('invalid'),'mergeFieldsLicenseKeyExpired'==_0x585eb2&&_0x4ab20a['_showLicenseError']('expired'),'mergeFieldsLicenseKeyDomainLimit'==_0x585eb2&&_0x4ab20a['_showLicenseError']('domainLimit'),'mergeFieldsLicenseKeyNotAllowed'==_0x585eb2&&_0x4ab20a['_showLicenseError']('featureNotAllowed','MergeFields'),'mergeFieldsLicenseKeyEvaluationLimit'==_0x585eb2&&_0x4ab20a['_showLicenseError']('evaluationLimit'),'mergeFieldsLicenseKeyTrialLimit'==_0x585eb2&&_0x4ab20a['_showLicenseError']('trialLimit'),'mergeFieldsLicenseKeyUsageLimit'==_0x585eb2&&_0x4ab20a['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_updateBalloonVisibility'](){const _0x5558bd=this['editor']['editing']['view']['document']['selection']['getSelectedElement'](),_0x51f0f7=!(!_0x5558bd||!_0x5558bd['getCustomProperty']('mergeFieldStatus'));if(this['_balloon']['hasView'](this['_balloonPanelView'])&&this['_balloon']['visibleView']===this['_balloonPanelView']){if(_0x51f0f7){const _0x65e4d7=_0x5558bd['getCustomProperty']('mergeFieldStatus');this['_balloonPanelView']['text']=getTranslation$8(this['editor']['locale'],_0x65e4d7),this['_balloon']['updatePosition'](this['_getBalloonPositionData']());}else this['_hideBalloon']();}else{if(_0x51f0f7){const _0x26177e=_0x5558bd['getCustomProperty']('mergeFieldStatus');this['_showBalloon'](getTranslation$8(this['editor']['locale'],_0x26177e));}}}['_showBalloon'](_0x388d1e){this['_balloonPanelView']||(this['_balloonPanelView']=new _0x227f75(this['editor']['locale']),this['_balloonPanelView']['text']=_0x388d1e),this['_balloon']['hasView'](this['_balloonPanelView'])||(this['_balloon']['add']({'stackId':'mergeFieldsStatus','view':this['_balloonPanelView'],'position':this['_getBalloonPositionData']()}),this['_balloon']['showStack']('mergeFieldsStatus'));}['_getBalloonPositionData'](){const _0x1a64a7=this['editor']['editing']['view'];return{'target':()=>{const _0x22c3b4=_0x1a64a7['document']['selection']['getFirstRange'](),_0x12104c=_0x1a64a7['domConverter']['mapViewToDom'](_0x22c3b4['getContainedElement']());return _0x12104c?Array['from'](_0x12104c['getClientRects']())[0x0]:_0x1a64a7['domConverter']['viewRangeToDom'](_0x22c3b4);}};}['_hideBalloon'](){this['_balloon']['remove'](this['_balloonPanelView']);}['_removeDefaultValuesPreviewIfUnnecessary'](){if(Object['values'](this['editor']['plugins']['get']('MergeFieldsEditing')['getDefaultValues']())['some'](_0x4aa0f4=>_0x4aa0f4))return;const _0x9c3401=this['editor']['config']['get']('mergeFields.previewModes');_0x9c3401['indexOf']('$defaultValues')>-0x1&&_0x9c3401['length']>0x1&&(_0x9c3401['splice'](_0x9c3401['indexOf']('$defaultValues'),0x1),this['editor']['config']['set']('mergeFields.previewModes',_0x9c3401));}['_removeMenuBarButtonIfUnnecessary'](){const _0x4f636b=this['editor']['config'];if(_0x4f636b['get']('mergeFields.previewModes')){const _0x153ce9=_0x4f636b['get']('mergeFields.previewModes');if(0x1===_0x153ce9['length']){if(_0x153ce9['includes']('$dataSets'))0x1===_0x4f636b['get']('mergeFields.dataSets')['length']&&_0x4cbf8e();else _0x4cbf8e();}}function _0x4cbf8e(){const _0x416cee=_0x4f636b['get']('menuBar.removeItems');_0x416cee?(_0x416cee['push']('menuBar:previewMergeFields'),_0x4f636b['set']('menuBar.removeItems',_0x416cee)):_0x4f636b['set']('menuBar.removeItems',['menuBar:previewMergeFields']);}}['_setupMentionConfiguration'](){const _0x565348=this['editor'],_0x5970d1=_0x565348['config']['get']('mention.feeds'),_0x55f4fb=_0x565348['config']['get']('mergeFields.prefix');_0x5970d1['push']({'marker':_0x55f4fb,'dropdownLimit':0xa,'feed':_0x57af32=>_0x565348['plugins']['get']('MergeFieldsEditing')['flattenedMergeFieldDefinitions']['filter'](_0x150d97=>{const _0x457345=_0x565348['commands']['get']('insertMergeField')['isEnabled'],_0x1b6623=_0x565348['commands']['get']('insertMergeFieldBlock')['isEnabled'],_0x283d4f=_0x565348['commands']['get']('insertMergeFieldImage')['isEnabled'],_0x39b68b=_0x565348['plugins']['get']('MergeFieldsEditing')['getMergeFieldType'](_0x150d97['id']);if('text'===_0x39b68b&&!_0x457345)return!0x1;if('block'===_0x39b68b&&!_0x1b6623)return!0x1;if('image'===_0x39b68b&&!_0x283d4f)return!0x1;return(_0x565348['plugins']['get']('MergeFieldsEditing')['getLabel'](_0x150d97['id'])||_0x150d97['id'])['toLowerCase']()['includes'](_0x57af32['toLowerCase']());}),'itemRenderer':_0x49cbb4=>{const _0x5b2978=document['createElement']('button');return _0x5b2978['innerHTML']=''+(_0x49cbb4['label']||_0x49cbb4['id']),_0x5b2978;}}),_0x565348['config']['set']('mention.feeds',_0x5970d1);}['_overrideMentionExecuteListener'](){const _0x10627b=this['editor'];_0x10627b['commands']['get']('mention')['on']('execute',(_0x276a87,_0x963d34)=>{const _0x5d1984=_0x963d34[0x0];_0x5d1984['marker']===_0x10627b['config']['get']('mergeFields.prefix')&&_0x10627b['model']['change'](_0x1ef0a8=>{_0x1ef0a8['remove'](_0x5d1984['range']);const _0x229f81=_0x5d1984['mention']['id'],_0x36140b=_0x10627b['plugins']['get']('MergeFieldsEditing')['getMergeFieldType'](_0x229f81);'text'===_0x36140b?_0x10627b['execute']('insertMergeField',_0x229f81):'block'===_0x36140b?_0x10627b['execute']('insertMergeFieldBlock',_0x229f81,!0x1):_0x10627b['execute']('insertMergeFieldImage',_0x229f81,{'breakBlock':!0x0}),_0x276a87['stop']();});},{'priority':'high'});}}function createInsertMergeFieldDropdown(_0x3d4cbb){const _0x1693ba=ckeditor5['createDropdown'](_0x3d4cbb);return _0x1693ba['set']({'class':'ck-insert-merge-field-dropdown','isEnabled':!0x0}),_0x1693ba['buttonView']['set']({'label':getTranslation$8(_0x3d4cbb,'Insert\x20merge\x20field'),'icon':ckeditor5['IconInsertMergeField'],'tooltip':!0x0}),_0x1693ba;}function createMergeFieldsListView(_0x1557a1,_0x263601,_0x51b056){const _0xcf15e2=new MergeFieldsListView(_0x1557a1),_0x1e0e63=[],_0x122237=[];for(const _0x4e365e of _0x263601)if('groupId'in _0x4e365e){const _0x338ede=createMergeFieldsGroupView(_0x1557a1,_0x4e365e['groupLabel']||_0x4e365e['groupId'],_0x4e365e['definitions'],_0x51b056);_0x338ede['delegate']('execute')['to'](_0xcf15e2),_0x122237['push'](_0x338ede);}else _0x1e0e63['push'](_0x4e365e);if(_0x1e0e63['length']){const _0xda8462=createMergeFieldsGroupView(_0x1557a1,'Other',_0x1e0e63,_0x51b056);_0xda8462['delegate']('execute')['to'](_0xcf15e2),_0x122237['push'](_0xda8462);}return _0xcf15e2['items']['addMany'](_0x122237),_0xcf15e2;}function createMergeFieldsGroupView(_0x31599a,_0x1ccdac,_0x390498,_0x303de8){const _0x3e71e4=new ckeditor5['ListItemGroupView'](_0x31599a,new ckeditor5['LabelWithHighlightView']());_0x3e71e4['label']=_0x1ccdac;for(const _0xbbca9f of _0x390498){let _0x3ca132;_0x3ca132='block'===_0xbbca9f['type']?_0x303de8['insertBlock']:'image'===_0xbbca9f['type']?_0x303de8['insertImage']:_0x303de8['insertInline'];const _0xc3a05f=createMergeFieldListItemView(_0x31599a,_0xbbca9f,_0x3ca132);_0xc3a05f['delegate']('execute')['to'](_0x3e71e4),_0x3e71e4['items']['add'](_0xc3a05f);}return _0x3e71e4;}function createMergeFieldListItemView(_0x31ff00,_0x39a6f4,_0x2375e3){const _0x24787e=new ckeditor5['ListItemView'](_0x31ff00),_0x561b56=new ckeditor5['ButtonLabelWithHighlightView'](),_0x1c59f6=new ckeditor5['ButtonView'](_0x31ff00,_0x561b56);return _0x24787e['children']['add'](_0x1c59f6),_0x1c59f6['set']({'label':_0x39a6f4['label']||_0x39a6f4['id'],'withText':!0x0}),_0x1c59f6['bind']('isEnabled')['to'](_0x2375e3),_0x1c59f6['on']('execute',()=>{_0x24787e['fire']('execute',_0x39a6f4['id']);}),_0x24787e;}function createMergeFieldsSearchTextView(_0x160fbb,_0x86b17a){return new ckeditor5['SearchTextView'](_0x160fbb,{'filteredView':_0x86b17a,'queryView':{'label':getTranslation$8(_0x160fbb,'Search\x20merge\x20field')},'class':'ck-merge-fields-search','infoView':{'text':{'notFound':{'primary':getTranslation$8(_0x160fbb,'No\x20merge\x20fields\x20found')},'noSearchableItems':{'primary':getTranslation$8(_0x160fbb,'No\x20merge\x20fields\x20available')}}}});}function createMenuBarSubmenu(_0x3a13a6,_0x383bee,_0x239a1b){const _0x2f92c4=new ckeditor5['MenuBarMenuView'](_0x3a13a6),_0x3feff6=new ckeditor5['MenuBarMenuListView'](_0x3a13a6);for(const _0x47ad45 of _0x383bee['definitions']){let _0xee8138;_0xee8138='block'===_0x47ad45['type']?_0x239a1b['insertBlock']:'image'===_0x47ad45['type']?_0x239a1b['insertImage']:_0x239a1b['insertInline'];const _0x2e7db6=createMenuBarListItem(_0x3a13a6,_0x47ad45,_0x2f92c4,_0xee8138);_0x3feff6['items']['add'](_0x2e7db6);}return _0x2f92c4['set']({'class':'ck-menu-bar__merge-fields-submenu'}),_0x2f92c4['buttonView']['set']({'label':_0x383bee['groupLabel']||_0x383bee['groupId']}),_0x2f92c4['panelView']['children']['add'](_0x3feff6),_0x2f92c4;}function createMenuBarListItem(_0xb68afc,_0x5ac473,_0x595893,_0x34e475){const _0x3c7a8d=new ckeditor5['MenuBarMenuListItemView'](_0xb68afc,_0x595893),_0x582483=new ckeditor5['MenuBarMenuListItemButtonView'](_0xb68afc);return _0x582483['set']({'label':_0x5ac473['label']||_0x5ac473['id']}),_0x3c7a8d['delegate']('execute')['to'](_0x595893),_0x3c7a8d['children']['add'](_0x582483),_0x582483['bind']('isEnabled')['to'](_0x34e475),_0x582483['on']('execute',()=>{_0x3c7a8d['fire']('execute',_0x5ac473['id']);}),_0x3c7a8d;}class _0x2049bf extends ckeditor5['Plugin']{static get['requires'](){return[MergeFieldsEditing,_0x222141];}static get['pluginName'](){return'MergeFields';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}const _0x217dab=0x64,_0x88c2be=0xc8;class PaginationLookup extends ckeditor5['Plugin']{['_recalculatePageBreaksDebounced']=_0x4313fa(()=>this['_recalculatePageBreaks'](),_0x88c2be);['_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 _0x554c32=this['editor']['plugins']['get']('PaginationEditing');this['bind']('isEnabled')['to'](_0x554c32),this['editor']['ui']['once']('ready',()=>this['_onUiReady']()),this['on']('change:isEnabled',(_0x506907,_0x959e08,_0x2b7313)=>{_0x2b7313&&this['_recalculatePageBreaksDebounced']();});}['afterInit'](){_0x33a4a8(this);}['destroy'](){super['destroy'](),this['_pagesContainer']&&(this['_recalculatePageBreaksDebounced']['cancel'](),this['_pagesContainer']['destroy'](),this['_pagesContainer']['element']['remove']());}['_onUiReady'](){const _0x96f46=this['editor'],_0x5b2005=_0x96f46['editing']['view'],_0x3ffcff=this['_getAttachedDomRoot']();if(!_0x3ffcff||0x0===_0x3ffcff['childElementCount'])return void _0x96f46['ui']['once']('update',()=>this['_onUiReady']());const {pageWidth:_0x4b2c1c,pageHeight:_0x347f7d}=_0x96f46['config']['get']('pagination'),{top:_0x31e4b2,left:_0x43687b,bottom:_0x47b840,right:_0x5f25d9}=this['_configuredPaddings'];this['_pagesContainer']=new ckeditor5['View'](_0x96f46['locale']);const _0x356a0c=this['_pagesContainer'];_0x356a0c['set']('class',''),_0x356a0c['setTemplate']({'tag':'div','attributes':{'style':{'columnWidth':_0x4b2c1c,'width':_0x4b2c1c,'height':'calc(\x20'+_0x347f7d+'\x20-\x20'+_0x31e4b2+'\x20-\x20'+_0x47b840+'\x20+\x200.5mm\x20)','minWidth':'auto','minHeight':'auto','padding':'0\x20'+_0x5f25d9+'\x200\x20'+_0x43687b,'columnGap':'calc('+_0x43687b+'\x20+\x20'+_0x5f25d9+'\x20+\x20'+_0x217dab+'px)','border':0x0,'boxSizing':'border-box','columnCount':'auto','columnFill':'auto','overflow':'hidden','position':'absolute','top':'-99999px','left':'-99999px'},'class':_0x356a0c['bindTemplate']['to']('class')}}),_0x356a0c['render'](),_0x3ffcff['parentNode']['insertBefore'](_0x356a0c['element'],_0x3ffcff['nextSibling']),this['listenTo'](_0x5b2005,'render',()=>this['_recalculatePageBreaksDebounced'](),{'priority':'low'}),this['_recalculatePageBreaksDebounced']();}['_getAttachedDomRoot'](){for(const _0x238c2f of this['editor']['editing']['view']['domRoots']['values']())if(_0x238c2f['ownerDocument']['body']['contains'](_0x238c2f))return _0x238c2f;return null;}['_recalculatePageBreaks'](){if(!this['isEnabled'])return Promise['resolve']();const _0x5931fc=this['editor']['editing']['view'],_0x360c8d=this['_pagesContainer'],_0x9cf2fe=this['_getAttachedDomRoot']();if(!_0x9cf2fe)return Promise['resolve']();for(_0x360c8d['class']=['ck-reset','ck-pagination-view',..._0x9cf2fe['classList']]['join']('\x20');_0x360c8d['element']['firstChild'];)_0x360c8d['element']['firstChild']['remove']();const _0x4bb304=Array['from'](_0x5931fc['domRoots']);_0x4bb304['sort'](([,_0x35811c],[,_0x5ba91e])=>_0x35811c['compareDocumentPosition'](_0x5ba91e)==Node['DOCUMENT_POSITION_PRECEDING']?0x1:-0x1);for(const [_0x8d40d9,_0x394f13]of _0x4bb304){const _0x297a97=_0x394f13['cloneNode'](!0x0);'attributeStyleMap'in _0x297a97&&_0x297a97['attributeStyleMap']['clear'](),_0x297a97['dataset']['rootName']=_0x8d40d9,_0x297a97['className']='ck-content\x20ck-pagination_enabled',_0x297a97['removeAttribute']('id'),_0x297a97['tabIndex']=-0x1,_0x360c8d['element']['append'](_0x297a97);}const _0xc2aab8=Array['from'](_0x360c8d['element']['querySelectorAll']('img'));return _0x1a432f(_0xc2aab8)['then'](()=>{for(const _0xeaccfb of _0xc2aab8['filter'](_0x3d95f3=>!_0x3d95f3['closest']('table')))if(_0xeaccfb['offsetParent']){const _0x306153=ckeditor5['global']['window']['getComputedStyle'](_0xeaccfb),_0x332410=ckeditor5['global']['document']['createElement']('span');for(const _0x53955a of _0x306153)_0x332410['style']['setProperty'](_0x53955a,_0x306153[_0x53955a]);_0x332410['style']['backgroundImage']='url(\x20'+_0xeaccfb['src']+'\x20)',_0x332410['style']['breakInside']='avoid','PICTURE'==_0xeaccfb['parentElement']?.['tagName']?_0xeaccfb['parentElement']['replaceWith'](_0x332410):_0xeaccfb['replaceWith'](_0x332410);}return nextAnimationFrame();})['then'](()=>{this['_updatePageBreaksData']();});}['_updatePageBreaksData'](){const _0x10cd91=this['_pagesContainer']['element'];if(!_0x10cd91['ownerDocument']['body']['contains'](_0x10cd91))return;const _0xe614eb=new ckeditor5['Rect'](_0x10cd91)['excludeScrollbarsAndBorders'](),_0x3d1cb0=Math['floor'](_0xe614eb['width']+_0x217dab),_0x5e50b1=findPageStarterInfos(_0x10cd91,Math['floor'](_0xe614eb['left']-_0x10cd91['scrollLeft']),_0x3d1cb0,_0xe614eb['height'])['map'](_0x52ca73=>this['_mapPageStarterInfoToPageBreakInfo'](_0x52ca73));_0x5e50b1['every'](_0x40cea0=>!!_0x40cea0)&&(this['pageBreaks']=_0x5e50b1);}['_mapPageStarterInfoToPageBreakInfo'](_0x3de9f1){const _0x46d2f9=this['editor']['editing']['view'],_0xa3fc1d=this['editor']['editing']['mapper'],_0x2b125b=_0x46d2f9['domConverter'],_0x18d29b=_0x3de9f1['path']['shift'](),_0x14dd84=this['_pagesContainer']['element']['childNodes'][_0x18d29b]['dataset']['rootName'],_0x1d0353=_0x46d2f9['getDomRoot'](_0x14dd84);if(!_0x1d0353)return null;const _0x4c3407=pageElementToViewElement(_0x1d0353,_0x3de9f1);if(!_0x4c3407)return null;const _0x17119f=_0x2b125b['domPositionToView'](_0x4c3407,_0x3de9f1['textOffset']||0x0);return _0x17119f?'manual'==_0x3de9f1['type']?this['_mapManualPageStarterInfoToPageBreakInfo'](_0x17119f,_0x4c3407):'text'==_0x3de9f1['type']&&_0xa3fc1d['toModelPosition'](_0x17119f)['offset']?this['_mapTextPageStarterInfoToPageBreakInfo'](_0x17119f,_0x4c3407,_0x3de9f1['textOffset']):this['_mapElementPageStarterInfoToPageBreakInfo'](_0x17119f,_0x4c3407,_0x3de9f1['offset']):null;}['_mapManualPageStarterInfoToPageBreakInfo'](_0x45256b,_0xd73651){const _0x12dbc3=this['editor']['model'],_0x1c58f7=this['editor']['editing']['mapper']['toModelElement'](_0x45256b['parent']),_0x172508=_0x12dbc3['createRangeOn'](_0x1c58f7);return new _0x3be235({'type':'manual','modelRange':_0x172508,'domNode':_0xd73651,'offset':0x0});}['_mapTextPageStarterInfoToPageBreakInfo'](_0x234e1d,_0x4b4c3f,_0x57630a){const _0x2b42bd=this['editor']['model'],_0x2cbbf5=this['editor']['editing']['mapper'],_0x203ce2=this['editor']['editing']['view']['domConverter'];if(_0x57630a>=_0x4b4c3f['length'])return null;const _0x4d8fb4=_0x2cbbf5['toModelPosition'](_0x234e1d),_0x5bb46b=_0x2b42bd['createRange'](_0x4d8fb4),_0x31ca6d=_0x2cbbf5['findMappedViewAncestor'](_0x234e1d),_0x5cff6c=_0x203ce2['mapViewToDom'](_0x31ca6d);return new _0x3be235({'type':'text','modelRange':_0x5bb46b,'domNode':_0x4b4c3f,'offset':findOffsetTopForTextOffset(_0x4b4c3f,_0x57630a,_0x5cff6c)});}['_mapElementPageStarterInfoToPageBreakInfo'](_0x5f3371,_0x4b6fdc,_0x27b1be){const _0x2fbfe2=this['editor']['model'],_0x156e4c=this['editor']['editing'],_0x4b676e=_0x156e4c['mapper'],_0xb045c3=_0x156e4c['view']['domConverter'],_0x3315c1=_0x4b676e['findMappedViewAncestor'](_0x5f3371),_0x572df9=_0x4b676e['toModelElement'](_0x3315c1),_0x437537=getTopMostParentBlockTouchingPosition(_0x2fbfe2['createPositionBefore'](_0x572df9))||_0x572df9;let _0x2888aa=_0x4b676e['toViewElement'](_0x437537),_0x16e1d9=_0x2fbfe2['createRangeOn'](_0x437537);const _0x3ec5b2=_0x2fbfe2['createPositionBefore'](_0x437537)['nodeBefore'];if(_0x3ec5b2&&_0x3ec5b2['is']('element','imageBlock')){const _0x1d9e99=_0x4b676e['toViewElement'](_0x3ec5b2),_0x11a113=_0xb045c3['mapViewToDom'](_0x1d9e99),_0x4ec134=ckeditor5['global']['window']['getComputedStyle'](_0x11a113)['float'];'left'!=_0x4ec134&&'right'!=_0x4ec134||(_0x16e1d9=_0x2fbfe2['createRangeOn'](_0x3ec5b2));}for(;_0x2888aa['parent']!==_0x2888aa['root']&&0x0===_0x2888aa['index'];)_0x2888aa=_0x2888aa['parent'];const _0x19e2ab=new ckeditor5['Rect'](isHTMLElement(_0x4b6fdc)?_0x4b6fdc:createDomRangeOn(_0x4b6fdc)),_0x321242=_0x27b1be?_0x19e2ab['height']-_0x27b1be:0x0,_0x233c56=_0xb045c3['mapViewToDom'](_0x2888aa),_0x27ff13=new ckeditor5['Rect'](_0x233c56);return new _0x3be235({'type':'element','modelRange':_0x16e1d9,'domNode':_0x233c56,'offset':Math['round'](_0x321242)||_0x3315c1!=findBlockAncestor(_0x5f3371)?_0x321242+_0x19e2ab['top']-_0x27ff13['top']:0x0});}get['_configuredPaddings'](){const _0x244ab2=this['editor']['config']['get']('pagination.pageMargins');return Object['assign']({'top':'10mm','bottom':'10mm','left':'10mm','right':'10mm'},_0x244ab2);}static['_findPageStarterInfos'](_0x27812c,_0x587d71,_0x5bbb36,_0x3feb0b,_0x828553){return findPageStarterInfos(_0x27812c,_0x587d71,_0x5bbb36,_0x3feb0b,_0x828553);}}class _0x3be235{['type'];['modelRange'];['_domNode'];['_offset'];constructor({type:_0x27f08e,modelRange:_0x5a2941,domNode:_0x27716f,offset:_0x581841}){this['type']=_0x27f08e,this['modelRange']=_0x5a2941,this['_domNode']=_0x27716f,this['_offset']=_0x581841;}get['offset'](){if(!this['_domNode']['ownerDocument']['body']['contains'](this['_domNode']))return 0x0;const _0x19aedd=new ckeditor5['Rect'](isHTMLElement(this['_domNode'])?this['_domNode']:createDomRangeOn(this['_domNode']));return'manual'==this['type']?_0x19aedd['top']+_0x19aedd['height']/0x2:_0x19aedd['top']+this['_offset'];}}function _0x45c3d8(_0x46d808){return!(!_0x46d808||!isHTMLElement(_0x46d808))&&Boolean(_0x46d808['classList']['contains']('page-break')||_0x46d808['closest']('.page-break'));}function pageElementToViewElement(_0x59ed77,_0x36a83d){let _0x183c08=_0x59ed77;for(const _0xa6f1dc of _0x36a83d['path']){if(!_0x183c08)return null;_0x183c08=_0x183c08['childNodes'][_0xa6f1dc];}return _0x183c08;}function findOffsetTopForTextOffset(_0x4d19f0,_0x2414ef,_0x19443f){const _0x28659a=createDomRangeOn(_0x4d19f0),_0xf85287=createDomRangeIn(_0x19443f);let _0x52eba5;_0x52eba5=0x0==_0x2414ef?createDomRangeMultiNode(_0xf85287['startContainer'],_0xf85287['startOffset'],_0x4d19f0['parentNode'],Array['from'](_0x4d19f0['parentNode']['childNodes'])['indexOf'](_0x4d19f0)):createDomRangeMultiNode(_0xf85287['startContainer'],_0xf85287['startOffset'],_0x4d19f0,_0x2414ef);const _0x35ec2e=createDomRangeMultiNode(_0x4d19f0,_0x2414ef,_0xf85287['endContainer'],_0xf85287['endOffset']),_0xf8ddbe=new ckeditor5['Rect'](_0x52eba5)['bottom'];return(new ckeditor5['Rect'](_0x35ec2e)['top']+_0xf8ddbe)/0x2-new ckeditor5['Rect'](_0x28659a)['top'];}function getTopMostParentBlockTouchingPosition(_0x5327fa){const _0x4d51e4=_0x5327fa['parent'],_0xe8b351=_0x4d51e4['root']['document']['model'],_0x50acfe=_0x4d51e4['getAncestors']({'parentFirst':!0x0,'includeSelf':!0x0});let _0x5b061a=null;for(const _0x1c7cf5 of _0x50acfe){if(_0x1c7cf5['is']('rootElement'))return _0x5b061a;if(!_0xe8b351['createPositionBefore'](_0x1c7cf5)['isTouching'](_0x5327fa))return _0x5b061a;_0x5b061a=_0x1c7cf5;}}function findBlockAncestor(_0xa169a1){let _0x20e880=_0xa169a1['parent'];for(;_0x20e880['is']('$text')||_0x20e880['is']('attributeElement');)_0x20e880=_0x20e880['parent'];return _0x20e880;}function _0x1a432f(_0x5a9363){return Promise['all'](_0x5a9363['map'](_0x4c46c6=>Promise['race']([_0x18ebd0(_0x4c46c6),timeout(0x3e8)])));}function _0x18ebd0(_0x59147a){return _0x59147a['hasAttribute']('width')&&_0x59147a['hasAttribute']('height')?Promise['resolve']():new Promise(_0x23eb72=>{function _0x1b6077(){_0x59147a['removeEventListener']('load',_0x1b6077),_0x59147a['removeEventListener']('error',_0x1b6077),_0x23eb72();}_0x59147a['complete']?_0x23eb72():(_0x59147a['addEventListener']('load',_0x1b6077),_0x59147a['addEventListener']('error',_0x1b6077));});}function timeout(_0x2aa777){return new Promise(_0x1dbcf0=>setTimeout(_0x1dbcf0,_0x2aa777));}function nextAnimationFrame(){return new Promise(_0x417dd7=>ckeditor5['global']['window']['requestAnimationFrame'](()=>_0x417dd7()));}function createDomRangeOn(_0x3f97a6){const _0x762a40=ckeditor5['global']['document']['createRange']();return _0x762a40['selectNode'](_0x3f97a6),_0x762a40;}function createDomRangeIn(_0x25dd2e){const _0x39017b=ckeditor5['global']['document']['createRange']();return _0x39017b['selectNodeContents'](_0x25dd2e),_0x39017b;}function createDomRange(_0x207615,_0x5eb7b4,_0x11577d){const _0x41c0a8=ckeditor5['global']['document']['createRange']();return _0x41c0a8['setStart'](_0x207615,_0x5eb7b4),_0x41c0a8['setEnd'](_0x207615,_0x11577d),_0x41c0a8;}function createDomRangeMultiNode(_0x2e6a09,_0xd8c4d1,_0x979c4,_0x227c22){const _0x1337c9=ckeditor5['global']['document']['createRange']();return _0x1337c9['setStart'](_0x2e6a09,_0xd8c4d1),_0x1337c9['setEnd'](_0x979c4,_0x227c22),_0x1337c9;}function findPageStarterInfos(_0x13e23a,_0x15f214,_0x5b0cd5,_0x2f771b,_0x20ea74){const _0xbe1dea=[];for(const [_0x441c71,_0x1c0736]of _0x13e23a['childNodes']['entries']()){let _0x1ae122=[];isHTMLElement(_0x1c0736)&&_0x1c0736['offsetParent']&&['static','relative']['includes'](ckeditor5['global']['window']['getComputedStyle'](_0x1c0736)['position'])?_0x1ae122=findPageStartersInElementNode(_0x1c0736,_0x441c71,_0x15f214,_0x5b0cd5,_0x2f771b,_0x20ea74):isText(_0x1c0736)&&(_0x1ae122=findPageStartersInTextNode(_0x1c0736,_0x441c71,_0x15f214,_0x5b0cd5,_0x20ea74)),_0x1ae122['length']&&(_0xbe1dea['push'](..._0x1ae122),_0x15f214+=_0x1ae122['length']*_0x5b0cd5,_0x20ea74=!0x1);}return _0xbe1dea;}function findPageStartersInElementNode(_0x2371e9,_0x2b2f56,_0x4cd12d,_0x7504b5,_0x3a7c8e,_0x328608){const _0x3fc61a=[];if(_0x45c3d8(_0x2371e9['previousSibling'])&&(_0x3fc61a['push']({'type':'manual','offset':0x0,'path':[_0x2b2f56-0x1]}),_0x328608=!0x0),'table-row'==ckeditor5['global']['window']['getComputedStyle'](_0x2371e9)['display']){let _0x3e5637=0x0,_0x3eb6ac=!0x1;for(const _0x4e36e6 of _0x2371e9['getClientRects']())_0x3e5637+=_0x4e36e6['height'],_0x4e36e6['left']>=_0x4cd12d&&(_0x3eb6ac=!0x0);if(_0x3e5637<_0x3a7c8e&&_0x3eb6ac)return _0x3fc61a['push']({'type':'element','offset':0x0,'path':[_0x2b2f56]}),_0x3fc61a;}const _0x5ef22=_0x2371e9['closest']('figure.image');if(_0x5ef22&&_0xb197c2(_0x5ef22)){const _0x5cbcf0=ckeditor5['global']['window']['getComputedStyle'](_0x5ef22)['float'];if('left'==_0x5cbcf0||'right'==_0x5cbcf0)return _0x3fc61a;}const _0x1d934b=findPageStarterInfos(_0x2371e9,_0x4cd12d,_0x7504b5,_0x3a7c8e,_0x328608);if(_0x1d934b['length']){for(const _0x505d06 of _0x1d934b)_0x3fc61a['push']({'type':_0x505d06['type'],'offset':_0x505d06['offset'],'textOffset':_0x505d06['textOffset'],'path':[_0x2b2f56,..._0x505d06['path']]}),_0x4cd12d+=_0x7504b5,_0x328608=!0x1;return _0x3fc61a;}return _0x3fc61a['push'](...findPageStartersInLeafElementNode(_0x2371e9,_0x2b2f56,_0x4cd12d,_0x7504b5,_0x328608)),_0x3fc61a;}function findPageStartersInLeafElementNode(_0x589ea0,_0x449ff4,_0x205422,_0x1b95d8,_0x4270b9){const _0x422d3c=[];if('table-cell'==ckeditor5['global']['window']['getComputedStyle'](_0x589ea0)['display'])return[];const _0x5cd508=[];for(const _0x161c59 of _0x589ea0['getClientRects']())if(_0x161c59['left']>=_0x205422){for(const _0x5cf1b5 of _0x5cd508)_0x5cf1b5['height']+=_0x161c59['height'];_0x5cd508['push']({'height':_0x161c59['height']}),_0x205422+=_0x1b95d8;}for(const _0x4bdc14 of _0x5cd508)_0x4270b9||_0x422d3c['push']({'type':'element','offset':_0x4bdc14['height'],'textOffset':0x0,'path':[_0x449ff4]}),_0x4270b9=!0x1;return _0x422d3c;}function findPageStartersInTextNode(_0x4c300f,_0x4e93eb,_0x55ecfe,_0x40c6dc,_0x12c6c6){const _0x53e836=createDomRangeOn(_0x4c300f),_0x3241c4=[];let _0x2705e8=0x0;for(const _0x30bdc9 of _0x53e836['getClientRects']())if(_0x30bdc9['left']>=_0x55ecfe){const _0x71afed=findLastTextOffsetOnPage(_0x4c300f,_0x2705e8,_0x55ecfe,_0x40c6dc);_0x12c6c6||_0x3241c4['push']({'type':'text','path':[_0x4e93eb],'textOffset':_0x71afed}),_0x2705e8=_0x71afed,_0x55ecfe+=_0x40c6dc,_0x12c6c6=!0x1;}return _0x3241c4;}function findLastTextOffsetOnPage(_0x7a88b5,_0x2614e6,_0x3923b2,_0x2569c6){let _0x50d484=_0x2614e6,_0x40bbf5=_0x7a88b5['length'];for(;_0x40bbf5-_0x50d484>0x1;){const _0x5efef8=Math['ceil']((_0x50d484+_0x40bbf5)/0x2);domRangeContainsPageBreak(createDomRange(_0x7a88b5,_0x50d484,_0x5efef8),_0x3923b2,_0x2569c6)?_0x40bbf5=_0x5efef8:_0x50d484=_0x5efef8;}return _0x50d484;}function domRangeContainsPageBreak(_0x15fbfa,_0x35a4a0,_0x131b36){for(const _0x501061 of _0x15fbfa['getClientRects']())if(_0x501061['left']>=_0x35a4a0&&_0x501061['left']<_0x35a4a0+_0x131b36)return!0x0;return!0x1;}function _0xb197c2(_0x47c84c){let _0x3448ba=!0x1;const _0x3829fd=_0x47c84c['parentElement']['dataset']['rootName'],_0x14ba69=_0x47c84c['nextElementSibling'],_0xedba4a=_0x47c84c['previousElementSibling'],_0x4556f2=_0x14ba69&&ckeditor5['global']['window']['getComputedStyle'](_0x14ba69)['float'],_0x508e37=_0x14ba69&&'ck-fake-selection-container'===_0x14ba69['className'];return!_0x3829fd||_0x14ba69||_0xedba4a||(_0x3448ba=!0x0),_0x3829fd&&!_0xedba4a&&_0x508e37&&(_0x3448ba=!0x0),_0x3829fd&&!_0xedba4a&&'none'!==_0x4556f2&&(_0x3448ba=!0x0),!_0x3448ba;}function isHTMLElement(_0x26547c){return _0x26547c['nodeType']==Node['ELEMENT_NODE'];}function isText(_0x1d7818){return _0x1d7818['nodeType']==Node['TEXT_NODE'];}async function _0x33a4a8(_0x33ff09){const _0x5be633=_0x256df0([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]),_0x518e24=window[_0x256df0([0x44,0x61,0x74,0x65])][_0x256df0([0x6e,0x6f,0x77])](),_0x346f1d=_0x33ff09[_0x256df0([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x1a4090=new window[(_0x256df0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x88f673=>{_0x346f1d[_0x256df0([0x6f,0x6e,0x63,0x65])](_0x256df0([0x72,0x65,0x61,0x64,0x79]),_0x88f673);}),_0x4c4abd={[_0x256df0([0x6b,0x74,0x79])]:_0x256df0([0x45,0x43]),[_0x256df0([0x75,0x73,0x65])]:_0x256df0([0x73,0x69,0x67]),[_0x256df0([0x63,0x72,0x76])]:_0x256df0([0x50,0x2d,0x32,0x35,0x36]),[_0x256df0([0x78])]:_0x256df0([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]),[_0x256df0([0x79])]:_0x256df0([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]),[_0x256df0([0x61,0x6c,0x67])]:_0x256df0([0x45,0x53,0x32,0x35,0x36])},_0x5f0191=_0x346f1d[_0x256df0([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x256df0([0x67,0x65,0x74])](_0x256df0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x57cb12=await(async function(){let _0xe8dbe9,_0xecbe3d=null,_0x287daa=null;try{if(_0x5f0191==_0x256df0([0x47,0x50,0x4c]))return _0x256df0([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0xe8dbe9=(function(){const _0x248fdd=_0x5f0191[_0x256df0([0x73,0x70,0x6c,0x69,0x74])](_0x256df0([0x2e]));if(0x3!=_0x248fdd[_0x256df0([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;const _0x3ba816=_0x248fdd[0x1];return _0x501720(_0x3ba816);function _0x501720(_0x136bc9){const _0x1b387d=_0x38804d(_0x136bc9);return _0x1b387d&&_0x33ebbf()?_0x1b387d:null;function _0x33ebbf(){const _0x207b4d=_0x1b387d[_0x256df0([0x6a,0x74,0x69])],_0x21efcc=window[_0x256df0([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x207b4d[_0x256df0([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x207b4d[_0x256df0([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x33a3ee={..._0x1b387d,[_0x256df0([0x6a,0x74,0x69])]:_0x207b4d[_0x256df0([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x207b4d[_0x256df0([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x33a3ee[_0x256df0([0x76,0x63])],_0xef7d22(_0x33a3ee)==_0x21efcc;}}}()),!_0xe8dbe9)return _0x256df0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);_0xe8dbe9[_0x256df0([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x287daa=function(_0x2fa101,_0x58f738){return new window[(_0x256df0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5aba15=>{if(_0x4dc9b8())return _0x5aba15(_0x256df0([0x56,0x61,0x6c,0x69,0x64]));_0x5e0142(),_0x346f1d[_0x256df0([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x256df0([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x2daaf4=!0x1;const _0x479591=ckeditor5['uid']();function _0x41b37a(_0x1dabd3){return!!_0x1dabd3&&(typeof _0x1dabd3===_0x256df0([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x1dabd3===_0x256df0([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x1dabd3[_0x256df0([0x74,0x68,0x65,0x6e])]===_0x256df0([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x1dabd3[_0x256df0([0x63,0x61,0x74,0x63,0x68])]===_0x256df0([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x3f6f5a(_0x412e18){_0x48b824(_0x412e18)[_0x256df0([0x74,0x68,0x65,0x6e])](_0x2e834b=>{if(!_0x2e834b||_0x2e834b[_0x256df0([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x256df0([0x6f,0x6b]))return _0x256df0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x4d4aa2(_0xef7d22(_0x479591+_0x58f738))!=_0x2e834b[_0x256df0([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x256df0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x256df0([0x56,0x61,0x6c,0x69,0x64]);})[_0x256df0([0x74,0x68,0x65,0x6e])](_0x4d4e85=>(_0x34d2b1(),_0x4d4e85),()=>{const _0xdbea11=_0x449f02();return null==_0xdbea11?(_0x34d2b1(),_0x256df0([0x56,0x61,0x6c,0x69,0x64])):_0x256df0(_0x518e24-_0xdbea11>0x240c8400?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x256df0([0x74,0x68,0x65,0x6e])](_0x5aba15)[_0x256df0([0x63,0x61,0x74,0x63,0x68])](()=>{_0x5aba15(_0x256df0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x519247=0x36ee80;function _0x34d2b1(){const _0x1e2aef=_0x256df0([0x6c,0x6c,0x63,0x74,0x2d])+_0x4d4aa2(_0xef7d22(_0x2fa101)),_0x47dd40=_0x4ff1fa(_0x4d4aa2(window[_0x256df0([0x4d,0x61,0x74,0x68])][_0x256df0([0x63,0x65,0x69,0x6c])](_0x518e24/_0x519247)));window[_0x256df0([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x256df0([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1e2aef,_0x47dd40);}function _0x449f02(){const _0x59618c=_0x256df0([0x6c,0x6c,0x63,0x74,0x2d])+_0x4d4aa2(_0xef7d22(_0x2fa101)),_0x58d4f6=window[_0x256df0([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x256df0([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x59618c);return _0x58d4f6?window[_0x256df0([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4ff1fa(_0x58d4f6),0x10)*_0x519247:null;}function _0x48b824(_0x52aad2){return new window[(_0x256df0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x422b68,_0x55eccb)=>{_0x52aad2[_0x256df0([0x74,0x68,0x65,0x6e])](_0x422b68,_0x55eccb),window[_0x256df0([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x55eccb,0x1d4c0);});}}_0x346f1d[_0x256df0([0x6f,0x6e])](_0x256df0([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x121eee,_0x468f92)=>{if(_0x468f92[0x0]!=_0x2fa101)return _0x5aba15(_0x256df0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x468f92[0x1]={..._0x468f92[0x1],[_0x256df0([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x479591};},{[_0x256df0([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x256df0([0x68,0x69,0x67,0x68])}),_0x346f1d[_0x256df0([0x6f,0x6e])](_0x256df0([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x1689d6=>{_0x41b37a(_0x1689d6[_0x256df0([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x2daaf4=!0x0,_0x3f6f5a(_0x1689d6[_0x256df0([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x256df0([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x256df0([0x6c,0x6f,0x77])}),_0x1a4090[_0x256df0([0x74,0x68,0x65,0x6e])](()=>{_0x2daaf4||_0x5aba15(_0x256df0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x4dc9b8(){return _0x346f1d[_0x256df0([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x256df0([0x76,0x69,0x65,0x77])][_0x256df0([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x256df0([0x61,0x75,0x74,0x6f]);}function _0x5e0142(){_0x346f1d[_0x256df0([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x256df0([0x76,0x69,0x65,0x77])][_0x256df0([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x256df0([0x61,0x75,0x74,0x6f]);}}(_0xe8dbe9[_0x256df0([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0xe8dbe9[_0x256df0([0x6a,0x74,0x69])]));const _0x77049f=await(async function(){let _0x57241a=!0x0;try{const _0x402745=_0x5f0191[_0x256df0([0x73,0x70,0x6c,0x69,0x74])](_0x256df0([0x2e])),[_0x1bf5ea,_0x5051bd,_0x5545b5]=_0x402745;return _0x22bfe0(_0x1bf5ea),await _0x48a52b(_0x1bf5ea,_0x5051bd,_0x5545b5),_0x57241a;}catch{return!0x1;}function _0x22bfe0(_0x29a7f6){const _0x5695c8=_0x38804d(_0x29a7f6);_0x5695c8&&_0x5695c8[_0x256df0([0x61,0x6c,0x67])]==_0x256df0([0x45,0x53,0x32,0x35,0x36])||(_0x57241a=!0x1);}async function _0x48a52b(_0x5295e6,_0x3ae412,_0x3aac96){const _0x5edd84=window[_0x256df0([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x256df0([0x66,0x72,0x6f,0x6d])](_0x44e9cf(_0x3aac96),_0x2de003=>_0x2de003[_0x256df0([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x2b94df=new window[(_0x256df0([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x256df0([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x5295e6+_0x256df0([0x2e])+_0x3ae412),_0x4aac84=window[_0x256df0([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x256df0([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x4aac84)return;const _0x3a3ee9=await _0x4aac84[_0x256df0([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x256df0([0x6a,0x77,0x6b]),_0x4c4abd,{[_0x256df0([0x6e,0x61,0x6d,0x65])]:_0x256df0([0x45,0x43,0x44,0x53,0x41]),[_0x256df0([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x256df0([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x256df0([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x4aac84[_0x256df0([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x256df0([0x6e,0x61,0x6d,0x65])]:_0x256df0([0x45,0x43,0x44,0x53,0x41]),[_0x256df0([0x68,0x61,0x73,0x68])]:{[_0x256df0([0x6e,0x61,0x6d,0x65])]:_0x256df0([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x3a3ee9,_0x5edd84,_0x2b94df)||(_0x57241a=!0x1);}}());return _0x77049f?(function(){const _0x3c4c83=_0xe8dbe9[_0x256df0([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];if(!_0x3c4c83)return!0x1;if(_0x3c4c83[_0x256df0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x256df0([0x2a])))return!0x0;if(_0x3c4c83[_0x256df0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x256df0([0x50,0x41,0x47])))return!0x0;return!0x1;}())?(function(){const _0x3faca8=[_0x256df0([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x256df0([0x74,0x72,0x69,0x61,0x6c])][_0x256df0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xe8dbe9[_0x256df0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x518e24/0x3e8:0x68f03580;return _0xe8dbe9[_0x256df0([0x65,0x78,0x70])]<_0x3faca8;}())?_0x256df0([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):(function(){const _0x1bf2c=_0xe8dbe9[_0x256df0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x1bf2c||0x0==_0x1bf2c[_0x256df0([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x1fba5a}=new URL(window[_0x256df0([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x1bf2c[_0x256df0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1fba5a))return!0x0;const _0x17f303=_0x1fba5a[_0x256df0([0x73,0x70,0x6c,0x69,0x74])](_0x256df0([0x2e]));return _0x1bf2c[_0x256df0([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x598fe1=>_0x598fe1[_0x256df0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x256df0([0x2a])))[_0x256df0([0x6d,0x61,0x70])](_0x4989e6=>_0x4989e6[_0x256df0([0x73,0x70,0x6c,0x69,0x74])](_0x256df0([0x2e])))[_0x256df0([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3748c4=>_0x3748c4[_0x256df0([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x17f303[_0x256df0([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x256df0([0x6d,0x61,0x70])](_0xd5f94=>Array(_0x17f303[_0x256df0([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0xd5f94[_0x256df0([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x256df0([0x66,0x69,0x6c,0x6c])](_0xd5f94[0x0]===_0x256df0([0x2a])?_0x256df0([0x2a]):'')[_0x256df0([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0xd5f94))[_0x256df0([0x73,0x6f,0x6d,0x65])](_0x2ed327=>_0x17f303[_0x256df0([0x65,0x76,0x65,0x72,0x79])]((_0x5c7f92,_0x3d3f25)=>_0x2ed327[_0x3d3f25]===_0x5c7f92||_0x2ed327[_0x3d3f25]===_0x256df0([0x2a])));}())?(_0xe8dbe9[_0x256df0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x256df0([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0xecbe3d=_0x2108ea(_0x256df0([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0xe8dbe9[_0x256df0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x256df0([0x74,0x72,0x69,0x61,0x6c])&&(_0xecbe3d=_0x2108ea(_0x256df0([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await(function(){if(_0xecbe3d&&_0x287daa)return new window[(_0x256df0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x51fe8c,_0x490fed)=>{_0xecbe3d[_0x256df0([0x74,0x68,0x65,0x6e])](_0x51fe8c,_0x490fed),_0x287daa[_0x256df0([0x74,0x68,0x65,0x6e])](_0x38b55d=>{_0x38b55d!=_0x256df0([0x56,0x61,0x6c,0x69,0x64])&&_0x51fe8c(_0x38b55d);},_0x490fed);});return _0xecbe3d||_0x287daa||_0x256df0([0x56,0x61,0x6c,0x69,0x64]);}())):_0x256df0([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x256df0([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x256df0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x256df0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}}());function _0x2108ea(_0xb153f7){const _0x43ed0d=[new window[(_0x256df0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3f497c=>setTimeout(_0x3f497c,0x93ecc)),_0x1a4090[_0x256df0([0x74,0x68,0x65,0x6e])](()=>new window[(_0x256df0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x91789d=>{let _0x47faec=0x0;_0x346f1d[_0x256df0([0x6d,0x6f,0x64,0x65,0x6c])][_0x256df0([0x6f,0x6e])](_0x256df0([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x5e5e0f,_0x32635e)=>{_0x32635e[0x0][_0x256df0([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x47faec++,0x1f8==_0x47faec&&(_0x91789d(),_0x5e5e0f[_0x256df0([0x6f,0x66,0x66])]());});}))];return window[_0x256df0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x256df0([0x72,0x61,0x63,0x65])](_0x43ed0d)[_0x256df0([0x74,0x68,0x65,0x6e])](()=>_0xb153f7);}function _0x38804d(_0x151f49){return _0x151f49[_0x256df0([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x256df0([0x65,0x79]))?JSON[_0x256df0([0x70,0x61,0x72,0x73,0x65])](_0x44e9cf(_0x151f49)):null;}function _0x44e9cf(_0x3ca68c){return window[_0x256df0([0x61,0x74,0x6f,0x62])](_0x3ca68c[_0x256df0([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x256df0([0x2b]))[_0x256df0([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x256df0([0x2f])));}function _0xef7d22(_0x114ae8){let _0x3be638=0x1505;function _0x6007bd(_0x4840cc){for(let _0x531b81=0x0;_0x531b81<_0x4840cc[_0x256df0([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x531b81++){const _0x53f3dc=_0x4840cc[_0x256df0([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x531b81);_0x3be638=(_0x3be638<<0x5)+_0x3be638+_0x53f3dc,_0x3be638&=_0x3be638;}}return function _0x2a0511(_0x59a278){Array[_0x256df0([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x59a278)?_0x59a278[_0x256df0([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x2a0511):_0x59a278&&typeof _0x59a278==_0x256df0([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x256df0([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x59a278)[_0x256df0([0x73,0x6f,0x72,0x74])]()[_0x256df0([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x25dd8f,_0x4c19bb])=>{_0x6007bd(_0x25dd8f),_0x2a0511(_0x4c19bb);}):_0x6007bd(window[_0x256df0([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x59a278));}(_0x114ae8),_0x3be638>>>0x0;}function _0x4d4aa2(_0x892a90){return _0x892a90[_0x256df0([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x256df0([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x256df0([0x30]));}function _0x4ff1fa(_0x2309a9){return _0x2309a9[_0x256df0([0x73,0x70,0x6c,0x69,0x74])]('')[_0x256df0([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x256df0([0x6a,0x6f,0x69,0x6e])]('');}function _0xbd8df9(){}function _0x256df0(_0x625a38){return _0x625a38['map'](_0xefb22e=>String['fromCharCode'](_0xefb22e))['join']('');}!function(_0x5c7a23){const _0x2fe0f9=(function(){const _0x573bb6=window[_0x256df0([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x256df0([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x256df0([0x6e,0x6f,0x77])]())[_0x256df0([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x256df0([0x2e]),'');let _0x9235db=_0x256df0([0x63]);for(let _0x5c33a1=0x0;_0x5c33a1<_0x573bb6[_0x256df0([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5c33a1+=0x2){let _0x1eae14=window[_0x256df0([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x573bb6[_0x256df0([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5c33a1,_0x5c33a1+0x2));_0x1eae14>=_0x5be633[_0x256df0([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x1eae14-=_0x5be633[_0x256df0([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x9235db+=_0x5be633[_0x1eae14];}return _0x9235db;}());_0x346f1d[_0x2fe0f9]=_0x256df0([0x70,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x5c7a23,_0x5c7a23!=_0x256df0([0x56,0x61,0x6c,0x69,0x64])&&(async function(){await _0x1a4090,_0x346f1d[_0x256df0([0x6d,0x6f,0x64,0x65,0x6c])][_0x256df0([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0xbd8df9,_0x346f1d[_0x256df0([0x6d,0x6f,0x64,0x65,0x6c])][_0x256df0([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0xbd8df9,_0x346f1d[_0x256df0([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x256df0([0x6d,0x6f,0x64,0x65,0x6c]));}());}(_0x57cb12);}const toPx=/* #__PURE__ -- @preserve */
ckeditor5['toUnit']('px');let _0xd94956=class extends ckeditor5['View']{constructor(){super();const _0x1c5da3=this['bindTemplate'];this['set']({'isVisible':!0x1,'left':null,'top':null,'width':null,'pageNumber':null}),this['setTemplate']({'tag':'div','attributes':{'data-page-number':_0x1c5da3['to']('pageNumber'),'class':['ck','ck-pagination-view-line',_0x1c5da3['if']('isVisible','ck-hidden',_0x21c184=>!_0x21c184)],'style':{'left':_0x1c5da3['to']('left',_0x5cf902=>toPx(_0x5cf902)),'top':_0x1c5da3['to']('top',_0x3a83ae=>toPx(_0x3a83ae)),'width':_0x1c5da3['to']('width',_0x2f6a15=>toPx(_0x2f6a15))}}});}};class LinesRepository{['_viewCollection'];['_visibleLines']=new Set();['_hiddenLines']=new Set();constructor(_0x3c9cd7){this['_viewCollection']=_0x3c9cd7['ui']['view']['body'];}['destroy'](){for(const _0x54fcc3 of this['_hiddenLines'])_0x54fcc3['destroy']();}['cleanLines'](){for(const _0x1c2632 of this['_visibleLines'])_0x1c2632['isVisible']=!0x1,this['_hiddenLines']['add'](_0x1c2632);this['_visibleLines']['clear']();}['showLine'](_0x3eca0f,_0xcf669,_0x1bd83a,_0x35310b){let _0x98c875;this['_hiddenLines']['size']?(_0x98c875=ckeditor5['first'](this['_hiddenLines']['values']()),this['_hiddenLines']['delete'](_0x98c875)):_0x98c875=new _0xd94956(),_0x98c875['set']({'pageNumber':_0x35310b,'left':_0x3eca0f,'top':_0xcf669,'width':_0x1bd83a}),_0x98c875['isVisible']=!0x0,this['_viewCollection']['has'](_0x98c875)||this['_viewCollection']['add'](_0x98c875),this['_visibleLines']['add'](_0x98c875);}['setViewCollection'](_0x35507d){for(const _0x24bdb8 of[...this['_visibleLines'],...this['_hiddenLines']])this['_viewCollection']['has'](_0x24bdb8)&&this['_viewCollection']['remove'](_0x24bdb8);this['_viewCollection']=_0x35507d;}}const _0x195838='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'](_0x195838),this['on']('change:isEnabled',(_0x35f7e1,_0x49522c,_0x121c58)=>{_0x121c58||this['linesRepository']['cleanLines'](),this['_toggleEditingRootsClass'](_0x195838,_0x121c58);});}['destroy'](){this['_toggleEditingRootsClass'](_0x195838,!0x1),this['linesRepository']['destroy'](),this['_scrollableEditingRootDomAncestor']=null,this['_resizeObserver']&&this['_resizeObserver']['destroy']();}['scrollToPage'](_0xa750bd){if(!this['isEnabled'])return;const _0x22992d=_0xa750bd>0x1?this['_getPageBreakLineOffset'](_0xa750bd-0x1):0x0;this['_scrollableEditingRootDomAncestor']['scrollTo']({'top':_0x22992d-0xa,'left':this['_scrollableEditingRootDomAncestor']['scrollLeft'],'behavior':ckeditor5['env']['isMotionReduced']?'instant':'smooth'});}['setupScrollableAncestor'](){const _0x2fd729=this['editor'],_0x407abb=this['_getAttachedDomRoot']();_0x407abb?(this['_scrollableEditingRootDomAncestor']&&_0x2fd729['ui']['view']['stopListening'](this['_scrollableEditingRootDomAncestor'],'scroll'),this['_scrollableEditingRootDomAncestor']=findScrollableElement(_0x407abb),_0x2fd729['ui']['view']['listenTo'](this['_scrollableEditingRootDomAncestor'],'scroll',()=>{this['_updatePageBreakLines']();},{'usePassive':!0x0}),this['_resizeObserver']&&this['_resizeObserver']['destroy'](),this['_resizeObserver']=new ckeditor5['ResizeObserver'](this['_scrollableEditingRootDomAncestor'],()=>{this['_updatePageBreakLines']();})):_0x2fd729['ui']['once']('update',()=>this['setupScrollableAncestor']());}['_onUiReady'](){const _0x5eef96=this['editor'];this['_getAttachedDomRoot']()?(this['setupScrollableAncestor'](),_0x5eef96['ui']['view']['listenTo'](ckeditor5['global']['window'],'resize',()=>this['_updatePageBreakLines']()),this['listenTo'](this['_paginationLookupPlugin'],'change:pageBreaks',()=>this['_updatePageBreakLines']())):_0x5eef96['ui']['once']('update',()=>this['_onUiReady']());}['_getAttachedDomRoot'](){for(const _0x319af1 of this['editor']['editing']['view']['domRoots']['values']())if(_0x319af1['ownerDocument']['body']['contains'](_0x319af1))return _0x319af1;return null;}['_updatePageBreakLines'](){if(!this['isEnabled'])return;const _0x3eb69a=this['_getAttachedDomRoot'](),_0x11af5c=this['_paginationLookupPlugin']['pageBreaks'];if(this['linesRepository']['cleanLines'](),!_0x3eb69a||0x1==_0x11af5c['length'])return void(this['pageNumber']=0x1);const _0x55f828=new ckeditor5['Rect'](_0x3eb69a)['excludeScrollbarsAndBorders'](),_0x5597e5=new ckeditor5['Rect'](this['_scrollableEditingRootDomAncestor'])['excludeScrollbarsAndBorders'](),_0x16168d=_0x5597e5['top']+_0x5597e5['height']/0x3;let _0x4411d3=!0x1;const _0x782e73=[];for(let _0x5348c5=0x1;_0x5348c5<_0x11af5c['length'];_0x5348c5++){const _0x5ac67a=this['_getPageBreakLineOffset'](_0x5348c5,_0x5597e5);if(!_0x5ac67a)continue;const _0x58de1b=_0x5597e5['top']+_0x5ac67a-this['_scrollableEditingRootDomAncestor']['scrollTop'];_0x782e73['push']({'pageOffsetTop':_0x58de1b,'domRootRect':_0x55f828,'domScrollableRect':_0x5597e5,'pageNumber':_0x5348c5}),_0x58de1b>_0x16168d&&!_0x4411d3&&(this['pageNumber']=_0x5348c5,_0x4411d3=!0x0);}this['_renderPageBreakLines'](_0x782e73),_0x4411d3||(this['pageNumber']=_0x11af5c['length']);}['_renderPageBreakLines'](_0x266da1){const {scrollX:_0x304c23,scrollY:_0x2a91a3}=ckeditor5['global']['window'];if(_0x266da1['length']){for(const {domScrollableRect:_0x4b16e4,pageOffsetTop:_0x4c2e33,domRootRect:_0x5e4b35,pageNumber:_0x1324f4}of _0x266da1)_0x4b16e4['top']<_0x4c2e33&&_0x4c2e33<_0x4b16e4['bottom']&&this['linesRepository']['showLine'](_0x5e4b35['left']+_0x304c23,_0x4c2e33+_0x2a91a3,_0x5e4b35['width'],_0x1324f4+0x1);}}['_getPageBreakLineOffset'](_0x336764,_0x510b36=null){const _0x515626=this['_paginationLookupPlugin']['pageBreaks'][_0x336764]['offset'];return _0x515626?(_0x510b36||(_0x510b36=new ckeditor5['Rect'](this['_scrollableEditingRootDomAncestor'])['excludeScrollbarsAndBorders']()),_0x515626-_0x510b36['top']+this['_scrollableEditingRootDomAncestor']['scrollTop']):0x0;}['_toggleEditingRootsClass'](_0x18c57e,_0x163e96=!0x0){const _0x269e26=this['editor']['editing']['view'];_0x269e26['change'](_0x38cdb8=>{for(const _0x8714e6 of _0x269e26['document']['roots'])_0x163e96?_0x38cdb8['addClass'](_0x18c57e,_0x8714e6):_0x38cdb8['removeClass'](_0x18c57e,_0x8714e6);});}}function findScrollableElement(_0x5044f0){let _0x4f4e72=_0x5044f0;do{_0x4f4e72=_0x4f4e72['parentElement'];const _0x4ff151=ckeditor5['global']['window']['getComputedStyle'](_0x4f4e72)['overflowY'];if('auto'==_0x4ff151||'scroll'==_0x4ff151)break;}while('BODY'!=_0x4f4e72['tagName']);return _0x4f4e72;}function getTranslation$7(_0x2891eb,_0x1cf35e,..._0x5075c8){const t=_0x2891eb['t'];switch(_0x1cf35e){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)',..._0x5075c8);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 _0x1cf35e;}}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 _0x3c266f=this['editor']['plugins']['get']('Pagination'),_0x189b55=this['editor']['plugins']['get'](PaginationLookup),_0xa51e55=this['editor']['plugins']['get'](PaginationRenderer);this['bind']('isEnabled')['to'](_0x3c266f),this['_setUpDataDowncastConversion'](),this['bind']('pageNumber')['to'](_0xa51e55),this['listenTo'](_0x189b55,'change:pageBreaks',(_0x35bcde,_0x344d47,_0x8e1390,_0x32f1cc)=>{this['totalPages']=_0x8e1390['length'],this['_updatePageBreakMarkers'](_0x8e1390,_0x32f1cc);}),this['_setupKeystrokes'](),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x18f1c1=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x5f205c;for(const _0x1f024a in _0x18f1c1){const _0x31ae83=_0x1f024a,_0x94de40=_0x18f1c1[_0x31ae83];if('paginationLicenseKeyValid'==_0x94de40||'paginationLicenseKeyInvalid'==_0x94de40||'paginationLicenseKeyExpired'==_0x94de40||'paginationLicenseKeyDomainLimit'==_0x94de40||'paginationLicenseKeyNotAllowed'==_0x94de40||'paginationLicenseKeyEvaluationLimit'==_0x94de40||'paginationLicenseKeyTrialLimit'==_0x94de40||'paginationLicenseKeyUsageLimit'==_0x94de40){delete _0x18f1c1[_0x31ae83],_0x5f205c=_0x94de40,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'paginationLicenseKeyInvalid'==_0x5f205c&&_0x18f1c1['_showLicenseError']('invalid'),'paginationLicenseKeyExpired'==_0x5f205c&&_0x18f1c1['_showLicenseError']('expired'),'paginationLicenseKeyDomainLimit'==_0x5f205c&&_0x18f1c1['_showLicenseError']('domainLimit'),'paginationLicenseKeyNotAllowed'==_0x5f205c&&_0x18f1c1['_showLicenseError']('featureNotAllowed','Pagination'),'paginationLicenseKeyEvaluationLimit'==_0x5f205c&&_0x18f1c1['_showLicenseError']('evaluationLimit'),'paginationLicenseKeyTrialLimit'==_0x5f205c&&_0x18f1c1['_showLicenseError']('trialLimit'),'paginationLicenseKeyUsageLimit'==_0x5f205c&&_0x18f1c1['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['scrollToPage'](_0x3c4012){if(!this['isEnabled'])return;this['editor']['plugins']['get'](PaginationRenderer)['scrollToPage'](this['_validatePageNumber'](_0x3c4012));}['moveSelectionToPage'](_0x2df694){if(!this['isEnabled'])return;const _0x2ec6b9=this['editor'],_0x4e0eff=this['editor']['plugins']['get'](PaginationLookup)['pageBreaks'][_0x2df694-0x1];_0x4e0eff&&_0x2ec6b9['model']['change'](_0xdfce7c=>{switch(_0x4e0eff['type']){case'manual':{const _0x30505f=_0x2ec6b9['model']['schema']['getNearestSelectionRange'](_0x4e0eff['modelRange']['end'],'forward');_0xdfce7c['setSelection'](_0x30505f);break;}case'element':{const _0x4d34c1=_0x2ec6b9['model']['schema']['getNearestSelectionRange'](_0x4e0eff['modelRange']['start'],'forward');_0xdfce7c['setSelection'](_0x4d34c1);break;}case'text':{const _0x59927f=_0x4e0eff['modelRange']['start'];if(_0x59927f['textNode']&&'\x20'===_0x59927f['textNode']['data'][_0x59927f['offset']]){const _0x322f64=_0xdfce7c['createPositionAt'](_0x59927f['parent'],_0x59927f['offset']+0x1);_0xdfce7c['setSelection'](_0x322f64);}else _0xdfce7c['setSelection'](_0x4e0eff['modelRange']);}}_0x2ec6b9['editing']['view']['focus']();});}['goToNextPage'](){const _0x244044=this['_validatePageNumber'](this['pageNumber']+0x1);this['moveSelectionToPage'](_0x244044),this['scrollToPage'](_0x244044);}['goToPreviousPage'](){const _0x56f591=this['_validatePageNumber'](this['pageNumber']-0x1);this['moveSelectionToPage'](_0x56f591),this['scrollToPage'](_0x56f591);}['_updatePageBreakMarkers'](_0x20f13b,_0x12f0c8){const _0x12237d=this['editor']['model'];this['isEnabled']&&_0x12237d['change'](_0x1831da=>{for(let _0x2d1b12=0x1;_0x2d1b12<_0x20f13b['length'];_0x2d1b12++){const _0x44d056=_0x20f13b[_0x2d1b12]['modelRange'],_0x2473c5='pagination:'+(_0x2d1b12+0x1);_0x12237d['markers']['has'](_0x2473c5)?_0x1831da['updateMarker'](_0x2473c5,{'range':_0x44d056}):_0x1831da['addMarker'](_0x2473c5,{'range':_0x44d056,'usingOperation':!0x1,'affectsData':!0x0});}for(let _0x3ee33e=_0x20f13b['length'];_0x3ee33e<_0x12f0c8['length'];_0x3ee33e++){const _0x4677f3='pagination:'+(_0x3ee33e+0x1);_0x12237d['markers']['has'](_0x4677f3)&&_0x1831da['removeMarker'](_0x4677f3);}});}['_setUpDataDowncastConversion'](){const _0x9f3047='pagination';this['editor']['conversion']['for']('dataDowncast')['add'](_0x357066=>{_0x357066['on']('addMarker:'+_0x9f3047,(_0x4d536a,{markerRange:_0x414e3a,markerName:_0x60ce96},_0x4e62af)=>{if(!_0x4e62af['options']['pagination'])return;if(!_0x4e62af['consumable']['consume'](_0x414e3a,_0x4d536a['name']))return;const _0x2de0b6=_0x414e3a['getContainedElement']();let _0x15d0a7=_0x2de0b6?_0x4e62af['mapper']['toViewElement'](_0x2de0b6):null;if(!_0x15d0a7){const _0x1663be=_0x414e3a['start'];if(_0x4e62af['schema']['checkChild'](_0x1663be,'$text')){const _0x138b51=_0x4e62af['mapper']['toViewPosition'](_0x1663be);_0x15d0a7=_0x4e62af['writer']['createContainerElement']('span'),_0x15d0a7['getFillerOffset']=()=>null,_0x4e62af['writer']['insert'](_0x138b51,_0x15d0a7);}else{const _0x2968f7=_0x1663be['nodeAfter'];_0x15d0a7=_0x4e62af['mapper']['toViewElement'](_0x2968f7);}}for(;_0x15d0a7['parent']!==_0x15d0a7['root']&&0x0===_0x15d0a7['index'];)_0x15d0a7=_0x15d0a7['parent'];const _0x9b5191=_0x60ce96['substring'](0xb);_0x15d0a7['hasClass']('page-break')||(_0x4e62af['writer']['setStyle']('page-break-before','always',_0x15d0a7),_0x4e62af['writer']['setAttribute']('data-pagination-page',_0x9b5191,_0x15d0a7),_0x4e62af['mapper']['bindElementToMarker'](_0x15d0a7,_0x60ce96)),_0x4d536a['stop']();});});}['_setupKeystrokes'](){const _0x2084bb=this['editor'];_0x2084bb['keystrokes']['set']('Shift+Pageup',(_0x22c71d,_0x26f705)=>{this['goToPreviousPage'](),_0x26f705();}),_0x2084bb['keystrokes']['set']('Shift+Pagedown',(_0xaad677,_0x52f31e)=>{this['goToNextPage'](),_0x52f31e();}),_0x2084bb['accessibility']['addKeystrokeInfoGroup']({'id':'pagination','label':getTranslation$7(_0x2084bb['locale'],'Keystrokes\x20for\x20navigating\x20through\x20documents'),'keystrokes':[{'label':getTranslation$7(_0x2084bb['locale'],'Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)'),'keystroke':'Shift+Pageup','mayRequireFn':!0x0},{'label':getTranslation$7(_0x2084bb['locale'],'Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)'),'keystroke':'Shift+Pagedown','mayRequireFn':!0x0}]});}['_validatePageNumber'](_0x5a3fe9){return _0x5a3fe9<0x1&&(_0x5a3fe9=0x1),_0x5a3fe9>this['totalPages']&&(_0x5a3fe9=this['totalPages']),_0x5a3fe9;}}class PageNavigatorView extends ckeditor5['View']{['pageNumberView'];constructor(_0x5ef23c){super(_0x5ef23c);const _0x2ad6dd=this['bindTemplate'];this['set']({'pageNumber':0x1,'totalPages':0x1,'isEnabled':!0x0}),this['pageNumberView']=new ckeditor5['InputNumberView'](_0x5ef23c,{'min':0x1,'step':0x1}),this['pageNumberView']['set']({'inputMode':'numeric','tabIndex':-0x1}),this['pageNumberView']['bind']('ariaLabel')['to'](this,'totalPages',_0x141ab0=>getTranslation$7(_0x5ef23c,'Current\x20page\x20number\x20(from\x201\x20to\x20%0)',_0x141ab0)),this['pageNumberView']['bind']('max')['to'](this,'totalPages'),this['pageNumberView']['bind']('isReadOnly')['to'](this,'isEnabled',_0x4c254f=>!_0x4c254f),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-page-navigator',_0x2ad6dd['if']('isEnabled','ck-disabled',_0x6e84ee=>!_0x6e84ee)]},'children':[this['pageNumberView'],{'tag':'span','children':[{'text':_0x2ad6dd['to']('totalPages')}]}]});}['render'](){super['render']();const _0x14ad40=this['pageNumberView']['element'],_0x28f6de=_0x29c31e=>{this['pageNumberView']['element']['value']=String(_0x29c31e);};_0x28f6de(this['pageNumber']),this['on']('change:pageNumber',(_0x4d2b44,_0x2c1ce6,_0x3456dc)=>{_0x28f6de(_0x3456dc);}),this['listenTo'](_0x14ad40,'keydown',(_0x116b84,_0x7b5a80)=>{if('ArrowUp'===_0x7b5a80['key']||'ArrowDown'===_0x7b5a80['key'])return void _0x7b5a80['stopPropagation']();if(_0x7b5a80['keyCode']!==ckeditor5['keyCodes']['enter'])return;_0x7b5a80['preventDefault']();const _0x52e2b9=_0x14ad40['valueAsNumber'];Number['isNaN'](_0x52e2b9)?_0x14ad40['value']=String(this['pageNumber']):(_0x14ad40['checkValidity']()?this['pageNumber']=_0x52e2b9:_0x52e2b9>this['totalPages']?(this['pageNumber']=this['totalPages'],_0x14ad40['value']=String(this['totalPages'])):(this['pageNumber']=0x1,_0x14ad40['value']='1'),this['fire']('navigation',this['pageNumber']));}),this['listenTo'](_0x14ad40,'blur',()=>{_0x14ad40['value']=String(this['pageNumber']);}),this['listenTo'](_0x14ad40,'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 _0x21f3cb=this['editor'],_0x29ce32=_0x21f3cb['plugins']['get']('PaginationEditing');_0x21f3cb['ui']['componentFactory']['add']('pageNavigation',_0x53ba49=>{const _0x2917f5=new PageNavigatorView(_0x53ba49);return _0x2917f5['bind']('pageNumber')['to'](_0x29ce32),_0x2917f5['bind']('totalPages')['to'](_0x29ce32),_0x2917f5['bind']('isEnabled')['to'](_0x29ce32),_0x2917f5['on']('navigation',(_0x492026,_0x462617)=>{_0x29ce32['moveSelectionToPage'](_0x462617),_0x29ce32['scrollToPage'](_0x462617);}),_0x2917f5;}),_0x21f3cb['ui']['componentFactory']['add']('nextPage',_0x401420=>{const _0x2bf5a3=new ckeditor5['ButtonView'](_0x401420);return _0x2bf5a3['isEnabled']=!0x0,_0x2bf5a3['label']=getTranslation$7(_0x21f3cb['locale'],'Go\x20to\x20next\x20page'),_0x2bf5a3['icon']=ckeditor5['IconArrowDown'],_0x2bf5a3['tooltip']=!0x0,_0x2bf5a3['keystroke']='Shift+PageDown',_0x2bf5a3['bind']('isEnabled')['to'](_0x29ce32),this['listenTo'](_0x2bf5a3,'execute',()=>{_0x29ce32['goToNextPage']();}),_0x2bf5a3;}),_0x21f3cb['ui']['componentFactory']['add']('previousPage',_0x138125=>{const _0x3829ff=new ckeditor5['ButtonView'](_0x138125);return _0x3829ff['isEnabled']=!0x0,_0x3829ff['label']=getTranslation$7(_0x21f3cb['locale'],'Go\x20to\x20previous\x20page'),_0x3829ff['icon']=ckeditor5['IconArrowUp'],_0x3829ff['tooltip']=!0x0,_0x3829ff['keystroke']='Shift+PageUp',_0x3829ff['bind']('isEnabled')['to'](_0x29ce32),this['listenTo'](_0x3829ff,'execute',()=>{_0x29ce32['goToPreviousPage']();}),_0x3829ff;});}}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(_0x4771aa){super(_0x4771aa),this['isEnabled']=!0x1;}['init'](){this['set']({'pageNumber':0x1,'totalPages':0x1});const _0x1bd31c=this['editor']['plugins']['get'](PaginationEditing);this['bind']('pageNumber')['to'](_0x1bd31c),this['bind']('totalPages')['to'](_0x1bd31c),ckeditor5['env']['isBlink']||this['editor']['config']['get']('pagination.enableOnUnsupportedBrowsers')?this['editor']['on']('ready',()=>{this['isEnabled']=!0x0;}):this['forceDisabled']('browserCheck');}['scrollToPage'](_0x2edd37){this['editor']['plugins']['get'](PaginationEditing)['scrollToPage'](_0x2edd37);}}const _0x96846b=/<meta\s*name="?generator"?\s*content="?microsoft\s*excel\s*\d+"?\/?>/i;function isMSExcelContent(_0x58f371){return _0x96846b['test'](_0x58f371);}const _0x81dc67=/^(?<tagName>(?!\.)[\w-]+)?(\.(?<className>[\w-]+))?$/i;function getMatchingStyles(_0x278847,_0x21706f){const _0x3a8a64=new Map();for(const [_0x11a1ac,_0x55d6a3]of _0x21706f){if(!_0x11a1ac['tagName']&&!_0x11a1ac['className'])continue;const _0xd4d8a3=!_0x11a1ac['tagName']||_0x278847['name']===_0x11a1ac['tagName'],_0x278095=!_0x11a1ac['className']||_0x278847['hasClass'](_0x11a1ac['className']);_0xd4d8a3&&_0x278095&&_0x3a8a64['set'](_0x11a1ac,_0x55d6a3);}return _0x3a8a64;}function extractStyles(_0x511668){const _0x49b619={};for(const _0x1d3e06 of _0x511668)for(const _0x1742a8 of _0x1d3e06['cssRules'])if(_0x1742a8 instanceof CSSStyleRule){const _0x2dd6c9=parseCSSStyleDeclaration(_0x1742a8['style']);_0x49b619[_0x1742a8['selectorText']]=Object['assign']({},_0x49b619[_0x1742a8['selectorText']]||{},_0x2dd6c9);}return _0x49b619;}function expandStyles(_0x4782cc){const _0x490362=new Map();for(const _0x32e347 in _0x4782cc){const _0x490596=parseCSSSelector(_0x32e347),_0x123f19=_0x4782cc[_0x32e347];for(const _0x5263c0 of _0x490596)_0x490362['set'](_0x5263c0,_0x123f19);}return _0x490362;}function parseCSSStyleDeclaration(_0x360e60){const _0x3c6ab1={};for(let _0x19025f=0x0;_0x19025f<_0x360e60['length'];_0x19025f++){const _0x434174=_0x360e60[_0x19025f],_0x495c62=_0x360e60['getPropertyValue'](_0x434174);'initial'!==_0x495c62&&(_0x3c6ab1[_0x434174]=_0x495c62);}return _0x3c6ab1;}function parseCSSSelector(_0x318583){const _0x17a187=_0x318583['split'](',')['map'](_0x44aa96=>_0x44aa96['trim']()),_0x113460=[];for(const _0x3bde20 of _0x17a187){const _0x1a7cbe=_0x81dc67['exec'](_0x3bde20);_0x1a7cbe&&_0x113460['push'](_0x1a7cbe['groups']);}return _0x113460;}function flattenStyleDefinitions(_0x3df9c8){const _0x51424b={};for(const _0x2a4399 of _0x3df9c8)Object['assign'](_0x51424b,_0x2a4399);return _0x51424b;}class MSOfficeStylesInliner extends ckeditor5['PasteFromOfficeMSWordNormalizer']{['execute'](_0x603680){const {body:_0x38bfc9,styles:_0x11eaa5}=_0x603680['_parsedData'],_0x259254=new ckeditor5['ViewUpcastWriter'](_0x38bfc9['document']),_0x49b331=_0x259254['createRangeIn'](_0x38bfc9),_0x12a47a=expandStyles(extractStyles(_0x11eaa5));for(const _0x502088 of _0x49b331){if('elementStart'!==_0x502088['type'])continue;const _0x2d2f02=getMatchingStyles(_0x502088['item'],_0x12a47a);if(_0x2d2f02['size']){const _0x3639f0=flattenStyleDefinitions(Array['from'](_0x2d2f02['values']()));for(const _0x251f84 in _0x3639f0){const _0x228af4=_0x502088['item'];_0x228af4['hasStyle'](_0x251f84)||_0x259254['setStyle'](_0x251f84,_0x3639f0[_0x251f84],_0x228af4);}}}_0x603680['content']=_0x38bfc9;}['isActive'](_0x105a23){return super['isActive'](_0x105a23)||isMSExcelContent(_0x105a23);}}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 _0x3332c2=this['editor'],_0x462d3d=_0x3332c2['plugins']['get']('ClipboardPipeline'),_0x8ca0b9=_0x3332c2['editing']['view']['document'],_0x3bec4f=new MSOfficeStylesInliner(_0x8ca0b9);_0x462d3d['on']('inputTransformation',(_0x315f94,_0x13dba9)=>{const _0x2b6a6f=_0x13dba9['dataTransfer']['getData']('text/html');_0x3bec4f['isActive'](_0x2b6a6f)&&(_0x13dba9['_parsedData']||(_0x13dba9['_parsedData']=ckeditor5['parsePasteOfficeHtml'](_0x2b6a6f,_0x8ca0b9['stylesProcessor'])),_0x3bec4f['execute'](_0x13dba9));},{'priority':ckeditor5['priorities']['get']('high')+0xb});}['afterInit'](){_0xbd20b3(this);}}async function _0xbd20b3(_0xbf20ff){const _0x21e474=_0x5bc625([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]),_0x20c94e=window[_0x5bc625([0x44,0x61,0x74,0x65])][_0x5bc625([0x6e,0x6f,0x77])](),_0x2aef02=_0xbf20ff[_0x5bc625([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x13c507=new window[(_0x5bc625([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xc6df46=>{_0x2aef02[_0x5bc625([0x6f,0x6e,0x63,0x65])](_0x5bc625([0x72,0x65,0x61,0x64,0x79]),_0xc6df46);}),_0xce448f={[_0x5bc625([0x6b,0x74,0x79])]:_0x5bc625([0x45,0x43]),[_0x5bc625([0x75,0x73,0x65])]:_0x5bc625([0x73,0x69,0x67]),[_0x5bc625([0x63,0x72,0x76])]:_0x5bc625([0x50,0x2d,0x32,0x35,0x36]),[_0x5bc625([0x78])]:_0x5bc625([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]),[_0x5bc625([0x79])]:_0x5bc625([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]),[_0x5bc625([0x61,0x6c,0x67])]:_0x5bc625([0x45,0x53,0x32,0x35,0x36])},_0x4f4252=_0x2aef02[_0x5bc625([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x5bc625([0x67,0x65,0x74])](_0x5bc625([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x3ed99e=await(async function(){let _0x914cc,_0x5539cd=null,_0x4fba53=null;try{if(_0x4f4252==_0x5bc625([0x47,0x50,0x4c]))return _0x5bc625([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x914cc=(function(){const _0x348237=_0x4f4252[_0x5bc625([0x73,0x70,0x6c,0x69,0x74])](_0x5bc625([0x2e]));if(0x3!=_0x348237[_0x5bc625([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;const _0x399b50=_0x348237[0x1];return _0x47955a(_0x399b50);function _0x47955a(_0x808684){const _0x490143=_0x2cb7e7(_0x808684);return _0x490143&&_0x270c5e()?_0x490143:null;function _0x270c5e(){const _0x246c71=_0x490143[_0x5bc625([0x6a,0x74,0x69])],_0x4b3bda=window[_0x5bc625([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x246c71[_0x5bc625([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x246c71[_0x5bc625([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x41f360={..._0x490143,[_0x5bc625([0x6a,0x74,0x69])]:_0x246c71[_0x5bc625([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x246c71[_0x5bc625([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x41f360[_0x5bc625([0x76,0x63])],_0x24fe76(_0x41f360)==_0x4b3bda;}}}()),!_0x914cc)return _0x5bc625([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);_0x914cc[_0x5bc625([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x4fba53=function(_0x4bbe92,_0x2f1a5a){return new window[(_0x5bc625([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x49c611=>{if(_0x57477b())return _0x49c611(_0x5bc625([0x56,0x61,0x6c,0x69,0x64]));_0x2ef32a(),_0x2aef02[_0x5bc625([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x5bc625([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x21eafb=!0x1;const _0x5d5cdd=ckeditor5['uid']();function _0x254601(_0x5562a0){return!!_0x5562a0&&(typeof _0x5562a0===_0x5bc625([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x5562a0===_0x5bc625([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x5562a0[_0x5bc625([0x74,0x68,0x65,0x6e])]===_0x5bc625([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x5562a0[_0x5bc625([0x63,0x61,0x74,0x63,0x68])]===_0x5bc625([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x59aa06(_0x1ece64){_0x230235(_0x1ece64)[_0x5bc625([0x74,0x68,0x65,0x6e])](_0x20a0d1=>{if(!_0x20a0d1||_0x20a0d1[_0x5bc625([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x5bc625([0x6f,0x6b]))return _0x5bc625([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x464040(_0x24fe76(_0x5d5cdd+_0x2f1a5a))!=_0x20a0d1[_0x5bc625([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x5bc625([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x5bc625([0x56,0x61,0x6c,0x69,0x64]);})[_0x5bc625([0x74,0x68,0x65,0x6e])](_0x5df78c=>(_0x14ef0f(),_0x5df78c),()=>{const _0x274e8d=_0x2ee071();return null==_0x274e8d?(_0x14ef0f(),_0x5bc625([0x56,0x61,0x6c,0x69,0x64])):_0x5bc625(_0x20c94e-_0x274e8d>0x240c8400?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x5bc625([0x74,0x68,0x65,0x6e])](_0x49c611)[_0x5bc625([0x63,0x61,0x74,0x63,0x68])](()=>{_0x49c611(_0x5bc625([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x4baf55=0x36ee80;function _0x14ef0f(){const _0x5c9b3b=_0x5bc625([0x6c,0x6c,0x63,0x74,0x2d])+_0x464040(_0x24fe76(_0x4bbe92)),_0x4a971c=_0x14b8e9(_0x464040(window[_0x5bc625([0x4d,0x61,0x74,0x68])][_0x5bc625([0x63,0x65,0x69,0x6c])](_0x20c94e/_0x4baf55)));window[_0x5bc625([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5bc625([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5c9b3b,_0x4a971c);}function _0x2ee071(){const _0x1ca507=_0x5bc625([0x6c,0x6c,0x63,0x74,0x2d])+_0x464040(_0x24fe76(_0x4bbe92)),_0x32b1f=window[_0x5bc625([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5bc625([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1ca507);return _0x32b1f?window[_0x5bc625([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x14b8e9(_0x32b1f),0x10)*_0x4baf55:null;}function _0x230235(_0x630193){return new window[(_0x5bc625([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x105326,_0x3e1dab)=>{_0x630193[_0x5bc625([0x74,0x68,0x65,0x6e])](_0x105326,_0x3e1dab),window[_0x5bc625([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x3e1dab,0x1d4c0);});}}_0x2aef02[_0x5bc625([0x6f,0x6e])](_0x5bc625([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x35fef1,_0x2efc93)=>{if(_0x2efc93[0x0]!=_0x4bbe92)return _0x49c611(_0x5bc625([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x2efc93[0x1]={..._0x2efc93[0x1],[_0x5bc625([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x5d5cdd};},{[_0x5bc625([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5bc625([0x68,0x69,0x67,0x68])}),_0x2aef02[_0x5bc625([0x6f,0x6e])](_0x5bc625([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x17798=>{_0x254601(_0x17798[_0x5bc625([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x21eafb=!0x0,_0x59aa06(_0x17798[_0x5bc625([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x5bc625([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5bc625([0x6c,0x6f,0x77])}),_0x13c507[_0x5bc625([0x74,0x68,0x65,0x6e])](()=>{_0x21eafb||_0x49c611(_0x5bc625([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x57477b(){return _0x2aef02[_0x5bc625([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5bc625([0x76,0x69,0x65,0x77])][_0x5bc625([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x5bc625([0x61,0x75,0x74,0x6f]);}function _0x2ef32a(){_0x2aef02[_0x5bc625([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5bc625([0x76,0x69,0x65,0x77])][_0x5bc625([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x5bc625([0x61,0x75,0x74,0x6f]);}}(_0x914cc[_0x5bc625([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x914cc[_0x5bc625([0x6a,0x74,0x69])]));const _0x3bb28d=await(async function(){let _0x50a5c8=!0x0;try{const _0x363ea9=_0x4f4252[_0x5bc625([0x73,0x70,0x6c,0x69,0x74])](_0x5bc625([0x2e])),[_0xc56a50,_0x143d0c,_0x2c2a5f]=_0x363ea9;return _0x57650c(_0xc56a50),await _0x26f82f(_0xc56a50,_0x143d0c,_0x2c2a5f),_0x50a5c8;}catch{return!0x1;}function _0x57650c(_0x18e50a){const _0xabb685=_0x2cb7e7(_0x18e50a);_0xabb685&&_0xabb685[_0x5bc625([0x61,0x6c,0x67])]==_0x5bc625([0x45,0x53,0x32,0x35,0x36])||(_0x50a5c8=!0x1);}async function _0x26f82f(_0x1db4a1,_0x504982,_0x98d961){const _0x18110e=window[_0x5bc625([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x5bc625([0x66,0x72,0x6f,0x6d])](_0x468476(_0x98d961),_0x4117d8=>_0x4117d8[_0x5bc625([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x372601=new window[(_0x5bc625([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x5bc625([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x1db4a1+_0x5bc625([0x2e])+_0x504982),_0x4dbda5=window[_0x5bc625([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x5bc625([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x4dbda5)return;const _0x4d78d7=await _0x4dbda5[_0x5bc625([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x5bc625([0x6a,0x77,0x6b]),_0xce448f,{[_0x5bc625([0x6e,0x61,0x6d,0x65])]:_0x5bc625([0x45,0x43,0x44,0x53,0x41]),[_0x5bc625([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x5bc625([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x5bc625([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x4dbda5[_0x5bc625([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x5bc625([0x6e,0x61,0x6d,0x65])]:_0x5bc625([0x45,0x43,0x44,0x53,0x41]),[_0x5bc625([0x68,0x61,0x73,0x68])]:{[_0x5bc625([0x6e,0x61,0x6d,0x65])]:_0x5bc625([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x4d78d7,_0x18110e,_0x372601)||(_0x50a5c8=!0x1);}}());return _0x3bb28d?(function(){const _0x29fcfa=_0x914cc[_0x5bc625([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];if(!_0x29fcfa)return!0x1;if(_0x29fcfa[_0x5bc625([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5bc625([0x2a])))return!0x0;if(_0x29fcfa[_0x5bc625([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5bc625([0x50,0x4f,0x45])))return!0x0;if(_0x29fcfa[_0x5bc625([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5bc625([0x50,0x50])))return!0x0;if(_0x29fcfa[_0x5bc625([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5bc625([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))&&window[_0x5bc625([0x67,0x6c,0x6f,0x62])]&&window[_0x5bc625([0x67,0x6c,0x6f,0x62])][_0x5bc625([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])])return!0x0;return!0x1;}())?(function(){const _0x1ef053=[_0x5bc625([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x5bc625([0x74,0x72,0x69,0x61,0x6c])][_0x5bc625([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x914cc[_0x5bc625([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x20c94e/0x3e8:0x68f03580;return _0x914cc[_0x5bc625([0x65,0x78,0x70])]<_0x1ef053;}())?_0x5bc625([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):(function(){const _0x50a1a3=_0x914cc[_0x5bc625([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x50a1a3||0x0==_0x50a1a3[_0x5bc625([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x139390}=new URL(window[_0x5bc625([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x50a1a3[_0x5bc625([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x139390))return!0x0;const _0x21dd92=_0x139390[_0x5bc625([0x73,0x70,0x6c,0x69,0x74])](_0x5bc625([0x2e]));return _0x50a1a3[_0x5bc625([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x566f67=>_0x566f67[_0x5bc625([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5bc625([0x2a])))[_0x5bc625([0x6d,0x61,0x70])](_0x28a0c7=>_0x28a0c7[_0x5bc625([0x73,0x70,0x6c,0x69,0x74])](_0x5bc625([0x2e])))[_0x5bc625([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3c5e40=>_0x3c5e40[_0x5bc625([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x21dd92[_0x5bc625([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5bc625([0x6d,0x61,0x70])](_0x6036ac=>Array(_0x21dd92[_0x5bc625([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x6036ac[_0x5bc625([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5bc625([0x66,0x69,0x6c,0x6c])](_0x6036ac[0x0]===_0x5bc625([0x2a])?_0x5bc625([0x2a]):'')[_0x5bc625([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x6036ac))[_0x5bc625([0x73,0x6f,0x6d,0x65])](_0x104262=>_0x21dd92[_0x5bc625([0x65,0x76,0x65,0x72,0x79])]((_0x2fc5ec,_0x153717)=>_0x104262[_0x153717]===_0x2fc5ec||_0x104262[_0x153717]===_0x5bc625([0x2a])));}())?(_0x914cc[_0x5bc625([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5bc625([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x5539cd=_0x1926a1(_0x5bc625([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x914cc[_0x5bc625([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5bc625([0x74,0x72,0x69,0x61,0x6c])&&(_0x5539cd=_0x1926a1(_0x5bc625([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await(function(){if(_0x5539cd&&_0x4fba53)return new window[(_0x5bc625([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x25dcde,_0x25875f)=>{_0x5539cd[_0x5bc625([0x74,0x68,0x65,0x6e])](_0x25dcde,_0x25875f),_0x4fba53[_0x5bc625([0x74,0x68,0x65,0x6e])](_0x9685d3=>{_0x9685d3!=_0x5bc625([0x56,0x61,0x6c,0x69,0x64])&&_0x25dcde(_0x9685d3);},_0x25875f);});return _0x5539cd||_0x4fba53||_0x5bc625([0x56,0x61,0x6c,0x69,0x64]);}())):_0x5bc625([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x5bc625([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x5bc625([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x5bc625([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}}());function _0x1926a1(_0x337093){const _0x158fec=[new window[(_0x5bc625([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x417935=>setTimeout(_0x417935,0x93ecc)),_0x13c507[_0x5bc625([0x74,0x68,0x65,0x6e])](()=>new window[(_0x5bc625([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x282aa3=>{let _0x14a2b9=0x0;_0x2aef02[_0x5bc625([0x6d,0x6f,0x64,0x65,0x6c])][_0x5bc625([0x6f,0x6e])](_0x5bc625([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x439c1c,_0x65ff92)=>{_0x65ff92[0x0][_0x5bc625([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x14a2b9++,0x1f8==_0x14a2b9&&(_0x282aa3(),_0x439c1c[_0x5bc625([0x6f,0x66,0x66])]());});}))];return window[_0x5bc625([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x5bc625([0x72,0x61,0x63,0x65])](_0x158fec)[_0x5bc625([0x74,0x68,0x65,0x6e])](()=>_0x337093);}function _0x2cb7e7(_0x4cbcab){return _0x4cbcab[_0x5bc625([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x5bc625([0x65,0x79]))?JSON[_0x5bc625([0x70,0x61,0x72,0x73,0x65])](_0x468476(_0x4cbcab)):null;}function _0x468476(_0x4a880c){return window[_0x5bc625([0x61,0x74,0x6f,0x62])](_0x4a880c[_0x5bc625([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x5bc625([0x2b]))[_0x5bc625([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x5bc625([0x2f])));}function _0x24fe76(_0x3ee1b0){let _0x1ab542=0x1505;function _0x13ad35(_0x38e0b0){for(let _0x17602b=0x0;_0x17602b<_0x38e0b0[_0x5bc625([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x17602b++){const _0x5e2bcf=_0x38e0b0[_0x5bc625([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x17602b);_0x1ab542=(_0x1ab542<<0x5)+_0x1ab542+_0x5e2bcf,_0x1ab542&=_0x1ab542;}}return function _0x41b4b3(_0x2e7bd2){Array[_0x5bc625([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x2e7bd2)?_0x2e7bd2[_0x5bc625([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x41b4b3):_0x2e7bd2&&typeof _0x2e7bd2==_0x5bc625([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x5bc625([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x2e7bd2)[_0x5bc625([0x73,0x6f,0x72,0x74])]()[_0x5bc625([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x27fe87,_0x3637ec])=>{_0x13ad35(_0x27fe87),_0x41b4b3(_0x3637ec);}):_0x13ad35(window[_0x5bc625([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x2e7bd2));}(_0x3ee1b0),_0x1ab542>>>0x0;}function _0x464040(_0x3e29cb){return _0x3e29cb[_0x5bc625([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x5bc625([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x5bc625([0x30]));}function _0x14b8e9(_0x2e0311){return _0x2e0311[_0x5bc625([0x73,0x70,0x6c,0x69,0x74])]('')[_0x5bc625([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x5bc625([0x6a,0x6f,0x69,0x6e])]('');}function _0x1ade6f(){}function _0x5bc625(_0x5a5234){return _0x5a5234['map'](_0x10d029=>String['fromCharCode'](_0x10d029))['join']('');}!function(_0x4eb47b){const _0x508c74=(function(){const _0x1a13f6=window[_0x5bc625([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x5bc625([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x5bc625([0x6e,0x6f,0x77])]())[_0x5bc625([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x5bc625([0x2e]),'');let _0x45ea3d=_0x5bc625([0x49]);for(let _0x59b33c=0x0;_0x59b33c<_0x1a13f6[_0x5bc625([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x59b33c+=0x2){let _0x162ae4=window[_0x5bc625([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1a13f6[_0x5bc625([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x59b33c,_0x59b33c+0x2));_0x162ae4>=_0x21e474[_0x5bc625([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x162ae4-=_0x21e474[_0x5bc625([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x45ea3d+=_0x21e474[_0x162ae4];}return _0x45ea3d;}());_0x2aef02[_0x508c74]=_0x5bc625([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])+_0x4eb47b,_0x4eb47b!=_0x5bc625([0x56,0x61,0x6c,0x69,0x64])&&(async function(){await _0x13c507,_0x2aef02[_0x5bc625([0x6d,0x6f,0x64,0x65,0x6c])][_0x5bc625([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x1ade6f,_0x2aef02[_0x5bc625([0x6d,0x6f,0x64,0x65,0x6c])][_0x5bc625([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x1ade6f,_0x2aef02[_0x5bc625([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x5bc625([0x6d,0x6f,0x64,0x65,0x6c]));}());}(_0x3ed99e);}const _0x60e77a=['color','font-family','font-size','text-decoration','text-decoration-line','font-weight','font-style','vertical-align'],_0x22d629=['color','font-family','font-size'],_0x5407c9={'font-style':[['italic','i']],'font-weight':[['medium','strong'],['bold','strong'],['bolder','strong'],[_0x25a5cb=>Number(_0x25a5cb)>=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(_0x572de9){return _0x60e77a['includes'](_0x572de9);}function isPropertyToBePropagatedAsSpan(_0x36a254){return _0x22d629['includes'](_0x36a254);}function isPropertyToBePropagatedAsHTMLElement(_0x4f0c9f){return _0x4f0c9f in _0x5407c9;}function getStylePropertyNamesToPropagate(_0x580f0a){return Array['from'](_0x580f0a['getStyleNames']())['filter'](isPropertyToBePropagated);}function propagateStyleProperties(_0x49c46d,_0x29cbf0,_0x1b736e){const {spanStyles:_0x761d26,stylesToBeHtmlElements:_0x50e715}=getStylesToPropagate(_0x49c46d,_0x1b736e);propagateStylesAsHTMLElements(_0x49c46d,_0x29cbf0,_0x50e715),propagateStylesAsSpan(_0x49c46d,_0x29cbf0,_0x761d26);}function propagateStylesAsHTMLElements(_0x15bd97,_0x210a76,_0xb7dd8a){for(const _0x4a4d9d in _0xb7dd8a){_0xb7dd8a[_0x4a4d9d]['forEach'](([,_0x5b2f99])=>{const _0x2f3bed=_0x210a76['createElement'](_0x5b2f99,[],_0x15bd97['getChildren']());_0x210a76['insertChild'](0x0,_0x2f3bed,_0x15bd97);}),_0x210a76['removeStyle'](_0x4a4d9d,_0x15bd97);}}function propagateStylesAsSpan(_0x4a09c9,_0x509c0d,_0x25a5d5){if(!Object['keys'](_0x25a5d5)['length'])return;const _0x4f2deb=_0x509c0d['createElement']('span',[],_0x4a09c9['getChildren']());_0x509c0d['setStyle'](_0x25a5d5,_0x4f2deb),_0x509c0d['insertChild'](0x0,_0x4f2deb,_0x4a09c9),_0x509c0d['removeStyle'](Object['keys'](_0x25a5d5),_0x4a09c9);}function getStylesToPropagate(_0x3532e7,_0x53f7e2){const _0x4c88ba={},_0x3b4188={};return _0x53f7e2['forEach'](_0x55568b=>{const _0x560b8b=_0x3532e7['getStyle'](_0x55568b);if(_0x560b8b){if(isPropertyToBePropagatedAsSpan(_0x55568b))_0x4c88ba[_0x55568b]=_0x560b8b;else{if(isPropertyToBePropagatedAsHTMLElement(_0x55568b)){const _0xb5b7a=_0x560b8b['split']('\x20');_0x5407c9[_0x55568b]['forEach'](([_0x563324,_0x4d3465])=>{for(const _0x5281a0 of _0xb5b7a){('function'==typeof _0x563324&&_0x563324(_0x5281a0)||_0x563324===_0x5281a0)&&(_0x3b4188[_0x55568b]=[..._0x3b4188[_0x55568b]||[],[_0x563324,_0x4d3465]]);}});}}}}),{'spanStyles':_0x4c88ba,'stylesToBeHtmlElements':_0x3b4188};}class MSOfficeInlineStylePropagator extends ckeditor5['PasteFromOfficeMSWordNormalizer']{['execute'](_0x37fcd7){const {body:_0xee8539}=_0x37fcd7['_parsedData'],_0x2afb46=new ckeditor5['ViewUpcastWriter'](_0xee8539['document']),_0x156d6d=_0x2afb46['createRangeIn'](_0xee8539),_0x32f47c=new ckeditor5['ViewDocument'](_0x2afb46['document']['stylesProcessor']),_0x26d9d2=[...new ckeditor5['ViewDomConverter'](_0x32f47c)['blockElements'],'font'],_0x6799fd=_0x156d6d['getItems']();for(const _0x8f5569 of _0x6799fd)_0x8f5569['is']('element')&&_0x26d9d2['includes'](_0x8f5569['name'])&&propagateStyleProperties(_0x8f5569,_0x2afb46,getStylePropertyNamesToPropagate(_0x8f5569));_0x37fcd7['content']=_0xee8539;}['isActive'](_0x18822f){return super['isActive'](_0x18822f)||isMSExcelContent(_0x18822f);}}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 _0x2684d7=this['editor'],_0x281236=_0x2684d7['plugins']['get']('ClipboardPipeline'),_0x11710=_0x2684d7['editing']['view']['document'],_0x489072=new MSOfficeInlineStylePropagator(_0x11710);_0x281236['on']('inputTransformation',(_0x3e15ef,_0x55ca45)=>{const _0x312050=_0x55ca45['dataTransfer']['getData']('text/html');_0x489072['isActive'](_0x312050)&&(_0x55ca45['_parsedData']||(_0x55ca45['_parsedData']=ckeditor5['parsePasteOfficeHtml'](_0x312050,_0x11710['stylesProcessor'])),_0x489072['execute'](_0x55ca45));},{'priority':ckeditor5['priorities']['get']('high')+0xa}),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x21a940=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x15135a;for(const _0x48264b in _0x21a940){const _0x315ce4=_0x48264b,_0x42e564=_0x21a940[_0x315ce4];if('pasteFromOfficeEnhancedLicenseKeyValid'==_0x42e564||'pasteFromOfficeEnhancedLicenseKeyInvalid'==_0x42e564||'pasteFromOfficeEnhancedLicenseKeyExpired'==_0x42e564||'pasteFromOfficeEnhancedLicenseKeyDomainLimit'==_0x42e564||'pasteFromOfficeEnhancedLicenseKeyNotAllowed'==_0x42e564||'pasteFromOfficeEnhancedLicenseKeyEvaluationLimit'==_0x42e564||'pasteFromOfficeEnhancedLicenseKeyTrialLimit'==_0x42e564||'pasteFromOfficeEnhancedLicenseKeyUsageLimit'==_0x42e564){delete _0x21a940[_0x315ce4],_0x15135a=_0x42e564,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'pasteFromOfficeEnhancedLicenseKeyInvalid'==_0x15135a&&_0x21a940['_showLicenseError']('invalid'),'pasteFromOfficeEnhancedLicenseKeyExpired'==_0x15135a&&_0x21a940['_showLicenseError']('expired'),'pasteFromOfficeEnhancedLicenseKeyDomainLimit'==_0x15135a&&_0x21a940['_showLicenseError']('domainLimit'),'pasteFromOfficeEnhancedLicenseKeyNotAllowed'==_0x15135a&&_0x21a940['_showLicenseError']('featureNotAllowed','PasteFromOfficeEnhanced'),'pasteFromOfficeEnhancedLicenseKeyEvaluationLimit'==_0x15135a&&_0x21a940['_showLicenseError']('evaluationLimit'),'pasteFromOfficeEnhancedLicenseKeyTrialLimit'==_0x15135a&&_0x21a940['_showLicenseError']('trialLimit'),'pasteFromOfficeEnhancedLicenseKeyUsageLimit'==_0x15135a&&_0x21a940['_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 _0x14cf47={},_0x5579ae={},_0x543e8b,_0x2a9fc1;function requireAspromise(){if(_0x2a9fc1)return _0x543e8b;return _0x2a9fc1=0x1,_0x543e8b=function(_0x1ce90a,_0x3aa831){var _0x1b164b=new Array(arguments['length']-0x1),_0x11fc58=0x0,_0x1d4b1c=0x2,_0x29fab1=!0x0;for(;_0x1d4b1c<arguments['length'];)_0x1b164b[_0x11fc58++]=arguments[_0x1d4b1c++];return new Promise(function(_0x94cfaa,_0x41abb1){_0x1b164b[_0x11fc58]=function(_0x1cc610){if(_0x29fab1){if(_0x29fab1=!0x1,_0x1cc610)_0x41abb1(_0x1cc610);else{for(var _0x49cf31=new Array(arguments['length']-0x1),_0x48ce1f=0x0;_0x48ce1f<_0x49cf31['length'];)_0x49cf31[_0x48ce1f++]=arguments[_0x48ce1f];_0x94cfaa['apply'](null,_0x49cf31);}}};try{_0x1ce90a['apply'](_0x3aa831||null,_0x1b164b);}catch(_0x4158fb){_0x29fab1&&(_0x29fab1=!0x1,_0x41abb1(_0x4158fb));}});},_0x543e8b;}var _0x4eb27b={},_0x47e834,eventemitter,hasRequiredEventemitter,float,hasRequiredFloat,_0x35c7b0,_0x182178;function requireBase64(){return _0x47e834||(_0x47e834=0x1,function(_0x5e32d7){var _0x1338a6=_0x5e32d7;_0x1338a6['length']=function(_0x201ab0){var _0x34729c=_0x201ab0['length'];if(!_0x34729c)return 0x0;for(var _0x411538=0x0;--_0x34729c%0x4>0x1&&'='===_0x201ab0['charAt'](_0x34729c);)++_0x411538;return Math['ceil'](0x3*_0x201ab0['length'])/0x4-_0x411538;};for(var _0x1c88db=new Array(0x40),_0x4a0928=new Array(0x7b),_0x51e433=0x0;_0x51e433<0x40;)_0x4a0928[_0x1c88db[_0x51e433]=_0x51e433<0x1a?_0x51e433+0x41:_0x51e433<0x34?_0x51e433+0x47:_0x51e433<0x3e?_0x51e433-0x4:_0x51e433-0x3b|0x2b]=_0x51e433++;_0x1338a6['encode']=function(_0x2c14cf,_0x3a8f8d,_0x68e969){for(var t,_0x589ad7=null,_0x450218=[],_0x49cfe1=0x0,_0x45421f=0x0;_0x3a8f8d<_0x68e969;){var _0x4eb5f6=_0x2c14cf[_0x3a8f8d++];switch(_0x45421f){case 0x0:_0x450218[_0x49cfe1++]=_0x1c88db[_0x4eb5f6>>0x2],t=(0x3&_0x4eb5f6)<<0x4,_0x45421f=0x1;break;case 0x1:_0x450218[_0x49cfe1++]=_0x1c88db[t|_0x4eb5f6>>0x4],t=(0xf&_0x4eb5f6)<<0x2,_0x45421f=0x2;break;case 0x2:_0x450218[_0x49cfe1++]=_0x1c88db[t|_0x4eb5f6>>0x6],_0x450218[_0x49cfe1++]=_0x1c88db[0x3f&_0x4eb5f6],_0x45421f=0x0;}_0x49cfe1>0x1fff&&((_0x589ad7||(_0x589ad7=[]))['push'](String['fromCharCode']['apply'](String,_0x450218)),_0x49cfe1=0x0);}return _0x45421f&&(_0x450218[_0x49cfe1++]=_0x1c88db[t],_0x450218[_0x49cfe1++]=0x3d,0x1===_0x45421f&&(_0x450218[_0x49cfe1++]=0x3d)),_0x589ad7?(_0x49cfe1&&_0x589ad7['push'](String['fromCharCode']['apply'](String,_0x450218['slice'](0x0,_0x49cfe1))),_0x589ad7['join']('')):String['fromCharCode']['apply'](String,_0x450218['slice'](0x0,_0x49cfe1));};var _0xa03c2d='invalid\x20encoding';_0x1338a6['decode']=function(_0x14bc0b,_0x482f7e,_0xcc9312){for(var t,_0x4f2e9e=_0xcc9312,_0x1189dc=0x0,_0xd9b510=0x0;_0xd9b510<_0x14bc0b['length'];){var _0x46d0c9=_0x14bc0b['charCodeAt'](_0xd9b510++);if(0x3d===_0x46d0c9&&_0x1189dc>0x1)break;if(void 0x0===(_0x46d0c9=_0x4a0928[_0x46d0c9]))throw Error(_0xa03c2d);switch(_0x1189dc){case 0x0:t=_0x46d0c9,_0x1189dc=0x1;break;case 0x1:_0x482f7e[_0xcc9312++]=t<<0x2|(0x30&_0x46d0c9)>>0x4,t=_0x46d0c9,_0x1189dc=0x2;break;case 0x2:_0x482f7e[_0xcc9312++]=(0xf&t)<<0x4|(0x3c&_0x46d0c9)>>0x2,t=_0x46d0c9,_0x1189dc=0x3;break;case 0x3:_0x482f7e[_0xcc9312++]=(0x3&t)<<0x6|_0x46d0c9,_0x1189dc=0x0;}}if(0x1===_0x1189dc)throw Error(_0xa03c2d);return _0xcc9312-_0x4f2e9e;},_0x1338a6['test']=function(_0x3a5598){return/^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$/['test'](_0x3a5598);};}(_0x4eb27b)),_0x4eb27b;}function requireEventemitter(){if(hasRequiredEventemitter)return eventemitter;function _0x3283b(){this['_listeners']={};}return hasRequiredEventemitter=0x1,eventemitter=_0x3283b,_0x3283b['prototype']['on']=function(_0x5824b7,_0xada4ba,_0x56101d){return(this['_listeners'][_0x5824b7]||(this['_listeners'][_0x5824b7]=[]))['push']({'fn':_0xada4ba,'ctx':_0x56101d||this}),this;},_0x3283b['prototype']['off']=function(_0x2597a3,_0x4236da){if(void 0x0===_0x2597a3)this['_listeners']={};else{if(void 0x0===_0x4236da)this['_listeners'][_0x2597a3]=[];else{for(var _0x14523a=this['_listeners'][_0x2597a3],_0x392d52=0x0;_0x392d52<_0x14523a['length'];)_0x14523a[_0x392d52]['fn']===_0x4236da?_0x14523a['splice'](_0x392d52,0x1):++_0x392d52;}}return this;},_0x3283b['prototype']['emit']=function(_0x688058){var _0x40c4df=this['_listeners'][_0x688058];if(_0x40c4df){for(var _0xbb1cc5=[],_0x55deb6=0x1;_0x55deb6<arguments['length'];)_0xbb1cc5['push'](arguments[_0x55deb6++]);for(_0x55deb6=0x0;_0x55deb6<_0x40c4df['length'];)_0x40c4df[_0x55deb6]['fn']['apply'](_0x40c4df[_0x55deb6++]['ctx'],_0xbb1cc5);}return this;},eventemitter;}function requireFloat(){if(hasRequiredFloat)return float;function _0x4cea61(_0x4398ee){return'undefined'!=typeof Float32Array?(function(){var _0x478d97=new Float32Array([-0x0]),_0x5c5e69=new Uint8Array(_0x478d97['buffer']),_0x251c43=0x80===_0x5c5e69[0x3];function _0x830e70(_0x189294,_0x413a31,_0x4f9ff8){_0x478d97[0x0]=_0x189294,_0x413a31[_0x4f9ff8]=_0x5c5e69[0x0],_0x413a31[_0x4f9ff8+0x1]=_0x5c5e69[0x1],_0x413a31[_0x4f9ff8+0x2]=_0x5c5e69[0x2],_0x413a31[_0x4f9ff8+0x3]=_0x5c5e69[0x3];}function _0x4892d8(_0x5997fb,_0x12828b,_0x18de50){_0x478d97[0x0]=_0x5997fb,_0x12828b[_0x18de50]=_0x5c5e69[0x3],_0x12828b[_0x18de50+0x1]=_0x5c5e69[0x2],_0x12828b[_0x18de50+0x2]=_0x5c5e69[0x1],_0x12828b[_0x18de50+0x3]=_0x5c5e69[0x0];}function _0x26f7f6(_0x34974b,_0x5a11be){return _0x5c5e69[0x0]=_0x34974b[_0x5a11be],_0x5c5e69[0x1]=_0x34974b[_0x5a11be+0x1],_0x5c5e69[0x2]=_0x34974b[_0x5a11be+0x2],_0x5c5e69[0x3]=_0x34974b[_0x5a11be+0x3],_0x478d97[0x0];}function _0x3b7a92(_0x33381b,_0x46282f){return _0x5c5e69[0x3]=_0x33381b[_0x46282f],_0x5c5e69[0x2]=_0x33381b[_0x46282f+0x1],_0x5c5e69[0x1]=_0x33381b[_0x46282f+0x2],_0x5c5e69[0x0]=_0x33381b[_0x46282f+0x3],_0x478d97[0x0];}_0x4398ee['writeFloatLE']=_0x251c43?_0x830e70:_0x4892d8,_0x4398ee['writeFloatBE']=_0x251c43?_0x4892d8:_0x830e70,_0x4398ee['readFloatLE']=_0x251c43?_0x26f7f6:_0x3b7a92,_0x4398ee['readFloatBE']=_0x251c43?_0x3b7a92:_0x26f7f6;}()):(function(){function _0x208ae1(_0x138e7b,_0x5d4e45,_0x178d38,_0x438a4c){var _0x535c05=_0x5d4e45<0x0?0x1:0x0;if(_0x535c05&&(_0x5d4e45=-_0x5d4e45),0x0===_0x5d4e45)_0x138e7b(0x1/_0x5d4e45>0x0?0x0:0x80000000,_0x178d38,_0x438a4c);else{if(isNaN(_0x5d4e45))_0x138e7b(0x7fc00000,_0x178d38,_0x438a4c);else{if(_0x5d4e45>0xffffff00000000000000000000000000)_0x138e7b((_0x535c05<<0x1f|0x7f800000)>>>0x0,_0x178d38,_0x438a4c);else{if(_0x5d4e45<1.1754943508222875e-38)_0x138e7b((_0x535c05<<0x1f|Math['round'](_0x5d4e45/1.401298464324817e-45))>>>0x0,_0x178d38,_0x438a4c);else{var _0x341839=Math['floor'](Math['log'](_0x5d4e45)/Math['LN2']);_0x138e7b((_0x535c05<<0x1f|_0x341839+0x7f<<0x17|0x7fffff&Math['round'](_0x5d4e45*Math['pow'](0x2,-_0x341839)*0x800000))>>>0x0,_0x178d38,_0x438a4c);}}}}}function _0x13963e(_0x2e1994,_0x25d449,_0x3403dc){var _0x4b42fd=_0x2e1994(_0x25d449,_0x3403dc),_0x5282df=0x2*(_0x4b42fd>>0x1f)+0x1,_0x4a7c06=_0x4b42fd>>>0x17&0xff,_0x309ed7=0x7fffff&_0x4b42fd;return 0xff===_0x4a7c06?_0x309ed7?NaN:_0x5282df*(0x1/0x0):0x0===_0x4a7c06?1.401298464324817e-45*_0x5282df*_0x309ed7:_0x5282df*Math['pow'](0x2,_0x4a7c06-0x96)*(_0x309ed7+0x800000);}_0x4398ee['writeFloatLE']=_0x208ae1['bind'](null,_0x12be5a),_0x4398ee['writeFloatBE']=_0x208ae1['bind'](null,_0xd3977b),_0x4398ee['readFloatLE']=_0x13963e['bind'](null,_0x61bb94),_0x4398ee['readFloatBE']=_0x13963e['bind'](null,_0x33834c);}()),'undefined'!=typeof Float64Array?(function(){var _0x73e4b0=new Float64Array([-0x0]),_0x5050eb=new Uint8Array(_0x73e4b0['buffer']),_0x2ff44f=0x80===_0x5050eb[0x7];function _0x6614f6(_0x1c14e0,_0x7ee490,_0x520eaf){_0x73e4b0[0x0]=_0x1c14e0,_0x7ee490[_0x520eaf]=_0x5050eb[0x0],_0x7ee490[_0x520eaf+0x1]=_0x5050eb[0x1],_0x7ee490[_0x520eaf+0x2]=_0x5050eb[0x2],_0x7ee490[_0x520eaf+0x3]=_0x5050eb[0x3],_0x7ee490[_0x520eaf+0x4]=_0x5050eb[0x4],_0x7ee490[_0x520eaf+0x5]=_0x5050eb[0x5],_0x7ee490[_0x520eaf+0x6]=_0x5050eb[0x6],_0x7ee490[_0x520eaf+0x7]=_0x5050eb[0x7];}function _0x7b13ee(_0x1d292a,_0x17382a,_0x7eb67c){_0x73e4b0[0x0]=_0x1d292a,_0x17382a[_0x7eb67c]=_0x5050eb[0x7],_0x17382a[_0x7eb67c+0x1]=_0x5050eb[0x6],_0x17382a[_0x7eb67c+0x2]=_0x5050eb[0x5],_0x17382a[_0x7eb67c+0x3]=_0x5050eb[0x4],_0x17382a[_0x7eb67c+0x4]=_0x5050eb[0x3],_0x17382a[_0x7eb67c+0x5]=_0x5050eb[0x2],_0x17382a[_0x7eb67c+0x6]=_0x5050eb[0x1],_0x17382a[_0x7eb67c+0x7]=_0x5050eb[0x0];}function _0x294016(_0x4e2655,_0x48822f){return _0x5050eb[0x0]=_0x4e2655[_0x48822f],_0x5050eb[0x1]=_0x4e2655[_0x48822f+0x1],_0x5050eb[0x2]=_0x4e2655[_0x48822f+0x2],_0x5050eb[0x3]=_0x4e2655[_0x48822f+0x3],_0x5050eb[0x4]=_0x4e2655[_0x48822f+0x4],_0x5050eb[0x5]=_0x4e2655[_0x48822f+0x5],_0x5050eb[0x6]=_0x4e2655[_0x48822f+0x6],_0x5050eb[0x7]=_0x4e2655[_0x48822f+0x7],_0x73e4b0[0x0];}function _0x587408(_0x2acff7,_0x3e103d){return _0x5050eb[0x7]=_0x2acff7[_0x3e103d],_0x5050eb[0x6]=_0x2acff7[_0x3e103d+0x1],_0x5050eb[0x5]=_0x2acff7[_0x3e103d+0x2],_0x5050eb[0x4]=_0x2acff7[_0x3e103d+0x3],_0x5050eb[0x3]=_0x2acff7[_0x3e103d+0x4],_0x5050eb[0x2]=_0x2acff7[_0x3e103d+0x5],_0x5050eb[0x1]=_0x2acff7[_0x3e103d+0x6],_0x5050eb[0x0]=_0x2acff7[_0x3e103d+0x7],_0x73e4b0[0x0];}_0x4398ee['writeDoubleLE']=_0x2ff44f?_0x6614f6:_0x7b13ee,_0x4398ee['writeDoubleBE']=_0x2ff44f?_0x7b13ee:_0x6614f6,_0x4398ee['readDoubleLE']=_0x2ff44f?_0x294016:_0x587408,_0x4398ee['readDoubleBE']=_0x2ff44f?_0x587408:_0x294016;}()):(function(){function _0x194d01(_0x5d4e3b,_0x3a0ddf,_0x13a1e6,_0x5024ab,_0x2cc4b7,_0x4e23d1){var _0x5e51f0=_0x5024ab<0x0?0x1:0x0;if(_0x5e51f0&&(_0x5024ab=-_0x5024ab),0x0===_0x5024ab)_0x5d4e3b(0x0,_0x2cc4b7,_0x4e23d1+_0x3a0ddf),_0x5d4e3b(0x1/_0x5024ab>0x0?0x0:0x80000000,_0x2cc4b7,_0x4e23d1+_0x13a1e6);else{if(isNaN(_0x5024ab))_0x5d4e3b(0x0,_0x2cc4b7,_0x4e23d1+_0x3a0ddf),_0x5d4e3b(0x7ff80000,_0x2cc4b7,_0x4e23d1+_0x13a1e6);else{if(_0x5024ab>0xfffffffffffff800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000)_0x5d4e3b(0x0,_0x2cc4b7,_0x4e23d1+_0x3a0ddf),_0x5d4e3b((_0x5e51f0<<0x1f|0x7ff00000)>>>0x0,_0x2cc4b7,_0x4e23d1+_0x13a1e6);else{var _0x39285a;if(_0x5024ab<2.2250738585072014e-308)_0x5d4e3b((_0x39285a=_0x5024ab/5e-324)>>>0x0,_0x2cc4b7,_0x4e23d1+_0x3a0ddf),_0x5d4e3b((_0x5e51f0<<0x1f|_0x39285a/0x100000000)>>>0x0,_0x2cc4b7,_0x4e23d1+_0x13a1e6);else{var _0x4ef397=Math['floor'](Math['log'](_0x5024ab)/Math['LN2']);0x400===_0x4ef397&&(_0x4ef397=0x3ff),_0x5d4e3b(0x10000000000000*(_0x39285a=_0x5024ab*Math['pow'](0x2,-_0x4ef397))>>>0x0,_0x2cc4b7,_0x4e23d1+_0x3a0ddf),_0x5d4e3b((_0x5e51f0<<0x1f|_0x4ef397+0x3ff<<0x14|0x100000*_0x39285a&0xfffff)>>>0x0,_0x2cc4b7,_0x4e23d1+_0x13a1e6);}}}}}function _0x340f72(_0x23fa3d,_0x5d0370,_0x56f171,_0x33bc09,_0x45be73){var _0x4c1280=_0x23fa3d(_0x33bc09,_0x45be73+_0x5d0370),_0x4c4b29=_0x23fa3d(_0x33bc09,_0x45be73+_0x56f171),_0x10b212=0x2*(_0x4c4b29>>0x1f)+0x1,_0x561a68=_0x4c4b29>>>0x14&0x7ff,_0x2721c8=0x100000000*(0xfffff&_0x4c4b29)+_0x4c1280;return 0x7ff===_0x561a68?_0x2721c8?NaN:_0x10b212*(0x1/0x0):0x0===_0x561a68?5e-324*_0x10b212*_0x2721c8:_0x10b212*Math['pow'](0x2,_0x561a68-0x433)*(_0x2721c8+0x10000000000000);}_0x4398ee['writeDoubleLE']=_0x194d01['bind'](null,_0x12be5a,0x0,0x4),_0x4398ee['writeDoubleBE']=_0x194d01['bind'](null,_0xd3977b,0x4,0x0),_0x4398ee['readDoubleLE']=_0x340f72['bind'](null,_0x61bb94,0x0,0x4),_0x4398ee['readDoubleBE']=_0x340f72['bind'](null,_0x33834c,0x4,0x0);}()),_0x4398ee;}function _0x12be5a(_0x5bced7,_0x21fee7,_0x4d30b4){_0x21fee7[_0x4d30b4]=0xff&_0x5bced7,_0x21fee7[_0x4d30b4+0x1]=_0x5bced7>>>0x8&0xff,_0x21fee7[_0x4d30b4+0x2]=_0x5bced7>>>0x10&0xff,_0x21fee7[_0x4d30b4+0x3]=_0x5bced7>>>0x18;}function _0xd3977b(_0x2eca05,_0x18ac3f,_0x1de598){_0x18ac3f[_0x1de598]=_0x2eca05>>>0x18,_0x18ac3f[_0x1de598+0x1]=_0x2eca05>>>0x10&0xff,_0x18ac3f[_0x1de598+0x2]=_0x2eca05>>>0x8&0xff,_0x18ac3f[_0x1de598+0x3]=0xff&_0x2eca05;}function _0x61bb94(_0x4d0ab1,_0x47a315){return(_0x4d0ab1[_0x47a315]|_0x4d0ab1[_0x47a315+0x1]<<0x8|_0x4d0ab1[_0x47a315+0x2]<<0x10|_0x4d0ab1[_0x47a315+0x3]<<0x18)>>>0x0;}function _0x33834c(_0x4a5a77,_0x53c418){return(_0x4a5a77[_0x53c418]<<0x18|_0x4a5a77[_0x53c418+0x1]<<0x10|_0x4a5a77[_0x53c418+0x2]<<0x8|_0x4a5a77[_0x53c418+0x3])>>>0x0;}return hasRequiredFloat=0x1,float=_0x4cea61(_0x4cea61);}function requireInquire(){if(_0x182178)return _0x35c7b0;function _0x48991b(_0x5caf32){try{var _0x1504b0=eval('quire'['replace'](/^/,'re'))(_0x5caf32);if(_0x1504b0&&(_0x1504b0['length']||Object['keys'](_0x1504b0)['length']))return _0x1504b0;}catch(_0x177d83){}return null;}return _0x182178=0x1,_0x35c7b0=_0x48991b,_0x35c7b0;}var utf8={},hasRequiredUtf8,_0x81ac8e,_0x133f0d,longbits,hasRequiredLongbits,_0x31a875,writer,hasRequiredWriter,writer_buffer,hasRequiredWriter_buffer,_0x5bdd9e,_0x18c523,_0x3eea53,_0x274f88;function requireUtf8(){return hasRequiredUtf8||(hasRequiredUtf8=0x1,function(_0x590ecc){var _0x164a24=_0x590ecc;_0x164a24['length']=function(_0x2aec29){for(var _0x1a1a38=0x0,_0x2aaead=0x0,_0x3a1ca5=0x0;_0x3a1ca5<_0x2aec29['length'];++_0x3a1ca5)(_0x2aaead=_0x2aec29['charCodeAt'](_0x3a1ca5))<0x80?_0x1a1a38+=0x1:_0x2aaead<0x800?_0x1a1a38+=0x2:0xd800==(0xfc00&_0x2aaead)&&0xdc00==(0xfc00&_0x2aec29['charCodeAt'](_0x3a1ca5+0x1))?(++_0x3a1ca5,_0x1a1a38+=0x4):_0x1a1a38+=0x3;return _0x1a1a38;},_0x164a24['read']=function(_0x50f1b0,_0x52be99,_0x116c4f){if(_0x116c4f-_0x52be99<0x1)return'';for(var t,_0x3946c7=null,_0x4a06d7=[],_0x4d4186=0x0;_0x52be99<_0x116c4f;)(t=_0x50f1b0[_0x52be99++])<0x80?_0x4a06d7[_0x4d4186++]=t:t>0xbf&&t<0xe0?_0x4a06d7[_0x4d4186++]=(0x1f&t)<<0x6|0x3f&_0x50f1b0[_0x52be99++]:t>0xef&&t<0x16d?(t=((0x7&t)<<0x12|(0x3f&_0x50f1b0[_0x52be99++])<<0xc|(0x3f&_0x50f1b0[_0x52be99++])<<0x6|0x3f&_0x50f1b0[_0x52be99++])-0x10000,_0x4a06d7[_0x4d4186++]=0xd800+(t>>0xa),_0x4a06d7[_0x4d4186++]=0xdc00+(0x3ff&t)):_0x4a06d7[_0x4d4186++]=(0xf&t)<<0xc|(0x3f&_0x50f1b0[_0x52be99++])<<0x6|0x3f&_0x50f1b0[_0x52be99++],_0x4d4186>0x1fff&&((_0x3946c7||(_0x3946c7=[]))['push'](String['fromCharCode']['apply'](String,_0x4a06d7)),_0x4d4186=0x0);return _0x3946c7?(_0x4d4186&&_0x3946c7['push'](String['fromCharCode']['apply'](String,_0x4a06d7['slice'](0x0,_0x4d4186))),_0x3946c7['join']('')):String['fromCharCode']['apply'](String,_0x4a06d7['slice'](0x0,_0x4d4186));},_0x164a24['write']=function(_0x5a650e,_0x52af38,_0x40a803){for(var _0x46d9c8,_0x17485b,_0x2770a9=_0x40a803,_0x12a689=0x0;_0x12a689<_0x5a650e['length'];++_0x12a689)(_0x46d9c8=_0x5a650e['charCodeAt'](_0x12a689))<0x80?_0x52af38[_0x40a803++]=_0x46d9c8:_0x46d9c8<0x800?(_0x52af38[_0x40a803++]=_0x46d9c8>>0x6|0xc0,_0x52af38[_0x40a803++]=0x3f&_0x46d9c8|0x80):0xd800==(0xfc00&_0x46d9c8)&&0xdc00==(0xfc00&(_0x17485b=_0x5a650e['charCodeAt'](_0x12a689+0x1)))?(_0x46d9c8=0x10000+((0x3ff&_0x46d9c8)<<0xa)+(0x3ff&_0x17485b),++_0x12a689,_0x52af38[_0x40a803++]=_0x46d9c8>>0x12|0xf0,_0x52af38[_0x40a803++]=_0x46d9c8>>0xc&0x3f|0x80,_0x52af38[_0x40a803++]=_0x46d9c8>>0x6&0x3f|0x80,_0x52af38[_0x40a803++]=0x3f&_0x46d9c8|0x80):(_0x52af38[_0x40a803++]=_0x46d9c8>>0xc|0xe0,_0x52af38[_0x40a803++]=_0x46d9c8>>0x6&0x3f|0x80,_0x52af38[_0x40a803++]=0x3f&_0x46d9c8|0x80);return _0x40a803-_0x2770a9;};}(utf8)),utf8;}function requirePool(){if(_0x133f0d)return _0x81ac8e;return _0x133f0d=0x1,_0x81ac8e=function(_0x31ebfb,_0x14fcfb,_0x2200b3){var _0x546bad=_0x2200b3||0x2000,_0xbfe27a=_0x546bad>>>0x1,_0x2cafd7=null,_0x57ef57=_0x546bad;return function(_0x5aedbe){if(_0x5aedbe<0x1||_0x5aedbe>_0xbfe27a)return _0x31ebfb(_0x5aedbe);_0x57ef57+_0x5aedbe>_0x546bad&&(_0x2cafd7=_0x31ebfb(_0x546bad),_0x57ef57=0x0);var _0x510f2c=_0x14fcfb['call'](_0x2cafd7,_0x57ef57,_0x57ef57+=_0x5aedbe);return 0x7&_0x57ef57&&(_0x57ef57=0x1+(0x7|_0x57ef57)),_0x510f2c;};},_0x81ac8e;}function requireLongbits(){if(hasRequiredLongbits)return longbits;hasRequiredLongbits=0x1,longbits=_0x43474c;var _0x2e0b57=requireMinimal$1();function _0x43474c(_0x86a382,_0x16cacb){this['lo']=_0x86a382>>>0x0,this['hi']=_0x16cacb>>>0x0;}var _0x4e47bf=_0x43474c['zero']=new _0x43474c(0x0,0x0);_0x4e47bf['toNumber']=function(){return 0x0;},_0x4e47bf['zzEncode']=_0x4e47bf['zzDecode']=function(){return this;},_0x4e47bf['length']=function(){return 0x1;};var _0xea2619=_0x43474c['zeroHash']='\x00\x00\x00\x00\x00\x00\x00\x00';_0x43474c['fromNumber']=function(_0x3af8c6){if(0x0===_0x3af8c6)return _0x4e47bf;var _0x24d348=_0x3af8c6<0x0;_0x24d348&&(_0x3af8c6=-_0x3af8c6);var _0x204864=_0x3af8c6>>>0x0,_0x56fcb6=(_0x3af8c6-_0x204864)/0x100000000>>>0x0;return _0x24d348&&(_0x56fcb6=~_0x56fcb6>>>0x0,_0x204864=~_0x204864>>>0x0,++_0x204864>0xffffffff&&(_0x204864=0x0,++_0x56fcb6>0xffffffff&&(_0x56fcb6=0x0))),new _0x43474c(_0x204864,_0x56fcb6);},_0x43474c['from']=function(_0x2e5c7c){if('number'==typeof _0x2e5c7c)return _0x43474c['fromNumber'](_0x2e5c7c);if(_0x2e0b57['isString'](_0x2e5c7c)){if(!_0x2e0b57['Long'])return _0x43474c['fromNumber'](parseInt(_0x2e5c7c,0xa));_0x2e5c7c=_0x2e0b57['Long']['fromString'](_0x2e5c7c);}return _0x2e5c7c['low']||_0x2e5c7c['high']?new _0x43474c(_0x2e5c7c['low']>>>0x0,_0x2e5c7c['high']>>>0x0):_0x4e47bf;},_0x43474c['prototype']['toNumber']=function(_0x4a5c86){if(!_0x4a5c86&&this['hi']>>>0x1f){var _0x1aa2b6=0x1+~this['lo']>>>0x0,_0x2b44d6=~this['hi']>>>0x0;return _0x1aa2b6||(_0x2b44d6=_0x2b44d6+0x1>>>0x0),-(_0x1aa2b6+0x100000000*_0x2b44d6);}return this['lo']+0x100000000*this['hi'];},_0x43474c['prototype']['toLong']=function(_0x192299){return _0x2e0b57['Long']?new _0x2e0b57['Long'](0x0|this['lo'],0x0|this['hi'],Boolean(_0x192299)):{'low':0x0|this['lo'],'high':0x0|this['hi'],'unsigned':Boolean(_0x192299)};};var _0x2fe1b2=String['prototype']['charCodeAt'];return _0x43474c['fromHash']=function(_0x4c787a){return _0x4c787a===_0xea2619?_0x4e47bf:new _0x43474c((_0x2fe1b2['call'](_0x4c787a,0x0)|_0x2fe1b2['call'](_0x4c787a,0x1)<<0x8|_0x2fe1b2['call'](_0x4c787a,0x2)<<0x10|_0x2fe1b2['call'](_0x4c787a,0x3)<<0x18)>>>0x0,(_0x2fe1b2['call'](_0x4c787a,0x4)|_0x2fe1b2['call'](_0x4c787a,0x5)<<0x8|_0x2fe1b2['call'](_0x4c787a,0x6)<<0x10|_0x2fe1b2['call'](_0x4c787a,0x7)<<0x18)>>>0x0);},_0x43474c['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);},_0x43474c['prototype']['zzEncode']=function(){var _0x475c46=this['hi']>>0x1f;return this['hi']=((this['hi']<<0x1|this['lo']>>>0x1f)^_0x475c46)>>>0x0,this['lo']=(this['lo']<<0x1^_0x475c46)>>>0x0,this;},_0x43474c['prototype']['zzDecode']=function(){var _0x8beabb=-(0x1&this['lo']);return this['lo']=((this['lo']>>>0x1|this['hi']<<0x1f)^_0x8beabb)>>>0x0,this['hi']=(this['hi']>>>0x1^_0x8beabb)>>>0x0,this;},_0x43474c['prototype']['length']=function(){var _0x15113d=this['lo'],_0x15c155=(this['lo']>>>0x1c|this['hi']<<0x4)>>>0x0,_0x5c2eef=this['hi']>>>0x18;return 0x0===_0x5c2eef?0x0===_0x15c155?_0x15113d<0x4000?_0x15113d<0x80?0x1:0x2:_0x15113d<0x200000?0x3:0x4:_0x15c155<0x4000?_0x15c155<0x80?0x5:0x6:_0x15c155<0x200000?0x7:0x8:_0x5c2eef<0x80?0x9:0xa;},longbits;}function requireMinimal$1(){return _0x31a875||(_0x31a875=0x1,function(_0x11774f){var _0x92466a=_0x11774f;function _0x5f441c(_0x4b5913,_0x1714f2,_0x6991d3){for(var _0x3f3377=Object['keys'](_0x1714f2),_0x1a8902=0x0;_0x1a8902<_0x3f3377['length'];++_0x1a8902)void 0x0!==_0x4b5913[_0x3f3377[_0x1a8902]]&&_0x6991d3||(_0x4b5913[_0x3f3377[_0x1a8902]]=_0x1714f2[_0x3f3377[_0x1a8902]]);return _0x4b5913;}function _0xd108e3(_0x11ebfc){function _0x561e5f(_0x2782f8,_0x18187b){if(!(this instanceof _0x561e5f))return new _0x561e5f(_0x2782f8,_0x18187b);Object['defineProperty'](this,'message',{'get':function(){return _0x2782f8;}}),Error['captureStackTrace']?Error['captureStackTrace'](this,_0x561e5f):Object['defineProperty'](this,'stack',{'value':new Error()['stack']||''}),_0x18187b&&_0x5f441c(this,_0x18187b);}return _0x561e5f['prototype']=Object['create'](Error['prototype'],{'constructor':{'value':_0x561e5f,'writable':!0x0,'enumerable':!0x1,'configurable':!0x0},'name':{'get':function(){return _0x11ebfc;},'set':void 0x0,'enumerable':!0x1,'configurable':!0x0},'toString':{'value':function(){return this['name']+':\x20'+this['message'];},'writable':!0x0,'enumerable':!0x1,'configurable':!0x0}}),_0x561e5f;}_0x92466a['asPromise']=requireAspromise(),_0x92466a['base64']=requireBase64(),_0x92466a['EventEmitter']=requireEventemitter(),_0x92466a['float']=requireFloat(),_0x92466a['inquire']=requireInquire(),_0x92466a['utf8']=requireUtf8(),_0x92466a['pool']=requirePool(),_0x92466a['LongBits']=requireLongbits(),_0x92466a['isNode']=Boolean(void 0x0!==_0x23937e&&_0x23937e&&_0x23937e['process']&&_0x23937e['process']['versions']&&_0x23937e['process']['versions']['node']),_0x92466a['global']=_0x92466a['isNode']&&_0x23937e||'undefined'!=typeof window&&window||'undefined'!=typeof self&&self||_0x5579ae,_0x92466a['emptyArray']=Object['freeze']?Object['freeze']([]):[],_0x92466a['emptyObject']=Object['freeze']?Object['freeze']({}):{},_0x92466a['isInteger']=Number['isInteger']||function(_0x468c4e){return'number'==typeof _0x468c4e&&isFinite(_0x468c4e)&&Math['floor'](_0x468c4e)===_0x468c4e;},_0x92466a['isString']=function(_0x2e0db3){return'string'==typeof _0x2e0db3||_0x2e0db3 instanceof String;},_0x92466a['isObject']=function(_0x43c8a2){return _0x43c8a2&&'object'==typeof _0x43c8a2;},_0x92466a['isset']=_0x92466a['isSet']=function(_0x2c08d5,_0x6fff15){var _0x10435d=_0x2c08d5[_0x6fff15];return!(null==_0x10435d||!_0x2c08d5['hasOwnProperty'](_0x6fff15))&&('object'!=typeof _0x10435d||(Array['isArray'](_0x10435d)?_0x10435d['length']:Object['keys'](_0x10435d)['length'])>0x0);},_0x92466a['Buffer']=(function(){try{var _0x308a1c=_0x92466a['inquire']('buffer')['Buffer'];return _0x308a1c['prototype']['utf8Write']?_0x308a1c:null;}catch(_0xb92f14){return null;}}()),_0x92466a['_Buffer_from']=null,_0x92466a['_Buffer_allocUnsafe']=null,_0x92466a['newBuffer']=function(_0x215779){return'number'==typeof _0x215779?_0x92466a['Buffer']?_0x92466a['_Buffer_allocUnsafe'](_0x215779):new _0x92466a['Array'](_0x215779):_0x92466a['Buffer']?_0x92466a['_Buffer_from'](_0x215779):'undefined'==typeof Uint8Array?_0x215779:new Uint8Array(_0x215779);},_0x92466a['Array']='undefined'!=typeof Uint8Array?Uint8Array:Array,_0x92466a['Long']=_0x92466a['global']['dcodeIO']&&_0x92466a['global']['dcodeIO']['Long']||_0x92466a['global']['Long']||_0x92466a['inquire']('long'),_0x92466a['key2Re']=/^true|false|0|1$/,_0x92466a['key32Re']=/^-?(?:0|[1-9][0-9]*)$/,_0x92466a['key64Re']=/^(?:[\\x00-\\xff]{8}|-?(?:0|[1-9][0-9]*))$/,_0x92466a['longToHash']=function(_0x42fda0){return _0x42fda0?_0x92466a['LongBits']['from'](_0x42fda0)['toHash']():_0x92466a['LongBits']['zeroHash'];},_0x92466a['longFromHash']=function(_0x4787c4,_0x320edc){var _0x5db826=_0x92466a['LongBits']['fromHash'](_0x4787c4);return _0x92466a['Long']?_0x92466a['Long']['fromBits'](_0x5db826['lo'],_0x5db826['hi'],_0x320edc):_0x5db826['toNumber'](Boolean(_0x320edc));},_0x92466a['merge']=_0x5f441c,_0x92466a['lcFirst']=function(_0x56c6d5){return _0x56c6d5['charAt'](0x0)['toLowerCase']()+_0x56c6d5['substring'](0x1);},_0x92466a['newError']=_0xd108e3,_0x92466a['ProtocolError']=_0xd108e3('ProtocolError'),_0x92466a['oneOfGetter']=function(_0x454b42){for(var _0x2582de={},_0x136cf4=0x0;_0x136cf4<_0x454b42['length'];++_0x136cf4)_0x2582de[_0x454b42[_0x136cf4]]=0x1;return function(){for(var _0x33eed4=Object['keys'](this),_0x1e5310=_0x33eed4['length']-0x1;_0x1e5310>-0x1;--_0x1e5310)if(0x1===_0x2582de[_0x33eed4[_0x1e5310]]&&void 0x0!==this[_0x33eed4[_0x1e5310]]&&null!==this[_0x33eed4[_0x1e5310]])return _0x33eed4[_0x1e5310];};},_0x92466a['oneOfSetter']=function(_0x13a031){return function(_0x3da3e6){for(var _0xde5606=0x0;_0xde5606<_0x13a031['length'];++_0xde5606)_0x13a031[_0xde5606]!==_0x3da3e6&&delete this[_0x13a031[_0xde5606]];};},_0x92466a['toJSONOptions']={'longs':String,'enums':String,'bytes':String,'json':!0x0},_0x92466a['_configure']=function(){var _0x3af119=_0x92466a['Buffer'];_0x3af119?(_0x92466a['_Buffer_from']=_0x3af119['from']!==Uint8Array['from']&&_0x3af119['from']||function(_0x3cf8fd,_0x5dd95e){return new _0x3af119(_0x3cf8fd,_0x5dd95e);},_0x92466a['_Buffer_allocUnsafe']=_0x3af119['allocUnsafe']||function(_0x2ab80e){return new _0x3af119(_0x2ab80e);}):_0x92466a['_Buffer_from']=_0x92466a['_Buffer_allocUnsafe']=null;};}(_0x5579ae)),_0x5579ae;}function requireWriter(){if(hasRequiredWriter)return writer;hasRequiredWriter=0x1,writer=_0x6f13a7;var _0x467a45,_0x5555e1=requireMinimal$1(),_0x920df8=_0x5555e1['LongBits'],_0x59314a=_0x5555e1['base64'],_0x5e5996=_0x5555e1['utf8'];function _0x540880(_0x3a69ae,_0x43cdb7,_0x21de2c){this['fn']=_0x3a69ae,this['len']=_0x43cdb7,this['next']=void 0x0,this['val']=_0x21de2c;}function _0x461c51(){}function _0x218829(_0x13e6c6){this['head']=_0x13e6c6['head'],this['tail']=_0x13e6c6['tail'],this['len']=_0x13e6c6['len'],this['next']=_0x13e6c6['states'];}function _0x6f13a7(){this['len']=0x0,this['head']=new _0x540880(_0x461c51,0x0,0x0),this['tail']=this['head'],this['states']=null;}var _0x1dbfa5=function(){return _0x5555e1['Buffer']?function(){return(_0x6f13a7['create']=function(){return new _0x467a45();})();}:function(){return new _0x6f13a7();};};function _0xe473b0(_0x5eecb6,_0x4e9d64,_0x3dae0d){_0x4e9d64[_0x3dae0d]=0xff&_0x5eecb6;}function _0xa32c17(_0x255bd1,_0x361559){this['len']=_0x255bd1,this['next']=void 0x0,this['val']=_0x361559;}function _0x47ef30(_0x36b1b9,_0xb60138,_0x35d527){for(;_0x36b1b9['hi'];)_0xb60138[_0x35d527++]=0x7f&_0x36b1b9['lo']|0x80,_0x36b1b9['lo']=(_0x36b1b9['lo']>>>0x7|_0x36b1b9['hi']<<0x19)>>>0x0,_0x36b1b9['hi']>>>=0x7;for(;_0x36b1b9['lo']>0x7f;)_0xb60138[_0x35d527++]=0x7f&_0x36b1b9['lo']|0x80,_0x36b1b9['lo']=_0x36b1b9['lo']>>>0x7;_0xb60138[_0x35d527++]=_0x36b1b9['lo'];}function _0x57ceeb(_0x586d5a,_0x2c948e,_0x29a4a2){_0x2c948e[_0x29a4a2]=0xff&_0x586d5a,_0x2c948e[_0x29a4a2+0x1]=_0x586d5a>>>0x8&0xff,_0x2c948e[_0x29a4a2+0x2]=_0x586d5a>>>0x10&0xff,_0x2c948e[_0x29a4a2+0x3]=_0x586d5a>>>0x18;}_0x6f13a7['create']=_0x1dbfa5(),_0x6f13a7['alloc']=function(_0xacc069){return new _0x5555e1['Array'](_0xacc069);},_0x5555e1['Array']!==Array&&(_0x6f13a7['alloc']=_0x5555e1['pool'](_0x6f13a7['alloc'],_0x5555e1['Array']['prototype']['subarray'])),_0x6f13a7['prototype']['_push']=function(_0x12415b,_0xd9d4d2,_0x43d6d6){return this['tail']=this['tail']['next']=new _0x540880(_0x12415b,_0xd9d4d2,_0x43d6d6),this['len']+=_0xd9d4d2,this;},_0xa32c17['prototype']=Object['create'](_0x540880['prototype']),_0xa32c17['prototype']['fn']=function(_0x3ad71d,_0x5d1c68,_0x31668c){for(;_0x3ad71d>0x7f;)_0x5d1c68[_0x31668c++]=0x7f&_0x3ad71d|0x80,_0x3ad71d>>>=0x7;_0x5d1c68[_0x31668c]=_0x3ad71d;},_0x6f13a7['prototype']['uint32']=function(_0x3880fe){return this['len']+=(this['tail']=this['tail']['next']=new _0xa32c17((_0x3880fe>>>=0x0)<0x80?0x1:_0x3880fe<0x4000?0x2:_0x3880fe<0x200000?0x3:_0x3880fe<0x10000000?0x4:0x5,_0x3880fe))['len'],this;},_0x6f13a7['prototype']['int32']=function(_0x3fd461){return _0x3fd461<0x0?this['_push'](_0x47ef30,0xa,_0x920df8['fromNumber'](_0x3fd461)):this['uint32'](_0x3fd461);},_0x6f13a7['prototype']['sint32']=function(_0x314f0c){return this['uint32']((_0x314f0c<<0x1^_0x314f0c>>0x1f)>>>0x0);},_0x6f13a7['prototype']['uint64']=function(_0x1064b6){var _0x53f6c0=_0x920df8['from'](_0x1064b6);return this['_push'](_0x47ef30,_0x53f6c0['length'](),_0x53f6c0);},_0x6f13a7['prototype']['int64']=_0x6f13a7['prototype']['uint64'],_0x6f13a7['prototype']['sint64']=function(_0x1382d0){var _0x8f7b7b=_0x920df8['from'](_0x1382d0)['zzEncode']();return this['_push'](_0x47ef30,_0x8f7b7b['length'](),_0x8f7b7b);},_0x6f13a7['prototype']['bool']=function(_0x3da45e){return this['_push'](_0xe473b0,0x1,_0x3da45e?0x1:0x0);},_0x6f13a7['prototype']['fixed32']=function(_0x558dc9){return this['_push'](_0x57ceeb,0x4,_0x558dc9>>>0x0);},_0x6f13a7['prototype']['sfixed32']=_0x6f13a7['prototype']['fixed32'],_0x6f13a7['prototype']['fixed64']=function(_0x2bdc6d){var _0x36e981=_0x920df8['from'](_0x2bdc6d);return this['_push'](_0x57ceeb,0x4,_0x36e981['lo'])['_push'](_0x57ceeb,0x4,_0x36e981['hi']);},_0x6f13a7['prototype']['sfixed64']=_0x6f13a7['prototype']['fixed64'],_0x6f13a7['prototype']['float']=function(_0x16bacf){return this['_push'](_0x5555e1['float']['writeFloatLE'],0x4,_0x16bacf);},_0x6f13a7['prototype']['double']=function(_0x35283c){return this['_push'](_0x5555e1['float']['writeDoubleLE'],0x8,_0x35283c);};var _0x103d01=_0x5555e1['Array']['prototype']['set']?function(_0x3de3b1,_0x4f1f1a,_0x3d65e8){_0x4f1f1a['set'](_0x3de3b1,_0x3d65e8);}:function(_0x4ef6ba,_0x3ba1cd,_0x3c3c8e){for(var _0x47eae3=0x0;_0x47eae3<_0x4ef6ba['length'];++_0x47eae3)_0x3ba1cd[_0x3c3c8e+_0x47eae3]=_0x4ef6ba[_0x47eae3];};return _0x6f13a7['prototype']['bytes']=function(_0x569f98){var _0x5b7a63=_0x569f98['length']>>>0x0;if(!_0x5b7a63)return this['_push'](_0xe473b0,0x1,0x0);if(_0x5555e1['isString'](_0x569f98)){var _0x3e899c=_0x6f13a7['alloc'](_0x5b7a63=_0x59314a['length'](_0x569f98));_0x59314a['decode'](_0x569f98,_0x3e899c,0x0),_0x569f98=_0x3e899c;}return this['uint32'](_0x5b7a63)['_push'](_0x103d01,_0x5b7a63,_0x569f98);},_0x6f13a7['prototype']['string']=function(_0x4a814b){var _0x24a881=_0x5e5996['length'](_0x4a814b);return _0x24a881?this['uint32'](_0x24a881)['_push'](_0x5e5996['write'],_0x24a881,_0x4a814b):this['_push'](_0xe473b0,0x1,0x0);},_0x6f13a7['prototype']['fork']=function(){return this['states']=new _0x218829(this),this['head']=this['tail']=new _0x540880(_0x461c51,0x0,0x0),this['len']=0x0,this;},_0x6f13a7['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 _0x540880(_0x461c51,0x0,0x0),this['len']=0x0),this;},_0x6f13a7['prototype']['ldelim']=function(){var _0x42b78f=this['head'],_0x4006f2=this['tail'],_0x54813c=this['len'];return this['reset']()['uint32'](_0x54813c),_0x54813c&&(this['tail']['next']=_0x42b78f['next'],this['tail']=_0x4006f2,this['len']+=_0x54813c),this;},_0x6f13a7['prototype']['finish']=function(){for(var _0x5c6da8=this['head']['next'],_0x2b5004=this['constructor']['alloc'](this['len']),_0x2242e2=0x0;_0x5c6da8;)_0x5c6da8['fn'](_0x5c6da8['val'],_0x2b5004,_0x2242e2),_0x2242e2+=_0x5c6da8['len'],_0x5c6da8=_0x5c6da8['next'];return _0x2b5004;},_0x6f13a7['_configure']=function(_0x7242f0){_0x467a45=_0x7242f0,_0x6f13a7['create']=_0x1dbfa5(),_0x467a45['_configure']();},writer;}function requireWriter_buffer(){if(hasRequiredWriter_buffer)return writer_buffer;hasRequiredWriter_buffer=0x1,writer_buffer=_0x36eb9c;var _0x5a7c19=requireWriter();(_0x36eb9c['prototype']=Object['create'](_0x5a7c19['prototype']))['constructor']=_0x36eb9c;var _0x2ade2d=requireMinimal$1();function _0x36eb9c(){_0x5a7c19['call'](this);}function _0x162dbc(_0xf2664,_0x23458b,_0x5cde6f){_0xf2664['length']<0x28?_0x2ade2d['utf8']['write'](_0xf2664,_0x23458b,_0x5cde6f):_0x23458b['utf8Write']?_0x23458b['utf8Write'](_0xf2664,_0x5cde6f):_0x23458b['write'](_0xf2664,_0x5cde6f);}return _0x36eb9c['_configure']=function(){_0x36eb9c['alloc']=_0x2ade2d['_Buffer_allocUnsafe'],_0x36eb9c['writeBytesBuffer']=_0x2ade2d['Buffer']&&_0x2ade2d['Buffer']['prototype']instanceof Uint8Array&&'set'===_0x2ade2d['Buffer']['prototype']['set']['name']?function(_0x33d630,_0x24bd12,_0x2a6a98){_0x24bd12['set'](_0x33d630,_0x2a6a98);}:function(_0x554820,_0x15f8fe,_0x3e697e){if(_0x554820['copy'])_0x554820['copy'](_0x15f8fe,_0x3e697e,0x0,_0x554820['length']);else{for(var _0x3e469d=0x0;_0x3e469d<_0x554820['length'];)_0x15f8fe[_0x3e697e++]=_0x554820[_0x3e469d++];}};},_0x36eb9c['prototype']['bytes']=function(_0xd86235){_0x2ade2d['isString'](_0xd86235)&&(_0xd86235=_0x2ade2d['_Buffer_from'](_0xd86235,'base64'));var _0x5acf6f=_0xd86235['length']>>>0x0;return this['uint32'](_0x5acf6f),_0x5acf6f&&this['_push'](_0x36eb9c['writeBytesBuffer'],_0x5acf6f,_0xd86235),this;},_0x36eb9c['prototype']['string']=function(_0xaa9490){var _0x3fc8a8=_0x2ade2d['Buffer']['byteLength'](_0xaa9490);return this['uint32'](_0x3fc8a8),_0x3fc8a8&&this['_push'](_0x162dbc,_0x3fc8a8,_0xaa9490),this;},_0x36eb9c['_configure'](),writer_buffer;}function requireReader(){if(_0x18c523)return _0x5bdd9e;_0x18c523=0x1,_0x5bdd9e=_0x4bfb45;var _0xe1bb88,_0x3617af=requireMinimal$1(),_0x35d7a5=_0x3617af['LongBits'],_0x406114=_0x3617af['utf8'];function _0x237ec0(_0x426740,_0x5f995f){return RangeError('index\x20out\x20of\x20range:\x20'+_0x426740['pos']+'\x20+\x20'+(_0x5f995f||0x1)+'\x20>\x20'+_0x426740['len']);}function _0x4bfb45(_0x3f3c10){this['buf']=_0x3f3c10,this['pos']=0x0,this['len']=_0x3f3c10['length'];}var _0x1fd870='undefined'!=typeof Uint8Array?function(_0x5d96d2){if(_0x5d96d2 instanceof Uint8Array||Array['isArray'](_0x5d96d2))return new _0x4bfb45(_0x5d96d2);throw Error('illegal\x20buffer');}:function(_0x123b40){if(Array['isArray'](_0x123b40))return new _0x4bfb45(_0x123b40);throw Error('illegal\x20buffer');},_0x4c650d=function(){return _0x3617af['Buffer']?function(_0x2cc3b1){return(_0x4bfb45['create']=function(_0xacda51){return _0x3617af['Buffer']['isBuffer'](_0xacda51)?new _0xe1bb88(_0xacda51):_0x1fd870(_0xacda51);})(_0x2cc3b1);}:_0x1fd870;};function _0x2e7c48(){var _0x2d2f6b=new _0x35d7a5(0x0,0x0),_0x1c1f10=0x0;if(!(this['len']-this['pos']>0x4)){for(;_0x1c1f10<0x3;++_0x1c1f10){if(this['pos']>=this['len'])throw _0x237ec0(this);if(_0x2d2f6b['lo']=(_0x2d2f6b['lo']|(0x7f&this['buf'][this['pos']])<<0x7*_0x1c1f10)>>>0x0,this['buf'][this['pos']++]<0x80)return _0x2d2f6b;}return _0x2d2f6b['lo']=(_0x2d2f6b['lo']|(0x7f&this['buf'][this['pos']++])<<0x7*_0x1c1f10)>>>0x0,_0x2d2f6b;}for(;_0x1c1f10<0x4;++_0x1c1f10)if(_0x2d2f6b['lo']=(_0x2d2f6b['lo']|(0x7f&this['buf'][this['pos']])<<0x7*_0x1c1f10)>>>0x0,this['buf'][this['pos']++]<0x80)return _0x2d2f6b;if(_0x2d2f6b['lo']=(_0x2d2f6b['lo']|(0x7f&this['buf'][this['pos']])<<0x1c)>>>0x0,_0x2d2f6b['hi']=(_0x2d2f6b['hi']|(0x7f&this['buf'][this['pos']])>>0x4)>>>0x0,this['buf'][this['pos']++]<0x80)return _0x2d2f6b;if(_0x1c1f10=0x0,this['len']-this['pos']>0x4){for(;_0x1c1f10<0x5;++_0x1c1f10)if(_0x2d2f6b['hi']=(_0x2d2f6b['hi']|(0x7f&this['buf'][this['pos']])<<0x7*_0x1c1f10+0x3)>>>0x0,this['buf'][this['pos']++]<0x80)return _0x2d2f6b;}else for(;_0x1c1f10<0x5;++_0x1c1f10){if(this['pos']>=this['len'])throw _0x237ec0(this);if(_0x2d2f6b['hi']=(_0x2d2f6b['hi']|(0x7f&this['buf'][this['pos']])<<0x7*_0x1c1f10+0x3)>>>0x0,this['buf'][this['pos']++]<0x80)return _0x2d2f6b;}throw Error('invalid\x20varint\x20encoding');}function _0x48e312(_0x2482d2,_0x43ac66){return(_0x2482d2[_0x43ac66-0x4]|_0x2482d2[_0x43ac66-0x3]<<0x8|_0x2482d2[_0x43ac66-0x2]<<0x10|_0x2482d2[_0x43ac66-0x1]<<0x18)>>>0x0;}function _0x3d713c(){if(this['pos']+0x8>this['len'])throw _0x237ec0(this,0x8);return new _0x35d7a5(_0x48e312(this['buf'],this['pos']+=0x4),_0x48e312(this['buf'],this['pos']+=0x4));}return _0x4bfb45['create']=_0x4c650d(),_0x4bfb45['prototype']['_slice']=_0x3617af['Array']['prototype']['subarray']||_0x3617af['Array']['prototype']['slice'],_0x4bfb45['prototype']['uint32']=(function(){var _0x20951c=0xffffffff;return function(){if(_0x20951c=(0x7f&this['buf'][this['pos']])>>>0x0,this['buf'][this['pos']++]<0x80)return _0x20951c;if(_0x20951c=(_0x20951c|(0x7f&this['buf'][this['pos']])<<0x7)>>>0x0,this['buf'][this['pos']++]<0x80)return _0x20951c;if(_0x20951c=(_0x20951c|(0x7f&this['buf'][this['pos']])<<0xe)>>>0x0,this['buf'][this['pos']++]<0x80)return _0x20951c;if(_0x20951c=(_0x20951c|(0x7f&this['buf'][this['pos']])<<0x15)>>>0x0,this['buf'][this['pos']++]<0x80)return _0x20951c;if(_0x20951c=(_0x20951c|(0xf&this['buf'][this['pos']])<<0x1c)>>>0x0,this['buf'][this['pos']++]<0x80)return _0x20951c;if((this['pos']+=0x5)>this['len'])throw this['pos']=this['len'],_0x237ec0(this,0xa);return _0x20951c;};}()),_0x4bfb45['prototype']['int32']=function(){return 0x0|this['uint32']();},_0x4bfb45['prototype']['sint32']=function(){var _0x59cb59=this['uint32']();return _0x59cb59>>>0x1^-(0x1&_0x59cb59);},_0x4bfb45['prototype']['bool']=function(){return 0x0!==this['uint32']();},_0x4bfb45['prototype']['fixed32']=function(){if(this['pos']+0x4>this['len'])throw _0x237ec0(this,0x4);return _0x48e312(this['buf'],this['pos']+=0x4);},_0x4bfb45['prototype']['sfixed32']=function(){if(this['pos']+0x4>this['len'])throw _0x237ec0(this,0x4);return 0x0|_0x48e312(this['buf'],this['pos']+=0x4);},_0x4bfb45['prototype']['float']=function(){if(this['pos']+0x4>this['len'])throw _0x237ec0(this,0x4);var _0x3bb0bd=_0x3617af['float']['readFloatLE'](this['buf'],this['pos']);return this['pos']+=0x4,_0x3bb0bd;},_0x4bfb45['prototype']['double']=function(){if(this['pos']+0x8>this['len'])throw _0x237ec0(this,0x4);var _0xcc22a6=_0x3617af['float']['readDoubleLE'](this['buf'],this['pos']);return this['pos']+=0x8,_0xcc22a6;},_0x4bfb45['prototype']['bytes']=function(){var _0x5d4e56=this['uint32'](),_0x4d20a2=this['pos'],_0x885952=this['pos']+_0x5d4e56;if(_0x885952>this['len'])throw _0x237ec0(this,_0x5d4e56);if(this['pos']+=_0x5d4e56,Array['isArray'](this['buf']))return this['buf']['slice'](_0x4d20a2,_0x885952);if(_0x4d20a2===_0x885952){var _0xf217e7=_0x3617af['Buffer'];return _0xf217e7?_0xf217e7['alloc'](0x0):new this['buf']['constructor'](0x0);}return this['_slice']['call'](this['buf'],_0x4d20a2,_0x885952);},_0x4bfb45['prototype']['string']=function(){var _0x3244f7=this['bytes']();return _0x406114['read'](_0x3244f7,0x0,_0x3244f7['length']);},_0x4bfb45['prototype']['skip']=function(_0x4c4da2){if('number'==typeof _0x4c4da2){if(this['pos']+_0x4c4da2>this['len'])throw _0x237ec0(this,_0x4c4da2);this['pos']+=_0x4c4da2;}else do{if(this['pos']>=this['len'])throw _0x237ec0(this);}while(0x80&this['buf'][this['pos']++]);return this;},_0x4bfb45['prototype']['skipType']=function(_0x18d904){switch(_0x18d904){case 0x0:this['skip']();break;case 0x1:this['skip'](0x8);break;case 0x2:this['skip'](this['uint32']());break;case 0x3:for(;0x4!=(_0x18d904=0x7&this['uint32']());)this['skipType'](_0x18d904);break;case 0x5:this['skip'](0x4);break;default:throw Error('invalid\x20wire\x20type\x20'+_0x18d904+'\x20at\x20offset\x20'+this['pos']);}return this;},_0x4bfb45['_configure']=function(_0x217923){_0xe1bb88=_0x217923,_0x4bfb45['create']=_0x4c650d(),_0xe1bb88['_configure']();var _0x4fa984=_0x3617af['Long']?'toLong':'toNumber';_0x3617af['merge'](_0x4bfb45['prototype'],{'int64':function(){return _0x2e7c48['call'](this)[_0x4fa984](!0x1);},'uint64':function(){return _0x2e7c48['call'](this)[_0x4fa984](!0x0);},'sint64':function(){return _0x2e7c48['call'](this)['zzDecode']()[_0x4fa984](!0x1);},'fixed64':function(){return _0x3d713c['call'](this)[_0x4fa984](!0x0);},'sfixed64':function(){return _0x3d713c['call'](this)[_0x4fa984](!0x1);}});},_0x5bdd9e;}function requireReader_buffer(){if(_0x274f88)return _0x3eea53;_0x274f88=0x1,_0x3eea53=_0x159dcb;var _0x19cc77=requireReader();(_0x159dcb['prototype']=Object['create'](_0x19cc77['prototype']))['constructor']=_0x159dcb;var _0x49faea=requireMinimal$1();function _0x159dcb(_0x4b108b){_0x19cc77['call'](this,_0x4b108b);}return _0x159dcb['_configure']=function(){_0x49faea['Buffer']&&(_0x159dcb['prototype']['_slice']=_0x49faea['Buffer']['prototype']['slice']);},_0x159dcb['prototype']['string']=function(){var _0xfc8ff0=this['uint32']();return this['buf']['utf8Slice']?this['buf']['utf8Slice'](this['pos'],this['pos']=Math['min'](this['pos']+_0xfc8ff0,this['len'])):this['buf']['toString']('utf-8',this['pos'],this['pos']=Math['min'](this['pos']+_0xfc8ff0,this['len']));},_0x159dcb['_configure'](),_0x3eea53;}var _0x269b19={},_0x472a62,_0xa91f8d,_0x584caf,roots,hasRequiredRoots,_0x27b66a,_0x61b51f,_0x3ea2ae;function requireService(){if(_0xa91f8d)return _0x472a62;_0xa91f8d=0x1,_0x472a62=_0x2bbf77;var _0x395f00=requireMinimal$1();function _0x2bbf77(_0x3b248d,_0x4f38c2,_0x1e688b){if('function'!=typeof _0x3b248d)throw TypeError('rpcImpl\x20must\x20be\x20a\x20function');_0x395f00['EventEmitter']['call'](this),this['rpcImpl']=_0x3b248d,this['requestDelimited']=Boolean(_0x4f38c2),this['responseDelimited']=Boolean(_0x1e688b);}return(_0x2bbf77['prototype']=Object['create'](_0x395f00['EventEmitter']['prototype']))['constructor']=_0x2bbf77,_0x2bbf77['prototype']['rpcCall']=function _0x2a0f7d(_0x59d036,_0x4bea92,_0x57eea0,_0xb11abd,_0x19e93b){if(!_0xb11abd)throw TypeError('request\x20must\x20be\x20specified');var _0x1cb002=this;if(!_0x19e93b)return _0x395f00['asPromise'](_0x2a0f7d,_0x1cb002,_0x59d036,_0x4bea92,_0x57eea0,_0xb11abd);if(_0x1cb002['rpcImpl'])try{return _0x1cb002['rpcImpl'](_0x59d036,_0x4bea92[_0x1cb002['requestDelimited']?'encodeDelimited':'encode'](_0xb11abd)['finish'](),function(_0x5f0874,_0x2f7b8d){if(_0x5f0874)return _0x1cb002['emit']('error',_0x5f0874,_0x59d036),_0x19e93b(_0x5f0874);if(null!==_0x2f7b8d){if(!(_0x2f7b8d instanceof _0x57eea0))try{_0x2f7b8d=_0x57eea0[_0x1cb002['responseDelimited']?'decodeDelimited':'decode'](_0x2f7b8d);}catch(_0xec6f7f){return _0x1cb002['emit']('error',_0xec6f7f,_0x59d036),_0x19e93b(_0xec6f7f);}return _0x1cb002['emit']('data',_0x2f7b8d,_0x59d036),_0x19e93b(null,_0x2f7b8d);}_0x1cb002['end'](!0x0);});}catch(_0x2fb0fa){return _0x1cb002['emit']('error',_0x2fb0fa,_0x59d036),void setTimeout(function(){_0x19e93b(_0x2fb0fa);},0x0);}else setTimeout(function(){_0x19e93b(Error('already\x20ended'));},0x0);},_0x2bbf77['prototype']['end']=function(_0x4b4c84){return this['rpcImpl']&&(_0x4b4c84||this['rpcImpl'](null,null,null),this['rpcImpl']=null,this['emit']('end')['off']()),this;},_0x472a62;}function requireRpc(){return _0x584caf||(_0x584caf=0x1,function(_0x406e3b){_0x406e3b['Service']=requireService();}(_0x269b19)),_0x269b19;}function requireRoots(){return hasRequiredRoots?roots:(hasRequiredRoots=0x1,roots={});}function requireIndexMinimal(){return _0x27b66a||(_0x27b66a=0x1,function(_0x2a8d8a){var _0x598828=_0x2a8d8a;function _0x2f8e3b(){_0x598828['util']['_configure'](),_0x598828['Writer']['_configure'](_0x598828['BufferWriter']),_0x598828['Reader']['_configure'](_0x598828['BufferReader']);}_0x598828['build']='minimal',_0x598828['Writer']=requireWriter(),_0x598828['BufferWriter']=requireWriter_buffer(),_0x598828['Reader']=requireReader(),_0x598828['BufferReader']=requireReader_buffer(),_0x598828['util']=requireMinimal$1(),_0x598828['rpc']=requireRpc(),_0x598828['roots']=requireRoots(),_0x598828['configure']=_0x2f8e3b,_0x2f8e3b();}(_0x14cf47)),_0x14cf47;}function requireMinimal(){return _0x3ea2ae?_0x61b51f:(_0x3ea2ae=0x1,_0x61b51f=requireIndexMinimal());}var minimalExports=requireMinimal();const _0x3bad80=Object['create'](null);_0x3bad80['open']='0',_0x3bad80['close']='1',_0x3bad80['ping']='2',_0x3bad80['pong']='3',_0x3bad80['message']='4',_0x3bad80['upgrade']='5',_0x3bad80['noop']='6';const _0x879456=Object['create'](null);Object['keys'](_0x3bad80)['forEach'](_0x52e411=>{_0x879456[_0x3bad80[_0x52e411]]=_0x52e411;});const _0x1ca071={'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,_0xfb1a22=_0xb7bc15=>'function'==typeof ArrayBuffer['isView']?ArrayBuffer['isView'](_0xb7bc15):_0xb7bc15&&_0xb7bc15['buffer']instanceof ArrayBuffer,encodePacket=({type:_0x52edc2,data:_0x4aa39a},_0x539be5,_0x401c22)=>withNativeBlob$1&&_0x4aa39a instanceof Blob?_0x539be5?_0x401c22(_0x4aa39a):_0x396425(_0x4aa39a,_0x401c22):withNativeArrayBuffer$2&&(_0x4aa39a instanceof ArrayBuffer||_0xfb1a22(_0x4aa39a))?_0x539be5?_0x401c22(_0x4aa39a):_0x396425(new Blob([_0x4aa39a]),_0x401c22):_0x401c22(_0x3bad80[_0x52edc2]+(_0x4aa39a||'')),_0x396425=(_0x551b07,_0x5c3c48)=>{const _0xba8768=new FileReader();return _0xba8768['onload']=function(){const _0xd4e6be=_0xba8768['result']['split'](',')[0x1];_0x5c3c48('b'+(_0xd4e6be||''));},_0xba8768['readAsDataURL'](_0x551b07);};function toArray(_0x5974e5){return _0x5974e5 instanceof Uint8Array?_0x5974e5:_0x5974e5 instanceof ArrayBuffer?new Uint8Array(_0x5974e5):new Uint8Array(_0x5974e5['buffer'],_0x5974e5['byteOffset'],_0x5974e5['byteLength']);}let _0x43e161;function encodePacketToBinary(_0x5a5d13,_0x3022e0){return withNativeBlob$1&&_0x5a5d13['data']instanceof Blob?_0x5a5d13['data']['arrayBuffer']()['then'](toArray)['then'](_0x3022e0):withNativeArrayBuffer$2&&(_0x5a5d13['data']instanceof ArrayBuffer||_0xfb1a22(_0x5a5d13['data']))?_0x3022e0(toArray(_0x5a5d13['data'])):void encodePacket(_0x5a5d13,!0x1,_0x293ee4=>{_0x43e161||(_0x43e161=new TextEncoder()),_0x3022e0(_0x43e161['encode'](_0x293ee4));});}const _0x44a98e='ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/',_0x489864='undefined'==typeof Uint8Array?[]:new Uint8Array(0x100);for(let _0x37a35d=0x0;_0x37a35d<_0x44a98e['length'];_0x37a35d++)_0x489864[_0x44a98e['charCodeAt'](_0x37a35d)]=_0x37a35d;const _0x22f95b=_0x3b3081=>{let _0x3dc32b,_0x55b4f0,_0x49ba20,_0x5f5219,_0x5cf9ac,_0xf6130c=0.75*_0x3b3081['length'],_0xb25b4e=_0x3b3081['length'],_0xd96fdf=0x0;'='===_0x3b3081[_0x3b3081['length']-0x1]&&(_0xf6130c--,'='===_0x3b3081[_0x3b3081['length']-0x2]&&_0xf6130c--);const _0x3a657f=new ArrayBuffer(_0xf6130c),_0x56d3a2=new Uint8Array(_0x3a657f);for(_0x3dc32b=0x0;_0x3dc32b<_0xb25b4e;_0x3dc32b+=0x4)_0x55b4f0=_0x489864[_0x3b3081['charCodeAt'](_0x3dc32b)],_0x49ba20=_0x489864[_0x3b3081['charCodeAt'](_0x3dc32b+0x1)],_0x5f5219=_0x489864[_0x3b3081['charCodeAt'](_0x3dc32b+0x2)],_0x5cf9ac=_0x489864[_0x3b3081['charCodeAt'](_0x3dc32b+0x3)],_0x56d3a2[_0xd96fdf++]=_0x55b4f0<<0x2|_0x49ba20>>0x4,_0x56d3a2[_0xd96fdf++]=(0xf&_0x49ba20)<<0x4|_0x5f5219>>0x2,_0x56d3a2[_0xd96fdf++]=(0x3&_0x5f5219)<<0x6|0x3f&_0x5cf9ac;return _0x3a657f;},withNativeArrayBuffer$1='function'==typeof ArrayBuffer,decodePacket=(_0x3e8d79,_0x1f105c)=>{if('string'!=typeof _0x3e8d79)return{'type':'message','data':_0x34f154(_0x3e8d79,_0x1f105c)};const _0x47dcc8=_0x3e8d79['charAt'](0x0);if('b'===_0x47dcc8)return{'type':'message','data':decodeBase64Packet(_0x3e8d79['substring'](0x1),_0x1f105c)};return _0x879456[_0x47dcc8]?_0x3e8d79['length']>0x1?{'type':_0x879456[_0x47dcc8],'data':_0x3e8d79['substring'](0x1)}:{'type':_0x879456[_0x47dcc8]}:_0x1ca071;},decodeBase64Packet=(_0x230aaf,_0x3ffe92)=>{if(withNativeArrayBuffer$1){const _0x22becd=_0x22f95b(_0x230aaf);return _0x34f154(_0x22becd,_0x3ffe92);}return{'base64':!0x0,'data':_0x230aaf};},_0x34f154=(_0x4f03c4,_0x17461b)=>'blob'===_0x17461b?_0x4f03c4 instanceof Blob?_0x4f03c4:new Blob([_0x4f03c4]):_0x4f03c4 instanceof ArrayBuffer?_0x4f03c4:_0x4f03c4['buffer'],_0x1fa339=String['fromCharCode'](0x1e),_0x19fda7=(_0xb63a6d,_0x6bb28)=>{const _0x69ddc6=_0xb63a6d['length'],_0x50469d=new Array(_0x69ddc6);let _0x4007c8=0x0;_0xb63a6d['forEach']((_0x3880c7,_0x312edb)=>{encodePacket(_0x3880c7,!0x1,_0x58691d=>{_0x50469d[_0x312edb]=_0x58691d,++_0x4007c8===_0x69ddc6&&_0x6bb28(_0x50469d['join'](_0x1fa339));});});},_0x465bd8=(_0xf70bfe,_0x359962)=>{const _0x35df21=_0xf70bfe['split'](_0x1fa339),_0x3ab7f6=[];for(let _0x5598d5=0x0;_0x5598d5<_0x35df21['length'];_0x5598d5++){const _0x725ba5=decodePacket(_0x35df21[_0x5598d5],_0x359962);if(_0x3ab7f6['push'](_0x725ba5),'error'===_0x725ba5['type'])break;}return _0x3ab7f6;};function createPacketEncoderStream(){return new TransformStream({'transform'(_0x103585,_0x2147b4){encodePacketToBinary(_0x103585,_0x5d4d5e=>{const _0x10848f=_0x5d4d5e['length'];let _0x3a0d8a;if(_0x10848f<0x7e)_0x3a0d8a=new Uint8Array(0x1),new DataView(_0x3a0d8a['buffer'])['setUint8'](0x0,_0x10848f);else{if(_0x10848f<0x10000){_0x3a0d8a=new Uint8Array(0x3);const _0x50e6ef=new DataView(_0x3a0d8a['buffer']);_0x50e6ef['setUint8'](0x0,0x7e),_0x50e6ef['setUint16'](0x1,_0x10848f);}else{_0x3a0d8a=new Uint8Array(0x9);const _0x438b21=new DataView(_0x3a0d8a['buffer']);_0x438b21['setUint8'](0x0,0x7f),_0x438b21['setBigUint64'](0x1,BigInt(_0x10848f));}}_0x103585['data']&&'string'!=typeof _0x103585['data']&&(_0x3a0d8a[0x0]|=0x80),_0x2147b4['enqueue'](_0x3a0d8a),_0x2147b4['enqueue'](_0x5d4d5e);});}});}let _0x277ee4;function totalLength(_0x3460b4){return _0x3460b4['reduce']((_0x2b54f2,_0x245271)=>_0x2b54f2+_0x245271['length'],0x0);}function concatChunks(_0x202d7c,_0x228c5f){if(_0x202d7c[0x0]['length']===_0x228c5f)return _0x202d7c['shift']();const _0x4a3497=new Uint8Array(_0x228c5f);let _0x4220a5=0x0;for(let _0x24e10f=0x0;_0x24e10f<_0x228c5f;_0x24e10f++)_0x4a3497[_0x24e10f]=_0x202d7c[0x0][_0x4220a5++],_0x4220a5===_0x202d7c[0x0]['length']&&(_0x202d7c['shift'](),_0x4220a5=0x0);return _0x202d7c['length']&&_0x4220a5<_0x202d7c[0x0]['length']&&(_0x202d7c[0x0]=_0x202d7c[0x0]['slice'](_0x4220a5)),_0x4a3497;}function createPacketDecoderStream(_0x11425f,_0x7dedd4){_0x277ee4||(_0x277ee4=new TextDecoder());const _0x51e40f=[];let _0x31ff2f=0x0,_0x2e5a33=-0x1,_0x82dadc=!0x1;return new TransformStream({'transform'(_0xb29e14,_0x26ff7c){for(_0x51e40f['push'](_0xb29e14);;){if(0x0===_0x31ff2f){if(totalLength(_0x51e40f)<0x1)break;const _0x1c1f1e=concatChunks(_0x51e40f,0x1);_0x82dadc=!(0x80&~_0x1c1f1e[0x0]),_0x2e5a33=0x7f&_0x1c1f1e[0x0],_0x31ff2f=_0x2e5a33<0x7e?0x3:0x7e===_0x2e5a33?0x1:0x2;}else{if(0x1===_0x31ff2f){if(totalLength(_0x51e40f)<0x2)break;const _0xb54140=concatChunks(_0x51e40f,0x2);_0x2e5a33=new DataView(_0xb54140['buffer'],_0xb54140['byteOffset'],_0xb54140['length'])['getUint16'](0x0),_0x31ff2f=0x3;}else{if(0x2===_0x31ff2f){if(totalLength(_0x51e40f)<0x8)break;const _0x593908=concatChunks(_0x51e40f,0x8),_0x14911a=new DataView(_0x593908['buffer'],_0x593908['byteOffset'],_0x593908['length']),_0x3fad35=_0x14911a['getUint32'](0x0);if(_0x3fad35>Math['pow'](0x2,0x15)-0x1){_0x26ff7c['enqueue'](_0x1ca071);break;}_0x2e5a33=_0x3fad35*Math['pow'](0x2,0x20)+_0x14911a['getUint32'](0x4),_0x31ff2f=0x3;}else{if(totalLength(_0x51e40f)<_0x2e5a33)break;const _0x46d345=concatChunks(_0x51e40f,_0x2e5a33);_0x26ff7c['enqueue'](decodePacket(_0x82dadc?_0x46d345:_0x277ee4['decode'](_0x46d345),_0x7dedd4)),_0x31ff2f=0x0;}}}if(0x0===_0x2e5a33||_0x2e5a33>_0x11425f){_0x26ff7c['enqueue'](_0x1ca071);break;}}}});}const protocol$1=0x4;function Emitter(_0x393098){if(_0x393098)return _0x4af4e5(_0x393098);}function _0x4af4e5(_0x46eaa4){for(var _0x525726 in Emitter['prototype'])_0x46eaa4[_0x525726]=Emitter['prototype'][_0x525726];return _0x46eaa4;}Emitter['prototype']['on']=Emitter['prototype']['addEventListener']=function(_0x25be2c,_0x4c2ade){return this['_callbacks']=this['_callbacks']||{},(this['_callbacks']['$'+_0x25be2c]=this['_callbacks']['$'+_0x25be2c]||[])['push'](_0x4c2ade),this;},Emitter['prototype']['once']=function(_0x3aaa2d,_0x414a73){function _0x42409f(){this['off'](_0x3aaa2d,_0x42409f),_0x414a73['apply'](this,arguments);}return _0x42409f['fn']=_0x414a73,this['on'](_0x3aaa2d,_0x42409f),this;},Emitter['prototype']['off']=Emitter['prototype']['removeListener']=Emitter['prototype']['removeAllListeners']=Emitter['prototype']['removeEventListener']=function(_0x4b6998,_0x4d9b9f){if(this['_callbacks']=this['_callbacks']||{},0x0==arguments['length'])return this['_callbacks']={},this;var _0x558af7,_0x22e6dd=this['_callbacks']['$'+_0x4b6998];if(!_0x22e6dd)return this;if(0x1==arguments['length'])return delete this['_callbacks']['$'+_0x4b6998],this;for(var _0x43d315=0x0;_0x43d315<_0x22e6dd['length'];_0x43d315++)if((_0x558af7=_0x22e6dd[_0x43d315])===_0x4d9b9f||_0x558af7['fn']===_0x4d9b9f){_0x22e6dd['splice'](_0x43d315,0x1);break;}return 0x0===_0x22e6dd['length']&&delete this['_callbacks']['$'+_0x4b6998],this;},Emitter['prototype']['emit']=function(_0x423983){this['_callbacks']=this['_callbacks']||{};for(var _0x570989=new Array(arguments['length']-0x1),_0x5b8adb=this['_callbacks']['$'+_0x423983],_0x528e2f=0x1;_0x528e2f<arguments['length'];_0x528e2f++)_0x570989[_0x528e2f-0x1]=arguments[_0x528e2f];if(_0x5b8adb){_0x528e2f=0x0;for(var _0x7d8b02=(_0x5b8adb=_0x5b8adb['slice'](0x0))['length'];_0x528e2f<_0x7d8b02;++_0x528e2f)_0x5b8adb[_0x528e2f]['apply'](this,_0x570989);}return this;},Emitter['prototype']['emitReserved']=Emitter['prototype']['emit'],Emitter['prototype']['listeners']=function(_0x1d431c){return this['_callbacks']=this['_callbacks']||{},this['_callbacks']['$'+_0x1d431c]||[];},Emitter['prototype']['hasListeners']=function(_0x1c9970){return!!this['listeners'](_0x1c9970)['length'];};const _0x3f8255='undefined'!=typeof self?self:'undefined'!=typeof window?window:Function('return\x20this')();function _0x5c0d28(_0x3017d4,..._0x52189c){return _0x52189c['reduce']((_0x3c9eba,_0x1ab27f)=>(_0x3017d4['hasOwnProperty'](_0x1ab27f)&&(_0x3c9eba[_0x1ab27f]=_0x3017d4[_0x1ab27f]),_0x3c9eba),{});}const _0x5233d7=_0x3f8255['setTimeout'],_0x4b791f=_0x3f8255['clearTimeout'];function installTimerFunctions(_0x32a726,_0x2496e8){_0x2496e8['useNativeTimers']?(_0x32a726['setTimeoutFn']=_0x5233d7['bind'](_0x3f8255),_0x32a726['clearTimeoutFn']=_0x4b791f['bind'](_0x3f8255)):(_0x32a726['setTimeoutFn']=_0x3f8255['setTimeout']['bind'](_0x3f8255),_0x32a726['clearTimeoutFn']=_0x3f8255['clearTimeout']['bind'](_0x3f8255));}const _0x1c61c5=1.33;function byteLength(_0x34954e){return'string'==typeof _0x34954e?utf8Length(_0x34954e):Math['ceil']((_0x34954e['byteLength']||_0x34954e['size'])*_0x1c61c5);}function utf8Length(_0x5564f5){let _0x226c12=0x0,_0x228a07=0x0;for(let _0x4f2f10=0x0,_0x444b8b=_0x5564f5['length'];_0x4f2f10<_0x444b8b;_0x4f2f10++)_0x226c12=_0x5564f5['charCodeAt'](_0x4f2f10),_0x226c12<0x80?_0x228a07+=0x1:_0x226c12<0x800?_0x228a07+=0x2:_0x226c12<0xd800||_0x226c12>=0xe000?_0x228a07+=0x3:(_0x4f2f10++,_0x228a07+=0x4);return _0x228a07;}function _0x2be3f2(_0x5a423d){let _0x11a8e9='';for(let _0x13a197 in _0x5a423d)_0x5a423d['hasOwnProperty'](_0x13a197)&&(_0x11a8e9['length']&&(_0x11a8e9+='&'),_0x11a8e9+=encodeURIComponent(_0x13a197)+'='+encodeURIComponent(_0x5a423d[_0x13a197]));return _0x11a8e9;}function _0x1723ba(_0xc19a1e){let _0x477639={},_0x3ebe88=_0xc19a1e['split']('&');for(let _0x402b87=0x0,_0x5334a6=_0x3ebe88['length'];_0x402b87<_0x5334a6;_0x402b87++){let _0x1675e9=_0x3ebe88[_0x402b87]['split']('=');_0x477639[decodeURIComponent(_0x1675e9[0x0])]=decodeURIComponent(_0x1675e9[0x1]);}return _0x477639;}class TransportError extends Error{constructor(_0x1a3c9e,_0x5df80f,_0x14114e){super(_0x1a3c9e),this['description']=_0x5df80f,this['context']=_0x14114e,this['type']='TransportError';}}class Transport extends Emitter{constructor(_0x3316b9){super(),this['writable']=!0x1,installTimerFunctions(this,_0x3316b9),this['opts']=_0x3316b9,this['query']=_0x3316b9['query'],this['socket']=_0x3316b9['socket'];}['onError'](_0x1a689d,_0x4d792f,_0x4513ad){return super['emitReserved']('error',new TransportError(_0x1a689d,_0x4d792f,_0x4513ad)),this;}['open'](){return this['readyState']='opening',this['doOpen'](),this;}['close'](){return'opening'!==this['readyState']&&'open'!==this['readyState']||(this['doClose'](),this['onClose']()),this;}['send'](_0x57e21c){'open'===this['readyState']&&this['write'](_0x57e21c);}['onOpen'](){this['readyState']='open',this['writable']=!0x0,super['emitReserved']('open');}['onData'](_0x9b7309){const _0x13dbf1=decodePacket(_0x9b7309,this['socket']['binaryType']);this['onPacket'](_0x13dbf1);}['onPacket'](_0x40c29d){super['emitReserved']('packet',_0x40c29d);}['onClose'](_0x5e0430){this['readyState']='closed',super['emitReserved']('close',_0x5e0430);}['pause'](_0x11fa83){}['createUri'](_0x5108e9,_0x449cc9={}){return _0x5108e9+'://'+this['_hostname']()+this['_port']()+this['opts']['path']+this['_query'](_0x449cc9);}['_hostname'](){const _0x12cb39=this['opts']['hostname'];return-0x1===_0x12cb39['indexOf'](':')?_0x12cb39:'['+_0x12cb39+']';}['_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'](_0x27ed2c){const _0x140fe3=_0x2be3f2(_0x27ed2c);return _0x140fe3['length']?'?'+_0x140fe3:'';}}const alphabet='0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-_'['split'](''),length=0x40,_0x34a3af={};let _0x1e7a4d=0x0,_0x45176f=0x0,_0x2c4a2c;function _0x5416de(_0x57b19b){let _0x20aa28='';do{_0x20aa28=alphabet[_0x57b19b%length]+_0x20aa28,_0x57b19b=Math['floor'](_0x57b19b/length);}while(_0x57b19b>0x0);return _0x20aa28;}function yeast(){const _0x5567ec=_0x5416de(+new Date());return _0x5567ec!==_0x2c4a2c?(_0x1e7a4d=0x0,_0x2c4a2c=_0x5567ec):_0x5567ec+'.'+_0x5416de(_0x1e7a4d++);}for(;_0x45176f<length;_0x45176f++)_0x34a3af[alphabet[_0x45176f]]=_0x45176f;let _0x30e1a6=!0x1;try{_0x30e1a6='undefined'!=typeof XMLHttpRequest&&'withCredentials'in new XMLHttpRequest();}catch(_0x187993){}const _0x54703e=_0x30e1a6;function _0x3fb2f5(_0xe30eff){const _0x4f3421=_0xe30eff['xdomain'];try{if('undefined'!=typeof XMLHttpRequest&&(!_0x4f3421||_0x54703e))return new XMLHttpRequest();}catch(_0x56f068){}if(!_0x4f3421)try{return new _0x3f8255[(['Active']['concat']('Object')['join']('X'))]('Microsoft.XMLHTTP');}catch(_0x42cc63){}}function createCookieJar(){}function empty(){}const _0x20ee9c=null!=new _0x3fb2f5({'xdomain':!0x1})['responseType'];class _0x811121 extends Transport{constructor(_0x3638e6){if(super(_0x3638e6),this['polling']=!0x1,'undefined'!=typeof location){const _0x514184='https:'===location['protocol'];let _0x2ddb1a=location['port'];_0x2ddb1a||(_0x2ddb1a=_0x514184?'443':'80'),this['xd']='undefined'!=typeof location&&_0x3638e6['hostname']!==location['hostname']||_0x2ddb1a!==_0x3638e6['port'];}const _0x776da2=_0x3638e6&&_0x3638e6['forceBase64'];this['supportsBinary']=_0x20ee9c&&!_0x776da2,this['opts']['withCredentials']&&(this['cookieJar']=createCookieJar());}get['name'](){return'polling';}['doOpen'](){this['poll']();}['pause'](_0x847733){this['readyState']='pausing';const _0x167bf3=()=>{this['readyState']='paused',_0x847733();};if(this['polling']||!this['writable']){let _0x1bbc64=0x0;this['polling']&&(_0x1bbc64++,this['once']('pollComplete',function(){--_0x1bbc64||_0x167bf3();})),this['writable']||(_0x1bbc64++,this['once']('drain',function(){--_0x1bbc64||_0x167bf3();}));}else _0x167bf3();}['poll'](){this['polling']=!0x0,this['doPoll'](),this['emitReserved']('poll');}['onData'](_0x289619){_0x465bd8(_0x289619,this['socket']['binaryType'])['forEach'](_0x6dc055=>{if('opening'===this['readyState']&&'open'===_0x6dc055['type']&&this['onOpen'](),'close'===_0x6dc055['type'])return this['onClose']({'description':'transport\x20closed\x20by\x20the\x20server'}),!0x1;this['onPacket'](_0x6dc055);}),'closed'!==this['readyState']&&(this['polling']=!0x1,this['emitReserved']('pollComplete'),'open'===this['readyState']&&this['poll']());}['doClose'](){const _0x5423d0=()=>{this['write']([{'type':'close'}]);};'open'===this['readyState']?_0x5423d0():this['once']('open',_0x5423d0);}['write'](_0x4d1c2d){this['writable']=!0x1,_0x19fda7(_0x4d1c2d,_0x594813=>{this['doWrite'](_0x594813,()=>{this['writable']=!0x0,this['emitReserved']('drain');});});}['uri'](){const _0x266656=this['opts']['secure']?'https':'http',_0x5d1e4f=this['query']||{};return!0x1!==this['opts']['timestampRequests']&&(_0x5d1e4f[this['opts']['timestampParam']]=yeast()),this['supportsBinary']||_0x5d1e4f['sid']||(_0x5d1e4f['b64']=0x1),this['createUri'](_0x266656,_0x5d1e4f);}['request'](_0x5373dc={}){return Object['assign'](_0x5373dc,{'xd':this['xd'],'cookieJar':this['cookieJar']},this['opts']),new Request$1(this['uri'](),_0x5373dc);}['doWrite'](_0x1165b1,_0x1cca88){const _0x1dac04=this['request']({'method':'POST','data':_0x1165b1});_0x1dac04['on']('success',_0x1cca88),_0x1dac04['on']('error',(_0x40c92c,_0x53a77c)=>{this['onError']('xhr\x20post\x20error',_0x40c92c,_0x53a77c);});}['doPoll'](){const _0x1c5efc=this['request']();_0x1c5efc['on']('data',this['onData']['bind'](this)),_0x1c5efc['on']('error',(_0xdfbb85,_0x96c27c)=>{this['onError']('xhr\x20poll\x20error',_0xdfbb85,_0x96c27c);}),this['pollXhr']=_0x1c5efc;}}let Request$1=class _0x224812 extends Emitter{constructor(_0x57d3af,_0x3f7145){super(),installTimerFunctions(this,_0x3f7145),this['opts']=_0x3f7145,this['method']=_0x3f7145['method']||'GET',this['uri']=_0x57d3af,this['data']=void 0x0!==_0x3f7145['data']?_0x3f7145['data']:null,this['create']();}['create'](){var _0x2b8179;const _0x21bebd=_0x5c0d28(this['opts'],'agent','pfx','key','passphrase','cert','ca','ciphers','rejectUnauthorized','autoUnref');_0x21bebd['xdomain']=!!this['opts']['xd'];const _0x41acb8=this['xhr']=new _0x3fb2f5(_0x21bebd);try{_0x41acb8['open'](this['method'],this['uri'],!0x0);try{if(this['opts']['extraHeaders']){_0x41acb8['setDisableHeaderCheck']&&_0x41acb8['setDisableHeaderCheck'](!0x0);for(let _0x304010 in this['opts']['extraHeaders'])this['opts']['extraHeaders']['hasOwnProperty'](_0x304010)&&_0x41acb8['setRequestHeader'](_0x304010,this['opts']['extraHeaders'][_0x304010]);}}catch(_0x4f7f05){}if('POST'===this['method'])try{_0x41acb8['setRequestHeader']('Content-type','text/plain;charset=UTF-8');}catch(_0x4e51de){}try{_0x41acb8['setRequestHeader']('Accept','*/*');}catch(_0x50ea0f){}null===(_0x2b8179=this['opts']['cookieJar'])||void 0x0===_0x2b8179||_0x2b8179['addCookies'](_0x41acb8),'withCredentials'in _0x41acb8&&(_0x41acb8['withCredentials']=this['opts']['withCredentials']),this['opts']['requestTimeout']&&(_0x41acb8['timeout']=this['opts']['requestTimeout']),_0x41acb8['onreadystatechange']=()=>{var _0x1ce89d;0x3===_0x41acb8['readyState']&&(null===(_0x1ce89d=this['opts']['cookieJar'])||void 0x0===_0x1ce89d||_0x1ce89d['parseCookies'](_0x41acb8)),0x4===_0x41acb8['readyState']&&(0xc8===_0x41acb8['status']||0x4c7===_0x41acb8['status']?this['onLoad']():this['setTimeoutFn'](()=>{this['onError']('number'==typeof _0x41acb8['status']?_0x41acb8['status']:0x0);},0x0));},_0x41acb8['send'](this['data']);}catch(_0x5dec64){return void this['setTimeoutFn'](()=>{this['onError'](_0x5dec64);},0x0);}'undefined'!=typeof document&&(this['index']=_0x224812['requestsCount']++,_0x224812['requests'][this['index']]=this);}['onError'](_0x439361){this['emitReserved']('error',_0x439361,this['xhr']),this['cleanup'](!0x0);}['cleanup'](_0x50bc41){if(void 0x0!==this['xhr']&&null!==this['xhr']){if(this['xhr']['onreadystatechange']=empty,_0x50bc41)try{this['xhr']['abort']();}catch(_0x5792cc){}'undefined'!=typeof document&&delete _0x224812['requests'][this['index']],this['xhr']=null;}}['onLoad'](){const _0x27ed3b=this['xhr']['responseText'];null!==_0x27ed3b&&(this['emitReserved']('data',_0x27ed3b),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',_0x38114b);else{if('function'==typeof addEventListener){const _0x4a9f05='onpagehide'in _0x3f8255?'pagehide':'unload';addEventListener(_0x4a9f05,_0x38114b,!0x1);}}}function _0x38114b(){for(let _0x3c8925 in Request$1['requests'])Request$1['requests']['hasOwnProperty'](_0x3c8925)&&Request$1['requests'][_0x3c8925]['abort']();}const nextTick='function'==typeof Promise&&'function'==typeof Promise['resolve']?_0x57dbb1=>Promise['resolve']()['then'](_0x57dbb1):(_0x1d6e45,_0x399a19)=>_0x399a19(_0x1d6e45,0x0),WebSocket$2=_0x3f8255['WebSocket']||_0x3f8255['MozWebSocket'],usingBrowserWebSocket=!0x0,defaultBinaryType='arraybuffer',isReactNative='undefined'!=typeof navigator&&'string'==typeof navigator['product']&&'reactnative'===navigator['product']['toLowerCase']();class _0x4fba68 extends Transport{constructor(_0x2d5d5b){super(_0x2d5d5b),this['supportsBinary']=!_0x2d5d5b['forceBase64'];}get['name'](){return'websocket';}['doOpen'](){if(!this['check']())return;const _0x2bae78=this['uri'](),_0x5d3d70=this['opts']['protocols'],_0x3e8825=isReactNative?{}:_0x5c0d28(this['opts'],'agent','perMessageDeflate','pfx','key','passphrase','cert','ca','ciphers','rejectUnauthorized','localAddress','protocolVersion','origin','maxPayload','family','checkServerIdentity');this['opts']['extraHeaders']&&(_0x3e8825['headers']=this['opts']['extraHeaders']);try{this['ws']=usingBrowserWebSocket&&!isReactNative?_0x5d3d70?new WebSocket$2(_0x2bae78,_0x5d3d70):new WebSocket$2(_0x2bae78):new WebSocket$2(_0x2bae78,_0x5d3d70,_0x3e8825);}catch(_0xab8607){return this['emitReserved']('error',_0xab8607);}this['ws']['binaryType']=this['socket']['binaryType'],this['addEventListeners']();}['addEventListeners'](){this['ws']['onopen']=()=>{this['opts']['autoUnref']&&this['ws']['_socket']['unref'](),this['onOpen']();},this['ws']['onclose']=_0x3fa68d=>this['onClose']({'description':'websocket\x20connection\x20closed','context':_0x3fa68d}),this['ws']['onmessage']=_0x3d8b34=>this['onData'](_0x3d8b34['data']),this['ws']['onerror']=_0x2ecdb8=>this['onError']('websocket\x20error',_0x2ecdb8);}['write'](_0x426787){this['writable']=!0x1;for(let _0x50bc40=0x0;_0x50bc40<_0x426787['length'];_0x50bc40++){const _0x1263c7=_0x426787[_0x50bc40],_0x265572=_0x50bc40===_0x426787['length']-0x1;encodePacket(_0x1263c7,this['supportsBinary'],_0xe7247d=>{try{usingBrowserWebSocket&&this['ws']['send'](_0xe7247d);}catch(_0x1c98d8){}_0x265572&&nextTick(()=>{this['writable']=!0x0,this['emitReserved']('drain');},this['setTimeoutFn']);});}}['doClose'](){void 0x0!==this['ws']&&(this['ws']['close'](),this['ws']=null);}['uri'](){const _0x4c795a=this['opts']['secure']?'wss':'ws',_0x138c6d=this['query']||{};return this['opts']['timestampRequests']&&(_0x138c6d[this['opts']['timestampParam']]=yeast()),this['supportsBinary']||(_0x138c6d['b64']=0x1),this['createUri'](_0x4c795a,_0x138c6d);}['check'](){return!!WebSocket$2;}}class _0x5a52e6 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'](_0x3ac13c=>{this['onError']('webtransport\x20error',_0x3ac13c);}),this['transport']['ready']['then'](()=>{this['transport']['createBidirectionalStream']()['then'](_0xc0c5ed=>{const _0x33f95d=createPacketDecoderStream(Number['MAX_SAFE_INTEGER'],this['socket']['binaryType']),_0x287db9=_0xc0c5ed['readable']['pipeThrough'](_0x33f95d)['getReader'](),_0x5be6e6=createPacketEncoderStream();_0x5be6e6['readable']['pipeTo'](_0xc0c5ed['writable']),this['writer']=_0x5be6e6['writable']['getWriter']();const _0x24c632=()=>{_0x287db9['read']()['then'](({done:_0x31a485,value:_0x2e16c2})=>{_0x31a485||(this['onPacket'](_0x2e16c2),_0x24c632());})['catch'](_0x557183=>{});};_0x24c632();const _0x1fe41b={'type':'open'};this['query']['sid']&&(_0x1fe41b['data']='{\x22sid\x22:\x22'+this['query']['sid']+'\x22}'),this['writer']['write'](_0x1fe41b)['then'](()=>this['onOpen']());});}));}['write'](_0x21d3e0){this['writable']=!0x1;for(let _0x3717a4=0x0;_0x3717a4<_0x21d3e0['length'];_0x3717a4++){const _0x1ffa23=_0x21d3e0[_0x3717a4],_0x2e7c49=_0x3717a4===_0x21d3e0['length']-0x1;this['writer']['write'](_0x1ffa23)['then'](()=>{_0x2e7c49&&nextTick(()=>{this['writable']=!0x0,this['emitReserved']('drain');},this['setTimeoutFn']);});}}['doClose'](){var _0x2357f1;null===(_0x2357f1=this['transport'])||void 0x0===_0x2357f1||_0x2357f1['close']();}}const transports={'websocket':_0x4fba68,'webtransport':_0x5a52e6,'polling':_0x811121},_0x9de1dd=/^(?:(?![^:@\/?#]+:[^:@\/]*@)(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 _0x2cd822(_0xbed889){if(_0xbed889['length']>0x7d0)throw'URI\x20too\x20long';const _0x206cff=_0xbed889,_0x58b9ad=_0xbed889['indexOf']('['),_0x46a3ae=_0xbed889['indexOf'](']');-0x1!=_0x58b9ad&&-0x1!=_0x46a3ae&&(_0xbed889=_0xbed889['substring'](0x0,_0x58b9ad)+_0xbed889['substring'](_0x58b9ad,_0x46a3ae)['replace'](/:/g,';')+_0xbed889['substring'](_0x46a3ae,_0xbed889['length']));let _0x2edf35=_0x9de1dd['exec'](_0xbed889||''),_0x58466b={},_0x5d4a89=0xe;for(;_0x5d4a89--;)_0x58466b[parts[_0x5d4a89]]=_0x2edf35[_0x5d4a89]||'';return-0x1!=_0x58b9ad&&-0x1!=_0x46a3ae&&(_0x58466b['source']=_0x206cff,_0x58466b['host']=_0x58466b['host']['substring'](0x1,_0x58466b['host']['length']-0x1)['replace'](/;/g,':'),_0x58466b['authority']=_0x58466b['authority']['replace']('[','')['replace'](']','')['replace'](/;/g,':'),_0x58466b['ipv6uri']=!0x0),_0x58466b['pathNames']=pathNames(_0x58466b,_0x58466b['path']),_0x58466b['queryKey']=_0x1f2ac1(_0x58466b,_0x58466b['query']),_0x58466b;}function pathNames(_0x3f270d,_0x12414c){const _0x2ec45a=_0x12414c['replace'](/\/{2,9}/g,'/')['split']('/');return'/'!=_0x12414c['slice'](0x0,0x1)&&0x0!==_0x12414c['length']||_0x2ec45a['splice'](0x0,0x1),'/'==_0x12414c['slice'](-0x1)&&_0x2ec45a['splice'](_0x2ec45a['length']-0x1,0x1),_0x2ec45a;}function _0x1f2ac1(_0x2a6aa5,_0x2b9af9){const _0x355c5b={};return _0x2b9af9['replace'](/(?:^|&)([^&=]*)=?([^&]*)/g,function(_0x23a7b1,_0xef32cd,_0x22e1cb){_0xef32cd&&(_0x355c5b[_0xef32cd]=_0x22e1cb);}),_0x355c5b;}let Socket$1=class _0x5daef3 extends Emitter{constructor(_0x5cfc1d,_0x46c8a8={}){super(),this['binaryType']=defaultBinaryType,this['writeBuffer']=[],_0x5cfc1d&&'object'==typeof _0x5cfc1d&&(_0x46c8a8=_0x5cfc1d,_0x5cfc1d=null),_0x5cfc1d?(_0x5cfc1d=_0x2cd822(_0x5cfc1d),_0x46c8a8['hostname']=_0x5cfc1d['host'],_0x46c8a8['secure']='https'===_0x5cfc1d['protocol']||'wss'===_0x5cfc1d['protocol'],_0x46c8a8['port']=_0x5cfc1d['port'],_0x5cfc1d['query']&&(_0x46c8a8['query']=_0x5cfc1d['query'])):_0x46c8a8['host']&&(_0x46c8a8['hostname']=_0x2cd822(_0x46c8a8['host'])['host']),installTimerFunctions(this,_0x46c8a8),this['secure']=null!=_0x46c8a8['secure']?_0x46c8a8['secure']:'undefined'!=typeof location&&'https:'===location['protocol'],_0x46c8a8['hostname']&&!_0x46c8a8['port']&&(_0x46c8a8['port']=this['secure']?'443':'80'),this['hostname']=_0x46c8a8['hostname']||('undefined'!=typeof location?location['hostname']:'localhost'),this['port']=_0x46c8a8['port']||('undefined'!=typeof location&&location['port']?location['port']:this['secure']?'443':'80'),this['transports']=_0x46c8a8['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},_0x46c8a8),this['opts']['path']=this['opts']['path']['replace'](/\/$/,'')+(this['opts']['addTrailingSlash']?'/':''),'string'==typeof this['opts']['query']&&(this['opts']['query']=_0x1723ba(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'](_0x335f75){const _0x256a65=Object['assign']({},this['opts']['query']);_0x256a65['EIO']=protocol$1,_0x256a65['transport']=_0x335f75,this['id']&&(_0x256a65['sid']=this['id']);const _0x54c104=Object['assign']({},this['opts'],{'query':_0x256a65,'socket':this,'hostname':this['hostname'],'secure':this['secure'],'port':this['port']},this['opts']['transportOptions'][_0x335f75]);return new transports[_0x335f75](_0x54c104);}['open'](){let _0x277a30;if(this['opts']['rememberUpgrade']&&_0x5daef3['priorWebsocketSuccess']&&-0x1!==this['transports']['indexOf']('websocket'))_0x277a30='websocket';else{if(0x0===this['transports']['length'])return void this['setTimeoutFn'](()=>{this['emitReserved']('error','No\x20transports\x20available');},0x0);_0x277a30=this['transports'][0x0];}this['readyState']='opening';try{_0x277a30=this['createTransport'](_0x277a30);}catch(_0x10ca27){return this['transports']['shift'](),void this['open']();}_0x277a30['open'](),this['setTransport'](_0x277a30);}['setTransport'](_0x451d74){this['transport']&&this['transport']['removeAllListeners'](),this['transport']=_0x451d74,_0x451d74['on']('drain',this['onDrain']['bind'](this))['on']('packet',this['onPacket']['bind'](this))['on']('error',this['onError']['bind'](this))['on']('close',_0x2e19ec=>this['onClose']('transport\x20close',_0x2e19ec));}['probe'](_0x18972a){let _0x46883d=this['createTransport'](_0x18972a),_0x16fa1a=!0x1;_0x5daef3['priorWebsocketSuccess']=!0x1;const _0x288b4e=()=>{_0x16fa1a||(_0x46883d['send']([{'type':'ping','data':'probe'}]),_0x46883d['once']('packet',_0x903601=>{if(!_0x16fa1a){if('pong'===_0x903601['type']&&'probe'===_0x903601['data']){if(this['upgrading']=!0x0,this['emitReserved']('upgrading',_0x46883d),!_0x46883d)return;_0x5daef3['priorWebsocketSuccess']='websocket'===_0x46883d['name'],this['transport']['pause'](()=>{_0x16fa1a||'closed'!==this['readyState']&&(_0x1f868f(),this['setTransport'](_0x46883d),_0x46883d['send']([{'type':'upgrade'}]),this['emitReserved']('upgrade',_0x46883d),_0x46883d=null,this['upgrading']=!0x1,this['flush']());});}else{const _0x112612=new Error('probe\x20error');_0x112612['transport']=_0x46883d['name'],this['emitReserved']('upgradeError',_0x112612);}}}));};function _0x2be51d(){_0x16fa1a||(_0x16fa1a=!0x0,_0x1f868f(),_0x46883d['close'](),_0x46883d=null);}const _0x1ad904=_0x2c27fa=>{const _0x34eaa5=new Error('probe\x20error:\x20'+_0x2c27fa);_0x34eaa5['transport']=_0x46883d['name'],_0x2be51d(),this['emitReserved']('upgradeError',_0x34eaa5);};function _0x473442(){_0x1ad904('transport\x20closed');}function _0x3ee489(){_0x1ad904('socket\x20closed');}function _0x55dfff(_0x19906d){_0x46883d&&_0x19906d['name']!==_0x46883d['name']&&_0x2be51d();}const _0x1f868f=()=>{_0x46883d['removeListener']('open',_0x288b4e),_0x46883d['removeListener']('error',_0x1ad904),_0x46883d['removeListener']('close',_0x473442),this['off']('close',_0x3ee489),this['off']('upgrading',_0x55dfff);};_0x46883d['once']('open',_0x288b4e),_0x46883d['once']('error',_0x1ad904),_0x46883d['once']('close',_0x473442),this['once']('close',_0x3ee489),this['once']('upgrading',_0x55dfff),-0x1!==this['upgrades']['indexOf']('webtransport')&&'webtransport'!==_0x18972a?this['setTimeoutFn'](()=>{_0x16fa1a||_0x46883d['open']();},0xc8):_0x46883d['open']();}['onOpen'](){if(this['readyState']='open',_0x5daef3['priorWebsocketSuccess']='websocket'===this['transport']['name'],this['emitReserved']('open'),this['flush'](),'open'===this['readyState']&&this['opts']['upgrade']){let _0x34cf4e=0x0;const _0x3d74ae=this['upgrades']['length'];for(;_0x34cf4e<_0x3d74ae;_0x34cf4e++)this['probe'](this['upgrades'][_0x34cf4e]);}}['onPacket'](_0x3481f4){if('opening'===this['readyState']||'open'===this['readyState']||'closing'===this['readyState'])switch(this['emitReserved']('packet',_0x3481f4),this['emitReserved']('heartbeat'),this['resetPingTimeout'](),_0x3481f4['type']){case'open':this['onHandshake'](JSON['parse'](_0x3481f4['data']));break;case'ping':this['sendPacket']('pong'),this['emitReserved']('ping'),this['emitReserved']('pong');break;case'error':const _0x5dee33=new Error('server\x20error');_0x5dee33['code']=_0x3481f4['data'],this['onError'](_0x5dee33);break;case'message':this['emitReserved']('data',_0x3481f4['data']),this['emitReserved']('message',_0x3481f4['data']);}}['onHandshake'](_0x3acdf4){this['emitReserved']('handshake',_0x3acdf4),this['id']=_0x3acdf4['sid'],this['transport']['query']['sid']=_0x3acdf4['sid'],this['upgrades']=this['filterUpgrades'](_0x3acdf4['upgrades']),this['pingInterval']=_0x3acdf4['pingInterval'],this['pingTimeout']=_0x3acdf4['pingTimeout'],this['maxPayload']=_0x3acdf4['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 _0x4b7bc3=this['getWritablePackets']();this['transport']['send'](_0x4b7bc3),this['prevBufferLen']=_0x4b7bc3['length'],this['emitReserved']('flush');}}['getWritablePackets'](){if(!(this['maxPayload']&&'polling'===this['transport']['name']&&this['writeBuffer']['length']>0x1))return this['writeBuffer'];let _0x16cd18=0x1;for(let _0x3ea8a9=0x0;_0x3ea8a9<this['writeBuffer']['length'];_0x3ea8a9++){const _0xb38033=this['writeBuffer'][_0x3ea8a9]['data'];if(_0xb38033&&(_0x16cd18+=byteLength(_0xb38033)),_0x3ea8a9>0x0&&_0x16cd18>this['maxPayload'])return this['writeBuffer']['slice'](0x0,_0x3ea8a9);_0x16cd18+=0x2;}return this['writeBuffer'];}['write'](_0x348b3b,_0x3a5431,_0x3ced23){return this['sendPacket']('message',_0x348b3b,_0x3a5431,_0x3ced23),this;}['send'](_0x16f7bb,_0x159306,_0x326e0a){return this['sendPacket']('message',_0x16f7bb,_0x159306,_0x326e0a),this;}['sendPacket'](_0x56b69b,_0x2c5792,_0x48aa95,_0x564eb5){if('function'==typeof _0x2c5792&&(_0x564eb5=_0x2c5792,_0x2c5792=void 0x0),'function'==typeof _0x48aa95&&(_0x564eb5=_0x48aa95,_0x48aa95=null),'closing'===this['readyState']||'closed'===this['readyState'])return;(_0x48aa95=_0x48aa95||{})['compress']=!0x1!==_0x48aa95['compress'];const _0x232908={'type':_0x56b69b,'data':_0x2c5792,'options':_0x48aa95};this['emitReserved']('packetCreate',_0x232908),this['writeBuffer']['push'](_0x232908),_0x564eb5&&this['once']('flush',_0x564eb5),this['flush']();}['close'](){const _0x1eb181=()=>{this['onClose']('forced\x20close'),this['transport']['close']();},_0x5219e6=()=>{this['off']('upgrade',_0x5219e6),this['off']('upgradeError',_0x5219e6),_0x1eb181();},_0x5301e8=()=>{this['once']('upgrade',_0x5219e6),this['once']('upgradeError',_0x5219e6);};return'opening'!==this['readyState']&&'open'!==this['readyState']||(this['readyState']='closing',this['writeBuffer']['length']?this['once']('drain',()=>{this['upgrading']?_0x5301e8():_0x1eb181();}):this['upgrading']?_0x5301e8():_0x1eb181()),this;}['onError'](_0x85affc){_0x5daef3['priorWebsocketSuccess']=!0x1,this['emitReserved']('error',_0x85affc),this['onClose']('transport\x20error',_0x85affc);}['onClose'](_0x466d1b,_0x2ef59b){'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',_0x466d1b,_0x2ef59b),this['writeBuffer']=[],this['prevBufferLen']=0x0);}['filterUpgrades'](_0x2776c6){const _0x376ef6=[];let _0xe33725=0x0;const _0x36f541=_0x2776c6['length'];for(;_0xe33725<_0x36f541;_0xe33725++)~this['transports']['indexOf'](_0x2776c6[_0xe33725])&&_0x376ef6['push'](_0x2776c6[_0xe33725]);return _0x376ef6;}};function _0x59f18f(_0xc2008e,_0x5ceff7='',_0x560c5b){let _0x5d6c60=_0xc2008e;_0x560c5b=_0x560c5b||'undefined'!=typeof location&&location,null==_0xc2008e&&(_0xc2008e=_0x560c5b['protocol']+'//'+_0x560c5b['host']),'string'==typeof _0xc2008e&&('/'===_0xc2008e['charAt'](0x0)&&(_0xc2008e='/'===_0xc2008e['charAt'](0x1)?_0x560c5b['protocol']+_0xc2008e:_0x560c5b['host']+_0xc2008e),/^(https?|wss?):\/\//['test'](_0xc2008e)||(_0xc2008e=void 0x0!==_0x560c5b?_0x560c5b['protocol']+'//'+_0xc2008e:'https://'+_0xc2008e),_0x5d6c60=_0x2cd822(_0xc2008e)),_0x5d6c60['port']||(/^(http|ws)$/['test'](_0x5d6c60['protocol'])?_0x5d6c60['port']='80':/^(http|ws)s$/['test'](_0x5d6c60['protocol'])&&(_0x5d6c60['port']='443')),_0x5d6c60['path']=_0x5d6c60['path']||'/';const _0x51517c=-0x1!==_0x5d6c60['host']['indexOf'](':')?'['+_0x5d6c60['host']+']':_0x5d6c60['host'];return _0x5d6c60['id']=_0x5d6c60['protocol']+'://'+_0x51517c+':'+_0x5d6c60['port']+_0x5ceff7,_0x5d6c60['href']=_0x5d6c60['protocol']+'://'+_0x51517c+(_0x560c5b&&_0x560c5b['port']===_0x5d6c60['port']?'':':'+_0x5d6c60['port']),_0x5d6c60;}Socket$1['protocol']=protocol$1;const withNativeArrayBuffer='function'==typeof ArrayBuffer,_0xc259ff=_0x248fc1=>'function'==typeof ArrayBuffer['isView']?ArrayBuffer['isView'](_0x248fc1):_0x248fc1['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 _0xb92ee(_0x25108f){return withNativeArrayBuffer&&(_0x25108f instanceof ArrayBuffer||_0xc259ff(_0x25108f))||withNativeBlob&&_0x25108f instanceof Blob||withNativeFile&&_0x25108f instanceof File;}function _0x164363(_0x2e4626,_0x386b00){if(!_0x2e4626||'object'!=typeof _0x2e4626)return!0x1;if(Array['isArray'](_0x2e4626)){for(let _0x56cdb0=0x0,_0x92a4b7=_0x2e4626['length'];_0x56cdb0<_0x92a4b7;_0x56cdb0++)if(_0x164363(_0x2e4626[_0x56cdb0]))return!0x0;return!0x1;}if(_0xb92ee(_0x2e4626))return!0x0;if(_0x2e4626['toJSON']&&'function'==typeof _0x2e4626['toJSON']&&0x1===arguments['length'])return _0x164363(_0x2e4626['toJSON'](),!0x0);for(const _0x22238f in _0x2e4626)if(Object['prototype']['hasOwnProperty']['call'](_0x2e4626,_0x22238f)&&_0x164363(_0x2e4626[_0x22238f]))return!0x0;return!0x1;}function deconstructPacket(_0x2ed588){const _0x1b8767=[],_0x1b2a13=_0x2ed588['data'],_0x2c4c5b=_0x2ed588;return _0x2c4c5b['data']=_deconstructPacket(_0x1b2a13,_0x1b8767),_0x2c4c5b['attachments']=_0x1b8767['length'],{'packet':_0x2c4c5b,'buffers':_0x1b8767};}function _deconstructPacket(_0x40fd7e,_0x3f4ef9){if(!_0x40fd7e)return _0x40fd7e;if(_0xb92ee(_0x40fd7e)){const _0x5acc60={'_placeholder':!0x0,'num':_0x3f4ef9['length']};return _0x3f4ef9['push'](_0x40fd7e),_0x5acc60;}if(Array['isArray'](_0x40fd7e)){const _0x144712=new Array(_0x40fd7e['length']);for(let _0x54d511=0x0;_0x54d511<_0x40fd7e['length'];_0x54d511++)_0x144712[_0x54d511]=_deconstructPacket(_0x40fd7e[_0x54d511],_0x3f4ef9);return _0x144712;}if('object'==typeof _0x40fd7e&&!(_0x40fd7e instanceof Date)){const _0x6b814={};for(const _0x49d567 in _0x40fd7e)Object['prototype']['hasOwnProperty']['call'](_0x40fd7e,_0x49d567)&&(_0x6b814[_0x49d567]=_deconstructPacket(_0x40fd7e[_0x49d567],_0x3f4ef9));return _0x6b814;}return _0x40fd7e;}function reconstructPacket(_0x57b9fc,_0x100d46){return _0x57b9fc['data']=_reconstructPacket(_0x57b9fc['data'],_0x100d46),delete _0x57b9fc['attachments'],_0x57b9fc;}function _reconstructPacket(_0x77e6fe,_0x78524c){if(!_0x77e6fe)return _0x77e6fe;if(_0x77e6fe&&!0x0===_0x77e6fe['_placeholder']){if('number'==typeof _0x77e6fe['num']&&_0x77e6fe['num']>=0x0&&_0x77e6fe['num']<_0x78524c['length'])return _0x78524c[_0x77e6fe['num']];throw new Error('illegal\x20attachments');}if(Array['isArray'](_0x77e6fe)){for(let _0x14e33d=0x0;_0x14e33d<_0x77e6fe['length'];_0x14e33d++)_0x77e6fe[_0x14e33d]=_reconstructPacket(_0x77e6fe[_0x14e33d],_0x78524c);}else{if('object'==typeof _0x77e6fe){for(const _0x3e8929 in _0x77e6fe)Object['prototype']['hasOwnProperty']['call'](_0x77e6fe,_0x3e8929)&&(_0x77e6fe[_0x3e8929]=_reconstructPacket(_0x77e6fe[_0x3e8929],_0x78524c));}}return _0x77e6fe;}const _0x133c6c=['connect','connect_error','disconnect','disconnecting','newListener','removeListener'],protocol=0x5;var PacketType;!function(_0xb78b4c){_0xb78b4c[_0xb78b4c['CONNECT']=0x0]='CONNECT',_0xb78b4c[_0xb78b4c['DISCONNECT']=0x1]='DISCONNECT',_0xb78b4c[_0xb78b4c['EVENT']=0x2]='EVENT',_0xb78b4c[_0xb78b4c['ACK']=0x3]='ACK',_0xb78b4c[_0xb78b4c['CONNECT_ERROR']=0x4]='CONNECT_ERROR',_0xb78b4c[_0xb78b4c['BINARY_EVENT']=0x5]='BINARY_EVENT',_0xb78b4c[_0xb78b4c['BINARY_ACK']=0x6]='BINARY_ACK';}(PacketType||(PacketType={}));let _0x1f283b=class{constructor(_0x34df15){this['replacer']=_0x34df15;}['encode'](_0x3ed650){return _0x3ed650['type']!==PacketType['EVENT']&&_0x3ed650['type']!==PacketType['ACK']||!_0x164363(_0x3ed650)?[this['encodeAsString'](_0x3ed650)]:this['encodeAsBinary']({'type':_0x3ed650['type']===PacketType['EVENT']?PacketType['BINARY_EVENT']:PacketType['BINARY_ACK'],'nsp':_0x3ed650['nsp'],'data':_0x3ed650['data'],'id':_0x3ed650['id']});}['encodeAsString'](_0x4e8264){let _0x23474d=''+_0x4e8264['type'];return _0x4e8264['type']!==PacketType['BINARY_EVENT']&&_0x4e8264['type']!==PacketType['BINARY_ACK']||(_0x23474d+=_0x4e8264['attachments']+'-'),_0x4e8264['nsp']&&'/'!==_0x4e8264['nsp']&&(_0x23474d+=_0x4e8264['nsp']+','),null!=_0x4e8264['id']&&(_0x23474d+=_0x4e8264['id']),null!=_0x4e8264['data']&&(_0x23474d+=JSON['stringify'](_0x4e8264['data'],this['replacer'])),_0x23474d;}['encodeAsBinary'](_0xe2a550){const _0x2664fe=deconstructPacket(_0xe2a550),_0x89a639=this['encodeAsString'](_0x2664fe['packet']),_0x18de4a=_0x2664fe['buffers'];return _0x18de4a['unshift'](_0x89a639),_0x18de4a;}};function isObject$2(_0x36efa8){return'[object\x20Object]'===Object['prototype']['toString']['call'](_0x36efa8);}let _0x332042=class _0x196c11 extends Emitter{constructor(_0x23b343){super(),this['reviver']=_0x23b343;}['add'](_0x212c6b){let _0xbb9c50;if('string'==typeof _0x212c6b){if(this['reconstructor'])throw new Error('got\x20plaintext\x20data\x20when\x20reconstructing\x20a\x20packet');_0xbb9c50=this['decodeString'](_0x212c6b);const _0x4e1330=_0xbb9c50['type']===PacketType['BINARY_EVENT'];_0x4e1330||_0xbb9c50['type']===PacketType['BINARY_ACK']?(_0xbb9c50['type']=_0x4e1330?PacketType['EVENT']:PacketType['ACK'],this['reconstructor']=new BinaryReconstructor(_0xbb9c50),0x0===_0xbb9c50['attachments']&&super['emitReserved']('decoded',_0xbb9c50)):super['emitReserved']('decoded',_0xbb9c50);}else{if(!_0xb92ee(_0x212c6b)&&!_0x212c6b['base64'])throw new Error('Unknown\x20type:\x20'+_0x212c6b);if(!this['reconstructor'])throw new Error('got\x20binary\x20data\x20when\x20not\x20reconstructing\x20a\x20packet');_0xbb9c50=this['reconstructor']['takeBinaryData'](_0x212c6b),_0xbb9c50&&(this['reconstructor']=null,super['emitReserved']('decoded',_0xbb9c50));}}['decodeString'](_0x10d451){let _0x278d8a=0x0;const _0x545feb={'type':Number(_0x10d451['charAt'](0x0))};if(void 0x0===PacketType[_0x545feb['type']])throw new Error('unknown\x20packet\x20type\x20'+_0x545feb['type']);if(_0x545feb['type']===PacketType['BINARY_EVENT']||_0x545feb['type']===PacketType['BINARY_ACK']){const _0x4d5697=_0x278d8a+0x1;for(;'-'!==_0x10d451['charAt'](++_0x278d8a)&&_0x278d8a!=_0x10d451['length'];);const _0x4ca173=_0x10d451['substring'](_0x4d5697,_0x278d8a);if(_0x4ca173!=Number(_0x4ca173)||'-'!==_0x10d451['charAt'](_0x278d8a))throw new Error('Illegal\x20attachments');_0x545feb['attachments']=Number(_0x4ca173);}if('/'===_0x10d451['charAt'](_0x278d8a+0x1)){const _0x3638d1=_0x278d8a+0x1;for(;++_0x278d8a;){if(','===_0x10d451['charAt'](_0x278d8a))break;if(_0x278d8a===_0x10d451['length'])break;}_0x545feb['nsp']=_0x10d451['substring'](_0x3638d1,_0x278d8a);}else _0x545feb['nsp']='/';const _0x4e2a4d=_0x10d451['charAt'](_0x278d8a+0x1);if(''!==_0x4e2a4d&&Number(_0x4e2a4d)==_0x4e2a4d){const _0x921774=_0x278d8a+0x1;for(;++_0x278d8a;){const _0xa51f2b=_0x10d451['charAt'](_0x278d8a);if(null==_0xa51f2b||Number(_0xa51f2b)!=_0xa51f2b){--_0x278d8a;break;}if(_0x278d8a===_0x10d451['length'])break;}_0x545feb['id']=Number(_0x10d451['substring'](_0x921774,_0x278d8a+0x1));}if(_0x10d451['charAt'](++_0x278d8a)){const _0x2e05c6=this['tryParse'](_0x10d451['substr'](_0x278d8a));if(!_0x196c11['isPayloadValid'](_0x545feb['type'],_0x2e05c6))throw new Error('invalid\x20payload');_0x545feb['data']=_0x2e05c6;}return _0x545feb;}['tryParse'](_0x152a4d){try{return JSON['parse'](_0x152a4d,this['reviver']);}catch(_0x348174){return!0x1;}}static['isPayloadValid'](_0x33e9a9,_0x10a8ed){switch(_0x33e9a9){case PacketType['CONNECT']:return isObject$2(_0x10a8ed);case PacketType['DISCONNECT']:return void 0x0===_0x10a8ed;case PacketType['CONNECT_ERROR']:return'string'==typeof _0x10a8ed||isObject$2(_0x10a8ed);case PacketType['EVENT']:case PacketType['BINARY_EVENT']:return Array['isArray'](_0x10a8ed)&&('number'==typeof _0x10a8ed[0x0]||'string'==typeof _0x10a8ed[0x0]&&-0x1===_0x133c6c['indexOf'](_0x10a8ed[0x0]));case PacketType['ACK']:case PacketType['BINARY_ACK']:return Array['isArray'](_0x10a8ed);}}['destroy'](){this['reconstructor']&&(this['reconstructor']['finishedReconstruction'](),this['reconstructor']=null);}};class BinaryReconstructor{constructor(_0x461552){this['packet']=_0x461552,this['buffers']=[],this['reconPack']=_0x461552;}['takeBinaryData'](_0x1f3c83){if(this['buffers']['push'](_0x1f3c83),this['buffers']['length']===this['reconPack']['attachments']){const _0x15da12=reconstructPacket(this['reconPack'],this['buffers']);return this['finishedReconstruction'](),_0x15da12;}return null;}['finishedReconstruction'](){this['reconPack']=null,this['buffers']=[];}}var _0xbd4aea=Object['freeze']({'__proto__':null,'Decoder':_0x332042,'Encoder':_0x1f283b,get 'PacketType'(){return PacketType;},'protocol':protocol});function _0x361412(_0x41eb28,_0x127575,_0x314733){return _0x41eb28['on'](_0x127575,_0x314733),function(){_0x41eb28['off'](_0x127575,_0x314733);};}const _0x1e1edc=Object['freeze']({'connect':0x1,'connect_error':0x1,'disconnect':0x1,'disconnecting':0x1,'newListener':0x1,'removeListener':0x1});class Socket extends Emitter{constructor(_0x17f327,_0x5b4cef,_0x47a351){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']=_0x17f327,this['nsp']=_0x5b4cef,_0x47a351&&_0x47a351['auth']&&(this['auth']=_0x47a351['auth']),this['_opts']=Object['assign']({},_0x47a351),this['io']['_autoConnect']&&this['open']();}get['disconnected'](){return!this['connected'];}['subEvents'](){if(this['subs'])return;const _0x2b2b6c=this['io'];this['subs']=[_0x361412(_0x2b2b6c,'open',this['onopen']['bind'](this)),_0x361412(_0x2b2b6c,'packet',this['onpacket']['bind'](this)),_0x361412(_0x2b2b6c,'error',this['onerror']['bind'](this)),_0x361412(_0x2b2b6c,'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'](..._0x313c2c){return _0x313c2c['unshift']('message'),this['emit']['apply'](this,_0x313c2c),this;}['emit'](_0x2113ce,..._0x324e7e){if(_0x1e1edc['hasOwnProperty'](_0x2113ce))throw new Error('\x22'+_0x2113ce['toString']()+'\x22\x20is\x20a\x20reserved\x20event\x20name');if(_0x324e7e['unshift'](_0x2113ce),this['_opts']['retries']&&!this['flags']['fromQueue']&&!this['flags']['volatile'])return this['_addToQueue'](_0x324e7e),this;const _0x4e752f={'type':PacketType['EVENT'],'data':_0x324e7e,'options':{}};if(_0x4e752f['options']['compress']=!0x1!==this['flags']['compress'],'function'==typeof _0x324e7e[_0x324e7e['length']-0x1]){const _0x5db7f5=this['ids']++,_0x4cda37=_0x324e7e['pop']();this['_registerAckCallback'](_0x5db7f5,_0x4cda37),_0x4e752f['id']=_0x5db7f5;}const _0x4a46a6=this['io']['engine']&&this['io']['engine']['transport']&&this['io']['engine']['transport']['writable'];return this['flags']['volatile']&&(!_0x4a46a6||!this['connected'])||(this['connected']?(this['notifyOutgoingListeners'](_0x4e752f),this['packet'](_0x4e752f)):this['sendBuffer']['push'](_0x4e752f)),this['flags']={},this;}['_registerAckCallback'](_0x47b1fc,_0x3f4c04){var _0x12206f;const _0x922467=null!==(_0x12206f=this['flags']['timeout'])&&void 0x0!==_0x12206f?_0x12206f:this['_opts']['ackTimeout'];if(void 0x0===_0x922467)return void(this['acks'][_0x47b1fc]=_0x3f4c04);const _0x1b7bd9=this['io']['setTimeoutFn'](()=>{delete this['acks'][_0x47b1fc];for(let _0x3be898=0x0;_0x3be898<this['sendBuffer']['length'];_0x3be898++)this['sendBuffer'][_0x3be898]['id']===_0x47b1fc&&this['sendBuffer']['splice'](_0x3be898,0x1);_0x3f4c04['call'](this,new Error('operation\x20has\x20timed\x20out'));},_0x922467);this['acks'][_0x47b1fc]=(..._0x2a545b)=>{this['io']['clearTimeoutFn'](_0x1b7bd9),_0x3f4c04['apply'](this,[null,..._0x2a545b]);};}['emitWithAck'](_0x5c575b,..._0x261456){const _0x4d8cf9=void 0x0!==this['flags']['timeout']||void 0x0!==this['_opts']['ackTimeout'];return new Promise((_0x53eaff,_0x5dd47a)=>{_0x261456['push']((_0x15c4a8,_0x2eacd9)=>_0x4d8cf9?_0x15c4a8?_0x5dd47a(_0x15c4a8):_0x53eaff(_0x2eacd9):_0x53eaff(_0x15c4a8)),this['emit'](_0x5c575b,..._0x261456);});}['_addToQueue'](_0x912e0){let _0x21d60c;'function'==typeof _0x912e0[_0x912e0['length']-0x1]&&(_0x21d60c=_0x912e0['pop']());const _0x145002={'id':this['_queueSeq']++,'tryCount':0x0,'pending':!0x1,'args':_0x912e0,'flags':Object['assign']({'fromQueue':!0x0},this['flags'])};_0x912e0['push']((_0x295891,..._0x32fe6e)=>{if(_0x145002!==this['_queue'][0x0])return;return null!==_0x295891?_0x145002['tryCount']>this['_opts']['retries']&&(this['_queue']['shift'](),_0x21d60c&&_0x21d60c(_0x295891)):(this['_queue']['shift'](),_0x21d60c&&_0x21d60c(null,..._0x32fe6e)),_0x145002['pending']=!0x1,this['_drainQueue']();}),this['_queue']['push'](_0x145002),this['_drainQueue']();}['_drainQueue'](_0x2d3c4a=!0x1){if(!this['connected']||0x0===this['_queue']['length'])return;const _0x2db1ea=this['_queue'][0x0];_0x2db1ea['pending']&&!_0x2d3c4a||(_0x2db1ea['pending']=!0x0,_0x2db1ea['tryCount']++,this['flags']=_0x2db1ea['flags'],this['emit']['apply'](this,_0x2db1ea['args']));}['packet'](_0x49a04f){_0x49a04f['nsp']=this['nsp'],this['io']['_packet'](_0x49a04f);}['onopen'](){'function'==typeof this['auth']?this['auth'](_0xdd7883=>{this['_sendConnectPacket'](_0xdd7883);}):this['_sendConnectPacket'](this['auth']);}['_sendConnectPacket'](_0xf9a84f){this['packet']({'type':PacketType['CONNECT'],'data':this['_pid']?Object['assign']({'pid':this['_pid'],'offset':this['_lastOffset']},_0xf9a84f):_0xf9a84f});}['onerror'](_0x1e6a0c){this['connected']||this['emitReserved']('connect_error',_0x1e6a0c);}['onclose'](_0x51c98c,_0x273b1d){this['connected']=!0x1,delete this['id'],this['emitReserved']('disconnect',_0x51c98c,_0x273b1d);}['onpacket'](_0x12d93a){if(_0x12d93a['nsp']===this['nsp'])switch(_0x12d93a['type']){case PacketType['CONNECT']:_0x12d93a['data']&&_0x12d93a['data']['sid']?this['onconnect'](_0x12d93a['data']['sid'],_0x12d93a['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'](_0x12d93a);break;case PacketType['ACK']:case PacketType['BINARY_ACK']:this['onack'](_0x12d93a);break;case PacketType['DISCONNECT']:this['ondisconnect']();break;case PacketType['CONNECT_ERROR']:this['destroy']();const _0x445ba5=new Error(_0x12d93a['data']['message']);_0x445ba5['data']=_0x12d93a['data']['data'],this['emitReserved']('connect_error',_0x445ba5);}}['onevent'](_0x53ee35){const _0x334421=_0x53ee35['data']||[];null!=_0x53ee35['id']&&_0x334421['push'](this['ack'](_0x53ee35['id'])),this['connected']?this['emitEvent'](_0x334421):this['receiveBuffer']['push'](Object['freeze'](_0x334421));}['emitEvent'](_0x46e38d){if(this['_anyListeners']&&this['_anyListeners']['length']){const _0x2e057f=this['_anyListeners']['slice']();for(const _0x136597 of _0x2e057f)_0x136597['apply'](this,_0x46e38d);}super['emit']['apply'](this,_0x46e38d),this['_pid']&&_0x46e38d['length']&&'string'==typeof _0x46e38d[_0x46e38d['length']-0x1]&&(this['_lastOffset']=_0x46e38d[_0x46e38d['length']-0x1]);}['ack'](_0x25c29f){const _0xa9bdba=this;let _0x493b5e=!0x1;return function(..._0x12f01c){_0x493b5e||(_0x493b5e=!0x0,_0xa9bdba['packet']({'type':PacketType['ACK'],'id':_0x25c29f,'data':_0x12f01c}));};}['onack'](_0x405c40){const _0x168ce4=this['acks'][_0x405c40['id']];'function'==typeof _0x168ce4&&(_0x168ce4['apply'](this,_0x405c40['data']),delete this['acks'][_0x405c40['id']]);}['onconnect'](_0x1de8a4,_0x2f0fc0){this['id']=_0x1de8a4,this['recovered']=_0x2f0fc0&&this['_pid']===_0x2f0fc0,this['_pid']=_0x2f0fc0,this['connected']=!0x0,this['emitBuffered'](),this['emitReserved']('connect'),this['_drainQueue'](!0x0);}['emitBuffered'](){this['receiveBuffer']['forEach'](_0x5e1101=>this['emitEvent'](_0x5e1101)),this['receiveBuffer']=[],this['sendBuffer']['forEach'](_0x53400b=>{this['notifyOutgoingListeners'](_0x53400b),this['packet'](_0x53400b);}),this['sendBuffer']=[];}['ondisconnect'](){this['destroy'](),this['onclose']('io\x20server\x20disconnect');}['destroy'](){this['subs']&&(this['subs']['forEach'](_0x5da8c0=>_0x5da8c0()),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'](_0x3a05d9){return this['flags']['compress']=_0x3a05d9,this;}get['volatile'](){return this['flags']['volatile']=!0x0,this;}['timeout'](_0x6bc1f7){return this['flags']['timeout']=_0x6bc1f7,this;}['onAny'](_0x2568b4){return this['_anyListeners']=this['_anyListeners']||[],this['_anyListeners']['push'](_0x2568b4),this;}['prependAny'](_0xc5a0be){return this['_anyListeners']=this['_anyListeners']||[],this['_anyListeners']['unshift'](_0xc5a0be),this;}['offAny'](_0x293002){if(!this['_anyListeners'])return this;if(_0x293002){const _0x58f753=this['_anyListeners'];for(let _0x1b02dd=0x0;_0x1b02dd<_0x58f753['length'];_0x1b02dd++)if(_0x293002===_0x58f753[_0x1b02dd])return _0x58f753['splice'](_0x1b02dd,0x1),this;}else this['_anyListeners']=[];return this;}['listenersAny'](){return this['_anyListeners']||[];}['onAnyOutgoing'](_0x562b56){return this['_anyOutgoingListeners']=this['_anyOutgoingListeners']||[],this['_anyOutgoingListeners']['push'](_0x562b56),this;}['prependAnyOutgoing'](_0x4e84ca){return this['_anyOutgoingListeners']=this['_anyOutgoingListeners']||[],this['_anyOutgoingListeners']['unshift'](_0x4e84ca),this;}['offAnyOutgoing'](_0xe7313b){if(!this['_anyOutgoingListeners'])return this;if(_0xe7313b){const _0x40ab00=this['_anyOutgoingListeners'];for(let _0x5dd5ef=0x0;_0x5dd5ef<_0x40ab00['length'];_0x5dd5ef++)if(_0xe7313b===_0x40ab00[_0x5dd5ef])return _0x40ab00['splice'](_0x5dd5ef,0x1),this;}else this['_anyOutgoingListeners']=[];return this;}['listenersAnyOutgoing'](){return this['_anyOutgoingListeners']||[];}['notifyOutgoingListeners'](_0x3acfae){if(this['_anyOutgoingListeners']&&this['_anyOutgoingListeners']['length']){const _0x392c7e=this['_anyOutgoingListeners']['slice']();for(const _0x340ae1 of _0x392c7e)_0x340ae1['apply'](this,_0x3acfae['data']);}}}function _0x230bed(_0x3dada7){_0x3dada7=_0x3dada7||{},this['ms']=_0x3dada7['min']||0x64,this['max']=_0x3dada7['max']||0x2710,this['factor']=_0x3dada7['factor']||0x2,this['jitter']=_0x3dada7['jitter']>0x0&&_0x3dada7['jitter']<=0x1?_0x3dada7['jitter']:0x0,this['attempts']=0x0;}_0x230bed['prototype']['duration']=function(){var _0xcc02e6=this['ms']*Math['pow'](this['factor'],this['attempts']++);if(this['jitter']){var _0x3a7b84=Math['random'](),_0x18eb5c=Math['floor'](_0x3a7b84*this['jitter']*_0xcc02e6);_0xcc02e6=0x1&Math['floor'](0xa*_0x3a7b84)?_0xcc02e6+_0x18eb5c:_0xcc02e6-_0x18eb5c;}return 0x0|Math['min'](_0xcc02e6,this['max']);},_0x230bed['prototype']['reset']=function(){this['attempts']=0x0;},_0x230bed['prototype']['setMin']=function(_0x5a4fe9){this['ms']=_0x5a4fe9;},_0x230bed['prototype']['setMax']=function(_0x52008f){this['max']=_0x52008f;},_0x230bed['prototype']['setJitter']=function(_0x13bb8c){this['jitter']=_0x13bb8c;};class _0x2f482b extends Emitter{constructor(_0x5ca9ef,_0x110fbc){var _0x262e40;super(),this['nsps']={},this['subs']=[],_0x5ca9ef&&'object'==typeof _0x5ca9ef&&(_0x110fbc=_0x5ca9ef,_0x5ca9ef=void 0x0),(_0x110fbc=_0x110fbc||{})['path']=_0x110fbc['path']||'/socket.io',this['opts']=_0x110fbc,installTimerFunctions(this,_0x110fbc),this['reconnection'](!0x1!==_0x110fbc['reconnection']),this['reconnectionAttempts'](_0x110fbc['reconnectionAttempts']||0x1/0x0),this['reconnectionDelay'](_0x110fbc['reconnectionDelay']||0x3e8),this['reconnectionDelayMax'](_0x110fbc['reconnectionDelayMax']||0x1388),this['randomizationFactor'](null!==(_0x262e40=_0x110fbc['randomizationFactor'])&&void 0x0!==_0x262e40?_0x262e40:0.5),this['backoff']=new _0x230bed({'min':this['reconnectionDelay'](),'max':this['reconnectionDelayMax'](),'jitter':this['randomizationFactor']()}),this['timeout'](null==_0x110fbc['timeout']?0x4e20:_0x110fbc['timeout']),this['_readyState']='closed',this['uri']=_0x5ca9ef;const _0x1038bc=_0x110fbc['parser']||_0xbd4aea;this['encoder']=new _0x1038bc['Encoder'](),this['decoder']=new _0x1038bc['Decoder'](),this['_autoConnect']=!0x1!==_0x110fbc['autoConnect'],this['_autoConnect']&&this['open']();}['reconnection'](_0x46cc9b){return arguments['length']?(this['_reconnection']=!!_0x46cc9b,this):this['_reconnection'];}['reconnectionAttempts'](_0x23a55e){return void 0x0===_0x23a55e?this['_reconnectionAttempts']:(this['_reconnectionAttempts']=_0x23a55e,this);}['reconnectionDelay'](_0xb2237d){var _0x47533c;return void 0x0===_0xb2237d?this['_reconnectionDelay']:(this['_reconnectionDelay']=_0xb2237d,null===(_0x47533c=this['backoff'])||void 0x0===_0x47533c||_0x47533c['setMin'](_0xb2237d),this);}['randomizationFactor'](_0x5e803f){var _0x2026a2;return void 0x0===_0x5e803f?this['_randomizationFactor']:(this['_randomizationFactor']=_0x5e803f,null===(_0x2026a2=this['backoff'])||void 0x0===_0x2026a2||_0x2026a2['setJitter'](_0x5e803f),this);}['reconnectionDelayMax'](_0x5ef245){var _0x432650;return void 0x0===_0x5ef245?this['_reconnectionDelayMax']:(this['_reconnectionDelayMax']=_0x5ef245,null===(_0x432650=this['backoff'])||void 0x0===_0x432650||_0x432650['setMax'](_0x5ef245),this);}['timeout'](_0x49c73c){return arguments['length']?(this['_timeout']=_0x49c73c,this):this['_timeout'];}['maybeReconnectOnOpen'](){!this['_reconnecting']&&this['_reconnection']&&0x0===this['backoff']['attempts']&&this['reconnect']();}['open'](_0x1630f8){if(~this['_readyState']['indexOf']('open'))return this;this['engine']=new Socket$1(this['uri'],this['opts']);const _0x4dc31c=this['engine'],_0x11cdf3=this;this['_readyState']='opening',this['skipReconnect']=!0x1;const _0x475644=_0x361412(_0x4dc31c,'open',function(){_0x11cdf3['onopen'](),_0x1630f8&&_0x1630f8();}),_0x5827b2=_0x44db8b=>{this['cleanup'](),this['_readyState']='closed',this['emitReserved']('error',_0x44db8b),_0x1630f8?_0x1630f8(_0x44db8b):this['maybeReconnectOnOpen']();},_0x538807=_0x361412(_0x4dc31c,'error',_0x5827b2);if(!0x1!==this['_timeout']){const _0x46da0d=this['_timeout'],_0x4cb152=this['setTimeoutFn'](()=>{_0x475644(),_0x5827b2(new Error('timeout')),_0x4dc31c['close']();},_0x46da0d);this['opts']['autoUnref']&&_0x4cb152['unref'](),this['subs']['push'](()=>{this['clearTimeoutFn'](_0x4cb152);});}return this['subs']['push'](_0x475644),this['subs']['push'](_0x538807),this;}['connect'](_0xb510b0){return this['open'](_0xb510b0);}['onopen'](){this['cleanup'](),this['_readyState']='open',this['emitReserved']('open');const _0x1dfc90=this['engine'];this['subs']['push'](_0x361412(_0x1dfc90,'ping',this['onping']['bind'](this)),_0x361412(_0x1dfc90,'data',this['ondata']['bind'](this)),_0x361412(_0x1dfc90,'error',this['onerror']['bind'](this)),_0x361412(_0x1dfc90,'close',this['onclose']['bind'](this)),_0x361412(this['decoder'],'decoded',this['ondecoded']['bind'](this)));}['onping'](){this['emitReserved']('ping');}['ondata'](_0x3dda5c){try{this['decoder']['add'](_0x3dda5c);}catch(_0xfb8c01){this['onclose']('parse\x20error',_0xfb8c01);}}['ondecoded'](_0x183112){nextTick(()=>{this['emitReserved']('packet',_0x183112);},this['setTimeoutFn']);}['onerror'](_0x1cab87){this['emitReserved']('error',_0x1cab87);}['socket'](_0xc976f9,_0x50a3fb){let _0x161323=this['nsps'][_0xc976f9];return _0x161323?this['_autoConnect']&&!_0x161323['active']&&_0x161323['connect']():(_0x161323=new Socket(this,_0xc976f9,_0x50a3fb),this['nsps'][_0xc976f9]=_0x161323),_0x161323;}['_destroy'](_0xee3e83){const _0xa104f0=Object['keys'](this['nsps']);for(const _0x5889f8 of _0xa104f0){if(this['nsps'][_0x5889f8]['active'])return;}this['_close']();}['_packet'](_0x514888){const _0x18908c=this['encoder']['encode'](_0x514888);for(let _0x566cbb=0x0;_0x566cbb<_0x18908c['length'];_0x566cbb++)this['engine']['write'](_0x18908c[_0x566cbb],_0x514888['options']);}['cleanup'](){this['subs']['forEach'](_0x186565=>_0x186565()),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'](_0x452407,_0x62176b){this['cleanup'](),this['backoff']['reset'](),this['_readyState']='closed',this['emitReserved']('close',_0x452407,_0x62176b),this['_reconnection']&&!this['skipReconnect']&&this['reconnect']();}['reconnect'](){if(this['_reconnecting']||this['skipReconnect'])return this;const _0x5c460c=this;if(this['backoff']['attempts']>=this['_reconnectionAttempts'])this['backoff']['reset'](),this['emitReserved']('reconnect_failed'),this['_reconnecting']=!0x1;else{const _0x5a72f1=this['backoff']['duration']();this['_reconnecting']=!0x0;const _0x59bd2b=this['setTimeoutFn'](()=>{_0x5c460c['skipReconnect']||(this['emitReserved']('reconnect_attempt',_0x5c460c['backoff']['attempts']),_0x5c460c['skipReconnect']||_0x5c460c['open'](_0x23e85e=>{_0x23e85e?(_0x5c460c['_reconnecting']=!0x1,_0x5c460c['reconnect'](),this['emitReserved']('reconnect_error',_0x23e85e)):_0x5c460c['onreconnect']();}));},_0x5a72f1);this['opts']['autoUnref']&&_0x59bd2b['unref'](),this['subs']['push'](()=>{this['clearTimeoutFn'](_0x59bd2b);});}}['onreconnect'](){const _0x32b552=this['backoff']['attempts'];this['_reconnecting']=!0x1,this['backoff']['reset'](),this['emitReserved']('reconnect',_0x32b552);}}const _0x5d52dd={};function _0x2eb337(_0x105331,_0x1d3f67){'object'==typeof _0x105331&&(_0x1d3f67=_0x105331,_0x105331=void 0x0);const _0x1d1183=_0x59f18f(_0x105331,(_0x1d3f67=_0x1d3f67||{})['path']||'/socket.io'),_0x305e94=_0x1d1183['source'],_0x4bb59a=_0x1d1183['id'],_0x36c13a=_0x1d1183['path'],_0x40955f=_0x5d52dd[_0x4bb59a]&&_0x36c13a in _0x5d52dd[_0x4bb59a]['nsps'];let _0xde1536;return _0x1d3f67['forceNew']||_0x1d3f67['force\x20new\x20connection']||!0x1===_0x1d3f67['multiplex']||_0x40955f?_0xde1536=new _0x2f482b(_0x305e94,_0x1d3f67):(_0x5d52dd[_0x4bb59a]||(_0x5d52dd[_0x4bb59a]=new _0x2f482b(_0x305e94,_0x1d3f67)),_0xde1536=_0x5d52dd[_0x4bb59a]),_0x1d1183['query']&&!_0x1d3f67['query']&&(_0x1d3f67['query']=_0x1d1183['queryKey']),_0xde1536['socket'](_0x1d1183['path'],_0x1d3f67);}var requiresPort,hasRequiredRequiresPort;function requireRequiresPort(){return hasRequiredRequiresPort||(hasRequiredRequiresPort=0x1,requiresPort=function(_0x45a42a,_0x8498b){if(_0x8498b=_0x8498b['split'](':')[0x0],!(_0x45a42a=+_0x45a42a))return!0x1;switch(_0x8498b){case'http':case'ws':return 0x50!==_0x45a42a;case'https':case'wss':return 0x1bb!==_0x45a42a;case'ftp':return 0x15!==_0x45a42a;case'gopher':return 0x46!==_0x45a42a;case'file':return!0x1;}return 0x0!==_0x45a42a;}),requiresPort;}Object['assign'](_0x2eb337,{'Manager':_0x2f482b,'Socket':Socket,'io':_0x2eb337,'connect':_0x2eb337});var querystringify={},hasRequiredQuerystringify,_0x1fa48d,_0x3bf6c8;function requireQuerystringify(){if(hasRequiredQuerystringify)return querystringify;hasRequiredQuerystringify=0x1;var _0x2b5a77=Object['prototype']['hasOwnProperty'];function _0x286065(_0x4bbc41){try{return decodeURIComponent(_0x4bbc41['replace'](/\+/g,'\x20'));}catch(_0x40ba1c){return null;}}function _0x43b34c(_0x260f54){try{return encodeURIComponent(_0x260f54);}catch(_0x3225e4){return null;}}return querystringify['stringify']=function(_0x35d3c6,_0x146c4e){_0x146c4e=_0x146c4e||'';var _0x529ad5,_0x248f72,_0x5b4089=[];for(_0x248f72 in('string'!=typeof _0x146c4e&&(_0x146c4e='?'),_0x35d3c6))if(_0x2b5a77['call'](_0x35d3c6,_0x248f72)){if((_0x529ad5=_0x35d3c6[_0x248f72])||null!=_0x529ad5&&!isNaN(_0x529ad5)||(_0x529ad5=''),_0x248f72=_0x43b34c(_0x248f72),_0x529ad5=_0x43b34c(_0x529ad5),null===_0x248f72||null===_0x529ad5)continue;_0x5b4089['push'](_0x248f72+'='+_0x529ad5);}return _0x5b4089['length']?_0x146c4e+_0x5b4089['join']('&'):'';},querystringify['parse']=function(_0x3f755d){for(var _0x1f9282,_0x43a4ae=/([^=?#&]+)=?([^&]*)/g,_0x25debf={};_0x1f9282=_0x43a4ae['exec'](_0x3f755d);){var _0x5d7ef8=_0x286065(_0x1f9282[0x1]),_0x2f1f20=_0x286065(_0x1f9282[0x2]);null===_0x5d7ef8||null===_0x2f1f20||_0x5d7ef8 in _0x25debf||(_0x25debf[_0x5d7ef8]=_0x2f1f20);}return _0x25debf;},querystringify;}function requireUrlParse(){if(_0x3bf6c8)return _0x1fa48d;_0x3bf6c8=0x1;var _0x4ac4ab=requireRequiresPort(),_0x264244=requireQuerystringify(),_0x47b1c6=/^[\x00-\x20\u00a0\u1680\u2000-\u200a\u2028\u2029\u202f\u205f\u3000\ufeff]+/,_0x4ef65b=/[\n\r\t]/g,_0x546971=/^[A-Za-z][A-Za-z0-9+-.]*:\/\//,_0x3fbd23=/:\d+$/,_0x32f082=/^([a-z][a-z0-9.+-]*:)?(\/\/)?([\\/]+)?([\S\s]*)/i,_0x489a4=/^[a-zA-Z]:/;function _0xe06e9b(_0x3d92ce){return(_0x3d92ce||'')['toString']()['replace'](_0x47b1c6,'');}var _0x55c3ea=[['#','hash'],['?','query'],function(_0x56b282,_0x5aeee5){return _0x191278(_0x5aeee5['protocol'])?_0x56b282['replace'](/\\/g,'/'):_0x56b282;},['/','pathname'],['@','auth',0x1],[NaN,'host',void 0x0,0x1,0x1],[/:(\d*)$/,'port',void 0x0,0x1],[NaN,'hostname',void 0x0,0x1,0x1]],_0x1cabea={'hash':0x1,'query':0x1};function _0x1c8571(_0x2ad88b){var _0x1c0bfe,_0x5e5447=('undefined'!=typeof window?window:void 0x0!==_0x23937e?_0x23937e:'undefined'!=typeof self?self:{})['location']||{},_0x372cfe={},_0x3504d3=typeof(_0x2ad88b=_0x2ad88b||_0x5e5447);if('blob:'===_0x2ad88b['protocol'])_0x372cfe=new _0x50c39f(unescape(_0x2ad88b['pathname']),{});else{if('string'===_0x3504d3){for(_0x1c0bfe in(_0x372cfe=new _0x50c39f(_0x2ad88b,{}),_0x1cabea))delete _0x372cfe[_0x1c0bfe];}else{if('object'===_0x3504d3){for(_0x1c0bfe in _0x2ad88b)_0x1c0bfe in _0x1cabea||(_0x372cfe[_0x1c0bfe]=_0x2ad88b[_0x1c0bfe]);void 0x0===_0x372cfe['slashes']&&(_0x372cfe['slashes']=_0x546971['test'](_0x2ad88b['href']));}}}return _0x372cfe;}function _0x191278(_0x143dad){return'file:'===_0x143dad||'ftp:'===_0x143dad||'http:'===_0x143dad||'https:'===_0x143dad||'ws:'===_0x143dad||'wss:'===_0x143dad;}function _0x4ea25c(_0x20f8aa,_0x5ddde9){_0x20f8aa=(_0x20f8aa=_0xe06e9b(_0x20f8aa))['replace'](_0x4ef65b,''),_0x5ddde9=_0x5ddde9||{};var _0x5efa55,_0x529d1d=_0x32f082['exec'](_0x20f8aa),_0x4bddf3=_0x529d1d[0x1]?_0x529d1d[0x1]['toLowerCase']():'',_0x36afb5=!!_0x529d1d[0x2],_0x4469db=!!_0x529d1d[0x3],_0x49eb37=0x0;return _0x36afb5?_0x4469db?(_0x5efa55=_0x529d1d[0x2]+_0x529d1d[0x3]+_0x529d1d[0x4],_0x49eb37=_0x529d1d[0x2]['length']+_0x529d1d[0x3]['length']):(_0x5efa55=_0x529d1d[0x2]+_0x529d1d[0x4],_0x49eb37=_0x529d1d[0x2]['length']):_0x4469db?(_0x5efa55=_0x529d1d[0x3]+_0x529d1d[0x4],_0x49eb37=_0x529d1d[0x3]['length']):_0x5efa55=_0x529d1d[0x4],'file:'===_0x4bddf3?_0x49eb37>=0x2&&(_0x5efa55=_0x5efa55['slice'](0x2)):_0x191278(_0x4bddf3)?_0x5efa55=_0x529d1d[0x4]:_0x4bddf3?_0x36afb5&&(_0x5efa55=_0x5efa55['slice'](0x2)):_0x49eb37>=0x2&&_0x191278(_0x5ddde9['protocol'])&&(_0x5efa55=_0x529d1d[0x4]),{'protocol':_0x4bddf3,'slashes':_0x36afb5||_0x191278(_0x4bddf3),'slashesCount':_0x49eb37,'rest':_0x5efa55};}function _0x50c39f(_0x50a8a7,_0x92ace5,_0x4800aa){if(_0x50a8a7=(_0x50a8a7=_0xe06e9b(_0x50a8a7))['replace'](_0x4ef65b,''),!(this instanceof _0x50c39f))return new _0x50c39f(_0x50a8a7,_0x92ace5,_0x4800aa);var _0x37b3cc,_0x10906a,_0x248c05,_0x4780e9,_0x94a442,_0x1aef00,_0x4f49de=_0x55c3ea['slice'](),_0x3985d9=typeof _0x92ace5,_0x313e8e=this,_0x3d6f54=0x0;for('object'!==_0x3985d9&&'string'!==_0x3985d9&&(_0x4800aa=_0x92ace5,_0x92ace5=null),_0x4800aa&&'function'!=typeof _0x4800aa&&(_0x4800aa=_0x264244['parse']),_0x37b3cc=!(_0x10906a=_0x4ea25c(_0x50a8a7||'',_0x92ace5=_0x1c8571(_0x92ace5)))['protocol']&&!_0x10906a['slashes'],_0x313e8e['slashes']=_0x10906a['slashes']||_0x37b3cc&&_0x92ace5['slashes'],_0x313e8e['protocol']=_0x10906a['protocol']||_0x92ace5['protocol']||'',_0x50a8a7=_0x10906a['rest'],('file:'===_0x10906a['protocol']&&(0x2!==_0x10906a['slashesCount']||_0x489a4['test'](_0x50a8a7))||!_0x10906a['slashes']&&(_0x10906a['protocol']||_0x10906a['slashesCount']<0x2||!_0x191278(_0x313e8e['protocol'])))&&(_0x4f49de[0x3]=[/(.*)/,'pathname']);_0x3d6f54<_0x4f49de['length'];_0x3d6f54++)'function'!=typeof(_0x4780e9=_0x4f49de[_0x3d6f54])?(_0x248c05=_0x4780e9[0x0],_0x1aef00=_0x4780e9[0x1],_0x248c05!=_0x248c05?_0x313e8e[_0x1aef00]=_0x50a8a7:'string'==typeof _0x248c05?~(_0x94a442='@'===_0x248c05?_0x50a8a7['lastIndexOf'](_0x248c05):_0x50a8a7['indexOf'](_0x248c05))&&('number'==typeof _0x4780e9[0x2]?(_0x313e8e[_0x1aef00]=_0x50a8a7['slice'](0x0,_0x94a442),_0x50a8a7=_0x50a8a7['slice'](_0x94a442+_0x4780e9[0x2])):(_0x313e8e[_0x1aef00]=_0x50a8a7['slice'](_0x94a442),_0x50a8a7=_0x50a8a7['slice'](0x0,_0x94a442))):(_0x94a442=_0x248c05['exec'](_0x50a8a7))&&(_0x313e8e[_0x1aef00]=_0x94a442[0x1],_0x50a8a7=_0x50a8a7['slice'](0x0,_0x94a442['index'])),_0x313e8e[_0x1aef00]=_0x313e8e[_0x1aef00]||_0x37b3cc&&_0x4780e9[0x3]&&_0x92ace5[_0x1aef00]||'',_0x4780e9[0x4]&&(_0x313e8e[_0x1aef00]=_0x313e8e[_0x1aef00]['toLowerCase']())):_0x50a8a7=_0x4780e9(_0x50a8a7,_0x313e8e);_0x4800aa&&(_0x313e8e['query']=_0x4800aa(_0x313e8e['query'])),_0x37b3cc&&_0x92ace5['slashes']&&'/'!==_0x313e8e['pathname']['charAt'](0x0)&&(''!==_0x313e8e['pathname']||''!==_0x92ace5['pathname'])&&(_0x313e8e['pathname']=function(_0x4e022e,_0x5ce3c4){if(''===_0x4e022e)return _0x5ce3c4;for(var _0x289fbd=(_0x5ce3c4||'/')['split']('/')['slice'](0x0,-0x1)['concat'](_0x4e022e['split']('/')),_0x1c0a4c=_0x289fbd['length'],_0x48b2e7=_0x289fbd[_0x1c0a4c-0x1],_0x4c62b8=!0x1,_0x1e1633=0x0;_0x1c0a4c--;)'.'===_0x289fbd[_0x1c0a4c]?_0x289fbd['splice'](_0x1c0a4c,0x1):'..'===_0x289fbd[_0x1c0a4c]?(_0x289fbd['splice'](_0x1c0a4c,0x1),_0x1e1633++):_0x1e1633&&(0x0===_0x1c0a4c&&(_0x4c62b8=!0x0),_0x289fbd['splice'](_0x1c0a4c,0x1),_0x1e1633--);return _0x4c62b8&&_0x289fbd['unshift'](''),'.'!==_0x48b2e7&&'..'!==_0x48b2e7||_0x289fbd['push'](''),_0x289fbd['join']('/');}(_0x313e8e['pathname'],_0x92ace5['pathname'])),'/'!==_0x313e8e['pathname']['charAt'](0x0)&&_0x191278(_0x313e8e['protocol'])&&(_0x313e8e['pathname']='/'+_0x313e8e['pathname']),_0x4ac4ab(_0x313e8e['port'],_0x313e8e['protocol'])||(_0x313e8e['host']=_0x313e8e['hostname'],_0x313e8e['port']=''),_0x313e8e['username']=_0x313e8e['password']='',_0x313e8e['auth']&&(~(_0x94a442=_0x313e8e['auth']['indexOf'](':'))?(_0x313e8e['username']=_0x313e8e['auth']['slice'](0x0,_0x94a442),_0x313e8e['username']=encodeURIComponent(decodeURIComponent(_0x313e8e['username'])),_0x313e8e['password']=_0x313e8e['auth']['slice'](_0x94a442+0x1),_0x313e8e['password']=encodeURIComponent(decodeURIComponent(_0x313e8e['password']))):_0x313e8e['username']=encodeURIComponent(decodeURIComponent(_0x313e8e['auth'])),_0x313e8e['auth']=_0x313e8e['password']?_0x313e8e['username']+':'+_0x313e8e['password']:_0x313e8e['username']),_0x313e8e['origin']='file:'!==_0x313e8e['protocol']&&_0x191278(_0x313e8e['protocol'])&&_0x313e8e['host']?_0x313e8e['protocol']+'//'+_0x313e8e['host']:'null',_0x313e8e['href']=_0x313e8e['toString']();}return _0x50c39f['prototype']={'set':function(_0x5cdc6b,_0x45dfa6,_0x3510bf){var _0x1a724e=this;switch(_0x5cdc6b){case'query':'string'==typeof _0x45dfa6&&_0x45dfa6['length']&&(_0x45dfa6=(_0x3510bf||_0x264244['parse'])(_0x45dfa6)),_0x1a724e[_0x5cdc6b]=_0x45dfa6;break;case'port':_0x1a724e[_0x5cdc6b]=_0x45dfa6,_0x4ac4ab(_0x45dfa6,_0x1a724e['protocol'])?_0x45dfa6&&(_0x1a724e['host']=_0x1a724e['hostname']+':'+_0x45dfa6):(_0x1a724e['host']=_0x1a724e['hostname'],_0x1a724e[_0x5cdc6b]='');break;case'hostname':_0x1a724e[_0x5cdc6b]=_0x45dfa6,_0x1a724e['port']&&(_0x45dfa6+=':'+_0x1a724e['port']),_0x1a724e['host']=_0x45dfa6;break;case'host':_0x1a724e[_0x5cdc6b]=_0x45dfa6,_0x3fbd23['test'](_0x45dfa6)?(_0x45dfa6=_0x45dfa6['split'](':'),_0x1a724e['port']=_0x45dfa6['pop'](),_0x1a724e['hostname']=_0x45dfa6['join'](':')):(_0x1a724e['hostname']=_0x45dfa6,_0x1a724e['port']='');break;case'protocol':_0x1a724e['protocol']=_0x45dfa6['toLowerCase'](),_0x1a724e['slashes']=!_0x3510bf;break;case'pathname':case'hash':if(_0x45dfa6){var _0x312ac6='pathname'===_0x5cdc6b?'/':'#';_0x1a724e[_0x5cdc6b]=_0x45dfa6['charAt'](0x0)!==_0x312ac6?_0x312ac6+_0x45dfa6:_0x45dfa6;}else _0x1a724e[_0x5cdc6b]=_0x45dfa6;break;case'username':case'password':_0x1a724e[_0x5cdc6b]=encodeURIComponent(_0x45dfa6);break;case'auth':var _0x455335=_0x45dfa6['indexOf'](':');~_0x455335?(_0x1a724e['username']=_0x45dfa6['slice'](0x0,_0x455335),_0x1a724e['username']=encodeURIComponent(decodeURIComponent(_0x1a724e['username'])),_0x1a724e['password']=_0x45dfa6['slice'](_0x455335+0x1),_0x1a724e['password']=encodeURIComponent(decodeURIComponent(_0x1a724e['password']))):_0x1a724e['username']=encodeURIComponent(decodeURIComponent(_0x45dfa6));}for(var _0xa68487=0x0;_0xa68487<_0x55c3ea['length'];_0xa68487++){var _0x470eac=_0x55c3ea[_0xa68487];_0x470eac[0x4]&&(_0x1a724e[_0x470eac[0x1]]=_0x1a724e[_0x470eac[0x1]]['toLowerCase']());}return _0x1a724e['auth']=_0x1a724e['password']?_0x1a724e['username']+':'+_0x1a724e['password']:_0x1a724e['username'],_0x1a724e['origin']='file:'!==_0x1a724e['protocol']&&_0x191278(_0x1a724e['protocol'])&&_0x1a724e['host']?_0x1a724e['protocol']+'//'+_0x1a724e['host']:'null',_0x1a724e['href']=_0x1a724e['toString'](),_0x1a724e;},'toString':function(_0x4f2454){_0x4f2454&&'function'==typeof _0x4f2454||(_0x4f2454=_0x264244['stringify']);var _0x208bbf,_0x102c3e=this,_0x3a32ca=_0x102c3e['host'],_0x51ea40=_0x102c3e['protocol'];_0x51ea40&&':'!==_0x51ea40['charAt'](_0x51ea40['length']-0x1)&&(_0x51ea40+=':');var _0x4870d2=_0x51ea40+(_0x102c3e['protocol']&&_0x102c3e['slashes']||_0x191278(_0x102c3e['protocol'])?'//':'');return _0x102c3e['username']?(_0x4870d2+=_0x102c3e['username'],_0x102c3e['password']&&(_0x4870d2+=':'+_0x102c3e['password']),_0x4870d2+='@'):_0x102c3e['password']?(_0x4870d2+=':'+_0x102c3e['password'],_0x4870d2+='@'):'file:'!==_0x102c3e['protocol']&&_0x191278(_0x102c3e['protocol'])&&!_0x3a32ca&&'/'!==_0x102c3e['pathname']&&(_0x4870d2+='@'),(':'===_0x3a32ca[_0x3a32ca['length']-0x1]||_0x3fbd23['test'](_0x102c3e['hostname'])&&!_0x102c3e['port'])&&(_0x3a32ca+=':'),_0x4870d2+=_0x3a32ca+_0x102c3e['pathname'],(_0x208bbf='object'==typeof _0x102c3e['query']?_0x4f2454(_0x102c3e['query']):_0x102c3e['query'])&&(_0x4870d2+='?'!==_0x208bbf['charAt'](0x0)?'?'+_0x208bbf:_0x208bbf),_0x102c3e['hash']&&(_0x4870d2+=_0x102c3e['hash']),_0x4870d2;}},_0x50c39f['extractProtocol']=_0x4ea25c,_0x50c39f['location']=_0x1c8571,_0x50c39f['trimLeft']=_0xe06e9b,_0x50c39f['qs']=_0x264244,_0x1fa48d=_0x50c39f;}var urlParseExports=requireUrlParse();class Descriptor{static ['DESCRIPTOR_NAME'];static ['DESCRIPTOR'];constructor(..._0x17a8a3){}}class _0x3e4ab5 extends Descriptor{static ['TYPE']='1000';static ['READABLE_TYPE_NAME'];constructor(..._0x151568){super();}static['fromJSON'](_0x24f57b){throw new TypeError('Must\x20be\x20implemented\x20in\x20a\x20child\x20class!');}}class GetUserMessage extends _0x3e4ab5{['id'];static ['TYPE']='21';static ['READABLE_TYPE_NAME']='getUser';static ['DESCRIPTOR_NAME']='GetUserMessage';static ['DESCRIPTOR']={'fields':{'id':{'type':'string','id':0x1}}};constructor(_0x765621){super(),this['id']=_0x765621;}['toJSON'](){return{'id':this['id']};}static['fromJSON'](_0x2a45cd){return new GetUserMessage(_0x2a45cd['id']);}}class GetUserResponse extends _0x3e4ab5{['attributes'];static ['DESCRIPTOR_NAME']='GetUserResponse';static ['DESCRIPTOR']={'fields':{'attributes':{'rule':'repeated','type':'KeyValueDescriptor','id':0x1}}};constructor(_0x18e473){super(),this['attributes']=_0x18e473;}['toJSON'](){return{'attributes':Object['keys'](this['attributes'])['map'](_0x57e6e0=>({'key':_0x57e6e0,'value':JSON['stringify'](this['attributes'][_0x57e6e0])}))};}static['fromJSON'](_0x3c3654){const _0x38dd38=_0x3c3654['attributes']['reduce']((_0x327f7d,_0x227b49)=>(_0x327f7d[_0x227b49['key']]=_0x227b49['value']?JSON['parse'](_0x227b49['value']):null,_0x327f7d),{});return new GetUserResponse(_0x38dd38);}}const _0x9d4d54=/* #__PURE__ -- @preserve */
((()=>{var _0x37c416=minimalExports['Reader'],_0x1f8a63=minimalExports['Writer'],_0xcc38bf=minimalExports['util'],_0xd25805=minimalExports['roots']['default']||(minimalExports['roots']['default']={});return _0xd25805['OperationMetadataDescriptor']=(function(){function _0x2453fa(_0x200a71){if(_0x200a71){for(var _0x175d97=Object['keys'](_0x200a71),_0x2088a3=0x0;_0x2088a3<_0x175d97['length'];++_0x2088a3)null!=_0x200a71[_0x175d97[_0x2088a3]]&&(this[_0x175d97[_0x2088a3]]=_0x200a71[_0x175d97[_0x2088a3]]);}}return _0x2453fa['prototype']['userId']='',_0x2453fa['prototype']['type']='',_0x2453fa['prototype']['createdAt']='',_0x2453fa['create']=function(_0x295b39){return new _0x2453fa(_0x295b39);},_0x2453fa['encode']=function(_0x288a87,_0x4e1053){return _0x4e1053||(_0x4e1053=_0x1f8a63['create']()),null!=_0x288a87['userId']&&Object['hasOwnProperty']['call'](_0x288a87,'userId')&&_0x4e1053['uint32'](0xa)['string'](_0x288a87['userId']),null!=_0x288a87['type']&&Object['hasOwnProperty']['call'](_0x288a87,'type')&&_0x4e1053['uint32'](0x12)['string'](_0x288a87['type']),null!=_0x288a87['createdAt']&&Object['hasOwnProperty']['call'](_0x288a87,'createdAt')&&_0x4e1053['uint32'](0x1a)['string'](_0x288a87['createdAt']),_0x4e1053;},_0x2453fa['encodeDelimited']=function(_0x31b443,_0x488d70){return this['encode'](_0x31b443,_0x488d70)['ldelim']();},_0x2453fa['decode']=function(_0x101055,_0x22aa15,_0x540c79){_0x101055 instanceof _0x37c416||(_0x101055=_0x37c416['create'](_0x101055));for(var _0x3f79e2=void 0x0===_0x22aa15?_0x101055['len']:_0x101055['pos']+_0x22aa15,_0x551c5b=new _0xd25805['OperationMetadataDescriptor']();_0x101055['pos']<_0x3f79e2;){var _0x406b27=_0x101055['uint32']();if(_0x406b27===_0x540c79)break;switch(_0x406b27>>>0x3){case 0x1:_0x551c5b['userId']=_0x101055['string']();break;case 0x2:_0x551c5b['type']=_0x101055['string']();break;case 0x3:_0x551c5b['createdAt']=_0x101055['string']();break;default:_0x101055['skipType'](0x7&_0x406b27);}}return _0x551c5b;},_0x2453fa['decodeDelimited']=function(_0x28e860){return _0x28e860 instanceof _0x37c416||(_0x28e860=new _0x37c416(_0x28e860)),this['decode'](_0x28e860,_0x28e860['uint32']());},_0x2453fa['verify']=function(_0x49e723){return'object'!=typeof _0x49e723||null===_0x49e723?'object\x20expected':null!=_0x49e723['userId']&&_0x49e723['hasOwnProperty']('userId')&&!_0xcc38bf['isString'](_0x49e723['userId'])?'userId:\x20string\x20expected':null!=_0x49e723['type']&&_0x49e723['hasOwnProperty']('type')&&!_0xcc38bf['isString'](_0x49e723['type'])?'type:\x20string\x20expected':null!=_0x49e723['createdAt']&&_0x49e723['hasOwnProperty']('createdAt')&&!_0xcc38bf['isString'](_0x49e723['createdAt'])?'createdAt:\x20string\x20expected':null;},_0x2453fa['fromObject']=function(_0x52d8f9){if(_0x52d8f9 instanceof _0xd25805['OperationMetadataDescriptor'])return _0x52d8f9;var _0x56a32b=new _0xd25805['OperationMetadataDescriptor']();return null!=_0x52d8f9['userId']&&(_0x56a32b['userId']=String(_0x52d8f9['userId'])),null!=_0x52d8f9['type']&&(_0x56a32b['type']=String(_0x52d8f9['type'])),null!=_0x52d8f9['createdAt']&&(_0x56a32b['createdAt']=String(_0x52d8f9['createdAt'])),_0x56a32b;},_0x2453fa['toObject']=function(_0xf69da6,_0x40f7bf){_0x40f7bf||(_0x40f7bf={});var _0x4ee089={};return _0x40f7bf['defaults']&&(_0x4ee089['userId']='',_0x4ee089['type']='',_0x4ee089['createdAt']=''),null!=_0xf69da6['userId']&&_0xf69da6['hasOwnProperty']('userId')&&(_0x4ee089['userId']=_0xf69da6['userId']),null!=_0xf69da6['type']&&_0xf69da6['hasOwnProperty']('type')&&(_0x4ee089['type']=_0xf69da6['type']),null!=_0xf69da6['createdAt']&&_0xf69da6['hasOwnProperty']('createdAt')&&(_0x4ee089['createdAt']=_0xf69da6['createdAt']),_0x4ee089;},_0x2453fa['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x2453fa['getTypeUrl']=function(_0x40bb){return void 0x0===_0x40bb&&(_0x40bb='type.googleapis.com'),_0x40bb+'/OperationMetadataDescriptor';},_0x2453fa;}()),_0xd25805['CollaborativeEditingConnectMessage']=(function(){function _0x4afc79(_0x36633a){if(this['buffers']=[],this['types']=[],_0x36633a){for(var _0x4e128a=Object['keys'](_0x36633a),_0x205193=0x0;_0x205193<_0x4e128a['length'];++_0x205193)null!=_0x36633a[_0x4e128a[_0x205193]]&&(this[_0x4e128a[_0x205193]]=_0x36633a[_0x4e128a[_0x205193]]);}}return _0x4afc79['prototype']['id']='',_0x4afc79['prototype']['bundleVersion']='',_0x4afc79['prototype']['buffers']=_0xcc38bf['emptyArray'],_0x4afc79['prototype']['types']=_0xcc38bf['emptyArray'],_0x4afc79['prototype']['lastOperationId']='',_0x4afc79['create']=function(_0x114006){return new _0x4afc79(_0x114006);},_0x4afc79['encode']=function(_0x3a1efa,_0x55506f){if(_0x55506f||(_0x55506f=_0x1f8a63['create']()),null!=_0x3a1efa['id']&&Object['hasOwnProperty']['call'](_0x3a1efa,'id')&&_0x55506f['uint32'](0xa)['string'](_0x3a1efa['id']),null!=_0x3a1efa['bundleVersion']&&Object['hasOwnProperty']['call'](_0x3a1efa,'bundleVersion')&&_0x55506f['uint32'](0x12)['string'](_0x3a1efa['bundleVersion']),null!=_0x3a1efa['buffers']&&_0x3a1efa['buffers']['length']){for(var _0x15b2c4=0x0;_0x15b2c4<_0x3a1efa['buffers']['length'];++_0x15b2c4)_0x55506f['uint32'](0x1a)['bytes'](_0x3a1efa['buffers'][_0x15b2c4]);}if(null!=_0x3a1efa['types']&&_0x3a1efa['types']['length']){for(_0x55506f['uint32'](0x22)['fork'](),_0x15b2c4=0x0;_0x15b2c4<_0x3a1efa['types']['length'];++_0x15b2c4)_0x55506f['uint32'](_0x3a1efa['types'][_0x15b2c4]);_0x55506f['ldelim']();}return null!=_0x3a1efa['lastOperationId']&&Object['hasOwnProperty']['call'](_0x3a1efa,'lastOperationId')&&_0x55506f['uint32'](0x2a)['string'](_0x3a1efa['lastOperationId']),_0x55506f;},_0x4afc79['encodeDelimited']=function(_0x2e0674,_0x1ede74){return this['encode'](_0x2e0674,_0x1ede74)['ldelim']();},_0x4afc79['decode']=function(_0x4d4918,_0x4dea1f,_0x21b136){_0x4d4918 instanceof _0x37c416||(_0x4d4918=_0x37c416['create'](_0x4d4918));for(var _0x20e0c5=void 0x0===_0x4dea1f?_0x4d4918['len']:_0x4d4918['pos']+_0x4dea1f,_0x1606a4=new _0xd25805['CollaborativeEditingConnectMessage']();_0x4d4918['pos']<_0x20e0c5;){var _0x4d6e40=_0x4d4918['uint32']();if(_0x4d6e40===_0x21b136)break;switch(_0x4d6e40>>>0x3){case 0x1:_0x1606a4['id']=_0x4d4918['string']();break;case 0x2:_0x1606a4['bundleVersion']=_0x4d4918['string']();break;case 0x3:_0x1606a4['buffers']&&_0x1606a4['buffers']['length']||(_0x1606a4['buffers']=[]),_0x1606a4['buffers']['push'](_0x4d4918['bytes']());break;case 0x4:if(_0x1606a4['types']&&_0x1606a4['types']['length']||(_0x1606a4['types']=[]),0x2==(0x7&_0x4d6e40)){for(var _0x2fda6c=_0x4d4918['uint32']()+_0x4d4918['pos'];_0x4d4918['pos']<_0x2fda6c;)_0x1606a4['types']['push'](_0x4d4918['uint32']());}else _0x1606a4['types']['push'](_0x4d4918['uint32']());break;case 0x5:_0x1606a4['lastOperationId']=_0x4d4918['string']();break;default:_0x4d4918['skipType'](0x7&_0x4d6e40);}}return _0x1606a4;},_0x4afc79['decodeDelimited']=function(_0x260821){return _0x260821 instanceof _0x37c416||(_0x260821=new _0x37c416(_0x260821)),this['decode'](_0x260821,_0x260821['uint32']());},_0x4afc79['verify']=function(_0x26a7b5){if('object'!=typeof _0x26a7b5||null===_0x26a7b5)return'object\x20expected';if(null!=_0x26a7b5['id']&&_0x26a7b5['hasOwnProperty']('id')&&!_0xcc38bf['isString'](_0x26a7b5['id']))return'id:\x20string\x20expected';if(null!=_0x26a7b5['bundleVersion']&&_0x26a7b5['hasOwnProperty']('bundleVersion')&&!_0xcc38bf['isString'](_0x26a7b5['bundleVersion']))return'bundleVersion:\x20string\x20expected';if(null!=_0x26a7b5['buffers']&&_0x26a7b5['hasOwnProperty']('buffers')){if(!Array['isArray'](_0x26a7b5['buffers']))return'buffers:\x20array\x20expected';for(var _0x3108c4=0x0;_0x3108c4<_0x26a7b5['buffers']['length'];++_0x3108c4)if(!(_0x26a7b5['buffers'][_0x3108c4]&&'number'==typeof _0x26a7b5['buffers'][_0x3108c4]['length']||_0xcc38bf['isString'](_0x26a7b5['buffers'][_0x3108c4])))return'buffers:\x20buffer[]\x20expected';}if(null!=_0x26a7b5['types']&&_0x26a7b5['hasOwnProperty']('types')){if(!Array['isArray'](_0x26a7b5['types']))return'types:\x20array\x20expected';for(_0x3108c4=0x0;_0x3108c4<_0x26a7b5['types']['length'];++_0x3108c4)if(!_0xcc38bf['isInteger'](_0x26a7b5['types'][_0x3108c4]))return'types:\x20integer[]\x20expected';}return null!=_0x26a7b5['lastOperationId']&&_0x26a7b5['hasOwnProperty']('lastOperationId')&&!_0xcc38bf['isString'](_0x26a7b5['lastOperationId'])?'lastOperationId:\x20string\x20expected':null;},_0x4afc79['fromObject']=function(_0x2697f2){if(_0x2697f2 instanceof _0xd25805['CollaborativeEditingConnectMessage'])return _0x2697f2;var _0x4297bf=new _0xd25805['CollaborativeEditingConnectMessage']();if(null!=_0x2697f2['id']&&(_0x4297bf['id']=String(_0x2697f2['id'])),null!=_0x2697f2['bundleVersion']&&(_0x4297bf['bundleVersion']=String(_0x2697f2['bundleVersion'])),_0x2697f2['buffers']){if(!Array['isArray'](_0x2697f2['buffers']))throw TypeError('.CollaborativeEditingConnectMessage.buffers:\x20array\x20expected');_0x4297bf['buffers']=[];for(var _0x37078f=0x0;_0x37078f<_0x2697f2['buffers']['length'];++_0x37078f)'string'==typeof _0x2697f2['buffers'][_0x37078f]?_0xcc38bf['base64']['decode'](_0x2697f2['buffers'][_0x37078f],_0x4297bf['buffers'][_0x37078f]=_0xcc38bf['newBuffer'](_0xcc38bf['base64']['length'](_0x2697f2['buffers'][_0x37078f])),0x0):_0x2697f2['buffers'][_0x37078f]['length']>=0x0&&(_0x4297bf['buffers'][_0x37078f]=_0x2697f2['buffers'][_0x37078f]);}if(_0x2697f2['types']){if(!Array['isArray'](_0x2697f2['types']))throw TypeError('.CollaborativeEditingConnectMessage.types:\x20array\x20expected');for(_0x4297bf['types']=[],_0x37078f=0x0;_0x37078f<_0x2697f2['types']['length'];++_0x37078f)_0x4297bf['types'][_0x37078f]=_0x2697f2['types'][_0x37078f]>>>0x0;}return null!=_0x2697f2['lastOperationId']&&(_0x4297bf['lastOperationId']=String(_0x2697f2['lastOperationId'])),_0x4297bf;},_0x4afc79['toObject']=function(_0xdf19d3,_0x182108){_0x182108||(_0x182108={});var _0x1d2532={};if((_0x182108['arrays']||_0x182108['defaults'])&&(_0x1d2532['buffers']=[],_0x1d2532['types']=[]),_0x182108['defaults']&&(_0x1d2532['id']='',_0x1d2532['bundleVersion']='',_0x1d2532['lastOperationId']=''),null!=_0xdf19d3['id']&&_0xdf19d3['hasOwnProperty']('id')&&(_0x1d2532['id']=_0xdf19d3['id']),null!=_0xdf19d3['bundleVersion']&&_0xdf19d3['hasOwnProperty']('bundleVersion')&&(_0x1d2532['bundleVersion']=_0xdf19d3['bundleVersion']),_0xdf19d3['buffers']&&_0xdf19d3['buffers']['length']){_0x1d2532['buffers']=[];for(var _0x37fda2=0x0;_0x37fda2<_0xdf19d3['buffers']['length'];++_0x37fda2)_0x1d2532['buffers'][_0x37fda2]=_0x182108['bytes']===String?_0xcc38bf['base64']['encode'](_0xdf19d3['buffers'][_0x37fda2],0x0,_0xdf19d3['buffers'][_0x37fda2]['length']):_0x182108['bytes']===Array?Array['prototype']['slice']['call'](_0xdf19d3['buffers'][_0x37fda2]):_0xdf19d3['buffers'][_0x37fda2];}if(_0xdf19d3['types']&&_0xdf19d3['types']['length']){for(_0x1d2532['types']=[],_0x37fda2=0x0;_0x37fda2<_0xdf19d3['types']['length'];++_0x37fda2)_0x1d2532['types'][_0x37fda2]=_0xdf19d3['types'][_0x37fda2];}return null!=_0xdf19d3['lastOperationId']&&_0xdf19d3['hasOwnProperty']('lastOperationId')&&(_0x1d2532['lastOperationId']=_0xdf19d3['lastOperationId']),_0x1d2532;},_0x4afc79['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x4afc79['getTypeUrl']=function(_0x5d0abe){return void 0x0===_0x5d0abe&&(_0x5d0abe='type.googleapis.com'),_0x5d0abe+'/CollaborativeEditingConnectMessage';},_0x4afc79;}()),_0xd25805['CollaborativeEditingReconnectMessage']=(function(){function _0x1e907a(_0xcad551){if(_0xcad551){for(var _0x9b2dfa=Object['keys'](_0xcad551),_0x3b0af7=0x0;_0x3b0af7<_0x9b2dfa['length'];++_0x3b0af7)null!=_0xcad551[_0x9b2dfa[_0x3b0af7]]&&(this[_0x9b2dfa[_0x3b0af7]]=_0xcad551[_0x9b2dfa[_0x3b0af7]]);}}return _0x1e907a['prototype']['id']='',_0x1e907a['prototype']['bundleVersion']='',_0x1e907a['prototype']['lastKnowVersion']=0x0,_0x1e907a['create']=function(_0x33463e){return new _0x1e907a(_0x33463e);},_0x1e907a['encode']=function(_0x465735,_0x5046cd){return _0x5046cd||(_0x5046cd=_0x1f8a63['create']()),null!=_0x465735['id']&&Object['hasOwnProperty']['call'](_0x465735,'id')&&_0x5046cd['uint32'](0xa)['string'](_0x465735['id']),null!=_0x465735['bundleVersion']&&Object['hasOwnProperty']['call'](_0x465735,'bundleVersion')&&_0x5046cd['uint32'](0x12)['string'](_0x465735['bundleVersion']),null!=_0x465735['lastKnowVersion']&&Object['hasOwnProperty']['call'](_0x465735,'lastKnowVersion')&&_0x5046cd['uint32'](0x18)['uint32'](_0x465735['lastKnowVersion']),_0x5046cd;},_0x1e907a['encodeDelimited']=function(_0x43502b,_0x14eee1){return this['encode'](_0x43502b,_0x14eee1)['ldelim']();},_0x1e907a['decode']=function(_0x1a0e1f,_0x181600,_0x1be9fb){_0x1a0e1f instanceof _0x37c416||(_0x1a0e1f=_0x37c416['create'](_0x1a0e1f));for(var _0x4a5078=void 0x0===_0x181600?_0x1a0e1f['len']:_0x1a0e1f['pos']+_0x181600,_0x49c4f7=new _0xd25805['CollaborativeEditingReconnectMessage']();_0x1a0e1f['pos']<_0x4a5078;){var _0x112572=_0x1a0e1f['uint32']();if(_0x112572===_0x1be9fb)break;switch(_0x112572>>>0x3){case 0x1:_0x49c4f7['id']=_0x1a0e1f['string']();break;case 0x2:_0x49c4f7['bundleVersion']=_0x1a0e1f['string']();break;case 0x3:_0x49c4f7['lastKnowVersion']=_0x1a0e1f['uint32']();break;default:_0x1a0e1f['skipType'](0x7&_0x112572);}}return _0x49c4f7;},_0x1e907a['decodeDelimited']=function(_0x65ee31){return _0x65ee31 instanceof _0x37c416||(_0x65ee31=new _0x37c416(_0x65ee31)),this['decode'](_0x65ee31,_0x65ee31['uint32']());},_0x1e907a['verify']=function(_0x2f46ba){return'object'!=typeof _0x2f46ba||null===_0x2f46ba?'object\x20expected':null!=_0x2f46ba['id']&&_0x2f46ba['hasOwnProperty']('id')&&!_0xcc38bf['isString'](_0x2f46ba['id'])?'id:\x20string\x20expected':null!=_0x2f46ba['bundleVersion']&&_0x2f46ba['hasOwnProperty']('bundleVersion')&&!_0xcc38bf['isString'](_0x2f46ba['bundleVersion'])?'bundleVersion:\x20string\x20expected':null!=_0x2f46ba['lastKnowVersion']&&_0x2f46ba['hasOwnProperty']('lastKnowVersion')&&!_0xcc38bf['isInteger'](_0x2f46ba['lastKnowVersion'])?'lastKnowVersion:\x20integer\x20expected':null;},_0x1e907a['fromObject']=function(_0x49e3b3){if(_0x49e3b3 instanceof _0xd25805['CollaborativeEditingReconnectMessage'])return _0x49e3b3;var _0x2ede49=new _0xd25805['CollaborativeEditingReconnectMessage']();return null!=_0x49e3b3['id']&&(_0x2ede49['id']=String(_0x49e3b3['id'])),null!=_0x49e3b3['bundleVersion']&&(_0x2ede49['bundleVersion']=String(_0x49e3b3['bundleVersion'])),null!=_0x49e3b3['lastKnowVersion']&&(_0x2ede49['lastKnowVersion']=_0x49e3b3['lastKnowVersion']>>>0x0),_0x2ede49;},_0x1e907a['toObject']=function(_0x2757ab,_0x57738c){_0x57738c||(_0x57738c={});var _0x4be64b={};return _0x57738c['defaults']&&(_0x4be64b['id']='',_0x4be64b['bundleVersion']='',_0x4be64b['lastKnowVersion']=0x0),null!=_0x2757ab['id']&&_0x2757ab['hasOwnProperty']('id')&&(_0x4be64b['id']=_0x2757ab['id']),null!=_0x2757ab['bundleVersion']&&_0x2757ab['hasOwnProperty']('bundleVersion')&&(_0x4be64b['bundleVersion']=_0x2757ab['bundleVersion']),null!=_0x2757ab['lastKnowVersion']&&_0x2757ab['hasOwnProperty']('lastKnowVersion')&&(_0x4be64b['lastKnowVersion']=_0x2757ab['lastKnowVersion']),_0x4be64b;},_0x1e907a['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x1e907a['getTypeUrl']=function(_0x5f4c82){return void 0x0===_0x5f4c82&&(_0x5f4c82='type.googleapis.com'),_0x5f4c82+'/CollaborativeEditingReconnectMessage';},_0x1e907a;}()),_0xd25805['CollaborativeEditingUpdateMessage']=(function(){function _0x524421(_0x14d14a){if(this['buffers']=[],this['types']=[],this['metadata']=[],_0x14d14a){for(var _0x237363=Object['keys'](_0x14d14a),_0xd14487=0x0;_0xd14487<_0x237363['length'];++_0xd14487)null!=_0x14d14a[_0x237363[_0xd14487]]&&(this[_0x237363[_0xd14487]]=_0x14d14a[_0x237363[_0xd14487]]);}}return _0x524421['prototype']['id']='',_0x524421['prototype']['baseVersion']=0x0,_0x524421['prototype']['buffers']=_0xcc38bf['emptyArray'],_0x524421['prototype']['types']=_0xcc38bf['emptyArray'],_0x524421['prototype']['metadata']=_0xcc38bf['emptyArray'],_0x524421['prototype']['lastOperationId']='',_0x524421['create']=function(_0x3011a8){return new _0x524421(_0x3011a8);},_0x524421['encode']=function(_0x7f9c34,_0x10ca95){if(_0x10ca95||(_0x10ca95=_0x1f8a63['create']()),null!=_0x7f9c34['id']&&Object['hasOwnProperty']['call'](_0x7f9c34,'id')&&_0x10ca95['uint32'](0xa)['string'](_0x7f9c34['id']),null!=_0x7f9c34['baseVersion']&&Object['hasOwnProperty']['call'](_0x7f9c34,'baseVersion')&&_0x10ca95['uint32'](0x10)['uint32'](_0x7f9c34['baseVersion']),null!=_0x7f9c34['buffers']&&_0x7f9c34['buffers']['length']){for(var _0xa8f1cf=0x0;_0xa8f1cf<_0x7f9c34['buffers']['length'];++_0xa8f1cf)_0x10ca95['uint32'](0x1a)['bytes'](_0x7f9c34['buffers'][_0xa8f1cf]);}if(null!=_0x7f9c34['types']&&_0x7f9c34['types']['length']){for(_0x10ca95['uint32'](0x22)['fork'](),_0xa8f1cf=0x0;_0xa8f1cf<_0x7f9c34['types']['length'];++_0xa8f1cf)_0x10ca95['uint32'](_0x7f9c34['types'][_0xa8f1cf]);_0x10ca95['ldelim']();}if(null!=_0x7f9c34['metadata']&&_0x7f9c34['metadata']['length']){for(_0xa8f1cf=0x0;_0xa8f1cf<_0x7f9c34['metadata']['length'];++_0xa8f1cf)_0xd25805['OperationMetadataDescriptor']['encode'](_0x7f9c34['metadata'][_0xa8f1cf],_0x10ca95['uint32'](0x32)['fork']())['ldelim']();}return null!=_0x7f9c34['lastOperationId']&&Object['hasOwnProperty']['call'](_0x7f9c34,'lastOperationId')&&_0x10ca95['uint32'](0x3a)['string'](_0x7f9c34['lastOperationId']),_0x10ca95;},_0x524421['encodeDelimited']=function(_0x453c72,_0x30686b){return this['encode'](_0x453c72,_0x30686b)['ldelim']();},_0x524421['decode']=function(_0x781003,_0xb82373,_0xfcd998){_0x781003 instanceof _0x37c416||(_0x781003=_0x37c416['create'](_0x781003));for(var _0xd9ad1b=void 0x0===_0xb82373?_0x781003['len']:_0x781003['pos']+_0xb82373,_0x51bb80=new _0xd25805['CollaborativeEditingUpdateMessage']();_0x781003['pos']<_0xd9ad1b;){var _0x4f019d=_0x781003['uint32']();if(_0x4f019d===_0xfcd998)break;switch(_0x4f019d>>>0x3){case 0x1:_0x51bb80['id']=_0x781003['string']();break;case 0x2:_0x51bb80['baseVersion']=_0x781003['uint32']();break;case 0x3:_0x51bb80['buffers']&&_0x51bb80['buffers']['length']||(_0x51bb80['buffers']=[]),_0x51bb80['buffers']['push'](_0x781003['bytes']());break;case 0x4:if(_0x51bb80['types']&&_0x51bb80['types']['length']||(_0x51bb80['types']=[]),0x2==(0x7&_0x4f019d)){for(var _0x52fc97=_0x781003['uint32']()+_0x781003['pos'];_0x781003['pos']<_0x52fc97;)_0x51bb80['types']['push'](_0x781003['uint32']());}else _0x51bb80['types']['push'](_0x781003['uint32']());break;case 0x6:_0x51bb80['metadata']&&_0x51bb80['metadata']['length']||(_0x51bb80['metadata']=[]),_0x51bb80['metadata']['push'](_0xd25805['OperationMetadataDescriptor']['decode'](_0x781003,_0x781003['uint32']()));break;case 0x7:_0x51bb80['lastOperationId']=_0x781003['string']();break;default:_0x781003['skipType'](0x7&_0x4f019d);}}return _0x51bb80;},_0x524421['decodeDelimited']=function(_0x57b051){return _0x57b051 instanceof _0x37c416||(_0x57b051=new _0x37c416(_0x57b051)),this['decode'](_0x57b051,_0x57b051['uint32']());},_0x524421['verify']=function(_0x2314e4){if('object'!=typeof _0x2314e4||null===_0x2314e4)return'object\x20expected';if(null!=_0x2314e4['id']&&_0x2314e4['hasOwnProperty']('id')&&!_0xcc38bf['isString'](_0x2314e4['id']))return'id:\x20string\x20expected';if(null!=_0x2314e4['baseVersion']&&_0x2314e4['hasOwnProperty']('baseVersion')&&!_0xcc38bf['isInteger'](_0x2314e4['baseVersion']))return'baseVersion:\x20integer\x20expected';if(null!=_0x2314e4['buffers']&&_0x2314e4['hasOwnProperty']('buffers')){if(!Array['isArray'](_0x2314e4['buffers']))return'buffers:\x20array\x20expected';for(var _0x417d62=0x0;_0x417d62<_0x2314e4['buffers']['length'];++_0x417d62)if(!(_0x2314e4['buffers'][_0x417d62]&&'number'==typeof _0x2314e4['buffers'][_0x417d62]['length']||_0xcc38bf['isString'](_0x2314e4['buffers'][_0x417d62])))return'buffers:\x20buffer[]\x20expected';}if(null!=_0x2314e4['types']&&_0x2314e4['hasOwnProperty']('types')){if(!Array['isArray'](_0x2314e4['types']))return'types:\x20array\x20expected';for(_0x417d62=0x0;_0x417d62<_0x2314e4['types']['length'];++_0x417d62)if(!_0xcc38bf['isInteger'](_0x2314e4['types'][_0x417d62]))return'types:\x20integer[]\x20expected';}if(null!=_0x2314e4['metadata']&&_0x2314e4['hasOwnProperty']('metadata')){if(!Array['isArray'](_0x2314e4['metadata']))return'metadata:\x20array\x20expected';for(_0x417d62=0x0;_0x417d62<_0x2314e4['metadata']['length'];++_0x417d62){var _0x413485=_0xd25805['OperationMetadataDescriptor']['verify'](_0x2314e4['metadata'][_0x417d62]);if(_0x413485)return'metadata.'+_0x413485;}}return null!=_0x2314e4['lastOperationId']&&_0x2314e4['hasOwnProperty']('lastOperationId')&&!_0xcc38bf['isString'](_0x2314e4['lastOperationId'])?'lastOperationId:\x20string\x20expected':null;},_0x524421['fromObject']=function(_0x43c91f){if(_0x43c91f instanceof _0xd25805['CollaborativeEditingUpdateMessage'])return _0x43c91f;var _0x3b45ab=new _0xd25805['CollaborativeEditingUpdateMessage']();if(null!=_0x43c91f['id']&&(_0x3b45ab['id']=String(_0x43c91f['id'])),null!=_0x43c91f['baseVersion']&&(_0x3b45ab['baseVersion']=_0x43c91f['baseVersion']>>>0x0),_0x43c91f['buffers']){if(!Array['isArray'](_0x43c91f['buffers']))throw TypeError('.CollaborativeEditingUpdateMessage.buffers:\x20array\x20expected');_0x3b45ab['buffers']=[];for(var _0x1eddeb=0x0;_0x1eddeb<_0x43c91f['buffers']['length'];++_0x1eddeb)'string'==typeof _0x43c91f['buffers'][_0x1eddeb]?_0xcc38bf['base64']['decode'](_0x43c91f['buffers'][_0x1eddeb],_0x3b45ab['buffers'][_0x1eddeb]=_0xcc38bf['newBuffer'](_0xcc38bf['base64']['length'](_0x43c91f['buffers'][_0x1eddeb])),0x0):_0x43c91f['buffers'][_0x1eddeb]['length']>=0x0&&(_0x3b45ab['buffers'][_0x1eddeb]=_0x43c91f['buffers'][_0x1eddeb]);}if(_0x43c91f['types']){if(!Array['isArray'](_0x43c91f['types']))throw TypeError('.CollaborativeEditingUpdateMessage.types:\x20array\x20expected');for(_0x3b45ab['types']=[],_0x1eddeb=0x0;_0x1eddeb<_0x43c91f['types']['length'];++_0x1eddeb)_0x3b45ab['types'][_0x1eddeb]=_0x43c91f['types'][_0x1eddeb]>>>0x0;}if(_0x43c91f['metadata']){if(!Array['isArray'](_0x43c91f['metadata']))throw TypeError('.CollaborativeEditingUpdateMessage.metadata:\x20array\x20expected');for(_0x3b45ab['metadata']=[],_0x1eddeb=0x0;_0x1eddeb<_0x43c91f['metadata']['length'];++_0x1eddeb){if('object'!=typeof _0x43c91f['metadata'][_0x1eddeb])throw TypeError('.CollaborativeEditingUpdateMessage.metadata:\x20object\x20expected');_0x3b45ab['metadata'][_0x1eddeb]=_0xd25805['OperationMetadataDescriptor']['fromObject'](_0x43c91f['metadata'][_0x1eddeb]);}}return null!=_0x43c91f['lastOperationId']&&(_0x3b45ab['lastOperationId']=String(_0x43c91f['lastOperationId'])),_0x3b45ab;},_0x524421['toObject']=function(_0xa9d436,_0x396f7c){_0x396f7c||(_0x396f7c={});var _0x524619={};if((_0x396f7c['arrays']||_0x396f7c['defaults'])&&(_0x524619['buffers']=[],_0x524619['types']=[],_0x524619['metadata']=[]),_0x396f7c['defaults']&&(_0x524619['id']='',_0x524619['baseVersion']=0x0,_0x524619['lastOperationId']=''),null!=_0xa9d436['id']&&_0xa9d436['hasOwnProperty']('id')&&(_0x524619['id']=_0xa9d436['id']),null!=_0xa9d436['baseVersion']&&_0xa9d436['hasOwnProperty']('baseVersion')&&(_0x524619['baseVersion']=_0xa9d436['baseVersion']),_0xa9d436['buffers']&&_0xa9d436['buffers']['length']){_0x524619['buffers']=[];for(var _0xc556ff=0x0;_0xc556ff<_0xa9d436['buffers']['length'];++_0xc556ff)_0x524619['buffers'][_0xc556ff]=_0x396f7c['bytes']===String?_0xcc38bf['base64']['encode'](_0xa9d436['buffers'][_0xc556ff],0x0,_0xa9d436['buffers'][_0xc556ff]['length']):_0x396f7c['bytes']===Array?Array['prototype']['slice']['call'](_0xa9d436['buffers'][_0xc556ff]):_0xa9d436['buffers'][_0xc556ff];}if(_0xa9d436['types']&&_0xa9d436['types']['length']){for(_0x524619['types']=[],_0xc556ff=0x0;_0xc556ff<_0xa9d436['types']['length'];++_0xc556ff)_0x524619['types'][_0xc556ff]=_0xa9d436['types'][_0xc556ff];}if(_0xa9d436['metadata']&&_0xa9d436['metadata']['length']){for(_0x524619['metadata']=[],_0xc556ff=0x0;_0xc556ff<_0xa9d436['metadata']['length'];++_0xc556ff)_0x524619['metadata'][_0xc556ff]=_0xd25805['OperationMetadataDescriptor']['toObject'](_0xa9d436['metadata'][_0xc556ff],_0x396f7c);}return null!=_0xa9d436['lastOperationId']&&_0xa9d436['hasOwnProperty']('lastOperationId')&&(_0x524619['lastOperationId']=_0xa9d436['lastOperationId']),_0x524619;},_0x524421['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x524421['getTypeUrl']=function(_0x320931){return void 0x0===_0x320931&&(_0x320931='type.googleapis.com'),_0x320931+'/CollaborativeEditingUpdateMessage';},_0x524421;}()),_0xd25805['GetDocumentDetailsMessage']=(function(){function _0x100adc(_0x2f6e68){if(_0x2f6e68){for(var _0x21eefa=Object['keys'](_0x2f6e68),_0x6bba7a=0x0;_0x6bba7a<_0x21eefa['length'];++_0x6bba7a)null!=_0x2f6e68[_0x21eefa[_0x6bba7a]]&&(this[_0x21eefa[_0x6bba7a]]=_0x2f6e68[_0x21eefa[_0x6bba7a]]);}}return _0x100adc['prototype']['documentId']='',_0x100adc['prototype']['environmentId']='',_0x100adc['create']=function(_0x51a1f0){return new _0x100adc(_0x51a1f0);},_0x100adc['encode']=function(_0x43d29f,_0x6adf71){return _0x6adf71||(_0x6adf71=_0x1f8a63['create']()),null!=_0x43d29f['documentId']&&Object['hasOwnProperty']['call'](_0x43d29f,'documentId')&&_0x6adf71['uint32'](0xa)['string'](_0x43d29f['documentId']),null!=_0x43d29f['environmentId']&&Object['hasOwnProperty']['call'](_0x43d29f,'environmentId')&&_0x6adf71['uint32'](0x12)['string'](_0x43d29f['environmentId']),_0x6adf71;},_0x100adc['encodeDelimited']=function(_0x3a9a54,_0x6e124){return this['encode'](_0x3a9a54,_0x6e124)['ldelim']();},_0x100adc['decode']=function(_0x762c4a,_0x21294f,_0x303cb7){_0x762c4a instanceof _0x37c416||(_0x762c4a=_0x37c416['create'](_0x762c4a));for(var _0x2274cb=void 0x0===_0x21294f?_0x762c4a['len']:_0x762c4a['pos']+_0x21294f,_0x3d1257=new _0xd25805['GetDocumentDetailsMessage']();_0x762c4a['pos']<_0x2274cb;){var _0x2bc82c=_0x762c4a['uint32']();if(_0x2bc82c===_0x303cb7)break;switch(_0x2bc82c>>>0x3){case 0x1:_0x3d1257['documentId']=_0x762c4a['string']();break;case 0x2:_0x3d1257['environmentId']=_0x762c4a['string']();break;default:_0x762c4a['skipType'](0x7&_0x2bc82c);}}return _0x3d1257;},_0x100adc['decodeDelimited']=function(_0x433831){return _0x433831 instanceof _0x37c416||(_0x433831=new _0x37c416(_0x433831)),this['decode'](_0x433831,_0x433831['uint32']());},_0x100adc['verify']=function(_0x46506d){return'object'!=typeof _0x46506d||null===_0x46506d?'object\x20expected':null!=_0x46506d['documentId']&&_0x46506d['hasOwnProperty']('documentId')&&!_0xcc38bf['isString'](_0x46506d['documentId'])?'documentId:\x20string\x20expected':null!=_0x46506d['environmentId']&&_0x46506d['hasOwnProperty']('environmentId')&&!_0xcc38bf['isString'](_0x46506d['environmentId'])?'environmentId:\x20string\x20expected':null;},_0x100adc['fromObject']=function(_0x51d47a){if(_0x51d47a instanceof _0xd25805['GetDocumentDetailsMessage'])return _0x51d47a;var _0x19edc3=new _0xd25805['GetDocumentDetailsMessage']();return null!=_0x51d47a['documentId']&&(_0x19edc3['documentId']=String(_0x51d47a['documentId'])),null!=_0x51d47a['environmentId']&&(_0x19edc3['environmentId']=String(_0x51d47a['environmentId'])),_0x19edc3;},_0x100adc['toObject']=function(_0x328101,_0x3b12a8){_0x3b12a8||(_0x3b12a8={});var _0x29eb87={};return _0x3b12a8['defaults']&&(_0x29eb87['documentId']='',_0x29eb87['environmentId']=''),null!=_0x328101['documentId']&&_0x328101['hasOwnProperty']('documentId')&&(_0x29eb87['documentId']=_0x328101['documentId']),null!=_0x328101['environmentId']&&_0x328101['hasOwnProperty']('environmentId')&&(_0x29eb87['environmentId']=_0x328101['environmentId']),_0x29eb87;},_0x100adc['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x100adc['getTypeUrl']=function(_0x561c46){return void 0x0===_0x561c46&&(_0x561c46='type.googleapis.com'),_0x561c46+'/GetDocumentDetailsMessage';},_0x100adc;}()),_0xd25805['CollaborativeEditingConnectResponse']=(function(){function _0x18c7ab(_0x1c11e1){if(this['buffers']=[],this['types']=[],this['metadata']=[],_0x1c11e1){for(var _0x236d71=Object['keys'](_0x1c11e1),_0x3e3b9e=0x0;_0x3e3b9e<_0x236d71['length'];++_0x3e3b9e)null!=_0x1c11e1[_0x236d71[_0x3e3b9e]]&&(this[_0x236d71[_0x3e3b9e]]=_0x1c11e1[_0x236d71[_0x3e3b9e]]);}}return _0x18c7ab['prototype']['channel']='',_0x18c7ab['prototype']['offset']=0x0,_0x18c7ab['prototype']['version']=0x0,_0x18c7ab['prototype']['buffers']=_0xcc38bf['emptyArray'],_0x18c7ab['prototype']['types']=_0xcc38bf['emptyArray'],_0x18c7ab['prototype']['metadata']=_0xcc38bf['emptyArray'],_0x18c7ab['prototype']['initData']='',_0x18c7ab['prototype']['isInitialized']=!0x1,_0x18c7ab['prototype']['sessionId']='',_0x18c7ab['prototype']['lastOperationId']='',_0x18c7ab['prototype']['sessionCreatedAt']='',_0x18c7ab['create']=function(_0x3f122c){return new _0x18c7ab(_0x3f122c);},_0x18c7ab['encode']=function(_0x3f7e55,_0x591688){if(_0x591688||(_0x591688=_0x1f8a63['create']()),null!=_0x3f7e55['channel']&&Object['hasOwnProperty']['call'](_0x3f7e55,'channel')&&_0x591688['uint32'](0xa)['string'](_0x3f7e55['channel']),null!=_0x3f7e55['offset']&&Object['hasOwnProperty']['call'](_0x3f7e55,'offset')&&_0x591688['uint32'](0x10)['uint32'](_0x3f7e55['offset']),null!=_0x3f7e55['version']&&Object['hasOwnProperty']['call'](_0x3f7e55,'version')&&_0x591688['uint32'](0x18)['uint32'](_0x3f7e55['version']),null!=_0x3f7e55['buffers']&&_0x3f7e55['buffers']['length']){for(var _0x1d26a6=0x0;_0x1d26a6<_0x3f7e55['buffers']['length'];++_0x1d26a6)_0x591688['uint32'](0x22)['bytes'](_0x3f7e55['buffers'][_0x1d26a6]);}if(null!=_0x3f7e55['types']&&_0x3f7e55['types']['length']){for(_0x591688['uint32'](0x2a)['fork'](),_0x1d26a6=0x0;_0x1d26a6<_0x3f7e55['types']['length'];++_0x1d26a6)_0x591688['uint32'](_0x3f7e55['types'][_0x1d26a6]);_0x591688['ldelim']();}if(null!=_0x3f7e55['metadata']&&_0x3f7e55['metadata']['length']){for(_0x1d26a6=0x0;_0x1d26a6<_0x3f7e55['metadata']['length'];++_0x1d26a6)_0xd25805['OperationMetadataDescriptor']['encode'](_0x3f7e55['metadata'][_0x1d26a6],_0x591688['uint32'](0x3a)['fork']())['ldelim']();}return null!=_0x3f7e55['initData']&&Object['hasOwnProperty']['call'](_0x3f7e55,'initData')&&_0x591688['uint32'](0x42)['string'](_0x3f7e55['initData']),null!=_0x3f7e55['isInitialized']&&Object['hasOwnProperty']['call'](_0x3f7e55,'isInitialized')&&_0x591688['uint32'](0x48)['bool'](_0x3f7e55['isInitialized']),null!=_0x3f7e55['sessionId']&&Object['hasOwnProperty']['call'](_0x3f7e55,'sessionId')&&_0x591688['uint32'](0x52)['string'](_0x3f7e55['sessionId']),null!=_0x3f7e55['lastOperationId']&&Object['hasOwnProperty']['call'](_0x3f7e55,'lastOperationId')&&_0x591688['uint32'](0x5a)['string'](_0x3f7e55['lastOperationId']),null!=_0x3f7e55['sessionCreatedAt']&&Object['hasOwnProperty']['call'](_0x3f7e55,'sessionCreatedAt')&&_0x591688['uint32'](0x62)['string'](_0x3f7e55['sessionCreatedAt']),_0x591688;},_0x18c7ab['encodeDelimited']=function(_0x535896,_0x5154db){return this['encode'](_0x535896,_0x5154db)['ldelim']();},_0x18c7ab['decode']=function(_0x45aee3,_0x29a64e,_0x2c299f){_0x45aee3 instanceof _0x37c416||(_0x45aee3=_0x37c416['create'](_0x45aee3));for(var _0x54a8d8=void 0x0===_0x29a64e?_0x45aee3['len']:_0x45aee3['pos']+_0x29a64e,_0x130697=new _0xd25805['CollaborativeEditingConnectResponse']();_0x45aee3['pos']<_0x54a8d8;){var _0x27815d=_0x45aee3['uint32']();if(_0x27815d===_0x2c299f)break;switch(_0x27815d>>>0x3){case 0x1:_0x130697['channel']=_0x45aee3['string']();break;case 0x2:_0x130697['offset']=_0x45aee3['uint32']();break;case 0x3:_0x130697['version']=_0x45aee3['uint32']();break;case 0x4:_0x130697['buffers']&&_0x130697['buffers']['length']||(_0x130697['buffers']=[]),_0x130697['buffers']['push'](_0x45aee3['bytes']());break;case 0x5:if(_0x130697['types']&&_0x130697['types']['length']||(_0x130697['types']=[]),0x2==(0x7&_0x27815d)){for(var _0x169888=_0x45aee3['uint32']()+_0x45aee3['pos'];_0x45aee3['pos']<_0x169888;)_0x130697['types']['push'](_0x45aee3['uint32']());}else _0x130697['types']['push'](_0x45aee3['uint32']());break;case 0x7:_0x130697['metadata']&&_0x130697['metadata']['length']||(_0x130697['metadata']=[]),_0x130697['metadata']['push'](_0xd25805['OperationMetadataDescriptor']['decode'](_0x45aee3,_0x45aee3['uint32']()));break;case 0x8:_0x130697['initData']=_0x45aee3['string']();break;case 0x9:_0x130697['isInitialized']=_0x45aee3['bool']();break;case 0xa:_0x130697['sessionId']=_0x45aee3['string']();break;case 0xb:_0x130697['lastOperationId']=_0x45aee3['string']();break;case 0xc:_0x130697['sessionCreatedAt']=_0x45aee3['string']();break;default:_0x45aee3['skipType'](0x7&_0x27815d);}}return _0x130697;},_0x18c7ab['decodeDelimited']=function(_0x5d1f32){return _0x5d1f32 instanceof _0x37c416||(_0x5d1f32=new _0x37c416(_0x5d1f32)),this['decode'](_0x5d1f32,_0x5d1f32['uint32']());},_0x18c7ab['verify']=function(_0x46e489){if('object'!=typeof _0x46e489||null===_0x46e489)return'object\x20expected';if(null!=_0x46e489['channel']&&_0x46e489['hasOwnProperty']('channel')&&!_0xcc38bf['isString'](_0x46e489['channel']))return'channel:\x20string\x20expected';if(null!=_0x46e489['offset']&&_0x46e489['hasOwnProperty']('offset')&&!_0xcc38bf['isInteger'](_0x46e489['offset']))return'offset:\x20integer\x20expected';if(null!=_0x46e489['version']&&_0x46e489['hasOwnProperty']('version')&&!_0xcc38bf['isInteger'](_0x46e489['version']))return'version:\x20integer\x20expected';if(null!=_0x46e489['buffers']&&_0x46e489['hasOwnProperty']('buffers')){if(!Array['isArray'](_0x46e489['buffers']))return'buffers:\x20array\x20expected';for(var _0x49b45e=0x0;_0x49b45e<_0x46e489['buffers']['length'];++_0x49b45e)if(!(_0x46e489['buffers'][_0x49b45e]&&'number'==typeof _0x46e489['buffers'][_0x49b45e]['length']||_0xcc38bf['isString'](_0x46e489['buffers'][_0x49b45e])))return'buffers:\x20buffer[]\x20expected';}if(null!=_0x46e489['types']&&_0x46e489['hasOwnProperty']('types')){if(!Array['isArray'](_0x46e489['types']))return'types:\x20array\x20expected';for(_0x49b45e=0x0;_0x49b45e<_0x46e489['types']['length'];++_0x49b45e)if(!_0xcc38bf['isInteger'](_0x46e489['types'][_0x49b45e]))return'types:\x20integer[]\x20expected';}if(null!=_0x46e489['metadata']&&_0x46e489['hasOwnProperty']('metadata')){if(!Array['isArray'](_0x46e489['metadata']))return'metadata:\x20array\x20expected';for(_0x49b45e=0x0;_0x49b45e<_0x46e489['metadata']['length'];++_0x49b45e){var _0x39cdb8=_0xd25805['OperationMetadataDescriptor']['verify'](_0x46e489['metadata'][_0x49b45e]);if(_0x39cdb8)return'metadata.'+_0x39cdb8;}}return null!=_0x46e489['initData']&&_0x46e489['hasOwnProperty']('initData')&&!_0xcc38bf['isString'](_0x46e489['initData'])?'initData:\x20string\x20expected':null!=_0x46e489['isInitialized']&&_0x46e489['hasOwnProperty']('isInitialized')&&'boolean'!=typeof _0x46e489['isInitialized']?'isInitialized:\x20boolean\x20expected':null!=_0x46e489['sessionId']&&_0x46e489['hasOwnProperty']('sessionId')&&!_0xcc38bf['isString'](_0x46e489['sessionId'])?'sessionId:\x20string\x20expected':null!=_0x46e489['lastOperationId']&&_0x46e489['hasOwnProperty']('lastOperationId')&&!_0xcc38bf['isString'](_0x46e489['lastOperationId'])?'lastOperationId:\x20string\x20expected':null!=_0x46e489['sessionCreatedAt']&&_0x46e489['hasOwnProperty']('sessionCreatedAt')&&!_0xcc38bf['isString'](_0x46e489['sessionCreatedAt'])?'sessionCreatedAt:\x20string\x20expected':null;},_0x18c7ab['fromObject']=function(_0x4bc8d9){if(_0x4bc8d9 instanceof _0xd25805['CollaborativeEditingConnectResponse'])return _0x4bc8d9;var _0x424c02=new _0xd25805['CollaborativeEditingConnectResponse']();if(null!=_0x4bc8d9['channel']&&(_0x424c02['channel']=String(_0x4bc8d9['channel'])),null!=_0x4bc8d9['offset']&&(_0x424c02['offset']=_0x4bc8d9['offset']>>>0x0),null!=_0x4bc8d9['version']&&(_0x424c02['version']=_0x4bc8d9['version']>>>0x0),_0x4bc8d9['buffers']){if(!Array['isArray'](_0x4bc8d9['buffers']))throw TypeError('.CollaborativeEditingConnectResponse.buffers:\x20array\x20expected');_0x424c02['buffers']=[];for(var _0x5eba82=0x0;_0x5eba82<_0x4bc8d9['buffers']['length'];++_0x5eba82)'string'==typeof _0x4bc8d9['buffers'][_0x5eba82]?_0xcc38bf['base64']['decode'](_0x4bc8d9['buffers'][_0x5eba82],_0x424c02['buffers'][_0x5eba82]=_0xcc38bf['newBuffer'](_0xcc38bf['base64']['length'](_0x4bc8d9['buffers'][_0x5eba82])),0x0):_0x4bc8d9['buffers'][_0x5eba82]['length']>=0x0&&(_0x424c02['buffers'][_0x5eba82]=_0x4bc8d9['buffers'][_0x5eba82]);}if(_0x4bc8d9['types']){if(!Array['isArray'](_0x4bc8d9['types']))throw TypeError('.CollaborativeEditingConnectResponse.types:\x20array\x20expected');for(_0x424c02['types']=[],_0x5eba82=0x0;_0x5eba82<_0x4bc8d9['types']['length'];++_0x5eba82)_0x424c02['types'][_0x5eba82]=_0x4bc8d9['types'][_0x5eba82]>>>0x0;}if(_0x4bc8d9['metadata']){if(!Array['isArray'](_0x4bc8d9['metadata']))throw TypeError('.CollaborativeEditingConnectResponse.metadata:\x20array\x20expected');for(_0x424c02['metadata']=[],_0x5eba82=0x0;_0x5eba82<_0x4bc8d9['metadata']['length'];++_0x5eba82){if('object'!=typeof _0x4bc8d9['metadata'][_0x5eba82])throw TypeError('.CollaborativeEditingConnectResponse.metadata:\x20object\x20expected');_0x424c02['metadata'][_0x5eba82]=_0xd25805['OperationMetadataDescriptor']['fromObject'](_0x4bc8d9['metadata'][_0x5eba82]);}}return null!=_0x4bc8d9['initData']&&(_0x424c02['initData']=String(_0x4bc8d9['initData'])),null!=_0x4bc8d9['isInitialized']&&(_0x424c02['isInitialized']=Boolean(_0x4bc8d9['isInitialized'])),null!=_0x4bc8d9['sessionId']&&(_0x424c02['sessionId']=String(_0x4bc8d9['sessionId'])),null!=_0x4bc8d9['lastOperationId']&&(_0x424c02['lastOperationId']=String(_0x4bc8d9['lastOperationId'])),null!=_0x4bc8d9['sessionCreatedAt']&&(_0x424c02['sessionCreatedAt']=String(_0x4bc8d9['sessionCreatedAt'])),_0x424c02;},_0x18c7ab['toObject']=function(_0x1207a7,_0x1010bf){_0x1010bf||(_0x1010bf={});var _0x3a39ba={};if((_0x1010bf['arrays']||_0x1010bf['defaults'])&&(_0x3a39ba['buffers']=[],_0x3a39ba['types']=[],_0x3a39ba['metadata']=[]),_0x1010bf['defaults']&&(_0x3a39ba['channel']='',_0x3a39ba['offset']=0x0,_0x3a39ba['version']=0x0,_0x3a39ba['initData']='',_0x3a39ba['isInitialized']=!0x1,_0x3a39ba['sessionId']='',_0x3a39ba['lastOperationId']='',_0x3a39ba['sessionCreatedAt']=''),null!=_0x1207a7['channel']&&_0x1207a7['hasOwnProperty']('channel')&&(_0x3a39ba['channel']=_0x1207a7['channel']),null!=_0x1207a7['offset']&&_0x1207a7['hasOwnProperty']('offset')&&(_0x3a39ba['offset']=_0x1207a7['offset']),null!=_0x1207a7['version']&&_0x1207a7['hasOwnProperty']('version')&&(_0x3a39ba['version']=_0x1207a7['version']),_0x1207a7['buffers']&&_0x1207a7['buffers']['length']){_0x3a39ba['buffers']=[];for(var _0x8cf969=0x0;_0x8cf969<_0x1207a7['buffers']['length'];++_0x8cf969)_0x3a39ba['buffers'][_0x8cf969]=_0x1010bf['bytes']===String?_0xcc38bf['base64']['encode'](_0x1207a7['buffers'][_0x8cf969],0x0,_0x1207a7['buffers'][_0x8cf969]['length']):_0x1010bf['bytes']===Array?Array['prototype']['slice']['call'](_0x1207a7['buffers'][_0x8cf969]):_0x1207a7['buffers'][_0x8cf969];}if(_0x1207a7['types']&&_0x1207a7['types']['length']){for(_0x3a39ba['types']=[],_0x8cf969=0x0;_0x8cf969<_0x1207a7['types']['length'];++_0x8cf969)_0x3a39ba['types'][_0x8cf969]=_0x1207a7['types'][_0x8cf969];}if(_0x1207a7['metadata']&&_0x1207a7['metadata']['length']){for(_0x3a39ba['metadata']=[],_0x8cf969=0x0;_0x8cf969<_0x1207a7['metadata']['length'];++_0x8cf969)_0x3a39ba['metadata'][_0x8cf969]=_0xd25805['OperationMetadataDescriptor']['toObject'](_0x1207a7['metadata'][_0x8cf969],_0x1010bf);}return null!=_0x1207a7['initData']&&_0x1207a7['hasOwnProperty']('initData')&&(_0x3a39ba['initData']=_0x1207a7['initData']),null!=_0x1207a7['isInitialized']&&_0x1207a7['hasOwnProperty']('isInitialized')&&(_0x3a39ba['isInitialized']=_0x1207a7['isInitialized']),null!=_0x1207a7['sessionId']&&_0x1207a7['hasOwnProperty']('sessionId')&&(_0x3a39ba['sessionId']=_0x1207a7['sessionId']),null!=_0x1207a7['lastOperationId']&&_0x1207a7['hasOwnProperty']('lastOperationId')&&(_0x3a39ba['lastOperationId']=_0x1207a7['lastOperationId']),null!=_0x1207a7['sessionCreatedAt']&&_0x1207a7['hasOwnProperty']('sessionCreatedAt')&&(_0x3a39ba['sessionCreatedAt']=_0x1207a7['sessionCreatedAt']),_0x3a39ba;},_0x18c7ab['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x18c7ab['getTypeUrl']=function(_0x555511){return void 0x0===_0x555511&&(_0x555511='type.googleapis.com'),_0x555511+'/CollaborativeEditingConnectResponse';},_0x18c7ab;}()),_0xd25805['CollaborativeEditingResponse']=(function(){function _0x6c2afb(_0x482fd7){if(this['buffers']=[],this['types']=[],this['metadata']=[],_0x482fd7){for(var _0x2ac0e9=Object['keys'](_0x482fd7),_0x59d467=0x0;_0x59d467<_0x2ac0e9['length'];++_0x59d467)null!=_0x482fd7[_0x2ac0e9[_0x59d467]]&&(this[_0x2ac0e9[_0x59d467]]=_0x482fd7[_0x2ac0e9[_0x59d467]]);}}return _0x6c2afb['prototype']['version']=0x0,_0x6c2afb['prototype']['buffers']=_0xcc38bf['emptyArray'],_0x6c2afb['prototype']['types']=_0xcc38bf['emptyArray'],_0x6c2afb['prototype']['metadata']=_0xcc38bf['emptyArray'],_0x6c2afb['prototype']['lastOperationId']='',_0x6c2afb['prototype']['lastOperationAcceptedAt']='',_0x6c2afb['create']=function(_0x4787a0){return new _0x6c2afb(_0x4787a0);},_0x6c2afb['encode']=function(_0x4b2314,_0x42b1a5){if(_0x42b1a5||(_0x42b1a5=_0x1f8a63['create']()),null!=_0x4b2314['version']&&Object['hasOwnProperty']['call'](_0x4b2314,'version')&&_0x42b1a5['uint32'](0x8)['uint32'](_0x4b2314['version']),null!=_0x4b2314['buffers']&&_0x4b2314['buffers']['length']){for(var _0x108123=0x0;_0x108123<_0x4b2314['buffers']['length'];++_0x108123)_0x42b1a5['uint32'](0x12)['bytes'](_0x4b2314['buffers'][_0x108123]);}if(null!=_0x4b2314['types']&&_0x4b2314['types']['length']){for(_0x42b1a5['uint32'](0x1a)['fork'](),_0x108123=0x0;_0x108123<_0x4b2314['types']['length'];++_0x108123)_0x42b1a5['uint32'](_0x4b2314['types'][_0x108123]);_0x42b1a5['ldelim']();}if(null!=_0x4b2314['metadata']&&_0x4b2314['metadata']['length']){for(_0x108123=0x0;_0x108123<_0x4b2314['metadata']['length'];++_0x108123)_0xd25805['OperationMetadataDescriptor']['encode'](_0x4b2314['metadata'][_0x108123],_0x42b1a5['uint32'](0x2a)['fork']())['ldelim']();}return null!=_0x4b2314['lastOperationId']&&Object['hasOwnProperty']['call'](_0x4b2314,'lastOperationId')&&_0x42b1a5['uint32'](0x32)['string'](_0x4b2314['lastOperationId']),null!=_0x4b2314['lastOperationAcceptedAt']&&Object['hasOwnProperty']['call'](_0x4b2314,'lastOperationAcceptedAt')&&_0x42b1a5['uint32'](0x3a)['string'](_0x4b2314['lastOperationAcceptedAt']),_0x42b1a5;},_0x6c2afb['encodeDelimited']=function(_0x12d49f,_0x43891b){return this['encode'](_0x12d49f,_0x43891b)['ldelim']();},_0x6c2afb['decode']=function(_0x437339,_0x146909,_0x1664a4){_0x437339 instanceof _0x37c416||(_0x437339=_0x37c416['create'](_0x437339));for(var _0x2d9a58=void 0x0===_0x146909?_0x437339['len']:_0x437339['pos']+_0x146909,_0x238e71=new _0xd25805['CollaborativeEditingResponse']();_0x437339['pos']<_0x2d9a58;){var _0x3d397a=_0x437339['uint32']();if(_0x3d397a===_0x1664a4)break;switch(_0x3d397a>>>0x3){case 0x1:_0x238e71['version']=_0x437339['uint32']();break;case 0x2:_0x238e71['buffers']&&_0x238e71['buffers']['length']||(_0x238e71['buffers']=[]),_0x238e71['buffers']['push'](_0x437339['bytes']());break;case 0x3:if(_0x238e71['types']&&_0x238e71['types']['length']||(_0x238e71['types']=[]),0x2==(0x7&_0x3d397a)){for(var _0x8eaad8=_0x437339['uint32']()+_0x437339['pos'];_0x437339['pos']<_0x8eaad8;)_0x238e71['types']['push'](_0x437339['uint32']());}else _0x238e71['types']['push'](_0x437339['uint32']());break;case 0x5:_0x238e71['metadata']&&_0x238e71['metadata']['length']||(_0x238e71['metadata']=[]),_0x238e71['metadata']['push'](_0xd25805['OperationMetadataDescriptor']['decode'](_0x437339,_0x437339['uint32']()));break;case 0x6:_0x238e71['lastOperationId']=_0x437339['string']();break;case 0x7:_0x238e71['lastOperationAcceptedAt']=_0x437339['string']();break;default:_0x437339['skipType'](0x7&_0x3d397a);}}return _0x238e71;},_0x6c2afb['decodeDelimited']=function(_0x14acb7){return _0x14acb7 instanceof _0x37c416||(_0x14acb7=new _0x37c416(_0x14acb7)),this['decode'](_0x14acb7,_0x14acb7['uint32']());},_0x6c2afb['verify']=function(_0x2524d4){if('object'!=typeof _0x2524d4||null===_0x2524d4)return'object\x20expected';if(null!=_0x2524d4['version']&&_0x2524d4['hasOwnProperty']('version')&&!_0xcc38bf['isInteger'](_0x2524d4['version']))return'version:\x20integer\x20expected';if(null!=_0x2524d4['buffers']&&_0x2524d4['hasOwnProperty']('buffers')){if(!Array['isArray'](_0x2524d4['buffers']))return'buffers:\x20array\x20expected';for(var _0x4c501d=0x0;_0x4c501d<_0x2524d4['buffers']['length'];++_0x4c501d)if(!(_0x2524d4['buffers'][_0x4c501d]&&'number'==typeof _0x2524d4['buffers'][_0x4c501d]['length']||_0xcc38bf['isString'](_0x2524d4['buffers'][_0x4c501d])))return'buffers:\x20buffer[]\x20expected';}if(null!=_0x2524d4['types']&&_0x2524d4['hasOwnProperty']('types')){if(!Array['isArray'](_0x2524d4['types']))return'types:\x20array\x20expected';for(_0x4c501d=0x0;_0x4c501d<_0x2524d4['types']['length'];++_0x4c501d)if(!_0xcc38bf['isInteger'](_0x2524d4['types'][_0x4c501d]))return'types:\x20integer[]\x20expected';}if(null!=_0x2524d4['metadata']&&_0x2524d4['hasOwnProperty']('metadata')){if(!Array['isArray'](_0x2524d4['metadata']))return'metadata:\x20array\x20expected';for(_0x4c501d=0x0;_0x4c501d<_0x2524d4['metadata']['length'];++_0x4c501d){var _0x3aea24=_0xd25805['OperationMetadataDescriptor']['verify'](_0x2524d4['metadata'][_0x4c501d]);if(_0x3aea24)return'metadata.'+_0x3aea24;}}return null!=_0x2524d4['lastOperationId']&&_0x2524d4['hasOwnProperty']('lastOperationId')&&!_0xcc38bf['isString'](_0x2524d4['lastOperationId'])?'lastOperationId:\x20string\x20expected':null!=_0x2524d4['lastOperationAcceptedAt']&&_0x2524d4['hasOwnProperty']('lastOperationAcceptedAt')&&!_0xcc38bf['isString'](_0x2524d4['lastOperationAcceptedAt'])?'lastOperationAcceptedAt:\x20string\x20expected':null;},_0x6c2afb['fromObject']=function(_0xbd8985){if(_0xbd8985 instanceof _0xd25805['CollaborativeEditingResponse'])return _0xbd8985;var _0x46552e=new _0xd25805['CollaborativeEditingResponse']();if(null!=_0xbd8985['version']&&(_0x46552e['version']=_0xbd8985['version']>>>0x0),_0xbd8985['buffers']){if(!Array['isArray'](_0xbd8985['buffers']))throw TypeError('.CollaborativeEditingResponse.buffers:\x20array\x20expected');_0x46552e['buffers']=[];for(var _0x5d75f1=0x0;_0x5d75f1<_0xbd8985['buffers']['length'];++_0x5d75f1)'string'==typeof _0xbd8985['buffers'][_0x5d75f1]?_0xcc38bf['base64']['decode'](_0xbd8985['buffers'][_0x5d75f1],_0x46552e['buffers'][_0x5d75f1]=_0xcc38bf['newBuffer'](_0xcc38bf['base64']['length'](_0xbd8985['buffers'][_0x5d75f1])),0x0):_0xbd8985['buffers'][_0x5d75f1]['length']>=0x0&&(_0x46552e['buffers'][_0x5d75f1]=_0xbd8985['buffers'][_0x5d75f1]);}if(_0xbd8985['types']){if(!Array['isArray'](_0xbd8985['types']))throw TypeError('.CollaborativeEditingResponse.types:\x20array\x20expected');for(_0x46552e['types']=[],_0x5d75f1=0x0;_0x5d75f1<_0xbd8985['types']['length'];++_0x5d75f1)_0x46552e['types'][_0x5d75f1]=_0xbd8985['types'][_0x5d75f1]>>>0x0;}if(_0xbd8985['metadata']){if(!Array['isArray'](_0xbd8985['metadata']))throw TypeError('.CollaborativeEditingResponse.metadata:\x20array\x20expected');for(_0x46552e['metadata']=[],_0x5d75f1=0x0;_0x5d75f1<_0xbd8985['metadata']['length'];++_0x5d75f1){if('object'!=typeof _0xbd8985['metadata'][_0x5d75f1])throw TypeError('.CollaborativeEditingResponse.metadata:\x20object\x20expected');_0x46552e['metadata'][_0x5d75f1]=_0xd25805['OperationMetadataDescriptor']['fromObject'](_0xbd8985['metadata'][_0x5d75f1]);}}return null!=_0xbd8985['lastOperationId']&&(_0x46552e['lastOperationId']=String(_0xbd8985['lastOperationId'])),null!=_0xbd8985['lastOperationAcceptedAt']&&(_0x46552e['lastOperationAcceptedAt']=String(_0xbd8985['lastOperationAcceptedAt'])),_0x46552e;},_0x6c2afb['toObject']=function(_0x2c7155,_0x2aab7b){_0x2aab7b||(_0x2aab7b={});var _0x439a0c={};if((_0x2aab7b['arrays']||_0x2aab7b['defaults'])&&(_0x439a0c['buffers']=[],_0x439a0c['types']=[],_0x439a0c['metadata']=[]),_0x2aab7b['defaults']&&(_0x439a0c['version']=0x0,_0x439a0c['lastOperationId']='',_0x439a0c['lastOperationAcceptedAt']=''),null!=_0x2c7155['version']&&_0x2c7155['hasOwnProperty']('version')&&(_0x439a0c['version']=_0x2c7155['version']),_0x2c7155['buffers']&&_0x2c7155['buffers']['length']){_0x439a0c['buffers']=[];for(var _0x55d77f=0x0;_0x55d77f<_0x2c7155['buffers']['length'];++_0x55d77f)_0x439a0c['buffers'][_0x55d77f]=_0x2aab7b['bytes']===String?_0xcc38bf['base64']['encode'](_0x2c7155['buffers'][_0x55d77f],0x0,_0x2c7155['buffers'][_0x55d77f]['length']):_0x2aab7b['bytes']===Array?Array['prototype']['slice']['call'](_0x2c7155['buffers'][_0x55d77f]):_0x2c7155['buffers'][_0x55d77f];}if(_0x2c7155['types']&&_0x2c7155['types']['length']){for(_0x439a0c['types']=[],_0x55d77f=0x0;_0x55d77f<_0x2c7155['types']['length'];++_0x55d77f)_0x439a0c['types'][_0x55d77f]=_0x2c7155['types'][_0x55d77f];}if(_0x2c7155['metadata']&&_0x2c7155['metadata']['length']){for(_0x439a0c['metadata']=[],_0x55d77f=0x0;_0x55d77f<_0x2c7155['metadata']['length'];++_0x55d77f)_0x439a0c['metadata'][_0x55d77f]=_0xd25805['OperationMetadataDescriptor']['toObject'](_0x2c7155['metadata'][_0x55d77f],_0x2aab7b);}return null!=_0x2c7155['lastOperationId']&&_0x2c7155['hasOwnProperty']('lastOperationId')&&(_0x439a0c['lastOperationId']=_0x2c7155['lastOperationId']),null!=_0x2c7155['lastOperationAcceptedAt']&&_0x2c7155['hasOwnProperty']('lastOperationAcceptedAt')&&(_0x439a0c['lastOperationAcceptedAt']=_0x2c7155['lastOperationAcceptedAt']),_0x439a0c;},_0x6c2afb['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x6c2afb['getTypeUrl']=function(_0x5b42e4){return void 0x0===_0x5b42e4&&(_0x5b42e4='type.googleapis.com'),_0x5b42e4+'/CollaborativeEditingResponse';},_0x6c2afb;}()),_0xd25805['GetDocumentDetailsResponse']=(function(){function _0x571636(_0x300e81){if(_0x300e81){for(var _0x45d94a=Object['keys'](_0x300e81),_0x175004=0x0;_0x175004<_0x45d94a['length'];++_0x175004)null!=_0x300e81[_0x45d94a[_0x175004]]&&(this[_0x45d94a[_0x175004]]=_0x300e81[_0x45d94a[_0x175004]]);}}return _0x571636['prototype']['lastDocumentSessionId']='',_0x571636['prototype']['lastDocumentSessionOperationId']='',_0x571636['prototype']['currentDocumentSessionId']='',_0x571636['prototype']['currentDocumentSessionVersion']=0x0,_0x571636['prototype']['currentDocumentSessionOperationId']='',_0x571636['create']=function(_0x3e4e2f){return new _0x571636(_0x3e4e2f);},_0x571636['encode']=function(_0x8da302,_0x14dde3){return _0x14dde3||(_0x14dde3=_0x1f8a63['create']()),null!=_0x8da302['lastDocumentSessionId']&&Object['hasOwnProperty']['call'](_0x8da302,'lastDocumentSessionId')&&_0x14dde3['uint32'](0xa)['string'](_0x8da302['lastDocumentSessionId']),null!=_0x8da302['lastDocumentSessionOperationId']&&Object['hasOwnProperty']['call'](_0x8da302,'lastDocumentSessionOperationId')&&_0x14dde3['uint32'](0x12)['string'](_0x8da302['lastDocumentSessionOperationId']),null!=_0x8da302['currentDocumentSessionId']&&Object['hasOwnProperty']['call'](_0x8da302,'currentDocumentSessionId')&&_0x14dde3['uint32'](0x1a)['string'](_0x8da302['currentDocumentSessionId']),null!=_0x8da302['currentDocumentSessionVersion']&&Object['hasOwnProperty']['call'](_0x8da302,'currentDocumentSessionVersion')&&_0x14dde3['uint32'](0x20)['uint32'](_0x8da302['currentDocumentSessionVersion']),null!=_0x8da302['currentDocumentSessionOperationId']&&Object['hasOwnProperty']['call'](_0x8da302,'currentDocumentSessionOperationId')&&_0x14dde3['uint32'](0x2a)['string'](_0x8da302['currentDocumentSessionOperationId']),_0x14dde3;},_0x571636['encodeDelimited']=function(_0x13400e,_0x375577){return this['encode'](_0x13400e,_0x375577)['ldelim']();},_0x571636['decode']=function(_0x3f0c02,_0x5af6f2,_0x4c609f){_0x3f0c02 instanceof _0x37c416||(_0x3f0c02=_0x37c416['create'](_0x3f0c02));for(var _0x39ec13=void 0x0===_0x5af6f2?_0x3f0c02['len']:_0x3f0c02['pos']+_0x5af6f2,_0x50d8fb=new _0xd25805['GetDocumentDetailsResponse']();_0x3f0c02['pos']<_0x39ec13;){var _0x2288ea=_0x3f0c02['uint32']();if(_0x2288ea===_0x4c609f)break;switch(_0x2288ea>>>0x3){case 0x1:_0x50d8fb['lastDocumentSessionId']=_0x3f0c02['string']();break;case 0x2:_0x50d8fb['lastDocumentSessionOperationId']=_0x3f0c02['string']();break;case 0x3:_0x50d8fb['currentDocumentSessionId']=_0x3f0c02['string']();break;case 0x4:_0x50d8fb['currentDocumentSessionVersion']=_0x3f0c02['uint32']();break;case 0x5:_0x50d8fb['currentDocumentSessionOperationId']=_0x3f0c02['string']();break;default:_0x3f0c02['skipType'](0x7&_0x2288ea);}}return _0x50d8fb;},_0x571636['decodeDelimited']=function(_0x148c97){return _0x148c97 instanceof _0x37c416||(_0x148c97=new _0x37c416(_0x148c97)),this['decode'](_0x148c97,_0x148c97['uint32']());},_0x571636['verify']=function(_0x1ebe7e){return'object'!=typeof _0x1ebe7e||null===_0x1ebe7e?'object\x20expected':null!=_0x1ebe7e['lastDocumentSessionId']&&_0x1ebe7e['hasOwnProperty']('lastDocumentSessionId')&&!_0xcc38bf['isString'](_0x1ebe7e['lastDocumentSessionId'])?'lastDocumentSessionId:\x20string\x20expected':null!=_0x1ebe7e['lastDocumentSessionOperationId']&&_0x1ebe7e['hasOwnProperty']('lastDocumentSessionOperationId')&&!_0xcc38bf['isString'](_0x1ebe7e['lastDocumentSessionOperationId'])?'lastDocumentSessionOperationId:\x20string\x20expected':null!=_0x1ebe7e['currentDocumentSessionId']&&_0x1ebe7e['hasOwnProperty']('currentDocumentSessionId')&&!_0xcc38bf['isString'](_0x1ebe7e['currentDocumentSessionId'])?'currentDocumentSessionId:\x20string\x20expected':null!=_0x1ebe7e['currentDocumentSessionVersion']&&_0x1ebe7e['hasOwnProperty']('currentDocumentSessionVersion')&&!_0xcc38bf['isInteger'](_0x1ebe7e['currentDocumentSessionVersion'])?'currentDocumentSessionVersion:\x20integer\x20expected':null!=_0x1ebe7e['currentDocumentSessionOperationId']&&_0x1ebe7e['hasOwnProperty']('currentDocumentSessionOperationId')&&!_0xcc38bf['isString'](_0x1ebe7e['currentDocumentSessionOperationId'])?'currentDocumentSessionOperationId:\x20string\x20expected':null;},_0x571636['fromObject']=function(_0x85729b){if(_0x85729b instanceof _0xd25805['GetDocumentDetailsResponse'])return _0x85729b;var _0x459e7b=new _0xd25805['GetDocumentDetailsResponse']();return null!=_0x85729b['lastDocumentSessionId']&&(_0x459e7b['lastDocumentSessionId']=String(_0x85729b['lastDocumentSessionId'])),null!=_0x85729b['lastDocumentSessionOperationId']&&(_0x459e7b['lastDocumentSessionOperationId']=String(_0x85729b['lastDocumentSessionOperationId'])),null!=_0x85729b['currentDocumentSessionId']&&(_0x459e7b['currentDocumentSessionId']=String(_0x85729b['currentDocumentSessionId'])),null!=_0x85729b['currentDocumentSessionVersion']&&(_0x459e7b['currentDocumentSessionVersion']=_0x85729b['currentDocumentSessionVersion']>>>0x0),null!=_0x85729b['currentDocumentSessionOperationId']&&(_0x459e7b['currentDocumentSessionOperationId']=String(_0x85729b['currentDocumentSessionOperationId'])),_0x459e7b;},_0x571636['toObject']=function(_0x368756,_0x3d3041){_0x3d3041||(_0x3d3041={});var _0x1f34d1={};return _0x3d3041['defaults']&&(_0x1f34d1['lastDocumentSessionId']='',_0x1f34d1['lastDocumentSessionOperationId']='',_0x1f34d1['currentDocumentSessionId']='',_0x1f34d1['currentDocumentSessionVersion']=0x0,_0x1f34d1['currentDocumentSessionOperationId']=''),null!=_0x368756['lastDocumentSessionId']&&_0x368756['hasOwnProperty']('lastDocumentSessionId')&&(_0x1f34d1['lastDocumentSessionId']=_0x368756['lastDocumentSessionId']),null!=_0x368756['lastDocumentSessionOperationId']&&_0x368756['hasOwnProperty']('lastDocumentSessionOperationId')&&(_0x1f34d1['lastDocumentSessionOperationId']=_0x368756['lastDocumentSessionOperationId']),null!=_0x368756['currentDocumentSessionId']&&_0x368756['hasOwnProperty']('currentDocumentSessionId')&&(_0x1f34d1['currentDocumentSessionId']=_0x368756['currentDocumentSessionId']),null!=_0x368756['currentDocumentSessionVersion']&&_0x368756['hasOwnProperty']('currentDocumentSessionVersion')&&(_0x1f34d1['currentDocumentSessionVersion']=_0x368756['currentDocumentSessionVersion']),null!=_0x368756['currentDocumentSessionOperationId']&&_0x368756['hasOwnProperty']('currentDocumentSessionOperationId')&&(_0x1f34d1['currentDocumentSessionOperationId']=_0x368756['currentDocumentSessionOperationId']),_0x1f34d1;},_0x571636['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x571636['getTypeUrl']=function(_0x4f3d1d){return void 0x0===_0x4f3d1d&&(_0x4f3d1d='type.googleapis.com'),_0x4f3d1d+'/GetDocumentDetailsResponse';},_0x571636;}()),_0xd25805['CommentDescriptor']=(function(){function _0x4e1dd0(_0x686e2a){if(_0x686e2a){for(var _0x30479a=Object['keys'](_0x686e2a),_0x144741=0x0;_0x144741<_0x30479a['length'];++_0x144741)null!=_0x686e2a[_0x30479a[_0x144741]]&&(this[_0x30479a[_0x144741]]=_0x686e2a[_0x30479a[_0x144741]]);}}return _0x4e1dd0['prototype']['commentId']='',_0x4e1dd0['prototype']['commentThreadId']='',_0x4e1dd0['prototype']['userId']='',_0x4e1dd0['prototype']['content']='',_0x4e1dd0['prototype']['documentId']='',_0x4e1dd0['prototype']['createdAt']='',_0x4e1dd0['prototype']['attributes']='',_0x4e1dd0['create']=function(_0x363119){return new _0x4e1dd0(_0x363119);},_0x4e1dd0['encode']=function(_0x5f2e38,_0x21f670){return _0x21f670||(_0x21f670=_0x1f8a63['create']()),null!=_0x5f2e38['commentId']&&Object['hasOwnProperty']['call'](_0x5f2e38,'commentId')&&_0x21f670['uint32'](0xa)['string'](_0x5f2e38['commentId']),null!=_0x5f2e38['commentThreadId']&&Object['hasOwnProperty']['call'](_0x5f2e38,'commentThreadId')&&_0x21f670['uint32'](0x12)['string'](_0x5f2e38['commentThreadId']),null!=_0x5f2e38['userId']&&Object['hasOwnProperty']['call'](_0x5f2e38,'userId')&&_0x21f670['uint32'](0x1a)['string'](_0x5f2e38['userId']),null!=_0x5f2e38['content']&&Object['hasOwnProperty']['call'](_0x5f2e38,'content')&&_0x21f670['uint32'](0x22)['string'](_0x5f2e38['content']),null!=_0x5f2e38['documentId']&&Object['hasOwnProperty']['call'](_0x5f2e38,'documentId')&&_0x21f670['uint32'](0x2a)['string'](_0x5f2e38['documentId']),null!=_0x5f2e38['createdAt']&&Object['hasOwnProperty']['call'](_0x5f2e38,'createdAt')&&_0x21f670['uint32'](0x32)['string'](_0x5f2e38['createdAt']),null!=_0x5f2e38['attributes']&&Object['hasOwnProperty']['call'](_0x5f2e38,'attributes')&&_0x21f670['uint32'](0x3a)['string'](_0x5f2e38['attributes']),_0x21f670;},_0x4e1dd0['encodeDelimited']=function(_0x1be337,_0x18e305){return this['encode'](_0x1be337,_0x18e305)['ldelim']();},_0x4e1dd0['decode']=function(_0x44ebb2,_0x428f84,_0x36c5c1){_0x44ebb2 instanceof _0x37c416||(_0x44ebb2=_0x37c416['create'](_0x44ebb2));for(var _0x4506f6=void 0x0===_0x428f84?_0x44ebb2['len']:_0x44ebb2['pos']+_0x428f84,_0x3df898=new _0xd25805['CommentDescriptor']();_0x44ebb2['pos']<_0x4506f6;){var _0x589124=_0x44ebb2['uint32']();if(_0x589124===_0x36c5c1)break;switch(_0x589124>>>0x3){case 0x1:_0x3df898['commentId']=_0x44ebb2['string']();break;case 0x2:_0x3df898['commentThreadId']=_0x44ebb2['string']();break;case 0x3:_0x3df898['userId']=_0x44ebb2['string']();break;case 0x4:_0x3df898['content']=_0x44ebb2['string']();break;case 0x5:_0x3df898['documentId']=_0x44ebb2['string']();break;case 0x6:_0x3df898['createdAt']=_0x44ebb2['string']();break;case 0x7:_0x3df898['attributes']=_0x44ebb2['string']();break;default:_0x44ebb2['skipType'](0x7&_0x589124);}}return _0x3df898;},_0x4e1dd0['decodeDelimited']=function(_0x14dc71){return _0x14dc71 instanceof _0x37c416||(_0x14dc71=new _0x37c416(_0x14dc71)),this['decode'](_0x14dc71,_0x14dc71['uint32']());},_0x4e1dd0['verify']=function(_0x5abbcb){return'object'!=typeof _0x5abbcb||null===_0x5abbcb?'object\x20expected':null!=_0x5abbcb['commentId']&&_0x5abbcb['hasOwnProperty']('commentId')&&!_0xcc38bf['isString'](_0x5abbcb['commentId'])?'commentId:\x20string\x20expected':null!=_0x5abbcb['commentThreadId']&&_0x5abbcb['hasOwnProperty']('commentThreadId')&&!_0xcc38bf['isString'](_0x5abbcb['commentThreadId'])?'commentThreadId:\x20string\x20expected':null!=_0x5abbcb['userId']&&_0x5abbcb['hasOwnProperty']('userId')&&!_0xcc38bf['isString'](_0x5abbcb['userId'])?'userId:\x20string\x20expected':null!=_0x5abbcb['content']&&_0x5abbcb['hasOwnProperty']('content')&&!_0xcc38bf['isString'](_0x5abbcb['content'])?'content:\x20string\x20expected':null!=_0x5abbcb['documentId']&&_0x5abbcb['hasOwnProperty']('documentId')&&!_0xcc38bf['isString'](_0x5abbcb['documentId'])?'documentId:\x20string\x20expected':null!=_0x5abbcb['createdAt']&&_0x5abbcb['hasOwnProperty']('createdAt')&&!_0xcc38bf['isString'](_0x5abbcb['createdAt'])?'createdAt:\x20string\x20expected':null!=_0x5abbcb['attributes']&&_0x5abbcb['hasOwnProperty']('attributes')&&!_0xcc38bf['isString'](_0x5abbcb['attributes'])?'attributes:\x20string\x20expected':null;},_0x4e1dd0['fromObject']=function(_0x4c9c4a){if(_0x4c9c4a instanceof _0xd25805['CommentDescriptor'])return _0x4c9c4a;var _0xef25f=new _0xd25805['CommentDescriptor']();return null!=_0x4c9c4a['commentId']&&(_0xef25f['commentId']=String(_0x4c9c4a['commentId'])),null!=_0x4c9c4a['commentThreadId']&&(_0xef25f['commentThreadId']=String(_0x4c9c4a['commentThreadId'])),null!=_0x4c9c4a['userId']&&(_0xef25f['userId']=String(_0x4c9c4a['userId'])),null!=_0x4c9c4a['content']&&(_0xef25f['content']=String(_0x4c9c4a['content'])),null!=_0x4c9c4a['documentId']&&(_0xef25f['documentId']=String(_0x4c9c4a['documentId'])),null!=_0x4c9c4a['createdAt']&&(_0xef25f['createdAt']=String(_0x4c9c4a['createdAt'])),null!=_0x4c9c4a['attributes']&&(_0xef25f['attributes']=String(_0x4c9c4a['attributes'])),_0xef25f;},_0x4e1dd0['toObject']=function(_0x4ecced,_0x104fde){_0x104fde||(_0x104fde={});var _0x2a1323={};return _0x104fde['defaults']&&(_0x2a1323['commentId']='',_0x2a1323['commentThreadId']='',_0x2a1323['userId']='',_0x2a1323['content']='',_0x2a1323['documentId']='',_0x2a1323['createdAt']='',_0x2a1323['attributes']=''),null!=_0x4ecced['commentId']&&_0x4ecced['hasOwnProperty']('commentId')&&(_0x2a1323['commentId']=_0x4ecced['commentId']),null!=_0x4ecced['commentThreadId']&&_0x4ecced['hasOwnProperty']('commentThreadId')&&(_0x2a1323['commentThreadId']=_0x4ecced['commentThreadId']),null!=_0x4ecced['userId']&&_0x4ecced['hasOwnProperty']('userId')&&(_0x2a1323['userId']=_0x4ecced['userId']),null!=_0x4ecced['content']&&_0x4ecced['hasOwnProperty']('content')&&(_0x2a1323['content']=_0x4ecced['content']),null!=_0x4ecced['documentId']&&_0x4ecced['hasOwnProperty']('documentId')&&(_0x2a1323['documentId']=_0x4ecced['documentId']),null!=_0x4ecced['createdAt']&&_0x4ecced['hasOwnProperty']('createdAt')&&(_0x2a1323['createdAt']=_0x4ecced['createdAt']),null!=_0x4ecced['attributes']&&_0x4ecced['hasOwnProperty']('attributes')&&(_0x2a1323['attributes']=_0x4ecced['attributes']),_0x2a1323;},_0x4e1dd0['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x4e1dd0['getTypeUrl']=function(_0x53cb4e){return void 0x0===_0x53cb4e&&(_0x53cb4e='type.googleapis.com'),_0x53cb4e+'/CommentDescriptor';},_0x4e1dd0;}()),_0xd25805['CommentsThreadDescriptor']=(function(){function _0x4cbb8d(_0x4c5074){if(this['comments']=[],_0x4c5074){for(var _0x4cd591=Object['keys'](_0x4c5074),_0x5144eb=0x0;_0x5144eb<_0x4cd591['length'];++_0x5144eb)null!=_0x4c5074[_0x4cd591[_0x5144eb]]&&(this[_0x4cd591[_0x5144eb]]=_0x4c5074[_0x4cd591[_0x5144eb]]);}}return _0x4cbb8d['prototype']['commentThreadId']='',_0x4cbb8d['prototype']['comments']=_0xcc38bf['emptyArray'],_0x4cbb8d['prototype']['resolvedAt']='',_0x4cbb8d['prototype']['resolvedBy']='',_0x4cbb8d['prototype']['context']='',_0x4cbb8d['prototype']['createdAt']='',_0x4cbb8d['prototype']['deletedAt']='',_0x4cbb8d['prototype']['attributes']='',_0x4cbb8d['prototype']['unlinkedAt']='',_0x4cbb8d['create']=function(_0x167cce){return new _0x4cbb8d(_0x167cce);},_0x4cbb8d['encode']=function(_0x56e35c,_0x5d7537){if(_0x5d7537||(_0x5d7537=_0x1f8a63['create']()),null!=_0x56e35c['commentThreadId']&&Object['hasOwnProperty']['call'](_0x56e35c,'commentThreadId')&&_0x5d7537['uint32'](0xa)['string'](_0x56e35c['commentThreadId']),null!=_0x56e35c['comments']&&_0x56e35c['comments']['length']){for(var _0xb4297f=0x0;_0xb4297f<_0x56e35c['comments']['length'];++_0xb4297f)_0xd25805['CommentDescriptor']['encode'](_0x56e35c['comments'][_0xb4297f],_0x5d7537['uint32'](0x12)['fork']())['ldelim']();}return null!=_0x56e35c['resolvedAt']&&Object['hasOwnProperty']['call'](_0x56e35c,'resolvedAt')&&_0x5d7537['uint32'](0x1a)['string'](_0x56e35c['resolvedAt']),null!=_0x56e35c['resolvedBy']&&Object['hasOwnProperty']['call'](_0x56e35c,'resolvedBy')&&_0x5d7537['uint32'](0x22)['string'](_0x56e35c['resolvedBy']),null!=_0x56e35c['context']&&Object['hasOwnProperty']['call'](_0x56e35c,'context')&&_0x5d7537['uint32'](0x2a)['string'](_0x56e35c['context']),null!=_0x56e35c['createdAt']&&Object['hasOwnProperty']['call'](_0x56e35c,'createdAt')&&_0x5d7537['uint32'](0x32)['string'](_0x56e35c['createdAt']),null!=_0x56e35c['deletedAt']&&Object['hasOwnProperty']['call'](_0x56e35c,'deletedAt')&&_0x5d7537['uint32'](0x3a)['string'](_0x56e35c['deletedAt']),null!=_0x56e35c['attributes']&&Object['hasOwnProperty']['call'](_0x56e35c,'attributes')&&_0x5d7537['uint32'](0x42)['string'](_0x56e35c['attributes']),null!=_0x56e35c['unlinkedAt']&&Object['hasOwnProperty']['call'](_0x56e35c,'unlinkedAt')&&_0x5d7537['uint32'](0x4a)['string'](_0x56e35c['unlinkedAt']),_0x5d7537;},_0x4cbb8d['encodeDelimited']=function(_0x116bfa,_0x18416f){return this['encode'](_0x116bfa,_0x18416f)['ldelim']();},_0x4cbb8d['decode']=function(_0x33ebdb,_0x4fc13e,_0x54b93c){_0x33ebdb instanceof _0x37c416||(_0x33ebdb=_0x37c416['create'](_0x33ebdb));for(var _0x450500=void 0x0===_0x4fc13e?_0x33ebdb['len']:_0x33ebdb['pos']+_0x4fc13e,_0x2a5d6d=new _0xd25805['CommentsThreadDescriptor']();_0x33ebdb['pos']<_0x450500;){var _0x10c41b=_0x33ebdb['uint32']();if(_0x10c41b===_0x54b93c)break;switch(_0x10c41b>>>0x3){case 0x1:_0x2a5d6d['commentThreadId']=_0x33ebdb['string']();break;case 0x2:_0x2a5d6d['comments']&&_0x2a5d6d['comments']['length']||(_0x2a5d6d['comments']=[]),_0x2a5d6d['comments']['push'](_0xd25805['CommentDescriptor']['decode'](_0x33ebdb,_0x33ebdb['uint32']()));break;case 0x3:_0x2a5d6d['resolvedAt']=_0x33ebdb['string']();break;case 0x4:_0x2a5d6d['resolvedBy']=_0x33ebdb['string']();break;case 0x5:_0x2a5d6d['context']=_0x33ebdb['string']();break;case 0x6:_0x2a5d6d['createdAt']=_0x33ebdb['string']();break;case 0x7:_0x2a5d6d['deletedAt']=_0x33ebdb['string']();break;case 0x8:_0x2a5d6d['attributes']=_0x33ebdb['string']();break;case 0x9:_0x2a5d6d['unlinkedAt']=_0x33ebdb['string']();break;default:_0x33ebdb['skipType'](0x7&_0x10c41b);}}return _0x2a5d6d;},_0x4cbb8d['decodeDelimited']=function(_0x39c648){return _0x39c648 instanceof _0x37c416||(_0x39c648=new _0x37c416(_0x39c648)),this['decode'](_0x39c648,_0x39c648['uint32']());},_0x4cbb8d['verify']=function(_0x18d8fe){if('object'!=typeof _0x18d8fe||null===_0x18d8fe)return'object\x20expected';if(null!=_0x18d8fe['commentThreadId']&&_0x18d8fe['hasOwnProperty']('commentThreadId')&&!_0xcc38bf['isString'](_0x18d8fe['commentThreadId']))return'commentThreadId:\x20string\x20expected';if(null!=_0x18d8fe['comments']&&_0x18d8fe['hasOwnProperty']('comments')){if(!Array['isArray'](_0x18d8fe['comments']))return'comments:\x20array\x20expected';for(var _0x1004f7=0x0;_0x1004f7<_0x18d8fe['comments']['length'];++_0x1004f7){var _0xb3cff4=_0xd25805['CommentDescriptor']['verify'](_0x18d8fe['comments'][_0x1004f7]);if(_0xb3cff4)return'comments.'+_0xb3cff4;}}return null!=_0x18d8fe['resolvedAt']&&_0x18d8fe['hasOwnProperty']('resolvedAt')&&!_0xcc38bf['isString'](_0x18d8fe['resolvedAt'])?'resolvedAt:\x20string\x20expected':null!=_0x18d8fe['resolvedBy']&&_0x18d8fe['hasOwnProperty']('resolvedBy')&&!_0xcc38bf['isString'](_0x18d8fe['resolvedBy'])?'resolvedBy:\x20string\x20expected':null!=_0x18d8fe['context']&&_0x18d8fe['hasOwnProperty']('context')&&!_0xcc38bf['isString'](_0x18d8fe['context'])?'context:\x20string\x20expected':null!=_0x18d8fe['createdAt']&&_0x18d8fe['hasOwnProperty']('createdAt')&&!_0xcc38bf['isString'](_0x18d8fe['createdAt'])?'createdAt:\x20string\x20expected':null!=_0x18d8fe['deletedAt']&&_0x18d8fe['hasOwnProperty']('deletedAt')&&!_0xcc38bf['isString'](_0x18d8fe['deletedAt'])?'deletedAt:\x20string\x20expected':null!=_0x18d8fe['attributes']&&_0x18d8fe['hasOwnProperty']('attributes')&&!_0xcc38bf['isString'](_0x18d8fe['attributes'])?'attributes:\x20string\x20expected':null!=_0x18d8fe['unlinkedAt']&&_0x18d8fe['hasOwnProperty']('unlinkedAt')&&!_0xcc38bf['isString'](_0x18d8fe['unlinkedAt'])?'unlinkedAt:\x20string\x20expected':null;},_0x4cbb8d['fromObject']=function(_0x20b8f8){if(_0x20b8f8 instanceof _0xd25805['CommentsThreadDescriptor'])return _0x20b8f8;var _0x5c8b28=new _0xd25805['CommentsThreadDescriptor']();if(null!=_0x20b8f8['commentThreadId']&&(_0x5c8b28['commentThreadId']=String(_0x20b8f8['commentThreadId'])),_0x20b8f8['comments']){if(!Array['isArray'](_0x20b8f8['comments']))throw TypeError('.CommentsThreadDescriptor.comments:\x20array\x20expected');_0x5c8b28['comments']=[];for(var _0xb187fa=0x0;_0xb187fa<_0x20b8f8['comments']['length'];++_0xb187fa){if('object'!=typeof _0x20b8f8['comments'][_0xb187fa])throw TypeError('.CommentsThreadDescriptor.comments:\x20object\x20expected');_0x5c8b28['comments'][_0xb187fa]=_0xd25805['CommentDescriptor']['fromObject'](_0x20b8f8['comments'][_0xb187fa]);}}return null!=_0x20b8f8['resolvedAt']&&(_0x5c8b28['resolvedAt']=String(_0x20b8f8['resolvedAt'])),null!=_0x20b8f8['resolvedBy']&&(_0x5c8b28['resolvedBy']=String(_0x20b8f8['resolvedBy'])),null!=_0x20b8f8['context']&&(_0x5c8b28['context']=String(_0x20b8f8['context'])),null!=_0x20b8f8['createdAt']&&(_0x5c8b28['createdAt']=String(_0x20b8f8['createdAt'])),null!=_0x20b8f8['deletedAt']&&(_0x5c8b28['deletedAt']=String(_0x20b8f8['deletedAt'])),null!=_0x20b8f8['attributes']&&(_0x5c8b28['attributes']=String(_0x20b8f8['attributes'])),null!=_0x20b8f8['unlinkedAt']&&(_0x5c8b28['unlinkedAt']=String(_0x20b8f8['unlinkedAt'])),_0x5c8b28;},_0x4cbb8d['toObject']=function(_0x5537bc,_0x5e005a){_0x5e005a||(_0x5e005a={});var _0x286e47={};if((_0x5e005a['arrays']||_0x5e005a['defaults'])&&(_0x286e47['comments']=[]),_0x5e005a['defaults']&&(_0x286e47['commentThreadId']='',_0x286e47['resolvedAt']='',_0x286e47['resolvedBy']='',_0x286e47['context']='',_0x286e47['createdAt']='',_0x286e47['deletedAt']='',_0x286e47['attributes']='',_0x286e47['unlinkedAt']=''),null!=_0x5537bc['commentThreadId']&&_0x5537bc['hasOwnProperty']('commentThreadId')&&(_0x286e47['commentThreadId']=_0x5537bc['commentThreadId']),_0x5537bc['comments']&&_0x5537bc['comments']['length']){_0x286e47['comments']=[];for(var _0x2f83a3=0x0;_0x2f83a3<_0x5537bc['comments']['length'];++_0x2f83a3)_0x286e47['comments'][_0x2f83a3]=_0xd25805['CommentDescriptor']['toObject'](_0x5537bc['comments'][_0x2f83a3],_0x5e005a);}return null!=_0x5537bc['resolvedAt']&&_0x5537bc['hasOwnProperty']('resolvedAt')&&(_0x286e47['resolvedAt']=_0x5537bc['resolvedAt']),null!=_0x5537bc['resolvedBy']&&_0x5537bc['hasOwnProperty']('resolvedBy')&&(_0x286e47['resolvedBy']=_0x5537bc['resolvedBy']),null!=_0x5537bc['context']&&_0x5537bc['hasOwnProperty']('context')&&(_0x286e47['context']=_0x5537bc['context']),null!=_0x5537bc['createdAt']&&_0x5537bc['hasOwnProperty']('createdAt')&&(_0x286e47['createdAt']=_0x5537bc['createdAt']),null!=_0x5537bc['deletedAt']&&_0x5537bc['hasOwnProperty']('deletedAt')&&(_0x286e47['deletedAt']=_0x5537bc['deletedAt']),null!=_0x5537bc['attributes']&&_0x5537bc['hasOwnProperty']('attributes')&&(_0x286e47['attributes']=_0x5537bc['attributes']),null!=_0x5537bc['unlinkedAt']&&_0x5537bc['hasOwnProperty']('unlinkedAt')&&(_0x286e47['unlinkedAt']=_0x5537bc['unlinkedAt']),_0x286e47;},_0x4cbb8d['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x4cbb8d['getTypeUrl']=function(_0x4aeed2){return void 0x0===_0x4aeed2&&(_0x4aeed2='type.googleapis.com'),_0x4aeed2+'/CommentsThreadDescriptor';},_0x4cbb8d;}()),_0xd25805['CommentThreadAddedCommentDescriptor']=(function(){function _0x1ca485(_0x20c445){if(_0x20c445){for(var _0xebb160=Object['keys'](_0x20c445),_0x5c5982=0x0;_0x5c5982<_0xebb160['length'];++_0x5c5982)null!=_0x20c445[_0xebb160[_0x5c5982]]&&(this[_0xebb160[_0x5c5982]]=_0x20c445[_0xebb160[_0x5c5982]]);}}return _0x1ca485['prototype']['commentId']='',_0x1ca485['prototype']['createdAt']='',_0x1ca485['create']=function(_0x23f807){return new _0x1ca485(_0x23f807);},_0x1ca485['encode']=function(_0x7b35fe,_0x1da263){return _0x1da263||(_0x1da263=_0x1f8a63['create']()),null!=_0x7b35fe['commentId']&&Object['hasOwnProperty']['call'](_0x7b35fe,'commentId')&&_0x1da263['uint32'](0xa)['string'](_0x7b35fe['commentId']),null!=_0x7b35fe['createdAt']&&Object['hasOwnProperty']['call'](_0x7b35fe,'createdAt')&&_0x1da263['uint32'](0x12)['string'](_0x7b35fe['createdAt']),_0x1da263;},_0x1ca485['encodeDelimited']=function(_0x42b88c,_0x3f1d31){return this['encode'](_0x42b88c,_0x3f1d31)['ldelim']();},_0x1ca485['decode']=function(_0x1b2144,_0x12c575,_0x1a36de){_0x1b2144 instanceof _0x37c416||(_0x1b2144=_0x37c416['create'](_0x1b2144));for(var _0x32b2de=void 0x0===_0x12c575?_0x1b2144['len']:_0x1b2144['pos']+_0x12c575,_0x1a9bce=new _0xd25805['CommentThreadAddedCommentDescriptor']();_0x1b2144['pos']<_0x32b2de;){var _0x34bd98=_0x1b2144['uint32']();if(_0x34bd98===_0x1a36de)break;switch(_0x34bd98>>>0x3){case 0x1:_0x1a9bce['commentId']=_0x1b2144['string']();break;case 0x2:_0x1a9bce['createdAt']=_0x1b2144['string']();break;default:_0x1b2144['skipType'](0x7&_0x34bd98);}}return _0x1a9bce;},_0x1ca485['decodeDelimited']=function(_0x578153){return _0x578153 instanceof _0x37c416||(_0x578153=new _0x37c416(_0x578153)),this['decode'](_0x578153,_0x578153['uint32']());},_0x1ca485['verify']=function(_0x3aa0ef){return'object'!=typeof _0x3aa0ef||null===_0x3aa0ef?'object\x20expected':null!=_0x3aa0ef['commentId']&&_0x3aa0ef['hasOwnProperty']('commentId')&&!_0xcc38bf['isString'](_0x3aa0ef['commentId'])?'commentId:\x20string\x20expected':null!=_0x3aa0ef['createdAt']&&_0x3aa0ef['hasOwnProperty']('createdAt')&&!_0xcc38bf['isString'](_0x3aa0ef['createdAt'])?'createdAt:\x20string\x20expected':null;},_0x1ca485['fromObject']=function(_0x564185){if(_0x564185 instanceof _0xd25805['CommentThreadAddedCommentDescriptor'])return _0x564185;var _0x5e8a36=new _0xd25805['CommentThreadAddedCommentDescriptor']();return null!=_0x564185['commentId']&&(_0x5e8a36['commentId']=String(_0x564185['commentId'])),null!=_0x564185['createdAt']&&(_0x5e8a36['createdAt']=String(_0x564185['createdAt'])),_0x5e8a36;},_0x1ca485['toObject']=function(_0x2d0474,_0x3deb0b){_0x3deb0b||(_0x3deb0b={});var _0xe98b48={};return _0x3deb0b['defaults']&&(_0xe98b48['commentId']='',_0xe98b48['createdAt']=''),null!=_0x2d0474['commentId']&&_0x2d0474['hasOwnProperty']('commentId')&&(_0xe98b48['commentId']=_0x2d0474['commentId']),null!=_0x2d0474['createdAt']&&_0x2d0474['hasOwnProperty']('createdAt')&&(_0xe98b48['createdAt']=_0x2d0474['createdAt']),_0xe98b48;},_0x1ca485['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x1ca485['getTypeUrl']=function(_0x233a6d){return void 0x0===_0x233a6d&&(_0x233a6d='type.googleapis.com'),_0x233a6d+'/CommentThreadAddedCommentDescriptor';},_0x1ca485;}()),_0xd25805['CommentsV2AddCommentMessage']=(function(){function _0x110708(_0x1419b9){if(_0x1419b9){for(var _0xf21501=Object['keys'](_0x1419b9),_0xa0ddc6=0x0;_0xa0ddc6<_0xf21501['length'];++_0xa0ddc6)null!=_0x1419b9[_0xf21501[_0xa0ddc6]]&&(this[_0xf21501[_0xa0ddc6]]=_0x1419b9[_0xf21501[_0xa0ddc6]]);}}return _0x110708['prototype']['commentThreadId']='',_0x110708['prototype']['content']='',_0x110708['prototype']['documentId']='',_0x110708['prototype']['commentId']='',_0x110708['prototype']['createdAt']='',_0x110708['prototype']['userId']='',_0x110708['prototype']['attributes']='',_0x110708['prototype']['commentThread']=null,_0x110708['create']=function(_0x106626){return new _0x110708(_0x106626);},_0x110708['encode']=function(_0x455559,_0x2f5c25){return _0x2f5c25||(_0x2f5c25=_0x1f8a63['create']()),null!=_0x455559['commentThreadId']&&Object['hasOwnProperty']['call'](_0x455559,'commentThreadId')&&_0x2f5c25['uint32'](0xa)['string'](_0x455559['commentThreadId']),null!=_0x455559['content']&&Object['hasOwnProperty']['call'](_0x455559,'content')&&_0x2f5c25['uint32'](0x12)['string'](_0x455559['content']),null!=_0x455559['documentId']&&Object['hasOwnProperty']['call'](_0x455559,'documentId')&&_0x2f5c25['uint32'](0x1a)['string'](_0x455559['documentId']),null!=_0x455559['commentId']&&Object['hasOwnProperty']['call'](_0x455559,'commentId')&&_0x2f5c25['uint32'](0x22)['string'](_0x455559['commentId']),null!=_0x455559['createdAt']&&Object['hasOwnProperty']['call'](_0x455559,'createdAt')&&_0x2f5c25['uint32'](0x2a)['string'](_0x455559['createdAt']),null!=_0x455559['userId']&&Object['hasOwnProperty']['call'](_0x455559,'userId')&&_0x2f5c25['uint32'](0x32)['string'](_0x455559['userId']),null!=_0x455559['attributes']&&Object['hasOwnProperty']['call'](_0x455559,'attributes')&&_0x2f5c25['uint32'](0x3a)['string'](_0x455559['attributes']),null!=_0x455559['commentThread']&&Object['hasOwnProperty']['call'](_0x455559,'commentThread')&&_0xd25805['CommentsThreadDescriptor']['encode'](_0x455559['commentThread'],_0x2f5c25['uint32'](0x42)['fork']())['ldelim'](),_0x2f5c25;},_0x110708['encodeDelimited']=function(_0x8474bc,_0x12be05){return this['encode'](_0x8474bc,_0x12be05)['ldelim']();},_0x110708['decode']=function(_0x2f1fde,_0x4bc471,_0x229f74){_0x2f1fde instanceof _0x37c416||(_0x2f1fde=_0x37c416['create'](_0x2f1fde));for(var _0x4e3bc8=void 0x0===_0x4bc471?_0x2f1fde['len']:_0x2f1fde['pos']+_0x4bc471,_0x581aba=new _0xd25805['CommentsV2AddCommentMessage']();_0x2f1fde['pos']<_0x4e3bc8;){var _0x476e20=_0x2f1fde['uint32']();if(_0x476e20===_0x229f74)break;switch(_0x476e20>>>0x3){case 0x1:_0x581aba['commentThreadId']=_0x2f1fde['string']();break;case 0x2:_0x581aba['content']=_0x2f1fde['string']();break;case 0x3:_0x581aba['documentId']=_0x2f1fde['string']();break;case 0x4:_0x581aba['commentId']=_0x2f1fde['string']();break;case 0x5:_0x581aba['createdAt']=_0x2f1fde['string']();break;case 0x6:_0x581aba['userId']=_0x2f1fde['string']();break;case 0x7:_0x581aba['attributes']=_0x2f1fde['string']();break;case 0x8:_0x581aba['commentThread']=_0xd25805['CommentsThreadDescriptor']['decode'](_0x2f1fde,_0x2f1fde['uint32']());break;default:_0x2f1fde['skipType'](0x7&_0x476e20);}}return _0x581aba;},_0x110708['decodeDelimited']=function(_0x5806ed){return _0x5806ed instanceof _0x37c416||(_0x5806ed=new _0x37c416(_0x5806ed)),this['decode'](_0x5806ed,_0x5806ed['uint32']());},_0x110708['verify']=function(_0x4c21f6){if('object'!=typeof _0x4c21f6||null===_0x4c21f6)return'object\x20expected';if(null!=_0x4c21f6['commentThreadId']&&_0x4c21f6['hasOwnProperty']('commentThreadId')&&!_0xcc38bf['isString'](_0x4c21f6['commentThreadId']))return'commentThreadId:\x20string\x20expected';if(null!=_0x4c21f6['content']&&_0x4c21f6['hasOwnProperty']('content')&&!_0xcc38bf['isString'](_0x4c21f6['content']))return'content:\x20string\x20expected';if(null!=_0x4c21f6['documentId']&&_0x4c21f6['hasOwnProperty']('documentId')&&!_0xcc38bf['isString'](_0x4c21f6['documentId']))return'documentId:\x20string\x20expected';if(null!=_0x4c21f6['commentId']&&_0x4c21f6['hasOwnProperty']('commentId')&&!_0xcc38bf['isString'](_0x4c21f6['commentId']))return'commentId:\x20string\x20expected';if(null!=_0x4c21f6['createdAt']&&_0x4c21f6['hasOwnProperty']('createdAt')&&!_0xcc38bf['isString'](_0x4c21f6['createdAt']))return'createdAt:\x20string\x20expected';if(null!=_0x4c21f6['userId']&&_0x4c21f6['hasOwnProperty']('userId')&&!_0xcc38bf['isString'](_0x4c21f6['userId']))return'userId:\x20string\x20expected';if(null!=_0x4c21f6['attributes']&&_0x4c21f6['hasOwnProperty']('attributes')&&!_0xcc38bf['isString'](_0x4c21f6['attributes']))return'attributes:\x20string\x20expected';if(null!=_0x4c21f6['commentThread']&&_0x4c21f6['hasOwnProperty']('commentThread')){var _0x2f30f1=_0xd25805['CommentsThreadDescriptor']['verify'](_0x4c21f6['commentThread']);if(_0x2f30f1)return'commentThread.'+_0x2f30f1;}return null;},_0x110708['fromObject']=function(_0x329e5a){if(_0x329e5a instanceof _0xd25805['CommentsV2AddCommentMessage'])return _0x329e5a;var _0x7dcfb7=new _0xd25805['CommentsV2AddCommentMessage']();if(null!=_0x329e5a['commentThreadId']&&(_0x7dcfb7['commentThreadId']=String(_0x329e5a['commentThreadId'])),null!=_0x329e5a['content']&&(_0x7dcfb7['content']=String(_0x329e5a['content'])),null!=_0x329e5a['documentId']&&(_0x7dcfb7['documentId']=String(_0x329e5a['documentId'])),null!=_0x329e5a['commentId']&&(_0x7dcfb7['commentId']=String(_0x329e5a['commentId'])),null!=_0x329e5a['createdAt']&&(_0x7dcfb7['createdAt']=String(_0x329e5a['createdAt'])),null!=_0x329e5a['userId']&&(_0x7dcfb7['userId']=String(_0x329e5a['userId'])),null!=_0x329e5a['attributes']&&(_0x7dcfb7['attributes']=String(_0x329e5a['attributes'])),null!=_0x329e5a['commentThread']){if('object'!=typeof _0x329e5a['commentThread'])throw TypeError('.CommentsV2AddCommentMessage.commentThread:\x20object\x20expected');_0x7dcfb7['commentThread']=_0xd25805['CommentsThreadDescriptor']['fromObject'](_0x329e5a['commentThread']);}return _0x7dcfb7;},_0x110708['toObject']=function(_0x5ad017,_0x215445){_0x215445||(_0x215445={});var _0x4fae29={};return _0x215445['defaults']&&(_0x4fae29['commentThreadId']='',_0x4fae29['content']='',_0x4fae29['documentId']='',_0x4fae29['commentId']='',_0x4fae29['createdAt']='',_0x4fae29['userId']='',_0x4fae29['attributes']='',_0x4fae29['commentThread']=null),null!=_0x5ad017['commentThreadId']&&_0x5ad017['hasOwnProperty']('commentThreadId')&&(_0x4fae29['commentThreadId']=_0x5ad017['commentThreadId']),null!=_0x5ad017['content']&&_0x5ad017['hasOwnProperty']('content')&&(_0x4fae29['content']=_0x5ad017['content']),null!=_0x5ad017['documentId']&&_0x5ad017['hasOwnProperty']('documentId')&&(_0x4fae29['documentId']=_0x5ad017['documentId']),null!=_0x5ad017['commentId']&&_0x5ad017['hasOwnProperty']('commentId')&&(_0x4fae29['commentId']=_0x5ad017['commentId']),null!=_0x5ad017['createdAt']&&_0x5ad017['hasOwnProperty']('createdAt')&&(_0x4fae29['createdAt']=_0x5ad017['createdAt']),null!=_0x5ad017['userId']&&_0x5ad017['hasOwnProperty']('userId')&&(_0x4fae29['userId']=_0x5ad017['userId']),null!=_0x5ad017['attributes']&&_0x5ad017['hasOwnProperty']('attributes')&&(_0x4fae29['attributes']=_0x5ad017['attributes']),null!=_0x5ad017['commentThread']&&_0x5ad017['hasOwnProperty']('commentThread')&&(_0x4fae29['commentThread']=_0xd25805['CommentsThreadDescriptor']['toObject'](_0x5ad017['commentThread'],_0x215445)),_0x4fae29;},_0x110708['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x110708['getTypeUrl']=function(_0x5af743){return void 0x0===_0x5af743&&(_0x5af743='type.googleapis.com'),_0x5af743+'/CommentsV2AddCommentMessage';},_0x110708;}()),_0xd25805['CommentsV2AddCommentThreadMessage']=(function(){function _0x2440cc(_0x12e710){if(this['comments']=[],_0x12e710){for(var _0x2995a9=Object['keys'](_0x12e710),_0x5a2841=0x0;_0x5a2841<_0x2995a9['length'];++_0x5a2841)null!=_0x12e710[_0x2995a9[_0x5a2841]]&&(this[_0x2995a9[_0x5a2841]]=_0x12e710[_0x2995a9[_0x5a2841]]);}}return _0x2440cc['prototype']['documentId']='',_0x2440cc['prototype']['commentThreadId']='',_0x2440cc['prototype']['context']='',_0x2440cc['prototype']['createdAt']='',_0x2440cc['prototype']['resolvedAt']='',_0x2440cc['prototype']['resolvedBy']='',_0x2440cc['prototype']['attributes']='',_0x2440cc['prototype']['deletedAt']='',_0x2440cc['prototype']['comments']=_0xcc38bf['emptyArray'],_0x2440cc['create']=function(_0x4ed831){return new _0x2440cc(_0x4ed831);},_0x2440cc['encode']=function(_0x665e0d,_0x174224){if(_0x174224||(_0x174224=_0x1f8a63['create']()),null!=_0x665e0d['documentId']&&Object['hasOwnProperty']['call'](_0x665e0d,'documentId')&&_0x174224['uint32'](0xa)['string'](_0x665e0d['documentId']),null!=_0x665e0d['commentThreadId']&&Object['hasOwnProperty']['call'](_0x665e0d,'commentThreadId')&&_0x174224['uint32'](0x12)['string'](_0x665e0d['commentThreadId']),null!=_0x665e0d['context']&&Object['hasOwnProperty']['call'](_0x665e0d,'context')&&_0x174224['uint32'](0x1a)['string'](_0x665e0d['context']),null!=_0x665e0d['createdAt']&&Object['hasOwnProperty']['call'](_0x665e0d,'createdAt')&&_0x174224['uint32'](0x22)['string'](_0x665e0d['createdAt']),null!=_0x665e0d['resolvedAt']&&Object['hasOwnProperty']['call'](_0x665e0d,'resolvedAt')&&_0x174224['uint32'](0x2a)['string'](_0x665e0d['resolvedAt']),null!=_0x665e0d['resolvedBy']&&Object['hasOwnProperty']['call'](_0x665e0d,'resolvedBy')&&_0x174224['uint32'](0x32)['string'](_0x665e0d['resolvedBy']),null!=_0x665e0d['attributes']&&Object['hasOwnProperty']['call'](_0x665e0d,'attributes')&&_0x174224['uint32'](0x3a)['string'](_0x665e0d['attributes']),null!=_0x665e0d['deletedAt']&&Object['hasOwnProperty']['call'](_0x665e0d,'deletedAt')&&_0x174224['uint32'](0x42)['string'](_0x665e0d['deletedAt']),null!=_0x665e0d['comments']&&_0x665e0d['comments']['length']){for(var _0x52a268=0x0;_0x52a268<_0x665e0d['comments']['length'];++_0x52a268)_0xd25805['CommentDescriptor']['encode'](_0x665e0d['comments'][_0x52a268],_0x174224['uint32'](0x4a)['fork']())['ldelim']();}return _0x174224;},_0x2440cc['encodeDelimited']=function(_0x300417,_0x579774){return this['encode'](_0x300417,_0x579774)['ldelim']();},_0x2440cc['decode']=function(_0x56075d,_0x195cd1,_0xc38324){_0x56075d instanceof _0x37c416||(_0x56075d=_0x37c416['create'](_0x56075d));for(var _0x4f15b2=void 0x0===_0x195cd1?_0x56075d['len']:_0x56075d['pos']+_0x195cd1,_0x55b993=new _0xd25805['CommentsV2AddCommentThreadMessage']();_0x56075d['pos']<_0x4f15b2;){var _0x58dc1a=_0x56075d['uint32']();if(_0x58dc1a===_0xc38324)break;switch(_0x58dc1a>>>0x3){case 0x1:_0x55b993['documentId']=_0x56075d['string']();break;case 0x2:_0x55b993['commentThreadId']=_0x56075d['string']();break;case 0x3:_0x55b993['context']=_0x56075d['string']();break;case 0x4:_0x55b993['createdAt']=_0x56075d['string']();break;case 0x5:_0x55b993['resolvedAt']=_0x56075d['string']();break;case 0x6:_0x55b993['resolvedBy']=_0x56075d['string']();break;case 0x7:_0x55b993['attributes']=_0x56075d['string']();break;case 0x8:_0x55b993['deletedAt']=_0x56075d['string']();break;case 0x9:_0x55b993['comments']&&_0x55b993['comments']['length']||(_0x55b993['comments']=[]),_0x55b993['comments']['push'](_0xd25805['CommentDescriptor']['decode'](_0x56075d,_0x56075d['uint32']()));break;default:_0x56075d['skipType'](0x7&_0x58dc1a);}}return _0x55b993;},_0x2440cc['decodeDelimited']=function(_0x26820b){return _0x26820b instanceof _0x37c416||(_0x26820b=new _0x37c416(_0x26820b)),this['decode'](_0x26820b,_0x26820b['uint32']());},_0x2440cc['verify']=function(_0x16d9a0){if('object'!=typeof _0x16d9a0||null===_0x16d9a0)return'object\x20expected';if(null!=_0x16d9a0['documentId']&&_0x16d9a0['hasOwnProperty']('documentId')&&!_0xcc38bf['isString'](_0x16d9a0['documentId']))return'documentId:\x20string\x20expected';if(null!=_0x16d9a0['commentThreadId']&&_0x16d9a0['hasOwnProperty']('commentThreadId')&&!_0xcc38bf['isString'](_0x16d9a0['commentThreadId']))return'commentThreadId:\x20string\x20expected';if(null!=_0x16d9a0['context']&&_0x16d9a0['hasOwnProperty']('context')&&!_0xcc38bf['isString'](_0x16d9a0['context']))return'context:\x20string\x20expected';if(null!=_0x16d9a0['createdAt']&&_0x16d9a0['hasOwnProperty']('createdAt')&&!_0xcc38bf['isString'](_0x16d9a0['createdAt']))return'createdAt:\x20string\x20expected';if(null!=_0x16d9a0['resolvedAt']&&_0x16d9a0['hasOwnProperty']('resolvedAt')&&!_0xcc38bf['isString'](_0x16d9a0['resolvedAt']))return'resolvedAt:\x20string\x20expected';if(null!=_0x16d9a0['resolvedBy']&&_0x16d9a0['hasOwnProperty']('resolvedBy')&&!_0xcc38bf['isString'](_0x16d9a0['resolvedBy']))return'resolvedBy:\x20string\x20expected';if(null!=_0x16d9a0['attributes']&&_0x16d9a0['hasOwnProperty']('attributes')&&!_0xcc38bf['isString'](_0x16d9a0['attributes']))return'attributes:\x20string\x20expected';if(null!=_0x16d9a0['deletedAt']&&_0x16d9a0['hasOwnProperty']('deletedAt')&&!_0xcc38bf['isString'](_0x16d9a0['deletedAt']))return'deletedAt:\x20string\x20expected';if(null!=_0x16d9a0['comments']&&_0x16d9a0['hasOwnProperty']('comments')){if(!Array['isArray'](_0x16d9a0['comments']))return'comments:\x20array\x20expected';for(var _0x445d4b=0x0;_0x445d4b<_0x16d9a0['comments']['length'];++_0x445d4b){var _0x5aa556=_0xd25805['CommentDescriptor']['verify'](_0x16d9a0['comments'][_0x445d4b]);if(_0x5aa556)return'comments.'+_0x5aa556;}}return null;},_0x2440cc['fromObject']=function(_0x1c74e6){if(_0x1c74e6 instanceof _0xd25805['CommentsV2AddCommentThreadMessage'])return _0x1c74e6;var _0x3f822c=new _0xd25805['CommentsV2AddCommentThreadMessage']();if(null!=_0x1c74e6['documentId']&&(_0x3f822c['documentId']=String(_0x1c74e6['documentId'])),null!=_0x1c74e6['commentThreadId']&&(_0x3f822c['commentThreadId']=String(_0x1c74e6['commentThreadId'])),null!=_0x1c74e6['context']&&(_0x3f822c['context']=String(_0x1c74e6['context'])),null!=_0x1c74e6['createdAt']&&(_0x3f822c['createdAt']=String(_0x1c74e6['createdAt'])),null!=_0x1c74e6['resolvedAt']&&(_0x3f822c['resolvedAt']=String(_0x1c74e6['resolvedAt'])),null!=_0x1c74e6['resolvedBy']&&(_0x3f822c['resolvedBy']=String(_0x1c74e6['resolvedBy'])),null!=_0x1c74e6['attributes']&&(_0x3f822c['attributes']=String(_0x1c74e6['attributes'])),null!=_0x1c74e6['deletedAt']&&(_0x3f822c['deletedAt']=String(_0x1c74e6['deletedAt'])),_0x1c74e6['comments']){if(!Array['isArray'](_0x1c74e6['comments']))throw TypeError('.CommentsV2AddCommentThreadMessage.comments:\x20array\x20expected');_0x3f822c['comments']=[];for(var _0x202157=0x0;_0x202157<_0x1c74e6['comments']['length'];++_0x202157){if('object'!=typeof _0x1c74e6['comments'][_0x202157])throw TypeError('.CommentsV2AddCommentThreadMessage.comments:\x20object\x20expected');_0x3f822c['comments'][_0x202157]=_0xd25805['CommentDescriptor']['fromObject'](_0x1c74e6['comments'][_0x202157]);}}return _0x3f822c;},_0x2440cc['toObject']=function(_0x52711d,_0x39abd5){_0x39abd5||(_0x39abd5={});var _0x53a1e2={};if((_0x39abd5['arrays']||_0x39abd5['defaults'])&&(_0x53a1e2['comments']=[]),_0x39abd5['defaults']&&(_0x53a1e2['documentId']='',_0x53a1e2['commentThreadId']='',_0x53a1e2['context']='',_0x53a1e2['createdAt']='',_0x53a1e2['resolvedAt']='',_0x53a1e2['resolvedBy']='',_0x53a1e2['attributes']='',_0x53a1e2['deletedAt']=''),null!=_0x52711d['documentId']&&_0x52711d['hasOwnProperty']('documentId')&&(_0x53a1e2['documentId']=_0x52711d['documentId']),null!=_0x52711d['commentThreadId']&&_0x52711d['hasOwnProperty']('commentThreadId')&&(_0x53a1e2['commentThreadId']=_0x52711d['commentThreadId']),null!=_0x52711d['context']&&_0x52711d['hasOwnProperty']('context')&&(_0x53a1e2['context']=_0x52711d['context']),null!=_0x52711d['createdAt']&&_0x52711d['hasOwnProperty']('createdAt')&&(_0x53a1e2['createdAt']=_0x52711d['createdAt']),null!=_0x52711d['resolvedAt']&&_0x52711d['hasOwnProperty']('resolvedAt')&&(_0x53a1e2['resolvedAt']=_0x52711d['resolvedAt']),null!=_0x52711d['resolvedBy']&&_0x52711d['hasOwnProperty']('resolvedBy')&&(_0x53a1e2['resolvedBy']=_0x52711d['resolvedBy']),null!=_0x52711d['attributes']&&_0x52711d['hasOwnProperty']('attributes')&&(_0x53a1e2['attributes']=_0x52711d['attributes']),null!=_0x52711d['deletedAt']&&_0x52711d['hasOwnProperty']('deletedAt')&&(_0x53a1e2['deletedAt']=_0x52711d['deletedAt']),_0x52711d['comments']&&_0x52711d['comments']['length']){_0x53a1e2['comments']=[];for(var _0x5a8cf0=0x0;_0x5a8cf0<_0x52711d['comments']['length'];++_0x5a8cf0)_0x53a1e2['comments'][_0x5a8cf0]=_0xd25805['CommentDescriptor']['toObject'](_0x52711d['comments'][_0x5a8cf0],_0x39abd5);}return _0x53a1e2;},_0x2440cc['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x2440cc['getTypeUrl']=function(_0x5a21cd){return void 0x0===_0x5a21cd&&(_0x5a21cd='type.googleapis.com'),_0x5a21cd+'/CommentsV2AddCommentThreadMessage';},_0x2440cc;}()),_0xd25805['CommentsV2ReopenCommentThreadMessage']=(function(){function _0x2abf11(_0x106bbe){if(_0x106bbe){for(var _0x157f26=Object['keys'](_0x106bbe),_0x40400a=0x0;_0x40400a<_0x157f26['length'];++_0x40400a)null!=_0x106bbe[_0x157f26[_0x40400a]]&&(this[_0x157f26[_0x40400a]]=_0x106bbe[_0x157f26[_0x40400a]]);}}return _0x2abf11['prototype']['commentThreadId']='',_0x2abf11['prototype']['documentId']='',_0x2abf11['create']=function(_0x480eff){return new _0x2abf11(_0x480eff);},_0x2abf11['encode']=function(_0x456336,_0x3e225b){return _0x3e225b||(_0x3e225b=_0x1f8a63['create']()),null!=_0x456336['commentThreadId']&&Object['hasOwnProperty']['call'](_0x456336,'commentThreadId')&&_0x3e225b['uint32'](0xa)['string'](_0x456336['commentThreadId']),null!=_0x456336['documentId']&&Object['hasOwnProperty']['call'](_0x456336,'documentId')&&_0x3e225b['uint32'](0x12)['string'](_0x456336['documentId']),_0x3e225b;},_0x2abf11['encodeDelimited']=function(_0x396e25,_0x4bb355){return this['encode'](_0x396e25,_0x4bb355)['ldelim']();},_0x2abf11['decode']=function(_0x3e621a,_0x15543c,_0x569d19){_0x3e621a instanceof _0x37c416||(_0x3e621a=_0x37c416['create'](_0x3e621a));for(var _0x5389ad=void 0x0===_0x15543c?_0x3e621a['len']:_0x3e621a['pos']+_0x15543c,_0x5ae137=new _0xd25805['CommentsV2ReopenCommentThreadMessage']();_0x3e621a['pos']<_0x5389ad;){var _0x41a08f=_0x3e621a['uint32']();if(_0x41a08f===_0x569d19)break;switch(_0x41a08f>>>0x3){case 0x1:_0x5ae137['commentThreadId']=_0x3e621a['string']();break;case 0x2:_0x5ae137['documentId']=_0x3e621a['string']();break;default:_0x3e621a['skipType'](0x7&_0x41a08f);}}return _0x5ae137;},_0x2abf11['decodeDelimited']=function(_0x58f37a){return _0x58f37a instanceof _0x37c416||(_0x58f37a=new _0x37c416(_0x58f37a)),this['decode'](_0x58f37a,_0x58f37a['uint32']());},_0x2abf11['verify']=function(_0x1e6745){return'object'!=typeof _0x1e6745||null===_0x1e6745?'object\x20expected':null!=_0x1e6745['commentThreadId']&&_0x1e6745['hasOwnProperty']('commentThreadId')&&!_0xcc38bf['isString'](_0x1e6745['commentThreadId'])?'commentThreadId:\x20string\x20expected':null!=_0x1e6745['documentId']&&_0x1e6745['hasOwnProperty']('documentId')&&!_0xcc38bf['isString'](_0x1e6745['documentId'])?'documentId:\x20string\x20expected':null;},_0x2abf11['fromObject']=function(_0x54ac3a){if(_0x54ac3a instanceof _0xd25805['CommentsV2ReopenCommentThreadMessage'])return _0x54ac3a;var _0x1ccae6=new _0xd25805['CommentsV2ReopenCommentThreadMessage']();return null!=_0x54ac3a['commentThreadId']&&(_0x1ccae6['commentThreadId']=String(_0x54ac3a['commentThreadId'])),null!=_0x54ac3a['documentId']&&(_0x1ccae6['documentId']=String(_0x54ac3a['documentId'])),_0x1ccae6;},_0x2abf11['toObject']=function(_0x3ef1b4,_0x1d1bde){_0x1d1bde||(_0x1d1bde={});var _0x33455b={};return _0x1d1bde['defaults']&&(_0x33455b['commentThreadId']='',_0x33455b['documentId']=''),null!=_0x3ef1b4['commentThreadId']&&_0x3ef1b4['hasOwnProperty']('commentThreadId')&&(_0x33455b['commentThreadId']=_0x3ef1b4['commentThreadId']),null!=_0x3ef1b4['documentId']&&_0x3ef1b4['hasOwnProperty']('documentId')&&(_0x33455b['documentId']=_0x3ef1b4['documentId']),_0x33455b;},_0x2abf11['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x2abf11['getTypeUrl']=function(_0x4f8cc9){return void 0x0===_0x4f8cc9&&(_0x4f8cc9='type.googleapis.com'),_0x4f8cc9+'/CommentsV2ReopenCommentThreadMessage';},_0x2abf11;}()),_0xd25805['CommentsV2ResolveCommentThreadMessage']=(function(){function _0x5c72d4(_0x25c0ed){if(_0x25c0ed){for(var _0x164fc5=Object['keys'](_0x25c0ed),_0x111e21=0x0;_0x111e21<_0x164fc5['length'];++_0x111e21)null!=_0x25c0ed[_0x164fc5[_0x111e21]]&&(this[_0x164fc5[_0x111e21]]=_0x25c0ed[_0x164fc5[_0x111e21]]);}}return _0x5c72d4['prototype']['commentThreadId']='',_0x5c72d4['prototype']['documentId']='',_0x5c72d4['prototype']['resolvedBy']='',_0x5c72d4['prototype']['resolvedAt']='',_0x5c72d4['create']=function(_0x2386d4){return new _0x5c72d4(_0x2386d4);},_0x5c72d4['encode']=function(_0x27bc6c,_0x3b0621){return _0x3b0621||(_0x3b0621=_0x1f8a63['create']()),null!=_0x27bc6c['commentThreadId']&&Object['hasOwnProperty']['call'](_0x27bc6c,'commentThreadId')&&_0x3b0621['uint32'](0xa)['string'](_0x27bc6c['commentThreadId']),null!=_0x27bc6c['documentId']&&Object['hasOwnProperty']['call'](_0x27bc6c,'documentId')&&_0x3b0621['uint32'](0x12)['string'](_0x27bc6c['documentId']),null!=_0x27bc6c['resolvedBy']&&Object['hasOwnProperty']['call'](_0x27bc6c,'resolvedBy')&&_0x3b0621['uint32'](0x1a)['string'](_0x27bc6c['resolvedBy']),null!=_0x27bc6c['resolvedAt']&&Object['hasOwnProperty']['call'](_0x27bc6c,'resolvedAt')&&_0x3b0621['uint32'](0x22)['string'](_0x27bc6c['resolvedAt']),_0x3b0621;},_0x5c72d4['encodeDelimited']=function(_0x55cd81,_0x5801c0){return this['encode'](_0x55cd81,_0x5801c0)['ldelim']();},_0x5c72d4['decode']=function(_0x49d7ff,_0x211e4b,_0xc66cd6){_0x49d7ff instanceof _0x37c416||(_0x49d7ff=_0x37c416['create'](_0x49d7ff));for(var _0x492faa=void 0x0===_0x211e4b?_0x49d7ff['len']:_0x49d7ff['pos']+_0x211e4b,_0x4a53b1=new _0xd25805['CommentsV2ResolveCommentThreadMessage']();_0x49d7ff['pos']<_0x492faa;){var _0x19d2af=_0x49d7ff['uint32']();if(_0x19d2af===_0xc66cd6)break;switch(_0x19d2af>>>0x3){case 0x1:_0x4a53b1['commentThreadId']=_0x49d7ff['string']();break;case 0x2:_0x4a53b1['documentId']=_0x49d7ff['string']();break;case 0x3:_0x4a53b1['resolvedBy']=_0x49d7ff['string']();break;case 0x4:_0x4a53b1['resolvedAt']=_0x49d7ff['string']();break;default:_0x49d7ff['skipType'](0x7&_0x19d2af);}}return _0x4a53b1;},_0x5c72d4['decodeDelimited']=function(_0x4c650b){return _0x4c650b instanceof _0x37c416||(_0x4c650b=new _0x37c416(_0x4c650b)),this['decode'](_0x4c650b,_0x4c650b['uint32']());},_0x5c72d4['verify']=function(_0x10bc5d){return'object'!=typeof _0x10bc5d||null===_0x10bc5d?'object\x20expected':null!=_0x10bc5d['commentThreadId']&&_0x10bc5d['hasOwnProperty']('commentThreadId')&&!_0xcc38bf['isString'](_0x10bc5d['commentThreadId'])?'commentThreadId:\x20string\x20expected':null!=_0x10bc5d['documentId']&&_0x10bc5d['hasOwnProperty']('documentId')&&!_0xcc38bf['isString'](_0x10bc5d['documentId'])?'documentId:\x20string\x20expected':null!=_0x10bc5d['resolvedBy']&&_0x10bc5d['hasOwnProperty']('resolvedBy')&&!_0xcc38bf['isString'](_0x10bc5d['resolvedBy'])?'resolvedBy:\x20string\x20expected':null!=_0x10bc5d['resolvedAt']&&_0x10bc5d['hasOwnProperty']('resolvedAt')&&!_0xcc38bf['isString'](_0x10bc5d['resolvedAt'])?'resolvedAt:\x20string\x20expected':null;},_0x5c72d4['fromObject']=function(_0x555fd0){if(_0x555fd0 instanceof _0xd25805['CommentsV2ResolveCommentThreadMessage'])return _0x555fd0;var _0x2d734b=new _0xd25805['CommentsV2ResolveCommentThreadMessage']();return null!=_0x555fd0['commentThreadId']&&(_0x2d734b['commentThreadId']=String(_0x555fd0['commentThreadId'])),null!=_0x555fd0['documentId']&&(_0x2d734b['documentId']=String(_0x555fd0['documentId'])),null!=_0x555fd0['resolvedBy']&&(_0x2d734b['resolvedBy']=String(_0x555fd0['resolvedBy'])),null!=_0x555fd0['resolvedAt']&&(_0x2d734b['resolvedAt']=String(_0x555fd0['resolvedAt'])),_0x2d734b;},_0x5c72d4['toObject']=function(_0x4aec8a,_0x1c3451){_0x1c3451||(_0x1c3451={});var _0x16994b={};return _0x1c3451['defaults']&&(_0x16994b['commentThreadId']='',_0x16994b['documentId']='',_0x16994b['resolvedBy']='',_0x16994b['resolvedAt']=''),null!=_0x4aec8a['commentThreadId']&&_0x4aec8a['hasOwnProperty']('commentThreadId')&&(_0x16994b['commentThreadId']=_0x4aec8a['commentThreadId']),null!=_0x4aec8a['documentId']&&_0x4aec8a['hasOwnProperty']('documentId')&&(_0x16994b['documentId']=_0x4aec8a['documentId']),null!=_0x4aec8a['resolvedBy']&&_0x4aec8a['hasOwnProperty']('resolvedBy')&&(_0x16994b['resolvedBy']=_0x4aec8a['resolvedBy']),null!=_0x4aec8a['resolvedAt']&&_0x4aec8a['hasOwnProperty']('resolvedAt')&&(_0x16994b['resolvedAt']=_0x4aec8a['resolvedAt']),_0x16994b;},_0x5c72d4['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x5c72d4['getTypeUrl']=function(_0x5b0f00){return void 0x0===_0x5b0f00&&(_0x5b0f00='type.googleapis.com'),_0x5b0f00+'/CommentsV2ResolveCommentThreadMessage';},_0x5c72d4;}()),_0xd25805['CommentsV2UpdateCommentThreadMessage']=(function(){function _0x2c71f0(_0xcc9dd3){if(_0xcc9dd3){for(var _0x3470d6=Object['keys'](_0xcc9dd3),_0x5821e0=0x0;_0x5821e0<_0x3470d6['length'];++_0x5821e0)null!=_0xcc9dd3[_0x3470d6[_0x5821e0]]&&(this[_0x3470d6[_0x5821e0]]=_0xcc9dd3[_0x3470d6[_0x5821e0]]);}}return _0x2c71f0['prototype']['commentThreadId']='',_0x2c71f0['prototype']['documentId']='',_0x2c71f0['prototype']['context']='',_0x2c71f0['prototype']['attributes']='',_0x2c71f0['prototype']['unlinkedAt']='',_0x2c71f0['create']=function(_0x336179){return new _0x2c71f0(_0x336179);},_0x2c71f0['encode']=function(_0x7cf20c,_0x20beaa){return _0x20beaa||(_0x20beaa=_0x1f8a63['create']()),null!=_0x7cf20c['commentThreadId']&&Object['hasOwnProperty']['call'](_0x7cf20c,'commentThreadId')&&_0x20beaa['uint32'](0xa)['string'](_0x7cf20c['commentThreadId']),null!=_0x7cf20c['documentId']&&Object['hasOwnProperty']['call'](_0x7cf20c,'documentId')&&_0x20beaa['uint32'](0x12)['string'](_0x7cf20c['documentId']),null!=_0x7cf20c['context']&&Object['hasOwnProperty']['call'](_0x7cf20c,'context')&&_0x20beaa['uint32'](0x1a)['string'](_0x7cf20c['context']),null!=_0x7cf20c['attributes']&&Object['hasOwnProperty']['call'](_0x7cf20c,'attributes')&&_0x20beaa['uint32'](0x22)['string'](_0x7cf20c['attributes']),null!=_0x7cf20c['unlinkedAt']&&Object['hasOwnProperty']['call'](_0x7cf20c,'unlinkedAt')&&_0x20beaa['uint32'](0x2a)['string'](_0x7cf20c['unlinkedAt']),_0x20beaa;},_0x2c71f0['encodeDelimited']=function(_0x24b4cf,_0x561914){return this['encode'](_0x24b4cf,_0x561914)['ldelim']();},_0x2c71f0['decode']=function(_0x3c9d60,_0x13281a,_0x53fa3b){_0x3c9d60 instanceof _0x37c416||(_0x3c9d60=_0x37c416['create'](_0x3c9d60));for(var _0x13ff60=void 0x0===_0x13281a?_0x3c9d60['len']:_0x3c9d60['pos']+_0x13281a,_0x10b2b3=new _0xd25805['CommentsV2UpdateCommentThreadMessage']();_0x3c9d60['pos']<_0x13ff60;){var _0x3ced3e=_0x3c9d60['uint32']();if(_0x3ced3e===_0x53fa3b)break;switch(_0x3ced3e>>>0x3){case 0x1:_0x10b2b3['commentThreadId']=_0x3c9d60['string']();break;case 0x2:_0x10b2b3['documentId']=_0x3c9d60['string']();break;case 0x3:_0x10b2b3['context']=_0x3c9d60['string']();break;case 0x4:_0x10b2b3['attributes']=_0x3c9d60['string']();break;case 0x5:_0x10b2b3['unlinkedAt']=_0x3c9d60['string']();break;default:_0x3c9d60['skipType'](0x7&_0x3ced3e);}}return _0x10b2b3;},_0x2c71f0['decodeDelimited']=function(_0x3e2414){return _0x3e2414 instanceof _0x37c416||(_0x3e2414=new _0x37c416(_0x3e2414)),this['decode'](_0x3e2414,_0x3e2414['uint32']());},_0x2c71f0['verify']=function(_0x117e78){return'object'!=typeof _0x117e78||null===_0x117e78?'object\x20expected':null!=_0x117e78['commentThreadId']&&_0x117e78['hasOwnProperty']('commentThreadId')&&!_0xcc38bf['isString'](_0x117e78['commentThreadId'])?'commentThreadId:\x20string\x20expected':null!=_0x117e78['documentId']&&_0x117e78['hasOwnProperty']('documentId')&&!_0xcc38bf['isString'](_0x117e78['documentId'])?'documentId:\x20string\x20expected':null!=_0x117e78['context']&&_0x117e78['hasOwnProperty']('context')&&!_0xcc38bf['isString'](_0x117e78['context'])?'context:\x20string\x20expected':null!=_0x117e78['attributes']&&_0x117e78['hasOwnProperty']('attributes')&&!_0xcc38bf['isString'](_0x117e78['attributes'])?'attributes:\x20string\x20expected':null!=_0x117e78['unlinkedAt']&&_0x117e78['hasOwnProperty']('unlinkedAt')&&!_0xcc38bf['isString'](_0x117e78['unlinkedAt'])?'unlinkedAt:\x20string\x20expected':null;},_0x2c71f0['fromObject']=function(_0x51e9bf){if(_0x51e9bf instanceof _0xd25805['CommentsV2UpdateCommentThreadMessage'])return _0x51e9bf;var _0x319184=new _0xd25805['CommentsV2UpdateCommentThreadMessage']();return null!=_0x51e9bf['commentThreadId']&&(_0x319184['commentThreadId']=String(_0x51e9bf['commentThreadId'])),null!=_0x51e9bf['documentId']&&(_0x319184['documentId']=String(_0x51e9bf['documentId'])),null!=_0x51e9bf['context']&&(_0x319184['context']=String(_0x51e9bf['context'])),null!=_0x51e9bf['attributes']&&(_0x319184['attributes']=String(_0x51e9bf['attributes'])),null!=_0x51e9bf['unlinkedAt']&&(_0x319184['unlinkedAt']=String(_0x51e9bf['unlinkedAt'])),_0x319184;},_0x2c71f0['toObject']=function(_0x4b09f3,_0x4672cd){_0x4672cd||(_0x4672cd={});var _0x54d7fe={};return _0x4672cd['defaults']&&(_0x54d7fe['commentThreadId']='',_0x54d7fe['documentId']='',_0x54d7fe['context']='',_0x54d7fe['attributes']='',_0x54d7fe['unlinkedAt']=''),null!=_0x4b09f3['commentThreadId']&&_0x4b09f3['hasOwnProperty']('commentThreadId')&&(_0x54d7fe['commentThreadId']=_0x4b09f3['commentThreadId']),null!=_0x4b09f3['documentId']&&_0x4b09f3['hasOwnProperty']('documentId')&&(_0x54d7fe['documentId']=_0x4b09f3['documentId']),null!=_0x4b09f3['context']&&_0x4b09f3['hasOwnProperty']('context')&&(_0x54d7fe['context']=_0x4b09f3['context']),null!=_0x4b09f3['attributes']&&_0x4b09f3['hasOwnProperty']('attributes')&&(_0x54d7fe['attributes']=_0x4b09f3['attributes']),null!=_0x4b09f3['unlinkedAt']&&_0x4b09f3['hasOwnProperty']('unlinkedAt')&&(_0x54d7fe['unlinkedAt']=_0x4b09f3['unlinkedAt']),_0x54d7fe;},_0x2c71f0['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x2c71f0['getTypeUrl']=function(_0x31b80e){return void 0x0===_0x31b80e&&(_0x31b80e='type.googleapis.com'),_0x31b80e+'/CommentsV2UpdateCommentThreadMessage';},_0x2c71f0;}()),_0xd25805['CommentsV2ConnectMessage']=(function(){function _0x44f6ca(_0x1e5472){if(_0x1e5472){for(var _0x33ceaf=Object['keys'](_0x1e5472),_0x2fc2c2=0x0;_0x2fc2c2<_0x33ceaf['length'];++_0x2fc2c2)null!=_0x1e5472[_0x33ceaf[_0x2fc2c2]]&&(this[_0x33ceaf[_0x2fc2c2]]=_0x1e5472[_0x33ceaf[_0x2fc2c2]]);}}return _0x44f6ca['prototype']['documentId']='',_0x44f6ca['create']=function(_0x138fda){return new _0x44f6ca(_0x138fda);},_0x44f6ca['encode']=function(_0x41ac35,_0x25875a){return _0x25875a||(_0x25875a=_0x1f8a63['create']()),null!=_0x41ac35['documentId']&&Object['hasOwnProperty']['call'](_0x41ac35,'documentId')&&_0x25875a['uint32'](0xa)['string'](_0x41ac35['documentId']),_0x25875a;},_0x44f6ca['encodeDelimited']=function(_0x56b3d3,_0x9b6965){return this['encode'](_0x56b3d3,_0x9b6965)['ldelim']();},_0x44f6ca['decode']=function(_0x3f1d78,_0x3aeb28,_0x31ac18){_0x3f1d78 instanceof _0x37c416||(_0x3f1d78=_0x37c416['create'](_0x3f1d78));for(var _0x41b80e=void 0x0===_0x3aeb28?_0x3f1d78['len']:_0x3f1d78['pos']+_0x3aeb28,_0x351ade=new _0xd25805['CommentsV2ConnectMessage']();_0x3f1d78['pos']<_0x41b80e;){var _0x20f7cc=_0x3f1d78['uint32']();if(_0x20f7cc===_0x31ac18)break;_0x20f7cc>>>0x3==0x1?_0x351ade['documentId']=_0x3f1d78['string']():_0x3f1d78['skipType'](0x7&_0x20f7cc);}return _0x351ade;},_0x44f6ca['decodeDelimited']=function(_0x157af6){return _0x157af6 instanceof _0x37c416||(_0x157af6=new _0x37c416(_0x157af6)),this['decode'](_0x157af6,_0x157af6['uint32']());},_0x44f6ca['verify']=function(_0x47baf4){return'object'!=typeof _0x47baf4||null===_0x47baf4?'object\x20expected':null!=_0x47baf4['documentId']&&_0x47baf4['hasOwnProperty']('documentId')&&!_0xcc38bf['isString'](_0x47baf4['documentId'])?'documentId:\x20string\x20expected':null;},_0x44f6ca['fromObject']=function(_0x142e44){if(_0x142e44 instanceof _0xd25805['CommentsV2ConnectMessage'])return _0x142e44;var _0x516777=new _0xd25805['CommentsV2ConnectMessage']();return null!=_0x142e44['documentId']&&(_0x516777['documentId']=String(_0x142e44['documentId'])),_0x516777;},_0x44f6ca['toObject']=function(_0x3df350,_0x1fd422){_0x1fd422||(_0x1fd422={});var _0x58c508={};return _0x1fd422['defaults']&&(_0x58c508['documentId']=''),null!=_0x3df350['documentId']&&_0x3df350['hasOwnProperty']('documentId')&&(_0x58c508['documentId']=_0x3df350['documentId']),_0x58c508;},_0x44f6ca['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x44f6ca['getTypeUrl']=function(_0x252f23){return void 0x0===_0x252f23&&(_0x252f23='type.googleapis.com'),_0x252f23+'/CommentsV2ConnectMessage';},_0x44f6ca;}()),_0xd25805['CommentsV2GetCommentThreadMessage']=(function(){function _0x2f84c3(_0x491bcd){if(_0x491bcd){for(var _0x3e9594=Object['keys'](_0x491bcd),_0x47ce4c=0x0;_0x47ce4c<_0x3e9594['length'];++_0x47ce4c)null!=_0x491bcd[_0x3e9594[_0x47ce4c]]&&(this[_0x3e9594[_0x47ce4c]]=_0x491bcd[_0x3e9594[_0x47ce4c]]);}}return _0x2f84c3['prototype']['commentThreadId']='',_0x2f84c3['prototype']['documentId']='',_0x2f84c3['create']=function(_0x5b3708){return new _0x2f84c3(_0x5b3708);},_0x2f84c3['encode']=function(_0x4fc128,_0x2375a9){return _0x2375a9||(_0x2375a9=_0x1f8a63['create']()),null!=_0x4fc128['commentThreadId']&&Object['hasOwnProperty']['call'](_0x4fc128,'commentThreadId')&&_0x2375a9['uint32'](0xa)['string'](_0x4fc128['commentThreadId']),null!=_0x4fc128['documentId']&&Object['hasOwnProperty']['call'](_0x4fc128,'documentId')&&_0x2375a9['uint32'](0x12)['string'](_0x4fc128['documentId']),_0x2375a9;},_0x2f84c3['encodeDelimited']=function(_0x15b182,_0x5eeb45){return this['encode'](_0x15b182,_0x5eeb45)['ldelim']();},_0x2f84c3['decode']=function(_0x4fb5fa,_0x231dd1,_0x4d8289){_0x4fb5fa instanceof _0x37c416||(_0x4fb5fa=_0x37c416['create'](_0x4fb5fa));for(var _0x7d44a2=void 0x0===_0x231dd1?_0x4fb5fa['len']:_0x4fb5fa['pos']+_0x231dd1,_0x501237=new _0xd25805['CommentsV2GetCommentThreadMessage']();_0x4fb5fa['pos']<_0x7d44a2;){var _0x2676f6=_0x4fb5fa['uint32']();if(_0x2676f6===_0x4d8289)break;switch(_0x2676f6>>>0x3){case 0x1:_0x501237['commentThreadId']=_0x4fb5fa['string']();break;case 0x2:_0x501237['documentId']=_0x4fb5fa['string']();break;default:_0x4fb5fa['skipType'](0x7&_0x2676f6);}}return _0x501237;},_0x2f84c3['decodeDelimited']=function(_0x2bbcc0){return _0x2bbcc0 instanceof _0x37c416||(_0x2bbcc0=new _0x37c416(_0x2bbcc0)),this['decode'](_0x2bbcc0,_0x2bbcc0['uint32']());},_0x2f84c3['verify']=function(_0x60b41b){return'object'!=typeof _0x60b41b||null===_0x60b41b?'object\x20expected':null!=_0x60b41b['commentThreadId']&&_0x60b41b['hasOwnProperty']('commentThreadId')&&!_0xcc38bf['isString'](_0x60b41b['commentThreadId'])?'commentThreadId:\x20string\x20expected':null!=_0x60b41b['documentId']&&_0x60b41b['hasOwnProperty']('documentId')&&!_0xcc38bf['isString'](_0x60b41b['documentId'])?'documentId:\x20string\x20expected':null;},_0x2f84c3['fromObject']=function(_0x4a6851){if(_0x4a6851 instanceof _0xd25805['CommentsV2GetCommentThreadMessage'])return _0x4a6851;var _0x35c82b=new _0xd25805['CommentsV2GetCommentThreadMessage']();return null!=_0x4a6851['commentThreadId']&&(_0x35c82b['commentThreadId']=String(_0x4a6851['commentThreadId'])),null!=_0x4a6851['documentId']&&(_0x35c82b['documentId']=String(_0x4a6851['documentId'])),_0x35c82b;},_0x2f84c3['toObject']=function(_0x2da391,_0x485e51){_0x485e51||(_0x485e51={});var _0x3f8567={};return _0x485e51['defaults']&&(_0x3f8567['commentThreadId']='',_0x3f8567['documentId']=''),null!=_0x2da391['commentThreadId']&&_0x2da391['hasOwnProperty']('commentThreadId')&&(_0x3f8567['commentThreadId']=_0x2da391['commentThreadId']),null!=_0x2da391['documentId']&&_0x2da391['hasOwnProperty']('documentId')&&(_0x3f8567['documentId']=_0x2da391['documentId']),_0x3f8567;},_0x2f84c3['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x2f84c3['getTypeUrl']=function(_0x5bd000){return void 0x0===_0x5bd000&&(_0x5bd000='type.googleapis.com'),_0x5bd000+'/CommentsV2GetCommentThreadMessage';},_0x2f84c3;}()),_0xd25805['CommentsV2GetDocumentThreadsMessage']=(function(){function _0x4699d2(_0x1ab8ae){if(_0x1ab8ae){for(var _0x1e2c8c=Object['keys'](_0x1ab8ae),_0x28025f=0x0;_0x28025f<_0x1e2c8c['length'];++_0x28025f)null!=_0x1ab8ae[_0x1e2c8c[_0x28025f]]&&(this[_0x1e2c8c[_0x28025f]]=_0x1ab8ae[_0x1e2c8c[_0x28025f]]);}}return _0x4699d2['prototype']['documentId']='',_0x4699d2['create']=function(_0x44ac37){return new _0x4699d2(_0x44ac37);},_0x4699d2['encode']=function(_0x3586da,_0x515ebb){return _0x515ebb||(_0x515ebb=_0x1f8a63['create']()),null!=_0x3586da['documentId']&&Object['hasOwnProperty']['call'](_0x3586da,'documentId')&&_0x515ebb['uint32'](0xa)['string'](_0x3586da['documentId']),_0x515ebb;},_0x4699d2['encodeDelimited']=function(_0x8cd5a0,_0x29860f){return this['encode'](_0x8cd5a0,_0x29860f)['ldelim']();},_0x4699d2['decode']=function(_0x507649,_0x20cdf8,_0x5c021e){_0x507649 instanceof _0x37c416||(_0x507649=_0x37c416['create'](_0x507649));for(var _0x555c20=void 0x0===_0x20cdf8?_0x507649['len']:_0x507649['pos']+_0x20cdf8,_0x140094=new _0xd25805['CommentsV2GetDocumentThreadsMessage']();_0x507649['pos']<_0x555c20;){var _0x597448=_0x507649['uint32']();if(_0x597448===_0x5c021e)break;_0x597448>>>0x3==0x1?_0x140094['documentId']=_0x507649['string']():_0x507649['skipType'](0x7&_0x597448);}return _0x140094;},_0x4699d2['decodeDelimited']=function(_0x2ebaba){return _0x2ebaba instanceof _0x37c416||(_0x2ebaba=new _0x37c416(_0x2ebaba)),this['decode'](_0x2ebaba,_0x2ebaba['uint32']());},_0x4699d2['verify']=function(_0x471084){return'object'!=typeof _0x471084||null===_0x471084?'object\x20expected':null!=_0x471084['documentId']&&_0x471084['hasOwnProperty']('documentId')&&!_0xcc38bf['isString'](_0x471084['documentId'])?'documentId:\x20string\x20expected':null;},_0x4699d2['fromObject']=function(_0x4fbda5){if(_0x4fbda5 instanceof _0xd25805['CommentsV2GetDocumentThreadsMessage'])return _0x4fbda5;var _0x33794f=new _0xd25805['CommentsV2GetDocumentThreadsMessage']();return null!=_0x4fbda5['documentId']&&(_0x33794f['documentId']=String(_0x4fbda5['documentId'])),_0x33794f;},_0x4699d2['toObject']=function(_0xea1eb7,_0x3e89dd){_0x3e89dd||(_0x3e89dd={});var _0x15f91f={};return _0x3e89dd['defaults']&&(_0x15f91f['documentId']=''),null!=_0xea1eb7['documentId']&&_0xea1eb7['hasOwnProperty']('documentId')&&(_0x15f91f['documentId']=_0xea1eb7['documentId']),_0x15f91f;},_0x4699d2['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x4699d2['getTypeUrl']=function(_0x4256d9){return void 0x0===_0x4256d9&&(_0x4256d9='type.googleapis.com'),_0x4256d9+'/CommentsV2GetDocumentThreadsMessage';},_0x4699d2;}()),_0xd25805['CommentsV2RemoveCommentMessage']=(function(){function _0x337d55(_0x27ec08){if(_0x27ec08){for(var _0x47aaf0=Object['keys'](_0x27ec08),_0x1d3b6b=0x0;_0x1d3b6b<_0x47aaf0['length'];++_0x1d3b6b)null!=_0x27ec08[_0x47aaf0[_0x1d3b6b]]&&(this[_0x47aaf0[_0x1d3b6b]]=_0x27ec08[_0x47aaf0[_0x1d3b6b]]);}}return _0x337d55['prototype']['commentThreadId']='',_0x337d55['prototype']['commentId']='',_0x337d55['prototype']['documentId']='',_0x337d55['create']=function(_0x1ece46){return new _0x337d55(_0x1ece46);},_0x337d55['encode']=function(_0x1160a4,_0x4adca7){return _0x4adca7||(_0x4adca7=_0x1f8a63['create']()),null!=_0x1160a4['commentThreadId']&&Object['hasOwnProperty']['call'](_0x1160a4,'commentThreadId')&&_0x4adca7['uint32'](0xa)['string'](_0x1160a4['commentThreadId']),null!=_0x1160a4['commentId']&&Object['hasOwnProperty']['call'](_0x1160a4,'commentId')&&_0x4adca7['uint32'](0x12)['string'](_0x1160a4['commentId']),null!=_0x1160a4['documentId']&&Object['hasOwnProperty']['call'](_0x1160a4,'documentId')&&_0x4adca7['uint32'](0x1a)['string'](_0x1160a4['documentId']),_0x4adca7;},_0x337d55['encodeDelimited']=function(_0x3736ca,_0x1a5b12){return this['encode'](_0x3736ca,_0x1a5b12)['ldelim']();},_0x337d55['decode']=function(_0xef0a55,_0x1def00,_0x5b31b4){_0xef0a55 instanceof _0x37c416||(_0xef0a55=_0x37c416['create'](_0xef0a55));for(var _0x547eae=void 0x0===_0x1def00?_0xef0a55['len']:_0xef0a55['pos']+_0x1def00,_0x5c856c=new _0xd25805['CommentsV2RemoveCommentMessage']();_0xef0a55['pos']<_0x547eae;){var _0x2f3cbd=_0xef0a55['uint32']();if(_0x2f3cbd===_0x5b31b4)break;switch(_0x2f3cbd>>>0x3){case 0x1:_0x5c856c['commentThreadId']=_0xef0a55['string']();break;case 0x2:_0x5c856c['commentId']=_0xef0a55['string']();break;case 0x3:_0x5c856c['documentId']=_0xef0a55['string']();break;default:_0xef0a55['skipType'](0x7&_0x2f3cbd);}}return _0x5c856c;},_0x337d55['decodeDelimited']=function(_0x1dfc45){return _0x1dfc45 instanceof _0x37c416||(_0x1dfc45=new _0x37c416(_0x1dfc45)),this['decode'](_0x1dfc45,_0x1dfc45['uint32']());},_0x337d55['verify']=function(_0x53fc8d){return'object'!=typeof _0x53fc8d||null===_0x53fc8d?'object\x20expected':null!=_0x53fc8d['commentThreadId']&&_0x53fc8d['hasOwnProperty']('commentThreadId')&&!_0xcc38bf['isString'](_0x53fc8d['commentThreadId'])?'commentThreadId:\x20string\x20expected':null!=_0x53fc8d['commentId']&&_0x53fc8d['hasOwnProperty']('commentId')&&!_0xcc38bf['isString'](_0x53fc8d['commentId'])?'commentId:\x20string\x20expected':null!=_0x53fc8d['documentId']&&_0x53fc8d['hasOwnProperty']('documentId')&&!_0xcc38bf['isString'](_0x53fc8d['documentId'])?'documentId:\x20string\x20expected':null;},_0x337d55['fromObject']=function(_0x6ca1f8){if(_0x6ca1f8 instanceof _0xd25805['CommentsV2RemoveCommentMessage'])return _0x6ca1f8;var _0x437acc=new _0xd25805['CommentsV2RemoveCommentMessage']();return null!=_0x6ca1f8['commentThreadId']&&(_0x437acc['commentThreadId']=String(_0x6ca1f8['commentThreadId'])),null!=_0x6ca1f8['commentId']&&(_0x437acc['commentId']=String(_0x6ca1f8['commentId'])),null!=_0x6ca1f8['documentId']&&(_0x437acc['documentId']=String(_0x6ca1f8['documentId'])),_0x437acc;},_0x337d55['toObject']=function(_0x3d56cd,_0x578196){_0x578196||(_0x578196={});var _0x2fe085={};return _0x578196['defaults']&&(_0x2fe085['commentThreadId']='',_0x2fe085['commentId']='',_0x2fe085['documentId']=''),null!=_0x3d56cd['commentThreadId']&&_0x3d56cd['hasOwnProperty']('commentThreadId')&&(_0x2fe085['commentThreadId']=_0x3d56cd['commentThreadId']),null!=_0x3d56cd['commentId']&&_0x3d56cd['hasOwnProperty']('commentId')&&(_0x2fe085['commentId']=_0x3d56cd['commentId']),null!=_0x3d56cd['documentId']&&_0x3d56cd['hasOwnProperty']('documentId')&&(_0x2fe085['documentId']=_0x3d56cd['documentId']),_0x2fe085;},_0x337d55['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x337d55['getTypeUrl']=function(_0x3c40e2){return void 0x0===_0x3c40e2&&(_0x3c40e2='type.googleapis.com'),_0x3c40e2+'/CommentsV2RemoveCommentMessage';},_0x337d55;}()),_0xd25805['CommentsV2RemoveCommentThreadMessage']=(function(){function _0x5a614b(_0xd32deb){if(_0xd32deb){for(var _0xa07aa2=Object['keys'](_0xd32deb),_0x4b2843=0x0;_0x4b2843<_0xa07aa2['length'];++_0x4b2843)null!=_0xd32deb[_0xa07aa2[_0x4b2843]]&&(this[_0xa07aa2[_0x4b2843]]=_0xd32deb[_0xa07aa2[_0x4b2843]]);}}return _0x5a614b['prototype']['commentThreadId']='',_0x5a614b['prototype']['documentId']='',_0x5a614b['create']=function(_0x12e5a3){return new _0x5a614b(_0x12e5a3);},_0x5a614b['encode']=function(_0x2074d9,_0x425d03){return _0x425d03||(_0x425d03=_0x1f8a63['create']()),null!=_0x2074d9['commentThreadId']&&Object['hasOwnProperty']['call'](_0x2074d9,'commentThreadId')&&_0x425d03['uint32'](0xa)['string'](_0x2074d9['commentThreadId']),null!=_0x2074d9['documentId']&&Object['hasOwnProperty']['call'](_0x2074d9,'documentId')&&_0x425d03['uint32'](0x12)['string'](_0x2074d9['documentId']),_0x425d03;},_0x5a614b['encodeDelimited']=function(_0x58e393,_0x22c9a7){return this['encode'](_0x58e393,_0x22c9a7)['ldelim']();},_0x5a614b['decode']=function(_0x4eb106,_0x409a2a,_0x3b506d){_0x4eb106 instanceof _0x37c416||(_0x4eb106=_0x37c416['create'](_0x4eb106));for(var _0x28d391=void 0x0===_0x409a2a?_0x4eb106['len']:_0x4eb106['pos']+_0x409a2a,_0x1d3c5f=new _0xd25805['CommentsV2RemoveCommentThreadMessage']();_0x4eb106['pos']<_0x28d391;){var _0x5e7302=_0x4eb106['uint32']();if(_0x5e7302===_0x3b506d)break;switch(_0x5e7302>>>0x3){case 0x1:_0x1d3c5f['commentThreadId']=_0x4eb106['string']();break;case 0x2:_0x1d3c5f['documentId']=_0x4eb106['string']();break;default:_0x4eb106['skipType'](0x7&_0x5e7302);}}return _0x1d3c5f;},_0x5a614b['decodeDelimited']=function(_0x4ac4fc){return _0x4ac4fc instanceof _0x37c416||(_0x4ac4fc=new _0x37c416(_0x4ac4fc)),this['decode'](_0x4ac4fc,_0x4ac4fc['uint32']());},_0x5a614b['verify']=function(_0xcbff99){return'object'!=typeof _0xcbff99||null===_0xcbff99?'object\x20expected':null!=_0xcbff99['commentThreadId']&&_0xcbff99['hasOwnProperty']('commentThreadId')&&!_0xcc38bf['isString'](_0xcbff99['commentThreadId'])?'commentThreadId:\x20string\x20expected':null!=_0xcbff99['documentId']&&_0xcbff99['hasOwnProperty']('documentId')&&!_0xcc38bf['isString'](_0xcbff99['documentId'])?'documentId:\x20string\x20expected':null;},_0x5a614b['fromObject']=function(_0x209763){if(_0x209763 instanceof _0xd25805['CommentsV2RemoveCommentThreadMessage'])return _0x209763;var _0xb13e76=new _0xd25805['CommentsV2RemoveCommentThreadMessage']();return null!=_0x209763['commentThreadId']&&(_0xb13e76['commentThreadId']=String(_0x209763['commentThreadId'])),null!=_0x209763['documentId']&&(_0xb13e76['documentId']=String(_0x209763['documentId'])),_0xb13e76;},_0x5a614b['toObject']=function(_0x159353,_0x17dd6b){_0x17dd6b||(_0x17dd6b={});var _0x1bb1d2={};return _0x17dd6b['defaults']&&(_0x1bb1d2['commentThreadId']='',_0x1bb1d2['documentId']=''),null!=_0x159353['commentThreadId']&&_0x159353['hasOwnProperty']('commentThreadId')&&(_0x1bb1d2['commentThreadId']=_0x159353['commentThreadId']),null!=_0x159353['documentId']&&_0x159353['hasOwnProperty']('documentId')&&(_0x1bb1d2['documentId']=_0x159353['documentId']),_0x1bb1d2;},_0x5a614b['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x5a614b['getTypeUrl']=function(_0xdcad75){return void 0x0===_0xdcad75&&(_0xdcad75='type.googleapis.com'),_0xdcad75+'/CommentsV2RemoveCommentThreadMessage';},_0x5a614b;}()),_0xd25805['CommentsV2UpdateCommentMessage']=(function(){function _0x46fd99(_0x456635){if(_0x456635){for(var _0x33eb68=Object['keys'](_0x456635),_0x12c2c1=0x0;_0x12c2c1<_0x33eb68['length'];++_0x12c2c1)null!=_0x456635[_0x33eb68[_0x12c2c1]]&&(this[_0x33eb68[_0x12c2c1]]=_0x456635[_0x33eb68[_0x12c2c1]]);}}return _0x46fd99['prototype']['commentThreadId']='',_0x46fd99['prototype']['commentId']='',_0x46fd99['prototype']['content']='',_0x46fd99['prototype']['documentId']='',_0x46fd99['prototype']['attributes']='',_0x46fd99['prototype']['isAttributesUpdated']=!0x1,_0x46fd99['prototype']['commentThread']=null,_0x46fd99['create']=function(_0xf6e82c){return new _0x46fd99(_0xf6e82c);},_0x46fd99['encode']=function(_0x17ad8d,_0x43d8c2){return _0x43d8c2||(_0x43d8c2=_0x1f8a63['create']()),null!=_0x17ad8d['commentThreadId']&&Object['hasOwnProperty']['call'](_0x17ad8d,'commentThreadId')&&_0x43d8c2['uint32'](0xa)['string'](_0x17ad8d['commentThreadId']),null!=_0x17ad8d['commentId']&&Object['hasOwnProperty']['call'](_0x17ad8d,'commentId')&&_0x43d8c2['uint32'](0x12)['string'](_0x17ad8d['commentId']),null!=_0x17ad8d['content']&&Object['hasOwnProperty']['call'](_0x17ad8d,'content')&&_0x43d8c2['uint32'](0x1a)['string'](_0x17ad8d['content']),null!=_0x17ad8d['documentId']&&Object['hasOwnProperty']['call'](_0x17ad8d,'documentId')&&_0x43d8c2['uint32'](0x22)['string'](_0x17ad8d['documentId']),null!=_0x17ad8d['attributes']&&Object['hasOwnProperty']['call'](_0x17ad8d,'attributes')&&_0x43d8c2['uint32'](0x2a)['string'](_0x17ad8d['attributes']),null!=_0x17ad8d['isAttributesUpdated']&&Object['hasOwnProperty']['call'](_0x17ad8d,'isAttributesUpdated')&&_0x43d8c2['uint32'](0x30)['bool'](_0x17ad8d['isAttributesUpdated']),null!=_0x17ad8d['commentThread']&&Object['hasOwnProperty']['call'](_0x17ad8d,'commentThread')&&_0xd25805['CommentsThreadDescriptor']['encode'](_0x17ad8d['commentThread'],_0x43d8c2['uint32'](0x3a)['fork']())['ldelim'](),_0x43d8c2;},_0x46fd99['encodeDelimited']=function(_0x3513ad,_0x1e2cf5){return this['encode'](_0x3513ad,_0x1e2cf5)['ldelim']();},_0x46fd99['decode']=function(_0x36f721,_0x449a7f,_0x170271){_0x36f721 instanceof _0x37c416||(_0x36f721=_0x37c416['create'](_0x36f721));for(var _0xc6ea98=void 0x0===_0x449a7f?_0x36f721['len']:_0x36f721['pos']+_0x449a7f,_0x20e74d=new _0xd25805['CommentsV2UpdateCommentMessage']();_0x36f721['pos']<_0xc6ea98;){var _0x36c30a=_0x36f721['uint32']();if(_0x36c30a===_0x170271)break;switch(_0x36c30a>>>0x3){case 0x1:_0x20e74d['commentThreadId']=_0x36f721['string']();break;case 0x2:_0x20e74d['commentId']=_0x36f721['string']();break;case 0x3:_0x20e74d['content']=_0x36f721['string']();break;case 0x4:_0x20e74d['documentId']=_0x36f721['string']();break;case 0x5:_0x20e74d['attributes']=_0x36f721['string']();break;case 0x6:_0x20e74d['isAttributesUpdated']=_0x36f721['bool']();break;case 0x7:_0x20e74d['commentThread']=_0xd25805['CommentsThreadDescriptor']['decode'](_0x36f721,_0x36f721['uint32']());break;default:_0x36f721['skipType'](0x7&_0x36c30a);}}return _0x20e74d;},_0x46fd99['decodeDelimited']=function(_0x2e4eb8){return _0x2e4eb8 instanceof _0x37c416||(_0x2e4eb8=new _0x37c416(_0x2e4eb8)),this['decode'](_0x2e4eb8,_0x2e4eb8['uint32']());},_0x46fd99['verify']=function(_0x486c8b){if('object'!=typeof _0x486c8b||null===_0x486c8b)return'object\x20expected';if(null!=_0x486c8b['commentThreadId']&&_0x486c8b['hasOwnProperty']('commentThreadId')&&!_0xcc38bf['isString'](_0x486c8b['commentThreadId']))return'commentThreadId:\x20string\x20expected';if(null!=_0x486c8b['commentId']&&_0x486c8b['hasOwnProperty']('commentId')&&!_0xcc38bf['isString'](_0x486c8b['commentId']))return'commentId:\x20string\x20expected';if(null!=_0x486c8b['content']&&_0x486c8b['hasOwnProperty']('content')&&!_0xcc38bf['isString'](_0x486c8b['content']))return'content:\x20string\x20expected';if(null!=_0x486c8b['documentId']&&_0x486c8b['hasOwnProperty']('documentId')&&!_0xcc38bf['isString'](_0x486c8b['documentId']))return'documentId:\x20string\x20expected';if(null!=_0x486c8b['attributes']&&_0x486c8b['hasOwnProperty']('attributes')&&!_0xcc38bf['isString'](_0x486c8b['attributes']))return'attributes:\x20string\x20expected';if(null!=_0x486c8b['isAttributesUpdated']&&_0x486c8b['hasOwnProperty']('isAttributesUpdated')&&'boolean'!=typeof _0x486c8b['isAttributesUpdated'])return'isAttributesUpdated:\x20boolean\x20expected';if(null!=_0x486c8b['commentThread']&&_0x486c8b['hasOwnProperty']('commentThread')){var _0x595034=_0xd25805['CommentsThreadDescriptor']['verify'](_0x486c8b['commentThread']);if(_0x595034)return'commentThread.'+_0x595034;}return null;},_0x46fd99['fromObject']=function(_0x1c133f){if(_0x1c133f instanceof _0xd25805['CommentsV2UpdateCommentMessage'])return _0x1c133f;var _0x27ad6e=new _0xd25805['CommentsV2UpdateCommentMessage']();if(null!=_0x1c133f['commentThreadId']&&(_0x27ad6e['commentThreadId']=String(_0x1c133f['commentThreadId'])),null!=_0x1c133f['commentId']&&(_0x27ad6e['commentId']=String(_0x1c133f['commentId'])),null!=_0x1c133f['content']&&(_0x27ad6e['content']=String(_0x1c133f['content'])),null!=_0x1c133f['documentId']&&(_0x27ad6e['documentId']=String(_0x1c133f['documentId'])),null!=_0x1c133f['attributes']&&(_0x27ad6e['attributes']=String(_0x1c133f['attributes'])),null!=_0x1c133f['isAttributesUpdated']&&(_0x27ad6e['isAttributesUpdated']=Boolean(_0x1c133f['isAttributesUpdated'])),null!=_0x1c133f['commentThread']){if('object'!=typeof _0x1c133f['commentThread'])throw TypeError('.CommentsV2UpdateCommentMessage.commentThread:\x20object\x20expected');_0x27ad6e['commentThread']=_0xd25805['CommentsThreadDescriptor']['fromObject'](_0x1c133f['commentThread']);}return _0x27ad6e;},_0x46fd99['toObject']=function(_0x5a74b6,_0x31fc4f){_0x31fc4f||(_0x31fc4f={});var _0x460d91={};return _0x31fc4f['defaults']&&(_0x460d91['commentThreadId']='',_0x460d91['commentId']='',_0x460d91['content']='',_0x460d91['documentId']='',_0x460d91['attributes']='',_0x460d91['isAttributesUpdated']=!0x1,_0x460d91['commentThread']=null),null!=_0x5a74b6['commentThreadId']&&_0x5a74b6['hasOwnProperty']('commentThreadId')&&(_0x460d91['commentThreadId']=_0x5a74b6['commentThreadId']),null!=_0x5a74b6['commentId']&&_0x5a74b6['hasOwnProperty']('commentId')&&(_0x460d91['commentId']=_0x5a74b6['commentId']),null!=_0x5a74b6['content']&&_0x5a74b6['hasOwnProperty']('content')&&(_0x460d91['content']=_0x5a74b6['content']),null!=_0x5a74b6['documentId']&&_0x5a74b6['hasOwnProperty']('documentId')&&(_0x460d91['documentId']=_0x5a74b6['documentId']),null!=_0x5a74b6['attributes']&&_0x5a74b6['hasOwnProperty']('attributes')&&(_0x460d91['attributes']=_0x5a74b6['attributes']),null!=_0x5a74b6['isAttributesUpdated']&&_0x5a74b6['hasOwnProperty']('isAttributesUpdated')&&(_0x460d91['isAttributesUpdated']=_0x5a74b6['isAttributesUpdated']),null!=_0x5a74b6['commentThread']&&_0x5a74b6['hasOwnProperty']('commentThread')&&(_0x460d91['commentThread']=_0xd25805['CommentsThreadDescriptor']['toObject'](_0x5a74b6['commentThread'],_0x31fc4f)),_0x460d91;},_0x46fd99['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x46fd99['getTypeUrl']=function(_0x53befe){return void 0x0===_0x53befe&&(_0x53befe='type.googleapis.com'),_0x53befe+'/CommentsV2UpdateCommentMessage';},_0x46fd99;}()),_0xd25805['CommentsV2AddCommentResponse']=(function(){function _0x4d19bf(_0x2a2f2f){if(_0x2a2f2f){for(var _0x6ecb5a=Object['keys'](_0x2a2f2f),_0x1f5bb4=0x0;_0x1f5bb4<_0x6ecb5a['length'];++_0x1f5bb4)null!=_0x2a2f2f[_0x6ecb5a[_0x1f5bb4]]&&(this[_0x6ecb5a[_0x1f5bb4]]=_0x2a2f2f[_0x6ecb5a[_0x1f5bb4]]);}}return _0x4d19bf['prototype']['commentThreadId']='',_0x4d19bf['prototype']['commentId']='',_0x4d19bf['prototype']['createdAt']='',_0x4d19bf['create']=function(_0x1c7e5e){return new _0x4d19bf(_0x1c7e5e);},_0x4d19bf['encode']=function(_0x27c6db,_0x387575){return _0x387575||(_0x387575=_0x1f8a63['create']()),null!=_0x27c6db['commentThreadId']&&Object['hasOwnProperty']['call'](_0x27c6db,'commentThreadId')&&_0x387575['uint32'](0xa)['string'](_0x27c6db['commentThreadId']),null!=_0x27c6db['commentId']&&Object['hasOwnProperty']['call'](_0x27c6db,'commentId')&&_0x387575['uint32'](0x12)['string'](_0x27c6db['commentId']),null!=_0x27c6db['createdAt']&&Object['hasOwnProperty']['call'](_0x27c6db,'createdAt')&&_0x387575['uint32'](0x1a)['string'](_0x27c6db['createdAt']),_0x387575;},_0x4d19bf['encodeDelimited']=function(_0x28d399,_0x3ab65d){return this['encode'](_0x28d399,_0x3ab65d)['ldelim']();},_0x4d19bf['decode']=function(_0x389078,_0x564268,_0x235ec0){_0x389078 instanceof _0x37c416||(_0x389078=_0x37c416['create'](_0x389078));for(var _0x16bdc4=void 0x0===_0x564268?_0x389078['len']:_0x389078['pos']+_0x564268,_0x362fd5=new _0xd25805['CommentsV2AddCommentResponse']();_0x389078['pos']<_0x16bdc4;){var _0x4d56d5=_0x389078['uint32']();if(_0x4d56d5===_0x235ec0)break;switch(_0x4d56d5>>>0x3){case 0x1:_0x362fd5['commentThreadId']=_0x389078['string']();break;case 0x2:_0x362fd5['commentId']=_0x389078['string']();break;case 0x3:_0x362fd5['createdAt']=_0x389078['string']();break;default:_0x389078['skipType'](0x7&_0x4d56d5);}}return _0x362fd5;},_0x4d19bf['decodeDelimited']=function(_0x512c92){return _0x512c92 instanceof _0x37c416||(_0x512c92=new _0x37c416(_0x512c92)),this['decode'](_0x512c92,_0x512c92['uint32']());},_0x4d19bf['verify']=function(_0x21dc78){return'object'!=typeof _0x21dc78||null===_0x21dc78?'object\x20expected':null!=_0x21dc78['commentThreadId']&&_0x21dc78['hasOwnProperty']('commentThreadId')&&!_0xcc38bf['isString'](_0x21dc78['commentThreadId'])?'commentThreadId:\x20string\x20expected':null!=_0x21dc78['commentId']&&_0x21dc78['hasOwnProperty']('commentId')&&!_0xcc38bf['isString'](_0x21dc78['commentId'])?'commentId:\x20string\x20expected':null!=_0x21dc78['createdAt']&&_0x21dc78['hasOwnProperty']('createdAt')&&!_0xcc38bf['isString'](_0x21dc78['createdAt'])?'createdAt:\x20string\x20expected':null;},_0x4d19bf['fromObject']=function(_0x2c880c){if(_0x2c880c instanceof _0xd25805['CommentsV2AddCommentResponse'])return _0x2c880c;var _0x56fb13=new _0xd25805['CommentsV2AddCommentResponse']();return null!=_0x2c880c['commentThreadId']&&(_0x56fb13['commentThreadId']=String(_0x2c880c['commentThreadId'])),null!=_0x2c880c['commentId']&&(_0x56fb13['commentId']=String(_0x2c880c['commentId'])),null!=_0x2c880c['createdAt']&&(_0x56fb13['createdAt']=String(_0x2c880c['createdAt'])),_0x56fb13;},_0x4d19bf['toObject']=function(_0x1ff822,_0x5c3c3f){_0x5c3c3f||(_0x5c3c3f={});var _0x1d35e0={};return _0x5c3c3f['defaults']&&(_0x1d35e0['commentThreadId']='',_0x1d35e0['commentId']='',_0x1d35e0['createdAt']=''),null!=_0x1ff822['commentThreadId']&&_0x1ff822['hasOwnProperty']('commentThreadId')&&(_0x1d35e0['commentThreadId']=_0x1ff822['commentThreadId']),null!=_0x1ff822['commentId']&&_0x1ff822['hasOwnProperty']('commentId')&&(_0x1d35e0['commentId']=_0x1ff822['commentId']),null!=_0x1ff822['createdAt']&&_0x1ff822['hasOwnProperty']('createdAt')&&(_0x1d35e0['createdAt']=_0x1ff822['createdAt']),_0x1d35e0;},_0x4d19bf['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x4d19bf['getTypeUrl']=function(_0x427105){return void 0x0===_0x427105&&(_0x427105='type.googleapis.com'),_0x427105+'/CommentsV2AddCommentResponse';},_0x4d19bf;}()),_0xd25805['CommentsV2AddCommentThreadResponse']=(function(){function _0x5609a0(_0x55deca){if(this['comments']=[],_0x55deca){for(var _0x4125d5=Object['keys'](_0x55deca),_0x48acd7=0x0;_0x48acd7<_0x4125d5['length'];++_0x48acd7)null!=_0x55deca[_0x4125d5[_0x48acd7]]&&(this[_0x4125d5[_0x48acd7]]=_0x55deca[_0x4125d5[_0x48acd7]]);}}return _0x5609a0['prototype']['commentThreadId']='',_0x5609a0['prototype']['createdAt']='',_0x5609a0['prototype']['comments']=_0xcc38bf['emptyArray'],_0x5609a0['create']=function(_0x1f83df){return new _0x5609a0(_0x1f83df);},_0x5609a0['encode']=function(_0x3e8056,_0x369a9b){if(_0x369a9b||(_0x369a9b=_0x1f8a63['create']()),null!=_0x3e8056['commentThreadId']&&Object['hasOwnProperty']['call'](_0x3e8056,'commentThreadId')&&_0x369a9b['uint32'](0xa)['string'](_0x3e8056['commentThreadId']),null!=_0x3e8056['createdAt']&&Object['hasOwnProperty']['call'](_0x3e8056,'createdAt')&&_0x369a9b['uint32'](0x12)['string'](_0x3e8056['createdAt']),null!=_0x3e8056['comments']&&_0x3e8056['comments']['length']){for(var _0x1a135b=0x0;_0x1a135b<_0x3e8056['comments']['length'];++_0x1a135b)_0xd25805['CommentThreadAddedCommentDescriptor']['encode'](_0x3e8056['comments'][_0x1a135b],_0x369a9b['uint32'](0x1a)['fork']())['ldelim']();}return _0x369a9b;},_0x5609a0['encodeDelimited']=function(_0x3968cd,_0x439f12){return this['encode'](_0x3968cd,_0x439f12)['ldelim']();},_0x5609a0['decode']=function(_0x2d6268,_0x33c9b6,_0x3d92da){_0x2d6268 instanceof _0x37c416||(_0x2d6268=_0x37c416['create'](_0x2d6268));for(var _0x5979f7=void 0x0===_0x33c9b6?_0x2d6268['len']:_0x2d6268['pos']+_0x33c9b6,_0x2f45ac=new _0xd25805['CommentsV2AddCommentThreadResponse']();_0x2d6268['pos']<_0x5979f7;){var _0x54baea=_0x2d6268['uint32']();if(_0x54baea===_0x3d92da)break;switch(_0x54baea>>>0x3){case 0x1:_0x2f45ac['commentThreadId']=_0x2d6268['string']();break;case 0x2:_0x2f45ac['createdAt']=_0x2d6268['string']();break;case 0x3:_0x2f45ac['comments']&&_0x2f45ac['comments']['length']||(_0x2f45ac['comments']=[]),_0x2f45ac['comments']['push'](_0xd25805['CommentThreadAddedCommentDescriptor']['decode'](_0x2d6268,_0x2d6268['uint32']()));break;default:_0x2d6268['skipType'](0x7&_0x54baea);}}return _0x2f45ac;},_0x5609a0['decodeDelimited']=function(_0x373e83){return _0x373e83 instanceof _0x37c416||(_0x373e83=new _0x37c416(_0x373e83)),this['decode'](_0x373e83,_0x373e83['uint32']());},_0x5609a0['verify']=function(_0x2c9f55){if('object'!=typeof _0x2c9f55||null===_0x2c9f55)return'object\x20expected';if(null!=_0x2c9f55['commentThreadId']&&_0x2c9f55['hasOwnProperty']('commentThreadId')&&!_0xcc38bf['isString'](_0x2c9f55['commentThreadId']))return'commentThreadId:\x20string\x20expected';if(null!=_0x2c9f55['createdAt']&&_0x2c9f55['hasOwnProperty']('createdAt')&&!_0xcc38bf['isString'](_0x2c9f55['createdAt']))return'createdAt:\x20string\x20expected';if(null!=_0x2c9f55['comments']&&_0x2c9f55['hasOwnProperty']('comments')){if(!Array['isArray'](_0x2c9f55['comments']))return'comments:\x20array\x20expected';for(var _0x448cac=0x0;_0x448cac<_0x2c9f55['comments']['length'];++_0x448cac){var _0x2615e7=_0xd25805['CommentThreadAddedCommentDescriptor']['verify'](_0x2c9f55['comments'][_0x448cac]);if(_0x2615e7)return'comments.'+_0x2615e7;}}return null;},_0x5609a0['fromObject']=function(_0x4c2b88){if(_0x4c2b88 instanceof _0xd25805['CommentsV2AddCommentThreadResponse'])return _0x4c2b88;var _0x10fbb9=new _0xd25805['CommentsV2AddCommentThreadResponse']();if(null!=_0x4c2b88['commentThreadId']&&(_0x10fbb9['commentThreadId']=String(_0x4c2b88['commentThreadId'])),null!=_0x4c2b88['createdAt']&&(_0x10fbb9['createdAt']=String(_0x4c2b88['createdAt'])),_0x4c2b88['comments']){if(!Array['isArray'](_0x4c2b88['comments']))throw TypeError('.CommentsV2AddCommentThreadResponse.comments:\x20array\x20expected');_0x10fbb9['comments']=[];for(var _0x34e01a=0x0;_0x34e01a<_0x4c2b88['comments']['length'];++_0x34e01a){if('object'!=typeof _0x4c2b88['comments'][_0x34e01a])throw TypeError('.CommentsV2AddCommentThreadResponse.comments:\x20object\x20expected');_0x10fbb9['comments'][_0x34e01a]=_0xd25805['CommentThreadAddedCommentDescriptor']['fromObject'](_0x4c2b88['comments'][_0x34e01a]);}}return _0x10fbb9;},_0x5609a0['toObject']=function(_0x54a616,_0x5ed8e4){_0x5ed8e4||(_0x5ed8e4={});var _0x468065={};if((_0x5ed8e4['arrays']||_0x5ed8e4['defaults'])&&(_0x468065['comments']=[]),_0x5ed8e4['defaults']&&(_0x468065['commentThreadId']='',_0x468065['createdAt']=''),null!=_0x54a616['commentThreadId']&&_0x54a616['hasOwnProperty']('commentThreadId')&&(_0x468065['commentThreadId']=_0x54a616['commentThreadId']),null!=_0x54a616['createdAt']&&_0x54a616['hasOwnProperty']('createdAt')&&(_0x468065['createdAt']=_0x54a616['createdAt']),_0x54a616['comments']&&_0x54a616['comments']['length']){_0x468065['comments']=[];for(var _0x3d8c8b=0x0;_0x3d8c8b<_0x54a616['comments']['length'];++_0x3d8c8b)_0x468065['comments'][_0x3d8c8b]=_0xd25805['CommentThreadAddedCommentDescriptor']['toObject'](_0x54a616['comments'][_0x3d8c8b],_0x5ed8e4);}return _0x468065;},_0x5609a0['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x5609a0['getTypeUrl']=function(_0x5bbb87){return void 0x0===_0x5bbb87&&(_0x5bbb87='type.googleapis.com'),_0x5bbb87+'/CommentsV2AddCommentThreadResponse';},_0x5609a0;}()),_0xd25805['CommentsV2ResolveCommentThreadResponse']=(function(){function _0x140d9f(_0x6066a8){if(_0x6066a8){for(var _0xf490cf=Object['keys'](_0x6066a8),_0x46493d=0x0;_0x46493d<_0xf490cf['length'];++_0x46493d)null!=_0x6066a8[_0xf490cf[_0x46493d]]&&(this[_0xf490cf[_0x46493d]]=_0x6066a8[_0xf490cf[_0x46493d]]);}}return _0x140d9f['prototype']['commentThreadId']='',_0x140d9f['prototype']['documentId']='',_0x140d9f['prototype']['resolvedAt']='',_0x140d9f['prototype']['resolvedBy']='',_0x140d9f['create']=function(_0x1e9e0a){return new _0x140d9f(_0x1e9e0a);},_0x140d9f['encode']=function(_0x484504,_0x510052){return _0x510052||(_0x510052=_0x1f8a63['create']()),null!=_0x484504['commentThreadId']&&Object['hasOwnProperty']['call'](_0x484504,'commentThreadId')&&_0x510052['uint32'](0xa)['string'](_0x484504['commentThreadId']),null!=_0x484504['documentId']&&Object['hasOwnProperty']['call'](_0x484504,'documentId')&&_0x510052['uint32'](0x12)['string'](_0x484504['documentId']),null!=_0x484504['resolvedAt']&&Object['hasOwnProperty']['call'](_0x484504,'resolvedAt')&&_0x510052['uint32'](0x1a)['string'](_0x484504['resolvedAt']),null!=_0x484504['resolvedBy']&&Object['hasOwnProperty']['call'](_0x484504,'resolvedBy')&&_0x510052['uint32'](0x22)['string'](_0x484504['resolvedBy']),_0x510052;},_0x140d9f['encodeDelimited']=function(_0x21d7bd,_0x51743d){return this['encode'](_0x21d7bd,_0x51743d)['ldelim']();},_0x140d9f['decode']=function(_0x1ace99,_0x1fee22,_0x42c9d6){_0x1ace99 instanceof _0x37c416||(_0x1ace99=_0x37c416['create'](_0x1ace99));for(var _0x448055=void 0x0===_0x1fee22?_0x1ace99['len']:_0x1ace99['pos']+_0x1fee22,_0x119f07=new _0xd25805['CommentsV2ResolveCommentThreadResponse']();_0x1ace99['pos']<_0x448055;){var _0x2745b7=_0x1ace99['uint32']();if(_0x2745b7===_0x42c9d6)break;switch(_0x2745b7>>>0x3){case 0x1:_0x119f07['commentThreadId']=_0x1ace99['string']();break;case 0x2:_0x119f07['documentId']=_0x1ace99['string']();break;case 0x3:_0x119f07['resolvedAt']=_0x1ace99['string']();break;case 0x4:_0x119f07['resolvedBy']=_0x1ace99['string']();break;default:_0x1ace99['skipType'](0x7&_0x2745b7);}}return _0x119f07;},_0x140d9f['decodeDelimited']=function(_0x45eade){return _0x45eade instanceof _0x37c416||(_0x45eade=new _0x37c416(_0x45eade)),this['decode'](_0x45eade,_0x45eade['uint32']());},_0x140d9f['verify']=function(_0x1e1641){return'object'!=typeof _0x1e1641||null===_0x1e1641?'object\x20expected':null!=_0x1e1641['commentThreadId']&&_0x1e1641['hasOwnProperty']('commentThreadId')&&!_0xcc38bf['isString'](_0x1e1641['commentThreadId'])?'commentThreadId:\x20string\x20expected':null!=_0x1e1641['documentId']&&_0x1e1641['hasOwnProperty']('documentId')&&!_0xcc38bf['isString'](_0x1e1641['documentId'])?'documentId:\x20string\x20expected':null!=_0x1e1641['resolvedAt']&&_0x1e1641['hasOwnProperty']('resolvedAt')&&!_0xcc38bf['isString'](_0x1e1641['resolvedAt'])?'resolvedAt:\x20string\x20expected':null!=_0x1e1641['resolvedBy']&&_0x1e1641['hasOwnProperty']('resolvedBy')&&!_0xcc38bf['isString'](_0x1e1641['resolvedBy'])?'resolvedBy:\x20string\x20expected':null;},_0x140d9f['fromObject']=function(_0x4e5caf){if(_0x4e5caf instanceof _0xd25805['CommentsV2ResolveCommentThreadResponse'])return _0x4e5caf;var _0x1f4668=new _0xd25805['CommentsV2ResolveCommentThreadResponse']();return null!=_0x4e5caf['commentThreadId']&&(_0x1f4668['commentThreadId']=String(_0x4e5caf['commentThreadId'])),null!=_0x4e5caf['documentId']&&(_0x1f4668['documentId']=String(_0x4e5caf['documentId'])),null!=_0x4e5caf['resolvedAt']&&(_0x1f4668['resolvedAt']=String(_0x4e5caf['resolvedAt'])),null!=_0x4e5caf['resolvedBy']&&(_0x1f4668['resolvedBy']=String(_0x4e5caf['resolvedBy'])),_0x1f4668;},_0x140d9f['toObject']=function(_0x1bba10,_0xc7709e){_0xc7709e||(_0xc7709e={});var _0x142bd7={};return _0xc7709e['defaults']&&(_0x142bd7['commentThreadId']='',_0x142bd7['documentId']='',_0x142bd7['resolvedAt']='',_0x142bd7['resolvedBy']=''),null!=_0x1bba10['commentThreadId']&&_0x1bba10['hasOwnProperty']('commentThreadId')&&(_0x142bd7['commentThreadId']=_0x1bba10['commentThreadId']),null!=_0x1bba10['documentId']&&_0x1bba10['hasOwnProperty']('documentId')&&(_0x142bd7['documentId']=_0x1bba10['documentId']),null!=_0x1bba10['resolvedAt']&&_0x1bba10['hasOwnProperty']('resolvedAt')&&(_0x142bd7['resolvedAt']=_0x1bba10['resolvedAt']),null!=_0x1bba10['resolvedBy']&&_0x1bba10['hasOwnProperty']('resolvedBy')&&(_0x142bd7['resolvedBy']=_0x1bba10['resolvedBy']),_0x142bd7;},_0x140d9f['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x140d9f['getTypeUrl']=function(_0x4d9f63){return void 0x0===_0x4d9f63&&(_0x4d9f63='type.googleapis.com'),_0x4d9f63+'/CommentsV2ResolveCommentThreadResponse';},_0x140d9f;}()),_0xd25805['CommentsV2ConnectResponse']=(function(){function _0xfe7668(_0x2c0a2a){if(this['threads']=[],this['threadsV2']=[],_0x2c0a2a){for(var _0x42c66f=Object['keys'](_0x2c0a2a),_0x520cb9=0x0;_0x520cb9<_0x42c66f['length'];++_0x520cb9)null!=_0x2c0a2a[_0x42c66f[_0x520cb9]]&&(this[_0x42c66f[_0x520cb9]]=_0x2c0a2a[_0x42c66f[_0x520cb9]]);}}return _0xfe7668['prototype']['channel']='',_0xfe7668['prototype']['threads']=_0xcc38bf['emptyArray'],_0xfe7668['prototype']['threadsV2']=_0xcc38bf['emptyArray'],_0xfe7668['create']=function(_0x22fef3){return new _0xfe7668(_0x22fef3);},_0xfe7668['encode']=function(_0x2aec81,_0x12b125){if(_0x12b125||(_0x12b125=_0x1f8a63['create']()),null!=_0x2aec81['channel']&&Object['hasOwnProperty']['call'](_0x2aec81,'channel')&&_0x12b125['uint32'](0xa)['string'](_0x2aec81['channel']),null!=_0x2aec81['threads']&&_0x2aec81['threads']['length']){for(var _0x1ba85e=0x0;_0x1ba85e<_0x2aec81['threads']['length'];++_0x1ba85e)_0x12b125['uint32'](0x12)['string'](_0x2aec81['threads'][_0x1ba85e]);}if(null!=_0x2aec81['threadsV2']&&_0x2aec81['threadsV2']['length']){for(_0x1ba85e=0x0;_0x1ba85e<_0x2aec81['threadsV2']['length'];++_0x1ba85e)_0xd25805['CommentsThreadDescriptor']['encode'](_0x2aec81['threadsV2'][_0x1ba85e],_0x12b125['uint32'](0x1a)['fork']())['ldelim']();}return _0x12b125;},_0xfe7668['encodeDelimited']=function(_0x5c0fb3,_0x1c4f12){return this['encode'](_0x5c0fb3,_0x1c4f12)['ldelim']();},_0xfe7668['decode']=function(_0x4b52ac,_0x5c7e05,_0x49dd12){_0x4b52ac instanceof _0x37c416||(_0x4b52ac=_0x37c416['create'](_0x4b52ac));for(var _0x499e5a=void 0x0===_0x5c7e05?_0x4b52ac['len']:_0x4b52ac['pos']+_0x5c7e05,_0x581ce4=new _0xd25805['CommentsV2ConnectResponse']();_0x4b52ac['pos']<_0x499e5a;){var _0x4fb364=_0x4b52ac['uint32']();if(_0x4fb364===_0x49dd12)break;switch(_0x4fb364>>>0x3){case 0x1:_0x581ce4['channel']=_0x4b52ac['string']();break;case 0x2:_0x581ce4['threads']&&_0x581ce4['threads']['length']||(_0x581ce4['threads']=[]),_0x581ce4['threads']['push'](_0x4b52ac['string']());break;case 0x3:_0x581ce4['threadsV2']&&_0x581ce4['threadsV2']['length']||(_0x581ce4['threadsV2']=[]),_0x581ce4['threadsV2']['push'](_0xd25805['CommentsThreadDescriptor']['decode'](_0x4b52ac,_0x4b52ac['uint32']()));break;default:_0x4b52ac['skipType'](0x7&_0x4fb364);}}return _0x581ce4;},_0xfe7668['decodeDelimited']=function(_0xba816b){return _0xba816b instanceof _0x37c416||(_0xba816b=new _0x37c416(_0xba816b)),this['decode'](_0xba816b,_0xba816b['uint32']());},_0xfe7668['verify']=function(_0x1963c4){if('object'!=typeof _0x1963c4||null===_0x1963c4)return'object\x20expected';if(null!=_0x1963c4['channel']&&_0x1963c4['hasOwnProperty']('channel')&&!_0xcc38bf['isString'](_0x1963c4['channel']))return'channel:\x20string\x20expected';if(null!=_0x1963c4['threads']&&_0x1963c4['hasOwnProperty']('threads')){if(!Array['isArray'](_0x1963c4['threads']))return'threads:\x20array\x20expected';for(var _0x5b28b7=0x0;_0x5b28b7<_0x1963c4['threads']['length'];++_0x5b28b7)if(!_0xcc38bf['isString'](_0x1963c4['threads'][_0x5b28b7]))return'threads:\x20string[]\x20expected';}if(null!=_0x1963c4['threadsV2']&&_0x1963c4['hasOwnProperty']('threadsV2')){if(!Array['isArray'](_0x1963c4['threadsV2']))return'threadsV2:\x20array\x20expected';for(_0x5b28b7=0x0;_0x5b28b7<_0x1963c4['threadsV2']['length'];++_0x5b28b7){var _0x7ff1c2=_0xd25805['CommentsThreadDescriptor']['verify'](_0x1963c4['threadsV2'][_0x5b28b7]);if(_0x7ff1c2)return'threadsV2.'+_0x7ff1c2;}}return null;},_0xfe7668['fromObject']=function(_0x3fea20){if(_0x3fea20 instanceof _0xd25805['CommentsV2ConnectResponse'])return _0x3fea20;var _0x3f2b57=new _0xd25805['CommentsV2ConnectResponse']();if(null!=_0x3fea20['channel']&&(_0x3f2b57['channel']=String(_0x3fea20['channel'])),_0x3fea20['threads']){if(!Array['isArray'](_0x3fea20['threads']))throw TypeError('.CommentsV2ConnectResponse.threads:\x20array\x20expected');_0x3f2b57['threads']=[];for(var _0x4dd299=0x0;_0x4dd299<_0x3fea20['threads']['length'];++_0x4dd299)_0x3f2b57['threads'][_0x4dd299]=String(_0x3fea20['threads'][_0x4dd299]);}if(_0x3fea20['threadsV2']){if(!Array['isArray'](_0x3fea20['threadsV2']))throw TypeError('.CommentsV2ConnectResponse.threadsV2:\x20array\x20expected');for(_0x3f2b57['threadsV2']=[],_0x4dd299=0x0;_0x4dd299<_0x3fea20['threadsV2']['length'];++_0x4dd299){if('object'!=typeof _0x3fea20['threadsV2'][_0x4dd299])throw TypeError('.CommentsV2ConnectResponse.threadsV2:\x20object\x20expected');_0x3f2b57['threadsV2'][_0x4dd299]=_0xd25805['CommentsThreadDescriptor']['fromObject'](_0x3fea20['threadsV2'][_0x4dd299]);}}return _0x3f2b57;},_0xfe7668['toObject']=function(_0x56389f,_0x5c049b){_0x5c049b||(_0x5c049b={});var _0xb3e916={};if((_0x5c049b['arrays']||_0x5c049b['defaults'])&&(_0xb3e916['threads']=[],_0xb3e916['threadsV2']=[]),_0x5c049b['defaults']&&(_0xb3e916['channel']=''),null!=_0x56389f['channel']&&_0x56389f['hasOwnProperty']('channel')&&(_0xb3e916['channel']=_0x56389f['channel']),_0x56389f['threads']&&_0x56389f['threads']['length']){_0xb3e916['threads']=[];for(var _0xf227f7=0x0;_0xf227f7<_0x56389f['threads']['length'];++_0xf227f7)_0xb3e916['threads'][_0xf227f7]=_0x56389f['threads'][_0xf227f7];}if(_0x56389f['threadsV2']&&_0x56389f['threadsV2']['length']){for(_0xb3e916['threadsV2']=[],_0xf227f7=0x0;_0xf227f7<_0x56389f['threadsV2']['length'];++_0xf227f7)_0xb3e916['threadsV2'][_0xf227f7]=_0xd25805['CommentsThreadDescriptor']['toObject'](_0x56389f['threadsV2'][_0xf227f7],_0x5c049b);}return _0xb3e916;},_0xfe7668['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0xfe7668['getTypeUrl']=function(_0x3941f9){return void 0x0===_0x3941f9&&(_0x3941f9='type.googleapis.com'),_0x3941f9+'/CommentsV2ConnectResponse';},_0xfe7668;}()),_0xd25805['CommentsV2GetCommentThreadResponse']=(function(){function _0x259301(_0x5753ba){if(this['comments']=[],this['commentsV2']=[],_0x5753ba){for(var _0x12eb51=Object['keys'](_0x5753ba),_0x1bc160=0x0;_0x1bc160<_0x12eb51['length'];++_0x1bc160)null!=_0x5753ba[_0x12eb51[_0x1bc160]]&&(this[_0x12eb51[_0x1bc160]]=_0x5753ba[_0x12eb51[_0x1bc160]]);}}return _0x259301['prototype']['commentThreadId']='',_0x259301['prototype']['comments']=_0xcc38bf['emptyArray'],_0x259301['prototype']['commentsV2']=_0xcc38bf['emptyArray'],_0x259301['prototype']['resolvedAt']='',_0x259301['prototype']['resolvedBy']='',_0x259301['prototype']['context']='',_0x259301['prototype']['createdAt']='',_0x259301['prototype']['deletedAt']='',_0x259301['prototype']['attributes']='',_0x259301['prototype']['unlinkedAt']='',_0x259301['create']=function(_0x3c00c8){return new _0x259301(_0x3c00c8);},_0x259301['encode']=function(_0x40bf16,_0x59dba4){if(_0x59dba4||(_0x59dba4=_0x1f8a63['create']()),null!=_0x40bf16['commentThreadId']&&Object['hasOwnProperty']['call'](_0x40bf16,'commentThreadId')&&_0x59dba4['uint32'](0xa)['string'](_0x40bf16['commentThreadId']),null!=_0x40bf16['comments']&&_0x40bf16['comments']['length']){for(var _0x16b61b=0x0;_0x16b61b<_0x40bf16['comments']['length'];++_0x16b61b)_0x59dba4['uint32'](0x12)['string'](_0x40bf16['comments'][_0x16b61b]);}if(null!=_0x40bf16['commentsV2']&&_0x40bf16['commentsV2']['length']){for(_0x16b61b=0x0;_0x16b61b<_0x40bf16['commentsV2']['length'];++_0x16b61b)_0xd25805['CommentDescriptor']['encode'](_0x40bf16['commentsV2'][_0x16b61b],_0x59dba4['uint32'](0x1a)['fork']())['ldelim']();}return null!=_0x40bf16['resolvedAt']&&Object['hasOwnProperty']['call'](_0x40bf16,'resolvedAt')&&_0x59dba4['uint32'](0x22)['string'](_0x40bf16['resolvedAt']),null!=_0x40bf16['resolvedBy']&&Object['hasOwnProperty']['call'](_0x40bf16,'resolvedBy')&&_0x59dba4['uint32'](0x2a)['string'](_0x40bf16['resolvedBy']),null!=_0x40bf16['context']&&Object['hasOwnProperty']['call'](_0x40bf16,'context')&&_0x59dba4['uint32'](0x32)['string'](_0x40bf16['context']),null!=_0x40bf16['createdAt']&&Object['hasOwnProperty']['call'](_0x40bf16,'createdAt')&&_0x59dba4['uint32'](0x3a)['string'](_0x40bf16['createdAt']),null!=_0x40bf16['deletedAt']&&Object['hasOwnProperty']['call'](_0x40bf16,'deletedAt')&&_0x59dba4['uint32'](0x42)['string'](_0x40bf16['deletedAt']),null!=_0x40bf16['attributes']&&Object['hasOwnProperty']['call'](_0x40bf16,'attributes')&&_0x59dba4['uint32'](0x4a)['string'](_0x40bf16['attributes']),null!=_0x40bf16['unlinkedAt']&&Object['hasOwnProperty']['call'](_0x40bf16,'unlinkedAt')&&_0x59dba4['uint32'](0x52)['string'](_0x40bf16['unlinkedAt']),_0x59dba4;},_0x259301['encodeDelimited']=function(_0x4e6a06,_0x2b5ece){return this['encode'](_0x4e6a06,_0x2b5ece)['ldelim']();},_0x259301['decode']=function(_0x2be8b4,_0x8fc5d2,_0x1b55ec){_0x2be8b4 instanceof _0x37c416||(_0x2be8b4=_0x37c416['create'](_0x2be8b4));for(var _0x5e8792=void 0x0===_0x8fc5d2?_0x2be8b4['len']:_0x2be8b4['pos']+_0x8fc5d2,_0x2923ef=new _0xd25805['CommentsV2GetCommentThreadResponse']();_0x2be8b4['pos']<_0x5e8792;){var _0x109cdd=_0x2be8b4['uint32']();if(_0x109cdd===_0x1b55ec)break;switch(_0x109cdd>>>0x3){case 0x1:_0x2923ef['commentThreadId']=_0x2be8b4['string']();break;case 0x2:_0x2923ef['comments']&&_0x2923ef['comments']['length']||(_0x2923ef['comments']=[]),_0x2923ef['comments']['push'](_0x2be8b4['string']());break;case 0x3:_0x2923ef['commentsV2']&&_0x2923ef['commentsV2']['length']||(_0x2923ef['commentsV2']=[]),_0x2923ef['commentsV2']['push'](_0xd25805['CommentDescriptor']['decode'](_0x2be8b4,_0x2be8b4['uint32']()));break;case 0x4:_0x2923ef['resolvedAt']=_0x2be8b4['string']();break;case 0x5:_0x2923ef['resolvedBy']=_0x2be8b4['string']();break;case 0x6:_0x2923ef['context']=_0x2be8b4['string']();break;case 0x7:_0x2923ef['createdAt']=_0x2be8b4['string']();break;case 0x8:_0x2923ef['deletedAt']=_0x2be8b4['string']();break;case 0x9:_0x2923ef['attributes']=_0x2be8b4['string']();break;case 0xa:_0x2923ef['unlinkedAt']=_0x2be8b4['string']();break;default:_0x2be8b4['skipType'](0x7&_0x109cdd);}}return _0x2923ef;},_0x259301['decodeDelimited']=function(_0x66f2c8){return _0x66f2c8 instanceof _0x37c416||(_0x66f2c8=new _0x37c416(_0x66f2c8)),this['decode'](_0x66f2c8,_0x66f2c8['uint32']());},_0x259301['verify']=function(_0x38c4cc){if('object'!=typeof _0x38c4cc||null===_0x38c4cc)return'object\x20expected';if(null!=_0x38c4cc['commentThreadId']&&_0x38c4cc['hasOwnProperty']('commentThreadId')&&!_0xcc38bf['isString'](_0x38c4cc['commentThreadId']))return'commentThreadId:\x20string\x20expected';if(null!=_0x38c4cc['comments']&&_0x38c4cc['hasOwnProperty']('comments')){if(!Array['isArray'](_0x38c4cc['comments']))return'comments:\x20array\x20expected';for(var _0x207a99=0x0;_0x207a99<_0x38c4cc['comments']['length'];++_0x207a99)if(!_0xcc38bf['isString'](_0x38c4cc['comments'][_0x207a99]))return'comments:\x20string[]\x20expected';}if(null!=_0x38c4cc['commentsV2']&&_0x38c4cc['hasOwnProperty']('commentsV2')){if(!Array['isArray'](_0x38c4cc['commentsV2']))return'commentsV2:\x20array\x20expected';for(_0x207a99=0x0;_0x207a99<_0x38c4cc['commentsV2']['length'];++_0x207a99){var _0x4aeb87=_0xd25805['CommentDescriptor']['verify'](_0x38c4cc['commentsV2'][_0x207a99]);if(_0x4aeb87)return'commentsV2.'+_0x4aeb87;}}return null!=_0x38c4cc['resolvedAt']&&_0x38c4cc['hasOwnProperty']('resolvedAt')&&!_0xcc38bf['isString'](_0x38c4cc['resolvedAt'])?'resolvedAt:\x20string\x20expected':null!=_0x38c4cc['resolvedBy']&&_0x38c4cc['hasOwnProperty']('resolvedBy')&&!_0xcc38bf['isString'](_0x38c4cc['resolvedBy'])?'resolvedBy:\x20string\x20expected':null!=_0x38c4cc['context']&&_0x38c4cc['hasOwnProperty']('context')&&!_0xcc38bf['isString'](_0x38c4cc['context'])?'context:\x20string\x20expected':null!=_0x38c4cc['createdAt']&&_0x38c4cc['hasOwnProperty']('createdAt')&&!_0xcc38bf['isString'](_0x38c4cc['createdAt'])?'createdAt:\x20string\x20expected':null!=_0x38c4cc['deletedAt']&&_0x38c4cc['hasOwnProperty']('deletedAt')&&!_0xcc38bf['isString'](_0x38c4cc['deletedAt'])?'deletedAt:\x20string\x20expected':null!=_0x38c4cc['attributes']&&_0x38c4cc['hasOwnProperty']('attributes')&&!_0xcc38bf['isString'](_0x38c4cc['attributes'])?'attributes:\x20string\x20expected':null!=_0x38c4cc['unlinkedAt']&&_0x38c4cc['hasOwnProperty']('unlinkedAt')&&!_0xcc38bf['isString'](_0x38c4cc['unlinkedAt'])?'unlinkedAt:\x20string\x20expected':null;},_0x259301['fromObject']=function(_0x48669d){if(_0x48669d instanceof _0xd25805['CommentsV2GetCommentThreadResponse'])return _0x48669d;var _0x331471=new _0xd25805['CommentsV2GetCommentThreadResponse']();if(null!=_0x48669d['commentThreadId']&&(_0x331471['commentThreadId']=String(_0x48669d['commentThreadId'])),_0x48669d['comments']){if(!Array['isArray'](_0x48669d['comments']))throw TypeError('.CommentsV2GetCommentThreadResponse.comments:\x20array\x20expected');_0x331471['comments']=[];for(var _0x291e44=0x0;_0x291e44<_0x48669d['comments']['length'];++_0x291e44)_0x331471['comments'][_0x291e44]=String(_0x48669d['comments'][_0x291e44]);}if(_0x48669d['commentsV2']){if(!Array['isArray'](_0x48669d['commentsV2']))throw TypeError('.CommentsV2GetCommentThreadResponse.commentsV2:\x20array\x20expected');for(_0x331471['commentsV2']=[],_0x291e44=0x0;_0x291e44<_0x48669d['commentsV2']['length'];++_0x291e44){if('object'!=typeof _0x48669d['commentsV2'][_0x291e44])throw TypeError('.CommentsV2GetCommentThreadResponse.commentsV2:\x20object\x20expected');_0x331471['commentsV2'][_0x291e44]=_0xd25805['CommentDescriptor']['fromObject'](_0x48669d['commentsV2'][_0x291e44]);}}return null!=_0x48669d['resolvedAt']&&(_0x331471['resolvedAt']=String(_0x48669d['resolvedAt'])),null!=_0x48669d['resolvedBy']&&(_0x331471['resolvedBy']=String(_0x48669d['resolvedBy'])),null!=_0x48669d['context']&&(_0x331471['context']=String(_0x48669d['context'])),null!=_0x48669d['createdAt']&&(_0x331471['createdAt']=String(_0x48669d['createdAt'])),null!=_0x48669d['deletedAt']&&(_0x331471['deletedAt']=String(_0x48669d['deletedAt'])),null!=_0x48669d['attributes']&&(_0x331471['attributes']=String(_0x48669d['attributes'])),null!=_0x48669d['unlinkedAt']&&(_0x331471['unlinkedAt']=String(_0x48669d['unlinkedAt'])),_0x331471;},_0x259301['toObject']=function(_0x510d29,_0x1e954c){_0x1e954c||(_0x1e954c={});var _0x20156d={};if((_0x1e954c['arrays']||_0x1e954c['defaults'])&&(_0x20156d['comments']=[],_0x20156d['commentsV2']=[]),_0x1e954c['defaults']&&(_0x20156d['commentThreadId']='',_0x20156d['resolvedAt']='',_0x20156d['resolvedBy']='',_0x20156d['context']='',_0x20156d['createdAt']='',_0x20156d['deletedAt']='',_0x20156d['attributes']='',_0x20156d['unlinkedAt']=''),null!=_0x510d29['commentThreadId']&&_0x510d29['hasOwnProperty']('commentThreadId')&&(_0x20156d['commentThreadId']=_0x510d29['commentThreadId']),_0x510d29['comments']&&_0x510d29['comments']['length']){_0x20156d['comments']=[];for(var _0x18aefa=0x0;_0x18aefa<_0x510d29['comments']['length'];++_0x18aefa)_0x20156d['comments'][_0x18aefa]=_0x510d29['comments'][_0x18aefa];}if(_0x510d29['commentsV2']&&_0x510d29['commentsV2']['length']){for(_0x20156d['commentsV2']=[],_0x18aefa=0x0;_0x18aefa<_0x510d29['commentsV2']['length'];++_0x18aefa)_0x20156d['commentsV2'][_0x18aefa]=_0xd25805['CommentDescriptor']['toObject'](_0x510d29['commentsV2'][_0x18aefa],_0x1e954c);}return null!=_0x510d29['resolvedAt']&&_0x510d29['hasOwnProperty']('resolvedAt')&&(_0x20156d['resolvedAt']=_0x510d29['resolvedAt']),null!=_0x510d29['resolvedBy']&&_0x510d29['hasOwnProperty']('resolvedBy')&&(_0x20156d['resolvedBy']=_0x510d29['resolvedBy']),null!=_0x510d29['context']&&_0x510d29['hasOwnProperty']('context')&&(_0x20156d['context']=_0x510d29['context']),null!=_0x510d29['createdAt']&&_0x510d29['hasOwnProperty']('createdAt')&&(_0x20156d['createdAt']=_0x510d29['createdAt']),null!=_0x510d29['deletedAt']&&_0x510d29['hasOwnProperty']('deletedAt')&&(_0x20156d['deletedAt']=_0x510d29['deletedAt']),null!=_0x510d29['attributes']&&_0x510d29['hasOwnProperty']('attributes')&&(_0x20156d['attributes']=_0x510d29['attributes']),null!=_0x510d29['unlinkedAt']&&_0x510d29['hasOwnProperty']('unlinkedAt')&&(_0x20156d['unlinkedAt']=_0x510d29['unlinkedAt']),_0x20156d;},_0x259301['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x259301['getTypeUrl']=function(_0x587b61){return void 0x0===_0x587b61&&(_0x587b61='type.googleapis.com'),_0x587b61+'/CommentsV2GetCommentThreadResponse';},_0x259301;}()),_0xd25805['CommentsV2GetDocumentThreadsResponse']=(function(){function _0x43851c(_0x35e804){if(this['threads']=[],this['threadsV2']=[],_0x35e804){for(var _0x3e7562=Object['keys'](_0x35e804),_0x1a41a5=0x0;_0x1a41a5<_0x3e7562['length'];++_0x1a41a5)null!=_0x35e804[_0x3e7562[_0x1a41a5]]&&(this[_0x3e7562[_0x1a41a5]]=_0x35e804[_0x3e7562[_0x1a41a5]]);}}return _0x43851c['prototype']['threads']=_0xcc38bf['emptyArray'],_0x43851c['prototype']['threadsV2']=_0xcc38bf['emptyArray'],_0x43851c['create']=function(_0x220cfd){return new _0x43851c(_0x220cfd);},_0x43851c['encode']=function(_0x365787,_0x52c710){if(_0x52c710||(_0x52c710=_0x1f8a63['create']()),null!=_0x365787['threads']&&_0x365787['threads']['length']){for(var _0xfb9b3e=0x0;_0xfb9b3e<_0x365787['threads']['length'];++_0xfb9b3e)_0x52c710['uint32'](0xa)['string'](_0x365787['threads'][_0xfb9b3e]);}if(null!=_0x365787['threadsV2']&&_0x365787['threadsV2']['length']){for(_0xfb9b3e=0x0;_0xfb9b3e<_0x365787['threadsV2']['length'];++_0xfb9b3e)_0xd25805['CommentsThreadDescriptor']['encode'](_0x365787['threadsV2'][_0xfb9b3e],_0x52c710['uint32'](0x12)['fork']())['ldelim']();}return _0x52c710;},_0x43851c['encodeDelimited']=function(_0xd70d07,_0x54590d){return this['encode'](_0xd70d07,_0x54590d)['ldelim']();},_0x43851c['decode']=function(_0x37e745,_0x1cf587,_0x2dc0dc){_0x37e745 instanceof _0x37c416||(_0x37e745=_0x37c416['create'](_0x37e745));for(var _0x402b0a=void 0x0===_0x1cf587?_0x37e745['len']:_0x37e745['pos']+_0x1cf587,_0x4694f5=new _0xd25805['CommentsV2GetDocumentThreadsResponse']();_0x37e745['pos']<_0x402b0a;){var _0x472407=_0x37e745['uint32']();if(_0x472407===_0x2dc0dc)break;switch(_0x472407>>>0x3){case 0x1:_0x4694f5['threads']&&_0x4694f5['threads']['length']||(_0x4694f5['threads']=[]),_0x4694f5['threads']['push'](_0x37e745['string']());break;case 0x2:_0x4694f5['threadsV2']&&_0x4694f5['threadsV2']['length']||(_0x4694f5['threadsV2']=[]),_0x4694f5['threadsV2']['push'](_0xd25805['CommentsThreadDescriptor']['decode'](_0x37e745,_0x37e745['uint32']()));break;default:_0x37e745['skipType'](0x7&_0x472407);}}return _0x4694f5;},_0x43851c['decodeDelimited']=function(_0x559d6d){return _0x559d6d instanceof _0x37c416||(_0x559d6d=new _0x37c416(_0x559d6d)),this['decode'](_0x559d6d,_0x559d6d['uint32']());},_0x43851c['verify']=function(_0x40a298){if('object'!=typeof _0x40a298||null===_0x40a298)return'object\x20expected';if(null!=_0x40a298['threads']&&_0x40a298['hasOwnProperty']('threads')){if(!Array['isArray'](_0x40a298['threads']))return'threads:\x20array\x20expected';for(var _0x28743b=0x0;_0x28743b<_0x40a298['threads']['length'];++_0x28743b)if(!_0xcc38bf['isString'](_0x40a298['threads'][_0x28743b]))return'threads:\x20string[]\x20expected';}if(null!=_0x40a298['threadsV2']&&_0x40a298['hasOwnProperty']('threadsV2')){if(!Array['isArray'](_0x40a298['threadsV2']))return'threadsV2:\x20array\x20expected';for(_0x28743b=0x0;_0x28743b<_0x40a298['threadsV2']['length'];++_0x28743b){var _0x770598=_0xd25805['CommentsThreadDescriptor']['verify'](_0x40a298['threadsV2'][_0x28743b]);if(_0x770598)return'threadsV2.'+_0x770598;}}return null;},_0x43851c['fromObject']=function(_0x39d328){if(_0x39d328 instanceof _0xd25805['CommentsV2GetDocumentThreadsResponse'])return _0x39d328;var _0xc86be7=new _0xd25805['CommentsV2GetDocumentThreadsResponse']();if(_0x39d328['threads']){if(!Array['isArray'](_0x39d328['threads']))throw TypeError('.CommentsV2GetDocumentThreadsResponse.threads:\x20array\x20expected');_0xc86be7['threads']=[];for(var _0x494f10=0x0;_0x494f10<_0x39d328['threads']['length'];++_0x494f10)_0xc86be7['threads'][_0x494f10]=String(_0x39d328['threads'][_0x494f10]);}if(_0x39d328['threadsV2']){if(!Array['isArray'](_0x39d328['threadsV2']))throw TypeError('.CommentsV2GetDocumentThreadsResponse.threadsV2:\x20array\x20expected');for(_0xc86be7['threadsV2']=[],_0x494f10=0x0;_0x494f10<_0x39d328['threadsV2']['length'];++_0x494f10){if('object'!=typeof _0x39d328['threadsV2'][_0x494f10])throw TypeError('.CommentsV2GetDocumentThreadsResponse.threadsV2:\x20object\x20expected');_0xc86be7['threadsV2'][_0x494f10]=_0xd25805['CommentsThreadDescriptor']['fromObject'](_0x39d328['threadsV2'][_0x494f10]);}}return _0xc86be7;},_0x43851c['toObject']=function(_0x48290b,_0x86afa4){_0x86afa4||(_0x86afa4={});var _0x302ffc={};if((_0x86afa4['arrays']||_0x86afa4['defaults'])&&(_0x302ffc['threads']=[],_0x302ffc['threadsV2']=[]),_0x48290b['threads']&&_0x48290b['threads']['length']){_0x302ffc['threads']=[];for(var _0x24f974=0x0;_0x24f974<_0x48290b['threads']['length'];++_0x24f974)_0x302ffc['threads'][_0x24f974]=_0x48290b['threads'][_0x24f974];}if(_0x48290b['threadsV2']&&_0x48290b['threadsV2']['length']){for(_0x302ffc['threadsV2']=[],_0x24f974=0x0;_0x24f974<_0x48290b['threadsV2']['length'];++_0x24f974)_0x302ffc['threadsV2'][_0x24f974]=_0xd25805['CommentsThreadDescriptor']['toObject'](_0x48290b['threadsV2'][_0x24f974],_0x86afa4);}return _0x302ffc;},_0x43851c['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x43851c['getTypeUrl']=function(_0x43699e){return void 0x0===_0x43699e&&(_0x43699e='type.googleapis.com'),_0x43699e+'/CommentsV2GetDocumentThreadsResponse';},_0x43851c;}()),_0xd25805['KeyValueDescriptor']=(function(){function _0xffc946(_0x1920e4){if(_0x1920e4){for(var _0x558f1a=Object['keys'](_0x1920e4),_0xce70c9=0x0;_0xce70c9<_0x558f1a['length'];++_0xce70c9)null!=_0x1920e4[_0x558f1a[_0xce70c9]]&&(this[_0x558f1a[_0xce70c9]]=_0x1920e4[_0x558f1a[_0xce70c9]]);}}return _0xffc946['prototype']['key']='',_0xffc946['prototype']['value']='',_0xffc946['create']=function(_0x4aed15){return new _0xffc946(_0x4aed15);},_0xffc946['encode']=function(_0x69ece1,_0x31cda7){return _0x31cda7||(_0x31cda7=_0x1f8a63['create']()),null!=_0x69ece1['key']&&Object['hasOwnProperty']['call'](_0x69ece1,'key')&&_0x31cda7['uint32'](0xa)['string'](_0x69ece1['key']),null!=_0x69ece1['value']&&Object['hasOwnProperty']['call'](_0x69ece1,'value')&&_0x31cda7['uint32'](0x12)['string'](_0x69ece1['value']),_0x31cda7;},_0xffc946['encodeDelimited']=function(_0x261153,_0x34714a){return this['encode'](_0x261153,_0x34714a)['ldelim']();},_0xffc946['decode']=function(_0x3c39a4,_0x1f3870,_0x262f95){_0x3c39a4 instanceof _0x37c416||(_0x3c39a4=_0x37c416['create'](_0x3c39a4));for(var _0xb00f=void 0x0===_0x1f3870?_0x3c39a4['len']:_0x3c39a4['pos']+_0x1f3870,_0x10de4e=new _0xd25805['KeyValueDescriptor']();_0x3c39a4['pos']<_0xb00f;){var _0x438c1a=_0x3c39a4['uint32']();if(_0x438c1a===_0x262f95)break;switch(_0x438c1a>>>0x3){case 0x1:_0x10de4e['key']=_0x3c39a4['string']();break;case 0x2:_0x10de4e['value']=_0x3c39a4['string']();break;default:_0x3c39a4['skipType'](0x7&_0x438c1a);}}return _0x10de4e;},_0xffc946['decodeDelimited']=function(_0x1827fc){return _0x1827fc instanceof _0x37c416||(_0x1827fc=new _0x37c416(_0x1827fc)),this['decode'](_0x1827fc,_0x1827fc['uint32']());},_0xffc946['verify']=function(_0x48229d){return'object'!=typeof _0x48229d||null===_0x48229d?'object\x20expected':null!=_0x48229d['key']&&_0x48229d['hasOwnProperty']('key')&&!_0xcc38bf['isString'](_0x48229d['key'])?'key:\x20string\x20expected':null!=_0x48229d['value']&&_0x48229d['hasOwnProperty']('value')&&!_0xcc38bf['isString'](_0x48229d['value'])?'value:\x20string\x20expected':null;},_0xffc946['fromObject']=function(_0x19f48d){if(_0x19f48d instanceof _0xd25805['KeyValueDescriptor'])return _0x19f48d;var _0x1b67a7=new _0xd25805['KeyValueDescriptor']();return null!=_0x19f48d['key']&&(_0x1b67a7['key']=String(_0x19f48d['key'])),null!=_0x19f48d['value']&&(_0x1b67a7['value']=String(_0x19f48d['value'])),_0x1b67a7;},_0xffc946['toObject']=function(_0x36c45c,_0x3e9dd0){_0x3e9dd0||(_0x3e9dd0={});var _0x2e778c={};return _0x3e9dd0['defaults']&&(_0x2e778c['key']='',_0x2e778c['value']=''),null!=_0x36c45c['key']&&_0x36c45c['hasOwnProperty']('key')&&(_0x2e778c['key']=_0x36c45c['key']),null!=_0x36c45c['value']&&_0x36c45c['hasOwnProperty']('value')&&(_0x2e778c['value']=_0x36c45c['value']),_0x2e778c;},_0xffc946['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0xffc946['getTypeUrl']=function(_0x48eacc){return void 0x0===_0x48eacc&&(_0x48eacc='type.googleapis.com'),_0x48eacc+'/KeyValueDescriptor';},_0xffc946;}()),_0xd25805['IsEditorBundleUploadedMessage']=(function(){function _0x1e2c7b(_0xafe41c){if(_0xafe41c){for(var _0x2cb414=Object['keys'](_0xafe41c),_0x5a119a=0x0;_0x5a119a<_0x2cb414['length'];++_0x5a119a)null!=_0xafe41c[_0x2cb414[_0x5a119a]]&&(this[_0x2cb414[_0x5a119a]]=_0xafe41c[_0x2cb414[_0x5a119a]]);}}return _0x1e2c7b['prototype']['bundleVersion']='',_0x1e2c7b['create']=function(_0x3d9943){return new _0x1e2c7b(_0x3d9943);},_0x1e2c7b['encode']=function(_0x3b62eb,_0x16a2c3){return _0x16a2c3||(_0x16a2c3=_0x1f8a63['create']()),null!=_0x3b62eb['bundleVersion']&&Object['hasOwnProperty']['call'](_0x3b62eb,'bundleVersion')&&_0x16a2c3['uint32'](0xa)['string'](_0x3b62eb['bundleVersion']),_0x16a2c3;},_0x1e2c7b['encodeDelimited']=function(_0x6fc110,_0x211d67){return this['encode'](_0x6fc110,_0x211d67)['ldelim']();},_0x1e2c7b['decode']=function(_0x267dcd,_0x952e0b,_0x1dab25){_0x267dcd instanceof _0x37c416||(_0x267dcd=_0x37c416['create'](_0x267dcd));for(var _0x59ebd9=void 0x0===_0x952e0b?_0x267dcd['len']:_0x267dcd['pos']+_0x952e0b,_0x831f7e=new _0xd25805['IsEditorBundleUploadedMessage']();_0x267dcd['pos']<_0x59ebd9;){var _0x42748d=_0x267dcd['uint32']();if(_0x42748d===_0x1dab25)break;_0x42748d>>>0x3==0x1?_0x831f7e['bundleVersion']=_0x267dcd['string']():_0x267dcd['skipType'](0x7&_0x42748d);}return _0x831f7e;},_0x1e2c7b['decodeDelimited']=function(_0x53e5e8){return _0x53e5e8 instanceof _0x37c416||(_0x53e5e8=new _0x37c416(_0x53e5e8)),this['decode'](_0x53e5e8,_0x53e5e8['uint32']());},_0x1e2c7b['verify']=function(_0x53aa9f){return'object'!=typeof _0x53aa9f||null===_0x53aa9f?'object\x20expected':null!=_0x53aa9f['bundleVersion']&&_0x53aa9f['hasOwnProperty']('bundleVersion')&&!_0xcc38bf['isString'](_0x53aa9f['bundleVersion'])?'bundleVersion:\x20string\x20expected':null;},_0x1e2c7b['fromObject']=function(_0x28ea0b){if(_0x28ea0b instanceof _0xd25805['IsEditorBundleUploadedMessage'])return _0x28ea0b;var _0x4f2f8c=new _0xd25805['IsEditorBundleUploadedMessage']();return null!=_0x28ea0b['bundleVersion']&&(_0x4f2f8c['bundleVersion']=String(_0x28ea0b['bundleVersion'])),_0x4f2f8c;},_0x1e2c7b['toObject']=function(_0x7149f1,_0x5dc28a){_0x5dc28a||(_0x5dc28a={});var _0x1dce4d={};return _0x5dc28a['defaults']&&(_0x1dce4d['bundleVersion']=''),null!=_0x7149f1['bundleVersion']&&_0x7149f1['hasOwnProperty']('bundleVersion')&&(_0x1dce4d['bundleVersion']=_0x7149f1['bundleVersion']),_0x1dce4d;},_0x1e2c7b['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x1e2c7b['getTypeUrl']=function(_0x21735e){return void 0x0===_0x21735e&&(_0x21735e='type.googleapis.com'),_0x21735e+'/IsEditorBundleUploadedMessage';},_0x1e2c7b;}()),_0xd25805['IsEditorBundleUploadedResponse']=(function(){function _0x4d1540(_0x4920c9){if(_0x4920c9){for(var _0x4a7218=Object['keys'](_0x4920c9),_0x5471db=0x0;_0x5471db<_0x4a7218['length'];++_0x5471db)null!=_0x4920c9[_0x4a7218[_0x5471db]]&&(this[_0x4a7218[_0x5471db]]=_0x4920c9[_0x4a7218[_0x5471db]]);}}return _0x4d1540['prototype']['isUploaded']=!0x1,_0x4d1540['create']=function(_0x39e893){return new _0x4d1540(_0x39e893);},_0x4d1540['encode']=function(_0x2dcaae,_0x24c044){return _0x24c044||(_0x24c044=_0x1f8a63['create']()),null!=_0x2dcaae['isUploaded']&&Object['hasOwnProperty']['call'](_0x2dcaae,'isUploaded')&&_0x24c044['uint32'](0x8)['bool'](_0x2dcaae['isUploaded']),_0x24c044;},_0x4d1540['encodeDelimited']=function(_0x466309,_0x35c5c3){return this['encode'](_0x466309,_0x35c5c3)['ldelim']();},_0x4d1540['decode']=function(_0x578bb0,_0x44498e,_0x4e5d3e){_0x578bb0 instanceof _0x37c416||(_0x578bb0=_0x37c416['create'](_0x578bb0));for(var _0x210fef=void 0x0===_0x44498e?_0x578bb0['len']:_0x578bb0['pos']+_0x44498e,_0x45d111=new _0xd25805['IsEditorBundleUploadedResponse']();_0x578bb0['pos']<_0x210fef;){var _0x52622c=_0x578bb0['uint32']();if(_0x52622c===_0x4e5d3e)break;_0x52622c>>>0x3==0x1?_0x45d111['isUploaded']=_0x578bb0['bool']():_0x578bb0['skipType'](0x7&_0x52622c);}return _0x45d111;},_0x4d1540['decodeDelimited']=function(_0x32f58e){return _0x32f58e instanceof _0x37c416||(_0x32f58e=new _0x37c416(_0x32f58e)),this['decode'](_0x32f58e,_0x32f58e['uint32']());},_0x4d1540['verify']=function(_0x15c255){return'object'!=typeof _0x15c255||null===_0x15c255?'object\x20expected':null!=_0x15c255['isUploaded']&&_0x15c255['hasOwnProperty']('isUploaded')&&'boolean'!=typeof _0x15c255['isUploaded']?'isUploaded:\x20boolean\x20expected':null;},_0x4d1540['fromObject']=function(_0x3704b6){if(_0x3704b6 instanceof _0xd25805['IsEditorBundleUploadedResponse'])return _0x3704b6;var _0x379252=new _0xd25805['IsEditorBundleUploadedResponse']();return null!=_0x3704b6['isUploaded']&&(_0x379252['isUploaded']=Boolean(_0x3704b6['isUploaded'])),_0x379252;},_0x4d1540['toObject']=function(_0x2b2fbc,_0x2f51ff){_0x2f51ff||(_0x2f51ff={});var _0x23a1cd={};return _0x2f51ff['defaults']&&(_0x23a1cd['isUploaded']=!0x1),null!=_0x2b2fbc['isUploaded']&&_0x2b2fbc['hasOwnProperty']('isUploaded')&&(_0x23a1cd['isUploaded']=_0x2b2fbc['isUploaded']),_0x23a1cd;},_0x4d1540['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x4d1540['getTypeUrl']=function(_0x354a5f){return void 0x0===_0x354a5f&&(_0x354a5f='type.googleapis.com'),_0x354a5f+'/IsEditorBundleUploadedResponse';},_0x4d1540;}()),_0xd25805['RevisionDescriptor']=(function(){function _0x2dfcf1(_0xabb314){if(_0xabb314){for(var _0xb68a58=Object['keys'](_0xabb314),_0x2dca37=0x0;_0x2dca37<_0xb68a58['length'];++_0x2dca37)null!=_0xabb314[_0xb68a58[_0x2dca37]]&&(this[_0xb68a58[_0x2dca37]]=_0xabb314[_0xb68a58[_0x2dca37]]);}}return _0x2dfcf1['prototype']['revisionId']='',_0x2dfcf1['prototype']['name']='',_0x2dfcf1['prototype']['creatorId']='',_0x2dfcf1['prototype']['authorsIds']='',_0x2dfcf1['prototype']['diffData']='',_0x2dfcf1['prototype']['createdAt']='',_0x2dfcf1['prototype']['attributes']='',_0x2dfcf1['prototype']['toVersion']=0x0,_0x2dfcf1['prototype']['fromVersion']=0x0,_0x2dfcf1['prototype']['isEmptyCurrent']=!0x1,_0x2dfcf1['create']=function(_0x5bc6cb){return new _0x2dfcf1(_0x5bc6cb);},_0x2dfcf1['encode']=function(_0x1712ba,_0x11baa9){return _0x11baa9||(_0x11baa9=_0x1f8a63['create']()),null!=_0x1712ba['revisionId']&&Object['hasOwnProperty']['call'](_0x1712ba,'revisionId')&&_0x11baa9['uint32'](0xa)['string'](_0x1712ba['revisionId']),null!=_0x1712ba['name']&&Object['hasOwnProperty']['call'](_0x1712ba,'name')&&_0x11baa9['uint32'](0x12)['string'](_0x1712ba['name']),null!=_0x1712ba['creatorId']&&Object['hasOwnProperty']['call'](_0x1712ba,'creatorId')&&_0x11baa9['uint32'](0x1a)['string'](_0x1712ba['creatorId']),null!=_0x1712ba['authorsIds']&&Object['hasOwnProperty']['call'](_0x1712ba,'authorsIds')&&_0x11baa9['uint32'](0x22)['string'](_0x1712ba['authorsIds']),null!=_0x1712ba['diffData']&&Object['hasOwnProperty']['call'](_0x1712ba,'diffData')&&_0x11baa9['uint32'](0x2a)['string'](_0x1712ba['diffData']),null!=_0x1712ba['createdAt']&&Object['hasOwnProperty']['call'](_0x1712ba,'createdAt')&&_0x11baa9['uint32'](0x32)['string'](_0x1712ba['createdAt']),null!=_0x1712ba['attributes']&&Object['hasOwnProperty']['call'](_0x1712ba,'attributes')&&_0x11baa9['uint32'](0x3a)['string'](_0x1712ba['attributes']),null!=_0x1712ba['toVersion']&&Object['hasOwnProperty']['call'](_0x1712ba,'toVersion')&&_0x11baa9['uint32'](0x40)['uint32'](_0x1712ba['toVersion']),null!=_0x1712ba['fromVersion']&&Object['hasOwnProperty']['call'](_0x1712ba,'fromVersion')&&_0x11baa9['uint32'](0x48)['uint32'](_0x1712ba['fromVersion']),null!=_0x1712ba['isEmptyCurrent']&&Object['hasOwnProperty']['call'](_0x1712ba,'isEmptyCurrent')&&_0x11baa9['uint32'](0x50)['bool'](_0x1712ba['isEmptyCurrent']),_0x11baa9;},_0x2dfcf1['encodeDelimited']=function(_0x2eb9cb,_0x4b42a5){return this['encode'](_0x2eb9cb,_0x4b42a5)['ldelim']();},_0x2dfcf1['decode']=function(_0x1d4cde,_0x138b50,_0x3f5fbd){_0x1d4cde instanceof _0x37c416||(_0x1d4cde=_0x37c416['create'](_0x1d4cde));for(var _0x2c9ecf=void 0x0===_0x138b50?_0x1d4cde['len']:_0x1d4cde['pos']+_0x138b50,_0x36a540=new _0xd25805['RevisionDescriptor']();_0x1d4cde['pos']<_0x2c9ecf;){var _0x4e3285=_0x1d4cde['uint32']();if(_0x4e3285===_0x3f5fbd)break;switch(_0x4e3285>>>0x3){case 0x1:_0x36a540['revisionId']=_0x1d4cde['string']();break;case 0x2:_0x36a540['name']=_0x1d4cde['string']();break;case 0x3:_0x36a540['creatorId']=_0x1d4cde['string']();break;case 0x4:_0x36a540['authorsIds']=_0x1d4cde['string']();break;case 0x5:_0x36a540['diffData']=_0x1d4cde['string']();break;case 0x6:_0x36a540['createdAt']=_0x1d4cde['string']();break;case 0x7:_0x36a540['attributes']=_0x1d4cde['string']();break;case 0x8:_0x36a540['toVersion']=_0x1d4cde['uint32']();break;case 0x9:_0x36a540['fromVersion']=_0x1d4cde['uint32']();break;case 0xa:_0x36a540['isEmptyCurrent']=_0x1d4cde['bool']();break;default:_0x1d4cde['skipType'](0x7&_0x4e3285);}}return _0x36a540;},_0x2dfcf1['decodeDelimited']=function(_0x1af82c){return _0x1af82c instanceof _0x37c416||(_0x1af82c=new _0x37c416(_0x1af82c)),this['decode'](_0x1af82c,_0x1af82c['uint32']());},_0x2dfcf1['verify']=function(_0x50cb3c){return'object'!=typeof _0x50cb3c||null===_0x50cb3c?'object\x20expected':null!=_0x50cb3c['revisionId']&&_0x50cb3c['hasOwnProperty']('revisionId')&&!_0xcc38bf['isString'](_0x50cb3c['revisionId'])?'revisionId:\x20string\x20expected':null!=_0x50cb3c['name']&&_0x50cb3c['hasOwnProperty']('name')&&!_0xcc38bf['isString'](_0x50cb3c['name'])?'name:\x20string\x20expected':null!=_0x50cb3c['creatorId']&&_0x50cb3c['hasOwnProperty']('creatorId')&&!_0xcc38bf['isString'](_0x50cb3c['creatorId'])?'creatorId:\x20string\x20expected':null!=_0x50cb3c['authorsIds']&&_0x50cb3c['hasOwnProperty']('authorsIds')&&!_0xcc38bf['isString'](_0x50cb3c['authorsIds'])?'authorsIds:\x20string\x20expected':null!=_0x50cb3c['diffData']&&_0x50cb3c['hasOwnProperty']('diffData')&&!_0xcc38bf['isString'](_0x50cb3c['diffData'])?'diffData:\x20string\x20expected':null!=_0x50cb3c['createdAt']&&_0x50cb3c['hasOwnProperty']('createdAt')&&!_0xcc38bf['isString'](_0x50cb3c['createdAt'])?'createdAt:\x20string\x20expected':null!=_0x50cb3c['attributes']&&_0x50cb3c['hasOwnProperty']('attributes')&&!_0xcc38bf['isString'](_0x50cb3c['attributes'])?'attributes:\x20string\x20expected':null!=_0x50cb3c['toVersion']&&_0x50cb3c['hasOwnProperty']('toVersion')&&!_0xcc38bf['isInteger'](_0x50cb3c['toVersion'])?'toVersion:\x20integer\x20expected':null!=_0x50cb3c['fromVersion']&&_0x50cb3c['hasOwnProperty']('fromVersion')&&!_0xcc38bf['isInteger'](_0x50cb3c['fromVersion'])?'fromVersion:\x20integer\x20expected':null!=_0x50cb3c['isEmptyCurrent']&&_0x50cb3c['hasOwnProperty']('isEmptyCurrent')&&'boolean'!=typeof _0x50cb3c['isEmptyCurrent']?'isEmptyCurrent:\x20boolean\x20expected':null;},_0x2dfcf1['fromObject']=function(_0x52460e){if(_0x52460e instanceof _0xd25805['RevisionDescriptor'])return _0x52460e;var _0x551647=new _0xd25805['RevisionDescriptor']();return null!=_0x52460e['revisionId']&&(_0x551647['revisionId']=String(_0x52460e['revisionId'])),null!=_0x52460e['name']&&(_0x551647['name']=String(_0x52460e['name'])),null!=_0x52460e['creatorId']&&(_0x551647['creatorId']=String(_0x52460e['creatorId'])),null!=_0x52460e['authorsIds']&&(_0x551647['authorsIds']=String(_0x52460e['authorsIds'])),null!=_0x52460e['diffData']&&(_0x551647['diffData']=String(_0x52460e['diffData'])),null!=_0x52460e['createdAt']&&(_0x551647['createdAt']=String(_0x52460e['createdAt'])),null!=_0x52460e['attributes']&&(_0x551647['attributes']=String(_0x52460e['attributes'])),null!=_0x52460e['toVersion']&&(_0x551647['toVersion']=_0x52460e['toVersion']>>>0x0),null!=_0x52460e['fromVersion']&&(_0x551647['fromVersion']=_0x52460e['fromVersion']>>>0x0),null!=_0x52460e['isEmptyCurrent']&&(_0x551647['isEmptyCurrent']=Boolean(_0x52460e['isEmptyCurrent'])),_0x551647;},_0x2dfcf1['toObject']=function(_0x107be1,_0x1ec747){_0x1ec747||(_0x1ec747={});var _0x534444={};return _0x1ec747['defaults']&&(_0x534444['revisionId']='',_0x534444['name']='',_0x534444['creatorId']='',_0x534444['authorsIds']='',_0x534444['diffData']='',_0x534444['createdAt']='',_0x534444['attributes']='',_0x534444['toVersion']=0x0,_0x534444['fromVersion']=0x0,_0x534444['isEmptyCurrent']=!0x1),null!=_0x107be1['revisionId']&&_0x107be1['hasOwnProperty']('revisionId')&&(_0x534444['revisionId']=_0x107be1['revisionId']),null!=_0x107be1['name']&&_0x107be1['hasOwnProperty']('name')&&(_0x534444['name']=_0x107be1['name']),null!=_0x107be1['creatorId']&&_0x107be1['hasOwnProperty']('creatorId')&&(_0x534444['creatorId']=_0x107be1['creatorId']),null!=_0x107be1['authorsIds']&&_0x107be1['hasOwnProperty']('authorsIds')&&(_0x534444['authorsIds']=_0x107be1['authorsIds']),null!=_0x107be1['diffData']&&_0x107be1['hasOwnProperty']('diffData')&&(_0x534444['diffData']=_0x107be1['diffData']),null!=_0x107be1['createdAt']&&_0x107be1['hasOwnProperty']('createdAt')&&(_0x534444['createdAt']=_0x107be1['createdAt']),null!=_0x107be1['attributes']&&_0x107be1['hasOwnProperty']('attributes')&&(_0x534444['attributes']=_0x107be1['attributes']),null!=_0x107be1['toVersion']&&_0x107be1['hasOwnProperty']('toVersion')&&(_0x534444['toVersion']=_0x107be1['toVersion']),null!=_0x107be1['fromVersion']&&_0x107be1['hasOwnProperty']('fromVersion')&&(_0x534444['fromVersion']=_0x107be1['fromVersion']),null!=_0x107be1['isEmptyCurrent']&&_0x107be1['hasOwnProperty']('isEmptyCurrent')&&(_0x534444['isEmptyCurrent']=_0x107be1['isEmptyCurrent']),_0x534444;},_0x2dfcf1['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x2dfcf1['getTypeUrl']=function(_0x29d195){return void 0x0===_0x29d195&&(_0x29d195='type.googleapis.com'),_0x29d195+'/RevisionDescriptor';},_0x2dfcf1;}()),_0xd25805['RevisionHistoryConnectMessage']=(function(){function _0x25acc6(_0x10fcf7){if(_0x10fcf7){for(var _0x551cac=Object['keys'](_0x10fcf7),_0x54d75f=0x0;_0x54d75f<_0x551cac['length'];++_0x54d75f)null!=_0x10fcf7[_0x551cac[_0x54d75f]]&&(this[_0x551cac[_0x54d75f]]=_0x10fcf7[_0x551cac[_0x54d75f]]);}}return _0x25acc6['prototype']['documentId']='',_0x25acc6['create']=function(_0x708112){return new _0x25acc6(_0x708112);},_0x25acc6['encode']=function(_0x113e87,_0x37519a){return _0x37519a||(_0x37519a=_0x1f8a63['create']()),null!=_0x113e87['documentId']&&Object['hasOwnProperty']['call'](_0x113e87,'documentId')&&_0x37519a['uint32'](0xa)['string'](_0x113e87['documentId']),_0x37519a;},_0x25acc6['encodeDelimited']=function(_0x4aed1d,_0x2221a4){return this['encode'](_0x4aed1d,_0x2221a4)['ldelim']();},_0x25acc6['decode']=function(_0x1c3487,_0x1d22f1,_0x3be9bd){_0x1c3487 instanceof _0x37c416||(_0x1c3487=_0x37c416['create'](_0x1c3487));for(var _0x38bb93=void 0x0===_0x1d22f1?_0x1c3487['len']:_0x1c3487['pos']+_0x1d22f1,_0x5efc5b=new _0xd25805['RevisionHistoryConnectMessage']();_0x1c3487['pos']<_0x38bb93;){var _0x3c0e4f=_0x1c3487['uint32']();if(_0x3c0e4f===_0x3be9bd)break;_0x3c0e4f>>>0x3==0x1?_0x5efc5b['documentId']=_0x1c3487['string']():_0x1c3487['skipType'](0x7&_0x3c0e4f);}return _0x5efc5b;},_0x25acc6['decodeDelimited']=function(_0x144269){return _0x144269 instanceof _0x37c416||(_0x144269=new _0x37c416(_0x144269)),this['decode'](_0x144269,_0x144269['uint32']());},_0x25acc6['verify']=function(_0x5f0927){return'object'!=typeof _0x5f0927||null===_0x5f0927?'object\x20expected':null!=_0x5f0927['documentId']&&_0x5f0927['hasOwnProperty']('documentId')&&!_0xcc38bf['isString'](_0x5f0927['documentId'])?'documentId:\x20string\x20expected':null;},_0x25acc6['fromObject']=function(_0x443ffa){if(_0x443ffa instanceof _0xd25805['RevisionHistoryConnectMessage'])return _0x443ffa;var _0x14082d=new _0xd25805['RevisionHistoryConnectMessage']();return null!=_0x443ffa['documentId']&&(_0x14082d['documentId']=String(_0x443ffa['documentId'])),_0x14082d;},_0x25acc6['toObject']=function(_0x37aa02,_0x46021f){_0x46021f||(_0x46021f={});var _0x1e4eb6={};return _0x46021f['defaults']&&(_0x1e4eb6['documentId']=''),null!=_0x37aa02['documentId']&&_0x37aa02['hasOwnProperty']('documentId')&&(_0x1e4eb6['documentId']=_0x37aa02['documentId']),_0x1e4eb6;},_0x25acc6['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x25acc6['getTypeUrl']=function(_0x4f8d9d){return void 0x0===_0x4f8d9d&&(_0x4f8d9d='type.googleapis.com'),_0x4f8d9d+'/RevisionHistoryConnectMessage';},_0x25acc6;}()),_0xd25805['RevisionHistoryGetRevisionMessage']=(function(){function _0x44ca3d(_0x27a123){if(_0x27a123){for(var _0x12ef0b=Object['keys'](_0x27a123),_0x3678e4=0x0;_0x3678e4<_0x12ef0b['length'];++_0x3678e4)null!=_0x27a123[_0x12ef0b[_0x3678e4]]&&(this[_0x12ef0b[_0x3678e4]]=_0x27a123[_0x12ef0b[_0x3678e4]]);}}return _0x44ca3d['prototype']['documentId']='',_0x44ca3d['prototype']['revisionId']='',_0x44ca3d['create']=function(_0x49ebc4){return new _0x44ca3d(_0x49ebc4);},_0x44ca3d['encode']=function(_0x371cbf,_0x3b96d5){return _0x3b96d5||(_0x3b96d5=_0x1f8a63['create']()),null!=_0x371cbf['documentId']&&Object['hasOwnProperty']['call'](_0x371cbf,'documentId')&&_0x3b96d5['uint32'](0xa)['string'](_0x371cbf['documentId']),null!=_0x371cbf['revisionId']&&Object['hasOwnProperty']['call'](_0x371cbf,'revisionId')&&_0x3b96d5['uint32'](0x12)['string'](_0x371cbf['revisionId']),_0x3b96d5;},_0x44ca3d['encodeDelimited']=function(_0x2d8b42,_0x1d0de8){return this['encode'](_0x2d8b42,_0x1d0de8)['ldelim']();},_0x44ca3d['decode']=function(_0x5a6348,_0x26ac36,_0x18afb4){_0x5a6348 instanceof _0x37c416||(_0x5a6348=_0x37c416['create'](_0x5a6348));for(var _0x51278b=void 0x0===_0x26ac36?_0x5a6348['len']:_0x5a6348['pos']+_0x26ac36,_0x50d483=new _0xd25805['RevisionHistoryGetRevisionMessage']();_0x5a6348['pos']<_0x51278b;){var _0x57a9e2=_0x5a6348['uint32']();if(_0x57a9e2===_0x18afb4)break;switch(_0x57a9e2>>>0x3){case 0x1:_0x50d483['documentId']=_0x5a6348['string']();break;case 0x2:_0x50d483['revisionId']=_0x5a6348['string']();break;default:_0x5a6348['skipType'](0x7&_0x57a9e2);}}return _0x50d483;},_0x44ca3d['decodeDelimited']=function(_0x1e79f0){return _0x1e79f0 instanceof _0x37c416||(_0x1e79f0=new _0x37c416(_0x1e79f0)),this['decode'](_0x1e79f0,_0x1e79f0['uint32']());},_0x44ca3d['verify']=function(_0x1a038c){return'object'!=typeof _0x1a038c||null===_0x1a038c?'object\x20expected':null!=_0x1a038c['documentId']&&_0x1a038c['hasOwnProperty']('documentId')&&!_0xcc38bf['isString'](_0x1a038c['documentId'])?'documentId:\x20string\x20expected':null!=_0x1a038c['revisionId']&&_0x1a038c['hasOwnProperty']('revisionId')&&!_0xcc38bf['isString'](_0x1a038c['revisionId'])?'revisionId:\x20string\x20expected':null;},_0x44ca3d['fromObject']=function(_0x2d8fc7){if(_0x2d8fc7 instanceof _0xd25805['RevisionHistoryGetRevisionMessage'])return _0x2d8fc7;var _0x4bab4e=new _0xd25805['RevisionHistoryGetRevisionMessage']();return null!=_0x2d8fc7['documentId']&&(_0x4bab4e['documentId']=String(_0x2d8fc7['documentId'])),null!=_0x2d8fc7['revisionId']&&(_0x4bab4e['revisionId']=String(_0x2d8fc7['revisionId'])),_0x4bab4e;},_0x44ca3d['toObject']=function(_0x24580a,_0x550083){_0x550083||(_0x550083={});var _0x52670c={};return _0x550083['defaults']&&(_0x52670c['documentId']='',_0x52670c['revisionId']=''),null!=_0x24580a['documentId']&&_0x24580a['hasOwnProperty']('documentId')&&(_0x52670c['documentId']=_0x24580a['documentId']),null!=_0x24580a['revisionId']&&_0x24580a['hasOwnProperty']('revisionId')&&(_0x52670c['revisionId']=_0x24580a['revisionId']),_0x52670c;},_0x44ca3d['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x44ca3d['getTypeUrl']=function(_0x2b1398){return void 0x0===_0x2b1398&&(_0x2b1398='type.googleapis.com'),_0x2b1398+'/RevisionHistoryGetRevisionMessage';},_0x44ca3d;}()),_0xd25805['RevisionHistoryReconnectMessage']=(function(){function _0xad6e6f(_0x3115e4){if(_0x3115e4){for(var _0x11aad5=Object['keys'](_0x3115e4),_0x16e708=0x0;_0x16e708<_0x11aad5['length'];++_0x16e708)null!=_0x3115e4[_0x11aad5[_0x16e708]]&&(this[_0x11aad5[_0x16e708]]=_0x3115e4[_0x11aad5[_0x16e708]]);}}return _0xad6e6f['prototype']['documentId']='',_0xad6e6f['prototype']['requestId']=0x0,_0xad6e6f['create']=function(_0x199655){return new _0xad6e6f(_0x199655);},_0xad6e6f['encode']=function(_0x3b5377,_0x3b14d8){return _0x3b14d8||(_0x3b14d8=_0x1f8a63['create']()),null!=_0x3b5377['documentId']&&Object['hasOwnProperty']['call'](_0x3b5377,'documentId')&&_0x3b14d8['uint32'](0xa)['string'](_0x3b5377['documentId']),null!=_0x3b5377['requestId']&&Object['hasOwnProperty']['call'](_0x3b5377,'requestId')&&_0x3b14d8['uint32'](0x10)['uint32'](_0x3b5377['requestId']),_0x3b14d8;},_0xad6e6f['encodeDelimited']=function(_0xdd09a6,_0x363e6f){return this['encode'](_0xdd09a6,_0x363e6f)['ldelim']();},_0xad6e6f['decode']=function(_0x240893,_0x504282,_0x154cef){_0x240893 instanceof _0x37c416||(_0x240893=_0x37c416['create'](_0x240893));for(var _0x2ddf2e=void 0x0===_0x504282?_0x240893['len']:_0x240893['pos']+_0x504282,_0x30cd0e=new _0xd25805['RevisionHistoryReconnectMessage']();_0x240893['pos']<_0x2ddf2e;){var _0x27ca14=_0x240893['uint32']();if(_0x27ca14===_0x154cef)break;switch(_0x27ca14>>>0x3){case 0x1:_0x30cd0e['documentId']=_0x240893['string']();break;case 0x2:_0x30cd0e['requestId']=_0x240893['uint32']();break;default:_0x240893['skipType'](0x7&_0x27ca14);}}return _0x30cd0e;},_0xad6e6f['decodeDelimited']=function(_0x2b0250){return _0x2b0250 instanceof _0x37c416||(_0x2b0250=new _0x37c416(_0x2b0250)),this['decode'](_0x2b0250,_0x2b0250['uint32']());},_0xad6e6f['verify']=function(_0x281ea9){return'object'!=typeof _0x281ea9||null===_0x281ea9?'object\x20expected':null!=_0x281ea9['documentId']&&_0x281ea9['hasOwnProperty']('documentId')&&!_0xcc38bf['isString'](_0x281ea9['documentId'])?'documentId:\x20string\x20expected':null!=_0x281ea9['requestId']&&_0x281ea9['hasOwnProperty']('requestId')&&!_0xcc38bf['isInteger'](_0x281ea9['requestId'])?'requestId:\x20integer\x20expected':null;},_0xad6e6f['fromObject']=function(_0x254b6a){if(_0x254b6a instanceof _0xd25805['RevisionHistoryReconnectMessage'])return _0x254b6a;var _0x327577=new _0xd25805['RevisionHistoryReconnectMessage']();return null!=_0x254b6a['documentId']&&(_0x327577['documentId']=String(_0x254b6a['documentId'])),null!=_0x254b6a['requestId']&&(_0x327577['requestId']=_0x254b6a['requestId']>>>0x0),_0x327577;},_0xad6e6f['toObject']=function(_0x3ea2b3,_0x193a8e){_0x193a8e||(_0x193a8e={});var _0x40d59c={};return _0x193a8e['defaults']&&(_0x40d59c['documentId']='',_0x40d59c['requestId']=0x0),null!=_0x3ea2b3['documentId']&&_0x3ea2b3['hasOwnProperty']('documentId')&&(_0x40d59c['documentId']=_0x3ea2b3['documentId']),null!=_0x3ea2b3['requestId']&&_0x3ea2b3['hasOwnProperty']('requestId')&&(_0x40d59c['requestId']=_0x3ea2b3['requestId']),_0x40d59c;},_0xad6e6f['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0xad6e6f['getTypeUrl']=function(_0x298b3e){return void 0x0===_0x298b3e&&(_0x298b3e='type.googleapis.com'),_0x298b3e+'/RevisionHistoryReconnectMessage';},_0xad6e6f;}()),_0xd25805['RevisionHistoryUpdateRevisionsMessage']=(function(){function _0x1fb393(_0x77b7a0){if(this['revisions']=[],_0x77b7a0){for(var _0x46b906=Object['keys'](_0x77b7a0),_0x5793be=0x0;_0x5793be<_0x46b906['length'];++_0x5793be)null!=_0x77b7a0[_0x46b906[_0x5793be]]&&(this[_0x46b906[_0x5793be]]=_0x77b7a0[_0x46b906[_0x5793be]]);}}return _0x1fb393['prototype']['documentId']='',_0x1fb393['prototype']['requestId']=0x0,_0x1fb393['prototype']['revisions']=_0xcc38bf['emptyArray'],_0x1fb393['create']=function(_0xf80ac1){return new _0x1fb393(_0xf80ac1);},_0x1fb393['encode']=function(_0x31be60,_0x9a2bde){if(_0x9a2bde||(_0x9a2bde=_0x1f8a63['create']()),null!=_0x31be60['documentId']&&Object['hasOwnProperty']['call'](_0x31be60,'documentId')&&_0x9a2bde['uint32'](0xa)['string'](_0x31be60['documentId']),null!=_0x31be60['requestId']&&Object['hasOwnProperty']['call'](_0x31be60,'requestId')&&_0x9a2bde['uint32'](0x10)['uint32'](_0x31be60['requestId']),null!=_0x31be60['revisions']&&_0x31be60['revisions']['length']){for(var _0x3bd24b=0x0;_0x3bd24b<_0x31be60['revisions']['length'];++_0x3bd24b)_0xd25805['RevisionDescriptor']['encode'](_0x31be60['revisions'][_0x3bd24b],_0x9a2bde['uint32'](0x1a)['fork']())['ldelim']();}return _0x9a2bde;},_0x1fb393['encodeDelimited']=function(_0x2caf08,_0x4746f9){return this['encode'](_0x2caf08,_0x4746f9)['ldelim']();},_0x1fb393['decode']=function(_0x53f660,_0x5d9a15,_0x431d4c){_0x53f660 instanceof _0x37c416||(_0x53f660=_0x37c416['create'](_0x53f660));for(var _0x4f840f=void 0x0===_0x5d9a15?_0x53f660['len']:_0x53f660['pos']+_0x5d9a15,_0x42790a=new _0xd25805['RevisionHistoryUpdateRevisionsMessage']();_0x53f660['pos']<_0x4f840f;){var _0x5b3ecf=_0x53f660['uint32']();if(_0x5b3ecf===_0x431d4c)break;switch(_0x5b3ecf>>>0x3){case 0x1:_0x42790a['documentId']=_0x53f660['string']();break;case 0x2:_0x42790a['requestId']=_0x53f660['uint32']();break;case 0x3:_0x42790a['revisions']&&_0x42790a['revisions']['length']||(_0x42790a['revisions']=[]),_0x42790a['revisions']['push'](_0xd25805['RevisionDescriptor']['decode'](_0x53f660,_0x53f660['uint32']()));break;default:_0x53f660['skipType'](0x7&_0x5b3ecf);}}return _0x42790a;},_0x1fb393['decodeDelimited']=function(_0x29bd42){return _0x29bd42 instanceof _0x37c416||(_0x29bd42=new _0x37c416(_0x29bd42)),this['decode'](_0x29bd42,_0x29bd42['uint32']());},_0x1fb393['verify']=function(_0x3be239){if('object'!=typeof _0x3be239||null===_0x3be239)return'object\x20expected';if(null!=_0x3be239['documentId']&&_0x3be239['hasOwnProperty']('documentId')&&!_0xcc38bf['isString'](_0x3be239['documentId']))return'documentId:\x20string\x20expected';if(null!=_0x3be239['requestId']&&_0x3be239['hasOwnProperty']('requestId')&&!_0xcc38bf['isInteger'](_0x3be239['requestId']))return'requestId:\x20integer\x20expected';if(null!=_0x3be239['revisions']&&_0x3be239['hasOwnProperty']('revisions')){if(!Array['isArray'](_0x3be239['revisions']))return'revisions:\x20array\x20expected';for(var _0x47f056=0x0;_0x47f056<_0x3be239['revisions']['length'];++_0x47f056){var _0x236531=_0xd25805['RevisionDescriptor']['verify'](_0x3be239['revisions'][_0x47f056]);if(_0x236531)return'revisions.'+_0x236531;}}return null;},_0x1fb393['fromObject']=function(_0x19502c){if(_0x19502c instanceof _0xd25805['RevisionHistoryUpdateRevisionsMessage'])return _0x19502c;var _0x1b536d=new _0xd25805['RevisionHistoryUpdateRevisionsMessage']();if(null!=_0x19502c['documentId']&&(_0x1b536d['documentId']=String(_0x19502c['documentId'])),null!=_0x19502c['requestId']&&(_0x1b536d['requestId']=_0x19502c['requestId']>>>0x0),_0x19502c['revisions']){if(!Array['isArray'](_0x19502c['revisions']))throw TypeError('.RevisionHistoryUpdateRevisionsMessage.revisions:\x20array\x20expected');_0x1b536d['revisions']=[];for(var _0x2d1eeb=0x0;_0x2d1eeb<_0x19502c['revisions']['length'];++_0x2d1eeb){if('object'!=typeof _0x19502c['revisions'][_0x2d1eeb])throw TypeError('.RevisionHistoryUpdateRevisionsMessage.revisions:\x20object\x20expected');_0x1b536d['revisions'][_0x2d1eeb]=_0xd25805['RevisionDescriptor']['fromObject'](_0x19502c['revisions'][_0x2d1eeb]);}}return _0x1b536d;},_0x1fb393['toObject']=function(_0x34826c,_0x2805ae){_0x2805ae||(_0x2805ae={});var _0x1058db={};if((_0x2805ae['arrays']||_0x2805ae['defaults'])&&(_0x1058db['revisions']=[]),_0x2805ae['defaults']&&(_0x1058db['documentId']='',_0x1058db['requestId']=0x0),null!=_0x34826c['documentId']&&_0x34826c['hasOwnProperty']('documentId')&&(_0x1058db['documentId']=_0x34826c['documentId']),null!=_0x34826c['requestId']&&_0x34826c['hasOwnProperty']('requestId')&&(_0x1058db['requestId']=_0x34826c['requestId']),_0x34826c['revisions']&&_0x34826c['revisions']['length']){_0x1058db['revisions']=[];for(var _0x56f67e=0x0;_0x56f67e<_0x34826c['revisions']['length'];++_0x56f67e)_0x1058db['revisions'][_0x56f67e]=_0xd25805['RevisionDescriptor']['toObject'](_0x34826c['revisions'][_0x56f67e],_0x2805ae);}return _0x1058db;},_0x1fb393['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x1fb393['getTypeUrl']=function(_0x38fa7f){return void 0x0===_0x38fa7f&&(_0x38fa7f='type.googleapis.com'),_0x38fa7f+'/RevisionHistoryUpdateRevisionsMessage';},_0x1fb393;}()),_0xd25805['RevisionHistoryConnectResponse']=(function(){function _0x54a2ac(_0x25ae2b){if(this['revisions']=[],_0x25ae2b){for(var _0x1249be=Object['keys'](_0x25ae2b),_0x564994=0x0;_0x564994<_0x1249be['length'];++_0x564994)null!=_0x25ae2b[_0x1249be[_0x564994]]&&(this[_0x1249be[_0x564994]]=_0x25ae2b[_0x1249be[_0x564994]]);}}return _0x54a2ac['prototype']['channel']='',_0x54a2ac['prototype']['requestId']=0x0,_0x54a2ac['prototype']['revisions']=_0xcc38bf['emptyArray'],_0x54a2ac['create']=function(_0x2cc6de){return new _0x54a2ac(_0x2cc6de);},_0x54a2ac['encode']=function(_0x34cbe6,_0x2b8a6c){if(_0x2b8a6c||(_0x2b8a6c=_0x1f8a63['create']()),null!=_0x34cbe6['channel']&&Object['hasOwnProperty']['call'](_0x34cbe6,'channel')&&_0x2b8a6c['uint32'](0xa)['string'](_0x34cbe6['channel']),null!=_0x34cbe6['requestId']&&Object['hasOwnProperty']['call'](_0x34cbe6,'requestId')&&_0x2b8a6c['uint32'](0x10)['uint32'](_0x34cbe6['requestId']),null!=_0x34cbe6['revisions']&&_0x34cbe6['revisions']['length']){for(var _0x129f40=0x0;_0x129f40<_0x34cbe6['revisions']['length'];++_0x129f40)_0xd25805['RevisionDescriptor']['encode'](_0x34cbe6['revisions'][_0x129f40],_0x2b8a6c['uint32'](0x1a)['fork']())['ldelim']();}return _0x2b8a6c;},_0x54a2ac['encodeDelimited']=function(_0x1c21e2,_0x5301b9){return this['encode'](_0x1c21e2,_0x5301b9)['ldelim']();},_0x54a2ac['decode']=function(_0x57c96f,_0x5e3916,_0x432834){_0x57c96f instanceof _0x37c416||(_0x57c96f=_0x37c416['create'](_0x57c96f));for(var _0x437725=void 0x0===_0x5e3916?_0x57c96f['len']:_0x57c96f['pos']+_0x5e3916,_0x428e2e=new _0xd25805['RevisionHistoryConnectResponse']();_0x57c96f['pos']<_0x437725;){var _0x394777=_0x57c96f['uint32']();if(_0x394777===_0x432834)break;switch(_0x394777>>>0x3){case 0x1:_0x428e2e['channel']=_0x57c96f['string']();break;case 0x2:_0x428e2e['requestId']=_0x57c96f['uint32']();break;case 0x3:_0x428e2e['revisions']&&_0x428e2e['revisions']['length']||(_0x428e2e['revisions']=[]),_0x428e2e['revisions']['push'](_0xd25805['RevisionDescriptor']['decode'](_0x57c96f,_0x57c96f['uint32']()));break;default:_0x57c96f['skipType'](0x7&_0x394777);}}return _0x428e2e;},_0x54a2ac['decodeDelimited']=function(_0x1055ef){return _0x1055ef instanceof _0x37c416||(_0x1055ef=new _0x37c416(_0x1055ef)),this['decode'](_0x1055ef,_0x1055ef['uint32']());},_0x54a2ac['verify']=function(_0x16a0e9){if('object'!=typeof _0x16a0e9||null===_0x16a0e9)return'object\x20expected';if(null!=_0x16a0e9['channel']&&_0x16a0e9['hasOwnProperty']('channel')&&!_0xcc38bf['isString'](_0x16a0e9['channel']))return'channel:\x20string\x20expected';if(null!=_0x16a0e9['requestId']&&_0x16a0e9['hasOwnProperty']('requestId')&&!_0xcc38bf['isInteger'](_0x16a0e9['requestId']))return'requestId:\x20integer\x20expected';if(null!=_0x16a0e9['revisions']&&_0x16a0e9['hasOwnProperty']('revisions')){if(!Array['isArray'](_0x16a0e9['revisions']))return'revisions:\x20array\x20expected';for(var _0x1efc66=0x0;_0x1efc66<_0x16a0e9['revisions']['length'];++_0x1efc66){var _0x5a257c=_0xd25805['RevisionDescriptor']['verify'](_0x16a0e9['revisions'][_0x1efc66]);if(_0x5a257c)return'revisions.'+_0x5a257c;}}return null;},_0x54a2ac['fromObject']=function(_0x442537){if(_0x442537 instanceof _0xd25805['RevisionHistoryConnectResponse'])return _0x442537;var _0x16e8e7=new _0xd25805['RevisionHistoryConnectResponse']();if(null!=_0x442537['channel']&&(_0x16e8e7['channel']=String(_0x442537['channel'])),null!=_0x442537['requestId']&&(_0x16e8e7['requestId']=_0x442537['requestId']>>>0x0),_0x442537['revisions']){if(!Array['isArray'](_0x442537['revisions']))throw TypeError('.RevisionHistoryConnectResponse.revisions:\x20array\x20expected');_0x16e8e7['revisions']=[];for(var _0xe06161=0x0;_0xe06161<_0x442537['revisions']['length'];++_0xe06161){if('object'!=typeof _0x442537['revisions'][_0xe06161])throw TypeError('.RevisionHistoryConnectResponse.revisions:\x20object\x20expected');_0x16e8e7['revisions'][_0xe06161]=_0xd25805['RevisionDescriptor']['fromObject'](_0x442537['revisions'][_0xe06161]);}}return _0x16e8e7;},_0x54a2ac['toObject']=function(_0x1f3b4c,_0x20ce74){_0x20ce74||(_0x20ce74={});var _0x15a3f0={};if((_0x20ce74['arrays']||_0x20ce74['defaults'])&&(_0x15a3f0['revisions']=[]),_0x20ce74['defaults']&&(_0x15a3f0['channel']='',_0x15a3f0['requestId']=0x0),null!=_0x1f3b4c['channel']&&_0x1f3b4c['hasOwnProperty']('channel')&&(_0x15a3f0['channel']=_0x1f3b4c['channel']),null!=_0x1f3b4c['requestId']&&_0x1f3b4c['hasOwnProperty']('requestId')&&(_0x15a3f0['requestId']=_0x1f3b4c['requestId']),_0x1f3b4c['revisions']&&_0x1f3b4c['revisions']['length']){_0x15a3f0['revisions']=[];for(var _0x4354ad=0x0;_0x4354ad<_0x1f3b4c['revisions']['length'];++_0x4354ad)_0x15a3f0['revisions'][_0x4354ad]=_0xd25805['RevisionDescriptor']['toObject'](_0x1f3b4c['revisions'][_0x4354ad],_0x20ce74);}return _0x15a3f0;},_0x54a2ac['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x54a2ac['getTypeUrl']=function(_0x2ea7fd){return void 0x0===_0x2ea7fd&&(_0x2ea7fd='type.googleapis.com'),_0x2ea7fd+'/RevisionHistoryConnectResponse';},_0x54a2ac;}()),_0xd25805['RevisionHistoryGetRevisionResponse']=(function(){function _0x282208(_0x47d980){if(_0x47d980){for(var _0x3af41f=Object['keys'](_0x47d980),_0xc73e41=0x0;_0xc73e41<_0x3af41f['length'];++_0xc73e41)null!=_0x47d980[_0x3af41f[_0xc73e41]]&&(this[_0x3af41f[_0xc73e41]]=_0x47d980[_0x3af41f[_0xc73e41]]);}}return _0x282208['prototype']['revisionId']='',_0x282208['prototype']['name']='',_0x282208['prototype']['creatorId']='',_0x282208['prototype']['authorsIds']='',_0x282208['prototype']['diffData']='',_0x282208['prototype']['createdAt']='',_0x282208['prototype']['attributes']='',_0x282208['prototype']['toVersion']=0x0,_0x282208['prototype']['fromVersion']=0x0,_0x282208['prototype']['isEmptyCurrent']=!0x1,_0x282208['create']=function(_0x2d4f81){return new _0x282208(_0x2d4f81);},_0x282208['encode']=function(_0x49c754,_0x19161b){return _0x19161b||(_0x19161b=_0x1f8a63['create']()),null!=_0x49c754['revisionId']&&Object['hasOwnProperty']['call'](_0x49c754,'revisionId')&&_0x19161b['uint32'](0xa)['string'](_0x49c754['revisionId']),null!=_0x49c754['name']&&Object['hasOwnProperty']['call'](_0x49c754,'name')&&_0x19161b['uint32'](0x12)['string'](_0x49c754['name']),null!=_0x49c754['creatorId']&&Object['hasOwnProperty']['call'](_0x49c754,'creatorId')&&_0x19161b['uint32'](0x1a)['string'](_0x49c754['creatorId']),null!=_0x49c754['authorsIds']&&Object['hasOwnProperty']['call'](_0x49c754,'authorsIds')&&_0x19161b['uint32'](0x22)['string'](_0x49c754['authorsIds']),null!=_0x49c754['diffData']&&Object['hasOwnProperty']['call'](_0x49c754,'diffData')&&_0x19161b['uint32'](0x2a)['string'](_0x49c754['diffData']),null!=_0x49c754['createdAt']&&Object['hasOwnProperty']['call'](_0x49c754,'createdAt')&&_0x19161b['uint32'](0x32)['string'](_0x49c754['createdAt']),null!=_0x49c754['attributes']&&Object['hasOwnProperty']['call'](_0x49c754,'attributes')&&_0x19161b['uint32'](0x3a)['string'](_0x49c754['attributes']),null!=_0x49c754['toVersion']&&Object['hasOwnProperty']['call'](_0x49c754,'toVersion')&&_0x19161b['uint32'](0x40)['uint32'](_0x49c754['toVersion']),null!=_0x49c754['fromVersion']&&Object['hasOwnProperty']['call'](_0x49c754,'fromVersion')&&_0x19161b['uint32'](0x48)['uint32'](_0x49c754['fromVersion']),null!=_0x49c754['isEmptyCurrent']&&Object['hasOwnProperty']['call'](_0x49c754,'isEmptyCurrent')&&_0x19161b['uint32'](0x50)['bool'](_0x49c754['isEmptyCurrent']),_0x19161b;},_0x282208['encodeDelimited']=function(_0x33012b,_0x4b546a){return this['encode'](_0x33012b,_0x4b546a)['ldelim']();},_0x282208['decode']=function(_0x1830e5,_0x299d47,_0xc5ba0b){_0x1830e5 instanceof _0x37c416||(_0x1830e5=_0x37c416['create'](_0x1830e5));for(var _0x542d0e=void 0x0===_0x299d47?_0x1830e5['len']:_0x1830e5['pos']+_0x299d47,_0xc7a06f=new _0xd25805['RevisionHistoryGetRevisionResponse']();_0x1830e5['pos']<_0x542d0e;){var _0x1a7662=_0x1830e5['uint32']();if(_0x1a7662===_0xc5ba0b)break;switch(_0x1a7662>>>0x3){case 0x1:_0xc7a06f['revisionId']=_0x1830e5['string']();break;case 0x2:_0xc7a06f['name']=_0x1830e5['string']();break;case 0x3:_0xc7a06f['creatorId']=_0x1830e5['string']();break;case 0x4:_0xc7a06f['authorsIds']=_0x1830e5['string']();break;case 0x5:_0xc7a06f['diffData']=_0x1830e5['string']();break;case 0x6:_0xc7a06f['createdAt']=_0x1830e5['string']();break;case 0x7:_0xc7a06f['attributes']=_0x1830e5['string']();break;case 0x8:_0xc7a06f['toVersion']=_0x1830e5['uint32']();break;case 0x9:_0xc7a06f['fromVersion']=_0x1830e5['uint32']();break;case 0xa:_0xc7a06f['isEmptyCurrent']=_0x1830e5['bool']();break;default:_0x1830e5['skipType'](0x7&_0x1a7662);}}return _0xc7a06f;},_0x282208['decodeDelimited']=function(_0x52c215){return _0x52c215 instanceof _0x37c416||(_0x52c215=new _0x37c416(_0x52c215)),this['decode'](_0x52c215,_0x52c215['uint32']());},_0x282208['verify']=function(_0x425e66){return'object'!=typeof _0x425e66||null===_0x425e66?'object\x20expected':null!=_0x425e66['revisionId']&&_0x425e66['hasOwnProperty']('revisionId')&&!_0xcc38bf['isString'](_0x425e66['revisionId'])?'revisionId:\x20string\x20expected':null!=_0x425e66['name']&&_0x425e66['hasOwnProperty']('name')&&!_0xcc38bf['isString'](_0x425e66['name'])?'name:\x20string\x20expected':null!=_0x425e66['creatorId']&&_0x425e66['hasOwnProperty']('creatorId')&&!_0xcc38bf['isString'](_0x425e66['creatorId'])?'creatorId:\x20string\x20expected':null!=_0x425e66['authorsIds']&&_0x425e66['hasOwnProperty']('authorsIds')&&!_0xcc38bf['isString'](_0x425e66['authorsIds'])?'authorsIds:\x20string\x20expected':null!=_0x425e66['diffData']&&_0x425e66['hasOwnProperty']('diffData')&&!_0xcc38bf['isString'](_0x425e66['diffData'])?'diffData:\x20string\x20expected':null!=_0x425e66['createdAt']&&_0x425e66['hasOwnProperty']('createdAt')&&!_0xcc38bf['isString'](_0x425e66['createdAt'])?'createdAt:\x20string\x20expected':null!=_0x425e66['attributes']&&_0x425e66['hasOwnProperty']('attributes')&&!_0xcc38bf['isString'](_0x425e66['attributes'])?'attributes:\x20string\x20expected':null!=_0x425e66['toVersion']&&_0x425e66['hasOwnProperty']('toVersion')&&!_0xcc38bf['isInteger'](_0x425e66['toVersion'])?'toVersion:\x20integer\x20expected':null!=_0x425e66['fromVersion']&&_0x425e66['hasOwnProperty']('fromVersion')&&!_0xcc38bf['isInteger'](_0x425e66['fromVersion'])?'fromVersion:\x20integer\x20expected':null!=_0x425e66['isEmptyCurrent']&&_0x425e66['hasOwnProperty']('isEmptyCurrent')&&'boolean'!=typeof _0x425e66['isEmptyCurrent']?'isEmptyCurrent:\x20boolean\x20expected':null;},_0x282208['fromObject']=function(_0xd24c8a){if(_0xd24c8a instanceof _0xd25805['RevisionHistoryGetRevisionResponse'])return _0xd24c8a;var _0x4a6214=new _0xd25805['RevisionHistoryGetRevisionResponse']();return null!=_0xd24c8a['revisionId']&&(_0x4a6214['revisionId']=String(_0xd24c8a['revisionId'])),null!=_0xd24c8a['name']&&(_0x4a6214['name']=String(_0xd24c8a['name'])),null!=_0xd24c8a['creatorId']&&(_0x4a6214['creatorId']=String(_0xd24c8a['creatorId'])),null!=_0xd24c8a['authorsIds']&&(_0x4a6214['authorsIds']=String(_0xd24c8a['authorsIds'])),null!=_0xd24c8a['diffData']&&(_0x4a6214['diffData']=String(_0xd24c8a['diffData'])),null!=_0xd24c8a['createdAt']&&(_0x4a6214['createdAt']=String(_0xd24c8a['createdAt'])),null!=_0xd24c8a['attributes']&&(_0x4a6214['attributes']=String(_0xd24c8a['attributes'])),null!=_0xd24c8a['toVersion']&&(_0x4a6214['toVersion']=_0xd24c8a['toVersion']>>>0x0),null!=_0xd24c8a['fromVersion']&&(_0x4a6214['fromVersion']=_0xd24c8a['fromVersion']>>>0x0),null!=_0xd24c8a['isEmptyCurrent']&&(_0x4a6214['isEmptyCurrent']=Boolean(_0xd24c8a['isEmptyCurrent'])),_0x4a6214;},_0x282208['toObject']=function(_0x2a1fce,_0x50fa7a){_0x50fa7a||(_0x50fa7a={});var _0x463528={};return _0x50fa7a['defaults']&&(_0x463528['revisionId']='',_0x463528['name']='',_0x463528['creatorId']='',_0x463528['authorsIds']='',_0x463528['diffData']='',_0x463528['createdAt']='',_0x463528['attributes']='',_0x463528['toVersion']=0x0,_0x463528['fromVersion']=0x0,_0x463528['isEmptyCurrent']=!0x1),null!=_0x2a1fce['revisionId']&&_0x2a1fce['hasOwnProperty']('revisionId')&&(_0x463528['revisionId']=_0x2a1fce['revisionId']),null!=_0x2a1fce['name']&&_0x2a1fce['hasOwnProperty']('name')&&(_0x463528['name']=_0x2a1fce['name']),null!=_0x2a1fce['creatorId']&&_0x2a1fce['hasOwnProperty']('creatorId')&&(_0x463528['creatorId']=_0x2a1fce['creatorId']),null!=_0x2a1fce['authorsIds']&&_0x2a1fce['hasOwnProperty']('authorsIds')&&(_0x463528['authorsIds']=_0x2a1fce['authorsIds']),null!=_0x2a1fce['diffData']&&_0x2a1fce['hasOwnProperty']('diffData')&&(_0x463528['diffData']=_0x2a1fce['diffData']),null!=_0x2a1fce['createdAt']&&_0x2a1fce['hasOwnProperty']('createdAt')&&(_0x463528['createdAt']=_0x2a1fce['createdAt']),null!=_0x2a1fce['attributes']&&_0x2a1fce['hasOwnProperty']('attributes')&&(_0x463528['attributes']=_0x2a1fce['attributes']),null!=_0x2a1fce['toVersion']&&_0x2a1fce['hasOwnProperty']('toVersion')&&(_0x463528['toVersion']=_0x2a1fce['toVersion']),null!=_0x2a1fce['fromVersion']&&_0x2a1fce['hasOwnProperty']('fromVersion')&&(_0x463528['fromVersion']=_0x2a1fce['fromVersion']),null!=_0x2a1fce['isEmptyCurrent']&&_0x2a1fce['hasOwnProperty']('isEmptyCurrent')&&(_0x463528['isEmptyCurrent']=_0x2a1fce['isEmptyCurrent']),_0x463528;},_0x282208['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x282208['getTypeUrl']=function(_0x4124dc){return void 0x0===_0x4124dc&&(_0x4124dc='type.googleapis.com'),_0x4124dc+'/RevisionHistoryGetRevisionResponse';},_0x282208;}()),_0xd25805['RevisionHistoryUpdateRevisionsResponse']=(function(){function _0x4afa12(_0x5b7058){if(_0x5b7058){for(var _0x2b5d4d=Object['keys'](_0x5b7058),_0x137d78=0x0;_0x137d78<_0x2b5d4d['length'];++_0x137d78)null!=_0x5b7058[_0x2b5d4d[_0x137d78]]&&(this[_0x2b5d4d[_0x137d78]]=_0x5b7058[_0x2b5d4d[_0x137d78]]);}}return _0x4afa12['prototype']['requestId']=0x0,_0x4afa12['create']=function(_0x198cfe){return new _0x4afa12(_0x198cfe);},_0x4afa12['encode']=function(_0x12f65e,_0x3c52fa){return _0x3c52fa||(_0x3c52fa=_0x1f8a63['create']()),null!=_0x12f65e['requestId']&&Object['hasOwnProperty']['call'](_0x12f65e,'requestId')&&_0x3c52fa['uint32'](0x8)['uint32'](_0x12f65e['requestId']),_0x3c52fa;},_0x4afa12['encodeDelimited']=function(_0x2db943,_0x577b2b){return this['encode'](_0x2db943,_0x577b2b)['ldelim']();},_0x4afa12['decode']=function(_0x189cd2,_0x159e17,_0x4778b6){_0x189cd2 instanceof _0x37c416||(_0x189cd2=_0x37c416['create'](_0x189cd2));for(var _0x5d06b7=void 0x0===_0x159e17?_0x189cd2['len']:_0x189cd2['pos']+_0x159e17,_0x5489ae=new _0xd25805['RevisionHistoryUpdateRevisionsResponse']();_0x189cd2['pos']<_0x5d06b7;){var _0x19148a=_0x189cd2['uint32']();if(_0x19148a===_0x4778b6)break;_0x19148a>>>0x3==0x1?_0x5489ae['requestId']=_0x189cd2['uint32']():_0x189cd2['skipType'](0x7&_0x19148a);}return _0x5489ae;},_0x4afa12['decodeDelimited']=function(_0x5481f6){return _0x5481f6 instanceof _0x37c416||(_0x5481f6=new _0x37c416(_0x5481f6)),this['decode'](_0x5481f6,_0x5481f6['uint32']());},_0x4afa12['verify']=function(_0x4cf984){return'object'!=typeof _0x4cf984||null===_0x4cf984?'object\x20expected':null!=_0x4cf984['requestId']&&_0x4cf984['hasOwnProperty']('requestId')&&!_0xcc38bf['isInteger'](_0x4cf984['requestId'])?'requestId:\x20integer\x20expected':null;},_0x4afa12['fromObject']=function(_0x576d82){if(_0x576d82 instanceof _0xd25805['RevisionHistoryUpdateRevisionsResponse'])return _0x576d82;var _0x1f8fd7=new _0xd25805['RevisionHistoryUpdateRevisionsResponse']();return null!=_0x576d82['requestId']&&(_0x1f8fd7['requestId']=_0x576d82['requestId']>>>0x0),_0x1f8fd7;},_0x4afa12['toObject']=function(_0x12b715,_0x44302a){_0x44302a||(_0x44302a={});var _0x4ed874={};return _0x44302a['defaults']&&(_0x4ed874['requestId']=0x0),null!=_0x12b715['requestId']&&_0x12b715['hasOwnProperty']('requestId')&&(_0x4ed874['requestId']=_0x12b715['requestId']),_0x4ed874;},_0x4afa12['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x4afa12['getTypeUrl']=function(_0x553c35){return void 0x0===_0x553c35&&(_0x553c35='type.googleapis.com'),_0x553c35+'/RevisionHistoryUpdateRevisionsResponse';},_0x4afa12;}()),_0xd25805['SessionsSocketDescriptor']=(function(){function _0x522372(_0x57fca8){if(this['permissions']=[],_0x57fca8){for(var _0x3df01b=Object['keys'](_0x57fca8),_0x203e85=0x0;_0x203e85<_0x3df01b['length'];++_0x203e85)null!=_0x57fca8[_0x3df01b[_0x203e85]]&&(this[_0x3df01b[_0x203e85]]=_0x57fca8[_0x3df01b[_0x203e85]]);}}return _0x522372['prototype']['session']='',_0x522372['prototype']['user']='',_0x522372['prototype']['role']='',_0x522372['prototype']['permissions']=_0xcc38bf['emptyArray'],_0x522372['create']=function(_0x1ce0f0){return new _0x522372(_0x1ce0f0);},_0x522372['encode']=function(_0x355190,_0x38b58c){if(_0x38b58c||(_0x38b58c=_0x1f8a63['create']()),null!=_0x355190['session']&&Object['hasOwnProperty']['call'](_0x355190,'session')&&_0x38b58c['uint32'](0xa)['string'](_0x355190['session']),null!=_0x355190['user']&&Object['hasOwnProperty']['call'](_0x355190,'user')&&_0x38b58c['uint32'](0x12)['string'](_0x355190['user']),null!=_0x355190['role']&&Object['hasOwnProperty']['call'](_0x355190,'role')&&_0x38b58c['uint32'](0x1a)['string'](_0x355190['role']),null!=_0x355190['permissions']&&_0x355190['permissions']['length']){for(var _0x453a86=0x0;_0x453a86<_0x355190['permissions']['length'];++_0x453a86)_0x38b58c['uint32'](0x22)['string'](_0x355190['permissions'][_0x453a86]);}return _0x38b58c;},_0x522372['encodeDelimited']=function(_0x4afb87,_0x4b33c7){return this['encode'](_0x4afb87,_0x4b33c7)['ldelim']();},_0x522372['decode']=function(_0xdd377c,_0x53841c,_0x10b498){_0xdd377c instanceof _0x37c416||(_0xdd377c=_0x37c416['create'](_0xdd377c));for(var _0x1e3a92=void 0x0===_0x53841c?_0xdd377c['len']:_0xdd377c['pos']+_0x53841c,_0x368830=new _0xd25805['SessionsSocketDescriptor']();_0xdd377c['pos']<_0x1e3a92;){var _0x453ff5=_0xdd377c['uint32']();if(_0x453ff5===_0x10b498)break;switch(_0x453ff5>>>0x3){case 0x1:_0x368830['session']=_0xdd377c['string']();break;case 0x2:_0x368830['user']=_0xdd377c['string']();break;case 0x3:_0x368830['role']=_0xdd377c['string']();break;case 0x4:_0x368830['permissions']&&_0x368830['permissions']['length']||(_0x368830['permissions']=[]),_0x368830['permissions']['push'](_0xdd377c['string']());break;default:_0xdd377c['skipType'](0x7&_0x453ff5);}}return _0x368830;},_0x522372['decodeDelimited']=function(_0x4836ab){return _0x4836ab instanceof _0x37c416||(_0x4836ab=new _0x37c416(_0x4836ab)),this['decode'](_0x4836ab,_0x4836ab['uint32']());},_0x522372['verify']=function(_0x6c9b5e){if('object'!=typeof _0x6c9b5e||null===_0x6c9b5e)return'object\x20expected';if(null!=_0x6c9b5e['session']&&_0x6c9b5e['hasOwnProperty']('session')&&!_0xcc38bf['isString'](_0x6c9b5e['session']))return'session:\x20string\x20expected';if(null!=_0x6c9b5e['user']&&_0x6c9b5e['hasOwnProperty']('user')&&!_0xcc38bf['isString'](_0x6c9b5e['user']))return'user:\x20string\x20expected';if(null!=_0x6c9b5e['role']&&_0x6c9b5e['hasOwnProperty']('role')&&!_0xcc38bf['isString'](_0x6c9b5e['role']))return'role:\x20string\x20expected';if(null!=_0x6c9b5e['permissions']&&_0x6c9b5e['hasOwnProperty']('permissions')){if(!Array['isArray'](_0x6c9b5e['permissions']))return'permissions:\x20array\x20expected';for(var _0x5d079b=0x0;_0x5d079b<_0x6c9b5e['permissions']['length'];++_0x5d079b)if(!_0xcc38bf['isString'](_0x6c9b5e['permissions'][_0x5d079b]))return'permissions:\x20string[]\x20expected';}return null;},_0x522372['fromObject']=function(_0x506886){if(_0x506886 instanceof _0xd25805['SessionsSocketDescriptor'])return _0x506886;var _0x30aad5=new _0xd25805['SessionsSocketDescriptor']();if(null!=_0x506886['session']&&(_0x30aad5['session']=String(_0x506886['session'])),null!=_0x506886['user']&&(_0x30aad5['user']=String(_0x506886['user'])),null!=_0x506886['role']&&(_0x30aad5['role']=String(_0x506886['role'])),_0x506886['permissions']){if(!Array['isArray'](_0x506886['permissions']))throw TypeError('.SessionsSocketDescriptor.permissions:\x20array\x20expected');_0x30aad5['permissions']=[];for(var _0x3a1fdf=0x0;_0x3a1fdf<_0x506886['permissions']['length'];++_0x3a1fdf)_0x30aad5['permissions'][_0x3a1fdf]=String(_0x506886['permissions'][_0x3a1fdf]);}return _0x30aad5;},_0x522372['toObject']=function(_0x140df1,_0x532b3f){_0x532b3f||(_0x532b3f={});var _0x432d88={};if((_0x532b3f['arrays']||_0x532b3f['defaults'])&&(_0x432d88['permissions']=[]),_0x532b3f['defaults']&&(_0x432d88['session']='',_0x432d88['user']='',_0x432d88['role']=''),null!=_0x140df1['session']&&_0x140df1['hasOwnProperty']('session')&&(_0x432d88['session']=_0x140df1['session']),null!=_0x140df1['user']&&_0x140df1['hasOwnProperty']('user')&&(_0x432d88['user']=_0x140df1['user']),null!=_0x140df1['role']&&_0x140df1['hasOwnProperty']('role')&&(_0x432d88['role']=_0x140df1['role']),_0x140df1['permissions']&&_0x140df1['permissions']['length']){_0x432d88['permissions']=[];for(var _0xf17a34=0x0;_0xf17a34<_0x140df1['permissions']['length'];++_0xf17a34)_0x432d88['permissions'][_0xf17a34]=_0x140df1['permissions'][_0xf17a34];}return _0x432d88;},_0x522372['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x522372['getTypeUrl']=function(_0x58967){return void 0x0===_0x58967&&(_0x58967='type.googleapis.com'),_0x58967+'/SessionsSocketDescriptor';},_0x522372;}()),_0xd25805['SessionsConnectMessage']=(function(){function _0x12e157(_0xebcc1b){if(_0xebcc1b){for(var _0x246cc3=Object['keys'](_0xebcc1b),_0x3fc3ab=0x0;_0x3fc3ab<_0x246cc3['length'];++_0x3fc3ab)null!=_0xebcc1b[_0x246cc3[_0x3fc3ab]]&&(this[_0x246cc3[_0x3fc3ab]]=_0xebcc1b[_0x246cc3[_0x3fc3ab]]);}}return _0x12e157['prototype']['id']='',_0x12e157['prototype']['sessionType']=0x0,_0x12e157['create']=function(_0x214a82){return new _0x12e157(_0x214a82);},_0x12e157['encode']=function(_0x336451,_0x22b259){return _0x22b259||(_0x22b259=_0x1f8a63['create']()),null!=_0x336451['id']&&Object['hasOwnProperty']['call'](_0x336451,'id')&&_0x22b259['uint32'](0xa)['string'](_0x336451['id']),null!=_0x336451['sessionType']&&Object['hasOwnProperty']['call'](_0x336451,'sessionType')&&_0x22b259['uint32'](0x10)['uint32'](_0x336451['sessionType']),_0x22b259;},_0x12e157['encodeDelimited']=function(_0x258313,_0x4a6463){return this['encode'](_0x258313,_0x4a6463)['ldelim']();},_0x12e157['decode']=function(_0x3a6cfe,_0x25c6f6,_0x5c1391){_0x3a6cfe instanceof _0x37c416||(_0x3a6cfe=_0x37c416['create'](_0x3a6cfe));for(var _0x306fde=void 0x0===_0x25c6f6?_0x3a6cfe['len']:_0x3a6cfe['pos']+_0x25c6f6,_0xc821e2=new _0xd25805['SessionsConnectMessage']();_0x3a6cfe['pos']<_0x306fde;){var _0x1b5f72=_0x3a6cfe['uint32']();if(_0x1b5f72===_0x5c1391)break;switch(_0x1b5f72>>>0x3){case 0x1:_0xc821e2['id']=_0x3a6cfe['string']();break;case 0x2:_0xc821e2['sessionType']=_0x3a6cfe['uint32']();break;default:_0x3a6cfe['skipType'](0x7&_0x1b5f72);}}return _0xc821e2;},_0x12e157['decodeDelimited']=function(_0x4bda82){return _0x4bda82 instanceof _0x37c416||(_0x4bda82=new _0x37c416(_0x4bda82)),this['decode'](_0x4bda82,_0x4bda82['uint32']());},_0x12e157['verify']=function(_0x408f17){return'object'!=typeof _0x408f17||null===_0x408f17?'object\x20expected':null!=_0x408f17['id']&&_0x408f17['hasOwnProperty']('id')&&!_0xcc38bf['isString'](_0x408f17['id'])?'id:\x20string\x20expected':null!=_0x408f17['sessionType']&&_0x408f17['hasOwnProperty']('sessionType')&&!_0xcc38bf['isInteger'](_0x408f17['sessionType'])?'sessionType:\x20integer\x20expected':null;},_0x12e157['fromObject']=function(_0x5c406a){if(_0x5c406a instanceof _0xd25805['SessionsConnectMessage'])return _0x5c406a;var _0x214221=new _0xd25805['SessionsConnectMessage']();return null!=_0x5c406a['id']&&(_0x214221['id']=String(_0x5c406a['id'])),null!=_0x5c406a['sessionType']&&(_0x214221['sessionType']=_0x5c406a['sessionType']>>>0x0),_0x214221;},_0x12e157['toObject']=function(_0x3598bf,_0x3b92bc){_0x3b92bc||(_0x3b92bc={});var _0x4c5604={};return _0x3b92bc['defaults']&&(_0x4c5604['id']='',_0x4c5604['sessionType']=0x0),null!=_0x3598bf['id']&&_0x3598bf['hasOwnProperty']('id')&&(_0x4c5604['id']=_0x3598bf['id']),null!=_0x3598bf['sessionType']&&_0x3598bf['hasOwnProperty']('sessionType')&&(_0x4c5604['sessionType']=_0x3598bf['sessionType']),_0x4c5604;},_0x12e157['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x12e157['getTypeUrl']=function(_0x59e6e2){return void 0x0===_0x59e6e2&&(_0x59e6e2='type.googleapis.com'),_0x59e6e2+'/SessionsConnectMessage';},_0x12e157;}()),_0xd25805['SocketConnectMessage']=(function(){function _0x5a85f7(_0x4c8bec){if(this['permissions']=[],_0x4c8bec){for(var _0x42f087=Object['keys'](_0x4c8bec),_0x517f06=0x0;_0x517f06<_0x42f087['length'];++_0x517f06)null!=_0x4c8bec[_0x42f087[_0x517f06]]&&(this[_0x42f087[_0x517f06]]=_0x4c8bec[_0x42f087[_0x517f06]]);}}return _0x5a85f7['prototype']['id']='',_0x5a85f7['prototype']['userId']='',_0x5a85f7['prototype']['role']='',_0x5a85f7['prototype']['permissions']=_0xcc38bf['emptyArray'],_0x5a85f7['create']=function(_0x3cceec){return new _0x5a85f7(_0x3cceec);},_0x5a85f7['encode']=function(_0x59dd1e,_0x55d10b){if(_0x55d10b||(_0x55d10b=_0x1f8a63['create']()),null!=_0x59dd1e['id']&&Object['hasOwnProperty']['call'](_0x59dd1e,'id')&&_0x55d10b['uint32'](0xa)['string'](_0x59dd1e['id']),null!=_0x59dd1e['userId']&&Object['hasOwnProperty']['call'](_0x59dd1e,'userId')&&_0x55d10b['uint32'](0x12)['string'](_0x59dd1e['userId']),null!=_0x59dd1e['role']&&Object['hasOwnProperty']['call'](_0x59dd1e,'role')&&_0x55d10b['uint32'](0x1a)['string'](_0x59dd1e['role']),null!=_0x59dd1e['permissions']&&_0x59dd1e['permissions']['length']){for(var _0x1b440d=0x0;_0x1b440d<_0x59dd1e['permissions']['length'];++_0x1b440d)_0x55d10b['uint32'](0x22)['string'](_0x59dd1e['permissions'][_0x1b440d]);}return _0x55d10b;},_0x5a85f7['encodeDelimited']=function(_0x20bd2b,_0x4d9dea){return this['encode'](_0x20bd2b,_0x4d9dea)['ldelim']();},_0x5a85f7['decode']=function(_0x18c423,_0x24228b,_0x46d3fb){_0x18c423 instanceof _0x37c416||(_0x18c423=_0x37c416['create'](_0x18c423));for(var _0x369e8d=void 0x0===_0x24228b?_0x18c423['len']:_0x18c423['pos']+_0x24228b,_0x23936a=new _0xd25805['SocketConnectMessage']();_0x18c423['pos']<_0x369e8d;){var _0x5925d5=_0x18c423['uint32']();if(_0x5925d5===_0x46d3fb)break;switch(_0x5925d5>>>0x3){case 0x1:_0x23936a['id']=_0x18c423['string']();break;case 0x2:_0x23936a['userId']=_0x18c423['string']();break;case 0x3:_0x23936a['role']=_0x18c423['string']();break;case 0x4:_0x23936a['permissions']&&_0x23936a['permissions']['length']||(_0x23936a['permissions']=[]),_0x23936a['permissions']['push'](_0x18c423['string']());break;default:_0x18c423['skipType'](0x7&_0x5925d5);}}return _0x23936a;},_0x5a85f7['decodeDelimited']=function(_0x2a8c00){return _0x2a8c00 instanceof _0x37c416||(_0x2a8c00=new _0x37c416(_0x2a8c00)),this['decode'](_0x2a8c00,_0x2a8c00['uint32']());},_0x5a85f7['verify']=function(_0x15d49e){if('object'!=typeof _0x15d49e||null===_0x15d49e)return'object\x20expected';if(null!=_0x15d49e['id']&&_0x15d49e['hasOwnProperty']('id')&&!_0xcc38bf['isString'](_0x15d49e['id']))return'id:\x20string\x20expected';if(null!=_0x15d49e['userId']&&_0x15d49e['hasOwnProperty']('userId')&&!_0xcc38bf['isString'](_0x15d49e['userId']))return'userId:\x20string\x20expected';if(null!=_0x15d49e['role']&&_0x15d49e['hasOwnProperty']('role')&&!_0xcc38bf['isString'](_0x15d49e['role']))return'role:\x20string\x20expected';if(null!=_0x15d49e['permissions']&&_0x15d49e['hasOwnProperty']('permissions')){if(!Array['isArray'](_0x15d49e['permissions']))return'permissions:\x20array\x20expected';for(var _0x321acb=0x0;_0x321acb<_0x15d49e['permissions']['length'];++_0x321acb)if(!_0xcc38bf['isString'](_0x15d49e['permissions'][_0x321acb]))return'permissions:\x20string[]\x20expected';}return null;},_0x5a85f7['fromObject']=function(_0x2b45d1){if(_0x2b45d1 instanceof _0xd25805['SocketConnectMessage'])return _0x2b45d1;var _0x3f3852=new _0xd25805['SocketConnectMessage']();if(null!=_0x2b45d1['id']&&(_0x3f3852['id']=String(_0x2b45d1['id'])),null!=_0x2b45d1['userId']&&(_0x3f3852['userId']=String(_0x2b45d1['userId'])),null!=_0x2b45d1['role']&&(_0x3f3852['role']=String(_0x2b45d1['role'])),_0x2b45d1['permissions']){if(!Array['isArray'](_0x2b45d1['permissions']))throw TypeError('.SocketConnectMessage.permissions:\x20array\x20expected');_0x3f3852['permissions']=[];for(var _0x389c37=0x0;_0x389c37<_0x2b45d1['permissions']['length'];++_0x389c37)_0x3f3852['permissions'][_0x389c37]=String(_0x2b45d1['permissions'][_0x389c37]);}return _0x3f3852;},_0x5a85f7['toObject']=function(_0xcb76f5,_0x4f5966){_0x4f5966||(_0x4f5966={});var _0x483926={};if((_0x4f5966['arrays']||_0x4f5966['defaults'])&&(_0x483926['permissions']=[]),_0x4f5966['defaults']&&(_0x483926['id']='',_0x483926['userId']='',_0x483926['role']=''),null!=_0xcb76f5['id']&&_0xcb76f5['hasOwnProperty']('id')&&(_0x483926['id']=_0xcb76f5['id']),null!=_0xcb76f5['userId']&&_0xcb76f5['hasOwnProperty']('userId')&&(_0x483926['userId']=_0xcb76f5['userId']),null!=_0xcb76f5['role']&&_0xcb76f5['hasOwnProperty']('role')&&(_0x483926['role']=_0xcb76f5['role']),_0xcb76f5['permissions']&&_0xcb76f5['permissions']['length']){_0x483926['permissions']=[];for(var _0x48db15=0x0;_0x48db15<_0xcb76f5['permissions']['length'];++_0x48db15)_0x483926['permissions'][_0x48db15]=_0xcb76f5['permissions'][_0x48db15];}return _0x483926;},_0x5a85f7['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x5a85f7['getTypeUrl']=function(_0x491b33){return void 0x0===_0x491b33&&(_0x491b33='type.googleapis.com'),_0x491b33+'/SocketConnectMessage';},_0x5a85f7;}()),_0xd25805['SocketDisconnectMessage']=(function(){function _0x50a63c(_0x1d4dc1){if(_0x1d4dc1){for(var _0x585556=Object['keys'](_0x1d4dc1),_0x17b17a=0x0;_0x17b17a<_0x585556['length'];++_0x17b17a)null!=_0x1d4dc1[_0x585556[_0x17b17a]]&&(this[_0x585556[_0x17b17a]]=_0x1d4dc1[_0x585556[_0x17b17a]]);}}return _0x50a63c['prototype']['id']='',_0x50a63c['create']=function(_0x48a81e){return new _0x50a63c(_0x48a81e);},_0x50a63c['encode']=function(_0x397548,_0x107356){return _0x107356||(_0x107356=_0x1f8a63['create']()),null!=_0x397548['id']&&Object['hasOwnProperty']['call'](_0x397548,'id')&&_0x107356['uint32'](0xa)['string'](_0x397548['id']),_0x107356;},_0x50a63c['encodeDelimited']=function(_0x324f0e,_0x5f371d){return this['encode'](_0x324f0e,_0x5f371d)['ldelim']();},_0x50a63c['decode']=function(_0x1db1e4,_0x259dc4,_0xa4b46d){_0x1db1e4 instanceof _0x37c416||(_0x1db1e4=_0x37c416['create'](_0x1db1e4));for(var _0x4bc8e9=void 0x0===_0x259dc4?_0x1db1e4['len']:_0x1db1e4['pos']+_0x259dc4,_0x1fc34b=new _0xd25805['SocketDisconnectMessage']();_0x1db1e4['pos']<_0x4bc8e9;){var _0x166e52=_0x1db1e4['uint32']();if(_0x166e52===_0xa4b46d)break;_0x166e52>>>0x3==0x1?_0x1fc34b['id']=_0x1db1e4['string']():_0x1db1e4['skipType'](0x7&_0x166e52);}return _0x1fc34b;},_0x50a63c['decodeDelimited']=function(_0x27b8eb){return _0x27b8eb instanceof _0x37c416||(_0x27b8eb=new _0x37c416(_0x27b8eb)),this['decode'](_0x27b8eb,_0x27b8eb['uint32']());},_0x50a63c['verify']=function(_0x420247){return'object'!=typeof _0x420247||null===_0x420247?'object\x20expected':null!=_0x420247['id']&&_0x420247['hasOwnProperty']('id')&&!_0xcc38bf['isString'](_0x420247['id'])?'id:\x20string\x20expected':null;},_0x50a63c['fromObject']=function(_0x317611){if(_0x317611 instanceof _0xd25805['SocketDisconnectMessage'])return _0x317611;var _0x2abcf4=new _0xd25805['SocketDisconnectMessage']();return null!=_0x317611['id']&&(_0x2abcf4['id']=String(_0x317611['id'])),_0x2abcf4;},_0x50a63c['toObject']=function(_0x4d7e7f,_0x4942ae){_0x4942ae||(_0x4942ae={});var _0x2b3a4a={};return _0x4942ae['defaults']&&(_0x2b3a4a['id']=''),null!=_0x4d7e7f['id']&&_0x4d7e7f['hasOwnProperty']('id')&&(_0x2b3a4a['id']=_0x4d7e7f['id']),_0x2b3a4a;},_0x50a63c['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x50a63c['getTypeUrl']=function(_0x20db86){return void 0x0===_0x20db86&&(_0x20db86='type.googleapis.com'),_0x20db86+'/SocketDisconnectMessage';},_0x50a63c;}()),_0xd25805['SessionsConnectResponse']=(function(){function _0x443c3c(_0x2dabf2){if(this['sockets']=[],_0x2dabf2){for(var _0x1eebf7=Object['keys'](_0x2dabf2),_0x58cd5a=0x0;_0x58cd5a<_0x1eebf7['length'];++_0x58cd5a)null!=_0x2dabf2[_0x1eebf7[_0x58cd5a]]&&(this[_0x1eebf7[_0x58cd5a]]=_0x2dabf2[_0x1eebf7[_0x58cd5a]]);}}return _0x443c3c['prototype']['channel']='',_0x443c3c['prototype']['sockets']=_0xcc38bf['emptyArray'],_0x443c3c['create']=function(_0x2ab8cf){return new _0x443c3c(_0x2ab8cf);},_0x443c3c['encode']=function(_0x200996,_0x49d453){if(_0x49d453||(_0x49d453=_0x1f8a63['create']()),null!=_0x200996['channel']&&Object['hasOwnProperty']['call'](_0x200996,'channel')&&_0x49d453['uint32'](0xa)['string'](_0x200996['channel']),null!=_0x200996['sockets']&&_0x200996['sockets']['length']){for(var _0x4cebc6=0x0;_0x4cebc6<_0x200996['sockets']['length'];++_0x4cebc6)_0xd25805['SessionsSocketDescriptor']['encode'](_0x200996['sockets'][_0x4cebc6],_0x49d453['uint32'](0x12)['fork']())['ldelim']();}return _0x49d453;},_0x443c3c['encodeDelimited']=function(_0x53df93,_0x5f4a6b){return this['encode'](_0x53df93,_0x5f4a6b)['ldelim']();},_0x443c3c['decode']=function(_0x24f74c,_0x4f65ba,_0x49db38){_0x24f74c instanceof _0x37c416||(_0x24f74c=_0x37c416['create'](_0x24f74c));for(var _0x4e1e39=void 0x0===_0x4f65ba?_0x24f74c['len']:_0x24f74c['pos']+_0x4f65ba,_0x2403a6=new _0xd25805['SessionsConnectResponse']();_0x24f74c['pos']<_0x4e1e39;){var _0x177b6a=_0x24f74c['uint32']();if(_0x177b6a===_0x49db38)break;switch(_0x177b6a>>>0x3){case 0x1:_0x2403a6['channel']=_0x24f74c['string']();break;case 0x2:_0x2403a6['sockets']&&_0x2403a6['sockets']['length']||(_0x2403a6['sockets']=[]),_0x2403a6['sockets']['push'](_0xd25805['SessionsSocketDescriptor']['decode'](_0x24f74c,_0x24f74c['uint32']()));break;default:_0x24f74c['skipType'](0x7&_0x177b6a);}}return _0x2403a6;},_0x443c3c['decodeDelimited']=function(_0x50d536){return _0x50d536 instanceof _0x37c416||(_0x50d536=new _0x37c416(_0x50d536)),this['decode'](_0x50d536,_0x50d536['uint32']());},_0x443c3c['verify']=function(_0x40bc3b){if('object'!=typeof _0x40bc3b||null===_0x40bc3b)return'object\x20expected';if(null!=_0x40bc3b['channel']&&_0x40bc3b['hasOwnProperty']('channel')&&!_0xcc38bf['isString'](_0x40bc3b['channel']))return'channel:\x20string\x20expected';if(null!=_0x40bc3b['sockets']&&_0x40bc3b['hasOwnProperty']('sockets')){if(!Array['isArray'](_0x40bc3b['sockets']))return'sockets:\x20array\x20expected';for(var _0x76e700=0x0;_0x76e700<_0x40bc3b['sockets']['length'];++_0x76e700){var _0x189c04=_0xd25805['SessionsSocketDescriptor']['verify'](_0x40bc3b['sockets'][_0x76e700]);if(_0x189c04)return'sockets.'+_0x189c04;}}return null;},_0x443c3c['fromObject']=function(_0x30862b){if(_0x30862b instanceof _0xd25805['SessionsConnectResponse'])return _0x30862b;var _0x45c729=new _0xd25805['SessionsConnectResponse']();if(null!=_0x30862b['channel']&&(_0x45c729['channel']=String(_0x30862b['channel'])),_0x30862b['sockets']){if(!Array['isArray'](_0x30862b['sockets']))throw TypeError('.SessionsConnectResponse.sockets:\x20array\x20expected');_0x45c729['sockets']=[];for(var _0x2167a5=0x0;_0x2167a5<_0x30862b['sockets']['length'];++_0x2167a5){if('object'!=typeof _0x30862b['sockets'][_0x2167a5])throw TypeError('.SessionsConnectResponse.sockets:\x20object\x20expected');_0x45c729['sockets'][_0x2167a5]=_0xd25805['SessionsSocketDescriptor']['fromObject'](_0x30862b['sockets'][_0x2167a5]);}}return _0x45c729;},_0x443c3c['toObject']=function(_0x481f75,_0x37a098){_0x37a098||(_0x37a098={});var _0x2ec9c6={};if((_0x37a098['arrays']||_0x37a098['defaults'])&&(_0x2ec9c6['sockets']=[]),_0x37a098['defaults']&&(_0x2ec9c6['channel']=''),null!=_0x481f75['channel']&&_0x481f75['hasOwnProperty']('channel')&&(_0x2ec9c6['channel']=_0x481f75['channel']),_0x481f75['sockets']&&_0x481f75['sockets']['length']){_0x2ec9c6['sockets']=[];for(var _0xb14c51=0x0;_0xb14c51<_0x481f75['sockets']['length'];++_0xb14c51)_0x2ec9c6['sockets'][_0xb14c51]=_0xd25805['SessionsSocketDescriptor']['toObject'](_0x481f75['sockets'][_0xb14c51],_0x37a098);}return _0x2ec9c6;},_0x443c3c['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x443c3c['getTypeUrl']=function(_0x4a62fe){return void 0x0===_0x4a62fe&&(_0x4a62fe='type.googleapis.com'),_0x4a62fe+'/SessionsConnectResponse';},_0x443c3c;}()),_0xd25805['SuggestionDescriptor']=(function(){function _0x3b1d6c(_0x4edc6a){if(_0x4edc6a){for(var _0x34f3d7=Object['keys'](_0x4edc6a),_0x1d64e1=0x0;_0x1d64e1<_0x34f3d7['length'];++_0x1d64e1)null!=_0x4edc6a[_0x34f3d7[_0x1d64e1]]&&(this[_0x34f3d7[_0x1d64e1]]=_0x4edc6a[_0x34f3d7[_0x1d64e1]]);}}return _0x3b1d6c['prototype']['id']='',_0x3b1d6c['prototype']['authorId']='',_0x3b1d6c['prototype']['type']='',_0x3b1d6c['prototype']['createdAt']='',_0x3b1d6c['prototype']['data']='',_0x3b1d6c['prototype']['hasComments']=!0x1,_0x3b1d6c['prototype']['state']='',_0x3b1d6c['prototype']['attributes']='',_0x3b1d6c['create']=function(_0x439e3d){return new _0x3b1d6c(_0x439e3d);},_0x3b1d6c['encode']=function(_0xf71079,_0x4aac67){return _0x4aac67||(_0x4aac67=_0x1f8a63['create']()),null!=_0xf71079['id']&&Object['hasOwnProperty']['call'](_0xf71079,'id')&&_0x4aac67['uint32'](0xa)['string'](_0xf71079['id']),null!=_0xf71079['authorId']&&Object['hasOwnProperty']['call'](_0xf71079,'authorId')&&_0x4aac67['uint32'](0x12)['string'](_0xf71079['authorId']),null!=_0xf71079['type']&&Object['hasOwnProperty']['call'](_0xf71079,'type')&&_0x4aac67['uint32'](0x1a)['string'](_0xf71079['type']),null!=_0xf71079['createdAt']&&Object['hasOwnProperty']['call'](_0xf71079,'createdAt')&&_0x4aac67['uint32'](0x22)['string'](_0xf71079['createdAt']),null!=_0xf71079['data']&&Object['hasOwnProperty']['call'](_0xf71079,'data')&&_0x4aac67['uint32'](0x2a)['string'](_0xf71079['data']),null!=_0xf71079['hasComments']&&Object['hasOwnProperty']['call'](_0xf71079,'hasComments')&&_0x4aac67['uint32'](0x30)['bool'](_0xf71079['hasComments']),null!=_0xf71079['state']&&Object['hasOwnProperty']['call'](_0xf71079,'state')&&_0x4aac67['uint32'](0x3a)['string'](_0xf71079['state']),null!=_0xf71079['attributes']&&Object['hasOwnProperty']['call'](_0xf71079,'attributes')&&_0x4aac67['uint32'](0x42)['string'](_0xf71079['attributes']),_0x4aac67;},_0x3b1d6c['encodeDelimited']=function(_0x49f008,_0x3e7e7f){return this['encode'](_0x49f008,_0x3e7e7f)['ldelim']();},_0x3b1d6c['decode']=function(_0x1c6a6b,_0x1f73d0,_0x5c9cd5){_0x1c6a6b instanceof _0x37c416||(_0x1c6a6b=_0x37c416['create'](_0x1c6a6b));for(var _0x3ae98d=void 0x0===_0x1f73d0?_0x1c6a6b['len']:_0x1c6a6b['pos']+_0x1f73d0,_0x4210f7=new _0xd25805['SuggestionDescriptor']();_0x1c6a6b['pos']<_0x3ae98d;){var _0x289781=_0x1c6a6b['uint32']();if(_0x289781===_0x5c9cd5)break;switch(_0x289781>>>0x3){case 0x1:_0x4210f7['id']=_0x1c6a6b['string']();break;case 0x2:_0x4210f7['authorId']=_0x1c6a6b['string']();break;case 0x3:_0x4210f7['type']=_0x1c6a6b['string']();break;case 0x4:_0x4210f7['createdAt']=_0x1c6a6b['string']();break;case 0x5:_0x4210f7['data']=_0x1c6a6b['string']();break;case 0x6:_0x4210f7['hasComments']=_0x1c6a6b['bool']();break;case 0x7:_0x4210f7['state']=_0x1c6a6b['string']();break;case 0x8:_0x4210f7['attributes']=_0x1c6a6b['string']();break;default:_0x1c6a6b['skipType'](0x7&_0x289781);}}return _0x4210f7;},_0x3b1d6c['decodeDelimited']=function(_0x1104e3){return _0x1104e3 instanceof _0x37c416||(_0x1104e3=new _0x37c416(_0x1104e3)),this['decode'](_0x1104e3,_0x1104e3['uint32']());},_0x3b1d6c['verify']=function(_0x5e538b){return'object'!=typeof _0x5e538b||null===_0x5e538b?'object\x20expected':null!=_0x5e538b['id']&&_0x5e538b['hasOwnProperty']('id')&&!_0xcc38bf['isString'](_0x5e538b['id'])?'id:\x20string\x20expected':null!=_0x5e538b['authorId']&&_0x5e538b['hasOwnProperty']('authorId')&&!_0xcc38bf['isString'](_0x5e538b['authorId'])?'authorId:\x20string\x20expected':null!=_0x5e538b['type']&&_0x5e538b['hasOwnProperty']('type')&&!_0xcc38bf['isString'](_0x5e538b['type'])?'type:\x20string\x20expected':null!=_0x5e538b['createdAt']&&_0x5e538b['hasOwnProperty']('createdAt')&&!_0xcc38bf['isString'](_0x5e538b['createdAt'])?'createdAt:\x20string\x20expected':null!=_0x5e538b['data']&&_0x5e538b['hasOwnProperty']('data')&&!_0xcc38bf['isString'](_0x5e538b['data'])?'data:\x20string\x20expected':null!=_0x5e538b['hasComments']&&_0x5e538b['hasOwnProperty']('hasComments')&&'boolean'!=typeof _0x5e538b['hasComments']?'hasComments:\x20boolean\x20expected':null!=_0x5e538b['state']&&_0x5e538b['hasOwnProperty']('state')&&!_0xcc38bf['isString'](_0x5e538b['state'])?'state:\x20string\x20expected':null!=_0x5e538b['attributes']&&_0x5e538b['hasOwnProperty']('attributes')&&!_0xcc38bf['isString'](_0x5e538b['attributes'])?'attributes:\x20string\x20expected':null;},_0x3b1d6c['fromObject']=function(_0x5d3b00){if(_0x5d3b00 instanceof _0xd25805['SuggestionDescriptor'])return _0x5d3b00;var _0x2d4e1d=new _0xd25805['SuggestionDescriptor']();return null!=_0x5d3b00['id']&&(_0x2d4e1d['id']=String(_0x5d3b00['id'])),null!=_0x5d3b00['authorId']&&(_0x2d4e1d['authorId']=String(_0x5d3b00['authorId'])),null!=_0x5d3b00['type']&&(_0x2d4e1d['type']=String(_0x5d3b00['type'])),null!=_0x5d3b00['createdAt']&&(_0x2d4e1d['createdAt']=String(_0x5d3b00['createdAt'])),null!=_0x5d3b00['data']&&(_0x2d4e1d['data']=String(_0x5d3b00['data'])),null!=_0x5d3b00['hasComments']&&(_0x2d4e1d['hasComments']=Boolean(_0x5d3b00['hasComments'])),null!=_0x5d3b00['state']&&(_0x2d4e1d['state']=String(_0x5d3b00['state'])),null!=_0x5d3b00['attributes']&&(_0x2d4e1d['attributes']=String(_0x5d3b00['attributes'])),_0x2d4e1d;},_0x3b1d6c['toObject']=function(_0x120db1,_0x35c731){_0x35c731||(_0x35c731={});var _0x23f90b={};return _0x35c731['defaults']&&(_0x23f90b['id']='',_0x23f90b['authorId']='',_0x23f90b['type']='',_0x23f90b['createdAt']='',_0x23f90b['data']='',_0x23f90b['hasComments']=!0x1,_0x23f90b['state']='',_0x23f90b['attributes']=''),null!=_0x120db1['id']&&_0x120db1['hasOwnProperty']('id')&&(_0x23f90b['id']=_0x120db1['id']),null!=_0x120db1['authorId']&&_0x120db1['hasOwnProperty']('authorId')&&(_0x23f90b['authorId']=_0x120db1['authorId']),null!=_0x120db1['type']&&_0x120db1['hasOwnProperty']('type')&&(_0x23f90b['type']=_0x120db1['type']),null!=_0x120db1['createdAt']&&_0x120db1['hasOwnProperty']('createdAt')&&(_0x23f90b['createdAt']=_0x120db1['createdAt']),null!=_0x120db1['data']&&_0x120db1['hasOwnProperty']('data')&&(_0x23f90b['data']=_0x120db1['data']),null!=_0x120db1['hasComments']&&_0x120db1['hasOwnProperty']('hasComments')&&(_0x23f90b['hasComments']=_0x120db1['hasComments']),null!=_0x120db1['state']&&_0x120db1['hasOwnProperty']('state')&&(_0x23f90b['state']=_0x120db1['state']),null!=_0x120db1['attributes']&&_0x120db1['hasOwnProperty']('attributes')&&(_0x23f90b['attributes']=_0x120db1['attributes']),_0x23f90b;},_0x3b1d6c['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x3b1d6c['getTypeUrl']=function(_0x571e4e){return void 0x0===_0x571e4e&&(_0x571e4e='type.googleapis.com'),_0x571e4e+'/SuggestionDescriptor';},_0x3b1d6c;}()),_0xd25805['TrackChangesAddSuggestionMessage']=(function(){function _0x15ded5(_0x44a03c){if(_0x44a03c){for(var _0x2385e3=Object['keys'](_0x44a03c),_0x5f8920=0x0;_0x5f8920<_0x2385e3['length'];++_0x5f8920)null!=_0x44a03c[_0x2385e3[_0x5f8920]]&&(this[_0x2385e3[_0x5f8920]]=_0x44a03c[_0x2385e3[_0x5f8920]]);}}return _0x15ded5['prototype']['id']='',_0x15ded5['prototype']['documentId']='',_0x15ded5['prototype']['type']='',_0x15ded5['prototype']['data']='',_0x15ded5['prototype']['originalSuggestionId']='',_0x15ded5['prototype']['attributes']='',_0x15ded5['create']=function(_0x3ad078){return new _0x15ded5(_0x3ad078);},_0x15ded5['encode']=function(_0x44685f,_0x4d44d1){return _0x4d44d1||(_0x4d44d1=_0x1f8a63['create']()),null!=_0x44685f['id']&&Object['hasOwnProperty']['call'](_0x44685f,'id')&&_0x4d44d1['uint32'](0xa)['string'](_0x44685f['id']),null!=_0x44685f['documentId']&&Object['hasOwnProperty']['call'](_0x44685f,'documentId')&&_0x4d44d1['uint32'](0x12)['string'](_0x44685f['documentId']),null!=_0x44685f['type']&&Object['hasOwnProperty']['call'](_0x44685f,'type')&&_0x4d44d1['uint32'](0x1a)['string'](_0x44685f['type']),null!=_0x44685f['data']&&Object['hasOwnProperty']['call'](_0x44685f,'data')&&_0x4d44d1['uint32'](0x22)['string'](_0x44685f['data']),null!=_0x44685f['originalSuggestionId']&&Object['hasOwnProperty']['call'](_0x44685f,'originalSuggestionId')&&_0x4d44d1['uint32'](0x2a)['string'](_0x44685f['originalSuggestionId']),null!=_0x44685f['attributes']&&Object['hasOwnProperty']['call'](_0x44685f,'attributes')&&_0x4d44d1['uint32'](0x32)['string'](_0x44685f['attributes']),_0x4d44d1;},_0x15ded5['encodeDelimited']=function(_0x52034c,_0x534b3a){return this['encode'](_0x52034c,_0x534b3a)['ldelim']();},_0x15ded5['decode']=function(_0x5cd192,_0x21c967,_0x1fc57d){_0x5cd192 instanceof _0x37c416||(_0x5cd192=_0x37c416['create'](_0x5cd192));for(var _0x5254b1=void 0x0===_0x21c967?_0x5cd192['len']:_0x5cd192['pos']+_0x21c967,_0x45e963=new _0xd25805['TrackChangesAddSuggestionMessage']();_0x5cd192['pos']<_0x5254b1;){var _0x27998d=_0x5cd192['uint32']();if(_0x27998d===_0x1fc57d)break;switch(_0x27998d>>>0x3){case 0x1:_0x45e963['id']=_0x5cd192['string']();break;case 0x2:_0x45e963['documentId']=_0x5cd192['string']();break;case 0x3:_0x45e963['type']=_0x5cd192['string']();break;case 0x4:_0x45e963['data']=_0x5cd192['string']();break;case 0x5:_0x45e963['originalSuggestionId']=_0x5cd192['string']();break;case 0x6:_0x45e963['attributes']=_0x5cd192['string']();break;default:_0x5cd192['skipType'](0x7&_0x27998d);}}return _0x45e963;},_0x15ded5['decodeDelimited']=function(_0x253b36){return _0x253b36 instanceof _0x37c416||(_0x253b36=new _0x37c416(_0x253b36)),this['decode'](_0x253b36,_0x253b36['uint32']());},_0x15ded5['verify']=function(_0x3b9e0a){return'object'!=typeof _0x3b9e0a||null===_0x3b9e0a?'object\x20expected':null!=_0x3b9e0a['id']&&_0x3b9e0a['hasOwnProperty']('id')&&!_0xcc38bf['isString'](_0x3b9e0a['id'])?'id:\x20string\x20expected':null!=_0x3b9e0a['documentId']&&_0x3b9e0a['hasOwnProperty']('documentId')&&!_0xcc38bf['isString'](_0x3b9e0a['documentId'])?'documentId:\x20string\x20expected':null!=_0x3b9e0a['type']&&_0x3b9e0a['hasOwnProperty']('type')&&!_0xcc38bf['isString'](_0x3b9e0a['type'])?'type:\x20string\x20expected':null!=_0x3b9e0a['data']&&_0x3b9e0a['hasOwnProperty']('data')&&!_0xcc38bf['isString'](_0x3b9e0a['data'])?'data:\x20string\x20expected':null!=_0x3b9e0a['originalSuggestionId']&&_0x3b9e0a['hasOwnProperty']('originalSuggestionId')&&!_0xcc38bf['isString'](_0x3b9e0a['originalSuggestionId'])?'originalSuggestionId:\x20string\x20expected':null!=_0x3b9e0a['attributes']&&_0x3b9e0a['hasOwnProperty']('attributes')&&!_0xcc38bf['isString'](_0x3b9e0a['attributes'])?'attributes:\x20string\x20expected':null;},_0x15ded5['fromObject']=function(_0x2ead88){if(_0x2ead88 instanceof _0xd25805['TrackChangesAddSuggestionMessage'])return _0x2ead88;var _0x14592e=new _0xd25805['TrackChangesAddSuggestionMessage']();return null!=_0x2ead88['id']&&(_0x14592e['id']=String(_0x2ead88['id'])),null!=_0x2ead88['documentId']&&(_0x14592e['documentId']=String(_0x2ead88['documentId'])),null!=_0x2ead88['type']&&(_0x14592e['type']=String(_0x2ead88['type'])),null!=_0x2ead88['data']&&(_0x14592e['data']=String(_0x2ead88['data'])),null!=_0x2ead88['originalSuggestionId']&&(_0x14592e['originalSuggestionId']=String(_0x2ead88['originalSuggestionId'])),null!=_0x2ead88['attributes']&&(_0x14592e['attributes']=String(_0x2ead88['attributes'])),_0x14592e;},_0x15ded5['toObject']=function(_0x381534,_0x268f14){_0x268f14||(_0x268f14={});var _0x671f44={};return _0x268f14['defaults']&&(_0x671f44['id']='',_0x671f44['documentId']='',_0x671f44['type']='',_0x671f44['data']='',_0x671f44['originalSuggestionId']='',_0x671f44['attributes']=''),null!=_0x381534['id']&&_0x381534['hasOwnProperty']('id')&&(_0x671f44['id']=_0x381534['id']),null!=_0x381534['documentId']&&_0x381534['hasOwnProperty']('documentId')&&(_0x671f44['documentId']=_0x381534['documentId']),null!=_0x381534['type']&&_0x381534['hasOwnProperty']('type')&&(_0x671f44['type']=_0x381534['type']),null!=_0x381534['data']&&_0x381534['hasOwnProperty']('data')&&(_0x671f44['data']=_0x381534['data']),null!=_0x381534['originalSuggestionId']&&_0x381534['hasOwnProperty']('originalSuggestionId')&&(_0x671f44['originalSuggestionId']=_0x381534['originalSuggestionId']),null!=_0x381534['attributes']&&_0x381534['hasOwnProperty']('attributes')&&(_0x671f44['attributes']=_0x381534['attributes']),_0x671f44;},_0x15ded5['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x15ded5['getTypeUrl']=function(_0x3530d1){return void 0x0===_0x3530d1&&(_0x3530d1='type.googleapis.com'),_0x3530d1+'/TrackChangesAddSuggestionMessage';},_0x15ded5;}()),_0xd25805['TrackChangesBatchUpdateSuggestionsStateMessage']=(function(){function _0x36fe0c(_0x4b104e){if(this['ids']=[],_0x4b104e){for(var _0x1d3101=Object['keys'](_0x4b104e),_0x253910=0x0;_0x253910<_0x1d3101['length'];++_0x253910)null!=_0x4b104e[_0x1d3101[_0x253910]]&&(this[_0x1d3101[_0x253910]]=_0x4b104e[_0x1d3101[_0x253910]]);}}return _0x36fe0c['prototype']['ids']=_0xcc38bf['emptyArray'],_0x36fe0c['prototype']['documentId']='',_0x36fe0c['prototype']['state']='',_0x36fe0c['create']=function(_0x237b82){return new _0x36fe0c(_0x237b82);},_0x36fe0c['encode']=function(_0xa20184,_0x5b17d9){if(_0x5b17d9||(_0x5b17d9=_0x1f8a63['create']()),null!=_0xa20184['ids']&&_0xa20184['ids']['length']){for(var _0x427943=0x0;_0x427943<_0xa20184['ids']['length'];++_0x427943)_0x5b17d9['uint32'](0xa)['string'](_0xa20184['ids'][_0x427943]);}return null!=_0xa20184['documentId']&&Object['hasOwnProperty']['call'](_0xa20184,'documentId')&&_0x5b17d9['uint32'](0x12)['string'](_0xa20184['documentId']),null!=_0xa20184['state']&&Object['hasOwnProperty']['call'](_0xa20184,'state')&&_0x5b17d9['uint32'](0x1a)['string'](_0xa20184['state']),_0x5b17d9;},_0x36fe0c['encodeDelimited']=function(_0x20f172,_0x33a3ef){return this['encode'](_0x20f172,_0x33a3ef)['ldelim']();},_0x36fe0c['decode']=function(_0x5c202a,_0x3b2f04,_0x5a62ed){_0x5c202a instanceof _0x37c416||(_0x5c202a=_0x37c416['create'](_0x5c202a));for(var _0x4f9ed6=void 0x0===_0x3b2f04?_0x5c202a['len']:_0x5c202a['pos']+_0x3b2f04,_0x3be18c=new _0xd25805['TrackChangesBatchUpdateSuggestionsStateMessage']();_0x5c202a['pos']<_0x4f9ed6;){var _0x5984e5=_0x5c202a['uint32']();if(_0x5984e5===_0x5a62ed)break;switch(_0x5984e5>>>0x3){case 0x1:_0x3be18c['ids']&&_0x3be18c['ids']['length']||(_0x3be18c['ids']=[]),_0x3be18c['ids']['push'](_0x5c202a['string']());break;case 0x2:_0x3be18c['documentId']=_0x5c202a['string']();break;case 0x3:_0x3be18c['state']=_0x5c202a['string']();break;default:_0x5c202a['skipType'](0x7&_0x5984e5);}}return _0x3be18c;},_0x36fe0c['decodeDelimited']=function(_0x4e2287){return _0x4e2287 instanceof _0x37c416||(_0x4e2287=new _0x37c416(_0x4e2287)),this['decode'](_0x4e2287,_0x4e2287['uint32']());},_0x36fe0c['verify']=function(_0x340703){if('object'!=typeof _0x340703||null===_0x340703)return'object\x20expected';if(null!=_0x340703['ids']&&_0x340703['hasOwnProperty']('ids')){if(!Array['isArray'](_0x340703['ids']))return'ids:\x20array\x20expected';for(var _0x56d0ce=0x0;_0x56d0ce<_0x340703['ids']['length'];++_0x56d0ce)if(!_0xcc38bf['isString'](_0x340703['ids'][_0x56d0ce]))return'ids:\x20string[]\x20expected';}return null!=_0x340703['documentId']&&_0x340703['hasOwnProperty']('documentId')&&!_0xcc38bf['isString'](_0x340703['documentId'])?'documentId:\x20string\x20expected':null!=_0x340703['state']&&_0x340703['hasOwnProperty']('state')&&!_0xcc38bf['isString'](_0x340703['state'])?'state:\x20string\x20expected':null;},_0x36fe0c['fromObject']=function(_0x55a545){if(_0x55a545 instanceof _0xd25805['TrackChangesBatchUpdateSuggestionsStateMessage'])return _0x55a545;var _0x5dc2d6=new _0xd25805['TrackChangesBatchUpdateSuggestionsStateMessage']();if(_0x55a545['ids']){if(!Array['isArray'](_0x55a545['ids']))throw TypeError('.TrackChangesBatchUpdateSuggestionsStateMessage.ids:\x20array\x20expected');_0x5dc2d6['ids']=[];for(var _0x49134c=0x0;_0x49134c<_0x55a545['ids']['length'];++_0x49134c)_0x5dc2d6['ids'][_0x49134c]=String(_0x55a545['ids'][_0x49134c]);}return null!=_0x55a545['documentId']&&(_0x5dc2d6['documentId']=String(_0x55a545['documentId'])),null!=_0x55a545['state']&&(_0x5dc2d6['state']=String(_0x55a545['state'])),_0x5dc2d6;},_0x36fe0c['toObject']=function(_0xf310bf,_0x388a83){_0x388a83||(_0x388a83={});var _0x3d641c={};if((_0x388a83['arrays']||_0x388a83['defaults'])&&(_0x3d641c['ids']=[]),_0x388a83['defaults']&&(_0x3d641c['documentId']='',_0x3d641c['state']=''),_0xf310bf['ids']&&_0xf310bf['ids']['length']){_0x3d641c['ids']=[];for(var _0x191483=0x0;_0x191483<_0xf310bf['ids']['length'];++_0x191483)_0x3d641c['ids'][_0x191483]=_0xf310bf['ids'][_0x191483];}return null!=_0xf310bf['documentId']&&_0xf310bf['hasOwnProperty']('documentId')&&(_0x3d641c['documentId']=_0xf310bf['documentId']),null!=_0xf310bf['state']&&_0xf310bf['hasOwnProperty']('state')&&(_0x3d641c['state']=_0xf310bf['state']),_0x3d641c;},_0x36fe0c['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x36fe0c['getTypeUrl']=function(_0x78491e){return void 0x0===_0x78491e&&(_0x78491e='type.googleapis.com'),_0x78491e+'/TrackChangesBatchUpdateSuggestionsStateMessage';},_0x36fe0c;}()),_0xd25805['TrackChangesConnectMessage']=(function(){function _0x4a2120(_0x2b592d){if(_0x2b592d){for(var _0x5615b0=Object['keys'](_0x2b592d),_0x85955d=0x0;_0x85955d<_0x5615b0['length'];++_0x85955d)null!=_0x2b592d[_0x5615b0[_0x85955d]]&&(this[_0x5615b0[_0x85955d]]=_0x2b592d[_0x5615b0[_0x85955d]]);}}return _0x4a2120['prototype']['documentId']='',_0x4a2120['create']=function(_0x4b1e17){return new _0x4a2120(_0x4b1e17);},_0x4a2120['encode']=function(_0x4a3c36,_0x51de30){return _0x51de30||(_0x51de30=_0x1f8a63['create']()),null!=_0x4a3c36['documentId']&&Object['hasOwnProperty']['call'](_0x4a3c36,'documentId')&&_0x51de30['uint32'](0xa)['string'](_0x4a3c36['documentId']),_0x51de30;},_0x4a2120['encodeDelimited']=function(_0x2b76b1,_0x3ea8dc){return this['encode'](_0x2b76b1,_0x3ea8dc)['ldelim']();},_0x4a2120['decode']=function(_0x112130,_0x3a92e7,_0x496255){_0x112130 instanceof _0x37c416||(_0x112130=_0x37c416['create'](_0x112130));for(var _0x3ca993=void 0x0===_0x3a92e7?_0x112130['len']:_0x112130['pos']+_0x3a92e7,_0x2c22d2=new _0xd25805['TrackChangesConnectMessage']();_0x112130['pos']<_0x3ca993;){var _0x39f759=_0x112130['uint32']();if(_0x39f759===_0x496255)break;_0x39f759>>>0x3==0x1?_0x2c22d2['documentId']=_0x112130['string']():_0x112130['skipType'](0x7&_0x39f759);}return _0x2c22d2;},_0x4a2120['decodeDelimited']=function(_0x5101d6){return _0x5101d6 instanceof _0x37c416||(_0x5101d6=new _0x37c416(_0x5101d6)),this['decode'](_0x5101d6,_0x5101d6['uint32']());},_0x4a2120['verify']=function(_0x4ecdbd){return'object'!=typeof _0x4ecdbd||null===_0x4ecdbd?'object\x20expected':null!=_0x4ecdbd['documentId']&&_0x4ecdbd['hasOwnProperty']('documentId')&&!_0xcc38bf['isString'](_0x4ecdbd['documentId'])?'documentId:\x20string\x20expected':null;},_0x4a2120['fromObject']=function(_0x5e3654){if(_0x5e3654 instanceof _0xd25805['TrackChangesConnectMessage'])return _0x5e3654;var _0x46cac9=new _0xd25805['TrackChangesConnectMessage']();return null!=_0x5e3654['documentId']&&(_0x46cac9['documentId']=String(_0x5e3654['documentId'])),_0x46cac9;},_0x4a2120['toObject']=function(_0x2981c0,_0x3add42){_0x3add42||(_0x3add42={});var _0xef8a63={};return _0x3add42['defaults']&&(_0xef8a63['documentId']=''),null!=_0x2981c0['documentId']&&_0x2981c0['hasOwnProperty']('documentId')&&(_0xef8a63['documentId']=_0x2981c0['documentId']),_0xef8a63;},_0x4a2120['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x4a2120['getTypeUrl']=function(_0x8b5eb9){return void 0x0===_0x8b5eb9&&(_0x8b5eb9='type.googleapis.com'),_0x8b5eb9+'/TrackChangesConnectMessage';},_0x4a2120;}()),_0xd25805['TrackChangesGetAllSuggestionMessage']=(function(){function _0x23a474(_0x35fad0){if(_0x35fad0){for(var _0x3c5948=Object['keys'](_0x35fad0),_0x70fbc7=0x0;_0x70fbc7<_0x3c5948['length'];++_0x70fbc7)null!=_0x35fad0[_0x3c5948[_0x70fbc7]]&&(this[_0x3c5948[_0x70fbc7]]=_0x35fad0[_0x3c5948[_0x70fbc7]]);}}return _0x23a474['prototype']['documentId']='',_0x23a474['create']=function(_0x34ae07){return new _0x23a474(_0x34ae07);},_0x23a474['encode']=function(_0x2e3a91,_0x5728b3){return _0x5728b3||(_0x5728b3=_0x1f8a63['create']()),null!=_0x2e3a91['documentId']&&Object['hasOwnProperty']['call'](_0x2e3a91,'documentId')&&_0x5728b3['uint32'](0xa)['string'](_0x2e3a91['documentId']),_0x5728b3;},_0x23a474['encodeDelimited']=function(_0x480d50,_0x275f2d){return this['encode'](_0x480d50,_0x275f2d)['ldelim']();},_0x23a474['decode']=function(_0x476545,_0x206e47,_0x5a25ac){_0x476545 instanceof _0x37c416||(_0x476545=_0x37c416['create'](_0x476545));for(var _0x3096ab=void 0x0===_0x206e47?_0x476545['len']:_0x476545['pos']+_0x206e47,_0x18ff96=new _0xd25805['TrackChangesGetAllSuggestionMessage']();_0x476545['pos']<_0x3096ab;){var _0x431c75=_0x476545['uint32']();if(_0x431c75===_0x5a25ac)break;_0x431c75>>>0x3==0x1?_0x18ff96['documentId']=_0x476545['string']():_0x476545['skipType'](0x7&_0x431c75);}return _0x18ff96;},_0x23a474['decodeDelimited']=function(_0xdab06a){return _0xdab06a instanceof _0x37c416||(_0xdab06a=new _0x37c416(_0xdab06a)),this['decode'](_0xdab06a,_0xdab06a['uint32']());},_0x23a474['verify']=function(_0x37800b){return'object'!=typeof _0x37800b||null===_0x37800b?'object\x20expected':null!=_0x37800b['documentId']&&_0x37800b['hasOwnProperty']('documentId')&&!_0xcc38bf['isString'](_0x37800b['documentId'])?'documentId:\x20string\x20expected':null;},_0x23a474['fromObject']=function(_0x223ccb){if(_0x223ccb instanceof _0xd25805['TrackChangesGetAllSuggestionMessage'])return _0x223ccb;var _0x867390=new _0xd25805['TrackChangesGetAllSuggestionMessage']();return null!=_0x223ccb['documentId']&&(_0x867390['documentId']=String(_0x223ccb['documentId'])),_0x867390;},_0x23a474['toObject']=function(_0x2ce7bd,_0x89d5a){_0x89d5a||(_0x89d5a={});var _0x3e280e={};return _0x89d5a['defaults']&&(_0x3e280e['documentId']=''),null!=_0x2ce7bd['documentId']&&_0x2ce7bd['hasOwnProperty']('documentId')&&(_0x3e280e['documentId']=_0x2ce7bd['documentId']),_0x3e280e;},_0x23a474['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x23a474['getTypeUrl']=function(_0xb535c3){return void 0x0===_0xb535c3&&(_0xb535c3='type.googleapis.com'),_0xb535c3+'/TrackChangesGetAllSuggestionMessage';},_0x23a474;}()),_0xd25805['TrackChangesGetSuggestionMessage']=(function(){function _0x106e1c(_0xd54f5d){if(_0xd54f5d){for(var _0x209106=Object['keys'](_0xd54f5d),_0x345dbb=0x0;_0x345dbb<_0x209106['length'];++_0x345dbb)null!=_0xd54f5d[_0x209106[_0x345dbb]]&&(this[_0x209106[_0x345dbb]]=_0xd54f5d[_0x209106[_0x345dbb]]);}}return _0x106e1c['prototype']['id']='',_0x106e1c['prototype']['documentId']='',_0x106e1c['create']=function(_0x135276){return new _0x106e1c(_0x135276);},_0x106e1c['encode']=function(_0xf47eb6,_0x52a8a7){return _0x52a8a7||(_0x52a8a7=_0x1f8a63['create']()),null!=_0xf47eb6['id']&&Object['hasOwnProperty']['call'](_0xf47eb6,'id')&&_0x52a8a7['uint32'](0xa)['string'](_0xf47eb6['id']),null!=_0xf47eb6['documentId']&&Object['hasOwnProperty']['call'](_0xf47eb6,'documentId')&&_0x52a8a7['uint32'](0x12)['string'](_0xf47eb6['documentId']),_0x52a8a7;},_0x106e1c['encodeDelimited']=function(_0x38a9e7,_0x187a0f){return this['encode'](_0x38a9e7,_0x187a0f)['ldelim']();},_0x106e1c['decode']=function(_0x508184,_0xbe9438,_0x424b6e){_0x508184 instanceof _0x37c416||(_0x508184=_0x37c416['create'](_0x508184));for(var _0x2ea47c=void 0x0===_0xbe9438?_0x508184['len']:_0x508184['pos']+_0xbe9438,_0x1a7af9=new _0xd25805['TrackChangesGetSuggestionMessage']();_0x508184['pos']<_0x2ea47c;){var _0x48b1b3=_0x508184['uint32']();if(_0x48b1b3===_0x424b6e)break;switch(_0x48b1b3>>>0x3){case 0x1:_0x1a7af9['id']=_0x508184['string']();break;case 0x2:_0x1a7af9['documentId']=_0x508184['string']();break;default:_0x508184['skipType'](0x7&_0x48b1b3);}}return _0x1a7af9;},_0x106e1c['decodeDelimited']=function(_0x266e52){return _0x266e52 instanceof _0x37c416||(_0x266e52=new _0x37c416(_0x266e52)),this['decode'](_0x266e52,_0x266e52['uint32']());},_0x106e1c['verify']=function(_0x115591){return'object'!=typeof _0x115591||null===_0x115591?'object\x20expected':null!=_0x115591['id']&&_0x115591['hasOwnProperty']('id')&&!_0xcc38bf['isString'](_0x115591['id'])?'id:\x20string\x20expected':null!=_0x115591['documentId']&&_0x115591['hasOwnProperty']('documentId')&&!_0xcc38bf['isString'](_0x115591['documentId'])?'documentId:\x20string\x20expected':null;},_0x106e1c['fromObject']=function(_0x31b817){if(_0x31b817 instanceof _0xd25805['TrackChangesGetSuggestionMessage'])return _0x31b817;var _0x4df92e=new _0xd25805['TrackChangesGetSuggestionMessage']();return null!=_0x31b817['id']&&(_0x4df92e['id']=String(_0x31b817['id'])),null!=_0x31b817['documentId']&&(_0x4df92e['documentId']=String(_0x31b817['documentId'])),_0x4df92e;},_0x106e1c['toObject']=function(_0x87f2fe,_0x4fad1){_0x4fad1||(_0x4fad1={});var _0x5f1595={};return _0x4fad1['defaults']&&(_0x5f1595['id']='',_0x5f1595['documentId']=''),null!=_0x87f2fe['id']&&_0x87f2fe['hasOwnProperty']('id')&&(_0x5f1595['id']=_0x87f2fe['id']),null!=_0x87f2fe['documentId']&&_0x87f2fe['hasOwnProperty']('documentId')&&(_0x5f1595['documentId']=_0x87f2fe['documentId']),_0x5f1595;},_0x106e1c['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x106e1c['getTypeUrl']=function(_0x4c2690){return void 0x0===_0x4c2690&&(_0x4c2690='type.googleapis.com'),_0x4c2690+'/TrackChangesGetSuggestionMessage';},_0x106e1c;}()),_0xd25805['TrackChangesUpdateSuggestionMessage']=(function(){function _0x29162d(_0x8709cf){if(_0x8709cf){for(var _0x479dff=Object['keys'](_0x8709cf),_0x3316ef=0x0;_0x3316ef<_0x479dff['length'];++_0x3316ef)null!=_0x8709cf[_0x479dff[_0x3316ef]]&&(this[_0x479dff[_0x3316ef]]=_0x8709cf[_0x479dff[_0x3316ef]]);}}return _0x29162d['prototype']['id']='',_0x29162d['prototype']['documentId']='',_0x29162d['prototype']['hasComments']=!0x1,_0x29162d['prototype']['isHasCommentsModified']=!0x1,_0x29162d['prototype']['state']='',_0x29162d['prototype']['attributes']='',_0x29162d['create']=function(_0x2fc45d){return new _0x29162d(_0x2fc45d);},_0x29162d['encode']=function(_0x27832f,_0x538316){return _0x538316||(_0x538316=_0x1f8a63['create']()),null!=_0x27832f['id']&&Object['hasOwnProperty']['call'](_0x27832f,'id')&&_0x538316['uint32'](0xa)['string'](_0x27832f['id']),null!=_0x27832f['documentId']&&Object['hasOwnProperty']['call'](_0x27832f,'documentId')&&_0x538316['uint32'](0x12)['string'](_0x27832f['documentId']),null!=_0x27832f['hasComments']&&Object['hasOwnProperty']['call'](_0x27832f,'hasComments')&&_0x538316['uint32'](0x18)['bool'](_0x27832f['hasComments']),null!=_0x27832f['isHasCommentsModified']&&Object['hasOwnProperty']['call'](_0x27832f,'isHasCommentsModified')&&_0x538316['uint32'](0x20)['bool'](_0x27832f['isHasCommentsModified']),null!=_0x27832f['state']&&Object['hasOwnProperty']['call'](_0x27832f,'state')&&_0x538316['uint32'](0x2a)['string'](_0x27832f['state']),null!=_0x27832f['attributes']&&Object['hasOwnProperty']['call'](_0x27832f,'attributes')&&_0x538316['uint32'](0x32)['string'](_0x27832f['attributes']),_0x538316;},_0x29162d['encodeDelimited']=function(_0x3542e3,_0x106e2d){return this['encode'](_0x3542e3,_0x106e2d)['ldelim']();},_0x29162d['decode']=function(_0x4a6aa6,_0x3faa3a,_0x316e21){_0x4a6aa6 instanceof _0x37c416||(_0x4a6aa6=_0x37c416['create'](_0x4a6aa6));for(var _0x177a39=void 0x0===_0x3faa3a?_0x4a6aa6['len']:_0x4a6aa6['pos']+_0x3faa3a,_0x361ba0=new _0xd25805['TrackChangesUpdateSuggestionMessage']();_0x4a6aa6['pos']<_0x177a39;){var _0x56b71b=_0x4a6aa6['uint32']();if(_0x56b71b===_0x316e21)break;switch(_0x56b71b>>>0x3){case 0x1:_0x361ba0['id']=_0x4a6aa6['string']();break;case 0x2:_0x361ba0['documentId']=_0x4a6aa6['string']();break;case 0x3:_0x361ba0['hasComments']=_0x4a6aa6['bool']();break;case 0x4:_0x361ba0['isHasCommentsModified']=_0x4a6aa6['bool']();break;case 0x5:_0x361ba0['state']=_0x4a6aa6['string']();break;case 0x6:_0x361ba0['attributes']=_0x4a6aa6['string']();break;default:_0x4a6aa6['skipType'](0x7&_0x56b71b);}}return _0x361ba0;},_0x29162d['decodeDelimited']=function(_0xd59270){return _0xd59270 instanceof _0x37c416||(_0xd59270=new _0x37c416(_0xd59270)),this['decode'](_0xd59270,_0xd59270['uint32']());},_0x29162d['verify']=function(_0x46f3cd){return'object'!=typeof _0x46f3cd||null===_0x46f3cd?'object\x20expected':null!=_0x46f3cd['id']&&_0x46f3cd['hasOwnProperty']('id')&&!_0xcc38bf['isString'](_0x46f3cd['id'])?'id:\x20string\x20expected':null!=_0x46f3cd['documentId']&&_0x46f3cd['hasOwnProperty']('documentId')&&!_0xcc38bf['isString'](_0x46f3cd['documentId'])?'documentId:\x20string\x20expected':null!=_0x46f3cd['hasComments']&&_0x46f3cd['hasOwnProperty']('hasComments')&&'boolean'!=typeof _0x46f3cd['hasComments']?'hasComments:\x20boolean\x20expected':null!=_0x46f3cd['isHasCommentsModified']&&_0x46f3cd['hasOwnProperty']('isHasCommentsModified')&&'boolean'!=typeof _0x46f3cd['isHasCommentsModified']?'isHasCommentsModified:\x20boolean\x20expected':null!=_0x46f3cd['state']&&_0x46f3cd['hasOwnProperty']('state')&&!_0xcc38bf['isString'](_0x46f3cd['state'])?'state:\x20string\x20expected':null!=_0x46f3cd['attributes']&&_0x46f3cd['hasOwnProperty']('attributes')&&!_0xcc38bf['isString'](_0x46f3cd['attributes'])?'attributes:\x20string\x20expected':null;},_0x29162d['fromObject']=function(_0x13fbd0){if(_0x13fbd0 instanceof _0xd25805['TrackChangesUpdateSuggestionMessage'])return _0x13fbd0;var _0x54b371=new _0xd25805['TrackChangesUpdateSuggestionMessage']();return null!=_0x13fbd0['id']&&(_0x54b371['id']=String(_0x13fbd0['id'])),null!=_0x13fbd0['documentId']&&(_0x54b371['documentId']=String(_0x13fbd0['documentId'])),null!=_0x13fbd0['hasComments']&&(_0x54b371['hasComments']=Boolean(_0x13fbd0['hasComments'])),null!=_0x13fbd0['isHasCommentsModified']&&(_0x54b371['isHasCommentsModified']=Boolean(_0x13fbd0['isHasCommentsModified'])),null!=_0x13fbd0['state']&&(_0x54b371['state']=String(_0x13fbd0['state'])),null!=_0x13fbd0['attributes']&&(_0x54b371['attributes']=String(_0x13fbd0['attributes'])),_0x54b371;},_0x29162d['toObject']=function(_0x5c4f00,_0x5a2125){_0x5a2125||(_0x5a2125={});var _0x3d0da5={};return _0x5a2125['defaults']&&(_0x3d0da5['id']='',_0x3d0da5['documentId']='',_0x3d0da5['hasComments']=!0x1,_0x3d0da5['isHasCommentsModified']=!0x1,_0x3d0da5['state']='',_0x3d0da5['attributes']=''),null!=_0x5c4f00['id']&&_0x5c4f00['hasOwnProperty']('id')&&(_0x3d0da5['id']=_0x5c4f00['id']),null!=_0x5c4f00['documentId']&&_0x5c4f00['hasOwnProperty']('documentId')&&(_0x3d0da5['documentId']=_0x5c4f00['documentId']),null!=_0x5c4f00['hasComments']&&_0x5c4f00['hasOwnProperty']('hasComments')&&(_0x3d0da5['hasComments']=_0x5c4f00['hasComments']),null!=_0x5c4f00['isHasCommentsModified']&&_0x5c4f00['hasOwnProperty']('isHasCommentsModified')&&(_0x3d0da5['isHasCommentsModified']=_0x5c4f00['isHasCommentsModified']),null!=_0x5c4f00['state']&&_0x5c4f00['hasOwnProperty']('state')&&(_0x3d0da5['state']=_0x5c4f00['state']),null!=_0x5c4f00['attributes']&&_0x5c4f00['hasOwnProperty']('attributes')&&(_0x3d0da5['attributes']=_0x5c4f00['attributes']),_0x3d0da5;},_0x29162d['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x29162d['getTypeUrl']=function(_0x160282){return void 0x0===_0x160282&&(_0x160282='type.googleapis.com'),_0x160282+'/TrackChangesUpdateSuggestionMessage';},_0x29162d;}()),_0xd25805['TrackChangesAddSuggestionResponse']=(function(){function _0x481905(_0x2e7b43){if(_0x2e7b43){for(var _0x129631=Object['keys'](_0x2e7b43),_0x27e53e=0x0;_0x27e53e<_0x129631['length'];++_0x27e53e)null!=_0x2e7b43[_0x129631[_0x27e53e]]&&(this[_0x129631[_0x27e53e]]=_0x2e7b43[_0x129631[_0x27e53e]]);}}return _0x481905['prototype']['id']='',_0x481905['prototype']['authorId']='',_0x481905['prototype']['type']='',_0x481905['prototype']['createdAt']='',_0x481905['prototype']['data']='',_0x481905['prototype']['hasComments']=!0x1,_0x481905['prototype']['state']='',_0x481905['prototype']['attributes']='',_0x481905['create']=function(_0x4185f9){return new _0x481905(_0x4185f9);},_0x481905['encode']=function(_0x1d4a48,_0x485c3f){return _0x485c3f||(_0x485c3f=_0x1f8a63['create']()),null!=_0x1d4a48['id']&&Object['hasOwnProperty']['call'](_0x1d4a48,'id')&&_0x485c3f['uint32'](0xa)['string'](_0x1d4a48['id']),null!=_0x1d4a48['authorId']&&Object['hasOwnProperty']['call'](_0x1d4a48,'authorId')&&_0x485c3f['uint32'](0x12)['string'](_0x1d4a48['authorId']),null!=_0x1d4a48['type']&&Object['hasOwnProperty']['call'](_0x1d4a48,'type')&&_0x485c3f['uint32'](0x1a)['string'](_0x1d4a48['type']),null!=_0x1d4a48['createdAt']&&Object['hasOwnProperty']['call'](_0x1d4a48,'createdAt')&&_0x485c3f['uint32'](0x22)['string'](_0x1d4a48['createdAt']),null!=_0x1d4a48['data']&&Object['hasOwnProperty']['call'](_0x1d4a48,'data')&&_0x485c3f['uint32'](0x2a)['string'](_0x1d4a48['data']),null!=_0x1d4a48['hasComments']&&Object['hasOwnProperty']['call'](_0x1d4a48,'hasComments')&&_0x485c3f['uint32'](0x30)['bool'](_0x1d4a48['hasComments']),null!=_0x1d4a48['state']&&Object['hasOwnProperty']['call'](_0x1d4a48,'state')&&_0x485c3f['uint32'](0x3a)['string'](_0x1d4a48['state']),null!=_0x1d4a48['attributes']&&Object['hasOwnProperty']['call'](_0x1d4a48,'attributes')&&_0x485c3f['uint32'](0x42)['string'](_0x1d4a48['attributes']),_0x485c3f;},_0x481905['encodeDelimited']=function(_0x5abc7d,_0x1b7bb4){return this['encode'](_0x5abc7d,_0x1b7bb4)['ldelim']();},_0x481905['decode']=function(_0x151c25,_0x562038,_0x1061e1){_0x151c25 instanceof _0x37c416||(_0x151c25=_0x37c416['create'](_0x151c25));for(var _0x5b7461=void 0x0===_0x562038?_0x151c25['len']:_0x151c25['pos']+_0x562038,_0x2d7b6b=new _0xd25805['TrackChangesAddSuggestionResponse']();_0x151c25['pos']<_0x5b7461;){var _0x3d12f3=_0x151c25['uint32']();if(_0x3d12f3===_0x1061e1)break;switch(_0x3d12f3>>>0x3){case 0x1:_0x2d7b6b['id']=_0x151c25['string']();break;case 0x2:_0x2d7b6b['authorId']=_0x151c25['string']();break;case 0x3:_0x2d7b6b['type']=_0x151c25['string']();break;case 0x4:_0x2d7b6b['createdAt']=_0x151c25['string']();break;case 0x5:_0x2d7b6b['data']=_0x151c25['string']();break;case 0x6:_0x2d7b6b['hasComments']=_0x151c25['bool']();break;case 0x7:_0x2d7b6b['state']=_0x151c25['string']();break;case 0x8:_0x2d7b6b['attributes']=_0x151c25['string']();break;default:_0x151c25['skipType'](0x7&_0x3d12f3);}}return _0x2d7b6b;},_0x481905['decodeDelimited']=function(_0x1f5e27){return _0x1f5e27 instanceof _0x37c416||(_0x1f5e27=new _0x37c416(_0x1f5e27)),this['decode'](_0x1f5e27,_0x1f5e27['uint32']());},_0x481905['verify']=function(_0x133def){return'object'!=typeof _0x133def||null===_0x133def?'object\x20expected':null!=_0x133def['id']&&_0x133def['hasOwnProperty']('id')&&!_0xcc38bf['isString'](_0x133def['id'])?'id:\x20string\x20expected':null!=_0x133def['authorId']&&_0x133def['hasOwnProperty']('authorId')&&!_0xcc38bf['isString'](_0x133def['authorId'])?'authorId:\x20string\x20expected':null!=_0x133def['type']&&_0x133def['hasOwnProperty']('type')&&!_0xcc38bf['isString'](_0x133def['type'])?'type:\x20string\x20expected':null!=_0x133def['createdAt']&&_0x133def['hasOwnProperty']('createdAt')&&!_0xcc38bf['isString'](_0x133def['createdAt'])?'createdAt:\x20string\x20expected':null!=_0x133def['data']&&_0x133def['hasOwnProperty']('data')&&!_0xcc38bf['isString'](_0x133def['data'])?'data:\x20string\x20expected':null!=_0x133def['hasComments']&&_0x133def['hasOwnProperty']('hasComments')&&'boolean'!=typeof _0x133def['hasComments']?'hasComments:\x20boolean\x20expected':null!=_0x133def['state']&&_0x133def['hasOwnProperty']('state')&&!_0xcc38bf['isString'](_0x133def['state'])?'state:\x20string\x20expected':null!=_0x133def['attributes']&&_0x133def['hasOwnProperty']('attributes')&&!_0xcc38bf['isString'](_0x133def['attributes'])?'attributes:\x20string\x20expected':null;},_0x481905['fromObject']=function(_0x52e95){if(_0x52e95 instanceof _0xd25805['TrackChangesAddSuggestionResponse'])return _0x52e95;var _0x465ead=new _0xd25805['TrackChangesAddSuggestionResponse']();return null!=_0x52e95['id']&&(_0x465ead['id']=String(_0x52e95['id'])),null!=_0x52e95['authorId']&&(_0x465ead['authorId']=String(_0x52e95['authorId'])),null!=_0x52e95['type']&&(_0x465ead['type']=String(_0x52e95['type'])),null!=_0x52e95['createdAt']&&(_0x465ead['createdAt']=String(_0x52e95['createdAt'])),null!=_0x52e95['data']&&(_0x465ead['data']=String(_0x52e95['data'])),null!=_0x52e95['hasComments']&&(_0x465ead['hasComments']=Boolean(_0x52e95['hasComments'])),null!=_0x52e95['state']&&(_0x465ead['state']=String(_0x52e95['state'])),null!=_0x52e95['attributes']&&(_0x465ead['attributes']=String(_0x52e95['attributes'])),_0x465ead;},_0x481905['toObject']=function(_0x4583a9,_0x27fea5){_0x27fea5||(_0x27fea5={});var _0x85a4c5={};return _0x27fea5['defaults']&&(_0x85a4c5['id']='',_0x85a4c5['authorId']='',_0x85a4c5['type']='',_0x85a4c5['createdAt']='',_0x85a4c5['data']='',_0x85a4c5['hasComments']=!0x1,_0x85a4c5['state']='',_0x85a4c5['attributes']=''),null!=_0x4583a9['id']&&_0x4583a9['hasOwnProperty']('id')&&(_0x85a4c5['id']=_0x4583a9['id']),null!=_0x4583a9['authorId']&&_0x4583a9['hasOwnProperty']('authorId')&&(_0x85a4c5['authorId']=_0x4583a9['authorId']),null!=_0x4583a9['type']&&_0x4583a9['hasOwnProperty']('type')&&(_0x85a4c5['type']=_0x4583a9['type']),null!=_0x4583a9['createdAt']&&_0x4583a9['hasOwnProperty']('createdAt')&&(_0x85a4c5['createdAt']=_0x4583a9['createdAt']),null!=_0x4583a9['data']&&_0x4583a9['hasOwnProperty']('data')&&(_0x85a4c5['data']=_0x4583a9['data']),null!=_0x4583a9['hasComments']&&_0x4583a9['hasOwnProperty']('hasComments')&&(_0x85a4c5['hasComments']=_0x4583a9['hasComments']),null!=_0x4583a9['state']&&_0x4583a9['hasOwnProperty']('state')&&(_0x85a4c5['state']=_0x4583a9['state']),null!=_0x4583a9['attributes']&&_0x4583a9['hasOwnProperty']('attributes')&&(_0x85a4c5['attributes']=_0x4583a9['attributes']),_0x85a4c5;},_0x481905['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x481905['getTypeUrl']=function(_0x4d55c4){return void 0x0===_0x4d55c4&&(_0x4d55c4='type.googleapis.com'),_0x4d55c4+'/TrackChangesAddSuggestionResponse';},_0x481905;}()),_0xd25805['TrackChangesConnectResponse']=(function(){function _0xebf3d3(_0xa0f56b){if(this['suggestions']=[],this['suggestionsV2']=[],_0xa0f56b){for(var _0x3aa6e4=Object['keys'](_0xa0f56b),_0x566639=0x0;_0x566639<_0x3aa6e4['length'];++_0x566639)null!=_0xa0f56b[_0x3aa6e4[_0x566639]]&&(this[_0x3aa6e4[_0x566639]]=_0xa0f56b[_0x3aa6e4[_0x566639]]);}}return _0xebf3d3['prototype']['channel']='',_0xebf3d3['prototype']['suggestions']=_0xcc38bf['emptyArray'],_0xebf3d3['prototype']['suggestionsV2']=_0xcc38bf['emptyArray'],_0xebf3d3['create']=function(_0x104ebe){return new _0xebf3d3(_0x104ebe);},_0xebf3d3['encode']=function(_0x1fcb8d,_0x2bd533){if(_0x2bd533||(_0x2bd533=_0x1f8a63['create']()),null!=_0x1fcb8d['channel']&&Object['hasOwnProperty']['call'](_0x1fcb8d,'channel')&&_0x2bd533['uint32'](0xa)['string'](_0x1fcb8d['channel']),null!=_0x1fcb8d['suggestions']&&_0x1fcb8d['suggestions']['length']){for(var _0x4da548=0x0;_0x4da548<_0x1fcb8d['suggestions']['length'];++_0x4da548)_0x2bd533['uint32'](0x12)['string'](_0x1fcb8d['suggestions'][_0x4da548]);}if(null!=_0x1fcb8d['suggestionsV2']&&_0x1fcb8d['suggestionsV2']['length']){for(_0x4da548=0x0;_0x4da548<_0x1fcb8d['suggestionsV2']['length'];++_0x4da548)_0xd25805['SuggestionDescriptor']['encode'](_0x1fcb8d['suggestionsV2'][_0x4da548],_0x2bd533['uint32'](0x1a)['fork']())['ldelim']();}return _0x2bd533;},_0xebf3d3['encodeDelimited']=function(_0x741edc,_0x292546){return this['encode'](_0x741edc,_0x292546)['ldelim']();},_0xebf3d3['decode']=function(_0xf207d6,_0x4779b0,_0x496775){_0xf207d6 instanceof _0x37c416||(_0xf207d6=_0x37c416['create'](_0xf207d6));for(var _0x480385=void 0x0===_0x4779b0?_0xf207d6['len']:_0xf207d6['pos']+_0x4779b0,_0x27458b=new _0xd25805['TrackChangesConnectResponse']();_0xf207d6['pos']<_0x480385;){var _0x13f93a=_0xf207d6['uint32']();if(_0x13f93a===_0x496775)break;switch(_0x13f93a>>>0x3){case 0x1:_0x27458b['channel']=_0xf207d6['string']();break;case 0x2:_0x27458b['suggestions']&&_0x27458b['suggestions']['length']||(_0x27458b['suggestions']=[]),_0x27458b['suggestions']['push'](_0xf207d6['string']());break;case 0x3:_0x27458b['suggestionsV2']&&_0x27458b['suggestionsV2']['length']||(_0x27458b['suggestionsV2']=[]),_0x27458b['suggestionsV2']['push'](_0xd25805['SuggestionDescriptor']['decode'](_0xf207d6,_0xf207d6['uint32']()));break;default:_0xf207d6['skipType'](0x7&_0x13f93a);}}return _0x27458b;},_0xebf3d3['decodeDelimited']=function(_0x146be2){return _0x146be2 instanceof _0x37c416||(_0x146be2=new _0x37c416(_0x146be2)),this['decode'](_0x146be2,_0x146be2['uint32']());},_0xebf3d3['verify']=function(_0xabb769){if('object'!=typeof _0xabb769||null===_0xabb769)return'object\x20expected';if(null!=_0xabb769['channel']&&_0xabb769['hasOwnProperty']('channel')&&!_0xcc38bf['isString'](_0xabb769['channel']))return'channel:\x20string\x20expected';if(null!=_0xabb769['suggestions']&&_0xabb769['hasOwnProperty']('suggestions')){if(!Array['isArray'](_0xabb769['suggestions']))return'suggestions:\x20array\x20expected';for(var _0x1a4608=0x0;_0x1a4608<_0xabb769['suggestions']['length'];++_0x1a4608)if(!_0xcc38bf['isString'](_0xabb769['suggestions'][_0x1a4608]))return'suggestions:\x20string[]\x20expected';}if(null!=_0xabb769['suggestionsV2']&&_0xabb769['hasOwnProperty']('suggestionsV2')){if(!Array['isArray'](_0xabb769['suggestionsV2']))return'suggestionsV2:\x20array\x20expected';for(_0x1a4608=0x0;_0x1a4608<_0xabb769['suggestionsV2']['length'];++_0x1a4608){var _0x28e206=_0xd25805['SuggestionDescriptor']['verify'](_0xabb769['suggestionsV2'][_0x1a4608]);if(_0x28e206)return'suggestionsV2.'+_0x28e206;}}return null;},_0xebf3d3['fromObject']=function(_0x45d061){if(_0x45d061 instanceof _0xd25805['TrackChangesConnectResponse'])return _0x45d061;var _0x2bf659=new _0xd25805['TrackChangesConnectResponse']();if(null!=_0x45d061['channel']&&(_0x2bf659['channel']=String(_0x45d061['channel'])),_0x45d061['suggestions']){if(!Array['isArray'](_0x45d061['suggestions']))throw TypeError('.TrackChangesConnectResponse.suggestions:\x20array\x20expected');_0x2bf659['suggestions']=[];for(var _0x56447e=0x0;_0x56447e<_0x45d061['suggestions']['length'];++_0x56447e)_0x2bf659['suggestions'][_0x56447e]=String(_0x45d061['suggestions'][_0x56447e]);}if(_0x45d061['suggestionsV2']){if(!Array['isArray'](_0x45d061['suggestionsV2']))throw TypeError('.TrackChangesConnectResponse.suggestionsV2:\x20array\x20expected');for(_0x2bf659['suggestionsV2']=[],_0x56447e=0x0;_0x56447e<_0x45d061['suggestionsV2']['length'];++_0x56447e){if('object'!=typeof _0x45d061['suggestionsV2'][_0x56447e])throw TypeError('.TrackChangesConnectResponse.suggestionsV2:\x20object\x20expected');_0x2bf659['suggestionsV2'][_0x56447e]=_0xd25805['SuggestionDescriptor']['fromObject'](_0x45d061['suggestionsV2'][_0x56447e]);}}return _0x2bf659;},_0xebf3d3['toObject']=function(_0x43c74b,_0x1db00c){_0x1db00c||(_0x1db00c={});var _0x2b667e={};if((_0x1db00c['arrays']||_0x1db00c['defaults'])&&(_0x2b667e['suggestions']=[],_0x2b667e['suggestionsV2']=[]),_0x1db00c['defaults']&&(_0x2b667e['channel']=''),null!=_0x43c74b['channel']&&_0x43c74b['hasOwnProperty']('channel')&&(_0x2b667e['channel']=_0x43c74b['channel']),_0x43c74b['suggestions']&&_0x43c74b['suggestions']['length']){_0x2b667e['suggestions']=[];for(var _0x2c90d3=0x0;_0x2c90d3<_0x43c74b['suggestions']['length'];++_0x2c90d3)_0x2b667e['suggestions'][_0x2c90d3]=_0x43c74b['suggestions'][_0x2c90d3];}if(_0x43c74b['suggestionsV2']&&_0x43c74b['suggestionsV2']['length']){for(_0x2b667e['suggestionsV2']=[],_0x2c90d3=0x0;_0x2c90d3<_0x43c74b['suggestionsV2']['length'];++_0x2c90d3)_0x2b667e['suggestionsV2'][_0x2c90d3]=_0xd25805['SuggestionDescriptor']['toObject'](_0x43c74b['suggestionsV2'][_0x2c90d3],_0x1db00c);}return _0x2b667e;},_0xebf3d3['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0xebf3d3['getTypeUrl']=function(_0x245929){return void 0x0===_0x245929&&(_0x245929='type.googleapis.com'),_0x245929+'/TrackChangesConnectResponse';},_0xebf3d3;}()),_0xd25805['TrackChangesGetAllSuggestionsResponse']=(function(){function _0x3407c8(_0x28cb4d){if(this['suggestions']=[],this['suggestionsV2']=[],_0x28cb4d){for(var _0x3a8efa=Object['keys'](_0x28cb4d),_0x4199df=0x0;_0x4199df<_0x3a8efa['length'];++_0x4199df)null!=_0x28cb4d[_0x3a8efa[_0x4199df]]&&(this[_0x3a8efa[_0x4199df]]=_0x28cb4d[_0x3a8efa[_0x4199df]]);}}return _0x3407c8['prototype']['suggestions']=_0xcc38bf['emptyArray'],_0x3407c8['prototype']['suggestionsV2']=_0xcc38bf['emptyArray'],_0x3407c8['create']=function(_0x1bd6ab){return new _0x3407c8(_0x1bd6ab);},_0x3407c8['encode']=function(_0x3e1da5,_0x52c818){if(_0x52c818||(_0x52c818=_0x1f8a63['create']()),null!=_0x3e1da5['suggestions']&&_0x3e1da5['suggestions']['length']){for(var _0x7e14db=0x0;_0x7e14db<_0x3e1da5['suggestions']['length'];++_0x7e14db)_0x52c818['uint32'](0xa)['string'](_0x3e1da5['suggestions'][_0x7e14db]);}if(null!=_0x3e1da5['suggestionsV2']&&_0x3e1da5['suggestionsV2']['length']){for(_0x7e14db=0x0;_0x7e14db<_0x3e1da5['suggestionsV2']['length'];++_0x7e14db)_0xd25805['SuggestionDescriptor']['encode'](_0x3e1da5['suggestionsV2'][_0x7e14db],_0x52c818['uint32'](0x12)['fork']())['ldelim']();}return _0x52c818;},_0x3407c8['encodeDelimited']=function(_0x2f8115,_0x3d7c24){return this['encode'](_0x2f8115,_0x3d7c24)['ldelim']();},_0x3407c8['decode']=function(_0x567b07,_0xa31620,_0x3c4e54){_0x567b07 instanceof _0x37c416||(_0x567b07=_0x37c416['create'](_0x567b07));for(var _0x3ad0fa=void 0x0===_0xa31620?_0x567b07['len']:_0x567b07['pos']+_0xa31620,_0x5af37c=new _0xd25805['TrackChangesGetAllSuggestionsResponse']();_0x567b07['pos']<_0x3ad0fa;){var _0x41751c=_0x567b07['uint32']();if(_0x41751c===_0x3c4e54)break;switch(_0x41751c>>>0x3){case 0x1:_0x5af37c['suggestions']&&_0x5af37c['suggestions']['length']||(_0x5af37c['suggestions']=[]),_0x5af37c['suggestions']['push'](_0x567b07['string']());break;case 0x2:_0x5af37c['suggestionsV2']&&_0x5af37c['suggestionsV2']['length']||(_0x5af37c['suggestionsV2']=[]),_0x5af37c['suggestionsV2']['push'](_0xd25805['SuggestionDescriptor']['decode'](_0x567b07,_0x567b07['uint32']()));break;default:_0x567b07['skipType'](0x7&_0x41751c);}}return _0x5af37c;},_0x3407c8['decodeDelimited']=function(_0x2d6453){return _0x2d6453 instanceof _0x37c416||(_0x2d6453=new _0x37c416(_0x2d6453)),this['decode'](_0x2d6453,_0x2d6453['uint32']());},_0x3407c8['verify']=function(_0x54d40e){if('object'!=typeof _0x54d40e||null===_0x54d40e)return'object\x20expected';if(null!=_0x54d40e['suggestions']&&_0x54d40e['hasOwnProperty']('suggestions')){if(!Array['isArray'](_0x54d40e['suggestions']))return'suggestions:\x20array\x20expected';for(var _0x43e153=0x0;_0x43e153<_0x54d40e['suggestions']['length'];++_0x43e153)if(!_0xcc38bf['isString'](_0x54d40e['suggestions'][_0x43e153]))return'suggestions:\x20string[]\x20expected';}if(null!=_0x54d40e['suggestionsV2']&&_0x54d40e['hasOwnProperty']('suggestionsV2')){if(!Array['isArray'](_0x54d40e['suggestionsV2']))return'suggestionsV2:\x20array\x20expected';for(_0x43e153=0x0;_0x43e153<_0x54d40e['suggestionsV2']['length'];++_0x43e153){var _0x4e82be=_0xd25805['SuggestionDescriptor']['verify'](_0x54d40e['suggestionsV2'][_0x43e153]);if(_0x4e82be)return'suggestionsV2.'+_0x4e82be;}}return null;},_0x3407c8['fromObject']=function(_0xb14f76){if(_0xb14f76 instanceof _0xd25805['TrackChangesGetAllSuggestionsResponse'])return _0xb14f76;var _0x426146=new _0xd25805['TrackChangesGetAllSuggestionsResponse']();if(_0xb14f76['suggestions']){if(!Array['isArray'](_0xb14f76['suggestions']))throw TypeError('.TrackChangesGetAllSuggestionsResponse.suggestions:\x20array\x20expected');_0x426146['suggestions']=[];for(var _0x4bf91d=0x0;_0x4bf91d<_0xb14f76['suggestions']['length'];++_0x4bf91d)_0x426146['suggestions'][_0x4bf91d]=String(_0xb14f76['suggestions'][_0x4bf91d]);}if(_0xb14f76['suggestionsV2']){if(!Array['isArray'](_0xb14f76['suggestionsV2']))throw TypeError('.TrackChangesGetAllSuggestionsResponse.suggestionsV2:\x20array\x20expected');for(_0x426146['suggestionsV2']=[],_0x4bf91d=0x0;_0x4bf91d<_0xb14f76['suggestionsV2']['length'];++_0x4bf91d){if('object'!=typeof _0xb14f76['suggestionsV2'][_0x4bf91d])throw TypeError('.TrackChangesGetAllSuggestionsResponse.suggestionsV2:\x20object\x20expected');_0x426146['suggestionsV2'][_0x4bf91d]=_0xd25805['SuggestionDescriptor']['fromObject'](_0xb14f76['suggestionsV2'][_0x4bf91d]);}}return _0x426146;},_0x3407c8['toObject']=function(_0x4383c8,_0x4bcacd){_0x4bcacd||(_0x4bcacd={});var _0x470679={};if((_0x4bcacd['arrays']||_0x4bcacd['defaults'])&&(_0x470679['suggestions']=[],_0x470679['suggestionsV2']=[]),_0x4383c8['suggestions']&&_0x4383c8['suggestions']['length']){_0x470679['suggestions']=[];for(var _0x4c8bea=0x0;_0x4c8bea<_0x4383c8['suggestions']['length'];++_0x4c8bea)_0x470679['suggestions'][_0x4c8bea]=_0x4383c8['suggestions'][_0x4c8bea];}if(_0x4383c8['suggestionsV2']&&_0x4383c8['suggestionsV2']['length']){for(_0x470679['suggestionsV2']=[],_0x4c8bea=0x0;_0x4c8bea<_0x4383c8['suggestionsV2']['length'];++_0x4c8bea)_0x470679['suggestionsV2'][_0x4c8bea]=_0xd25805['SuggestionDescriptor']['toObject'](_0x4383c8['suggestionsV2'][_0x4c8bea],_0x4bcacd);}return _0x470679;},_0x3407c8['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x3407c8['getTypeUrl']=function(_0x4bb624){return void 0x0===_0x4bb624&&(_0x4bb624='type.googleapis.com'),_0x4bb624+'/TrackChangesGetAllSuggestionsResponse';},_0x3407c8;}()),_0xd25805['TrackChangesGetSuggestionResponse']=(function(){function _0x1d95c8(_0x79d9f6){if(_0x79d9f6){for(var _0x5178e4=Object['keys'](_0x79d9f6),_0x58020f=0x0;_0x58020f<_0x5178e4['length'];++_0x58020f)null!=_0x79d9f6[_0x5178e4[_0x58020f]]&&(this[_0x5178e4[_0x58020f]]=_0x79d9f6[_0x5178e4[_0x58020f]]);}}return _0x1d95c8['prototype']['id']='',_0x1d95c8['prototype']['authorId']='',_0x1d95c8['prototype']['type']='',_0x1d95c8['prototype']['createdAt']='',_0x1d95c8['prototype']['data']='',_0x1d95c8['prototype']['hasComments']=!0x1,_0x1d95c8['prototype']['state']='',_0x1d95c8['prototype']['attributes']='',_0x1d95c8['create']=function(_0xa4460e){return new _0x1d95c8(_0xa4460e);},_0x1d95c8['encode']=function(_0x4709a4,_0x36d484){return _0x36d484||(_0x36d484=_0x1f8a63['create']()),null!=_0x4709a4['id']&&Object['hasOwnProperty']['call'](_0x4709a4,'id')&&_0x36d484['uint32'](0xa)['string'](_0x4709a4['id']),null!=_0x4709a4['authorId']&&Object['hasOwnProperty']['call'](_0x4709a4,'authorId')&&_0x36d484['uint32'](0x12)['string'](_0x4709a4['authorId']),null!=_0x4709a4['type']&&Object['hasOwnProperty']['call'](_0x4709a4,'type')&&_0x36d484['uint32'](0x1a)['string'](_0x4709a4['type']),null!=_0x4709a4['createdAt']&&Object['hasOwnProperty']['call'](_0x4709a4,'createdAt')&&_0x36d484['uint32'](0x22)['string'](_0x4709a4['createdAt']),null!=_0x4709a4['data']&&Object['hasOwnProperty']['call'](_0x4709a4,'data')&&_0x36d484['uint32'](0x2a)['string'](_0x4709a4['data']),null!=_0x4709a4['hasComments']&&Object['hasOwnProperty']['call'](_0x4709a4,'hasComments')&&_0x36d484['uint32'](0x30)['bool'](_0x4709a4['hasComments']),null!=_0x4709a4['state']&&Object['hasOwnProperty']['call'](_0x4709a4,'state')&&_0x36d484['uint32'](0x3a)['string'](_0x4709a4['state']),null!=_0x4709a4['attributes']&&Object['hasOwnProperty']['call'](_0x4709a4,'attributes')&&_0x36d484['uint32'](0x42)['string'](_0x4709a4['attributes']),_0x36d484;},_0x1d95c8['encodeDelimited']=function(_0x4a5dfe,_0x1bbcb6){return this['encode'](_0x4a5dfe,_0x1bbcb6)['ldelim']();},_0x1d95c8['decode']=function(_0x2cb8ea,_0x4832ce,_0x1c55f8){_0x2cb8ea instanceof _0x37c416||(_0x2cb8ea=_0x37c416['create'](_0x2cb8ea));for(var _0x13b25a=void 0x0===_0x4832ce?_0x2cb8ea['len']:_0x2cb8ea['pos']+_0x4832ce,_0x203fc9=new _0xd25805['TrackChangesGetSuggestionResponse']();_0x2cb8ea['pos']<_0x13b25a;){var _0x26158e=_0x2cb8ea['uint32']();if(_0x26158e===_0x1c55f8)break;switch(_0x26158e>>>0x3){case 0x1:_0x203fc9['id']=_0x2cb8ea['string']();break;case 0x2:_0x203fc9['authorId']=_0x2cb8ea['string']();break;case 0x3:_0x203fc9['type']=_0x2cb8ea['string']();break;case 0x4:_0x203fc9['createdAt']=_0x2cb8ea['string']();break;case 0x5:_0x203fc9['data']=_0x2cb8ea['string']();break;case 0x6:_0x203fc9['hasComments']=_0x2cb8ea['bool']();break;case 0x7:_0x203fc9['state']=_0x2cb8ea['string']();break;case 0x8:_0x203fc9['attributes']=_0x2cb8ea['string']();break;default:_0x2cb8ea['skipType'](0x7&_0x26158e);}}return _0x203fc9;},_0x1d95c8['decodeDelimited']=function(_0x2d1f68){return _0x2d1f68 instanceof _0x37c416||(_0x2d1f68=new _0x37c416(_0x2d1f68)),this['decode'](_0x2d1f68,_0x2d1f68['uint32']());},_0x1d95c8['verify']=function(_0x48cca7){return'object'!=typeof _0x48cca7||null===_0x48cca7?'object\x20expected':null!=_0x48cca7['id']&&_0x48cca7['hasOwnProperty']('id')&&!_0xcc38bf['isString'](_0x48cca7['id'])?'id:\x20string\x20expected':null!=_0x48cca7['authorId']&&_0x48cca7['hasOwnProperty']('authorId')&&!_0xcc38bf['isString'](_0x48cca7['authorId'])?'authorId:\x20string\x20expected':null!=_0x48cca7['type']&&_0x48cca7['hasOwnProperty']('type')&&!_0xcc38bf['isString'](_0x48cca7['type'])?'type:\x20string\x20expected':null!=_0x48cca7['createdAt']&&_0x48cca7['hasOwnProperty']('createdAt')&&!_0xcc38bf['isString'](_0x48cca7['createdAt'])?'createdAt:\x20string\x20expected':null!=_0x48cca7['data']&&_0x48cca7['hasOwnProperty']('data')&&!_0xcc38bf['isString'](_0x48cca7['data'])?'data:\x20string\x20expected':null!=_0x48cca7['hasComments']&&_0x48cca7['hasOwnProperty']('hasComments')&&'boolean'!=typeof _0x48cca7['hasComments']?'hasComments:\x20boolean\x20expected':null!=_0x48cca7['state']&&_0x48cca7['hasOwnProperty']('state')&&!_0xcc38bf['isString'](_0x48cca7['state'])?'state:\x20string\x20expected':null!=_0x48cca7['attributes']&&_0x48cca7['hasOwnProperty']('attributes')&&!_0xcc38bf['isString'](_0x48cca7['attributes'])?'attributes:\x20string\x20expected':null;},_0x1d95c8['fromObject']=function(_0x3ddc0d){if(_0x3ddc0d instanceof _0xd25805['TrackChangesGetSuggestionResponse'])return _0x3ddc0d;var _0x58975d=new _0xd25805['TrackChangesGetSuggestionResponse']();return null!=_0x3ddc0d['id']&&(_0x58975d['id']=String(_0x3ddc0d['id'])),null!=_0x3ddc0d['authorId']&&(_0x58975d['authorId']=String(_0x3ddc0d['authorId'])),null!=_0x3ddc0d['type']&&(_0x58975d['type']=String(_0x3ddc0d['type'])),null!=_0x3ddc0d['createdAt']&&(_0x58975d['createdAt']=String(_0x3ddc0d['createdAt'])),null!=_0x3ddc0d['data']&&(_0x58975d['data']=String(_0x3ddc0d['data'])),null!=_0x3ddc0d['hasComments']&&(_0x58975d['hasComments']=Boolean(_0x3ddc0d['hasComments'])),null!=_0x3ddc0d['state']&&(_0x58975d['state']=String(_0x3ddc0d['state'])),null!=_0x3ddc0d['attributes']&&(_0x58975d['attributes']=String(_0x3ddc0d['attributes'])),_0x58975d;},_0x1d95c8['toObject']=function(_0x4216e5,_0x1975f5){_0x1975f5||(_0x1975f5={});var _0x1a0444={};return _0x1975f5['defaults']&&(_0x1a0444['id']='',_0x1a0444['authorId']='',_0x1a0444['type']='',_0x1a0444['createdAt']='',_0x1a0444['data']='',_0x1a0444['hasComments']=!0x1,_0x1a0444['state']='',_0x1a0444['attributes']=''),null!=_0x4216e5['id']&&_0x4216e5['hasOwnProperty']('id')&&(_0x1a0444['id']=_0x4216e5['id']),null!=_0x4216e5['authorId']&&_0x4216e5['hasOwnProperty']('authorId')&&(_0x1a0444['authorId']=_0x4216e5['authorId']),null!=_0x4216e5['type']&&_0x4216e5['hasOwnProperty']('type')&&(_0x1a0444['type']=_0x4216e5['type']),null!=_0x4216e5['createdAt']&&_0x4216e5['hasOwnProperty']('createdAt')&&(_0x1a0444['createdAt']=_0x4216e5['createdAt']),null!=_0x4216e5['data']&&_0x4216e5['hasOwnProperty']('data')&&(_0x1a0444['data']=_0x4216e5['data']),null!=_0x4216e5['hasComments']&&_0x4216e5['hasOwnProperty']('hasComments')&&(_0x1a0444['hasComments']=_0x4216e5['hasComments']),null!=_0x4216e5['state']&&_0x4216e5['hasOwnProperty']('state')&&(_0x1a0444['state']=_0x4216e5['state']),null!=_0x4216e5['attributes']&&_0x4216e5['hasOwnProperty']('attributes')&&(_0x1a0444['attributes']=_0x4216e5['attributes']),_0x1a0444;},_0x1d95c8['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x1d95c8['getTypeUrl']=function(_0x123780){return void 0x0===_0x123780&&(_0x123780='type.googleapis.com'),_0x123780+'/TrackChangesGetSuggestionResponse';},_0x1d95c8;}()),_0xd25805['UserDescriptor']=(function(){function _0x3be3d7(_0xb6a991){if(this['attributes']=[],_0xb6a991){for(var _0x3ce7f0=Object['keys'](_0xb6a991),_0x3db6fd=0x0;_0x3db6fd<_0x3ce7f0['length'];++_0x3db6fd)null!=_0xb6a991[_0x3ce7f0[_0x3db6fd]]&&(this[_0x3ce7f0[_0x3db6fd]]=_0xb6a991[_0x3ce7f0[_0x3db6fd]]);}}return _0x3be3d7['prototype']['attributes']=_0xcc38bf['emptyArray'],_0x3be3d7['create']=function(_0x592578){return new _0x3be3d7(_0x592578);},_0x3be3d7['encode']=function(_0x534875,_0x188972){if(_0x188972||(_0x188972=_0x1f8a63['create']()),null!=_0x534875['attributes']&&_0x534875['attributes']['length']){for(var _0x4dadf2=0x0;_0x4dadf2<_0x534875['attributes']['length'];++_0x4dadf2)_0xd25805['KeyValueDescriptor']['encode'](_0x534875['attributes'][_0x4dadf2],_0x188972['uint32'](0xa)['fork']())['ldelim']();}return _0x188972;},_0x3be3d7['encodeDelimited']=function(_0x269ba8,_0x5f3839){return this['encode'](_0x269ba8,_0x5f3839)['ldelim']();},_0x3be3d7['decode']=function(_0x32f245,_0x1a7cfe,_0x2ab9c1){_0x32f245 instanceof _0x37c416||(_0x32f245=_0x37c416['create'](_0x32f245));for(var _0x48581c=void 0x0===_0x1a7cfe?_0x32f245['len']:_0x32f245['pos']+_0x1a7cfe,_0x38da55=new _0xd25805['UserDescriptor']();_0x32f245['pos']<_0x48581c;){var _0x76f1b0=_0x32f245['uint32']();if(_0x76f1b0===_0x2ab9c1)break;_0x76f1b0>>>0x3==0x1?(_0x38da55['attributes']&&_0x38da55['attributes']['length']||(_0x38da55['attributes']=[]),_0x38da55['attributes']['push'](_0xd25805['KeyValueDescriptor']['decode'](_0x32f245,_0x32f245['uint32']()))):_0x32f245['skipType'](0x7&_0x76f1b0);}return _0x38da55;},_0x3be3d7['decodeDelimited']=function(_0x362750){return _0x362750 instanceof _0x37c416||(_0x362750=new _0x37c416(_0x362750)),this['decode'](_0x362750,_0x362750['uint32']());},_0x3be3d7['verify']=function(_0x14ac77){if('object'!=typeof _0x14ac77||null===_0x14ac77)return'object\x20expected';if(null!=_0x14ac77['attributes']&&_0x14ac77['hasOwnProperty']('attributes')){if(!Array['isArray'](_0x14ac77['attributes']))return'attributes:\x20array\x20expected';for(var _0x1ef9c5=0x0;_0x1ef9c5<_0x14ac77['attributes']['length'];++_0x1ef9c5){var _0x4a4604=_0xd25805['KeyValueDescriptor']['verify'](_0x14ac77['attributes'][_0x1ef9c5]);if(_0x4a4604)return'attributes.'+_0x4a4604;}}return null;},_0x3be3d7['fromObject']=function(_0x48817c){if(_0x48817c instanceof _0xd25805['UserDescriptor'])return _0x48817c;var _0x366570=new _0xd25805['UserDescriptor']();if(_0x48817c['attributes']){if(!Array['isArray'](_0x48817c['attributes']))throw TypeError('.UserDescriptor.attributes:\x20array\x20expected');_0x366570['attributes']=[];for(var _0xf858cd=0x0;_0xf858cd<_0x48817c['attributes']['length'];++_0xf858cd){if('object'!=typeof _0x48817c['attributes'][_0xf858cd])throw TypeError('.UserDescriptor.attributes:\x20object\x20expected');_0x366570['attributes'][_0xf858cd]=_0xd25805['KeyValueDescriptor']['fromObject'](_0x48817c['attributes'][_0xf858cd]);}}return _0x366570;},_0x3be3d7['toObject']=function(_0x204167,_0x55ca02){_0x55ca02||(_0x55ca02={});var _0xadb5f3={};if((_0x55ca02['arrays']||_0x55ca02['defaults'])&&(_0xadb5f3['attributes']=[]),_0x204167['attributes']&&_0x204167['attributes']['length']){_0xadb5f3['attributes']=[];for(var _0x595e16=0x0;_0x595e16<_0x204167['attributes']['length'];++_0x595e16)_0xadb5f3['attributes'][_0x595e16]=_0xd25805['KeyValueDescriptor']['toObject'](_0x204167['attributes'][_0x595e16],_0x55ca02);}return _0xadb5f3;},_0x3be3d7['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x3be3d7['getTypeUrl']=function(_0xc63698){return void 0x0===_0xc63698&&(_0xc63698='type.googleapis.com'),_0xc63698+'/UserDescriptor';},_0x3be3d7;}()),_0xd25805['GetManyUsersMessage']=(function(){function _0x1be6c8(_0x4922f6){if(this['ids']=[],_0x4922f6){for(var _0x4a148d=Object['keys'](_0x4922f6),_0x4e8908=0x0;_0x4e8908<_0x4a148d['length'];++_0x4e8908)null!=_0x4922f6[_0x4a148d[_0x4e8908]]&&(this[_0x4a148d[_0x4e8908]]=_0x4922f6[_0x4a148d[_0x4e8908]]);}}return _0x1be6c8['prototype']['ids']=_0xcc38bf['emptyArray'],_0x1be6c8['create']=function(_0x544ca0){return new _0x1be6c8(_0x544ca0);},_0x1be6c8['encode']=function(_0x334aef,_0x58098b){if(_0x58098b||(_0x58098b=_0x1f8a63['create']()),null!=_0x334aef['ids']&&_0x334aef['ids']['length']){for(var _0x535a73=0x0;_0x535a73<_0x334aef['ids']['length'];++_0x535a73)_0x58098b['uint32'](0xa)['string'](_0x334aef['ids'][_0x535a73]);}return _0x58098b;},_0x1be6c8['encodeDelimited']=function(_0x263fd3,_0x565dc7){return this['encode'](_0x263fd3,_0x565dc7)['ldelim']();},_0x1be6c8['decode']=function(_0x4ea60a,_0x33b416,_0x1b0ed7){_0x4ea60a instanceof _0x37c416||(_0x4ea60a=_0x37c416['create'](_0x4ea60a));for(var _0x2618c7=void 0x0===_0x33b416?_0x4ea60a['len']:_0x4ea60a['pos']+_0x33b416,_0xaa7c7b=new _0xd25805['GetManyUsersMessage']();_0x4ea60a['pos']<_0x2618c7;){var _0x57adcc=_0x4ea60a['uint32']();if(_0x57adcc===_0x1b0ed7)break;_0x57adcc>>>0x3==0x1?(_0xaa7c7b['ids']&&_0xaa7c7b['ids']['length']||(_0xaa7c7b['ids']=[]),_0xaa7c7b['ids']['push'](_0x4ea60a['string']())):_0x4ea60a['skipType'](0x7&_0x57adcc);}return _0xaa7c7b;},_0x1be6c8['decodeDelimited']=function(_0x349858){return _0x349858 instanceof _0x37c416||(_0x349858=new _0x37c416(_0x349858)),this['decode'](_0x349858,_0x349858['uint32']());},_0x1be6c8['verify']=function(_0x12e909){if('object'!=typeof _0x12e909||null===_0x12e909)return'object\x20expected';if(null!=_0x12e909['ids']&&_0x12e909['hasOwnProperty']('ids')){if(!Array['isArray'](_0x12e909['ids']))return'ids:\x20array\x20expected';for(var _0x351e5f=0x0;_0x351e5f<_0x12e909['ids']['length'];++_0x351e5f)if(!_0xcc38bf['isString'](_0x12e909['ids'][_0x351e5f]))return'ids:\x20string[]\x20expected';}return null;},_0x1be6c8['fromObject']=function(_0x390b98){if(_0x390b98 instanceof _0xd25805['GetManyUsersMessage'])return _0x390b98;var _0x28e95d=new _0xd25805['GetManyUsersMessage']();if(_0x390b98['ids']){if(!Array['isArray'](_0x390b98['ids']))throw TypeError('.GetManyUsersMessage.ids:\x20array\x20expected');_0x28e95d['ids']=[];for(var _0x360a25=0x0;_0x360a25<_0x390b98['ids']['length'];++_0x360a25)_0x28e95d['ids'][_0x360a25]=String(_0x390b98['ids'][_0x360a25]);}return _0x28e95d;},_0x1be6c8['toObject']=function(_0x476f4d,_0x4a9ad4){_0x4a9ad4||(_0x4a9ad4={});var _0x537297={};if((_0x4a9ad4['arrays']||_0x4a9ad4['defaults'])&&(_0x537297['ids']=[]),_0x476f4d['ids']&&_0x476f4d['ids']['length']){_0x537297['ids']=[];for(var _0x5d7be7=0x0;_0x5d7be7<_0x476f4d['ids']['length'];++_0x5d7be7)_0x537297['ids'][_0x5d7be7]=_0x476f4d['ids'][_0x5d7be7];}return _0x537297;},_0x1be6c8['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x1be6c8['getTypeUrl']=function(_0x2573d6){return void 0x0===_0x2573d6&&(_0x2573d6='type.googleapis.com'),_0x2573d6+'/GetManyUsersMessage';},_0x1be6c8;}()),_0xd25805['GetUserMessage']=(function(){function _0x5e06a5(_0x865426){if(_0x865426){for(var _0x63a878=Object['keys'](_0x865426),_0x20ddc0=0x0;_0x20ddc0<_0x63a878['length'];++_0x20ddc0)null!=_0x865426[_0x63a878[_0x20ddc0]]&&(this[_0x63a878[_0x20ddc0]]=_0x865426[_0x63a878[_0x20ddc0]]);}}return _0x5e06a5['prototype']['id']='',_0x5e06a5['create']=function(_0x59ac13){return new _0x5e06a5(_0x59ac13);},_0x5e06a5['encode']=function(_0x1cda9e,_0x112c31){return _0x112c31||(_0x112c31=_0x1f8a63['create']()),null!=_0x1cda9e['id']&&Object['hasOwnProperty']['call'](_0x1cda9e,'id')&&_0x112c31['uint32'](0xa)['string'](_0x1cda9e['id']),_0x112c31;},_0x5e06a5['encodeDelimited']=function(_0x311212,_0x3e7765){return this['encode'](_0x311212,_0x3e7765)['ldelim']();},_0x5e06a5['decode']=function(_0x2fea24,_0x52a047,_0x191d29){_0x2fea24 instanceof _0x37c416||(_0x2fea24=_0x37c416['create'](_0x2fea24));for(var _0x927840=void 0x0===_0x52a047?_0x2fea24['len']:_0x2fea24['pos']+_0x52a047,_0x864819=new _0xd25805['GetUserMessage']();_0x2fea24['pos']<_0x927840;){var _0x4dff97=_0x2fea24['uint32']();if(_0x4dff97===_0x191d29)break;_0x4dff97>>>0x3==0x1?_0x864819['id']=_0x2fea24['string']():_0x2fea24['skipType'](0x7&_0x4dff97);}return _0x864819;},_0x5e06a5['decodeDelimited']=function(_0x2ac962){return _0x2ac962 instanceof _0x37c416||(_0x2ac962=new _0x37c416(_0x2ac962)),this['decode'](_0x2ac962,_0x2ac962['uint32']());},_0x5e06a5['verify']=function(_0x159da1){return'object'!=typeof _0x159da1||null===_0x159da1?'object\x20expected':null!=_0x159da1['id']&&_0x159da1['hasOwnProperty']('id')&&!_0xcc38bf['isString'](_0x159da1['id'])?'id:\x20string\x20expected':null;},_0x5e06a5['fromObject']=function(_0x2a187a){if(_0x2a187a instanceof _0xd25805['GetUserMessage'])return _0x2a187a;var _0x19d24d=new _0xd25805['GetUserMessage']();return null!=_0x2a187a['id']&&(_0x19d24d['id']=String(_0x2a187a['id'])),_0x19d24d;},_0x5e06a5['toObject']=function(_0x472fdc,_0x53b253){_0x53b253||(_0x53b253={});var _0x513ff7={};return _0x53b253['defaults']&&(_0x513ff7['id']=''),null!=_0x472fdc['id']&&_0x472fdc['hasOwnProperty']('id')&&(_0x513ff7['id']=_0x472fdc['id']),_0x513ff7;},_0x5e06a5['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x5e06a5['getTypeUrl']=function(_0x49d995){return void 0x0===_0x49d995&&(_0x49d995='type.googleapis.com'),_0x49d995+'/GetUserMessage';},_0x5e06a5;}()),_0xd25805['GetManyUsersResponse']=(function(){function _0x16ff23(_0x383c4a){if(this['users']=[],_0x383c4a){for(var _0x4b1041=Object['keys'](_0x383c4a),_0x3f3009=0x0;_0x3f3009<_0x4b1041['length'];++_0x3f3009)null!=_0x383c4a[_0x4b1041[_0x3f3009]]&&(this[_0x4b1041[_0x3f3009]]=_0x383c4a[_0x4b1041[_0x3f3009]]);}}return _0x16ff23['prototype']['users']=_0xcc38bf['emptyArray'],_0x16ff23['create']=function(_0x4bb905){return new _0x16ff23(_0x4bb905);},_0x16ff23['encode']=function(_0x389c1d,_0x11f2d3){if(_0x11f2d3||(_0x11f2d3=_0x1f8a63['create']()),null!=_0x389c1d['users']&&_0x389c1d['users']['length']){for(var _0x1aa5de=0x0;_0x1aa5de<_0x389c1d['users']['length'];++_0x1aa5de)_0xd25805['UserDescriptor']['encode'](_0x389c1d['users'][_0x1aa5de],_0x11f2d3['uint32'](0xa)['fork']())['ldelim']();}return _0x11f2d3;},_0x16ff23['encodeDelimited']=function(_0x276950,_0x148e50){return this['encode'](_0x276950,_0x148e50)['ldelim']();},_0x16ff23['decode']=function(_0x5a0a2b,_0x539414,_0x4f14b0){_0x5a0a2b instanceof _0x37c416||(_0x5a0a2b=_0x37c416['create'](_0x5a0a2b));for(var _0x30ed8c=void 0x0===_0x539414?_0x5a0a2b['len']:_0x5a0a2b['pos']+_0x539414,_0x306499=new _0xd25805['GetManyUsersResponse']();_0x5a0a2b['pos']<_0x30ed8c;){var _0x1449f4=_0x5a0a2b['uint32']();if(_0x1449f4===_0x4f14b0)break;_0x1449f4>>>0x3==0x1?(_0x306499['users']&&_0x306499['users']['length']||(_0x306499['users']=[]),_0x306499['users']['push'](_0xd25805['UserDescriptor']['decode'](_0x5a0a2b,_0x5a0a2b['uint32']()))):_0x5a0a2b['skipType'](0x7&_0x1449f4);}return _0x306499;},_0x16ff23['decodeDelimited']=function(_0x4a3ece){return _0x4a3ece instanceof _0x37c416||(_0x4a3ece=new _0x37c416(_0x4a3ece)),this['decode'](_0x4a3ece,_0x4a3ece['uint32']());},_0x16ff23['verify']=function(_0x32161e){if('object'!=typeof _0x32161e||null===_0x32161e)return'object\x20expected';if(null!=_0x32161e['users']&&_0x32161e['hasOwnProperty']('users')){if(!Array['isArray'](_0x32161e['users']))return'users:\x20array\x20expected';for(var _0x3f5d31=0x0;_0x3f5d31<_0x32161e['users']['length'];++_0x3f5d31){var _0x2b9400=_0xd25805['UserDescriptor']['verify'](_0x32161e['users'][_0x3f5d31]);if(_0x2b9400)return'users.'+_0x2b9400;}}return null;},_0x16ff23['fromObject']=function(_0x27db60){if(_0x27db60 instanceof _0xd25805['GetManyUsersResponse'])return _0x27db60;var _0x209a21=new _0xd25805['GetManyUsersResponse']();if(_0x27db60['users']){if(!Array['isArray'](_0x27db60['users']))throw TypeError('.GetManyUsersResponse.users:\x20array\x20expected');_0x209a21['users']=[];for(var _0x1d85d3=0x0;_0x1d85d3<_0x27db60['users']['length'];++_0x1d85d3){if('object'!=typeof _0x27db60['users'][_0x1d85d3])throw TypeError('.GetManyUsersResponse.users:\x20object\x20expected');_0x209a21['users'][_0x1d85d3]=_0xd25805['UserDescriptor']['fromObject'](_0x27db60['users'][_0x1d85d3]);}}return _0x209a21;},_0x16ff23['toObject']=function(_0x1758e8,_0x35f0b3){_0x35f0b3||(_0x35f0b3={});var _0x3a0da1={};if((_0x35f0b3['arrays']||_0x35f0b3['defaults'])&&(_0x3a0da1['users']=[]),_0x1758e8['users']&&_0x1758e8['users']['length']){_0x3a0da1['users']=[];for(var _0x26733c=0x0;_0x26733c<_0x1758e8['users']['length'];++_0x26733c)_0x3a0da1['users'][_0x26733c]=_0xd25805['UserDescriptor']['toObject'](_0x1758e8['users'][_0x26733c],_0x35f0b3);}return _0x3a0da1;},_0x16ff23['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x16ff23['getTypeUrl']=function(_0x195239){return void 0x0===_0x195239&&(_0x195239='type.googleapis.com'),_0x195239+'/GetManyUsersResponse';},_0x16ff23;}()),_0xd25805['GetUserResponse']=(function(){function _0x209d9e(_0xf53a2f){if(this['attributes']=[],_0xf53a2f){for(var _0x2cd44e=Object['keys'](_0xf53a2f),_0x3e6ffa=0x0;_0x3e6ffa<_0x2cd44e['length'];++_0x3e6ffa)null!=_0xf53a2f[_0x2cd44e[_0x3e6ffa]]&&(this[_0x2cd44e[_0x3e6ffa]]=_0xf53a2f[_0x2cd44e[_0x3e6ffa]]);}}return _0x209d9e['prototype']['attributes']=_0xcc38bf['emptyArray'],_0x209d9e['create']=function(_0x430163){return new _0x209d9e(_0x430163);},_0x209d9e['encode']=function(_0x1863b0,_0x5dbf94){if(_0x5dbf94||(_0x5dbf94=_0x1f8a63['create']()),null!=_0x1863b0['attributes']&&_0x1863b0['attributes']['length']){for(var _0xb6c9b9=0x0;_0xb6c9b9<_0x1863b0['attributes']['length'];++_0xb6c9b9)_0xd25805['KeyValueDescriptor']['encode'](_0x1863b0['attributes'][_0xb6c9b9],_0x5dbf94['uint32'](0xa)['fork']())['ldelim']();}return _0x5dbf94;},_0x209d9e['encodeDelimited']=function(_0x1fb0cb,_0x39be8d){return this['encode'](_0x1fb0cb,_0x39be8d)['ldelim']();},_0x209d9e['decode']=function(_0x141cb7,_0x4385c1,_0x140ff7){_0x141cb7 instanceof _0x37c416||(_0x141cb7=_0x37c416['create'](_0x141cb7));for(var _0x30d609=void 0x0===_0x4385c1?_0x141cb7['len']:_0x141cb7['pos']+_0x4385c1,_0x90891c=new _0xd25805['GetUserResponse']();_0x141cb7['pos']<_0x30d609;){var _0xe8c756=_0x141cb7['uint32']();if(_0xe8c756===_0x140ff7)break;_0xe8c756>>>0x3==0x1?(_0x90891c['attributes']&&_0x90891c['attributes']['length']||(_0x90891c['attributes']=[]),_0x90891c['attributes']['push'](_0xd25805['KeyValueDescriptor']['decode'](_0x141cb7,_0x141cb7['uint32']()))):_0x141cb7['skipType'](0x7&_0xe8c756);}return _0x90891c;},_0x209d9e['decodeDelimited']=function(_0xd15169){return _0xd15169 instanceof _0x37c416||(_0xd15169=new _0x37c416(_0xd15169)),this['decode'](_0xd15169,_0xd15169['uint32']());},_0x209d9e['verify']=function(_0x41c3d2){if('object'!=typeof _0x41c3d2||null===_0x41c3d2)return'object\x20expected';if(null!=_0x41c3d2['attributes']&&_0x41c3d2['hasOwnProperty']('attributes')){if(!Array['isArray'](_0x41c3d2['attributes']))return'attributes:\x20array\x20expected';for(var _0xe182aa=0x0;_0xe182aa<_0x41c3d2['attributes']['length'];++_0xe182aa){var _0x50ef8a=_0xd25805['KeyValueDescriptor']['verify'](_0x41c3d2['attributes'][_0xe182aa]);if(_0x50ef8a)return'attributes.'+_0x50ef8a;}}return null;},_0x209d9e['fromObject']=function(_0x20b008){if(_0x20b008 instanceof _0xd25805['GetUserResponse'])return _0x20b008;var _0x63499=new _0xd25805['GetUserResponse']();if(_0x20b008['attributes']){if(!Array['isArray'](_0x20b008['attributes']))throw TypeError('.GetUserResponse.attributes:\x20array\x20expected');_0x63499['attributes']=[];for(var _0x5984d0=0x0;_0x5984d0<_0x20b008['attributes']['length'];++_0x5984d0){if('object'!=typeof _0x20b008['attributes'][_0x5984d0])throw TypeError('.GetUserResponse.attributes:\x20object\x20expected');_0x63499['attributes'][_0x5984d0]=_0xd25805['KeyValueDescriptor']['fromObject'](_0x20b008['attributes'][_0x5984d0]);}}return _0x63499;},_0x209d9e['toObject']=function(_0x7ce123,_0x2001f1){_0x2001f1||(_0x2001f1={});var _0x5573eb={};if((_0x2001f1['arrays']||_0x2001f1['defaults'])&&(_0x5573eb['attributes']=[]),_0x7ce123['attributes']&&_0x7ce123['attributes']['length']){_0x5573eb['attributes']=[];for(var _0x1c2ace=0x0;_0x1c2ace<_0x7ce123['attributes']['length'];++_0x1c2ace)_0x5573eb['attributes'][_0x1c2ace]=_0xd25805['KeyValueDescriptor']['toObject'](_0x7ce123['attributes'][_0x1c2ace],_0x2001f1);}return _0x5573eb;},_0x209d9e['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x209d9e['getTypeUrl']=function(_0x33df41){return void 0x0===_0x33df41&&(_0x33df41='type.googleapis.com'),_0x33df41+'/GetUserResponse';},_0x209d9e;}()),_0xd25805['ChannelMessage']=(function(){function _0x110e51(_0x80c2e4){if(_0x80c2e4){for(var _0xbc3158=Object['keys'](_0x80c2e4),_0x89fbae=0x0;_0x89fbae<_0xbc3158['length'];++_0x89fbae)null!=_0x80c2e4[_0xbc3158[_0x89fbae]]&&(this[_0xbc3158[_0x89fbae]]=_0x80c2e4[_0xbc3158[_0x89fbae]]);}}return _0x110e51['prototype']['type']=0x0,_0x110e51['prototype']['socketId']='',_0x110e51['prototype']['data']=_0xcc38bf['newBuffer']([]),_0x110e51['create']=function(_0x2839b4){return new _0x110e51(_0x2839b4);},_0x110e51['encode']=function(_0x9d4eb9,_0x4db49f){return _0x4db49f||(_0x4db49f=_0x1f8a63['create']()),null!=_0x9d4eb9['type']&&Object['hasOwnProperty']['call'](_0x9d4eb9,'type')&&_0x4db49f['uint32'](0x8)['uint32'](_0x9d4eb9['type']),null!=_0x9d4eb9['socketId']&&Object['hasOwnProperty']['call'](_0x9d4eb9,'socketId')&&_0x4db49f['uint32'](0x12)['string'](_0x9d4eb9['socketId']),null!=_0x9d4eb9['data']&&Object['hasOwnProperty']['call'](_0x9d4eb9,'data')&&_0x4db49f['uint32'](0x1a)['bytes'](_0x9d4eb9['data']),_0x4db49f;},_0x110e51['encodeDelimited']=function(_0xb9de3a,_0x500d1a){return this['encode'](_0xb9de3a,_0x500d1a)['ldelim']();},_0x110e51['decode']=function(_0x2dbf7f,_0x4c0789,_0x419421){_0x2dbf7f instanceof _0x37c416||(_0x2dbf7f=_0x37c416['create'](_0x2dbf7f));for(var _0x3aeb7d=void 0x0===_0x4c0789?_0x2dbf7f['len']:_0x2dbf7f['pos']+_0x4c0789,_0x134e19=new _0xd25805['ChannelMessage']();_0x2dbf7f['pos']<_0x3aeb7d;){var _0x46388c=_0x2dbf7f['uint32']();if(_0x46388c===_0x419421)break;switch(_0x46388c>>>0x3){case 0x1:_0x134e19['type']=_0x2dbf7f['uint32']();break;case 0x2:_0x134e19['socketId']=_0x2dbf7f['string']();break;case 0x3:_0x134e19['data']=_0x2dbf7f['bytes']();break;default:_0x2dbf7f['skipType'](0x7&_0x46388c);}}return _0x134e19;},_0x110e51['decodeDelimited']=function(_0x58b13d){return _0x58b13d instanceof _0x37c416||(_0x58b13d=new _0x37c416(_0x58b13d)),this['decode'](_0x58b13d,_0x58b13d['uint32']());},_0x110e51['verify']=function(_0x35b68a){return'object'!=typeof _0x35b68a||null===_0x35b68a?'object\x20expected':null!=_0x35b68a['type']&&_0x35b68a['hasOwnProperty']('type')&&!_0xcc38bf['isInteger'](_0x35b68a['type'])?'type:\x20integer\x20expected':null!=_0x35b68a['socketId']&&_0x35b68a['hasOwnProperty']('socketId')&&!_0xcc38bf['isString'](_0x35b68a['socketId'])?'socketId:\x20string\x20expected':null!=_0x35b68a['data']&&_0x35b68a['hasOwnProperty']('data')&&!(_0x35b68a['data']&&'number'==typeof _0x35b68a['data']['length']||_0xcc38bf['isString'](_0x35b68a['data']))?'data:\x20buffer\x20expected':null;},_0x110e51['fromObject']=function(_0x212919){if(_0x212919 instanceof _0xd25805['ChannelMessage'])return _0x212919;var _0x5ec614=new _0xd25805['ChannelMessage']();return null!=_0x212919['type']&&(_0x5ec614['type']=_0x212919['type']>>>0x0),null!=_0x212919['socketId']&&(_0x5ec614['socketId']=String(_0x212919['socketId'])),null!=_0x212919['data']&&('string'==typeof _0x212919['data']?_0xcc38bf['base64']['decode'](_0x212919['data'],_0x5ec614['data']=_0xcc38bf['newBuffer'](_0xcc38bf['base64']['length'](_0x212919['data'])),0x0):_0x212919['data']['length']>=0x0&&(_0x5ec614['data']=_0x212919['data'])),_0x5ec614;},_0x110e51['toObject']=function(_0x6a8231,_0x43775f){_0x43775f||(_0x43775f={});var _0x518fce={};return _0x43775f['defaults']&&(_0x518fce['type']=0x0,_0x518fce['socketId']='',_0x43775f['bytes']===String?_0x518fce['data']='':(_0x518fce['data']=[],_0x43775f['bytes']!==Array&&(_0x518fce['data']=_0xcc38bf['newBuffer'](_0x518fce['data'])))),null!=_0x6a8231['type']&&_0x6a8231['hasOwnProperty']('type')&&(_0x518fce['type']=_0x6a8231['type']),null!=_0x6a8231['socketId']&&_0x6a8231['hasOwnProperty']('socketId')&&(_0x518fce['socketId']=_0x6a8231['socketId']),null!=_0x6a8231['data']&&_0x6a8231['hasOwnProperty']('data')&&(_0x518fce['data']=_0x43775f['bytes']===String?_0xcc38bf['base64']['encode'](_0x6a8231['data'],0x0,_0x6a8231['data']['length']):_0x43775f['bytes']===Array?Array['prototype']['slice']['call'](_0x6a8231['data']):_0x6a8231['data']),_0x518fce;},_0x110e51['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x110e51['getTypeUrl']=function(_0x1fc425){return void 0x0===_0x1fc425&&(_0x1fc425='type.googleapis.com'),_0x1fc425+'/ChannelMessage';},_0x110e51;}()),_0xd25805['BytesBytesPacketDataMessage']=(function(){function _0x3161d7(_0x4a2974){if(_0x4a2974){for(var _0x12b061=Object['keys'](_0x4a2974),_0x1045eb=0x0;_0x1045eb<_0x12b061['length'];++_0x1045eb)null!=_0x4a2974[_0x12b061[_0x1045eb]]&&(this[_0x12b061[_0x1045eb]]=_0x4a2974[_0x12b061[_0x1045eb]]);}}return _0x3161d7['prototype']['data']=_0xcc38bf['newBuffer']([]),_0x3161d7['prototype']['data1']=_0xcc38bf['newBuffer']([]),_0x3161d7['create']=function(_0x1161e1){return new _0x3161d7(_0x1161e1);},_0x3161d7['encode']=function(_0x524d5b,_0x269ac8){return _0x269ac8||(_0x269ac8=_0x1f8a63['create']()),null!=_0x524d5b['data']&&Object['hasOwnProperty']['call'](_0x524d5b,'data')&&_0x269ac8['uint32'](0xa)['bytes'](_0x524d5b['data']),null!=_0x524d5b['data1']&&Object['hasOwnProperty']['call'](_0x524d5b,'data1')&&_0x269ac8['uint32'](0x12)['bytes'](_0x524d5b['data1']),_0x269ac8;},_0x3161d7['encodeDelimited']=function(_0xac0de0,_0xebfdc2){return this['encode'](_0xac0de0,_0xebfdc2)['ldelim']();},_0x3161d7['decode']=function(_0x41291d,_0x27dbfd,_0x13da4d){_0x41291d instanceof _0x37c416||(_0x41291d=_0x37c416['create'](_0x41291d));for(var _0x40dd29=void 0x0===_0x27dbfd?_0x41291d['len']:_0x41291d['pos']+_0x27dbfd,_0x5ef9d5=new _0xd25805['BytesBytesPacketDataMessage']();_0x41291d['pos']<_0x40dd29;){var _0xe22cd1=_0x41291d['uint32']();if(_0xe22cd1===_0x13da4d)break;switch(_0xe22cd1>>>0x3){case 0x1:_0x5ef9d5['data']=_0x41291d['bytes']();break;case 0x2:_0x5ef9d5['data1']=_0x41291d['bytes']();break;default:_0x41291d['skipType'](0x7&_0xe22cd1);}}return _0x5ef9d5;},_0x3161d7['decodeDelimited']=function(_0x6537ea){return _0x6537ea instanceof _0x37c416||(_0x6537ea=new _0x37c416(_0x6537ea)),this['decode'](_0x6537ea,_0x6537ea['uint32']());},_0x3161d7['verify']=function(_0x4e7dfc){return'object'!=typeof _0x4e7dfc||null===_0x4e7dfc?'object\x20expected':null!=_0x4e7dfc['data']&&_0x4e7dfc['hasOwnProperty']('data')&&!(_0x4e7dfc['data']&&'number'==typeof _0x4e7dfc['data']['length']||_0xcc38bf['isString'](_0x4e7dfc['data']))?'data:\x20buffer\x20expected':null!=_0x4e7dfc['data1']&&_0x4e7dfc['hasOwnProperty']('data1')&&!(_0x4e7dfc['data1']&&'number'==typeof _0x4e7dfc['data1']['length']||_0xcc38bf['isString'](_0x4e7dfc['data1']))?'data1:\x20buffer\x20expected':null;},_0x3161d7['fromObject']=function(_0x5b0b65){if(_0x5b0b65 instanceof _0xd25805['BytesBytesPacketDataMessage'])return _0x5b0b65;var _0x619b99=new _0xd25805['BytesBytesPacketDataMessage']();return null!=_0x5b0b65['data']&&('string'==typeof _0x5b0b65['data']?_0xcc38bf['base64']['decode'](_0x5b0b65['data'],_0x619b99['data']=_0xcc38bf['newBuffer'](_0xcc38bf['base64']['length'](_0x5b0b65['data'])),0x0):_0x5b0b65['data']['length']>=0x0&&(_0x619b99['data']=_0x5b0b65['data'])),null!=_0x5b0b65['data1']&&('string'==typeof _0x5b0b65['data1']?_0xcc38bf['base64']['decode'](_0x5b0b65['data1'],_0x619b99['data1']=_0xcc38bf['newBuffer'](_0xcc38bf['base64']['length'](_0x5b0b65['data1'])),0x0):_0x5b0b65['data1']['length']>=0x0&&(_0x619b99['data1']=_0x5b0b65['data1'])),_0x619b99;},_0x3161d7['toObject']=function(_0x1e8ae1,_0x4fc402){_0x4fc402||(_0x4fc402={});var _0x507670={};return _0x4fc402['defaults']&&(_0x4fc402['bytes']===String?_0x507670['data']='':(_0x507670['data']=[],_0x4fc402['bytes']!==Array&&(_0x507670['data']=_0xcc38bf['newBuffer'](_0x507670['data']))),_0x4fc402['bytes']===String?_0x507670['data1']='':(_0x507670['data1']=[],_0x4fc402['bytes']!==Array&&(_0x507670['data1']=_0xcc38bf['newBuffer'](_0x507670['data1'])))),null!=_0x1e8ae1['data']&&_0x1e8ae1['hasOwnProperty']('data')&&(_0x507670['data']=_0x4fc402['bytes']===String?_0xcc38bf['base64']['encode'](_0x1e8ae1['data'],0x0,_0x1e8ae1['data']['length']):_0x4fc402['bytes']===Array?Array['prototype']['slice']['call'](_0x1e8ae1['data']):_0x1e8ae1['data']),null!=_0x1e8ae1['data1']&&_0x1e8ae1['hasOwnProperty']('data1')&&(_0x507670['data1']=_0x4fc402['bytes']===String?_0xcc38bf['base64']['encode'](_0x1e8ae1['data1'],0x0,_0x1e8ae1['data1']['length']):_0x4fc402['bytes']===Array?Array['prototype']['slice']['call'](_0x1e8ae1['data1']):_0x1e8ae1['data1']),_0x507670;},_0x3161d7['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x3161d7['getTypeUrl']=function(_0x4b61e2){return void 0x0===_0x4b61e2&&(_0x4b61e2='type.googleapis.com'),_0x4b61e2+'/BytesBytesPacketDataMessage';},_0x3161d7;}()),_0xd25805['NumberBytesPacketDataMessage']=(function(){function _0x1c6f39(_0x140e83){if(_0x140e83){for(var _0x157320=Object['keys'](_0x140e83),_0x391311=0x0;_0x391311<_0x157320['length'];++_0x391311)null!=_0x140e83[_0x157320[_0x391311]]&&(this[_0x157320[_0x391311]]=_0x140e83[_0x157320[_0x391311]]);}}return _0x1c6f39['prototype']['data']=0x0,_0x1c6f39['prototype']['data1']=_0xcc38bf['newBuffer']([]),_0x1c6f39['create']=function(_0x21d48f){return new _0x1c6f39(_0x21d48f);},_0x1c6f39['encode']=function(_0x140165,_0x4599f0){return _0x4599f0||(_0x4599f0=_0x1f8a63['create']()),null!=_0x140165['data']&&Object['hasOwnProperty']['call'](_0x140165,'data')&&_0x4599f0['uint32'](0x8)['uint32'](_0x140165['data']),null!=_0x140165['data1']&&Object['hasOwnProperty']['call'](_0x140165,'data1')&&_0x4599f0['uint32'](0x12)['bytes'](_0x140165['data1']),_0x4599f0;},_0x1c6f39['encodeDelimited']=function(_0x433e03,_0x2daf92){return this['encode'](_0x433e03,_0x2daf92)['ldelim']();},_0x1c6f39['decode']=function(_0x593228,_0x15cdde,_0x5e4a0b){_0x593228 instanceof _0x37c416||(_0x593228=_0x37c416['create'](_0x593228));for(var _0xd4a83d=void 0x0===_0x15cdde?_0x593228['len']:_0x593228['pos']+_0x15cdde,_0x8566b8=new _0xd25805['NumberBytesPacketDataMessage']();_0x593228['pos']<_0xd4a83d;){var _0x48628c=_0x593228['uint32']();if(_0x48628c===_0x5e4a0b)break;switch(_0x48628c>>>0x3){case 0x1:_0x8566b8['data']=_0x593228['uint32']();break;case 0x2:_0x8566b8['data1']=_0x593228['bytes']();break;default:_0x593228['skipType'](0x7&_0x48628c);}}return _0x8566b8;},_0x1c6f39['decodeDelimited']=function(_0x5b74fc){return _0x5b74fc instanceof _0x37c416||(_0x5b74fc=new _0x37c416(_0x5b74fc)),this['decode'](_0x5b74fc,_0x5b74fc['uint32']());},_0x1c6f39['verify']=function(_0x2280c5){return'object'!=typeof _0x2280c5||null===_0x2280c5?'object\x20expected':null!=_0x2280c5['data']&&_0x2280c5['hasOwnProperty']('data')&&!_0xcc38bf['isInteger'](_0x2280c5['data'])?'data:\x20integer\x20expected':null!=_0x2280c5['data1']&&_0x2280c5['hasOwnProperty']('data1')&&!(_0x2280c5['data1']&&'number'==typeof _0x2280c5['data1']['length']||_0xcc38bf['isString'](_0x2280c5['data1']))?'data1:\x20buffer\x20expected':null;},_0x1c6f39['fromObject']=function(_0x40cb5a){if(_0x40cb5a instanceof _0xd25805['NumberBytesPacketDataMessage'])return _0x40cb5a;var _0x2aa944=new _0xd25805['NumberBytesPacketDataMessage']();return null!=_0x40cb5a['data']&&(_0x2aa944['data']=_0x40cb5a['data']>>>0x0),null!=_0x40cb5a['data1']&&('string'==typeof _0x40cb5a['data1']?_0xcc38bf['base64']['decode'](_0x40cb5a['data1'],_0x2aa944['data1']=_0xcc38bf['newBuffer'](_0xcc38bf['base64']['length'](_0x40cb5a['data1'])),0x0):_0x40cb5a['data1']['length']>=0x0&&(_0x2aa944['data1']=_0x40cb5a['data1'])),_0x2aa944;},_0x1c6f39['toObject']=function(_0x5d2150,_0x8c006d){_0x8c006d||(_0x8c006d={});var _0x41014c={};return _0x8c006d['defaults']&&(_0x41014c['data']=0x0,_0x8c006d['bytes']===String?_0x41014c['data1']='':(_0x41014c['data1']=[],_0x8c006d['bytes']!==Array&&(_0x41014c['data1']=_0xcc38bf['newBuffer'](_0x41014c['data1'])))),null!=_0x5d2150['data']&&_0x5d2150['hasOwnProperty']('data')&&(_0x41014c['data']=_0x5d2150['data']),null!=_0x5d2150['data1']&&_0x5d2150['hasOwnProperty']('data1')&&(_0x41014c['data1']=_0x8c006d['bytes']===String?_0xcc38bf['base64']['encode'](_0x5d2150['data1'],0x0,_0x5d2150['data1']['length']):_0x8c006d['bytes']===Array?Array['prototype']['slice']['call'](_0x5d2150['data1']):_0x5d2150['data1']),_0x41014c;},_0x1c6f39['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x1c6f39['getTypeUrl']=function(_0x228c9d){return void 0x0===_0x228c9d&&(_0x228c9d='type.googleapis.com'),_0x228c9d+'/NumberBytesPacketDataMessage';},_0x1c6f39;}()),_0xd25805['NumberNumberPacketDataMessage']=(function(){function _0x30e474(_0x20bc20){if(_0x20bc20){for(var _0x3079a7=Object['keys'](_0x20bc20),_0x3db3dd=0x0;_0x3db3dd<_0x3079a7['length'];++_0x3db3dd)null!=_0x20bc20[_0x3079a7[_0x3db3dd]]&&(this[_0x3079a7[_0x3db3dd]]=_0x20bc20[_0x3079a7[_0x3db3dd]]);}}return _0x30e474['prototype']['data']=0x0,_0x30e474['prototype']['data1']=0x0,_0x30e474['create']=function(_0x585e15){return new _0x30e474(_0x585e15);},_0x30e474['encode']=function(_0x2555ed,_0x50d77c){return _0x50d77c||(_0x50d77c=_0x1f8a63['create']()),null!=_0x2555ed['data']&&Object['hasOwnProperty']['call'](_0x2555ed,'data')&&_0x50d77c['uint32'](0x8)['uint32'](_0x2555ed['data']),null!=_0x2555ed['data1']&&Object['hasOwnProperty']['call'](_0x2555ed,'data1')&&_0x50d77c['uint32'](0x10)['uint32'](_0x2555ed['data1']),_0x50d77c;},_0x30e474['encodeDelimited']=function(_0x4f2558,_0x4e5876){return this['encode'](_0x4f2558,_0x4e5876)['ldelim']();},_0x30e474['decode']=function(_0x5af6fb,_0x222a37,_0x5ec474){_0x5af6fb instanceof _0x37c416||(_0x5af6fb=_0x37c416['create'](_0x5af6fb));for(var _0x2c2415=void 0x0===_0x222a37?_0x5af6fb['len']:_0x5af6fb['pos']+_0x222a37,_0x540c30=new _0xd25805['NumberNumberPacketDataMessage']();_0x5af6fb['pos']<_0x2c2415;){var _0x23009e=_0x5af6fb['uint32']();if(_0x23009e===_0x5ec474)break;switch(_0x23009e>>>0x3){case 0x1:_0x540c30['data']=_0x5af6fb['uint32']();break;case 0x2:_0x540c30['data1']=_0x5af6fb['uint32']();break;default:_0x5af6fb['skipType'](0x7&_0x23009e);}}return _0x540c30;},_0x30e474['decodeDelimited']=function(_0x5a4a24){return _0x5a4a24 instanceof _0x37c416||(_0x5a4a24=new _0x37c416(_0x5a4a24)),this['decode'](_0x5a4a24,_0x5a4a24['uint32']());},_0x30e474['verify']=function(_0xf1fa60){return'object'!=typeof _0xf1fa60||null===_0xf1fa60?'object\x20expected':null!=_0xf1fa60['data']&&_0xf1fa60['hasOwnProperty']('data')&&!_0xcc38bf['isInteger'](_0xf1fa60['data'])?'data:\x20integer\x20expected':null!=_0xf1fa60['data1']&&_0xf1fa60['hasOwnProperty']('data1')&&!_0xcc38bf['isInteger'](_0xf1fa60['data1'])?'data1:\x20integer\x20expected':null;},_0x30e474['fromObject']=function(_0x1ba56d){if(_0x1ba56d instanceof _0xd25805['NumberNumberPacketDataMessage'])return _0x1ba56d;var _0x51a363=new _0xd25805['NumberNumberPacketDataMessage']();return null!=_0x1ba56d['data']&&(_0x51a363['data']=_0x1ba56d['data']>>>0x0),null!=_0x1ba56d['data1']&&(_0x51a363['data1']=_0x1ba56d['data1']>>>0x0),_0x51a363;},_0x30e474['toObject']=function(_0x53a712,_0x4426dd){_0x4426dd||(_0x4426dd={});var _0x5298a1={};return _0x4426dd['defaults']&&(_0x5298a1['data']=0x0,_0x5298a1['data1']=0x0),null!=_0x53a712['data']&&_0x53a712['hasOwnProperty']('data')&&(_0x5298a1['data']=_0x53a712['data']),null!=_0x53a712['data1']&&_0x53a712['hasOwnProperty']('data1')&&(_0x5298a1['data1']=_0x53a712['data1']),_0x5298a1;},_0x30e474['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x30e474['getTypeUrl']=function(_0x2cef6b){return void 0x0===_0x2cef6b&&(_0x2cef6b='type.googleapis.com'),_0x2cef6b+'/NumberNumberPacketDataMessage';},_0x30e474;}()),_0xd25805['NumberObjectPacketDataMessage']=(function(){function _0x28945e(_0x2b74a1){if(_0x2b74a1){for(var _0x163c99=Object['keys'](_0x2b74a1),_0x48c2af=0x0;_0x48c2af<_0x163c99['length'];++_0x48c2af)null!=_0x2b74a1[_0x163c99[_0x48c2af]]&&(this[_0x163c99[_0x48c2af]]=_0x2b74a1[_0x163c99[_0x48c2af]]);}}return _0x28945e['prototype']['data']=0x0,_0x28945e['prototype']['data1']='',_0x28945e['create']=function(_0xb2aba4){return new _0x28945e(_0xb2aba4);},_0x28945e['encode']=function(_0xa80bc5,_0xbc5417){return _0xbc5417||(_0xbc5417=_0x1f8a63['create']()),null!=_0xa80bc5['data']&&Object['hasOwnProperty']['call'](_0xa80bc5,'data')&&_0xbc5417['uint32'](0x8)['uint32'](_0xa80bc5['data']),null!=_0xa80bc5['data1']&&Object['hasOwnProperty']['call'](_0xa80bc5,'data1')&&_0xbc5417['uint32'](0x12)['string'](_0xa80bc5['data1']),_0xbc5417;},_0x28945e['encodeDelimited']=function(_0x4220c7,_0x24a1d6){return this['encode'](_0x4220c7,_0x24a1d6)['ldelim']();},_0x28945e['decode']=function(_0x212f29,_0x567cee,_0x1f3614){_0x212f29 instanceof _0x37c416||(_0x212f29=_0x37c416['create'](_0x212f29));for(var _0x3dceb4=void 0x0===_0x567cee?_0x212f29['len']:_0x212f29['pos']+_0x567cee,_0x431e26=new _0xd25805['NumberObjectPacketDataMessage']();_0x212f29['pos']<_0x3dceb4;){var _0x27309d=_0x212f29['uint32']();if(_0x27309d===_0x1f3614)break;switch(_0x27309d>>>0x3){case 0x1:_0x431e26['data']=_0x212f29['uint32']();break;case 0x2:_0x431e26['data1']=_0x212f29['string']();break;default:_0x212f29['skipType'](0x7&_0x27309d);}}return _0x431e26;},_0x28945e['decodeDelimited']=function(_0x152670){return _0x152670 instanceof _0x37c416||(_0x152670=new _0x37c416(_0x152670)),this['decode'](_0x152670,_0x152670['uint32']());},_0x28945e['verify']=function(_0x3d9d87){return'object'!=typeof _0x3d9d87||null===_0x3d9d87?'object\x20expected':null!=_0x3d9d87['data']&&_0x3d9d87['hasOwnProperty']('data')&&!_0xcc38bf['isInteger'](_0x3d9d87['data'])?'data:\x20integer\x20expected':null!=_0x3d9d87['data1']&&_0x3d9d87['hasOwnProperty']('data1')&&!_0xcc38bf['isString'](_0x3d9d87['data1'])?'data1:\x20string\x20expected':null;},_0x28945e['fromObject']=function(_0x5764d7){if(_0x5764d7 instanceof _0xd25805['NumberObjectPacketDataMessage'])return _0x5764d7;var _0x5a3d85=new _0xd25805['NumberObjectPacketDataMessage']();return null!=_0x5764d7['data']&&(_0x5a3d85['data']=_0x5764d7['data']>>>0x0),null!=_0x5764d7['data1']&&(_0x5a3d85['data1']=String(_0x5764d7['data1'])),_0x5a3d85;},_0x28945e['toObject']=function(_0x530bde,_0x5aba2a){_0x5aba2a||(_0x5aba2a={});var _0x1e31b3={};return _0x5aba2a['defaults']&&(_0x1e31b3['data']=0x0,_0x1e31b3['data1']=''),null!=_0x530bde['data']&&_0x530bde['hasOwnProperty']('data')&&(_0x1e31b3['data']=_0x530bde['data']),null!=_0x530bde['data1']&&_0x530bde['hasOwnProperty']('data1')&&(_0x1e31b3['data1']=_0x530bde['data1']),_0x1e31b3;},_0x28945e['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x28945e['getTypeUrl']=function(_0x48a7d8){return void 0x0===_0x48a7d8&&(_0x48a7d8='type.googleapis.com'),_0x48a7d8+'/NumberObjectPacketDataMessage';},_0x28945e;}()),_0xd25805['NumberStringPacketDataMessage']=(function(){function _0xc6aa1e(_0x15326c){if(_0x15326c){for(var _0x1ce788=Object['keys'](_0x15326c),_0x51de34=0x0;_0x51de34<_0x1ce788['length'];++_0x51de34)null!=_0x15326c[_0x1ce788[_0x51de34]]&&(this[_0x1ce788[_0x51de34]]=_0x15326c[_0x1ce788[_0x51de34]]);}}return _0xc6aa1e['prototype']['data']=0x0,_0xc6aa1e['prototype']['data1']='',_0xc6aa1e['create']=function(_0x1d7821){return new _0xc6aa1e(_0x1d7821);},_0xc6aa1e['encode']=function(_0xf52d9b,_0x199584){return _0x199584||(_0x199584=_0x1f8a63['create']()),null!=_0xf52d9b['data']&&Object['hasOwnProperty']['call'](_0xf52d9b,'data')&&_0x199584['uint32'](0x8)['uint32'](_0xf52d9b['data']),null!=_0xf52d9b['data1']&&Object['hasOwnProperty']['call'](_0xf52d9b,'data1')&&_0x199584['uint32'](0x12)['string'](_0xf52d9b['data1']),_0x199584;},_0xc6aa1e['encodeDelimited']=function(_0xfe0f19,_0x4ae881){return this['encode'](_0xfe0f19,_0x4ae881)['ldelim']();},_0xc6aa1e['decode']=function(_0x2b2ea2,_0x19ea7a,_0x5b8f1c){_0x2b2ea2 instanceof _0x37c416||(_0x2b2ea2=_0x37c416['create'](_0x2b2ea2));for(var _0x57968e=void 0x0===_0x19ea7a?_0x2b2ea2['len']:_0x2b2ea2['pos']+_0x19ea7a,_0x334375=new _0xd25805['NumberStringPacketDataMessage']();_0x2b2ea2['pos']<_0x57968e;){var _0x24869f=_0x2b2ea2['uint32']();if(_0x24869f===_0x5b8f1c)break;switch(_0x24869f>>>0x3){case 0x1:_0x334375['data']=_0x2b2ea2['uint32']();break;case 0x2:_0x334375['data1']=_0x2b2ea2['string']();break;default:_0x2b2ea2['skipType'](0x7&_0x24869f);}}return _0x334375;},_0xc6aa1e['decodeDelimited']=function(_0xdea8c5){return _0xdea8c5 instanceof _0x37c416||(_0xdea8c5=new _0x37c416(_0xdea8c5)),this['decode'](_0xdea8c5,_0xdea8c5['uint32']());},_0xc6aa1e['verify']=function(_0x27d2ac){return'object'!=typeof _0x27d2ac||null===_0x27d2ac?'object\x20expected':null!=_0x27d2ac['data']&&_0x27d2ac['hasOwnProperty']('data')&&!_0xcc38bf['isInteger'](_0x27d2ac['data'])?'data:\x20integer\x20expected':null!=_0x27d2ac['data1']&&_0x27d2ac['hasOwnProperty']('data1')&&!_0xcc38bf['isString'](_0x27d2ac['data1'])?'data1:\x20string\x20expected':null;},_0xc6aa1e['fromObject']=function(_0x5597ec){if(_0x5597ec instanceof _0xd25805['NumberStringPacketDataMessage'])return _0x5597ec;var _0xad5403=new _0xd25805['NumberStringPacketDataMessage']();return null!=_0x5597ec['data']&&(_0xad5403['data']=_0x5597ec['data']>>>0x0),null!=_0x5597ec['data1']&&(_0xad5403['data1']=String(_0x5597ec['data1'])),_0xad5403;},_0xc6aa1e['toObject']=function(_0x19fcf3,_0x565a3f){_0x565a3f||(_0x565a3f={});var _0x51bbfd={};return _0x565a3f['defaults']&&(_0x51bbfd['data']=0x0,_0x51bbfd['data1']=''),null!=_0x19fcf3['data']&&_0x19fcf3['hasOwnProperty']('data')&&(_0x51bbfd['data']=_0x19fcf3['data']),null!=_0x19fcf3['data1']&&_0x19fcf3['hasOwnProperty']('data1')&&(_0x51bbfd['data1']=_0x19fcf3['data1']),_0x51bbfd;},_0xc6aa1e['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0xc6aa1e['getTypeUrl']=function(_0x8551d6){return void 0x0===_0x8551d6&&(_0x8551d6='type.googleapis.com'),_0x8551d6+'/NumberStringPacketDataMessage';},_0xc6aa1e;}()),_0xd25805['ObjectBufferPacketDataMessage']=(function(){function _0x590b81(_0x3a9806){if(_0x3a9806){for(var _0x1aadce=Object['keys'](_0x3a9806),_0x1effb1=0x0;_0x1effb1<_0x1aadce['length'];++_0x1effb1)null!=_0x3a9806[_0x1aadce[_0x1effb1]]&&(this[_0x1aadce[_0x1effb1]]=_0x3a9806[_0x1aadce[_0x1effb1]]);}}return _0x590b81['prototype']['data']='',_0x590b81['prototype']['data1']=_0xcc38bf['newBuffer']([]),_0x590b81['create']=function(_0x5ab2e7){return new _0x590b81(_0x5ab2e7);},_0x590b81['encode']=function(_0x50710e,_0x3461a4){return _0x3461a4||(_0x3461a4=_0x1f8a63['create']()),null!=_0x50710e['data']&&Object['hasOwnProperty']['call'](_0x50710e,'data')&&_0x3461a4['uint32'](0xa)['string'](_0x50710e['data']),null!=_0x50710e['data1']&&Object['hasOwnProperty']['call'](_0x50710e,'data1')&&_0x3461a4['uint32'](0x12)['bytes'](_0x50710e['data1']),_0x3461a4;},_0x590b81['encodeDelimited']=function(_0x56815b,_0x2fb155){return this['encode'](_0x56815b,_0x2fb155)['ldelim']();},_0x590b81['decode']=function(_0x4d4ce0,_0x5a7b1c,_0x4610be){_0x4d4ce0 instanceof _0x37c416||(_0x4d4ce0=_0x37c416['create'](_0x4d4ce0));for(var _0x9f8e27=void 0x0===_0x5a7b1c?_0x4d4ce0['len']:_0x4d4ce0['pos']+_0x5a7b1c,_0x48b07b=new _0xd25805['ObjectBufferPacketDataMessage']();_0x4d4ce0['pos']<_0x9f8e27;){var _0x1180df=_0x4d4ce0['uint32']();if(_0x1180df===_0x4610be)break;switch(_0x1180df>>>0x3){case 0x1:_0x48b07b['data']=_0x4d4ce0['string']();break;case 0x2:_0x48b07b['data1']=_0x4d4ce0['bytes']();break;default:_0x4d4ce0['skipType'](0x7&_0x1180df);}}return _0x48b07b;},_0x590b81['decodeDelimited']=function(_0x22a2fe){return _0x22a2fe instanceof _0x37c416||(_0x22a2fe=new _0x37c416(_0x22a2fe)),this['decode'](_0x22a2fe,_0x22a2fe['uint32']());},_0x590b81['verify']=function(_0x3d2d1d){return'object'!=typeof _0x3d2d1d||null===_0x3d2d1d?'object\x20expected':null!=_0x3d2d1d['data']&&_0x3d2d1d['hasOwnProperty']('data')&&!_0xcc38bf['isString'](_0x3d2d1d['data'])?'data:\x20string\x20expected':null!=_0x3d2d1d['data1']&&_0x3d2d1d['hasOwnProperty']('data1')&&!(_0x3d2d1d['data1']&&'number'==typeof _0x3d2d1d['data1']['length']||_0xcc38bf['isString'](_0x3d2d1d['data1']))?'data1:\x20buffer\x20expected':null;},_0x590b81['fromObject']=function(_0x43da92){if(_0x43da92 instanceof _0xd25805['ObjectBufferPacketDataMessage'])return _0x43da92;var _0x2bd139=new _0xd25805['ObjectBufferPacketDataMessage']();return null!=_0x43da92['data']&&(_0x2bd139['data']=String(_0x43da92['data'])),null!=_0x43da92['data1']&&('string'==typeof _0x43da92['data1']?_0xcc38bf['base64']['decode'](_0x43da92['data1'],_0x2bd139['data1']=_0xcc38bf['newBuffer'](_0xcc38bf['base64']['length'](_0x43da92['data1'])),0x0):_0x43da92['data1']['length']>=0x0&&(_0x2bd139['data1']=_0x43da92['data1'])),_0x2bd139;},_0x590b81['toObject']=function(_0x43a607,_0x132385){_0x132385||(_0x132385={});var _0xea6c5e={};return _0x132385['defaults']&&(_0xea6c5e['data']='',_0x132385['bytes']===String?_0xea6c5e['data1']='':(_0xea6c5e['data1']=[],_0x132385['bytes']!==Array&&(_0xea6c5e['data1']=_0xcc38bf['newBuffer'](_0xea6c5e['data1'])))),null!=_0x43a607['data']&&_0x43a607['hasOwnProperty']('data')&&(_0xea6c5e['data']=_0x43a607['data']),null!=_0x43a607['data1']&&_0x43a607['hasOwnProperty']('data1')&&(_0xea6c5e['data1']=_0x132385['bytes']===String?_0xcc38bf['base64']['encode'](_0x43a607['data1'],0x0,_0x43a607['data1']['length']):_0x132385['bytes']===Array?Array['prototype']['slice']['call'](_0x43a607['data1']):_0x43a607['data1']),_0xea6c5e;},_0x590b81['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x590b81['getTypeUrl']=function(_0x2507e1){return void 0x0===_0x2507e1&&(_0x2507e1='type.googleapis.com'),_0x2507e1+'/ObjectBufferPacketDataMessage';},_0x590b81;}()),_0xd25805['ObjectObjectPacketDataMessage']=(function(){function _0x4f02c9(_0x1b19c7){if(_0x1b19c7){for(var _0x2e27bb=Object['keys'](_0x1b19c7),_0x2aab52=0x0;_0x2aab52<_0x2e27bb['length'];++_0x2aab52)null!=_0x1b19c7[_0x2e27bb[_0x2aab52]]&&(this[_0x2e27bb[_0x2aab52]]=_0x1b19c7[_0x2e27bb[_0x2aab52]]);}}return _0x4f02c9['prototype']['data']='',_0x4f02c9['prototype']['data1']='',_0x4f02c9['create']=function(_0x45d785){return new _0x4f02c9(_0x45d785);},_0x4f02c9['encode']=function(_0x14d11c,_0x4f46c7){return _0x4f46c7||(_0x4f46c7=_0x1f8a63['create']()),null!=_0x14d11c['data']&&Object['hasOwnProperty']['call'](_0x14d11c,'data')&&_0x4f46c7['uint32'](0xa)['string'](_0x14d11c['data']),null!=_0x14d11c['data1']&&Object['hasOwnProperty']['call'](_0x14d11c,'data1')&&_0x4f46c7['uint32'](0x12)['string'](_0x14d11c['data1']),_0x4f46c7;},_0x4f02c9['encodeDelimited']=function(_0x182d71,_0x2feee2){return this['encode'](_0x182d71,_0x2feee2)['ldelim']();},_0x4f02c9['decode']=function(_0x48077e,_0x3a9cdf,_0x1c4fc9){_0x48077e instanceof _0x37c416||(_0x48077e=_0x37c416['create'](_0x48077e));for(var _0x2bc4df=void 0x0===_0x3a9cdf?_0x48077e['len']:_0x48077e['pos']+_0x3a9cdf,_0x512303=new _0xd25805['ObjectObjectPacketDataMessage']();_0x48077e['pos']<_0x2bc4df;){var _0x4d1906=_0x48077e['uint32']();if(_0x4d1906===_0x1c4fc9)break;switch(_0x4d1906>>>0x3){case 0x1:_0x512303['data']=_0x48077e['string']();break;case 0x2:_0x512303['data1']=_0x48077e['string']();break;default:_0x48077e['skipType'](0x7&_0x4d1906);}}return _0x512303;},_0x4f02c9['decodeDelimited']=function(_0x251c6d){return _0x251c6d instanceof _0x37c416||(_0x251c6d=new _0x37c416(_0x251c6d)),this['decode'](_0x251c6d,_0x251c6d['uint32']());},_0x4f02c9['verify']=function(_0x39c164){return'object'!=typeof _0x39c164||null===_0x39c164?'object\x20expected':null!=_0x39c164['data']&&_0x39c164['hasOwnProperty']('data')&&!_0xcc38bf['isString'](_0x39c164['data'])?'data:\x20string\x20expected':null!=_0x39c164['data1']&&_0x39c164['hasOwnProperty']('data1')&&!_0xcc38bf['isString'](_0x39c164['data1'])?'data1:\x20string\x20expected':null;},_0x4f02c9['fromObject']=function(_0x431f7e){if(_0x431f7e instanceof _0xd25805['ObjectObjectPacketDataMessage'])return _0x431f7e;var _0x2f32f6=new _0xd25805['ObjectObjectPacketDataMessage']();return null!=_0x431f7e['data']&&(_0x2f32f6['data']=String(_0x431f7e['data'])),null!=_0x431f7e['data1']&&(_0x2f32f6['data1']=String(_0x431f7e['data1'])),_0x2f32f6;},_0x4f02c9['toObject']=function(_0x42e304,_0x737c92){_0x737c92||(_0x737c92={});var _0x124560={};return _0x737c92['defaults']&&(_0x124560['data']='',_0x124560['data1']=''),null!=_0x42e304['data']&&_0x42e304['hasOwnProperty']('data')&&(_0x124560['data']=_0x42e304['data']),null!=_0x42e304['data1']&&_0x42e304['hasOwnProperty']('data1')&&(_0x124560['data1']=_0x42e304['data1']),_0x124560;},_0x4f02c9['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x4f02c9['getTypeUrl']=function(_0x3da1af){return void 0x0===_0x3da1af&&(_0x3da1af='type.googleapis.com'),_0x3da1af+'/ObjectObjectPacketDataMessage';},_0x4f02c9;}()),_0xd25805['PacketMessage']=(function(){function _0x49697c(_0x16e160){if(_0x16e160){for(var _0x429216=Object['keys'](_0x16e160),_0x3705c3=0x0;_0x3705c3<_0x429216['length'];++_0x3705c3)null!=_0x16e160[_0x429216[_0x3705c3]]&&(this[_0x429216[_0x3705c3]]=_0x16e160[_0x429216[_0x3705c3]]);}}return _0x49697c['prototype']['type']=0x0,_0x49697c['prototype']['id']=0x0,_0x49697c['prototype']['nsp']='',_0x49697c['prototype']['data']=_0xcc38bf['newBuffer']([]),_0x49697c['prototype']['options']=_0xcc38bf['newBuffer']([]),_0x49697c['create']=function(_0x234438){return new _0x49697c(_0x234438);},_0x49697c['encode']=function(_0x1f92a3,_0x255e73){return _0x255e73||(_0x255e73=_0x1f8a63['create']()),null!=_0x1f92a3['type']&&Object['hasOwnProperty']['call'](_0x1f92a3,'type')&&_0x255e73['uint32'](0x8)['uint32'](_0x1f92a3['type']),null!=_0x1f92a3['id']&&Object['hasOwnProperty']['call'](_0x1f92a3,'id')&&_0x255e73['uint32'](0x10)['uint32'](_0x1f92a3['id']),null!=_0x1f92a3['nsp']&&Object['hasOwnProperty']['call'](_0x1f92a3,'nsp')&&_0x255e73['uint32'](0x1a)['string'](_0x1f92a3['nsp']),null!=_0x1f92a3['data']&&Object['hasOwnProperty']['call'](_0x1f92a3,'data')&&_0x255e73['uint32'](0x22)['bytes'](_0x1f92a3['data']),null!=_0x1f92a3['options']&&Object['hasOwnProperty']['call'](_0x1f92a3,'options')&&_0x255e73['uint32'](0x2a)['bytes'](_0x1f92a3['options']),_0x255e73;},_0x49697c['encodeDelimited']=function(_0x5c3812,_0x26ecc1){return this['encode'](_0x5c3812,_0x26ecc1)['ldelim']();},_0x49697c['decode']=function(_0x265388,_0x24f255,_0x565dfe){_0x265388 instanceof _0x37c416||(_0x265388=_0x37c416['create'](_0x265388));for(var _0x5c4fd5=void 0x0===_0x24f255?_0x265388['len']:_0x265388['pos']+_0x24f255,_0x54c9da=new _0xd25805['PacketMessage']();_0x265388['pos']<_0x5c4fd5;){var _0x204666=_0x265388['uint32']();if(_0x204666===_0x565dfe)break;switch(_0x204666>>>0x3){case 0x1:_0x54c9da['type']=_0x265388['uint32']();break;case 0x2:_0x54c9da['id']=_0x265388['uint32']();break;case 0x3:_0x54c9da['nsp']=_0x265388['string']();break;case 0x4:_0x54c9da['data']=_0x265388['bytes']();break;case 0x5:_0x54c9da['options']=_0x265388['bytes']();break;default:_0x265388['skipType'](0x7&_0x204666);}}return _0x54c9da;},_0x49697c['decodeDelimited']=function(_0x481043){return _0x481043 instanceof _0x37c416||(_0x481043=new _0x37c416(_0x481043)),this['decode'](_0x481043,_0x481043['uint32']());},_0x49697c['verify']=function(_0x4f1227){return'object'!=typeof _0x4f1227||null===_0x4f1227?'object\x20expected':null!=_0x4f1227['type']&&_0x4f1227['hasOwnProperty']('type')&&!_0xcc38bf['isInteger'](_0x4f1227['type'])?'type:\x20integer\x20expected':null!=_0x4f1227['id']&&_0x4f1227['hasOwnProperty']('id')&&!_0xcc38bf['isInteger'](_0x4f1227['id'])?'id:\x20integer\x20expected':null!=_0x4f1227['nsp']&&_0x4f1227['hasOwnProperty']('nsp')&&!_0xcc38bf['isString'](_0x4f1227['nsp'])?'nsp:\x20string\x20expected':null!=_0x4f1227['data']&&_0x4f1227['hasOwnProperty']('data')&&!(_0x4f1227['data']&&'number'==typeof _0x4f1227['data']['length']||_0xcc38bf['isString'](_0x4f1227['data']))?'data:\x20buffer\x20expected':null!=_0x4f1227['options']&&_0x4f1227['hasOwnProperty']('options')&&!(_0x4f1227['options']&&'number'==typeof _0x4f1227['options']['length']||_0xcc38bf['isString'](_0x4f1227['options']))?'options:\x20buffer\x20expected':null;},_0x49697c['fromObject']=function(_0x3f9dc1){if(_0x3f9dc1 instanceof _0xd25805['PacketMessage'])return _0x3f9dc1;var _0x535f6e=new _0xd25805['PacketMessage']();return null!=_0x3f9dc1['type']&&(_0x535f6e['type']=_0x3f9dc1['type']>>>0x0),null!=_0x3f9dc1['id']&&(_0x535f6e['id']=_0x3f9dc1['id']>>>0x0),null!=_0x3f9dc1['nsp']&&(_0x535f6e['nsp']=String(_0x3f9dc1['nsp'])),null!=_0x3f9dc1['data']&&('string'==typeof _0x3f9dc1['data']?_0xcc38bf['base64']['decode'](_0x3f9dc1['data'],_0x535f6e['data']=_0xcc38bf['newBuffer'](_0xcc38bf['base64']['length'](_0x3f9dc1['data'])),0x0):_0x3f9dc1['data']['length']>=0x0&&(_0x535f6e['data']=_0x3f9dc1['data'])),null!=_0x3f9dc1['options']&&('string'==typeof _0x3f9dc1['options']?_0xcc38bf['base64']['decode'](_0x3f9dc1['options'],_0x535f6e['options']=_0xcc38bf['newBuffer'](_0xcc38bf['base64']['length'](_0x3f9dc1['options'])),0x0):_0x3f9dc1['options']['length']>=0x0&&(_0x535f6e['options']=_0x3f9dc1['options'])),_0x535f6e;},_0x49697c['toObject']=function(_0x59efc2,_0xdaa7fc){_0xdaa7fc||(_0xdaa7fc={});var _0x21a81c={};return _0xdaa7fc['defaults']&&(_0x21a81c['type']=0x0,_0x21a81c['id']=0x0,_0x21a81c['nsp']='',_0xdaa7fc['bytes']===String?_0x21a81c['data']='':(_0x21a81c['data']=[],_0xdaa7fc['bytes']!==Array&&(_0x21a81c['data']=_0xcc38bf['newBuffer'](_0x21a81c['data']))),_0xdaa7fc['bytes']===String?_0x21a81c['options']='':(_0x21a81c['options']=[],_0xdaa7fc['bytes']!==Array&&(_0x21a81c['options']=_0xcc38bf['newBuffer'](_0x21a81c['options'])))),null!=_0x59efc2['type']&&_0x59efc2['hasOwnProperty']('type')&&(_0x21a81c['type']=_0x59efc2['type']),null!=_0x59efc2['id']&&_0x59efc2['hasOwnProperty']('id')&&(_0x21a81c['id']=_0x59efc2['id']),null!=_0x59efc2['nsp']&&_0x59efc2['hasOwnProperty']('nsp')&&(_0x21a81c['nsp']=_0x59efc2['nsp']),null!=_0x59efc2['data']&&_0x59efc2['hasOwnProperty']('data')&&(_0x21a81c['data']=_0xdaa7fc['bytes']===String?_0xcc38bf['base64']['encode'](_0x59efc2['data'],0x0,_0x59efc2['data']['length']):_0xdaa7fc['bytes']===Array?Array['prototype']['slice']['call'](_0x59efc2['data']):_0x59efc2['data']),null!=_0x59efc2['options']&&_0x59efc2['hasOwnProperty']('options')&&(_0x21a81c['options']=_0xdaa7fc['bytes']===String?_0xcc38bf['base64']['encode'](_0x59efc2['options'],0x0,_0x59efc2['options']['length']):_0xdaa7fc['bytes']===Array?Array['prototype']['slice']['call'](_0x59efc2['options']):_0x59efc2['options']),_0x21a81c;},_0x49697c['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x49697c['getTypeUrl']=function(_0x4fffab){return void 0x0===_0x4fffab&&(_0x4fffab='type.googleapis.com'),_0x4fffab+'/PacketMessage';},_0x49697c;}()),_0xd25805['PacketOptionsMessage']=(function(){function _0x7c849d(_0x5e7e50){if(this['rooms']=[],this['except']=[],_0x5e7e50){for(var _0x2c098a=Object['keys'](_0x5e7e50),_0x4fb687=0x0;_0x4fb687<_0x2c098a['length'];++_0x4fb687)null!=_0x5e7e50[_0x2c098a[_0x4fb687]]&&(this[_0x2c098a[_0x4fb687]]=_0x5e7e50[_0x2c098a[_0x4fb687]]);}}return _0x7c849d['prototype']['flags']='',_0x7c849d['prototype']['rooms']=_0xcc38bf['emptyArray'],_0x7c849d['prototype']['except']=_0xcc38bf['emptyArray'],_0x7c849d['create']=function(_0x5963ab){return new _0x7c849d(_0x5963ab);},_0x7c849d['encode']=function(_0x3f26fd,_0x316a51){if(_0x316a51||(_0x316a51=_0x1f8a63['create']()),null!=_0x3f26fd['flags']&&Object['hasOwnProperty']['call'](_0x3f26fd,'flags')&&_0x316a51['uint32'](0xa)['string'](_0x3f26fd['flags']),null!=_0x3f26fd['rooms']&&_0x3f26fd['rooms']['length']){for(var _0x253498=0x0;_0x253498<_0x3f26fd['rooms']['length'];++_0x253498)_0x316a51['uint32'](0x12)['string'](_0x3f26fd['rooms'][_0x253498]);}if(null!=_0x3f26fd['except']&&_0x3f26fd['except']['length']){for(_0x253498=0x0;_0x253498<_0x3f26fd['except']['length'];++_0x253498)_0x316a51['uint32'](0x1a)['string'](_0x3f26fd['except'][_0x253498]);}return _0x316a51;},_0x7c849d['encodeDelimited']=function(_0x1c20dd,_0x22fd77){return this['encode'](_0x1c20dd,_0x22fd77)['ldelim']();},_0x7c849d['decode']=function(_0x3effaf,_0x19c1c5,_0x47c8c6){_0x3effaf instanceof _0x37c416||(_0x3effaf=_0x37c416['create'](_0x3effaf));for(var _0x587d5d=void 0x0===_0x19c1c5?_0x3effaf['len']:_0x3effaf['pos']+_0x19c1c5,_0x24d23f=new _0xd25805['PacketOptionsMessage']();_0x3effaf['pos']<_0x587d5d;){var _0xa302ec=_0x3effaf['uint32']();if(_0xa302ec===_0x47c8c6)break;switch(_0xa302ec>>>0x3){case 0x1:_0x24d23f['flags']=_0x3effaf['string']();break;case 0x2:_0x24d23f['rooms']&&_0x24d23f['rooms']['length']||(_0x24d23f['rooms']=[]),_0x24d23f['rooms']['push'](_0x3effaf['string']());break;case 0x3:_0x24d23f['except']&&_0x24d23f['except']['length']||(_0x24d23f['except']=[]),_0x24d23f['except']['push'](_0x3effaf['string']());break;default:_0x3effaf['skipType'](0x7&_0xa302ec);}}return _0x24d23f;},_0x7c849d['decodeDelimited']=function(_0x3303f9){return _0x3303f9 instanceof _0x37c416||(_0x3303f9=new _0x37c416(_0x3303f9)),this['decode'](_0x3303f9,_0x3303f9['uint32']());},_0x7c849d['verify']=function(_0x157b75){if('object'!=typeof _0x157b75||null===_0x157b75)return'object\x20expected';if(null!=_0x157b75['flags']&&_0x157b75['hasOwnProperty']('flags')&&!_0xcc38bf['isString'](_0x157b75['flags']))return'flags:\x20string\x20expected';if(null!=_0x157b75['rooms']&&_0x157b75['hasOwnProperty']('rooms')){if(!Array['isArray'](_0x157b75['rooms']))return'rooms:\x20array\x20expected';for(var _0x5b5933=0x0;_0x5b5933<_0x157b75['rooms']['length'];++_0x5b5933)if(!_0xcc38bf['isString'](_0x157b75['rooms'][_0x5b5933]))return'rooms:\x20string[]\x20expected';}if(null!=_0x157b75['except']&&_0x157b75['hasOwnProperty']('except')){if(!Array['isArray'](_0x157b75['except']))return'except:\x20array\x20expected';for(_0x5b5933=0x0;_0x5b5933<_0x157b75['except']['length'];++_0x5b5933)if(!_0xcc38bf['isString'](_0x157b75['except'][_0x5b5933]))return'except:\x20string[]\x20expected';}return null;},_0x7c849d['fromObject']=function(_0x29e77d){if(_0x29e77d instanceof _0xd25805['PacketOptionsMessage'])return _0x29e77d;var _0x281067=new _0xd25805['PacketOptionsMessage']();if(null!=_0x29e77d['flags']&&(_0x281067['flags']=String(_0x29e77d['flags'])),_0x29e77d['rooms']){if(!Array['isArray'](_0x29e77d['rooms']))throw TypeError('.PacketOptionsMessage.rooms:\x20array\x20expected');_0x281067['rooms']=[];for(var _0xb7e1=0x0;_0xb7e1<_0x29e77d['rooms']['length'];++_0xb7e1)_0x281067['rooms'][_0xb7e1]=String(_0x29e77d['rooms'][_0xb7e1]);}if(_0x29e77d['except']){if(!Array['isArray'](_0x29e77d['except']))throw TypeError('.PacketOptionsMessage.except:\x20array\x20expected');for(_0x281067['except']=[],_0xb7e1=0x0;_0xb7e1<_0x29e77d['except']['length'];++_0xb7e1)_0x281067['except'][_0xb7e1]=String(_0x29e77d['except'][_0xb7e1]);}return _0x281067;},_0x7c849d['toObject']=function(_0x5603b6,_0x15d405){_0x15d405||(_0x15d405={});var _0x4941b9={};if((_0x15d405['arrays']||_0x15d405['defaults'])&&(_0x4941b9['rooms']=[],_0x4941b9['except']=[]),_0x15d405['defaults']&&(_0x4941b9['flags']=''),null!=_0x5603b6['flags']&&_0x5603b6['hasOwnProperty']('flags')&&(_0x4941b9['flags']=_0x5603b6['flags']),_0x5603b6['rooms']&&_0x5603b6['rooms']['length']){_0x4941b9['rooms']=[];for(var _0x1ff798=0x0;_0x1ff798<_0x5603b6['rooms']['length'];++_0x1ff798)_0x4941b9['rooms'][_0x1ff798]=_0x5603b6['rooms'][_0x1ff798];}if(_0x5603b6['except']&&_0x5603b6['except']['length']){for(_0x4941b9['except']=[],_0x1ff798=0x0;_0x1ff798<_0x5603b6['except']['length'];++_0x1ff798)_0x4941b9['except'][_0x1ff798]=_0x5603b6['except'][_0x1ff798];}return _0x4941b9;},_0x7c849d['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x7c849d['getTypeUrl']=function(_0x327028){return void 0x0===_0x327028&&(_0x327028='type.googleapis.com'),_0x327028+'/PacketOptionsMessage';},_0x7c849d;}()),_0xd25805['StringBytesPacketDataMessage']=(function(){function _0x3a5e73(_0x546bb7){if(_0x546bb7){for(var _0x539c23=Object['keys'](_0x546bb7),_0x43c2e8=0x0;_0x43c2e8<_0x539c23['length'];++_0x43c2e8)null!=_0x546bb7[_0x539c23[_0x43c2e8]]&&(this[_0x539c23[_0x43c2e8]]=_0x546bb7[_0x539c23[_0x43c2e8]]);}}return _0x3a5e73['prototype']['data']='',_0x3a5e73['prototype']['data1']=_0xcc38bf['newBuffer']([]),_0x3a5e73['create']=function(_0x3fab00){return new _0x3a5e73(_0x3fab00);},_0x3a5e73['encode']=function(_0x51ea0d,_0x49de74){return _0x49de74||(_0x49de74=_0x1f8a63['create']()),null!=_0x51ea0d['data']&&Object['hasOwnProperty']['call'](_0x51ea0d,'data')&&_0x49de74['uint32'](0xa)['string'](_0x51ea0d['data']),null!=_0x51ea0d['data1']&&Object['hasOwnProperty']['call'](_0x51ea0d,'data1')&&_0x49de74['uint32'](0x12)['bytes'](_0x51ea0d['data1']),_0x49de74;},_0x3a5e73['encodeDelimited']=function(_0x5101c5,_0x289b1f){return this['encode'](_0x5101c5,_0x289b1f)['ldelim']();},_0x3a5e73['decode']=function(_0x241f9a,_0x5f3ffa,_0x541a69){_0x241f9a instanceof _0x37c416||(_0x241f9a=_0x37c416['create'](_0x241f9a));for(var _0x38d177=void 0x0===_0x5f3ffa?_0x241f9a['len']:_0x241f9a['pos']+_0x5f3ffa,_0x2c76fb=new _0xd25805['StringBytesPacketDataMessage']();_0x241f9a['pos']<_0x38d177;){var _0x16013e=_0x241f9a['uint32']();if(_0x16013e===_0x541a69)break;switch(_0x16013e>>>0x3){case 0x1:_0x2c76fb['data']=_0x241f9a['string']();break;case 0x2:_0x2c76fb['data1']=_0x241f9a['bytes']();break;default:_0x241f9a['skipType'](0x7&_0x16013e);}}return _0x2c76fb;},_0x3a5e73['decodeDelimited']=function(_0xc386c8){return _0xc386c8 instanceof _0x37c416||(_0xc386c8=new _0x37c416(_0xc386c8)),this['decode'](_0xc386c8,_0xc386c8['uint32']());},_0x3a5e73['verify']=function(_0x37ed6b){return'object'!=typeof _0x37ed6b||null===_0x37ed6b?'object\x20expected':null!=_0x37ed6b['data']&&_0x37ed6b['hasOwnProperty']('data')&&!_0xcc38bf['isString'](_0x37ed6b['data'])?'data:\x20string\x20expected':null!=_0x37ed6b['data1']&&_0x37ed6b['hasOwnProperty']('data1')&&!(_0x37ed6b['data1']&&'number'==typeof _0x37ed6b['data1']['length']||_0xcc38bf['isString'](_0x37ed6b['data1']))?'data1:\x20buffer\x20expected':null;},_0x3a5e73['fromObject']=function(_0x57f623){if(_0x57f623 instanceof _0xd25805['StringBytesPacketDataMessage'])return _0x57f623;var _0x4e2fac=new _0xd25805['StringBytesPacketDataMessage']();return null!=_0x57f623['data']&&(_0x4e2fac['data']=String(_0x57f623['data'])),null!=_0x57f623['data1']&&('string'==typeof _0x57f623['data1']?_0xcc38bf['base64']['decode'](_0x57f623['data1'],_0x4e2fac['data1']=_0xcc38bf['newBuffer'](_0xcc38bf['base64']['length'](_0x57f623['data1'])),0x0):_0x57f623['data1']['length']>=0x0&&(_0x4e2fac['data1']=_0x57f623['data1'])),_0x4e2fac;},_0x3a5e73['toObject']=function(_0x39447a,_0x41d5c3){_0x41d5c3||(_0x41d5c3={});var _0x4d807e={};return _0x41d5c3['defaults']&&(_0x4d807e['data']='',_0x41d5c3['bytes']===String?_0x4d807e['data1']='':(_0x4d807e['data1']=[],_0x41d5c3['bytes']!==Array&&(_0x4d807e['data1']=_0xcc38bf['newBuffer'](_0x4d807e['data1'])))),null!=_0x39447a['data']&&_0x39447a['hasOwnProperty']('data')&&(_0x4d807e['data']=_0x39447a['data']),null!=_0x39447a['data1']&&_0x39447a['hasOwnProperty']('data1')&&(_0x4d807e['data1']=_0x41d5c3['bytes']===String?_0xcc38bf['base64']['encode'](_0x39447a['data1'],0x0,_0x39447a['data1']['length']):_0x41d5c3['bytes']===Array?Array['prototype']['slice']['call'](_0x39447a['data1']):_0x39447a['data1']),_0x4d807e;},_0x3a5e73['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x3a5e73['getTypeUrl']=function(_0x341dc0){return void 0x0===_0x341dc0&&(_0x341dc0='type.googleapis.com'),_0x341dc0+'/StringBytesPacketDataMessage';},_0x3a5e73;}()),_0xd25805['StringNumberPacketDataMessage']=(function(){function _0x20f5bd(_0x161d8c){if(_0x161d8c){for(var _0x52bf81=Object['keys'](_0x161d8c),_0x1c8dc5=0x0;_0x1c8dc5<_0x52bf81['length'];++_0x1c8dc5)null!=_0x161d8c[_0x52bf81[_0x1c8dc5]]&&(this[_0x52bf81[_0x1c8dc5]]=_0x161d8c[_0x52bf81[_0x1c8dc5]]);}}return _0x20f5bd['prototype']['data']='',_0x20f5bd['prototype']['data1']=0x0,_0x20f5bd['create']=function(_0x5203d2){return new _0x20f5bd(_0x5203d2);},_0x20f5bd['encode']=function(_0x36bdf7,_0x42dd0f){return _0x42dd0f||(_0x42dd0f=_0x1f8a63['create']()),null!=_0x36bdf7['data']&&Object['hasOwnProperty']['call'](_0x36bdf7,'data')&&_0x42dd0f['uint32'](0xa)['string'](_0x36bdf7['data']),null!=_0x36bdf7['data1']&&Object['hasOwnProperty']['call'](_0x36bdf7,'data1')&&_0x42dd0f['uint32'](0x10)['uint32'](_0x36bdf7['data1']),_0x42dd0f;},_0x20f5bd['encodeDelimited']=function(_0x354b05,_0x4a9be9){return this['encode'](_0x354b05,_0x4a9be9)['ldelim']();},_0x20f5bd['decode']=function(_0x123e8a,_0x113a56,_0x5e78fe){_0x123e8a instanceof _0x37c416||(_0x123e8a=_0x37c416['create'](_0x123e8a));for(var _0x3d1f71=void 0x0===_0x113a56?_0x123e8a['len']:_0x123e8a['pos']+_0x113a56,_0x31d5f6=new _0xd25805['StringNumberPacketDataMessage']();_0x123e8a['pos']<_0x3d1f71;){var _0x2e7695=_0x123e8a['uint32']();if(_0x2e7695===_0x5e78fe)break;switch(_0x2e7695>>>0x3){case 0x1:_0x31d5f6['data']=_0x123e8a['string']();break;case 0x2:_0x31d5f6['data1']=_0x123e8a['uint32']();break;default:_0x123e8a['skipType'](0x7&_0x2e7695);}}return _0x31d5f6;},_0x20f5bd['decodeDelimited']=function(_0x45e0be){return _0x45e0be instanceof _0x37c416||(_0x45e0be=new _0x37c416(_0x45e0be)),this['decode'](_0x45e0be,_0x45e0be['uint32']());},_0x20f5bd['verify']=function(_0xd3535f){return'object'!=typeof _0xd3535f||null===_0xd3535f?'object\x20expected':null!=_0xd3535f['data']&&_0xd3535f['hasOwnProperty']('data')&&!_0xcc38bf['isString'](_0xd3535f['data'])?'data:\x20string\x20expected':null!=_0xd3535f['data1']&&_0xd3535f['hasOwnProperty']('data1')&&!_0xcc38bf['isInteger'](_0xd3535f['data1'])?'data1:\x20integer\x20expected':null;},_0x20f5bd['fromObject']=function(_0x58b09d){if(_0x58b09d instanceof _0xd25805['StringNumberPacketDataMessage'])return _0x58b09d;var _0x2107ae=new _0xd25805['StringNumberPacketDataMessage']();return null!=_0x58b09d['data']&&(_0x2107ae['data']=String(_0x58b09d['data'])),null!=_0x58b09d['data1']&&(_0x2107ae['data1']=_0x58b09d['data1']>>>0x0),_0x2107ae;},_0x20f5bd['toObject']=function(_0x279abd,_0x428e47){_0x428e47||(_0x428e47={});var _0x45a5c1={};return _0x428e47['defaults']&&(_0x45a5c1['data']='',_0x45a5c1['data1']=0x0),null!=_0x279abd['data']&&_0x279abd['hasOwnProperty']('data')&&(_0x45a5c1['data']=_0x279abd['data']),null!=_0x279abd['data1']&&_0x279abd['hasOwnProperty']('data1')&&(_0x45a5c1['data1']=_0x279abd['data1']),_0x45a5c1;},_0x20f5bd['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x20f5bd['getTypeUrl']=function(_0x11f98c){return void 0x0===_0x11f98c&&(_0x11f98c='type.googleapis.com'),_0x11f98c+'/StringNumberPacketDataMessage';},_0x20f5bd;}()),_0xd25805['StringObjectPacketDataMessage']=(function(){function _0x2c0693(_0x43a4d3){if(_0x43a4d3){for(var _0x1ad663=Object['keys'](_0x43a4d3),_0x3dbbcb=0x0;_0x3dbbcb<_0x1ad663['length'];++_0x3dbbcb)null!=_0x43a4d3[_0x1ad663[_0x3dbbcb]]&&(this[_0x1ad663[_0x3dbbcb]]=_0x43a4d3[_0x1ad663[_0x3dbbcb]]);}}return _0x2c0693['prototype']['data']='',_0x2c0693['prototype']['data1']='',_0x2c0693['create']=function(_0x5a1ca2){return new _0x2c0693(_0x5a1ca2);},_0x2c0693['encode']=function(_0x4cd145,_0xa7bde4){return _0xa7bde4||(_0xa7bde4=_0x1f8a63['create']()),null!=_0x4cd145['data']&&Object['hasOwnProperty']['call'](_0x4cd145,'data')&&_0xa7bde4['uint32'](0xa)['string'](_0x4cd145['data']),null!=_0x4cd145['data1']&&Object['hasOwnProperty']['call'](_0x4cd145,'data1')&&_0xa7bde4['uint32'](0x12)['string'](_0x4cd145['data1']),_0xa7bde4;},_0x2c0693['encodeDelimited']=function(_0x3ff4ca,_0x48fa7d){return this['encode'](_0x3ff4ca,_0x48fa7d)['ldelim']();},_0x2c0693['decode']=function(_0x7a7520,_0x12aad2,_0x28d056){_0x7a7520 instanceof _0x37c416||(_0x7a7520=_0x37c416['create'](_0x7a7520));for(var _0x58f643=void 0x0===_0x12aad2?_0x7a7520['len']:_0x7a7520['pos']+_0x12aad2,_0x3c03b5=new _0xd25805['StringObjectPacketDataMessage']();_0x7a7520['pos']<_0x58f643;){var _0x35a914=_0x7a7520['uint32']();if(_0x35a914===_0x28d056)break;switch(_0x35a914>>>0x3){case 0x1:_0x3c03b5['data']=_0x7a7520['string']();break;case 0x2:_0x3c03b5['data1']=_0x7a7520['string']();break;default:_0x7a7520['skipType'](0x7&_0x35a914);}}return _0x3c03b5;},_0x2c0693['decodeDelimited']=function(_0x5f12dd){return _0x5f12dd instanceof _0x37c416||(_0x5f12dd=new _0x37c416(_0x5f12dd)),this['decode'](_0x5f12dd,_0x5f12dd['uint32']());},_0x2c0693['verify']=function(_0x433f19){return'object'!=typeof _0x433f19||null===_0x433f19?'object\x20expected':null!=_0x433f19['data']&&_0x433f19['hasOwnProperty']('data')&&!_0xcc38bf['isString'](_0x433f19['data'])?'data:\x20string\x20expected':null!=_0x433f19['data1']&&_0x433f19['hasOwnProperty']('data1')&&!_0xcc38bf['isString'](_0x433f19['data1'])?'data1:\x20string\x20expected':null;},_0x2c0693['fromObject']=function(_0x2c5d20){if(_0x2c5d20 instanceof _0xd25805['StringObjectPacketDataMessage'])return _0x2c5d20;var _0xec6fef=new _0xd25805['StringObjectPacketDataMessage']();return null!=_0x2c5d20['data']&&(_0xec6fef['data']=String(_0x2c5d20['data'])),null!=_0x2c5d20['data1']&&(_0xec6fef['data1']=String(_0x2c5d20['data1'])),_0xec6fef;},_0x2c0693['toObject']=function(_0x1f0fda,_0x4f0150){_0x4f0150||(_0x4f0150={});var _0x272173={};return _0x4f0150['defaults']&&(_0x272173['data']='',_0x272173['data1']=''),null!=_0x1f0fda['data']&&_0x1f0fda['hasOwnProperty']('data')&&(_0x272173['data']=_0x1f0fda['data']),null!=_0x1f0fda['data1']&&_0x1f0fda['hasOwnProperty']('data1')&&(_0x272173['data1']=_0x1f0fda['data1']),_0x272173;},_0x2c0693['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x2c0693['getTypeUrl']=function(_0x50597f){return void 0x0===_0x50597f&&(_0x50597f='type.googleapis.com'),_0x50597f+'/StringObjectPacketDataMessage';},_0x2c0693;}()),_0xd25805['StringStringPacketDataMessage']=(function(){function _0x381e00(_0x5415f9){if(_0x5415f9){for(var _0x29a76a=Object['keys'](_0x5415f9),_0x16f788=0x0;_0x16f788<_0x29a76a['length'];++_0x16f788)null!=_0x5415f9[_0x29a76a[_0x16f788]]&&(this[_0x29a76a[_0x16f788]]=_0x5415f9[_0x29a76a[_0x16f788]]);}}return _0x381e00['prototype']['data']='',_0x381e00['prototype']['data1']='',_0x381e00['create']=function(_0x3ab1d6){return new _0x381e00(_0x3ab1d6);},_0x381e00['encode']=function(_0x10f891,_0x435d47){return _0x435d47||(_0x435d47=_0x1f8a63['create']()),null!=_0x10f891['data']&&Object['hasOwnProperty']['call'](_0x10f891,'data')&&_0x435d47['uint32'](0xa)['string'](_0x10f891['data']),null!=_0x10f891['data1']&&Object['hasOwnProperty']['call'](_0x10f891,'data1')&&_0x435d47['uint32'](0x12)['string'](_0x10f891['data1']),_0x435d47;},_0x381e00['encodeDelimited']=function(_0x5b78c1,_0xb91b67){return this['encode'](_0x5b78c1,_0xb91b67)['ldelim']();},_0x381e00['decode']=function(_0x3352a8,_0x3983b2,_0x514bab){_0x3352a8 instanceof _0x37c416||(_0x3352a8=_0x37c416['create'](_0x3352a8));for(var _0x57d294=void 0x0===_0x3983b2?_0x3352a8['len']:_0x3352a8['pos']+_0x3983b2,_0x3fbd89=new _0xd25805['StringStringPacketDataMessage']();_0x3352a8['pos']<_0x57d294;){var _0x476a39=_0x3352a8['uint32']();if(_0x476a39===_0x514bab)break;switch(_0x476a39>>>0x3){case 0x1:_0x3fbd89['data']=_0x3352a8['string']();break;case 0x2:_0x3fbd89['data1']=_0x3352a8['string']();break;default:_0x3352a8['skipType'](0x7&_0x476a39);}}return _0x3fbd89;},_0x381e00['decodeDelimited']=function(_0x3f22a2){return _0x3f22a2 instanceof _0x37c416||(_0x3f22a2=new _0x37c416(_0x3f22a2)),this['decode'](_0x3f22a2,_0x3f22a2['uint32']());},_0x381e00['verify']=function(_0x2f7188){return'object'!=typeof _0x2f7188||null===_0x2f7188?'object\x20expected':null!=_0x2f7188['data']&&_0x2f7188['hasOwnProperty']('data')&&!_0xcc38bf['isString'](_0x2f7188['data'])?'data:\x20string\x20expected':null!=_0x2f7188['data1']&&_0x2f7188['hasOwnProperty']('data1')&&!_0xcc38bf['isString'](_0x2f7188['data1'])?'data1:\x20string\x20expected':null;},_0x381e00['fromObject']=function(_0x32d1cf){if(_0x32d1cf instanceof _0xd25805['StringStringPacketDataMessage'])return _0x32d1cf;var _0x582514=new _0xd25805['StringStringPacketDataMessage']();return null!=_0x32d1cf['data']&&(_0x582514['data']=String(_0x32d1cf['data'])),null!=_0x32d1cf['data1']&&(_0x582514['data1']=String(_0x32d1cf['data1'])),_0x582514;},_0x381e00['toObject']=function(_0x357b5e,_0x570947){_0x570947||(_0x570947={});var _0x320e24={};return _0x570947['defaults']&&(_0x320e24['data']='',_0x320e24['data1']=''),null!=_0x357b5e['data']&&_0x357b5e['hasOwnProperty']('data')&&(_0x320e24['data']=_0x357b5e['data']),null!=_0x357b5e['data1']&&_0x357b5e['hasOwnProperty']('data1')&&(_0x320e24['data1']=_0x357b5e['data1']),_0x320e24;},_0x381e00['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x381e00['getTypeUrl']=function(_0x51370d){return void 0x0===_0x51370d&&(_0x51370d='type.googleapis.com'),_0x51370d+'/StringStringPacketDataMessage';},_0x381e00;}()),_0xd25805;})());class _0x14c902{static['decode'](_0x3d13a2,_0x5e92be){const _0x40dbe5=_getType(_0x5e92be)['decode']('undefined'==typeof window?_0x3d13a2:new Uint8Array(_0x3d13a2));return _0x5e92be['fromJSON']({..._0x40dbe5});}static['encode'](_0x354e80){const _0x23362e=_getType(_0x354e80['constructor']),_0x2d11f4=_0x354e80['toJSON'](),_0x3e9c38=_0x23362e['verify'](_0x2d11f4);if(_0x3e9c38)throw Error(_0x3e9c38);return _0x23362e['encode'](_0x23362e['create'](_0x2d11f4))['finish']();}}function _getType(_0x2dee00){return _0x9d4d54[_0x2dee00['DESCRIPTOR_NAME']];}class GetManyUsersMessage extends _0x3e4ab5{['ids'];static ['TYPE']='22';static ['READABLE_TYPE_NAME']='getManyUsers';static ['DESCRIPTOR_NAME']='GetManyUsersMessage';static ['DESCRIPTOR']={'fields':{'ids':{'id':0x1,'type':'string','rule':'repeated'}}};constructor(_0x252a86){super(),this['ids']=_0x252a86;}['toJSON'](){return{'ids':this['ids']};}static['fromJSON'](_0x429e7e){return new GetManyUsersMessage(_0x429e7e['ids']);}}class GetManyUsersResponse extends _0x3e4ab5{['users'];static ['DESCRIPTOR_NAME']='GetManyUsersResponse';static ['DESCRIPTOR']={'fields':{'users':{'rule':'repeated','type':'UserDescriptor','id':0x1}}};constructor(_0x18161b){super(),this['users']=_0x18161b;}['toJSON'](){return{'users':this['users']['map'](_0x5020d3)};}static['fromJSON'](_0x3f9944){return new GetManyUsersResponse(_0x3f9944['users']['map'](_0x1f605f));}}function _0x5020d3(_0xff9ba){return{'attributes':Object['keys'](_0xff9ba)['map'](_0x2dba69=>({'key':_0x2dba69,'value':JSON['stringify'](_0xff9ba[_0x2dba69])}))};}function _0x1f605f(_0x1a5f91){return _0x1a5f91['attributes']['reduce']((_0x467608,_0x5f5c64)=>(_0x467608[_0x5f5c64['key']]=_0x5f5c64['value']?JSON['parse'](_0x5f5c64['value']):null,_0x467608),{});}class _0x5ba9e9{static ['_SERVICE']=0x2;constructor(_0x6ced7d={}){this['_attributes']=new Map();for(const _0x3137c2 of Object['keys'](_0x6ced7d))'id'!==_0x3137c2?(this['_attributes']['set'](_0x3137c2,_0x6ced7d[_0x3137c2]),Object['defineProperty'](this,_0x3137c2,{'enumerable':!0x0,'configurable':!0x1,'get':()=>this['_attributes']['get'](_0x3137c2)})):this['id']=_0x6ced7d['id'];}static['fromData'](_0x2c4541){return new _0x5ba9e9(_0x2c4541);}static async['get'](_0x236aec,_0x21ea86){const _0x226b14=new GetUserMessage(_0x21ea86);try{const _0x4ba877=await _0x236aec['_sendRequest'](_0x5ba9e9['_SERVICE'],GetUserMessage['TYPE'],_0x14c902['encode'](_0x226b14)),_0x587380=_0x14c902['decode'](_0x4ba877,GetUserResponse);return new _0x5ba9e9(_0x587380['attributes']);}catch(_0x3793d6){return new _0x5ba9e9({'id':_0x21ea86});}}static async['getMany'](_0x1ce882,_0x2da83d){const _0x4d4039=new GetManyUsersMessage(_0x2da83d);try{const _0x2b76e5=await _0x1ce882['_sendRequest'](_0x5ba9e9['_SERVICE'],GetManyUsersMessage['TYPE'],_0x14c902['encode'](_0x4d4039));return _0x14c902['decode'](_0x2b76e5,GetManyUsersResponse)['users']['map'](_0x1fa098=>new _0x5ba9e9(_0x1fa098));}catch(_0x136302){return _0x2da83d['map'](_0x53ddfa=>new _0x5ba9e9({'id':_0x53ddfa}));}}}class _0x1c1a4a extends _0x3e4ab5{['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(_0x5cbdf9,_0x3660dd,_0x4e0155){super(),this['type']=_0x5cbdf9,this['socketId']=_0x3660dd,this['data']=_0x4e0155;}['toJSON'](){return{'type':this['type'],'socketId':this['socketId'],'data':this['data']};}static['fromJSON'](_0x1f3941){return new _0x1c1a4a(_0x1f3941['type'],_0x1f3941['socketId'],_0x1f3941['data']);}}class _0x1bc075 extends/* #__PURE__ -- @preserve */
ckeditor5['EmitterMixin'](){['_channelName'];['_wsGateway'];['_socket'];constructor(_0x5c1541,_0x3d47a0,_0xe82946){super(),this['_channelName']=_0x5c1541,this['_wsGateway']=_0x3d47a0,this['_socket']=_0xe82946,this['_subscribeToChannel']();}['remove'](){this['_socket']['off'](this['_channelName']);}['getEventName'](_0x4015a8,_0x3c31a9=!0x1){let _0x154b58='';return _0x3c31a9&&(_0x154b58+='all:'),_0x154b58+='event',_0x4015a8&&(_0x154b58+=':'+_0x4015a8),_0x154b58;}['_subscribeToChannel'](){this['_socket']['on'](this['_channelName'],_0x541f11=>{const _0x491076=_0x14c902['decode'](_0x541f11,_0x1c1a4a);this['fire'](this['getEventName'](_0x491076['type'],!0x0),_0x491076['data'],_0x491076['socketId']),_0x491076['socketId']!==this['_wsGateway']['socketId']&&this['fire'](this['getEventName'](_0x491076['type']),_0x491076['data'],_0x491076['socketId']);});}}class CKEditorCloudServicesError extends Error{['context'];['code'];['data'];constructor(_0x470a58,_0x585e5a,_0x3186c2=null,_0x4fa81a={}){super('cloud-services-internal-error:\x20'+_0x470a58),this['context']=_0x585e5a,this['code']=_0x3186c2,this['data']=_0x4fa81a,this['name']='CKEditorError';}static['fromPublicError'](_0x513466){return new CKEditorCloudServicesError(function(_0x599cbb){let _0xb139fe='cloud-services-error:\x20'+_0x599cbb['message'];return _0x599cbb['data']&&(_0xb139fe+='\x0aError\x20data:\x20'+JSON['stringify'](_0x599cbb['data'])),_0x599cbb['explanation']&&(_0xb139fe+='\x0aExplanation:\x20'+_0x599cbb['explanation']),_0x599cbb['action']&&(_0xb139fe+='\x0aAction:\x20'+_0x599cbb['action']),_0x599cbb['traceId']&&(_0xb139fe+='\x0aTraceId:\x20'+_0x599cbb['traceId']),_0x599cbb['code']&&(_0xb139fe+='\x0aCode:\x20'+_0x599cbb['code']),_0xb139fe;}(_0x513466),_0x513466);}}class CKEditorCloudServicesServerError extends Error{['code'];['traceId'];['data'];constructor(_0x3868cd,_0x2bf19b){super(),this['name']='CKEditorCloudServicesServerError',this['stack']=void 0x0,this['message']=_0x3868cd,this['code']=_0x2bf19b['code'],this['traceId']=_0x2bf19b['traceId'],this['data']=_0x2bf19b['data'];}static['fromPublicError'](_0x70bc68){return new CKEditorCloudServicesServerError(function(_0x27073c){let _0xd1e0b2='cloud-services-server-error:\x20'+_0x27073c['message'];return _0x27073c['explanation']&&(_0xd1e0b2+='\x0aExplanation:\x20'+_0x27073c['explanation']),_0x27073c['action']&&(_0xd1e0b2+='\x0aAction:\x20'+_0x27073c['action']),_0x27073c['traceId']&&(_0xd1e0b2+='\x0aTraceId:\x20'+_0x27073c['traceId']),_0x27073c['code']&&(_0xd1e0b2+='\x0aCode:\x20'+_0x27073c['code']),_0xd1e0b2;}(_0x70bc68),_0x70bc68);}}class PacketOptionsMessage extends _0x3e4ab5{['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(_0x2ce5fe,_0x473989=[],_0x1c24fa=[]){super(),this['flags']=_0x2ce5fe,this['rooms']=_0x473989,this['except']=_0x1c24fa;}['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'](_0x5e4a6b){return new PacketOptionsMessage(_0x5e4a6b['flags']&&JSON['parse'](_0x5e4a6b['flags']),_0x5e4a6b['rooms'],_0x5e4a6b['except']);}}const _0x5de17a=/* #__PURE__ -- @preserve */
((()=>!('undefined'==typeof process||!process['versions']?.['node']))()),MessageDataTypes_BUFFER=0x1,MessageDataTypes_STRING=0x2,MessageDataTypes_NUMBER=0x3,MessageDataTypes_OBJECT=0x4;class ParserUtils{static['getPacketType'](..._0x45fc7d){let _0x4aa054=0x0;for(let _0x1ca28e=0x0;_0x1ca28e<_0x45fc7d['length'];_0x1ca28e++)_0x4aa054+=_0x45fc7d[_0x1ca28e]*Math['pow'](0xa,_0x45fc7d['length']-_0x1ca28e-0x1);return _0x4aa054;}static['getType'](_0x3727e9){if(ParserUtils['isBuffer'](_0x3727e9))return MessageDataTypes_BUFFER;const _0x1d4c03=typeof _0x3727e9;return'string'===_0x1d4c03?MessageDataTypes_STRING:'number'===_0x1d4c03?MessageDataTypes_NUMBER:MessageDataTypes_OBJECT;}static['isBuffer'](_0x3976c5){return _0x5de17a&&Buffer['isBuffer'](_0x3976c5)||_0x3976c5 instanceof ArrayBuffer||_0x3976c5 instanceof Uint8Array||this['_isBufferView'](_0x3976c5);}static['_isBufferView'](_0x58b7f1){return'function'==typeof ArrayBuffer['isView']?ArrayBuffer['isView'](_0x58b7f1):_0x58b7f1['buffer']instanceof ArrayBuffer;}}class PackageDataMessage extends _0x3e4ab5{['data'];['data1'];static['create'](_0x12d4b9,_0x3f4e07){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(_0x92e2e7,_0xbe6ae1){super(),this['data']=_0x92e2e7,this['data1']=_0xbe6ae1;}['toJSON'](){return{'data':this['data'],'data1':this['data1']};}static['fromJSON'](_0x1b149c){return new NumberBytesPacketDataMessage(_0x1b149c['data'],_0x1b149c['data1']);}static['create'](_0x2b787f,_0x2628ee){return new NumberBytesPacketDataMessage(_0x2b787f,_0x2628ee);}}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(_0x5be74c,_0x2ecabe){super(),this['data']=_0x5be74c,this['data1']=_0x2ecabe;}['toJSON'](){return{'data':this['data'],'data1':this['data1']};}static['fromJSON'](_0x57a39c){return new StringBytesPacketDataMessage(_0x57a39c['data'],_0x57a39c['data1']);}static['create'](_0x5be9f9,_0x3581f5){return new StringBytesPacketDataMessage(_0x5be9f9,_0x3581f5);}}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(_0x152c69,_0x5cc828){super(),this['data']=_0x152c69,this['data1']=_0x5cc828;}['toJSON'](){return{'data':this['data'],'data1':this['data1']};}static['fromJSON'](_0x35ec8d){return new BytesBytesPacketDataMessage(_0x35ec8d['data'],_0x35ec8d['data1']);}static['create'](_0x4d2a98,_0x3302d9){return new BytesBytesPacketDataMessage(_0x4d2a98,_0x3302d9);}}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(_0x3f5e77,_0x2466bb){super(),this['data']=_0x3f5e77,this['data1']=_0x2466bb;}['toJSON'](){return{'data':this['data'],'data1':this['data1']?JSON['stringify'](this['data1']):void 0x0};}static['fromJSON'](_0x1a93e4){return new StringObjectPacketDataMessage(_0x1a93e4['data'],_0x1a93e4['data1']&&JSON['parse'](_0x1a93e4['data1']));}static['create'](_0x513de3,_0x572c28){return new StringObjectPacketDataMessage(_0x513de3,_0x572c28);}}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(_0x413c20,_0x2c52c2){super(),this['data']=_0x413c20,this['data1']=_0x2c52c2;}['toJSON'](){return{'data':this['data'],'data1':this['data1']?JSON['stringify'](this['data1']):void 0x0};}static['fromJSON'](_0x194d90){return new NumberObjectPacketDataMessage(_0x194d90['data'],_0x194d90['data1']&&JSON['parse'](_0x194d90['data1']));}static['create'](_0x1bfa7e,_0x402995){return new NumberObjectPacketDataMessage(_0x1bfa7e,_0x402995);}}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(_0x3d204e,_0x454634){super(),this['data']=_0x3d204e,this['data1']=_0x454634;}['toJSON'](){return{'data':this['data']?JSON['stringify'](this['data']):void 0x0,'data1':this['data1']?JSON['stringify'](this['data1']):void 0x0};}static['fromJSON'](_0x2cbe8b){return new ObjectObjectPacketDataMessage(_0x2cbe8b['data']&&JSON['parse'](_0x2cbe8b['data']),_0x2cbe8b['data1']&&JSON['parse'](_0x2cbe8b['data1']));}static['create'](_0x5a41e9,_0x5b7aba){return new ObjectObjectPacketDataMessage(_0x5a41e9,_0x5b7aba);}}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(_0x321517,_0x68230e){super(),this['data']=_0x321517,this['data1']=_0x68230e;}['toJSON'](){return{'data':this['data']?JSON['stringify'](this['data']):void 0x0,'data1':this['data1']};}static['fromJSON'](_0x5a1c0a){return new ObjectBufferPacketDataMessage(_0x5a1c0a['data']&&JSON['parse'](_0x5a1c0a['data']),_0x5a1c0a['data1']);}static['create'](_0x617768,_0x4d4323){return new ObjectBufferPacketDataMessage(_0x617768,_0x4d4323);}}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(_0x19735d,_0x3e83d6){super(),this['data']=_0x19735d,this['data1']=_0x3e83d6;}['toJSON'](){return{'data':this['data'],'data1':this['data1']};}static['fromJSON'](_0x14ca1b){return new StringStringPacketDataMessage(_0x14ca1b['data'],_0x14ca1b['data1']);}static['create'](_0x4bf3b2,_0xf68782){return new StringStringPacketDataMessage(_0x4bf3b2,_0xf68782);}}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(_0x5ab4db,_0x1aa6c9){super(),this['data']=_0x5ab4db,this['data1']=_0x1aa6c9;}['toJSON'](){return{'data':this['data'],'data1':this['data1']};}static['fromJSON'](_0x16c33f){return new StringNumberPacketDataMessage(_0x16c33f['data'],_0x16c33f['data1']);}static['create'](_0x28232c,_0x1ae4da){return new StringNumberPacketDataMessage(_0x28232c,_0x1ae4da);}}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(_0x1a1d1c,_0x20805e){super(),this['data']=_0x1a1d1c,this['data1']=_0x20805e;}['toJSON'](){return{'data':this['data'],'data1':this['data1']};}static['fromJSON'](_0x107ea6){return new NumberNumberPacketDataMessage(_0x107ea6['data'],_0x107ea6['data1']);}static['create'](_0x3e12d6,_0x1dbb98){return new NumberNumberPacketDataMessage(_0x3e12d6,_0x1dbb98);}}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(_0x589c3b,_0x2933c9){super(),this['data']=_0x589c3b,this['data1']=_0x2933c9;}['toJSON'](){return{'data':this['data'],'data1':this['data1']};}static['fromJSON'](_0xf12c){return new NumberStringPacketDataMessage(_0xf12c['data'],_0xf12c['data1']);}static['create'](_0x4ee3d2,_0x3efe4e){return new NumberStringPacketDataMessage(_0x4ee3d2,_0x3efe4e);}}const _0xe7c45=/* #__PURE__ -- @preserve */
((()=>[NumberBytesPacketDataMessage,StringBytesPacketDataMessage,BytesBytesPacketDataMessage,StringObjectPacketDataMessage,NumberObjectPacketDataMessage,ObjectObjectPacketDataMessage,ObjectBufferPacketDataMessage,StringStringPacketDataMessage,StringNumberPacketDataMessage,NumberNumberPacketDataMessage,NumberStringPacketDataMessage]['reduce']((_0x236a02,_0x130d5d)=>(_0x236a02[_0x130d5d['TYPE']]=_0x130d5d,_0x236a02),{}))());class PacketMessage extends _0x3e4ab5{['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(_0x2ff862,_0x278192,_0x4827d5,_0x4eb407='/',_0x49f537){super(),this['type']=_0x2ff862,this['data']=_0x278192,this['id']=_0x4827d5,this['nsp']=_0x4eb407,this['options']=_0x49f537??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 _0x5163d7=_0x14c902['encode'](this['options']),_0x422fb0=_0x14c902['encode'](this['data']);return{'type':this['type']+0xa*this['data']['constructor']['TYPE'],'id':this['id'],'nsp':'/'===this['nsp']?void 0x0:this['nsp'],'data':_0x422fb0,'options':_0x5163d7};}static['fromJSON'](_0x1019a8){const _0x425725=Math['floor'](_0x1019a8['type']/0xa);return new PacketMessage(_0x1019a8['type']-0xa*_0x425725,_0x14c902['decode'](_0x1019a8['data'],_0xe7c45[_0x425725]),_0x1019a8['id'],_0x1019a8['nsp'],_0x1019a8['options']?_0x14c902['decode'](_0x1019a8['options'],PacketOptionsMessage):new PacketOptionsMessage());}static['create'](_0x508599,_0x44bfb6={}){const _0x30cca3=ParserUtils['getPacketType'](ParserUtils['getType'](_0x508599['data'][0x0]),ParserUtils['getType'](_0x508599['data'][0x1]??_0x508599['data'][0x0]));return new PacketMessage(_0x508599['type'],_0xe7c45[_0x30cca3]['create'](_0x508599['data'][0x0],_0x508599['data'][0x1]),_0x508599['id'],_0x508599['nsp'],new PacketOptionsMessage(_0x44bfb6['flags'],_0x44bfb6['rooms'],_0x44bfb6['except']));}}class PacketParser{['encode'](_0x1fd3cc,_0x1e9351,_0x3c318b,_0x472633='/',_0x36f76b={}){if(_0x1e9351['length']>0x2)throw new Error('PacketParser\x20supports\x20only\x202\x20elements\x20in\x20data');const _0x2a88fa={'type':_0x1fd3cc,'data':_0x1e9351,'id':_0x3c318b,'nsp':_0x472633};return _0x14c902['encode'](PacketMessage['create'](_0x2a88fa,_0x36f76b));}['decode'](_0x9d4559){const _0x2c8d1f=_0x14c902['decode'](_0x9d4559,PacketMessage);return{'packet':{'id':_0x2c8d1f['id'],'type':_0x2c8d1f['type'],'data':_0x2c8d1f['packetData'],'nsp':_0x2c8d1f['nsp']},'options':{'flags':_0x2c8d1f['options']['flags'],'rooms':_0x2c8d1f['options']['rooms'],'except':_0x2c8d1f['options']['except']}};}}const _0x35756b=/* #__PURE__ -- @preserve */
((()=>[PacketType['EVENT'],PacketType['ACK'],PacketType['BINARY_ACK'],PacketType['BINARY_EVENT']])());class _0xa5bee0 extends _0x1f283b{['_packetParser'];constructor(_0x305cd9){super(),this['_packetParser']=_0x305cd9??new PacketParser();}['encode'](_0xe71c1e){if(_0x35756b['includes'](_0xe71c1e['type']))try{return[this['_packetParser']['encode'](_0xe71c1e['type'],_0xe71c1e['data'],_0xe71c1e['id'],_0xe71c1e['nsp'])];}catch(_0x499c0f){console['error']('Can\x20not\x20properly\x20serialize\x20or\x20deserialize\x20messages.\x20Check\x20the\x20original\x20error.',{'originalError':{'message':_0x499c0f['message']}});}return super['encode'](_0xe71c1e);}}class _0x6b5b57 extends _0x332042{['_packetParser'];constructor(_0x550a8e){super(),this['_packetParser']=_0x550a8e??new PacketParser();}['add'](_0x274c1f){if(!ParserUtils['isBuffer'](_0x274c1f))return super['add'](_0x274c1f);let _0x3d886a;try{_0x3d886a=this['_packetParser']['decode'](_0x274c1f)['packet'];}catch(_0x144a9a){return super['add'](_0x274c1f);}super['emitReserved']('decoded',_0x3d886a);}}class WebSocketRequest{['_context'];['_deferredPromise']=/* #__PURE__ -- @preserve */
_0x2ab370();['timeout'];constructor(_0x136e72,_0x5cab10){this['_context']=_0x136e72,this['timeout']=setTimeout(()=>this['error'](new CKEditorCloudServicesError('Request\x20timeout.',this['_context'])),_0x5cab10);}get['promise'](){return this['_deferredPromise']['promise'];}['response'](_0xa6018b){this['_deferredPromise']['resolve'](_0xa6018b);}['error'](_0xb2583b){this['_deferredPromise']['reject'](_0xb2583b);}}class WebSocketGatewayRequestsManager{['_context'];['_requests']=new Set();constructor(_0x103610){this['_context']=_0x103610;}async['send'](_0x47bbc9,_0x403aea=0xafc8){const _0x18455a=this['_createRequest'](_0x403aea);try{return _0x47bbc9(_0x18455a),await _0x18455a['promise'];}finally{this['_finishRequest'](_0x18455a);}}['errorAll'](_0xde39c5){for(const _0x21a83c of this['_requests'])_0x21a83c['error'](_0xde39c5);}['waitForAllRequests'](_0x27c034=0xafc8){return this['_waitForRequests'](_0x27c034);}['_createRequest'](_0x1fb422){const _0x1e22dc=new WebSocketRequest(this['_context'],_0x1fb422);return this['_requests']['add'](_0x1e22dc),_0x1e22dc;}['_finishRequest'](_0x57aaa4){this['_requests']['delete'](_0x57aaa4),clearTimeout(_0x57aaa4['timeout']);}async['_waitForRequests'](_0x12e26c=0x1388,_0x52fffe=0x0){return!this['_requests']['size']||_0x52fffe>=_0x12e26c/0x1f4?Promise['resolve']():(await new Promise(_0x2d649f=>{setTimeout(_0x2d649f,0x1f4);}),this['_waitForRequests'](_0x12e26c,_0x52fffe++));}}function _0x2ab370(){let _0x4b8960,_0x1d3865;const _0x1ffff3=new Promise((_0x56d194,_0x496209)=>{_0x4b8960=_0x56d194,_0x1d3865=_0x496209;});return{'resolve':_0x4b8960,'reject':_0x1d3865,'promise':_0x1ffff3};}const _0xbe1750={'DISCONNECTED':'disconnected','CONNECTING':'connecting','CONNECTED':'connected'};let WebSocketGateway$1=class _0x5b4a6d extends/* #__PURE__ -- @preserve */
ckeditor5['ObservableMixin'](){['_requestsManager'];['_url'];['_socket'];['_socketAuth'];['_channels'];['_connectionAttempt']=0x0;['_token'];['_options'];['_connectionProvider'];['_userFactory'];static ['STATE_DISCONNECTED']=/* #__PURE__ -- @preserve */
((()=>_0xbe1750['DISCONNECTED'])());static ['STATE_CONNECTING']=/* #__PURE__ -- @preserve */
((()=>_0xbe1750['CONNECTING'])());static ['STATE_CONNECTED']=/* #__PURE__ -- @preserve */
((()=>_0xbe1750['CONNECTED'])());static ['_CHANGE_STATE_EVENT_PRIORITY']=/* #__PURE__ -- @preserve */
((()=>ckeditor5['priorities']['get']('highest')+0xf423f)());constructor(_0x2b6428,_0x369932,_0x1c773e,_0x4b8f6f,_0xef9c20){if(super(),this['_token']=_0x369932,this['_options']=_0x1c773e??{},this['_connectionProvider']=_0x4b8f6f??_0x2eb337,this['_userFactory']=_0xef9c20??_0x5ba9e9['get'],this['_requestsManager']=new WebSocketGatewayRequestsManager(this),this['_channels']=new Map(),!_0x2b6428)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(_0x2b6428['replace'](/^(?!(?:\w+:)?\/\/)/,'https://')),this['set']('state',_0xbe1750['DISCONNECTED']),this['set']('socketId',void 0x0),this['set']('me',void 0x0),this['on']('change:state',async(_0x2e9e2c,_0xc3e3fa,_0xce66e8)=>{if(this['_debugEvent']('ws-gw:change:state',_0xce66e8),_0xce66e8!==_0x5b4a6d['STATE_CONNECTED']){if(_0xce66e8===_0x5b4a6d['STATE_DISCONNECTED'])return this['_requestsManager']['errorAll'](new CKEditorCloudServicesError('Not\x20connected.',this));}else try{this['me']=await this['_userFactory']['call'](_0x5ba9e9,this,this['_socketAuth']?.['userId']);}catch(_0x11e779){}},{'priority':_0x5b4a6d['_CHANGE_STATE_EVENT_PRIORITY']}),this['on']('error',(_0x640266,_0x1565c6)=>{this['_options']['onError']?this['_options']['onError'](_0x1565c6):console['error'](_0x1565c6);});}get['sessionId'](){return this['socketId'];}['waitForAllRequests'](_0x1ddc9f){return this['_requestsManager']['waitForAllRequests'](_0x1ddc9f);}['disconnect'](){this['state']!==_0xbe1750['DISCONNECTED']&&(this['_socket']?.['disconnect'](),this['_socket']=void 0x0,this['state']=_0xbe1750['DISCONNECTED']);}async['reconnect'](){this['_socket']||this['state']!==_0xbe1750['DISCONNECTED']||(await this['_token']['refreshToken'](),await this['_connect']());}static async['connect'](_0x5be921,_0x35cf76='local.cs.dev:443/ws-v2',_0x182671={},_0x3397f3=_0x2eb337,_0x1ac86d=_0x5ba9e9['get']){const _0x1e2d43=new _0x5b4a6d(_0x35cf76,_0x5be921,_0x182671,_0x3397f3,_0x1ac86d);return await _0x1e2d43['_connect'](),_0x1e2d43;}['_sendRequest'](_0x137940,_0x4e966c,_0x737eee){if(!_0x137940)throw new CKEditorCloudServicesError('`serviceName`\x20must\x20be\x20provided.',this);if(this['state']!==_0x5b4a6d['STATE_CONNECTED'])throw new CKEditorCloudServicesError('Not\x20connected.',this);if(!this['_socketAuth']||!this['_socketAuth']['isAuthenticated'])throw new CKEditorCloudServicesError('Not\x20authenticated.',this);const _0x4662de=new ArrayBuffer(_0x737eee['length']+0x2),_0x37faf8=new Uint8Array(_0x4662de);return _0x37faf8[0x0]=_0x137940,_0x37faf8[0x1]=parseInt(_0x4e966c),_0x37faf8['set'](_0x737eee,0x2),this['_emit'](0x1,_0x37faf8);}['_getChannel'](_0x4fd4dc,_0x421566){const _0x3a5648=''+_0x4fd4dc+_0x421566;return!this['_channels']['has'](_0x3a5648)&&this['_socket']&&this['_channels']['set'](_0x3a5648,new _0x1bc075(_0x3a5648,this,this['_socket'])),this['_channels']['get'](_0x3a5648);}['_connect'](){return new Promise((_0x34f182,_0x3f1c66)=>{const _0x1cdb81=this['_setupSocket']();!this['socketId']&&_0x1cdb81['io']['on']('reconnect_error',()=>{this['_debugEvent']('reconnect_error'),this['_reconnectionAttemptError'](_0x3f1c66);}),_0x1cdb81['once']('connect',async()=>{this['_debugEvent']('once-connect');try{await this['_onConnect'](),_0x34f182();}catch(_0x3cff27){_0x3f1c66(_0x3cff27);}}),_0x1cdb81['connect']();});}['_getPortByProtocol'](_0xee2f88){return['http:','ws:']['includes'](_0xee2f88)?0x50:0x1bb;}['_setupSocket'](){if(this['_socket'])return this['_socket'];const _0x4bfc98=this['_url']['port']||this['_getPortByProtocol'](this['_url']['protocol']),_0x375e8b=(this['_url']['protocol']||'https:')+'//'+this['_url']['hostname']+':'+_0x4bfc98,_0x5d029b=this['_url']['pathname']['match'](/^\/.*\/ws/)?this['_url']['pathname']['split']('/ws')[0x0]:'',_0x496570=this['_connectionProvider'](_0x375e8b,{'parser':{'Encoder':_0xa5bee0,'Decoder':_0x6b5b57},'path':_0x5d029b+'/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.1'},'agent':this['_options']['agent']??!0x1,'closeOnBeforeunload':!0x1});return this['state']=_0xbe1750['CONNECTING'],_0x496570['on']('connect',()=>{this['_debugEvent']('connect'),this['socketId']=_0x496570['id'];}),_0x496570['on']('connect_error',_0x35f876=>{this['_debugEvent']('connect_error',_0x35f876);}),_0x496570['on']('disconnect',()=>{this['_debugEvent']('disconnect'),this['_onDisconnect']();}),_0x496570['io']['on']('reconnect',async()=>{this['_debugEvent']('reconnect'),await this['_onReconnect']();}),_0x496570['io']['on']('reconnect_attempt',_0x38ce8c=>{this['_debugEvent']('reconnect_attempt',_0x38ce8c),this['state']=_0xbe1750['CONNECTING'],this['_connectionAttempt']=_0x38ce8c;}),_0x496570['on']('unauthorized',_0x51459e=>{this['_debugEvent']('unauthorized'),this['_onUnauthorized'](_0x51459e);}),_0x496570['on']('authenticationRequest',async _0x12161e=>{this['_debugEvent']('authenticationRequest',_0x12161e['attempt']),await this['_onReconnect']();}),this['_socket']=_0x496570,_0x496570;}['_emit'](_0x1e5648,_0x5ebeba){const _0x2af844=this['_socket'];return this['_requestsManager']['send'](_0x2dcc38=>{_0x2af844['emit'](_0x1e5648,_0x5ebeba,(_0x46bb9d,_0x2088c6)=>{if(_0x46bb9d)return _0x2dcc38['error'](CKEditorCloudServicesServerError['fromPublicError'](_0x46bb9d));_0x2dcc38['response'](_0x2088c6);});},this['_options']['requestTimeout']);}['_addAuthData'](_0x520915,_0x57f36f){this['_socketAuth']={'environmentId':_0x520915,'userId':_0x57f36f,'isAuthenticated':!0x0};}['_removeAuthData'](){this['_socketAuth']=void 0x0;}async['_onConnect'](){await this['_authenticate'](this['_token']['value']),this['state']=_0xbe1750['CONNECTED'];const _0x1286d1=async(_0x294487,_0x527f14,_0x51ac26)=>{this['_debugEvent']('token:value:change');try{await this['_authenticate'](_0x51ac26);}catch(_0x50f1a2){}};this['_token']['on']('change:value',_0x1286d1),this['_socket']['io']['off']('reconnect_error'),this['on']('disconnect',()=>{this['_token']['off']('change:value',_0x1286d1);});}async['_onReconnect'](){await this['_token']['refreshToken'](),await this['_onConnect']();}['_onDisconnect'](){this['state']=_0xbe1750['DISCONNECTED'],this['_connectionAttempt']=0x0,this['fire']('disconnect');for(const _0xf4ce9f of this['_channels']['values']())_0xf4ce9f['remove']();this['_channels']['clear'](),void 0x0===this['_options']['autoReconnect']||this['_options']['autoReconnect']||(this['_socket']=void 0x0);}['_debugEvent'](_0x2f25df,_0x45ef3a){if(!this['_isDebugModeEnabled']())return;const _0x109bf6=void 0x0!==_0x45ef3a?',\x20data:\x20'+_0x45ef3a:'';console['info'](new Date()['toLocaleString']()+'\x20'+_0x2f25df+_0x109bf6);}['_reconnectionAttemptError'](_0x458043){this['_connectionAttempt']>=0x2&&(this['disconnect'](),_0x458043(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:_0x45e128}){this['_removeAuthData'](),this['fire']('error',CKEditorCloudServicesServerError['fromPublicError'](_0x45e128));}async['_authenticate'](_0x2bcca4){try{this['_debugEvent']('authenticate:start');const _0x4fc1a8=await this['_emit'](0x2,{'token':_0x2bcca4});this['_debugEvent']('authenticate:success','envId:\x20'+_0x4fc1a8['environmentId']+',\x20userId:\x20'+_0x4fc1a8['userId']),this['_addAuthData'](_0x4fc1a8['environmentId'],_0x4fc1a8['userId']);}catch(_0xc23928){throw this['_debugEvent']('authenticate:error',_0xc23928['message']),this['_removeAuthData'](),_0xc23928;}}['_isDebugModeEnabled'](){return!!ckeditor5['global']['window']['localStorage']&&'true'===(ckeditor5['global']['window']['localStorage']['getItem']('csClientDebugMode')??'false')['toLowerCase']();}};class IsEditorBundleUploadedMessage extends _0x3e4ab5{['bundleVersion'];static ['TYPE']='131';static ['READABLE_TYPE_NAME']='isEditorBundleUploaded';static ['DESCRIPTOR_NAME']='IsEditorBundleUploadedMessage';static ['DESCRIPTOR']={'fields':{'bundleVersion':{'type':'string','id':0x1}}};constructor(_0x57a61d){super(),this['bundleVersion']=_0x57a61d;}['toJSON'](){return{'bundleVersion':this['bundleVersion']};}static['fromJSON'](_0x69868d){return new IsEditorBundleUploadedMessage(_0x69868d['bundleVersion']);}}class IsEditorBundleUploadedResponse extends _0x3e4ab5{['isUploaded'];static ['DESCRIPTOR_NAME']='IsEditorBundleUploadedResponse';static ['DESCRIPTOR']={'fields':{'isUploaded':{'type':'bool','id':0x1}}};constructor(_0x44782e){super(),this['isUploaded']=_0x44782e;}['toJSON'](){return{'isUploaded':this['isUploaded']};}static['fromJSON'](_0x537426){return new IsEditorBundleUploadedResponse(_0x537426['isUploaded']);}}class EditorService extends/* #__PURE__ -- @preserve */
ckeditor5['EmitterMixin'](){static ['_SERVICE']=0xd;static async['isBundleUploaded'](_0x553fb0,_0xca9e10){const _0x1c2b12=new IsEditorBundleUploadedMessage(_0xca9e10);if(_0x553fb0['state']!==_0xbe1750['CONNECTED'])throw new CKEditorCloudServicesError('WebSocket\x20Gateway\x20is\x20not\x20connected.',_0x553fb0);const _0x29ed2c=await _0x553fb0['_sendRequest'](EditorService['_SERVICE'],IsEditorBundleUploadedMessage['TYPE'],_0x14c902['encode'](_0x1c2b12));return _0x14c902['decode'](_0x29ed2c,IsEditorBundleUploadedResponse)['isUploaded'];}}class RevisionHistoryGetRevisionMessage extends _0x3e4ab5{['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(_0x3fe9e2,_0x4be407){super(),this['documentId']=_0x3fe9e2,this['revisionId']=_0x4be407;}['toJSON'](){return{'documentId':this['documentId'],'revisionId':this['revisionId']};}static['fromJSON'](_0x85be23){return new RevisionHistoryGetRevisionMessage(_0x85be23['documentId'],_0x85be23['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'](_0xac5a86){return{'revisionId':_0xac5a86['id'],'name':_0xac5a86['name'],'creatorId':_0xac5a86['creatorId'],'createdAt':_0xac5a86['createdAt'],'fromVersion':_0xac5a86['fromVersion'],'toVersion':_0xac5a86['toVersion'],'isEmptyCurrent':_0xac5a86['isEmptyCurrent'],'diffData':_0xac5a86['diffData']?JSON['stringify'](_0xac5a86['diffData']):void 0x0,'attributes':_0xac5a86['attributes'],'authorsIds':_0xac5a86['authorsIds']};}static['toJSON'](_0x42227a){return{'revisionId':_0x42227a['revisionId'],'name':_0x42227a['name'],'creatorId':_0x42227a['creatorId'],'authorsIds':_0x42227a['authorsIds']?JSON['stringify'](_0x42227a['authorsIds']):void 0x0,'diffData':_0x42227a['diffData'],'createdAt':_0x42227a['createdAt']?.['toISOString'](),'attributes':_0x42227a['attributes']?JSON['stringify'](_0x42227a['attributes']):void 0x0,'toVersion':_0x42227a['toVersion'],'fromVersion':_0x42227a['fromVersion'],'isEmptyCurrent':_0x42227a['isEmptyCurrent']};}static['fromJSON'](_0x499ed5){return{'revisionId':(_0x499ed5={..._0x499ed5})['revisionId'],'name':_0x499ed5['name'],'creatorId':_0x499ed5['creatorId'],'authorsIds':_0x499ed5['authorsIds']?JSON['parse'](_0x499ed5['authorsIds']):void 0x0,'diffData':_0x499ed5['diffData'],'createdAt':_0x499ed5['createdAt']?new Date(_0x499ed5['createdAt']):void 0x0,'attributes':_0x499ed5['attributes']?JSON['parse'](_0x499ed5['attributes']):void 0x0,'toVersion':_0x499ed5['toVersion'],'fromVersion':_0x499ed5['fromVersion'],'isEmptyCurrent':_0x499ed5['isEmptyCurrent']};}static['toObject'](_0x3b7de0){return function(_0xbb0bd){for(const [_0x24245c,_0x190458]of Object['entries'](_0xbb0bd))void 0x0===_0x190458&&delete _0xbb0bd[_0x24245c];return _0xbb0bd;}({'id':_0x3b7de0['revisionId'],'name':_0x3b7de0['name'],'creatorId':_0x3b7de0['creatorId'],'createdAt':_0x3b7de0['createdAt'],'fromVersion':_0x3b7de0['fromVersion'],'toVersion':_0x3b7de0['toVersion'],'isEmptyCurrent':_0x3b7de0['isEmptyCurrent'],'diffData':_0x3b7de0['diffData']?JSON['parse'](_0x3b7de0['diffData']):void 0x0,'attributes':_0x3b7de0['attributes'],'authorsIds':_0x3b7de0['authorsIds']});}}class RevisionHistoryGetRevisionResponse extends _0x3e4ab5{['revisionId'];['name'];['creatorId'];['authorsIds'];['createdAt'];['diffData'];['attributes'];['fromVersion'];['toVersion'];['isEmptyCurrent'];static ['DESCRIPTOR_NAME']='RevisionHistoryGetRevisionResponse';static ['DESCRIPTOR']=/* #__PURE__ -- @preserve */
((()=>RevisionDescriptor['DESCRIPTOR'])());constructor(_0xa66c96,_0x3d6ee8,_0x15e6d6,_0x5bcc3a,_0x10a1b8,_0x50968d,_0x33ff6f,_0x29fa33,_0x17899c,_0x4fef30){super(),this['revisionId']=_0xa66c96,this['name']=_0x3d6ee8,this['creatorId']=_0x15e6d6,this['authorsIds']=_0x5bcc3a,this['createdAt']=_0x10a1b8,this['diffData']=_0x50968d,this['attributes']=_0x33ff6f,this['fromVersion']=_0x29fa33,this['toVersion']=_0x17899c,this['isEmptyCurrent']=_0x4fef30;}['toJSON'](){return RevisionDescriptor['toJSON'](this);}['toObject'](){return RevisionDescriptor['toObject'](this);}static['create'](_0x52ab0f){return new RevisionHistoryGetRevisionResponse(_0x52ab0f['revisionId'],_0x52ab0f['name'],_0x52ab0f['creatorId'],_0x52ab0f['authorsIds'],_0x52ab0f['createdAt'],_0x52ab0f['diffData'],_0x52ab0f['attributes'],_0x52ab0f['fromVersion'],_0x52ab0f['toVersion'],_0x52ab0f['isEmptyCurrent']);}static['fromJSON'](_0x45ca91){return new RevisionHistoryGetRevisionResponse(_0x45ca91['revisionId'],_0x45ca91['name'],_0x45ca91['creatorId'],_0x45ca91['authorsIds']?JSON['parse'](_0x45ca91['authorsIds']):void 0x0,_0x45ca91['createdAt']?new Date(_0x45ca91['createdAt']):void 0x0,_0x45ca91['diffData'],_0x45ca91['attributes']?JSON['parse'](_0x45ca91['attributes']):void 0x0,_0x45ca91['fromVersion'],_0x45ca91['toVersion'],_0x45ca91['isEmptyCurrent']);}}class RevisionHistoryUpdateRevisionsMessage extends _0x3e4ab5{['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(_0x64ce70,_0x34962d,_0x3854a0){super(),this['documentId']=_0x64ce70,this['requestId']=_0x34962d,this['revisions']=_0x3854a0;}['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'](_0x5378a6){return new RevisionHistoryUpdateRevisionsMessage(_0x5378a6['documentId'],_0x5378a6['requestId'],_0x5378a6['revisions']['map'](RevisionDescriptor['create']));}static['fromJSON'](_0x47f1f1){return new RevisionHistoryUpdateRevisionsMessage(_0x47f1f1['documentId'],_0x47f1f1['requestId'],_0x47f1f1['revisions']['map'](RevisionDescriptor['fromJSON']));}}class RevisionHistoryUpdateRevisionsResponse extends _0x3e4ab5{['requestId'];static ['DESCRIPTOR_NAME']='RevisionHistoryUpdateRevisionsResponse';static ['DESCRIPTOR']={'fields':{'requestId':{'type':'uint32','id':0x1}}};constructor(_0x3d6eb6){super(),this['requestId']=_0x3d6eb6;}['toJSON'](){return{'requestId':this['requestId']};}static['fromJSON'](_0x46ad27){return new RevisionHistoryUpdateRevisionsResponse(_0x46ad27['requestId']);}}class RevisionHistoryConnectMessage extends _0x3e4ab5{['documentId'];static ['TYPE']='121';static ['READABLE_TYPE_NAME']='connectToRevisionHistory';static ['DESCRIPTOR_NAME']='RevisionHistoryConnectMessage';static ['DESCRIPTOR']={'fields':{'documentId':{'type':'string','id':0x1}}};constructor(_0x3e30e1){super(),this['documentId']=_0x3e30e1;}['toJSON'](){return{'documentId':this['documentId']};}static['fromJSON'](_0x5beb30){return new RevisionHistoryConnectMessage(_0x5beb30['documentId']);}}class RevisionHistoryConnectResponse extends _0x3e4ab5{['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(_0x193a9,_0x516e66,_0x2f3352){super(),this['channel']=_0x193a9,this['requestId']=_0x516e66,this['revisions']=_0x2f3352;}['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'](_0x4677c8){return new RevisionHistoryConnectResponse(_0x4677c8['channel'],_0x4677c8['requestId'],_0x4677c8['revisions']['map'](RevisionDescriptor['fromJSON']));}}class RevisionHistoryReconnectMessage extends _0x3e4ab5{['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(_0x51bbd8,_0x88c4e8){super(),this['documentId']=_0x51bbd8,this['requestId']=_0x88c4e8;}['toJSON'](){return{'documentId':this['documentId'],'requestId':this['requestId']};}static['fromJSON'](_0x10f147){return new RevisionHistoryReconnectMessage(_0x10f147['documentId'],_0x10f147['requestId']);}}class ServiceNotConnectedError extends CKEditorCloudServicesError{constructor(_0x4c7d11,_0x36239b){super(_0x4c7d11+'\x20Service\x20is\x20not\x20connected.',_0x36239b);}}class RevisionHistoryService extends/* #__PURE__ -- @preserve */
ckeditor5['EmitterMixin'](){['_documentId'];['_isConnected']=!0x1;['_wsGateway'];['_channel'];static ['_SERVICE']=0xc;constructor(_0xaff65d){super(),this['_documentId']=_0xaff65d;}get['isConnected'](){return this['_isConnected'];}['connect'](_0x4a4cbd){return this['_isConnected']?Promise['resolve']():this['_connect'](_0x4a4cbd,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'](_0x510d28,_0x47bdc0){if(this['isConnected'])throw new CKEditorCloudServicesError('Cannot\x20reconnect\x20to\x20already\x20connected\x20service.',_0x510d28);return this['_connect'](_0x510d28,new RevisionHistoryReconnectMessage(this['_documentId'],_0x47bdc0));}async['updateRevisions'](_0x182c5e,_0x4c98d8){const _0x3ad228=RevisionHistoryUpdateRevisionsMessage['create']({'documentId':this['_documentId'],'requestId':_0x4c98d8,'revisions':_0x182c5e}),_0x36f8a9=await this['_sendRequest'](RevisionHistoryUpdateRevisionsMessage['TYPE'],_0x3ad228),{requestId:_0x5e06a6}=_0x14c902['decode'](_0x36f8a9,RevisionHistoryUpdateRevisionsResponse);return _0x5e06a6;}async['getRevision'](_0x4ebbd0){const _0x3496a2=new RevisionHistoryGetRevisionMessage(this['_documentId'],_0x4ebbd0),_0x24a4eb=await this['_sendRequest'](RevisionHistoryGetRevisionMessage['TYPE'],_0x3496a2);return _0x14c902['decode'](_0x24a4eb,RevisionHistoryGetRevisionResponse)['toObject']();}async['_connect'](_0x4a94e4,_0x3352b2){if(_0x4a94e4['state']!==_0xbe1750['CONNECTED'])throw new CKEditorCloudServicesError('WebSocket\x20Gateway\x20is\x20not\x20connected.',_0x4a94e4);this['_wsGateway']=_0x4a94e4,this['stopListening'](_0x4a94e4,'change:state');const _0x3dc821=await _0x4a94e4['_sendRequest'](0xc,_0x3352b2['constructor']['TYPE'],_0x14c902['encode'](_0x3352b2)),{channel:_0x45ceff,requestId:_0x3fa013,revisions:_0x2be721}=_0x14c902['decode'](_0x3dc821,RevisionHistoryConnectResponse)['toObject']();return this['listenTo'](_0x4a94e4,'change:state',(_0x52bfc7,_0x429d95,_0x19737e)=>this['_onWsGatewayStateChange'](_0x19737e),{'priority':WebSocketGateway$1['_CHANGE_STATE_EVENT_PRIORITY']}),this['_connectToChannel'](_0x4a94e4,_0x45ceff),this['_isConnected']=!0x0,this['fire']('connected'),{'revisions':_0x2be721,'requestId':_0x3fa013};}['_connectToChannel'](_0x54c7a6,_0x19276d){this['_channel']=_0x54c7a6['_getChannel'](RevisionHistoryService['_SERVICE'],_0x19276d),this['_channel']&&this['listenTo'](this['_channel'],this['_channel']['getEventName'](RevisionHistoryUpdateRevisionsMessage['TYPE']),(_0x223559,_0x176562)=>{const {documentId:_0x110c65,requestId:_0x4a6975,revisions:_0xfe1c83}=_0x14c902['decode'](_0x176562,RevisionHistoryUpdateRevisionsMessage)['toObject']();this['fire']('revisionsUpdated',{'documentId':_0x110c65,'requestId':_0x4a6975,'revisionsData':_0xfe1c83});});}['_onWsGatewayStateChange'](_0x4d23f0){_0x4d23f0===_0xbe1750['DISCONNECTED']&&this['disconnect']();}['_sendRequest'](_0x5c6902,_0x2bc836){if(!this['_wsGateway']||!this['_isConnected'])throw new ServiceNotConnectedError('Revision\x20History',this);return this['_wsGateway']['_sendRequest'](0xc,_0x5c6902,_0x14c902['encode'](_0x2bc836));}}class AddSuggestionMessage extends _0x3e4ab5{['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(_0x42a42a,_0x47a967,_0x268b1c,_0xd4ef91={},_0x33b1e8=null,_0x313521=null){super(),this['id']=_0x42a42a,this['documentId']=_0x47a967,this['type']=_0x268b1c,this['data']=_0xd4ef91,this['originalSuggestionId']=_0x33b1e8,this['attributes']=_0x313521;}['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'](_0x3f3961){return new AddSuggestionMessage(_0x3f3961['id'],_0x3f3961['documentId'],_0x3f3961['type'],JSON['parse'](_0x3f3961['data']),_0x3f3961['originalSuggestionId']??null,_0x3f3961['attributes']?JSON['parse'](_0x3f3961['attributes']):null);}}class AddSuggestionResponse extends _0x3e4ab5{['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(_0x5269a7,_0x433a78,_0x317071,_0x358cf4,_0x408173,_0x55391b,_0x408c56={},_0x12cba6=null){super(),this['id']=_0x5269a7,this['authorId']=_0x433a78,this['type']=_0x317071,this['hasComments']=_0x408173,this['state']=_0x55391b,this['data']=_0x408c56,this['attributes']=_0x12cba6,this['createdAt']=_0x358cf4?new Date(_0x358cf4):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'](_0x5b1fae){return new AddSuggestionResponse(_0x5b1fae['id'],_0x5b1fae['authorId'],_0x5b1fae['type'],_0x5b1fae['createdAt'],_0x5b1fae['hasComments'],_0x5b1fae['state'],JSON['parse'](_0x5b1fae['data']),_0x5b1fae['attributes']?JSON['parse'](_0x5b1fae['attributes']):null);}}class GetSuggestionMessage extends _0x3e4ab5{['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(_0x1de7bb,_0x540893){super(),this['id']=_0x1de7bb,this['documentId']=_0x540893;}['toJSON'](){return{'id':this['id'],'documentId':this['documentId']};}static['fromJSON'](_0x28fae4){return new GetSuggestionMessage(_0x28fae4['id'],_0x28fae4['documentId']);}}class GetSuggestionResponse extends _0x3e4ab5{['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(_0x33a31a,_0x1a7046,_0x34efdd,_0x1bfdcc,_0x302502,_0xfb9098,_0x4a1be3={},_0x310887=null){super(),this['id']=_0x33a31a,this['authorId']=_0x1a7046,this['type']=_0x34efdd,this['hasComments']=_0x302502,this['state']=_0xfb9098,this['data']=_0x4a1be3,this['attributes']=_0x310887,this['createdAt']=new Date(_0x1bfdcc);}['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'](_0x2c5afd){return new GetSuggestionResponse(_0x2c5afd['id'],_0x2c5afd['authorId'],_0x2c5afd['type'],_0x2c5afd['createdAt'],_0x2c5afd['hasComments'],_0x2c5afd['state'],JSON['parse'](_0x2c5afd['data']),_0x2c5afd['attributes']?JSON['parse'](_0x2c5afd['attributes']):null);}}class GetAllSuggestionsMessage extends _0x3e4ab5{['documentId'];static ['TYPE']='102';static ['READABLE_TYPE_NAME']='getAllSuggestions';static ['DESCRIPTOR_NAME']='TrackChangesGetAllSuggestionMessage';static ['DESCRIPTOR']={'fields':{'documentId':{'type':'string','id':0x1}}};constructor(_0x320bb6){super(),this['documentId']=_0x320bb6;}['toJSON'](){return{'documentId':this['documentId']};}static['fromJSON'](_0xeed632){return new GetAllSuggestionsMessage(_0xeed632['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'](_0x19adb9){return{..._0x19adb9,'data':_0x19adb9['data']?JSON['stringify'](_0x19adb9['data']):_0x19adb9['data'],'attributes':_0x19adb9['attributes']?JSON['stringify'](_0x19adb9['attributes']):_0x19adb9['attributes'],'createdAt':_0x19adb9['createdAt']?.['toISOString']()};}static['fromJSON'](_0x319e08){return{..._0x319e08,'data':_0x319e08['data']?JSON['parse'](_0x319e08['data']):_0x319e08['data'],'attributes':_0x319e08['attributes']?JSON['parse'](_0x319e08['attributes']):_0x319e08['attributes'],'createdAt':_0x319e08['createdAt']?new Date(_0x319e08['createdAt']):void 0x0};}}class GetAllSuggestionResponse extends _0x3e4ab5{['_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(_0x3519dd,_0x21ef13){super(),this['_suggestions']=_0x3519dd,this['_suggestionsV2']=_0x21ef13,this['suggestions']=_0x21ef13?.['length']?_0x21ef13:_0x3519dd;}['toJSON'](){return{'suggestions':this['_suggestions']?.['map'](_0x1148ed=>JSON['stringify'](_0x1148ed)),'suggestionsV2':this['_suggestionsV2']?.['map'](SuggestionDescriptor['toJSON'])};}static['fromJSON'](_0x4fd869){return new GetAllSuggestionResponse(_0x4fd869['suggestions']?.['map'](_suggestionFromString),_0x4fd869['suggestionsV2']?.['map'](SuggestionDescriptor['fromJSON']));}}function _suggestionFromString(_0x167c4c){const _0x39f564=JSON['parse'](_0x167c4c);return _0x39f564['createdAt']=_0x39f564['createdAt']?new Date(_0x39f564['createdAt']):void 0x0,_0x39f564;}class UpdateSuggestionMessage extends _0x3e4ab5{['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(_0x5a9f18,_0x2f6501,_0xc9fd6b,_0x32cdf6,_0x6ba4cb,_0xb3e906=null){super(),this['id']=_0x5a9f18,this['documentId']=_0x2f6501,this['hasComments']=_0xc9fd6b,this['isHasCommentsModified']=_0x32cdf6,this['state']=_0x6ba4cb,this['attributes']=_0xb3e906;}['toJSON'](){return{'id':this['id'],'documentId':this['documentId'],'hasComments':this['hasComments'],'isHasCommentsModified':this['isHasCommentsModified'],'state':this['state'],'attributes':JSON['stringify'](this['attributes'])};}static['fromJSON'](_0x413486){return new UpdateSuggestionMessage(_0x413486['id'],_0x413486['documentId'],_0x413486['hasComments'],_0x413486['isHasCommentsModified'],_0x413486['state'],_0x413486['attributes']?JSON['parse'](_0x413486['attributes']):null);}}let ConnectMessage$1=class _0x44287f extends _0x3e4ab5{['documentId'];static ['TYPE']='105';static ['READABLE_TYPE_NAME']='connectToSuggestions';static ['DESCRIPTOR_NAME']='TrackChangesConnectMessage';static ['DESCRIPTOR']={'fields':{'documentId':{'type':'string','id':0x1}}};constructor(_0x203c6a){super(),this['documentId']=_0x203c6a;}['toJSON'](){return{'documentId':this['documentId']};}static['fromJSON'](_0x52ba50){return new _0x44287f(_0x52ba50['documentId']);}},ConnectResponse$1=class _0x4da726 extends _0x3e4ab5{['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(_0x432c40,_0x257a7e,_0x114e31){super(),this['channel']=_0x432c40,this['_suggestions']=_0x257a7e,this['_suggestionsV2']=_0x114e31,this['suggestions']=_0x114e31?.['length']?_0x114e31:_0x257a7e;}['toJSON'](){return{'channel':this['channel'],'suggestions':this['_suggestions']?.['map'](_0x48f3fe=>JSON['stringify'](_0x48f3fe)),'suggestionsV2':this['_suggestionsV2']?.['map'](SuggestionDescriptor['toJSON'])};}static['fromJSON'](_0x5eae5b){return new _0x4da726(_0x5eae5b['channel'],_0x5eae5b['suggestions']?.['map'](_0x15becb=>JSON['parse'](_0x15becb)),_0x5eae5b['suggestionsV2']?.['map'](SuggestionDescriptor['fromJSON']));}};class BatchUpdateSuggestionsStateMessage extends _0x3e4ab5{['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(_0x5677d6,_0x8be853,_0x4ca339){super(),this['ids']=_0x5677d6,this['documentId']=_0x8be853,this['state']=_0x4ca339;}['toJSON'](){return{'ids':this['ids'],'documentId':this['documentId'],'state':this['state']};}static['fromJSON'](_0x17fed5){return new BatchUpdateSuggestionsStateMessage(_0x17fed5['ids'],_0x17fed5['documentId'],_0x17fed5['state']);}}class _0xa6eb19 extends/* #__PURE__ -- @preserve */
ckeditor5['EmitterMixin'](){['_documentId'];['_isConnected']=!0x1;['_wsGateway'];['_channel'];static ['_SERVICE']=0xa;constructor(_0x2b4291){super(),this['_documentId']=_0x2b4291;}get['isConnected'](){return this['_isConnected'];}async['connect'](_0x272b54){if(this['_isConnected'])return;if(_0x272b54['state']!==_0xbe1750['CONNECTED'])throw new CKEditorCloudServicesError('WebSocket\x20Gateway\x20is\x20not\x20connected.',_0x272b54);const _0x3cb195=new ConnectMessage$1(this['_documentId']);this['_wsGateway']=_0x272b54,this['stopListening'](_0x272b54,'change:state');const _0x1f3f54=await _0x272b54['_sendRequest'](0xa,ConnectMessage$1['TYPE'],_0x14c902['encode'](_0x3cb195)),_0x3f09b7=_0x14c902['decode'](_0x1f3f54,ConnectResponse$1);return this['listenTo'](_0x272b54,'change:state',(_0x1f7ec5,_0x21e479,_0x1d2419)=>this['_onWsGatewayStateChange'](_0x1d2419),{'priority':WebSocketGateway$1['_CHANGE_STATE_EVENT_PRIORITY']}),this['_connectToChannel'](_0x272b54,_0x3f09b7['channel']),this['_isConnected']=!0x0,this['fire']('connected'),_0x3f09b7['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'](_0x48b983,_0x3b9766,_0x3853ec,_0x2e9613=null,_0x3c8872){const _0x1b86f6=new AddSuggestionMessage(_0x48b983,this['_documentId'],_0x3b9766,_0x3853ec,_0x2e9613,_0x3c8872),_0x55252c=await this['_sendRequest'](AddSuggestionMessage['TYPE'],_0x1b86f6);return _0x14c902['decode'](_0x55252c,AddSuggestionResponse);}async['get'](_0x3ee5b5,_0xc7e18d=0x1){const _0x121a08=new GetSuggestionMessage(_0x3ee5b5,this['_documentId']);try{const _0x2df42e=await this['_sendRequest'](GetSuggestionMessage['TYPE'],_0x121a08);return _0x14c902['decode'](_0x2df42e,GetSuggestionResponse);}catch(_0x59b32c){if('CKEditorCloudServicesServerError'===_0x59b32c['name']&&'404'===_0x59b32c['code']&&_0xc7e18d<0x5)return await(_0x2c4469=0x64*_0xc7e18d,new Promise(_0xaac34=>{setTimeout(_0xaac34,_0x2c4469);})),this['get'](_0x3ee5b5,_0xc7e18d+0x1);if('CKEditorCloudServicesServerError'===_0x59b32c['name'])throw _0x59b32c;throw CKEditorCloudServicesServerError['fromPublicError'](_0x59b32c);}var _0x2c4469;}async['getAll'](){const _0x213074=new GetAllSuggestionsMessage(this['_documentId']),_0x481a05=await this['_sendRequest'](GetAllSuggestionsMessage['TYPE'],_0x213074),{suggestions:_0x3c2696}=_0x14c902['decode'](_0x481a05,GetAllSuggestionResponse);return _0x3c2696;}async['update'](_0x4669b1,_0x32d0b5={}){const {hasComments:_0x224f1f,state:_0x1ce105,attributes:_0x2aeb79}=_0x32d0b5,_0x4070d9=void 0x0!==_0x224f1f,_0x46037e=new UpdateSuggestionMessage(_0x4669b1,this['_documentId'],_0x224f1f,_0x4070d9,_0x1ce105,_0x2aeb79);await this['_sendRequest'](UpdateSuggestionMessage['TYPE'],_0x46037e);}async['batchUpdateState'](_0x136bd3){const _0x526d99=new BatchUpdateSuggestionsStateMessage(_0x136bd3['ids'],this['_documentId'],_0x136bd3['state']);await this['_sendRequest'](BatchUpdateSuggestionsStateMessage['TYPE'],_0x526d99);}['_connectToChannel'](_0x32c887,_0x268cbb){this['_channel']=_0x32c887['_getChannel'](_0xa6eb19['_SERVICE'],_0x268cbb),this['_channel']&&this['listenTo'](this['_channel'],this['_channel']['getEventName'](UpdateSuggestionMessage['TYPE']),(_0x248bc4,_0x1af5bf)=>{const _0x3ce644=_0x14c902['decode'](_0x1af5bf,UpdateSuggestionMessage);this['fire']('suggestionUpdated',_0x3ce644);});}['_onWsGatewayStateChange'](_0x7ecdd8){_0x7ecdd8===_0xbe1750['DISCONNECTED']&&this['disconnect']();}['_sendRequest'](_0x4151b3,_0x39acac){if(!this['_wsGateway']||!this['_isConnected'])throw new ServiceNotConnectedError('Track\x20Changes',this);return this['_wsGateway']['_sendRequest'](0xa,_0x4151b3,_0x14c902['encode'](_0x39acac));}}class SessionsConnectResponse extends _0x3e4ab5{['channel'];['sockets'];static ['DESCRIPTOR_NAME']='SessionsConnectResponse';static ['DESCRIPTOR']={'fields':{'channel':{'type':'string','id':0x1},'sockets':{'rule':'repeated','type':'SessionsSocketDescriptor','id':0x2}}};constructor(_0x15165b,_0x28b028=[]){super(),this['channel']=_0x15165b,this['sockets']=_0x28b028;}['toJSON'](){return{'channel':this['channel'],'sockets':this['sockets']['map'](_0x556b79=>({'user':_0x556b79['userId'],'session':_0x556b79['id'],'role':_0x556b79['role'],'permissions':_0x556b79['permissions']}))};}static['fromJSON'](_0x56abf0){return new SessionsConnectResponse(_0x56abf0['channel'],_0x56abf0['sockets']['map'](_0x1401f6=>({'id':_0x1401f6['session'],'userId':_0x1401f6['user'],'role':_0x1401f6['role'],'permissions':_0x1401f6['permissions']})));}}class SessionsConnectMessage extends _0x3e4ab5{['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(_0x2cf6cc,_0x143aa3){super(),this['id']=_0x2cf6cc,this['sessionType']=_0x143aa3;}['toJSON'](){return{'id':this['id'],'sessionType':this['sessionType']};}static['fromJSON'](_0x215be0){return new SessionsConnectMessage(_0x215be0['id'],_0x215be0['sessionType']);}}class SocketConnectMessage extends _0x3e4ab5{['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(_0x313cf3,_0x4e8936,_0x5942a2,_0x369278){super(),this['id']=_0x313cf3,this['userId']=_0x4e8936,this['role']=_0x5942a2,this['permissions']=_0x369278;}['toJSON'](){return{'id':this['id'],'userId':this['userId']??void 0x0,'role':this['role']??void 0x0,'permissions':this['permissions']??void 0x0};}static['fromJSON'](_0x4ffd5e){return new SocketConnectMessage(_0x4ffd5e['id'],_0x4ffd5e['userId'],_0x4ffd5e['role'],_0x4ffd5e['permissions']);}}class SocketDisconnectMessage extends _0x3e4ab5{['id'];static ['TYPE']='33';static ['READABLE_TYPE_NAME']='disconnectSocket';static ['DESCRIPTOR_NAME']='SocketDisconnectMessage';static ['DESCRIPTOR']={'fields':{'id':{'type':'string','id':0x1}}};constructor(_0x3bd010){super(),this['id']=_0x3bd010;}['toJSON'](){return{'id':this['id']};}static['fromJSON'](_0x1c6ba8){return new SocketDisconnectMessage(_0x1c6ba8['id']);}}class SessionCollection extends ckeditor5['Collection']{['_id'];['_sessionType'];['_handlers']=new Map();['_channel'];['_wsGateway'];['_connected'];['_eventsQueue']=[];['_isRunning']=!0x1;constructor(_0x27504b,_0x35a0cb){super({'idProperty':'id'}),this['_id']=_0x27504b,this['_sessionType']=_0x35a0cb;}async['connect'](_0x2f5421){this['_wsGateway']=_0x2f5421,this['stopListening'](_0x2f5421,'change:state');const _0x225656=new SessionsConnectMessage(this['_id'],this['_sessionType']);let _0x5b1ee9;try{const _0x4b82dc=await this['_wsGateway']['_sendRequest'](0x3,SessionsConnectMessage['TYPE'],_0x14c902['encode'](_0x225656));_0x5b1ee9=_0x14c902['decode'](_0x4b82dc,SessionsConnectResponse);}catch(_0x431ec6){_0x5b1ee9=new SessionsConnectResponse(this['_id'],[]);}this['_connectToChannel'](this['_wsGateway'],_0x5b1ee9['channel'],this['_sessionType']);const _0x575b9d=await async function(_0x19820d,_0x238b65){const _0x22c66f=_0x238b65['map'](_0x75bfef=>_0x75bfef['userId']),_0x5d7935=_0x22c66f['length']?await _0x5ba9e9['getMany'](_0x19820d,_0x22c66f):[];return _0x238b65['map'](_0x4a3936=>{const _0x50552b={'id':_0x4a3936['id'],'role':_0x4a3936['role'],'permissions':_0x4a3936['permissions']};return _0x50552b['user']=_0x4a3936['userId']&&_0x5d7935['find'](_0x241764=>_0x241764['id']===_0x4a3936['userId'])||new _0x5ba9e9(),_0x50552b;});}(this['_wsGateway'],_0x5b1ee9['sockets']);for(const _0x336440 of _0x575b9d)super['add'](_0x336440);this['_connected']=!0x0,this['fire']('connected'),this['listenTo'](this['_wsGateway'],'change:state',(_0x1f0154,_0xf81ca6,_0x216c29)=>this['_onWsGatewayStateChange'](_0x216c29),{'priority':WebSocketGateway$1['_CHANGE_STATE_EVENT_PRIORITY']}),await this['_runQueue']();}['disconnect'](_0x64864d=!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']&&_0x64864d&&(this['stopListening'](this['_wsGateway']),this['_wsGateway']=void 0x0),this['fire']('disconnected'),_0x64864d&&this['stopListening']();}}['add'](_0x204205,_0x3e9672){throw new TypeError('The\x20collection\x20is\x20read-only.');}['remove'](_0x4acb33){throw new TypeError('The\x20collection\x20is\x20read-only.');}['_connectToChannel'](_0x320e1d,_0x341178,_0x3dd5db){this['_channel']=_0x320e1d['_getChannel'](_0x3dd5db,_0x341178),this['_channel']&&(this['_addHandler'](this['_channel'],SocketConnectMessage['TYPE'],async _0x1906cb=>{const _0x3060b4=_0x14c902['decode'](_0x1906cb,SocketConnectMessage);if(-0x1===this['getIndex'](_0x3060b4['id'])){const _0x22b709={'id':_0x3060b4['id'],'role':_0x3060b4['role'],'permissions':_0x3060b4['permissions']};_0x3060b4['userId']&&(_0x22b709['user']=await _0x5ba9e9['get'](_0x320e1d,_0x3060b4['userId'])),super['add'](_0x22b709);}}),this['_addHandler'](this['_channel'],SocketDisconnectMessage['TYPE'],_0x4bd1a4=>{const _0x2f7ac4=_0x14c902['decode'](_0x4bd1a4,SocketDisconnectMessage);-0x1!==this['getIndex'](_0x2f7ac4['id'])&&super['remove'](_0x2f7ac4['id']);}));}async['_onWsGatewayStateChange'](_0x2dc391){_0x2dc391===WebSocketGateway$1['STATE_DISCONNECTED']&&this['disconnect'](!0x1),_0x2dc391===WebSocketGateway$1['STATE_CONNECTED']&&await this['connect'](this['_wsGateway']);}async['_runQueue'](){if(this['_isRunning']||!this['_connected'])return;let _0x2d9297;for(this['_isRunning']=!0x0;_0x2d9297=this['_eventsQueue']['shift']();){const _0x1a3256=this['_handlers']['get'](_0x2d9297['eventName']);_0x1a3256&&await _0x1a3256(_0x2d9297['data']);}this['_isRunning']=!0x1;}['_addHandler'](_0x2d8a6c,_0x15826a,_0x3cb188){const _0x36fbf4=_0x2d8a6c['getEventName'](_0x15826a,!0x0);this['listenTo'](_0x2d8a6c,_0x36fbf4,async(_0x5d226e,_0x311df3)=>{const _0x95dd07=_0x5d226e['name'];this['_eventsQueue']['push']({'eventName':_0x95dd07,'data':_0x311df3}),await this['_runQueue']();}),this['_handlers']['set'](_0x36fbf4,_0x3cb188);}}let _0x4bdda8=class{static async['getConnectedSessions'](_0x219864,_0x275f16,_0x5907ff){const _0x16b6f4=new SessionCollection(_0x275f16,_0x5907ff);return await _0x16b6f4['connect'](_0x219864),_0x16b6f4;}};class CollaborativeEditingConnectMessage extends _0x3e4ab5{['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(_0x3606eb,_0xb5909a,_0x45b985,_0x1a63bb,_0x469a8e=''){super(),this['id']=_0x3606eb,this['buffers']=_0xb5909a,this['types']=_0x45b985,this['bundleVersion']=_0x1a63bb,this['lastOperationId']=_0x469a8e;}['toJSON'](){return{'id':this['id'],'buffers':this['buffers'],'types':this['types'],'bundleVersion':this['bundleVersion'],'lastOperationId':this['lastOperationId']};}static['fromJSON'](_0xd684aa){return new CollaborativeEditingConnectMessage(_0xd684aa['id'],_0xd684aa['buffers'],_0xd684aa['types'],_0xd684aa['bundleVersion'],_0xd684aa['lastOperationId']);}}class OperationMetadataHelpers{static['prepareMetadataForOperations'](_0xdf2c34,_0x4e3902){if(!_0xdf2c34?.['length']||!_0x4e3902?.['length'])return[];const _0x31d88a=[];let _0x1f3de2=0x0;for(const _0x4a80a3 of _0xdf2c34)if(0x0!==_0x4a80a3){if(!_0x4e3902[_0x1f3de2])throw new Error('Missing\x20metadata\x20for\x20a\x20operation');_0x31d88a['push'](_0x4e3902[_0x1f3de2]),_0x1f3de2++;}else _0x31d88a['push'](_0x31d88a[_0x31d88a['length']-0x1]);return _0x31d88a;}static['removeUnnecessaryMetadata'](_0x24ac0f,_0x15b9e0){if(!_0x24ac0f?.['length']||!_0x15b9e0?.['length'])return[];const _0x37ac04=[];for(let _0x26f9cd=0x0;_0x26f9cd<_0x24ac0f['length'];_0x26f9cd++)if(0x0!==_0x24ac0f[_0x26f9cd]){if(!_0x15b9e0[_0x26f9cd])throw new Error('Missing\x20metadata\x20for\x20a\x20operation');_0x37ac04['push'](_0x15b9e0[_0x26f9cd]);}return _0x37ac04;}}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:_0x5b2e9d,..._0xc213e1}){const _0x295edd={..._0xc213e1};return _0x5b2e9d?.['toISOString']&&(_0x295edd['createdAt']=_0x5b2e9d['toISOString']()),_0x295edd;}static['fromJSON']({createdAt:_0x1eb72f,..._0x399b99}){const _0x342031={..._0x399b99};return _0x1eb72f&&(_0x342031['createdAt']=new Date(_0x1eb72f)),_0x342031;}}class CollaborativeEditingUpdateMessage extends _0x3e4ab5{['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(_0x4fac87,_0x10774f,_0x56b6fc,_0x92c37e,_0x1a39e8=[],_0x32b010=''){super(),this['id']=_0x4fac87,this['buffers']=_0x10774f,this['types']=_0x56b6fc,this['baseVersion']=_0x92c37e,this['metadata']=_0x1a39e8,this['lastOperationId']=_0x32b010;}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'](_0x4e2cdd){return new CollaborativeEditingUpdateMessage(_0x4e2cdd['id'],_0x4e2cdd['buffers'],_0x4e2cdd['types'],_0x4e2cdd['baseVersion'],OperationMetadataHelpers['prepareMetadataForOperations'](_0x4e2cdd['types'],_0x4e2cdd['metadata'])['map'](OperationMetadataDescriptor['fromJSON']),_0x4e2cdd['lastOperationId']);}}class CollaborativeEditingReconnectMessage extends _0x3e4ab5{['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(_0x34a0a5,_0x1a5728,_0x316107){super(),this['id']=_0x34a0a5,this['lastKnowVersion']=_0x1a5728,this['bundleVersion']=_0x316107;}['toJSON'](){return{'id':this['id'],'bundleVersion':this['bundleVersion'],'lastKnowVersion':this['lastKnowVersion']};}static['fromJSON'](_0x19ec86){return new CollaborativeEditingReconnectMessage(_0x19ec86['id'],_0x19ec86['lastKnowVersion'],_0x19ec86['bundleVersion']);}}class CollaborativeEditingResponse extends _0x3e4ab5{['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(_0x1c45d6,_0x269dc3=[],_0x199173=[],_0x4e8643=[],_0x2c88e2='',_0x23a695=null){super(),this['version']=_0x1c45d6,this['buffers']=_0x269dc3,this['types']=_0x199173,this['metadata']=_0x4e8643,this['lastOperationId']=_0x2c88e2,this['lastOperationAcceptedAt']=_0x23a695;}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'](_0x107dcd){return new CollaborativeEditingResponse(_0x107dcd['version'],_0x107dcd['buffers'],_0x107dcd['types'],OperationMetadataHelpers['prepareMetadataForOperations'](_0x107dcd['types'],_0x107dcd['metadata'])['map'](OperationMetadataDescriptor['fromJSON']),_0x107dcd['lastOperationId'],_0x107dcd['lastOperationAcceptedAt']?new Date(_0x107dcd['lastOperationAcceptedAt']):null);}static['create'](_0x5e77d6){return new CollaborativeEditingResponse(_0x5e77d6['version'],_0x5e77d6['buffers'],_0x5e77d6['types'],_0x5e77d6['metadata'],_0x5e77d6['lastOperationId'],_0x5e77d6['lastOperationAcceptedAt']?new Date(_0x5e77d6['lastOperationAcceptedAt']):null);}}class CollaborativeEditingConnectResponse extends _0x3e4ab5{['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(_0xe93488,_0x28a74a,_0x52cff2=[],_0x53debe=[],_0x2ef0e2=0x0,_0x21f45f=[],_0x203822=null,_0x4e6a8b='',_0x3e0e9b='',_0x26b405=null){super(),this['channel']=_0xe93488,this['version']=_0x28a74a,this['buffers']=_0x52cff2,this['types']=_0x53debe,this['offset']=_0x2ef0e2,this['metadata']=_0x21f45f,this['initData']=_0x203822,this['sessionId']=_0x4e6a8b,this['lastOperationId']=_0x3e0e9b,this['sessionCreatedAt']=_0x26b405;}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'](_0x5f23d1){return new CollaborativeEditingConnectResponse(_0x5f23d1['channel'],_0x5f23d1['version'],_0x5f23d1['buffers'],_0x5f23d1['types'],_0x5f23d1['offset'],_0x5f23d1['metadata'],_0x5f23d1['initData'],_0x5f23d1['sessionId'],_0x5f23d1['lastOperationId'],_0x5f23d1['sessionCreatedAt']);}static['fromJSON'](_0x2da972){let _0x178857=null;return!0x0===_0x2da972['isInitialized']?_0x178857=_0x2da972['initData']??'':'boolean'!=typeof _0x2da972['isInitialized']&&_0x2da972['initData']&&(_0x178857=_0x2da972['initData']),CollaborativeEditingConnectResponse['create']({'channel':_0x2da972['channel'],'version':_0x2da972['version'],'buffers':_0x2da972['buffers'],'types':_0x2da972['types'],'offset':_0x2da972['offset'],'metadata':OperationMetadataHelpers['prepareMetadataForOperations'](_0x2da972['types'],_0x2da972['metadata'])['map'](OperationMetadataDescriptor['fromJSON']),'initData':_0x178857,'sessionId':_0x2da972['sessionId'],'lastOperationId':_0x2da972['lastOperationId'],'sessionCreatedAt':_0x2da972['sessionCreatedAt']?new Date(_0x2da972['sessionCreatedAt']):null});}}class GetDocumentDetailsResponse extends _0x3e4ab5{['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(_0x489160,_0x54df8d){super(),this['lastDocumentSession']=_0x489160,this['currentDocumentSession']=_0x54df8d;}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'](_0x103aaa){const _0x55004b=_0x103aaa['lastDocumentSessionId']?{'id':_0x103aaa['lastDocumentSessionId'],'lastOperationId':_0x103aaa['lastDocumentSessionOperationId']}:void 0x0,_0x49a51b=_0x103aaa['currentDocumentSessionId']?{'lastOperationId':_0x103aaa['currentDocumentSessionOperationId'],'version':_0x103aaa['currentDocumentSessionVersion'],'id':_0x103aaa['currentDocumentSessionId']}:void 0x0;return new GetDocumentDetailsResponse(_0x55004b,_0x49a51b);}}class GetDocumentDetailsMessage extends _0x3e4ab5{['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(_0xe1ec4f){super(),this['documentId']=_0xe1ec4f;}get['data'](){return{'documentId':this['documentId']};}['toJSON'](){return{'documentId':this['documentId']};}static['fromJSON'](_0x1cfe95){return new GetDocumentDetailsMessage(_0x1cfe95['documentId']);}}class CollaborativeEditingService extends/* #__PURE__ -- @preserve */
ckeditor5['EmitterMixin'](){static ['_SERVICE']=0x1;['_bundleVersion'];['_id'];['_isConnected'];['_wsGateway'];['_channel'];['_connectedSessions'];constructor(_0x4de99b,_0x33f74a){if(super(),!_0x4de99b)throw new TypeError('Param\x20\x22bundleVersion\x22\x20must\x20be\x20provided.');this['_id']=_0x33f74a??_0x141be2(),this['_isConnected']=!0x1,this['_bundleVersion']=_0x4de99b;}['getId'](){return this['_id'];}['isConnected'](){return this['_isConnected'];}['connect'](_0x4ff63c,_0x3a16e2={'buffers':[],'types':[]},_0x48c801){const _0x3de22b=new CollaborativeEditingConnectMessage(this['getId'](),_0x3a16e2['buffers'],_0x3a16e2['types'],this['_bundleVersion'],_0x48c801);return this['_connect'](_0x4ff63c,_0x3de22b);}['reconnect'](_0x15da46,_0x407144){if(this['isConnected']())throw new CKEditorCloudServicesError('Cannot\x20reconnect\x20to\x20already\x20connected\x20service.',_0x15da46);return this['_connect'](_0x15da46,new CollaborativeEditingReconnectMessage(this['getId'](),_0x407144,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 _0x46b46c=new GetDocumentDetailsMessage(this['getId']());if(!this['_wsGateway'])throw new ServiceNotConnectedError('Collaborative\x20Editing',this);const _0x438bcc=await this['_wsGateway']['_sendRequest'](0x1,GetDocumentDetailsMessage['TYPE'],_0x14c902['encode'](_0x46b46c));return _0x14c902['decode'](_0x438bcc,GetDocumentDetailsResponse);}async['sendOperations'](_0x39a0e1,_0x3101ad,_0x16b0f6){if(!_0x39a0e1?.['types']?.['length'])throw new CKEditorCloudServicesError('Cannot\x20send\x20empty\x20update.',this['_wsGateway']);const _0xb74f72='number'==typeof _0x3101ad?_0x3101ad:parseInt(_0x3101ad);if(!Number['isInteger'](_0xb74f72)||_0xb74f72<0x0)throw new CKEditorCloudServicesError('Base\x20version\x20not\x20provided.',this['_wsGateway']);const _0x39f5dd=new CollaborativeEditingUpdateMessage(this['getId'](),_0x39a0e1['buffers'],_0x39a0e1['types'],_0xb74f72,[],_0x16b0f6);if(!this['_wsGateway']||!this['_isConnected'])throw new ServiceNotConnectedError('Collaborative\x20Editing',this);const _0x1ce960=await this['_wsGateway']['_sendRequest'](0x1,CollaborativeEditingUpdateMessage['TYPE'],_0x14c902['encode'](_0x39f5dd));return _0x14c902['decode'](_0x1ce960,CollaborativeEditingResponse);}async['getConnectedSessions'](){if(!this['_isConnected'])throw new ServiceNotConnectedError('Collaborative\x20Editing',this);return this['_connectedSessions']||(this['_connectedSessions']=await _0x4bdda8['getConnectedSessions'](this['_wsGateway'],this['_id'],0x1)),this['_connectedSessions'];}static['getConnectedSessions'](_0x1ddf92,_0x6227f5){return _0x4bdda8['getConnectedSessions'](_0x1ddf92,_0x6227f5,0x1);}async['_connect'](_0x570360,_0x11a6b8){if(this['isConnected']())return;if(_0x570360['state']!==WebSocketGateway$1['STATE_CONNECTED'])throw new CKEditorCloudServicesError('WebSocket\x20Gateway\x20is\x20not\x20connected.',_0x570360);this['_wsGateway']=_0x570360,this['stopListening'](_0x570360,'change:state');const _0x6e6be1=await _0x570360['_sendRequest'](0x1,_0x11a6b8['constructor']['TYPE'],_0x14c902['encode'](_0x11a6b8)),_0x1cb4d2=_0x14c902['decode'](_0x6e6be1,CollaborativeEditingConnectResponse);return this['listenTo'](_0x570360,'change:state',(_0x13a077,_0x8134fc,_0x3e637)=>this['_onWsGatewayStateChange'](_0x3e637),{'priority':WebSocketGateway$1['_CHANGE_STATE_EVENT_PRIORITY']}),this['_connectToChannel'](_0x570360,_0x1cb4d2['channel']),this['_isConnected']=!0x0,this['fire']('connected'),_0x1cb4d2;}['_connectToChannel'](_0x53ff47,_0x3404fd){this['_channel']=_0x53ff47['_getChannel'](0x1,_0x3404fd),this['listenTo'](this['_channel'],this['_channel']['getEventName'](CollaborativeEditingUpdateMessage['TYPE']),(_0x265254,_0x331ff3)=>{const _0x1bc5c8=_0x14c902['decode'](_0x331ff3,CollaborativeEditingUpdateMessage);this['fire']('operationsReceived',_0x1bc5c8['baseVersion'],_0x1bc5c8['data'],_0x1bc5c8['metadata']);});}['_onWsGatewayStateChange'](_0x3e1f50){_0x3e1f50===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'](_0x40ebe8){return{..._0x40ebe8,'createdAt':_0x40ebe8['createdAt']?.['toISOString'](),'attributes':_0x40ebe8['attributes']?JSON['stringify'](_0x40ebe8['attributes']):null};}static['fromJSON'](_0x2e09cc){return{..._0x2e09cc,'createdAt':new Date(_0x2e09cc['createdAt']),'attributes':_0x2e09cc['attributes']?JSON['parse'](_0x2e09cc['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'](_0x450248){return{..._0x450248,'createdAt':_0x450248['createdAt']?.['toISOString'](),'deletedAt':_0x450248['deletedAt']?.['toISOString'](),'resolvedAt':_0x450248['resolvedAt']?.['toISOString'](),'attributes':_0x450248['attributes']?JSON['stringify'](_0x450248['attributes']):null,'context':_0x450248['context']?JSON['stringify'](_0x450248['context']):_0x450248['context'],'comments':_0x450248['comments']?.['map'](CommentDescriptor['toJSON']),'unlinkedAt':_0x450248['unlinkedAt']?.['toISOString']()};}static['fromJSON'](_0x5de524){return{..._0x5de524,'createdAt':_0x5de524['createdAt']?new Date(_0x5de524['createdAt']):void 0x0,'deletedAt':_0x5de524['deletedAt']?new Date(_0x5de524['deletedAt']):void 0x0,'resolvedAt':_0x5de524['resolvedAt']?new Date(_0x5de524['resolvedAt']):void 0x0,'attributes':_0x5de524['attributes']?JSON['parse'](_0x5de524['attributes']):null,'context':_0x5de524['context']?JSON['parse'](_0x5de524['context']):void 0x0,'comments':_0x5de524['comments']?.['map'](CommentDescriptor['fromJSON']),'unlinkedAt':_0x5de524['unlinkedAt']?new Date(_0x5de524['unlinkedAt']):void 0x0};}}class AddCommentMessage extends _0x3e4ab5{['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(_0x4eac8c,_0x34c828,_0x129b0f,_0x12f002='',_0x5be3f5,_0x189bb1='',_0x5a0930=null,_0x15318b){super(),this['documentId']=_0x4eac8c,this['commentThreadId']=_0x34c828,this['content']=_0x129b0f,this['commentId']=_0x12f002,this['userId']=_0x189bb1,this['attributes']=_0x5a0930,this['commentThread']=_0x15318b,this['createdAt']=_0x5be3f5?new Date(_0x5be3f5):'';}['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'](_0x2a7383){return new AddCommentMessage(_0x2a7383['documentId'],_0x2a7383['commentThreadId'],_0x2a7383['content'],_0x2a7383['commentId']?_0x2a7383['commentId']:void 0x0,_0x2a7383['createdAt']?new Date(_0x2a7383['createdAt']):void 0x0,_0x2a7383['userId']?_0x2a7383['userId']:void 0x0,_0x2a7383['attributes']?JSON['parse'](_0x2a7383['attributes']):{},_0x2a7383['commentThread']?CommentsThreadDescriptor['fromJSON'](_0x2a7383['commentThread']):void 0x0);}}class AddCommentResponse extends _0x3e4ab5{['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(_0x5eac06,_0x52f305,_0x586fae){super(),this['commentThreadId']=_0x5eac06,this['commentId']=_0x52f305,this['createdAt']=new Date(_0x586fae);}['toJSON'](){return{'commentThreadId':this['commentThreadId'],'commentId':this['commentId'],'createdAt':this['createdAt']['toISOString']()};}static['fromJSON'](_0x35b57a){return new AddCommentResponse(_0x35b57a['commentThreadId'],_0x35b57a['commentId'],_0x35b57a['createdAt']);}}class ConnectMessage extends _0x3e4ab5{['documentId'];static ['TYPE']='92';static ['READABLE_TYPE_NAME']='connectToComment';static ['DESCRIPTOR_NAME']='CommentsV2ConnectMessage';static ['DESCRIPTOR']={'fields':{'documentId':{'type':'string','id':0x1}}};constructor(_0x452af){super(),this['documentId']=_0x452af;}['toJSON'](){return{'documentId':this['documentId']};}static['fromJSON'](_0x5734e8){return new ConnectMessage(_0x5734e8['documentId']);}}class ConnectResponse extends _0x3e4ab5{['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(_0x3c7663,_0x474d72,_0x133f77){super(),this['channel']=_0x3c7663,this['_threads']=_0x474d72,this['_threadsV2']=_0x133f77,this['threads']=_0x133f77?.['length']?_0x133f77:_0x474d72;}['toJSON'](){return{'channel':this['channel'],'threads':this['_threads']?.['map'](_0x2c7814=>JSON['stringify'](_0x2c7814)),'threadsV2':this['_threadsV2']?.['map'](CommentsThreadDescriptor['toJSON'])};}static['fromJSON'](_0x3b2e76){return new ConnectResponse(_0x3b2e76['channel'],_0x3b2e76['threads']?.['map'](_0x2b2345=>JSON['parse'](_0x2b2345)),_0x3b2e76['threadsV2']?.['map'](CommentsThreadDescriptor['fromJSON']));}}class RemoveCommentMessage extends _0x3e4ab5{['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(_0x3a54df,_0xd3c8fd,_0x1ee1f7){super(),this['documentId']=_0x3a54df,this['commentThreadId']=_0xd3c8fd,this['commentId']=_0x1ee1f7;}['toJSON'](){return{'documentId':this['documentId'],'commentThreadId':this['commentThreadId'],'commentId':this['commentId']};}static['fromJSON'](_0x221815){return new RemoveCommentMessage(_0x221815['documentId'],_0x221815['commentThreadId'],_0x221815['commentId']);}}class RemoveCommentThreadMessage extends _0x3e4ab5{['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(_0x1d999d,_0x37752d){super(),this['documentId']=_0x1d999d,this['commentThreadId']=_0x37752d;}['toJSON'](){return{'documentId':this['documentId'],'commentThreadId':this['commentThreadId']};}static['fromJSON'](_0x373026){return new RemoveCommentThreadMessage(_0x373026['documentId'],_0x373026['commentThreadId']);}}class UpdateCommentMessage extends _0x3e4ab5{['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(_0x593cf7,_0x590c30,_0x2ab414,_0x1093e5,_0x196d9f=null,_0x3147fb=!0x1,_0x2f3e68){super(),this['documentId']=_0x593cf7,this['commentThreadId']=_0x590c30,this['commentId']=_0x2ab414,this['content']=_0x1093e5,this['attributes']=_0x196d9f,this['isAttributesUpdated']=_0x3147fb,this['commentThread']=_0x2f3e68;}['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'](_0x25938c){return new UpdateCommentMessage(_0x25938c['documentId'],_0x25938c['commentThreadId'],_0x25938c['commentId'],_0x25938c['content'],_0x25938c['attributes']?JSON['parse'](_0x25938c['attributes']):null,_0x25938c['isAttributesUpdated'],_0x25938c['commentThread']?CommentsThreadDescriptor['fromJSON'](_0x25938c['commentThread']):void 0x0);}}class GetCommentThreadMessage extends _0x3e4ab5{['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(_0x37c149,_0xa9e267){super(),this['commentThreadId']=_0x37c149,this['documentId']=_0xa9e267;}['toJSON'](){return{'commentThreadId':this['commentThreadId'],'documentId':this['documentId']};}static['fromJSON'](_0x9a553){return new GetCommentThreadMessage(_0x9a553['commentThreadId'],_0x9a553['documentId']);}}class GetCommentThreadResponse extends _0x3e4ab5{['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(_0x3e4c8b,_0x5583be,_0x55249c,_0x205d0b,_0x3b2eba,_0x28dfc8,_0x1d672d,_0x22f383,_0x4e2513,_0x56278b){super(),this['commentThreadId']=_0x3e4c8b,this['_comments']=_0x5583be,this['_commentsV2']=_0x55249c,this['resolvedBy']=_0x3b2eba,this['comments']=_0x55249c?.['length']?_0x55249c:_0x5583be,this['createdAt']=_0x1d672d?new Date(_0x1d672d):void 0x0,this['deletedAt']='string'==typeof _0x22f383?new Date(_0x22f383):_0x22f383,this['resolvedAt']='string'==typeof _0x4e2513?new Date(_0x4e2513):_0x4e2513,this['unlinkedAt']='string'==typeof _0x56278b?new Date(_0x56278b):_0x56278b,this['attributes']='string'==typeof _0x205d0b?JSON['parse'](_0x205d0b):_0x205d0b,this['context']='string'==typeof _0x28dfc8?JSON['parse'](_0x28dfc8):_0x28dfc8;}['toJSON'](){return{'commentThreadId':this['commentThreadId'],'comments':this['_comments']?.['map'](_0x848854=>JSON['stringify'](_0x848854)),'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'](_0x28c0a1){return new GetCommentThreadResponse(_0x28c0a1['commentThreadId'],_0x28c0a1['comments']?.['map'](_0x44c54a=>function(_0x486aed){const _0x5b9e8d=JSON['parse'](_0x486aed);return{..._0x5b9e8d,'createdAt':new Date(_0x5b9e8d['createdAt'])};}(_0x44c54a)),_0x28c0a1['commentsV2']?.['map'](CommentDescriptor['fromJSON']),_0x28c0a1['attributes']?JSON['parse'](_0x28c0a1['attributes']):_0x28c0a1['attributes'],_0x28c0a1['resolvedBy'],_0x28c0a1['context']?JSON['parse'](_0x28c0a1['context']):_0x28c0a1['context'],_0x28c0a1['createdAt'],_0x28c0a1['deletedAt'],_0x28c0a1['resolvedAt'],_0x28c0a1['unlinkedAt']);}}class GetDocumentThreadsMessage extends _0x3e4ab5{['documentId'];static ['TYPE']='94';static ['READABLE_TYPE_NAME']='getDocumentThreads';static ['DESCRIPTOR_NAME']='CommentsV2GetDocumentThreadsMessage';static ['DESCRIPTOR']={'fields':{'documentId':{'type':'string','id':0x1}}};constructor(_0x23ea48){super(),this['documentId']=_0x23ea48;}['toJSON'](){return{'documentId':this['documentId']};}static['fromJSON'](_0x44cd95){return new GetDocumentThreadsMessage(_0x44cd95['documentId']);}}class GetDocumentThreadsResponse extends _0x3e4ab5{['_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(_0x5ed04d,_0x1963ff){super(),this['_threads']=_0x5ed04d,this['_threadsV2']=_0x1963ff,this['threads']=_0x1963ff?.['length']?_0x1963ff:_0x5ed04d;}['toJSON'](){return{'threads':this['_threads']?.['map'](_0x3def35=>JSON['stringify'](_0x3def35)),'threadsV2':this['_threadsV2']?.['map'](CommentsThreadDescriptor['toJSON'])};}static['fromJSON'](_0x58eb9f){return new GetDocumentThreadsResponse(_0x58eb9f['threads']?.['map'](_0x36cb0b=>function(_0x5d95ca){const _0x5c0059=JSON['parse'](_0x5d95ca),_0x382c8a={..._0x5c0059};return _0x5c0059['comments']&&(_0x382c8a['comments']=_0x5c0059['comments']?.['map'](_0x4c6393=>({..._0x4c6393,'createdAt':new Date(_0x4c6393['createdAt'])}))),_0x382c8a;}(_0x36cb0b)),_0x58eb9f['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'](_0x46c324){return{'commentId':_0x46c324['commentId'],'createdAt':_0x46c324['createdAt']?.['toISOString']()};}static['fromJSON'](_0x1cb39e){return{'commentId':_0x1cb39e['commentId'],'createdAt':new Date(_0x1cb39e['createdAt'])};}}class AddCommentThreadResponse extends _0x3e4ab5{['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(_0xf6e663,_0x476cd8,_0x53589a=[]){super(),this['commentThreadId']=_0xf6e663,this['comments']=_0x53589a,this['createdAt']=new Date(_0x476cd8);}['toJSON'](){return{'commentThreadId':this['commentThreadId'],'createdAt':this['createdAt']['toISOString'](),'comments':this['comments']['map'](_0x5de950=>CommentThreadAddedCommentDescriptor['toJSON'](_0x5de950))};}static['fromJSON'](_0x3e338a){return new AddCommentThreadResponse(_0x3e338a['commentThreadId'],_0x3e338a['createdAt'],_0x3e338a['comments']['map'](_0x1db4d2=>CommentThreadAddedCommentDescriptor['fromJSON'](_0x1db4d2)));}}class AddCommentThreadMessage extends _0x3e4ab5{['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(_0x50f36b,_0xfbf5ce,_0x5b3c69=[],_0x596e68,_0x597386=null,_0x4841b9=null,_0x484509=null,_0xb87380=null,_0x54c3c8=null){super(),this['documentId']=_0x50f36b,this['commentThreadId']=_0xfbf5ce,this['comments']=_0x5b3c69,this['context']=_0x596e68,this['resolvedBy']=_0x597386,this['attributes']=_0x54c3c8,this['createdAt']=_0x4841b9?new Date(_0x4841b9):'',this['resolvedAt']=_0x484509?new Date(_0x484509):'',this['deletedAt']=_0xb87380?new Date(_0xb87380):'';}['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'](_0xe7218e=>CommentDescriptor['toJSON'](_0xe7218e))};}static['fromJSON'](_0x16cb8f){return new AddCommentThreadMessage(_0x16cb8f['documentId'],_0x16cb8f['commentThreadId'],_0x16cb8f['comments']?.['map'](_0xbc4041=>CommentDescriptor['fromJSON']({..._0xbc4041,'documentId':_0x16cb8f['documentId'],'commentThreadId':_0x16cb8f['commentThreadId']})),_0x16cb8f['context']?JSON['parse'](_0x16cb8f['context']):_0x16cb8f['context'],_0x16cb8f['resolvedBy'],_0x16cb8f['createdAt']?new Date(_0x16cb8f['createdAt']):void 0x0,_0x16cb8f['resolvedAt']?new Date(_0x16cb8f['resolvedAt']):void 0x0,_0x16cb8f['deletedAt']?new Date(_0x16cb8f['deletedAt']):void 0x0,_0x16cb8f['attributes']?JSON['parse'](_0x16cb8f['attributes']):_0x16cb8f['attributes']);}}class ResolveCommentThreadMessage extends _0x3e4ab5{['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(_0x1e688f,_0x54b753,_0x234bf3,_0x9615ab){super(),this['commentThreadId']=_0x1e688f,this['documentId']=_0x54b753,this['resolvedBy']=_0x234bf3,this['resolvedAt']=_0x9615ab?new Date(_0x9615ab):void 0x0;}['toJSON'](){return{'documentId':this['documentId'],'commentThreadId':this['commentThreadId'],'resolvedBy':this['resolvedBy'],'resolvedAt':this['resolvedAt']?.['toISOString']()};}static['fromJSON'](_0x51bb6b){return new ResolveCommentThreadMessage(_0x51bb6b['commentThreadId'],_0x51bb6b['documentId'],_0x51bb6b['resolvedBy'],_0x51bb6b['resolvedAt']);}}class ReopenCommentThreadMessage extends _0x3e4ab5{['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(_0x2ec61a,_0x535919){super(),this['commentThreadId']=_0x2ec61a,this['documentId']=_0x535919;}['toJSON'](){return{'documentId':this['documentId'],'commentThreadId':this['commentThreadId']};}static['fromJSON'](_0x1ef77f){return new ReopenCommentThreadMessage(_0x1ef77f['commentThreadId'],_0x1ef77f['documentId']);}}class UpdateCommentThreadMessage extends _0x3e4ab5{['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(_0x36584f,_0x597cc7,_0x4fb530,_0x39101b=null,_0x1103dd=null){super(),this['commentThreadId']=_0x36584f,this['documentId']=_0x597cc7,this['context']=_0x4fb530,this['attributes']=_0x39101b,this['unlinkedAt']=_0x1103dd?new Date(_0x1103dd):'';}['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'](_0x4a9833){return new UpdateCommentThreadMessage(_0x4a9833['commentThreadId'],_0x4a9833['documentId'],_0x4a9833['context']?JSON['parse'](_0x4a9833['context']):_0x4a9833['context'],_0x4a9833['attributes']?JSON['parse'](_0x4a9833['attributes']):null,_0x4a9833['unlinkedAt']?new Date(_0x4a9833['unlinkedAt']):null);}}class ResolveCommentThreadResponse extends _0x3e4ab5{['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(_0x50bb38,_0x18a645,_0x53cd32,_0x3ae1a3){super(),this['commentThreadId']=_0x50bb38,this['documentId']=_0x18a645,this['resolvedBy']=_0x53cd32,this['resolvedAt']=new Date(_0x3ae1a3);}['toJSON'](){return{'commentThreadId':this['commentThreadId'],'documentId':this['documentId'],'resolvedBy':this['resolvedBy'],'resolvedAt':this['resolvedAt']['toISOString']()};}static['fromJSON'](_0x22c65a){return new ResolveCommentThreadResponse(_0x22c65a['commentThreadId'],_0x22c65a['documentId'],_0x22c65a['resolvedBy'],_0x22c65a['resolvedAt']);}}class CommentsService extends/* #__PURE__ -- @preserve */
ckeditor5['EmitterMixin'](){['_documentId'];['_isConnected']=!0x1;['_wsGateway'];['_channel'];['_connectedSessions'];static ['_SERVICE']=0x9;constructor(_0x1bfd6b){super(),this['_documentId']=_0x1bfd6b;}get['isConnected'](){return this['_isConnected'];}async['connect'](_0x1b8031){if(this['_isConnected'])return;if(_0x1b8031['state']!==_0xbe1750['CONNECTED'])throw new CKEditorCloudServicesError('WebSocket\x20Gateway\x20is\x20not\x20connected.',_0x1b8031);const _0x336314=new ConnectMessage(this['_documentId']);this['_wsGateway']=_0x1b8031,this['stopListening'](_0x1b8031,'change:state');const _0x4e1d23=await _0x1b8031['_sendRequest'](0x9,ConnectMessage['TYPE'],_0x14c902['encode'](_0x336314)),{channel:_0x39becc,threads:_0x33d9f8}=_0x14c902['decode'](_0x4e1d23,ConnectResponse);return this['listenTo'](_0x1b8031,'change:state',(_0x439919,_0x4e8c23,_0x1e4a7e)=>this['_onWsGatewayStateChange'](_0x1e4a7e),{'priority':WebSocketGateway$1['_CHANGE_STATE_EVENT_PRIORITY']}),this['_connectToChannel'](_0x1b8031,_0x39becc),this['_isConnected']=!0x0,this['fire']('connected'),_0x33d9f8;}['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'](_0x5075cd,_0x2592c5,_0x367a07,_0x5d4517){const _0x1736f3=new AddCommentMessage(this['_documentId'],_0x5075cd,_0x367a07,_0x2592c5,void 0x0,void 0x0,_0x5d4517),_0xdb1ed8=await this['_sendRequest'](AddCommentMessage['TYPE'],_0x1736f3);return _0x14c902['decode'](_0xdb1ed8,AddCommentResponse);}async['updateComment'](_0xf866f0,_0x13d70f,_0x4a558f,_0x47f6ad){const _0x364bd6=void 0x0!==_0x47f6ad,_0x5cda58=new UpdateCommentMessage(this['_documentId'],_0xf866f0,_0x13d70f,_0x4a558f,_0x47f6ad,_0x364bd6);await this['_sendRequest'](UpdateCommentMessage['TYPE'],_0x5cda58);}async['removeComment'](_0xec9273,_0x40cf3b){const _0x45e65d=new RemoveCommentMessage(this['_documentId'],_0xec9273,_0x40cf3b);await this['_sendRequest'](RemoveCommentMessage['TYPE'],_0x45e65d);}async['removeCommentThread'](_0x3ab943){const _0x2b04f9=new RemoveCommentThreadMessage(this['_documentId'],_0x3ab943);await this['_sendRequest'](RemoveCommentThreadMessage['TYPE'],_0x2b04f9);}async['addCommentThread'](_0x3dd4d5){const _0x2b9f7d=new AddCommentThreadMessage(this['_documentId'],_0x3dd4d5['commentThreadId'],_0x3dd4d5['comments']?.['map'](_0x340f48=>({..._0x340f48,'documentId':this['_documentId'],'commentThreadId':_0x3dd4d5['commentThreadId']})),_0x3dd4d5['context'],_0x3dd4d5['resolvedBy'],_0x3dd4d5['createdAt'],_0x3dd4d5['resolvedAt'],_0x3dd4d5['deletedAt'],_0x3dd4d5['attributes']),_0x111d0a=await this['_sendRequest'](AddCommentThreadMessage['TYPE'],_0x2b9f7d);return _0x14c902['decode'](_0x111d0a,AddCommentThreadResponse);}async['resolveCommentThread'](_0x2acf05){const _0x54c1e2=new ResolveCommentThreadMessage(_0x2acf05,this['_documentId']),_0x2065a4=await this['_sendRequest'](ResolveCommentThreadMessage['TYPE'],_0x54c1e2);return _0x14c902['decode'](_0x2065a4,ResolveCommentThreadResponse);}async['reopenCommentThread'](_0xd67df9){const _0x5e1539=new ReopenCommentThreadMessage(_0xd67df9,this['_documentId']);await this['_sendRequest'](ReopenCommentThreadMessage['TYPE'],_0x5e1539);}async['updateCommentThread'](_0x338171){const _0x2ac31d=new UpdateCommentThreadMessage(_0x338171['commentThreadId'],this['_documentId'],_0x338171['context'],_0x338171['attributes'],_0x338171['unlinkedAt']);await this['_sendRequest'](UpdateCommentThreadMessage['TYPE'],_0x2ac31d);}async['getCommentThread'](_0x4ce308,_0x2aeb42=0x1){const _0x5aaae9=new GetCommentThreadMessage(_0x4ce308,this['_documentId']);try{const _0xdddcb1=await this['_sendRequest'](GetCommentThreadMessage['TYPE'],_0x5aaae9),_0x49b566=_0x14c902['decode'](_0xdddcb1,GetCommentThreadResponse);return{'commentThreadId':_0x49b566['commentThreadId'],'comments':_0x49b566['comments'],'attributes':_0x49b566['attributes'],'context':_0x49b566['context'],'resolvedAt':_0x49b566['resolvedAt'],'resolvedBy':_0x49b566['resolvedBy'],'deletedAt':_0x49b566['deletedAt'],'unlinkedAt':_0x49b566['unlinkedAt']};}catch(_0x281e46){if('CKEditorCloudServicesServerError'===_0x281e46['name']&&'404'===_0x281e46['code']&&_0x2aeb42<0x5)return await(_0x5c8b7c=0x64*_0x2aeb42,new Promise(_0x559305=>{setTimeout(_0x559305,_0x5c8b7c);})),this['getCommentThread'](_0x4ce308,_0x2aeb42+0x1);if('CKEditorCloudServicesServerError'===_0x281e46['name'])throw _0x281e46;throw CKEditorCloudServicesServerError['fromPublicError'](_0x281e46);}var _0x5c8b7c;}async['getDocumentThreads'](){const _0x5c4848=new GetDocumentThreadsMessage(this['_documentId']),_0x21e525=await this['_sendRequest'](GetDocumentThreadsMessage['TYPE'],_0x5c4848),{threads:_0x57acd5}=_0x14c902['decode'](_0x21e525,GetDocumentThreadsResponse);return{'threads':_0x57acd5};}async['getConnectedSessions'](){if(!this['_isConnected'])throw new ServiceNotConnectedError('Comments',this);return this['_connectedSessions']||(this['_connectedSessions']=await _0x4bdda8['getConnectedSessions'](this['_wsGateway'],this['_documentId'],0x9)),this['_connectedSessions'];}['_connectToChannel'](_0x559eff,_0x55c414){this['_channel']=_0x559eff['_getChannel'](CommentsService['_SERVICE'],_0x55c414),this['_channel']&&(this['listenTo'](this['_channel'],this['_channel']['getEventName'](AddCommentMessage['TYPE']),(_0x1dc408,_0xfe2ae5)=>{const _0x2c995c=_0x14c902['decode'](_0xfe2ae5,AddCommentMessage);this['fire']('commentAdded',_0x2c995c);}),this['listenTo'](this['_channel'],this['_channel']['getEventName'](RemoveCommentMessage['TYPE']),(_0xfcc1ff,_0x5278b0)=>{const _0x3a3453=_0x14c902['decode'](_0x5278b0,RemoveCommentMessage);this['fire']('commentRemoved',_0x3a3453);}),this['listenTo'](this['_channel'],this['_channel']['getEventName'](UpdateCommentMessage['TYPE']),(_0x39c2f5,_0x2a5a9f)=>{const _0x50de2d=_0x14c902['decode'](_0x2a5a9f,UpdateCommentMessage);this['fire']('commentUpdated',_0x50de2d);}),this['listenTo'](this['_channel'],this['_channel']['getEventName'](RemoveCommentThreadMessage['TYPE']),(_0x2b7c44,_0x1566db)=>{const _0x5be6cd=_0x14c902['decode'](_0x1566db,RemoveCommentThreadMessage);this['fire']('commentThreadRemoved',_0x5be6cd);}),this['listenTo'](this['_channel'],this['_channel']['getEventName'](AddCommentThreadMessage['TYPE']),(_0xed8938,_0x513578)=>{const _0x347849=_0x14c902['decode'](_0x513578,AddCommentThreadMessage);this['fire']('commentThreadAdded',_0x347849);}),this['listenTo'](this['_channel'],this['_channel']['getEventName'](UpdateCommentThreadMessage['TYPE']),(_0x17a448,_0x100a15)=>{const _0x4e21d0=_0x14c902['decode'](_0x100a15,UpdateCommentThreadMessage);this['fire']('commentThreadUpdated',_0x4e21d0);}),this['listenTo'](this['_channel'],this['_channel']['getEventName'](ResolveCommentThreadMessage['TYPE']),(_0x20ee28,_0x323e6e)=>{const _0x44f8de=_0x14c902['decode'](_0x323e6e,ResolveCommentThreadMessage);this['fire']('commentThreadResolved',_0x44f8de);}),this['listenTo'](this['_channel'],this['_channel']['getEventName'](ReopenCommentThreadMessage['TYPE']),(_0xbee478,_0x5c765c)=>{const _0x2f789f=_0x14c902['decode'](_0x5c765c,ReopenCommentThreadMessage);this['fire']('commentThreadReopened',_0x2f789f);}));}['_onWsGatewayStateChange'](_0x4dde76){_0x4dde76===_0xbe1750['DISCONNECTED']&&this['disconnect']();}['_sendRequest'](_0x424c96,_0x144a75){if(!this['_wsGateway']||!this['_isConnected'])throw new ServiceNotConnectedError('Comments',this);return this['_wsGateway']['_sendRequest'](0x9,_0x424c96,_0x14c902['encode'](_0x144a75));}}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(_0x4a2494){super(_0x4a2494),this['set']('state',_0xbe1750['CONNECTED']),this['set']('_isBrowserOffline',!0x1),this['_reconnectionStack']=new Set(),this['_shouldPluginsReconnect']=!0x1,this['_domEmitter']=new(ckeditor5['DomEmitterMixin']())();}['init'](){const _0x5ac1ba=this['context'],_0x4e2c8c=_0x5ac1ba['plugins']['get']('CloudServices'),_0x167c33=_0x5ac1ba['plugins']['get'](ckeditor5['Notification']);if(!_0x4e2c8c['token'])throw new ckeditor5['CKEditorError']('websocketgateway-missing-token',this);if(!_0x4e2c8c['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'](_0x4e2c8c['token'],_0x4e2c8c['webSocketUrl'],{'timeout':0x3e8*this['context']['config']['get']('cloudServices.connectionTimeout'),'requestTimeout':0x3e8*this['context']['config']['get']('cloudServices.requestTimeout')})['then'](_0x7bab1e=>{if(this['connection']=_0x7bab1e,this['bind']('state')['to'](_0x7bab1e,'state',this,'_isBrowserOffline',(_0x1aa47f,_0x561b47)=>('connected'!==_0x1aa47f&&(this['_shouldPluginsReconnect']=!0x0),_0x561b47||_0x1aa47f!==_0xbe1750['CONNECTED']?_0xbe1750['DISCONNECTED']:this['state']==_0xbe1750['DISCONNECTED']&&this['_shouldPluginsReconnect']?(this['_shouldPluginsReconnect']=!0x1,this['_reconnect'](),_0xbe1750['CONNECTING']):_0xbe1750['CONNECTED'])),this['connection']['on']('error',(_0x76fdc,_0x1bbc89)=>{if('limitExceeded'!==_0x1bbc89['code'])throw console['error'](_0x1bbc89),new ckeditor5['CKEditorError']('cloudservices-init',null,{'originalError':_0x1bbc89});_0x167c33['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'});}),!_0x7bab1e['me'])return new Promise(_0x1e6304=>_0x7bab1e['on']('change:me',_0x1e6304));})['catch'](_0x24acda=>{throw console['error'](_0x24acda),new ckeditor5['CKEditorError']('cloudservices-init',null,{'originalError':_0x24acda});});}['addToReconnectionStack'](_0x1f2a1e){if('function'!=typeof _0x1f2a1e['reconnect'])throw new ckeditor5['CKEditorError']('websocketgateway-invalid-plugin-interface',this);if(this['isInReconnectionStack'](_0x1f2a1e))throw new ckeditor5['CKEditorError']('websocketgateway-plugin-already-registered',this,{'name':_0x1f2a1e['constructor']['pluginName']});this['_reconnectionStack']['add'](_0x1f2a1e);}['removeFromReconnectionStack'](_0x389af8){this['_reconnectionStack']['delete'](_0x389af8);}['isInReconnectionStack'](_0x407556){return this['_reconnectionStack']['has'](_0x407556);}['_reconnect'](){return this['connection']['reconnect']()['then'](()=>Promise['all'](Array['from'](this['_reconnectionStack'],_0x55be4e=>_0x55be4e['reconnect']())))['then'](()=>this['state']=_0xbe1750['CONNECTED'])['catch'](_0x2d0880=>{throw console['error'](_0x2d0880),new ckeditor5['CKEditorError']('cloudservices-reconnection-error',this['context']);});}['disconnect'](){this['connection']&&this['connection']['disconnect'](),this['state']=_0xbe1750['DISCONNECTED'],this['_domEmitter']['stopListening']();}['destroy'](){this['disconnect'](),super['destroy']();}}class _0x22cf0d 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,_0x38ef77];}constructor(_0x59ee3b){super(_0x59ee3b),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'](_0x38ef77);}['init'](){const _0x29b25d=this['context']['plugins']['get'](WebSocketGateway);this['listenTo'](_0x29b25d,'change:state',(_0x5b346a,_0x1b617c,_0x2681be)=>{if('connected'!==_0x2681be)this['channelSessions']['forEach'](_0x5c0c87=>_0x5c0c87['clear']()),this['channelConnectedUsers']['forEach'](_0x1bf7c3=>_0x1bf7c3['clear']()),this['allConnectedUsers']['clear']();else{for(const [_0x10baf3,_0x2b5cf1]of this['_registeredSessions'])for(const _0x982725 of _0x2b5cf1)this['_handleSessionAdd'](_0x10baf3,_0x982725);}}),this['_createUser'](_0x29b25d['connection']['me'],!0x0);}['register'](_0x552569,_0x201ac2){if(this['_registeredSessions']['has'](_0x552569))throw new ckeditor5['CKEditorError']('sessions-register-already-registered',null,{'channelId':_0x552569});this['_registeredSessions']['set'](_0x552569,_0x201ac2),this['channelSessions']['set'](_0x552569,new ckeditor5['Collection']()),this['channelConnectedUsers']['set'](_0x552569,new ckeditor5['Collection']()),this['listenTo'](_0x201ac2,'add',(_0x24c82e,_0x3f24d0)=>this['_handleSessionAdd'](_0x552569,_0x3f24d0)),this['listenTo'](_0x201ac2,'remove',(_0x108977,_0x584131)=>this['_handleSessionRemove'](_0x552569,_0x584131));for(const _0x3704aa of _0x201ac2)this['_handleSessionAdd'](_0x552569,_0x3704aa);}['unregister'](_0x129eb2){if(!this['_registeredSessions']['has'](_0x129eb2))throw new ckeditor5['CKEditorError']('sessions-unregister-not-exist',null,{'channelId':_0x129eb2});const _0x517a04=this['_registeredSessions']['get'](_0x129eb2);this['stopListening'](_0x517a04);for(const _0x3c52fc of _0x517a04)'connected'===this['context']['plugins']['get'](WebSocketGateway)['state']&&this['_handleSessionRemove'](_0x129eb2,_0x3c52fc);this['_registeredSessions']['delete'](_0x129eb2),this['channelSessions']['delete'](_0x129eb2),this['channelConnectedUsers']['delete'](_0x129eb2);}get['mySessionId'](){return this['context']['plugins']['get'](WebSocketGateway)['connection']['sessionId'];}['getUserBySessionId'](_0x1eaa2e){for(const _0x252d0f of this['channelSessions']['values']())for(const _0x302a0b of _0x252d0f)if(_0x302a0b['id']===_0x1eaa2e)return _0x302a0b['user'];}['getUserSessions'](_0x388d1b,_0x53eec9){const _0x4923f5=_0x53eec9?[this['channelSessions']['get'](_0x53eec9)]:this['channelSessions']['values'](),_0x18c5b9=new Set();for(const _0x5d28d1 of _0x4923f5)for(const _0x160a3c of _0x5d28d1)_0x160a3c['user']['id']===_0x388d1b['id']&&_0x18c5b9['add'](_0x160a3c['id']);return _0x18c5b9;}['getUserRole'](_0x4be79b){for(const _0x16d244 of this['channelSessions']['values']())for(const _0x347b9 of _0x16d244)if(_0x347b9['user']===_0x4be79b)return _0x347b9['role'];}['_handleSessionAdd'](_0x57f54c,_0x26f344){if('connected'!==this['context']['plugins']['get'](WebSocketGateway)['state'])return;const _0x69bce6=_0x26f344['user'],_0x3b30b4=this['_users']['getUser'](_0x69bce6['id'])||this['_createUser'](_0x69bce6),_0x59c2fe=Object['assign']({},_0x26f344,{'user':_0x3b30b4});if(this['channelSessions']['get'](_0x57f54c)['add'](_0x59c2fe),!_0x69bce6['hiddenInPresenceList']){const _0x2d0f96=this['channelConnectedUsers']['get'](_0x57f54c);_0x2d0f96['has'](_0x3b30b4['id'])||_0x2d0f96['add'](_0x3b30b4),this['allConnectedUsers']['has'](_0x3b30b4['id'])||_0x69bce6['hiddenInPresenceList']||this['allConnectedUsers']['add'](_0x3b30b4,_0x3b30b4['isMe']?0x0:void 0x0);}this['fire']('sessionAdd:'+_0x57f54c,{'channelId':_0x57f54c,'session':_0x59c2fe});}['_handleSessionRemove'](_0x43315c,_0x51cab9){if('connected'!==this['context']['plugins']['get'](WebSocketGateway)['state'])return;const _0x30e3bd=this['channelConnectedUsers']['get'](_0x43315c),_0x3b65ea=_0x51cab9['user'];_0x3b65ea['id']&&(this['channelSessions']['get'](_0x43315c)['remove'](_0x51cab9['id']),_0x30e3bd['has'](_0x3b65ea['id'])&&!this['getUserSessions'](_0x3b65ea,_0x43315c)['size']&&_0x30e3bd['remove'](_0x3b65ea['id']),this['allConnectedUsers']['get'](_0x3b65ea['id'])&&!this['getUserSessions'](_0x3b65ea)['size']&&this['allConnectedUsers']['remove'](_0x3b65ea['id']));}['_createUser'](_0x26cfc8,_0x6fdc10){const _0x4ae2b8=this['_users']['addUser'](_0x26cfc8);return _0x6fdc10&&this['_users']['defineMe'](_0x26cfc8['id']),_0x4ae2b8['orderNumber']=this['_uniqueUsersCount']++,_0x4ae2b8;}}class _0x44ef9e extends ckeditor5['Plugin']{['_domEmitter']=new(ckeditor5['DomEmitterMixin']())();static get['requires'](){return[_0x22cf0d];}static get['pluginName'](){return'UserMarkers';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x974559=this['editor'],_0x4ce66d=_0x974559['plugins']['get'](_0x22cf0d);_0x974559['conversion']['for']('editingDowncast')['markerToElement']({'model':'user:position','view':(_0x1af02b,{writer:_0x4465e6})=>createUserPositionViewElement(_0x1af02b,_0x4465e6,_0x4ce66d,_0x974559)}),_0x974559['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'user:range','view':_0x448b89=>createUserRangeViewElement(_0x448b89,_0x4ce66d)}),createUserMarkerPostFixer(_0x974559),this['_domEmitter']['listenTo'](ckeditor5['global']['document'],'keydown',(_0x22e1f2,{key:_0x3e8e23})=>{'Escape'===_0x3e8e23&&hideHoveredUserPositionMarkersTooltips(_0x974559);},{'useCapture':!0x0});}['afterInit'](){const _0x113253=this['editor'],_0xe4e726=_0x113253['commands']['get']('undo');_0xe4e726&&_0x113253['model']['on']('applyOperation',(_0x3d70ad,_0x4311b0)=>{const _0x540f47=_0x4311b0[0x0];if(!_0x540f47['isDocumentOperation'])return;if('marker'!=_0x540f47['type']||!_0x540f47['name']['startsWith']('user:'))return;const _0x544893=_0x540f47['batch'];_0xe4e726['_createdBatches']['has'](_0x544893)&&(_0x540f47['newRange']=_0x540f47['oldRange']?_0x113253['model']['createRange'](_0x540f47['oldRange']['start'],_0x540f47['oldRange']['end']):null);},{'priority':'highest'});}['destroy'](){return this['_domEmitter']['stopListening'](),super['destroy']();}['createUserMarkerOperations'](){const _0x20fa89=this['editor'],_0x5006b4=_0x20fa89['model']['document'],_0x11fc6f=_0x20fa89['plugins']['get'](_0x22cf0d);_0x20fa89['model']['enqueueChange']({'isUndoable':!0x1},_0x1526f0=>{const _0x8e2617='user:range:'+_0x11fc6f['mySessionId'],_0x2fe443='user:position:'+_0x11fc6f['mySessionId'],_0xa96b4b=_0x20fa89['model']['markers']['has'](_0x8e2617);_0x20fa89['editing']['view']['hasDomSelection']?updateUserMarkers(_0x11fc6f['mySessionId'],_0x5006b4['selection']['getFirstRange'](),_0x20fa89['model'],_0x1526f0):_0xa96b4b&&(_0x1526f0['removeMarker'](_0x8e2617),_0x1526f0['removeMarker'](_0x2fe443));});}}function updateUserMarkers(_0x1971da,_0xd2b597,_0x2036a3,_0x4dc971){const _0x3b9783='user:range:'+_0x1971da,_0x1c7886='user:position:'+_0x1971da,_0x3dccc7=_0xd2b597['getContainedElement']();let _0x36c4ef=_0xd2b597['start'];if(_0x3dccc7&&_0x3dccc7['is']('element','tableCell')){const _0x45eee4=getPositionForText(_0xd2b597,_0x2036a3);_0x45eee4&&(_0x36c4ef=_0x45eee4,_0xd2b597=_0x4dc971['createRange'](_0x36c4ef));}const _0x24bcd7=_0x4dc971['createRange'](_0x36c4ef);_0x2036a3['markers']['has'](_0x3b9783)?(_0x4dc971['updateMarker'](_0x3b9783,{'range':_0xd2b597}),_0x4dc971['updateMarker'](_0x1c7886,{'range':_0x24bcd7})):(_0x4dc971['addMarker'](_0x3b9783,{'range':_0xd2b597,'usingOperation':!0x0}),_0x4dc971['addMarker'](_0x1c7886,{'range':_0x24bcd7,'usingOperation':!0x0}));}function getPositionForText(_0x2b7833,_0x427c5a){for(const _0x543070 of _0x2b7833['getPositions']())if(_0x427c5a['schema']['checkChild'](_0x543070,'$text'))return _0x543070;}function createUserPositionViewElement(_0x445285,_0x4fadc5,_0x1ea879,_0x41d963){const _0x4048fd=_0x445285['markerName']['split'](':')[0x2],_0x356bd2=_0x1ea879['getUserBySessionId'](_0x4048fd);if(!_0x356bd2||_0x4048fd===_0x1ea879['mySessionId'])return;if(!_0x41d963['model']['schema']['checkChild'](_0x445285['markerRange']['start'],'$text'))return;const _0x2a7bfc={'class':'ck-user__marker\x20'+_0x356bd2['color']['getMarkerClass'](),'data-name':_0x356bd2['name'],'data-session-id':_0x4048fd},_0x1755ef=_0x41d963['model']['markers']['get'](_0x445285['markerName'])['getStart'](),_0x5aa080=_0x1755ef['nodeAfter'],_0x4f3270=_0x41d963['model']['schema'];if(_0x5aa080&&_0x4f3270['isObject'](_0x5aa080)&&_0x4f3270['isInline'](_0x5aa080)&&!_0x41d963['model']['markers']['get']('user:range:'+_0x4048fd)['getRange']()['isCollapsed'])return;const _0x801963=_0x1755ef['parent'];return _0x41d963['model']['schema']['isLimit'](_0x801963)&&!_0x41d963['model']['hasContent'](_0x801963)&&(_0x2a7bfc['contenteditable']=!0x1),createUserPositionMarkerElement(_0x4fadc5,_0x2a7bfc,_0x356bd2);}function createUserRangeViewElement(_0x3373b6,_0x28e7b9){const _0x36bf8d=_0x3373b6['markerName']['split'](':')[0x2];if(_0x36bf8d===_0x28e7b9['mySessionId'])return null;const _0x688851=_0x28e7b9['getUserBySessionId'](_0x36bf8d);return _0x688851?{'id':_0x36bf8d,'classes':['ck-user__selection',_0x688851['color']['getSelectionClass']()],'attributes':{'data-session-id':_0x36bf8d},'priority':0x7d0+_0x688851['orderNumber']}:{'id':_0x36bf8d,'classes':[]};}function createUserPositionMarkerElement(_0x328248,_0x11b79a,_0x1d7bf2){const _0x1a58cc=_0x328248['createUIElement']('span',_0x11b79a);return _0x328248['setCustomProperty']('userPositionMarker',!0x0,_0x1a58cc),_0x1a58cc['render']=function(_0x540d94){const _0x1a3586=this['toDomElement'](_0x540d94),_0x2efdf6=document['createElement']('span');return _0x2efdf6['classList']['add']('ck-user__marker-tooltip'),_0x2efdf6['setAttribute']('contenteditable','false'),_0x2efdf6['setAttribute']('spellcheck','false'),_0x2efdf6['textContent']=_0x1d7bf2['name'],_0x1a3586['innerHTML']='⁠<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>'+_0x2efdf6['outerHTML']+'⁠',_0x1a3586['addEventListener']('mouseenter',()=>{_0x1a3586['classList']['add']('ck-user__marker_hovered');}),_0x1a3586['addEventListener']('mouseleave',()=>{_0x1a3586['classList']['remove']('ck-user__marker_hovered');}),_0x1a3586;},_0x1a58cc['isSimilar']=function(_0x2ff4b5){return!(!this['getCustomProperty']('userPositionMarker')||!_0x2ff4b5['getCustomProperty']('userPositionMarker')||this['getAttribute']('data-session-id')!=_0x2ff4b5['getAttribute']('data-session-id'));},_0x1a58cc;}function hideHoveredUserPositionMarkersTooltips(_0x42b67a){_0x42b67a['editing']['view']['change'](_0x517ebb=>{for(const _0x430948 of _0x42b67a['model']['markers']){if(!_0x430948['name']['startsWith']('user:position'))continue;const _0x351f91=_0x42b67a['editing']['mapper']['markerNameToElements'](_0x430948['name']);if(_0x351f91){for(const _0x5a9705 of _0x351f91)_0x517ebb['removeClass']('ck-user__marker_hovered',_0x5a9705);}}});}function createUserMarkerPostFixer(_0x412c16){const _0x2e9826=_0x412c16['model'],_0x4b1cb2=new Map(),_0x138ec8=_0x412c16['plugins']['get'](_0x22cf0d);_0x2e9826['markers']['on']('update:user:range',(_0x1abb37,_0x4328ec,_0x1d604f,_0x261c13)=>{if(!_0x261c13&&_0x4b1cb2['get'](_0x4328ec['name']))return _0x4b1cb2['get'](_0x4328ec['name'])['detach'](),void _0x4b1cb2['delete'](_0x4328ec['name']);const _0x5668ba=_0x4328ec['name']['split'](':')[0x2];if(_0x5668ba===_0x138ec8['mySessionId'])return;const _0xd27bd2='user:position:'+_0x5668ba;_0x2e9826['markers']['has'](_0xd27bd2)&&_0x412c16['editing']['reconvertMarker'](_0xd27bd2),_0x4328ec['on']('change:range',(_0x104c09,_0x3d2b98,_0x297914)=>{if('$graveyard'!=_0x3d2b98['root']['rootName']&&'$graveyard'==_0x4328ec['getRange']()['root']['rootName']&&!_0x4b1cb2['has'](_0x4328ec['name'])){const _0x2ce5e0=_0x2e9826['schema']['getNearestSelectionRange'](_0x297914['deletionPosition']);if(_0x2ce5e0){const _0x3baba4=ckeditor5['ModelLiveRange']['fromRange'](_0x2ce5e0);_0x4b1cb2['set'](_0x4328ec['name'],_0x3baba4),_0x3baba4['on']('change:range',(_0x5a6210,_0x2c742b,_0x1a8272)=>{if('$graveyard'==_0x3baba4['root']['rootName']){const _0x1b16d5=_0x2e9826['schema']['getNearestSelectionRange'](_0x1a8272['deletionPosition']);_0x1b16d5?(_0x3baba4['start']=_0x1b16d5['start'],_0x3baba4['end']=_0x1b16d5['end']):(_0x4b1cb2['delete'](_0x4328ec['name']),_0x3baba4['detach']());}});}}});}),_0x2e9826['document']['on']('change',()=>{_0x4b1cb2['size']>0x0&&_0x2e9826['enqueueChange']({'isUndoable':!0x1},_0x67c94f=>{for(const [_0x97c623,_0x14ce2f]of _0x4b1cb2)'$graveyard'==_0x2e9826['markers']['get'](_0x97c623)['getRange']()['root']['rootName']&&(updateUserMarkers(_0x97c623['split'](':')[0x2],_0x14ce2f['toRange'](),_0x2e9826,_0x67c94f),_0x14ce2f['detach']());_0x4b1cb2['clear']();});});}function getTranslation$6(_0xe0288b,_0x3bdbaa,_0x3ada49){const _0x5804a2=_0xe0288b['t'],t=_0xe0288b['t'];switch(_0x3bdbaa){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 _0x5804a2({'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'},_0x3ada49);default:return'';}}const _0x1f1984=/* #__PURE__ -- @preserve */
((()=>{var _0x4e1b70=minimalExports['Reader'],_0x3787e9=minimalExports['Writer'],_0xbad6f3=minimalExports['util'],_0x4274ad=minimalExports['roots']['default']||(minimalExports['roots']['default']={});return _0x4274ad['AttributeOperation']=(function(){function _0x4da131(_0x287f9b){if(_0x287f9b){for(var _0x180d17=Object['keys'](_0x287f9b),_0x26baad=0x0;_0x26baad<_0x180d17['length'];++_0x26baad)null!=_0x287f9b[_0x180d17[_0x26baad]]&&(this[_0x180d17[_0x26baad]]=_0x287f9b[_0x180d17[_0x26baad]]);}}return _0x4da131['prototype']['range']=null,_0x4da131['prototype']['key']='',_0x4da131['prototype']['oldValueBoolean']=!0x1,_0x4da131['prototype']['oldValueJson']='',_0x4da131['prototype']['newValueBoolean']=!0x1,_0x4da131['prototype']['newValueJson']='',_0x4da131['prototype']['wasUndone']=!0x1,_0x4da131['create']=function(_0x5ad503){return new _0x4da131(_0x5ad503);},_0x4da131['encode']=function(_0x24d339,_0x4744bd){return _0x4744bd||(_0x4744bd=_0x3787e9['create']()),null!=_0x24d339['range']&&Object['hasOwnProperty']['call'](_0x24d339,'range')&&_0x4274ad['Range']['encode'](_0x24d339['range'],_0x4744bd['uint32'](0xa)['fork']())['ldelim'](),null!=_0x24d339['key']&&Object['hasOwnProperty']['call'](_0x24d339,'key')&&_0x4744bd['uint32'](0x12)['string'](_0x24d339['key']),null!=_0x24d339['oldValueBoolean']&&Object['hasOwnProperty']['call'](_0x24d339,'oldValueBoolean')&&_0x4744bd['uint32'](0x18)['bool'](_0x24d339['oldValueBoolean']),null!=_0x24d339['oldValueJson']&&Object['hasOwnProperty']['call'](_0x24d339,'oldValueJson')&&_0x4744bd['uint32'](0x22)['string'](_0x24d339['oldValueJson']),null!=_0x24d339['newValueBoolean']&&Object['hasOwnProperty']['call'](_0x24d339,'newValueBoolean')&&_0x4744bd['uint32'](0x28)['bool'](_0x24d339['newValueBoolean']),null!=_0x24d339['newValueJson']&&Object['hasOwnProperty']['call'](_0x24d339,'newValueJson')&&_0x4744bd['uint32'](0x32)['string'](_0x24d339['newValueJson']),null!=_0x24d339['wasUndone']&&Object['hasOwnProperty']['call'](_0x24d339,'wasUndone')&&_0x4744bd['uint32'](0x38)['bool'](_0x24d339['wasUndone']),_0x4744bd;},_0x4da131['encodeDelimited']=function(_0x44506f,_0x35adf1){return this['encode'](_0x44506f,_0x35adf1)['ldelim']();},_0x4da131['decode']=function(_0x1150ea,_0x368928){_0x1150ea instanceof _0x4e1b70||(_0x1150ea=_0x4e1b70['create'](_0x1150ea));for(var _0x4f65c9=void 0x0===_0x368928?_0x1150ea['len']:_0x1150ea['pos']+_0x368928,_0x9db69b=new _0x4274ad['AttributeOperation']();_0x1150ea['pos']<_0x4f65c9;){var _0x431c69=_0x1150ea['uint32']();switch(_0x431c69>>>0x3){case 0x1:_0x9db69b['range']=_0x4274ad['Range']['decode'](_0x1150ea,_0x1150ea['uint32']());break;case 0x2:_0x9db69b['key']=_0x1150ea['string']();break;case 0x3:_0x9db69b['oldValueBoolean']=_0x1150ea['bool']();break;case 0x4:_0x9db69b['oldValueJson']=_0x1150ea['string']();break;case 0x5:_0x9db69b['newValueBoolean']=_0x1150ea['bool']();break;case 0x6:_0x9db69b['newValueJson']=_0x1150ea['string']();break;case 0x7:_0x9db69b['wasUndone']=_0x1150ea['bool']();break;default:_0x1150ea['skipType'](0x7&_0x431c69);}}return _0x9db69b;},_0x4da131['decodeDelimited']=function(_0x1c0a17){return _0x1c0a17 instanceof _0x4e1b70||(_0x1c0a17=new _0x4e1b70(_0x1c0a17)),this['decode'](_0x1c0a17,_0x1c0a17['uint32']());},_0x4da131['verify']=function(_0x23ee25){if('object'!=typeof _0x23ee25||null===_0x23ee25)return'object\x20expected';if(null!=_0x23ee25['range']&&_0x23ee25['hasOwnProperty']('range')){var _0x5e3985=_0x4274ad['Range']['verify'](_0x23ee25['range']);if(_0x5e3985)return'range.'+_0x5e3985;}return null!=_0x23ee25['key']&&_0x23ee25['hasOwnProperty']('key')&&!_0xbad6f3['isString'](_0x23ee25['key'])?'key:\x20string\x20expected':null!=_0x23ee25['oldValueBoolean']&&_0x23ee25['hasOwnProperty']('oldValueBoolean')&&'boolean'!=typeof _0x23ee25['oldValueBoolean']?'oldValueBoolean:\x20boolean\x20expected':null!=_0x23ee25['oldValueJson']&&_0x23ee25['hasOwnProperty']('oldValueJson')&&!_0xbad6f3['isString'](_0x23ee25['oldValueJson'])?'oldValueJson:\x20string\x20expected':null!=_0x23ee25['newValueBoolean']&&_0x23ee25['hasOwnProperty']('newValueBoolean')&&'boolean'!=typeof _0x23ee25['newValueBoolean']?'newValueBoolean:\x20boolean\x20expected':null!=_0x23ee25['newValueJson']&&_0x23ee25['hasOwnProperty']('newValueJson')&&!_0xbad6f3['isString'](_0x23ee25['newValueJson'])?'newValueJson:\x20string\x20expected':null!=_0x23ee25['wasUndone']&&_0x23ee25['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x23ee25['wasUndone']?'wasUndone:\x20boolean\x20expected':null;},_0x4da131['fromObject']=function(_0x13b08b){if(_0x13b08b instanceof _0x4274ad['AttributeOperation'])return _0x13b08b;var _0x50e775=new _0x4274ad['AttributeOperation']();if(null!=_0x13b08b['range']){if('object'!=typeof _0x13b08b['range'])throw TypeError('.AttributeOperation.range:\x20object\x20expected');_0x50e775['range']=_0x4274ad['Range']['fromObject'](_0x13b08b['range']);}return null!=_0x13b08b['key']&&(_0x50e775['key']=String(_0x13b08b['key'])),null!=_0x13b08b['oldValueBoolean']&&(_0x50e775['oldValueBoolean']=Boolean(_0x13b08b['oldValueBoolean'])),null!=_0x13b08b['oldValueJson']&&(_0x50e775['oldValueJson']=String(_0x13b08b['oldValueJson'])),null!=_0x13b08b['newValueBoolean']&&(_0x50e775['newValueBoolean']=Boolean(_0x13b08b['newValueBoolean'])),null!=_0x13b08b['newValueJson']&&(_0x50e775['newValueJson']=String(_0x13b08b['newValueJson'])),null!=_0x13b08b['wasUndone']&&(_0x50e775['wasUndone']=Boolean(_0x13b08b['wasUndone'])),_0x50e775;},_0x4da131['toObject']=function(_0x24178f,_0xe5d8f2){_0xe5d8f2||(_0xe5d8f2={});var _0x2e17e9={};return _0xe5d8f2['defaults']&&(_0x2e17e9['range']=null,_0x2e17e9['key']='',_0x2e17e9['oldValueBoolean']=!0x1,_0x2e17e9['oldValueJson']='',_0x2e17e9['newValueBoolean']=!0x1,_0x2e17e9['newValueJson']='',_0x2e17e9['wasUndone']=!0x1),null!=_0x24178f['range']&&_0x24178f['hasOwnProperty']('range')&&(_0x2e17e9['range']=_0x4274ad['Range']['toObject'](_0x24178f['range'],_0xe5d8f2)),null!=_0x24178f['key']&&_0x24178f['hasOwnProperty']('key')&&(_0x2e17e9['key']=_0x24178f['key']),null!=_0x24178f['oldValueBoolean']&&_0x24178f['hasOwnProperty']('oldValueBoolean')&&(_0x2e17e9['oldValueBoolean']=_0x24178f['oldValueBoolean']),null!=_0x24178f['oldValueJson']&&_0x24178f['hasOwnProperty']('oldValueJson')&&(_0x2e17e9['oldValueJson']=_0x24178f['oldValueJson']),null!=_0x24178f['newValueBoolean']&&_0x24178f['hasOwnProperty']('newValueBoolean')&&(_0x2e17e9['newValueBoolean']=_0x24178f['newValueBoolean']),null!=_0x24178f['newValueJson']&&_0x24178f['hasOwnProperty']('newValueJson')&&(_0x2e17e9['newValueJson']=_0x24178f['newValueJson']),null!=_0x24178f['wasUndone']&&_0x24178f['hasOwnProperty']('wasUndone')&&(_0x2e17e9['wasUndone']=_0x24178f['wasUndone']),_0x2e17e9;},_0x4da131['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x4da131['getTypeUrl']=function(_0x2a0020){return void 0x0===_0x2a0020&&(_0x2a0020='type.googleapis.com'),_0x2a0020+'/AttributeOperation';},_0x4da131;}()),_0x4274ad['InsertOperation']=(function(){function _0x28db19(_0x19ddd1){if(this['nodes']=[],_0x19ddd1){for(var _0x3cc659=Object['keys'](_0x19ddd1),_0xbccf09=0x0;_0xbccf09<_0x3cc659['length'];++_0xbccf09)null!=_0x19ddd1[_0x3cc659[_0xbccf09]]&&(this[_0x3cc659[_0xbccf09]]=_0x19ddd1[_0x3cc659[_0xbccf09]]);}}return _0x28db19['prototype']['position']=null,_0x28db19['prototype']['nodes']=_0xbad6f3['emptyArray'],_0x28db19['prototype']['shouldReceiveAttributes']=!0x1,_0x28db19['prototype']['wasUndone']=!0x1,_0x28db19['create']=function(_0x1612ba){return new _0x28db19(_0x1612ba);},_0x28db19['encode']=function(_0x581748,_0xa817f6){if(_0xa817f6||(_0xa817f6=_0x3787e9['create']()),null!=_0x581748['position']&&Object['hasOwnProperty']['call'](_0x581748,'position')&&_0x4274ad['Position']['encode'](_0x581748['position'],_0xa817f6['uint32'](0xa)['fork']())['ldelim'](),null!=_0x581748['nodes']&&_0x581748['nodes']['length']){for(var _0x414ff9=0x0;_0x414ff9<_0x581748['nodes']['length'];++_0x414ff9)_0x4274ad['Element']['encode'](_0x581748['nodes'][_0x414ff9],_0xa817f6['uint32'](0x12)['fork']())['ldelim']();}return null!=_0x581748['shouldReceiveAttributes']&&Object['hasOwnProperty']['call'](_0x581748,'shouldReceiveAttributes')&&_0xa817f6['uint32'](0x18)['bool'](_0x581748['shouldReceiveAttributes']),null!=_0x581748['wasUndone']&&Object['hasOwnProperty']['call'](_0x581748,'wasUndone')&&_0xa817f6['uint32'](0x20)['bool'](_0x581748['wasUndone']),_0xa817f6;},_0x28db19['encodeDelimited']=function(_0x27e4bb,_0x29b718){return this['encode'](_0x27e4bb,_0x29b718)['ldelim']();},_0x28db19['decode']=function(_0x8dd67e,_0x14622c){_0x8dd67e instanceof _0x4e1b70||(_0x8dd67e=_0x4e1b70['create'](_0x8dd67e));for(var _0x5504e8=void 0x0===_0x14622c?_0x8dd67e['len']:_0x8dd67e['pos']+_0x14622c,_0x5ac4b0=new _0x4274ad['InsertOperation']();_0x8dd67e['pos']<_0x5504e8;){var _0x3be87c=_0x8dd67e['uint32']();switch(_0x3be87c>>>0x3){case 0x1:_0x5ac4b0['position']=_0x4274ad['Position']['decode'](_0x8dd67e,_0x8dd67e['uint32']());break;case 0x2:_0x5ac4b0['nodes']&&_0x5ac4b0['nodes']['length']||(_0x5ac4b0['nodes']=[]),_0x5ac4b0['nodes']['push'](_0x4274ad['Element']['decode'](_0x8dd67e,_0x8dd67e['uint32']()));break;case 0x3:_0x5ac4b0['shouldReceiveAttributes']=_0x8dd67e['bool']();break;case 0x4:_0x5ac4b0['wasUndone']=_0x8dd67e['bool']();break;default:_0x8dd67e['skipType'](0x7&_0x3be87c);}}return _0x5ac4b0;},_0x28db19['decodeDelimited']=function(_0x4765ff){return _0x4765ff instanceof _0x4e1b70||(_0x4765ff=new _0x4e1b70(_0x4765ff)),this['decode'](_0x4765ff,_0x4765ff['uint32']());},_0x28db19['verify']=function(_0x1cbd30){if('object'!=typeof _0x1cbd30||null===_0x1cbd30)return'object\x20expected';if(null!=_0x1cbd30['position']&&_0x1cbd30['hasOwnProperty']('position')&&(_0x415b5d=_0x4274ad['Position']['verify'](_0x1cbd30['position'])))return'position.'+_0x415b5d;if(null!=_0x1cbd30['nodes']&&_0x1cbd30['hasOwnProperty']('nodes')){if(!Array['isArray'](_0x1cbd30['nodes']))return'nodes:\x20array\x20expected';for(var _0x5c34cd=0x0;_0x5c34cd<_0x1cbd30['nodes']['length'];++_0x5c34cd){var _0x415b5d;if(_0x415b5d=_0x4274ad['Element']['verify'](_0x1cbd30['nodes'][_0x5c34cd]))return'nodes.'+_0x415b5d;}}return null!=_0x1cbd30['shouldReceiveAttributes']&&_0x1cbd30['hasOwnProperty']('shouldReceiveAttributes')&&'boolean'!=typeof _0x1cbd30['shouldReceiveAttributes']?'shouldReceiveAttributes:\x20boolean\x20expected':null!=_0x1cbd30['wasUndone']&&_0x1cbd30['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x1cbd30['wasUndone']?'wasUndone:\x20boolean\x20expected':null;},_0x28db19['fromObject']=function(_0x264f34){if(_0x264f34 instanceof _0x4274ad['InsertOperation'])return _0x264f34;var _0x3a74eb=new _0x4274ad['InsertOperation']();if(null!=_0x264f34['position']){if('object'!=typeof _0x264f34['position'])throw TypeError('.InsertOperation.position:\x20object\x20expected');_0x3a74eb['position']=_0x4274ad['Position']['fromObject'](_0x264f34['position']);}if(_0x264f34['nodes']){if(!Array['isArray'](_0x264f34['nodes']))throw TypeError('.InsertOperation.nodes:\x20array\x20expected');_0x3a74eb['nodes']=[];for(var _0x43573=0x0;_0x43573<_0x264f34['nodes']['length'];++_0x43573){if('object'!=typeof _0x264f34['nodes'][_0x43573])throw TypeError('.InsertOperation.nodes:\x20object\x20expected');_0x3a74eb['nodes'][_0x43573]=_0x4274ad['Element']['fromObject'](_0x264f34['nodes'][_0x43573]);}}return null!=_0x264f34['shouldReceiveAttributes']&&(_0x3a74eb['shouldReceiveAttributes']=Boolean(_0x264f34['shouldReceiveAttributes'])),null!=_0x264f34['wasUndone']&&(_0x3a74eb['wasUndone']=Boolean(_0x264f34['wasUndone'])),_0x3a74eb;},_0x28db19['toObject']=function(_0x56e49b,_0x1b1225){_0x1b1225||(_0x1b1225={});var _0x5ace37={};if((_0x1b1225['arrays']||_0x1b1225['defaults'])&&(_0x5ace37['nodes']=[]),_0x1b1225['defaults']&&(_0x5ace37['position']=null,_0x5ace37['shouldReceiveAttributes']=!0x1,_0x5ace37['wasUndone']=!0x1),null!=_0x56e49b['position']&&_0x56e49b['hasOwnProperty']('position')&&(_0x5ace37['position']=_0x4274ad['Position']['toObject'](_0x56e49b['position'],_0x1b1225)),_0x56e49b['nodes']&&_0x56e49b['nodes']['length']){_0x5ace37['nodes']=[];for(var _0x26fcbd=0x0;_0x26fcbd<_0x56e49b['nodes']['length'];++_0x26fcbd)_0x5ace37['nodes'][_0x26fcbd]=_0x4274ad['Element']['toObject'](_0x56e49b['nodes'][_0x26fcbd],_0x1b1225);}return null!=_0x56e49b['shouldReceiveAttributes']&&_0x56e49b['hasOwnProperty']('shouldReceiveAttributes')&&(_0x5ace37['shouldReceiveAttributes']=_0x56e49b['shouldReceiveAttributes']),null!=_0x56e49b['wasUndone']&&_0x56e49b['hasOwnProperty']('wasUndone')&&(_0x5ace37['wasUndone']=_0x56e49b['wasUndone']),_0x5ace37;},_0x28db19['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x28db19['getTypeUrl']=function(_0x5a6e82){return void 0x0===_0x5a6e82&&(_0x5a6e82='type.googleapis.com'),_0x5a6e82+'/InsertOperation';},_0x28db19;}()),_0x4274ad['MarkerOperation']=(function(){function _0xbc4603(_0x424bb4){if(_0x424bb4){for(var _0x2c93de=Object['keys'](_0x424bb4),_0x4b734b=0x0;_0x4b734b<_0x2c93de['length'];++_0x4b734b)null!=_0x424bb4[_0x2c93de[_0x4b734b]]&&(this[_0x2c93de[_0x4b734b]]=_0x424bb4[_0x2c93de[_0x4b734b]]);}}return _0xbc4603['prototype']['name']='',_0xbc4603['prototype']['oldRange']=null,_0xbc4603['prototype']['newRange']=null,_0xbc4603['prototype']['affectsData']=!0x1,_0xbc4603['prototype']['wasUndone']=!0x1,_0xbc4603['create']=function(_0x2811e6){return new _0xbc4603(_0x2811e6);},_0xbc4603['encode']=function(_0x262caa,_0x4427c4){return _0x4427c4||(_0x4427c4=_0x3787e9['create']()),null!=_0x262caa['name']&&Object['hasOwnProperty']['call'](_0x262caa,'name')&&_0x4427c4['uint32'](0xa)['string'](_0x262caa['name']),null!=_0x262caa['oldRange']&&Object['hasOwnProperty']['call'](_0x262caa,'oldRange')&&_0x4274ad['Range']['encode'](_0x262caa['oldRange'],_0x4427c4['uint32'](0x12)['fork']())['ldelim'](),null!=_0x262caa['newRange']&&Object['hasOwnProperty']['call'](_0x262caa,'newRange')&&_0x4274ad['Range']['encode'](_0x262caa['newRange'],_0x4427c4['uint32'](0x1a)['fork']())['ldelim'](),null!=_0x262caa['affectsData']&&Object['hasOwnProperty']['call'](_0x262caa,'affectsData')&&_0x4427c4['uint32'](0x20)['bool'](_0x262caa['affectsData']),null!=_0x262caa['wasUndone']&&Object['hasOwnProperty']['call'](_0x262caa,'wasUndone')&&_0x4427c4['uint32'](0x28)['bool'](_0x262caa['wasUndone']),_0x4427c4;},_0xbc4603['encodeDelimited']=function(_0x29304f,_0x58a6a4){return this['encode'](_0x29304f,_0x58a6a4)['ldelim']();},_0xbc4603['decode']=function(_0x5f2c6e,_0x5ab32f){_0x5f2c6e instanceof _0x4e1b70||(_0x5f2c6e=_0x4e1b70['create'](_0x5f2c6e));for(var _0x1e6b42=void 0x0===_0x5ab32f?_0x5f2c6e['len']:_0x5f2c6e['pos']+_0x5ab32f,_0x4a7f68=new _0x4274ad['MarkerOperation']();_0x5f2c6e['pos']<_0x1e6b42;){var _0x1a5a1a=_0x5f2c6e['uint32']();switch(_0x1a5a1a>>>0x3){case 0x1:_0x4a7f68['name']=_0x5f2c6e['string']();break;case 0x2:_0x4a7f68['oldRange']=_0x4274ad['Range']['decode'](_0x5f2c6e,_0x5f2c6e['uint32']());break;case 0x3:_0x4a7f68['newRange']=_0x4274ad['Range']['decode'](_0x5f2c6e,_0x5f2c6e['uint32']());break;case 0x4:_0x4a7f68['affectsData']=_0x5f2c6e['bool']();break;case 0x5:_0x4a7f68['wasUndone']=_0x5f2c6e['bool']();break;default:_0x5f2c6e['skipType'](0x7&_0x1a5a1a);}}return _0x4a7f68;},_0xbc4603['decodeDelimited']=function(_0x12bb92){return _0x12bb92 instanceof _0x4e1b70||(_0x12bb92=new _0x4e1b70(_0x12bb92)),this['decode'](_0x12bb92,_0x12bb92['uint32']());},_0xbc4603['verify']=function(_0x125dd8){if('object'!=typeof _0x125dd8||null===_0x125dd8)return'object\x20expected';if(null!=_0x125dd8['name']&&_0x125dd8['hasOwnProperty']('name')&&!_0xbad6f3['isString'](_0x125dd8['name']))return'name:\x20string\x20expected';var _0x4f6f5f;if(null!=_0x125dd8['oldRange']&&_0x125dd8['hasOwnProperty']('oldRange')&&(_0x4f6f5f=_0x4274ad['Range']['verify'](_0x125dd8['oldRange'])))return'oldRange.'+_0x4f6f5f;if(null!=_0x125dd8['newRange']&&_0x125dd8['hasOwnProperty']('newRange')&&(_0x4f6f5f=_0x4274ad['Range']['verify'](_0x125dd8['newRange'])))return'newRange.'+_0x4f6f5f;return null!=_0x125dd8['affectsData']&&_0x125dd8['hasOwnProperty']('affectsData')&&'boolean'!=typeof _0x125dd8['affectsData']?'affectsData:\x20boolean\x20expected':null!=_0x125dd8['wasUndone']&&_0x125dd8['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x125dd8['wasUndone']?'wasUndone:\x20boolean\x20expected':null;},_0xbc4603['fromObject']=function(_0x3720f5){if(_0x3720f5 instanceof _0x4274ad['MarkerOperation'])return _0x3720f5;var _0x31d056=new _0x4274ad['MarkerOperation']();if(null!=_0x3720f5['name']&&(_0x31d056['name']=String(_0x3720f5['name'])),null!=_0x3720f5['oldRange']){if('object'!=typeof _0x3720f5['oldRange'])throw TypeError('.MarkerOperation.oldRange:\x20object\x20expected');_0x31d056['oldRange']=_0x4274ad['Range']['fromObject'](_0x3720f5['oldRange']);}if(null!=_0x3720f5['newRange']){if('object'!=typeof _0x3720f5['newRange'])throw TypeError('.MarkerOperation.newRange:\x20object\x20expected');_0x31d056['newRange']=_0x4274ad['Range']['fromObject'](_0x3720f5['newRange']);}return null!=_0x3720f5['affectsData']&&(_0x31d056['affectsData']=Boolean(_0x3720f5['affectsData'])),null!=_0x3720f5['wasUndone']&&(_0x31d056['wasUndone']=Boolean(_0x3720f5['wasUndone'])),_0x31d056;},_0xbc4603['toObject']=function(_0x832c42,_0x3c5276){_0x3c5276||(_0x3c5276={});var _0x5eb0b1={};return _0x3c5276['defaults']&&(_0x5eb0b1['name']='',_0x5eb0b1['oldRange']=null,_0x5eb0b1['newRange']=null,_0x5eb0b1['affectsData']=!0x1,_0x5eb0b1['wasUndone']=!0x1),null!=_0x832c42['name']&&_0x832c42['hasOwnProperty']('name')&&(_0x5eb0b1['name']=_0x832c42['name']),null!=_0x832c42['oldRange']&&_0x832c42['hasOwnProperty']('oldRange')&&(_0x5eb0b1['oldRange']=_0x4274ad['Range']['toObject'](_0x832c42['oldRange'],_0x3c5276)),null!=_0x832c42['newRange']&&_0x832c42['hasOwnProperty']('newRange')&&(_0x5eb0b1['newRange']=_0x4274ad['Range']['toObject'](_0x832c42['newRange'],_0x3c5276)),null!=_0x832c42['affectsData']&&_0x832c42['hasOwnProperty']('affectsData')&&(_0x5eb0b1['affectsData']=_0x832c42['affectsData']),null!=_0x832c42['wasUndone']&&_0x832c42['hasOwnProperty']('wasUndone')&&(_0x5eb0b1['wasUndone']=_0x832c42['wasUndone']),_0x5eb0b1;},_0xbc4603['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0xbc4603['getTypeUrl']=function(_0x353ac6){return void 0x0===_0x353ac6&&(_0x353ac6='type.googleapis.com'),_0x353ac6+'/MarkerOperation';},_0xbc4603;}()),_0x4274ad['MergeOperation']=(function(){function _0x23b870(_0x7f8e0f){if(_0x7f8e0f){for(var _0x4e802b=Object['keys'](_0x7f8e0f),_0x8c5b6e=0x0;_0x8c5b6e<_0x4e802b['length'];++_0x8c5b6e)null!=_0x7f8e0f[_0x4e802b[_0x8c5b6e]]&&(this[_0x4e802b[_0x8c5b6e]]=_0x7f8e0f[_0x4e802b[_0x8c5b6e]]);}}return _0x23b870['prototype']['sourcePosition']=null,_0x23b870['prototype']['targetPosition']=null,_0x23b870['prototype']['graveyardPosition']=null,_0x23b870['prototype']['howMany']=0x0,_0x23b870['prototype']['wasUndone']=!0x1,_0x23b870['create']=function(_0x498abc){return new _0x23b870(_0x498abc);},_0x23b870['encode']=function(_0x2d7376,_0x25eb70){return _0x25eb70||(_0x25eb70=_0x3787e9['create']()),null!=_0x2d7376['sourcePosition']&&Object['hasOwnProperty']['call'](_0x2d7376,'sourcePosition')&&_0x4274ad['Position']['encode'](_0x2d7376['sourcePosition'],_0x25eb70['uint32'](0xa)['fork']())['ldelim'](),null!=_0x2d7376['targetPosition']&&Object['hasOwnProperty']['call'](_0x2d7376,'targetPosition')&&_0x4274ad['Position']['encode'](_0x2d7376['targetPosition'],_0x25eb70['uint32'](0x12)['fork']())['ldelim'](),null!=_0x2d7376['graveyardPosition']&&Object['hasOwnProperty']['call'](_0x2d7376,'graveyardPosition')&&_0x4274ad['Position']['encode'](_0x2d7376['graveyardPosition'],_0x25eb70['uint32'](0x1a)['fork']())['ldelim'](),null!=_0x2d7376['howMany']&&Object['hasOwnProperty']['call'](_0x2d7376,'howMany')&&_0x25eb70['uint32'](0x20)['uint32'](_0x2d7376['howMany']),null!=_0x2d7376['wasUndone']&&Object['hasOwnProperty']['call'](_0x2d7376,'wasUndone')&&_0x25eb70['uint32'](0x28)['bool'](_0x2d7376['wasUndone']),_0x25eb70;},_0x23b870['encodeDelimited']=function(_0x28da35,_0x5d6924){return this['encode'](_0x28da35,_0x5d6924)['ldelim']();},_0x23b870['decode']=function(_0x11bf48,_0x468c89){_0x11bf48 instanceof _0x4e1b70||(_0x11bf48=_0x4e1b70['create'](_0x11bf48));for(var _0x591616=void 0x0===_0x468c89?_0x11bf48['len']:_0x11bf48['pos']+_0x468c89,_0x230a7d=new _0x4274ad['MergeOperation']();_0x11bf48['pos']<_0x591616;){var _0x57761b=_0x11bf48['uint32']();switch(_0x57761b>>>0x3){case 0x1:_0x230a7d['sourcePosition']=_0x4274ad['Position']['decode'](_0x11bf48,_0x11bf48['uint32']());break;case 0x2:_0x230a7d['targetPosition']=_0x4274ad['Position']['decode'](_0x11bf48,_0x11bf48['uint32']());break;case 0x3:_0x230a7d['graveyardPosition']=_0x4274ad['Position']['decode'](_0x11bf48,_0x11bf48['uint32']());break;case 0x4:_0x230a7d['howMany']=_0x11bf48['uint32']();break;case 0x5:_0x230a7d['wasUndone']=_0x11bf48['bool']();break;default:_0x11bf48['skipType'](0x7&_0x57761b);}}return _0x230a7d;},_0x23b870['decodeDelimited']=function(_0x4bd740){return _0x4bd740 instanceof _0x4e1b70||(_0x4bd740=new _0x4e1b70(_0x4bd740)),this['decode'](_0x4bd740,_0x4bd740['uint32']());},_0x23b870['verify']=function(_0x5241f2){if('object'!=typeof _0x5241f2||null===_0x5241f2)return'object\x20expected';var _0x1d2b54;if(null!=_0x5241f2['sourcePosition']&&_0x5241f2['hasOwnProperty']('sourcePosition')&&(_0x1d2b54=_0x4274ad['Position']['verify'](_0x5241f2['sourcePosition'])))return'sourcePosition.'+_0x1d2b54;if(null!=_0x5241f2['targetPosition']&&_0x5241f2['hasOwnProperty']('targetPosition')&&(_0x1d2b54=_0x4274ad['Position']['verify'](_0x5241f2['targetPosition'])))return'targetPosition.'+_0x1d2b54;if(null!=_0x5241f2['graveyardPosition']&&_0x5241f2['hasOwnProperty']('graveyardPosition')&&(_0x1d2b54=_0x4274ad['Position']['verify'](_0x5241f2['graveyardPosition'])))return'graveyardPosition.'+_0x1d2b54;return null!=_0x5241f2['howMany']&&_0x5241f2['hasOwnProperty']('howMany')&&!_0xbad6f3['isInteger'](_0x5241f2['howMany'])?'howMany:\x20integer\x20expected':null!=_0x5241f2['wasUndone']&&_0x5241f2['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x5241f2['wasUndone']?'wasUndone:\x20boolean\x20expected':null;},_0x23b870['fromObject']=function(_0x541f88){if(_0x541f88 instanceof _0x4274ad['MergeOperation'])return _0x541f88;var _0x3cb9ab=new _0x4274ad['MergeOperation']();if(null!=_0x541f88['sourcePosition']){if('object'!=typeof _0x541f88['sourcePosition'])throw TypeError('.MergeOperation.sourcePosition:\x20object\x20expected');_0x3cb9ab['sourcePosition']=_0x4274ad['Position']['fromObject'](_0x541f88['sourcePosition']);}if(null!=_0x541f88['targetPosition']){if('object'!=typeof _0x541f88['targetPosition'])throw TypeError('.MergeOperation.targetPosition:\x20object\x20expected');_0x3cb9ab['targetPosition']=_0x4274ad['Position']['fromObject'](_0x541f88['targetPosition']);}if(null!=_0x541f88['graveyardPosition']){if('object'!=typeof _0x541f88['graveyardPosition'])throw TypeError('.MergeOperation.graveyardPosition:\x20object\x20expected');_0x3cb9ab['graveyardPosition']=_0x4274ad['Position']['fromObject'](_0x541f88['graveyardPosition']);}return null!=_0x541f88['howMany']&&(_0x3cb9ab['howMany']=_0x541f88['howMany']>>>0x0),null!=_0x541f88['wasUndone']&&(_0x3cb9ab['wasUndone']=Boolean(_0x541f88['wasUndone'])),_0x3cb9ab;},_0x23b870['toObject']=function(_0x324636,_0x496716){_0x496716||(_0x496716={});var _0x3318f9={};return _0x496716['defaults']&&(_0x3318f9['sourcePosition']=null,_0x3318f9['targetPosition']=null,_0x3318f9['graveyardPosition']=null,_0x3318f9['howMany']=0x0,_0x3318f9['wasUndone']=!0x1),null!=_0x324636['sourcePosition']&&_0x324636['hasOwnProperty']('sourcePosition')&&(_0x3318f9['sourcePosition']=_0x4274ad['Position']['toObject'](_0x324636['sourcePosition'],_0x496716)),null!=_0x324636['targetPosition']&&_0x324636['hasOwnProperty']('targetPosition')&&(_0x3318f9['targetPosition']=_0x4274ad['Position']['toObject'](_0x324636['targetPosition'],_0x496716)),null!=_0x324636['graveyardPosition']&&_0x324636['hasOwnProperty']('graveyardPosition')&&(_0x3318f9['graveyardPosition']=_0x4274ad['Position']['toObject'](_0x324636['graveyardPosition'],_0x496716)),null!=_0x324636['howMany']&&_0x324636['hasOwnProperty']('howMany')&&(_0x3318f9['howMany']=_0x324636['howMany']),null!=_0x324636['wasUndone']&&_0x324636['hasOwnProperty']('wasUndone')&&(_0x3318f9['wasUndone']=_0x324636['wasUndone']),_0x3318f9;},_0x23b870['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x23b870['getTypeUrl']=function(_0x5bdbb8){return void 0x0===_0x5bdbb8&&(_0x5bdbb8='type.googleapis.com'),_0x5bdbb8+'/MergeOperation';},_0x23b870;}()),_0x4274ad['MoveOperation']=(function(){function _0x1d88f1(_0x1f365e){if(_0x1f365e){for(var _0xb5e5d8=Object['keys'](_0x1f365e),_0x3e5d97=0x0;_0x3e5d97<_0xb5e5d8['length'];++_0x3e5d97)null!=_0x1f365e[_0xb5e5d8[_0x3e5d97]]&&(this[_0xb5e5d8[_0x3e5d97]]=_0x1f365e[_0xb5e5d8[_0x3e5d97]]);}}return _0x1d88f1['prototype']['sourcePosition']=null,_0x1d88f1['prototype']['howMany']=0x0,_0x1d88f1['prototype']['targetPosition']=null,_0x1d88f1['prototype']['wasUndone']=!0x1,_0x1d88f1['create']=function(_0x332feb){return new _0x1d88f1(_0x332feb);},_0x1d88f1['encode']=function(_0x4a3a73,_0x1daecb){return _0x1daecb||(_0x1daecb=_0x3787e9['create']()),null!=_0x4a3a73['sourcePosition']&&Object['hasOwnProperty']['call'](_0x4a3a73,'sourcePosition')&&_0x4274ad['Position']['encode'](_0x4a3a73['sourcePosition'],_0x1daecb['uint32'](0xa)['fork']())['ldelim'](),null!=_0x4a3a73['howMany']&&Object['hasOwnProperty']['call'](_0x4a3a73,'howMany')&&_0x1daecb['uint32'](0x10)['uint32'](_0x4a3a73['howMany']),null!=_0x4a3a73['targetPosition']&&Object['hasOwnProperty']['call'](_0x4a3a73,'targetPosition')&&_0x4274ad['Position']['encode'](_0x4a3a73['targetPosition'],_0x1daecb['uint32'](0x1a)['fork']())['ldelim'](),null!=_0x4a3a73['wasUndone']&&Object['hasOwnProperty']['call'](_0x4a3a73,'wasUndone')&&_0x1daecb['uint32'](0x20)['bool'](_0x4a3a73['wasUndone']),_0x1daecb;},_0x1d88f1['encodeDelimited']=function(_0x4c30ba,_0xc051d5){return this['encode'](_0x4c30ba,_0xc051d5)['ldelim']();},_0x1d88f1['decode']=function(_0x52960d,_0x39503c){_0x52960d instanceof _0x4e1b70||(_0x52960d=_0x4e1b70['create'](_0x52960d));for(var _0x34f0bb=void 0x0===_0x39503c?_0x52960d['len']:_0x52960d['pos']+_0x39503c,_0x42a661=new _0x4274ad['MoveOperation']();_0x52960d['pos']<_0x34f0bb;){var _0x23dcee=_0x52960d['uint32']();switch(_0x23dcee>>>0x3){case 0x1:_0x42a661['sourcePosition']=_0x4274ad['Position']['decode'](_0x52960d,_0x52960d['uint32']());break;case 0x2:_0x42a661['howMany']=_0x52960d['uint32']();break;case 0x3:_0x42a661['targetPosition']=_0x4274ad['Position']['decode'](_0x52960d,_0x52960d['uint32']());break;case 0x4:_0x42a661['wasUndone']=_0x52960d['bool']();break;default:_0x52960d['skipType'](0x7&_0x23dcee);}}return _0x42a661;},_0x1d88f1['decodeDelimited']=function(_0x619e09){return _0x619e09 instanceof _0x4e1b70||(_0x619e09=new _0x4e1b70(_0x619e09)),this['decode'](_0x619e09,_0x619e09['uint32']());},_0x1d88f1['verify']=function(_0x36f1f2){if('object'!=typeof _0x36f1f2||null===_0x36f1f2)return'object\x20expected';var _0x48da50;if(null!=_0x36f1f2['sourcePosition']&&_0x36f1f2['hasOwnProperty']('sourcePosition')&&(_0x48da50=_0x4274ad['Position']['verify'](_0x36f1f2['sourcePosition'])))return'sourcePosition.'+_0x48da50;if(null!=_0x36f1f2['howMany']&&_0x36f1f2['hasOwnProperty']('howMany')&&!_0xbad6f3['isInteger'](_0x36f1f2['howMany']))return'howMany:\x20integer\x20expected';if(null!=_0x36f1f2['targetPosition']&&_0x36f1f2['hasOwnProperty']('targetPosition')&&(_0x48da50=_0x4274ad['Position']['verify'](_0x36f1f2['targetPosition'])))return'targetPosition.'+_0x48da50;return null!=_0x36f1f2['wasUndone']&&_0x36f1f2['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x36f1f2['wasUndone']?'wasUndone:\x20boolean\x20expected':null;},_0x1d88f1['fromObject']=function(_0x16874f){if(_0x16874f instanceof _0x4274ad['MoveOperation'])return _0x16874f;var _0x2a75ef=new _0x4274ad['MoveOperation']();if(null!=_0x16874f['sourcePosition']){if('object'!=typeof _0x16874f['sourcePosition'])throw TypeError('.MoveOperation.sourcePosition:\x20object\x20expected');_0x2a75ef['sourcePosition']=_0x4274ad['Position']['fromObject'](_0x16874f['sourcePosition']);}if(null!=_0x16874f['howMany']&&(_0x2a75ef['howMany']=_0x16874f['howMany']>>>0x0),null!=_0x16874f['targetPosition']){if('object'!=typeof _0x16874f['targetPosition'])throw TypeError('.MoveOperation.targetPosition:\x20object\x20expected');_0x2a75ef['targetPosition']=_0x4274ad['Position']['fromObject'](_0x16874f['targetPosition']);}return null!=_0x16874f['wasUndone']&&(_0x2a75ef['wasUndone']=Boolean(_0x16874f['wasUndone'])),_0x2a75ef;},_0x1d88f1['toObject']=function(_0x1e40a2,_0x29bc08){_0x29bc08||(_0x29bc08={});var _0x485d4a={};return _0x29bc08['defaults']&&(_0x485d4a['sourcePosition']=null,_0x485d4a['howMany']=0x0,_0x485d4a['targetPosition']=null,_0x485d4a['wasUndone']=!0x1),null!=_0x1e40a2['sourcePosition']&&_0x1e40a2['hasOwnProperty']('sourcePosition')&&(_0x485d4a['sourcePosition']=_0x4274ad['Position']['toObject'](_0x1e40a2['sourcePosition'],_0x29bc08)),null!=_0x1e40a2['howMany']&&_0x1e40a2['hasOwnProperty']('howMany')&&(_0x485d4a['howMany']=_0x1e40a2['howMany']),null!=_0x1e40a2['targetPosition']&&_0x1e40a2['hasOwnProperty']('targetPosition')&&(_0x485d4a['targetPosition']=_0x4274ad['Position']['toObject'](_0x1e40a2['targetPosition'],_0x29bc08)),null!=_0x1e40a2['wasUndone']&&_0x1e40a2['hasOwnProperty']('wasUndone')&&(_0x485d4a['wasUndone']=_0x1e40a2['wasUndone']),_0x485d4a;},_0x1d88f1['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x1d88f1['getTypeUrl']=function(_0x558a77){return void 0x0===_0x558a77&&(_0x558a77='type.googleapis.com'),_0x558a77+'/MoveOperation';},_0x1d88f1;}()),_0x4274ad['RenameOperation']=(function(){function _0x5b8390(_0x5725bb){if(_0x5725bb){for(var _0x57aa83=Object['keys'](_0x5725bb),_0x9aa4ad=0x0;_0x9aa4ad<_0x57aa83['length'];++_0x9aa4ad)null!=_0x5725bb[_0x57aa83[_0x9aa4ad]]&&(this[_0x57aa83[_0x9aa4ad]]=_0x5725bb[_0x57aa83[_0x9aa4ad]]);}}return _0x5b8390['prototype']['position']=null,_0x5b8390['prototype']['oldName']='',_0x5b8390['prototype']['newName']='',_0x5b8390['prototype']['wasUndone']=!0x1,_0x5b8390['create']=function(_0x4c3368){return new _0x5b8390(_0x4c3368);},_0x5b8390['encode']=function(_0x5b7f58,_0x355004){return _0x355004||(_0x355004=_0x3787e9['create']()),null!=_0x5b7f58['position']&&Object['hasOwnProperty']['call'](_0x5b7f58,'position')&&_0x4274ad['Position']['encode'](_0x5b7f58['position'],_0x355004['uint32'](0xa)['fork']())['ldelim'](),null!=_0x5b7f58['oldName']&&Object['hasOwnProperty']['call'](_0x5b7f58,'oldName')&&_0x355004['uint32'](0x12)['string'](_0x5b7f58['oldName']),null!=_0x5b7f58['newName']&&Object['hasOwnProperty']['call'](_0x5b7f58,'newName')&&_0x355004['uint32'](0x1a)['string'](_0x5b7f58['newName']),null!=_0x5b7f58['wasUndone']&&Object['hasOwnProperty']['call'](_0x5b7f58,'wasUndone')&&_0x355004['uint32'](0x20)['bool'](_0x5b7f58['wasUndone']),_0x355004;},_0x5b8390['encodeDelimited']=function(_0x12faac,_0x26ef8d){return this['encode'](_0x12faac,_0x26ef8d)['ldelim']();},_0x5b8390['decode']=function(_0x3b519c,_0x351058){_0x3b519c instanceof _0x4e1b70||(_0x3b519c=_0x4e1b70['create'](_0x3b519c));for(var _0x4601e1=void 0x0===_0x351058?_0x3b519c['len']:_0x3b519c['pos']+_0x351058,_0x587b2c=new _0x4274ad['RenameOperation']();_0x3b519c['pos']<_0x4601e1;){var _0x430a90=_0x3b519c['uint32']();switch(_0x430a90>>>0x3){case 0x1:_0x587b2c['position']=_0x4274ad['Position']['decode'](_0x3b519c,_0x3b519c['uint32']());break;case 0x2:_0x587b2c['oldName']=_0x3b519c['string']();break;case 0x3:_0x587b2c['newName']=_0x3b519c['string']();break;case 0x4:_0x587b2c['wasUndone']=_0x3b519c['bool']();break;default:_0x3b519c['skipType'](0x7&_0x430a90);}}return _0x587b2c;},_0x5b8390['decodeDelimited']=function(_0x1979c4){return _0x1979c4 instanceof _0x4e1b70||(_0x1979c4=new _0x4e1b70(_0x1979c4)),this['decode'](_0x1979c4,_0x1979c4['uint32']());},_0x5b8390['verify']=function(_0x3ca943){if('object'!=typeof _0x3ca943||null===_0x3ca943)return'object\x20expected';if(null!=_0x3ca943['position']&&_0x3ca943['hasOwnProperty']('position')){var _0x1388fe=_0x4274ad['Position']['verify'](_0x3ca943['position']);if(_0x1388fe)return'position.'+_0x1388fe;}return null!=_0x3ca943['oldName']&&_0x3ca943['hasOwnProperty']('oldName')&&!_0xbad6f3['isString'](_0x3ca943['oldName'])?'oldName:\x20string\x20expected':null!=_0x3ca943['newName']&&_0x3ca943['hasOwnProperty']('newName')&&!_0xbad6f3['isString'](_0x3ca943['newName'])?'newName:\x20string\x20expected':null!=_0x3ca943['wasUndone']&&_0x3ca943['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x3ca943['wasUndone']?'wasUndone:\x20boolean\x20expected':null;},_0x5b8390['fromObject']=function(_0x3fd288){if(_0x3fd288 instanceof _0x4274ad['RenameOperation'])return _0x3fd288;var _0x2f17b9=new _0x4274ad['RenameOperation']();if(null!=_0x3fd288['position']){if('object'!=typeof _0x3fd288['position'])throw TypeError('.RenameOperation.position:\x20object\x20expected');_0x2f17b9['position']=_0x4274ad['Position']['fromObject'](_0x3fd288['position']);}return null!=_0x3fd288['oldName']&&(_0x2f17b9['oldName']=String(_0x3fd288['oldName'])),null!=_0x3fd288['newName']&&(_0x2f17b9['newName']=String(_0x3fd288['newName'])),null!=_0x3fd288['wasUndone']&&(_0x2f17b9['wasUndone']=Boolean(_0x3fd288['wasUndone'])),_0x2f17b9;},_0x5b8390['toObject']=function(_0x1c070d,_0x2adcd5){_0x2adcd5||(_0x2adcd5={});var _0x519cb8={};return _0x2adcd5['defaults']&&(_0x519cb8['position']=null,_0x519cb8['oldName']='',_0x519cb8['newName']='',_0x519cb8['wasUndone']=!0x1),null!=_0x1c070d['position']&&_0x1c070d['hasOwnProperty']('position')&&(_0x519cb8['position']=_0x4274ad['Position']['toObject'](_0x1c070d['position'],_0x2adcd5)),null!=_0x1c070d['oldName']&&_0x1c070d['hasOwnProperty']('oldName')&&(_0x519cb8['oldName']=_0x1c070d['oldName']),null!=_0x1c070d['newName']&&_0x1c070d['hasOwnProperty']('newName')&&(_0x519cb8['newName']=_0x1c070d['newName']),null!=_0x1c070d['wasUndone']&&_0x1c070d['hasOwnProperty']('wasUndone')&&(_0x519cb8['wasUndone']=_0x1c070d['wasUndone']),_0x519cb8;},_0x5b8390['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x5b8390['getTypeUrl']=function(_0x56c2b8){return void 0x0===_0x56c2b8&&(_0x56c2b8='type.googleapis.com'),_0x56c2b8+'/RenameOperation';},_0x5b8390;}()),_0x4274ad['RootAttributeOperation']=(function(){function _0x1e8a8e(_0x43fbcb){if(_0x43fbcb){for(var _0x432380=Object['keys'](_0x43fbcb),_0x44d7a5=0x0;_0x44d7a5<_0x432380['length'];++_0x44d7a5)null!=_0x43fbcb[_0x432380[_0x44d7a5]]&&(this[_0x432380[_0x44d7a5]]=_0x43fbcb[_0x432380[_0x44d7a5]]);}}return _0x1e8a8e['prototype']['root']='',_0x1e8a8e['prototype']['key']='',_0x1e8a8e['prototype']['oldValueBoolean']=!0x1,_0x1e8a8e['prototype']['oldValueJson']='',_0x1e8a8e['prototype']['newValueBoolean']=!0x1,_0x1e8a8e['prototype']['newValueJson']='',_0x1e8a8e['prototype']['wasUndone']=!0x1,_0x1e8a8e['create']=function(_0x47832b){return new _0x1e8a8e(_0x47832b);},_0x1e8a8e['encode']=function(_0x297a51,_0x3c13ea){return _0x3c13ea||(_0x3c13ea=_0x3787e9['create']()),null!=_0x297a51['root']&&Object['hasOwnProperty']['call'](_0x297a51,'root')&&_0x3c13ea['uint32'](0xa)['string'](_0x297a51['root']),null!=_0x297a51['key']&&Object['hasOwnProperty']['call'](_0x297a51,'key')&&_0x3c13ea['uint32'](0x12)['string'](_0x297a51['key']),null!=_0x297a51['oldValueBoolean']&&Object['hasOwnProperty']['call'](_0x297a51,'oldValueBoolean')&&_0x3c13ea['uint32'](0x18)['bool'](_0x297a51['oldValueBoolean']),null!=_0x297a51['oldValueJson']&&Object['hasOwnProperty']['call'](_0x297a51,'oldValueJson')&&_0x3c13ea['uint32'](0x22)['string'](_0x297a51['oldValueJson']),null!=_0x297a51['newValueBoolean']&&Object['hasOwnProperty']['call'](_0x297a51,'newValueBoolean')&&_0x3c13ea['uint32'](0x28)['bool'](_0x297a51['newValueBoolean']),null!=_0x297a51['newValueJson']&&Object['hasOwnProperty']['call'](_0x297a51,'newValueJson')&&_0x3c13ea['uint32'](0x32)['string'](_0x297a51['newValueJson']),null!=_0x297a51['wasUndone']&&Object['hasOwnProperty']['call'](_0x297a51,'wasUndone')&&_0x3c13ea['uint32'](0x38)['bool'](_0x297a51['wasUndone']),_0x3c13ea;},_0x1e8a8e['encodeDelimited']=function(_0x213a0e,_0x598444){return this['encode'](_0x213a0e,_0x598444)['ldelim']();},_0x1e8a8e['decode']=function(_0x432dbb,_0x23188a){_0x432dbb instanceof _0x4e1b70||(_0x432dbb=_0x4e1b70['create'](_0x432dbb));for(var _0x5022ac=void 0x0===_0x23188a?_0x432dbb['len']:_0x432dbb['pos']+_0x23188a,_0x5614c0=new _0x4274ad['RootAttributeOperation']();_0x432dbb['pos']<_0x5022ac;){var _0x32809f=_0x432dbb['uint32']();switch(_0x32809f>>>0x3){case 0x1:_0x5614c0['root']=_0x432dbb['string']();break;case 0x2:_0x5614c0['key']=_0x432dbb['string']();break;case 0x3:_0x5614c0['oldValueBoolean']=_0x432dbb['bool']();break;case 0x4:_0x5614c0['oldValueJson']=_0x432dbb['string']();break;case 0x5:_0x5614c0['newValueBoolean']=_0x432dbb['bool']();break;case 0x6:_0x5614c0['newValueJson']=_0x432dbb['string']();break;case 0x7:_0x5614c0['wasUndone']=_0x432dbb['bool']();break;default:_0x432dbb['skipType'](0x7&_0x32809f);}}return _0x5614c0;},_0x1e8a8e['decodeDelimited']=function(_0x5a18f9){return _0x5a18f9 instanceof _0x4e1b70||(_0x5a18f9=new _0x4e1b70(_0x5a18f9)),this['decode'](_0x5a18f9,_0x5a18f9['uint32']());},_0x1e8a8e['verify']=function(_0x5dc101){return'object'!=typeof _0x5dc101||null===_0x5dc101?'object\x20expected':null!=_0x5dc101['root']&&_0x5dc101['hasOwnProperty']('root')&&!_0xbad6f3['isString'](_0x5dc101['root'])?'root:\x20string\x20expected':null!=_0x5dc101['key']&&_0x5dc101['hasOwnProperty']('key')&&!_0xbad6f3['isString'](_0x5dc101['key'])?'key:\x20string\x20expected':null!=_0x5dc101['oldValueBoolean']&&_0x5dc101['hasOwnProperty']('oldValueBoolean')&&'boolean'!=typeof _0x5dc101['oldValueBoolean']?'oldValueBoolean:\x20boolean\x20expected':null!=_0x5dc101['oldValueJson']&&_0x5dc101['hasOwnProperty']('oldValueJson')&&!_0xbad6f3['isString'](_0x5dc101['oldValueJson'])?'oldValueJson:\x20string\x20expected':null!=_0x5dc101['newValueBoolean']&&_0x5dc101['hasOwnProperty']('newValueBoolean')&&'boolean'!=typeof _0x5dc101['newValueBoolean']?'newValueBoolean:\x20boolean\x20expected':null!=_0x5dc101['newValueJson']&&_0x5dc101['hasOwnProperty']('newValueJson')&&!_0xbad6f3['isString'](_0x5dc101['newValueJson'])?'newValueJson:\x20string\x20expected':null!=_0x5dc101['wasUndone']&&_0x5dc101['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x5dc101['wasUndone']?'wasUndone:\x20boolean\x20expected':null;},_0x1e8a8e['fromObject']=function(_0x4a306b){if(_0x4a306b instanceof _0x4274ad['RootAttributeOperation'])return _0x4a306b;var _0xe79c56=new _0x4274ad['RootAttributeOperation']();return null!=_0x4a306b['root']&&(_0xe79c56['root']=String(_0x4a306b['root'])),null!=_0x4a306b['key']&&(_0xe79c56['key']=String(_0x4a306b['key'])),null!=_0x4a306b['oldValueBoolean']&&(_0xe79c56['oldValueBoolean']=Boolean(_0x4a306b['oldValueBoolean'])),null!=_0x4a306b['oldValueJson']&&(_0xe79c56['oldValueJson']=String(_0x4a306b['oldValueJson'])),null!=_0x4a306b['newValueBoolean']&&(_0xe79c56['newValueBoolean']=Boolean(_0x4a306b['newValueBoolean'])),null!=_0x4a306b['newValueJson']&&(_0xe79c56['newValueJson']=String(_0x4a306b['newValueJson'])),null!=_0x4a306b['wasUndone']&&(_0xe79c56['wasUndone']=Boolean(_0x4a306b['wasUndone'])),_0xe79c56;},_0x1e8a8e['toObject']=function(_0x29423a,_0x52efa2){_0x52efa2||(_0x52efa2={});var _0x54f2a8={};return _0x52efa2['defaults']&&(_0x54f2a8['root']='',_0x54f2a8['key']='',_0x54f2a8['oldValueBoolean']=!0x1,_0x54f2a8['oldValueJson']='',_0x54f2a8['newValueBoolean']=!0x1,_0x54f2a8['newValueJson']='',_0x54f2a8['wasUndone']=!0x1),null!=_0x29423a['root']&&_0x29423a['hasOwnProperty']('root')&&(_0x54f2a8['root']=_0x29423a['root']),null!=_0x29423a['key']&&_0x29423a['hasOwnProperty']('key')&&(_0x54f2a8['key']=_0x29423a['key']),null!=_0x29423a['oldValueBoolean']&&_0x29423a['hasOwnProperty']('oldValueBoolean')&&(_0x54f2a8['oldValueBoolean']=_0x29423a['oldValueBoolean']),null!=_0x29423a['oldValueJson']&&_0x29423a['hasOwnProperty']('oldValueJson')&&(_0x54f2a8['oldValueJson']=_0x29423a['oldValueJson']),null!=_0x29423a['newValueBoolean']&&_0x29423a['hasOwnProperty']('newValueBoolean')&&(_0x54f2a8['newValueBoolean']=_0x29423a['newValueBoolean']),null!=_0x29423a['newValueJson']&&_0x29423a['hasOwnProperty']('newValueJson')&&(_0x54f2a8['newValueJson']=_0x29423a['newValueJson']),null!=_0x29423a['wasUndone']&&_0x29423a['hasOwnProperty']('wasUndone')&&(_0x54f2a8['wasUndone']=_0x29423a['wasUndone']),_0x54f2a8;},_0x1e8a8e['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x1e8a8e['getTypeUrl']=function(_0x11eb51){return void 0x0===_0x11eb51&&(_0x11eb51='type.googleapis.com'),_0x11eb51+'/RootAttributeOperation';},_0x1e8a8e;}()),_0x4274ad['RootOperation']=(function(){function _0x61534(_0x3863ed){if(_0x3863ed){for(var _0x2b822b=Object['keys'](_0x3863ed),_0x47adad=0x0;_0x47adad<_0x2b822b['length'];++_0x47adad)null!=_0x3863ed[_0x2b822b[_0x47adad]]&&(this[_0x2b822b[_0x47adad]]=_0x3863ed[_0x2b822b[_0x47adad]]);}}return _0x61534['prototype']['rootName']='',_0x61534['prototype']['elementName']='',_0x61534['prototype']['isAdd']=!0x1,_0x61534['prototype']['wasUndone']=!0x1,_0x61534['create']=function(_0x2b4df8){return new _0x61534(_0x2b4df8);},_0x61534['encode']=function(_0x2c014e,_0x332859){return _0x332859||(_0x332859=_0x3787e9['create']()),null!=_0x2c014e['rootName']&&Object['hasOwnProperty']['call'](_0x2c014e,'rootName')&&_0x332859['uint32'](0xa)['string'](_0x2c014e['rootName']),null!=_0x2c014e['elementName']&&Object['hasOwnProperty']['call'](_0x2c014e,'elementName')&&_0x332859['uint32'](0x12)['string'](_0x2c014e['elementName']),null!=_0x2c014e['isAdd']&&Object['hasOwnProperty']['call'](_0x2c014e,'isAdd')&&_0x332859['uint32'](0x18)['bool'](_0x2c014e['isAdd']),null!=_0x2c014e['wasUndone']&&Object['hasOwnProperty']['call'](_0x2c014e,'wasUndone')&&_0x332859['uint32'](0x20)['bool'](_0x2c014e['wasUndone']),_0x332859;},_0x61534['encodeDelimited']=function(_0x5611aa,_0x2bc60e){return this['encode'](_0x5611aa,_0x2bc60e)['ldelim']();},_0x61534['decode']=function(_0x365bc9,_0x655ade){_0x365bc9 instanceof _0x4e1b70||(_0x365bc9=_0x4e1b70['create'](_0x365bc9));for(var _0x589730=void 0x0===_0x655ade?_0x365bc9['len']:_0x365bc9['pos']+_0x655ade,_0x2c6778=new _0x4274ad['RootOperation']();_0x365bc9['pos']<_0x589730;){var _0x587ccb=_0x365bc9['uint32']();switch(_0x587ccb>>>0x3){case 0x1:_0x2c6778['rootName']=_0x365bc9['string']();break;case 0x2:_0x2c6778['elementName']=_0x365bc9['string']();break;case 0x3:_0x2c6778['isAdd']=_0x365bc9['bool']();break;case 0x4:_0x2c6778['wasUndone']=_0x365bc9['bool']();break;default:_0x365bc9['skipType'](0x7&_0x587ccb);}}return _0x2c6778;},_0x61534['decodeDelimited']=function(_0xdbb4de){return _0xdbb4de instanceof _0x4e1b70||(_0xdbb4de=new _0x4e1b70(_0xdbb4de)),this['decode'](_0xdbb4de,_0xdbb4de['uint32']());},_0x61534['verify']=function(_0x410677){return'object'!=typeof _0x410677||null===_0x410677?'object\x20expected':null!=_0x410677['rootName']&&_0x410677['hasOwnProperty']('rootName')&&!_0xbad6f3['isString'](_0x410677['rootName'])?'rootName:\x20string\x20expected':null!=_0x410677['elementName']&&_0x410677['hasOwnProperty']('elementName')&&!_0xbad6f3['isString'](_0x410677['elementName'])?'elementName:\x20string\x20expected':null!=_0x410677['isAdd']&&_0x410677['hasOwnProperty']('isAdd')&&'boolean'!=typeof _0x410677['isAdd']?'isAdd:\x20boolean\x20expected':null!=_0x410677['wasUndone']&&_0x410677['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x410677['wasUndone']?'wasUndone:\x20boolean\x20expected':null;},_0x61534['fromObject']=function(_0x402e89){if(_0x402e89 instanceof _0x4274ad['RootOperation'])return _0x402e89;var _0x5b2512=new _0x4274ad['RootOperation']();return null!=_0x402e89['rootName']&&(_0x5b2512['rootName']=String(_0x402e89['rootName'])),null!=_0x402e89['elementName']&&(_0x5b2512['elementName']=String(_0x402e89['elementName'])),null!=_0x402e89['isAdd']&&(_0x5b2512['isAdd']=Boolean(_0x402e89['isAdd'])),null!=_0x402e89['wasUndone']&&(_0x5b2512['wasUndone']=Boolean(_0x402e89['wasUndone'])),_0x5b2512;},_0x61534['toObject']=function(_0x5ddbe9,_0x50c167){_0x50c167||(_0x50c167={});var _0x123bce={};return _0x50c167['defaults']&&(_0x123bce['rootName']='',_0x123bce['elementName']='',_0x123bce['isAdd']=!0x1,_0x123bce['wasUndone']=!0x1),null!=_0x5ddbe9['rootName']&&_0x5ddbe9['hasOwnProperty']('rootName')&&(_0x123bce['rootName']=_0x5ddbe9['rootName']),null!=_0x5ddbe9['elementName']&&_0x5ddbe9['hasOwnProperty']('elementName')&&(_0x123bce['elementName']=_0x5ddbe9['elementName']),null!=_0x5ddbe9['isAdd']&&_0x5ddbe9['hasOwnProperty']('isAdd')&&(_0x123bce['isAdd']=_0x5ddbe9['isAdd']),null!=_0x5ddbe9['wasUndone']&&_0x5ddbe9['hasOwnProperty']('wasUndone')&&(_0x123bce['wasUndone']=_0x5ddbe9['wasUndone']),_0x123bce;},_0x61534['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x61534['getTypeUrl']=function(_0x5268f2){return void 0x0===_0x5268f2&&(_0x5268f2='type.googleapis.com'),_0x5268f2+'/RootOperation';},_0x61534;}()),_0x4274ad['SplitOperation']=(function(){function _0x13c1b7(_0x25e872){if(_0x25e872){for(var _0x40244f=Object['keys'](_0x25e872),_0x30f3d9=0x0;_0x30f3d9<_0x40244f['length'];++_0x30f3d9)null!=_0x25e872[_0x40244f[_0x30f3d9]]&&(this[_0x40244f[_0x30f3d9]]=_0x25e872[_0x40244f[_0x30f3d9]]);}}return _0x13c1b7['prototype']['splitPosition']=null,_0x13c1b7['prototype']['graveyardPosition']=null,_0x13c1b7['prototype']['howMany']=0x0,_0x13c1b7['prototype']['insertionPosition']=null,_0x13c1b7['prototype']['wasUndone']=!0x1,_0x13c1b7['create']=function(_0x41722b){return new _0x13c1b7(_0x41722b);},_0x13c1b7['encode']=function(_0x2475c3,_0x4e9f79){return _0x4e9f79||(_0x4e9f79=_0x3787e9['create']()),null!=_0x2475c3['splitPosition']&&Object['hasOwnProperty']['call'](_0x2475c3,'splitPosition')&&_0x4274ad['Position']['encode'](_0x2475c3['splitPosition'],_0x4e9f79['uint32'](0xa)['fork']())['ldelim'](),null!=_0x2475c3['graveyardPosition']&&Object['hasOwnProperty']['call'](_0x2475c3,'graveyardPosition')&&_0x4274ad['Position']['encode'](_0x2475c3['graveyardPosition'],_0x4e9f79['uint32'](0x12)['fork']())['ldelim'](),null!=_0x2475c3['howMany']&&Object['hasOwnProperty']['call'](_0x2475c3,'howMany')&&_0x4e9f79['uint32'](0x18)['uint32'](_0x2475c3['howMany']),null!=_0x2475c3['insertionPosition']&&Object['hasOwnProperty']['call'](_0x2475c3,'insertionPosition')&&_0x4274ad['Position']['encode'](_0x2475c3['insertionPosition'],_0x4e9f79['uint32'](0x22)['fork']())['ldelim'](),null!=_0x2475c3['wasUndone']&&Object['hasOwnProperty']['call'](_0x2475c3,'wasUndone')&&_0x4e9f79['uint32'](0x28)['bool'](_0x2475c3['wasUndone']),_0x4e9f79;},_0x13c1b7['encodeDelimited']=function(_0x1e1bb6,_0x5c2030){return this['encode'](_0x1e1bb6,_0x5c2030)['ldelim']();},_0x13c1b7['decode']=function(_0x5b8dee,_0x5d2929){_0x5b8dee instanceof _0x4e1b70||(_0x5b8dee=_0x4e1b70['create'](_0x5b8dee));for(var _0x565ad9=void 0x0===_0x5d2929?_0x5b8dee['len']:_0x5b8dee['pos']+_0x5d2929,_0x5684df=new _0x4274ad['SplitOperation']();_0x5b8dee['pos']<_0x565ad9;){var _0x512349=_0x5b8dee['uint32']();switch(_0x512349>>>0x3){case 0x1:_0x5684df['splitPosition']=_0x4274ad['Position']['decode'](_0x5b8dee,_0x5b8dee['uint32']());break;case 0x2:_0x5684df['graveyardPosition']=_0x4274ad['Position']['decode'](_0x5b8dee,_0x5b8dee['uint32']());break;case 0x3:_0x5684df['howMany']=_0x5b8dee['uint32']();break;case 0x4:_0x5684df['insertionPosition']=_0x4274ad['Position']['decode'](_0x5b8dee,_0x5b8dee['uint32']());break;case 0x5:_0x5684df['wasUndone']=_0x5b8dee['bool']();break;default:_0x5b8dee['skipType'](0x7&_0x512349);}}return _0x5684df;},_0x13c1b7['decodeDelimited']=function(_0x312ce5){return _0x312ce5 instanceof _0x4e1b70||(_0x312ce5=new _0x4e1b70(_0x312ce5)),this['decode'](_0x312ce5,_0x312ce5['uint32']());},_0x13c1b7['verify']=function(_0x3eea03){if('object'!=typeof _0x3eea03||null===_0x3eea03)return'object\x20expected';var _0x3e5907;if(null!=_0x3eea03['splitPosition']&&_0x3eea03['hasOwnProperty']('splitPosition')&&(_0x3e5907=_0x4274ad['Position']['verify'](_0x3eea03['splitPosition'])))return'splitPosition.'+_0x3e5907;if(null!=_0x3eea03['graveyardPosition']&&_0x3eea03['hasOwnProperty']('graveyardPosition')&&(_0x3e5907=_0x4274ad['Position']['verify'](_0x3eea03['graveyardPosition'])))return'graveyardPosition.'+_0x3e5907;if(null!=_0x3eea03['howMany']&&_0x3eea03['hasOwnProperty']('howMany')&&!_0xbad6f3['isInteger'](_0x3eea03['howMany']))return'howMany:\x20integer\x20expected';if(null!=_0x3eea03['insertionPosition']&&_0x3eea03['hasOwnProperty']('insertionPosition')&&(_0x3e5907=_0x4274ad['Position']['verify'](_0x3eea03['insertionPosition'])))return'insertionPosition.'+_0x3e5907;return null!=_0x3eea03['wasUndone']&&_0x3eea03['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x3eea03['wasUndone']?'wasUndone:\x20boolean\x20expected':null;},_0x13c1b7['fromObject']=function(_0x4a7963){if(_0x4a7963 instanceof _0x4274ad['SplitOperation'])return _0x4a7963;var _0x5be4aa=new _0x4274ad['SplitOperation']();if(null!=_0x4a7963['splitPosition']){if('object'!=typeof _0x4a7963['splitPosition'])throw TypeError('.SplitOperation.splitPosition:\x20object\x20expected');_0x5be4aa['splitPosition']=_0x4274ad['Position']['fromObject'](_0x4a7963['splitPosition']);}if(null!=_0x4a7963['graveyardPosition']){if('object'!=typeof _0x4a7963['graveyardPosition'])throw TypeError('.SplitOperation.graveyardPosition:\x20object\x20expected');_0x5be4aa['graveyardPosition']=_0x4274ad['Position']['fromObject'](_0x4a7963['graveyardPosition']);}if(null!=_0x4a7963['howMany']&&(_0x5be4aa['howMany']=_0x4a7963['howMany']>>>0x0),null!=_0x4a7963['insertionPosition']){if('object'!=typeof _0x4a7963['insertionPosition'])throw TypeError('.SplitOperation.insertionPosition:\x20object\x20expected');_0x5be4aa['insertionPosition']=_0x4274ad['Position']['fromObject'](_0x4a7963['insertionPosition']);}return null!=_0x4a7963['wasUndone']&&(_0x5be4aa['wasUndone']=Boolean(_0x4a7963['wasUndone'])),_0x5be4aa;},_0x13c1b7['toObject']=function(_0x3101c2,_0x165390){_0x165390||(_0x165390={});var _0x21c500={};return _0x165390['defaults']&&(_0x21c500['splitPosition']=null,_0x21c500['graveyardPosition']=null,_0x21c500['howMany']=0x0,_0x21c500['insertionPosition']=null,_0x21c500['wasUndone']=!0x1),null!=_0x3101c2['splitPosition']&&_0x3101c2['hasOwnProperty']('splitPosition')&&(_0x21c500['splitPosition']=_0x4274ad['Position']['toObject'](_0x3101c2['splitPosition'],_0x165390)),null!=_0x3101c2['graveyardPosition']&&_0x3101c2['hasOwnProperty']('graveyardPosition')&&(_0x21c500['graveyardPosition']=_0x4274ad['Position']['toObject'](_0x3101c2['graveyardPosition'],_0x165390)),null!=_0x3101c2['howMany']&&_0x3101c2['hasOwnProperty']('howMany')&&(_0x21c500['howMany']=_0x3101c2['howMany']),null!=_0x3101c2['insertionPosition']&&_0x3101c2['hasOwnProperty']('insertionPosition')&&(_0x21c500['insertionPosition']=_0x4274ad['Position']['toObject'](_0x3101c2['insertionPosition'],_0x165390)),null!=_0x3101c2['wasUndone']&&_0x3101c2['hasOwnProperty']('wasUndone')&&(_0x21c500['wasUndone']=_0x3101c2['wasUndone']),_0x21c500;},_0x13c1b7['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x13c1b7['getTypeUrl']=function(_0x213132){return void 0x0===_0x213132&&(_0x213132='type.googleapis.com'),_0x213132+'/SplitOperation';},_0x13c1b7;}()),_0x4274ad['Position']=(function(){function _0x366c59(_0x45b08a){if(this['path']=[],_0x45b08a){for(var _0x20609a=Object['keys'](_0x45b08a),_0x1b1bef=0x0;_0x1b1bef<_0x20609a['length'];++_0x1b1bef)null!=_0x45b08a[_0x20609a[_0x1b1bef]]&&(this[_0x20609a[_0x1b1bef]]=_0x45b08a[_0x20609a[_0x1b1bef]]);}}return _0x366c59['prototype']['root']='',_0x366c59['prototype']['rootMain']=!0x1,_0x366c59['prototype']['rootGraveyard']=!0x1,_0x366c59['prototype']['path']=_0xbad6f3['emptyArray'],_0x366c59['prototype']['stickiness']='',_0x366c59['create']=function(_0x95c84c){return new _0x366c59(_0x95c84c);},_0x366c59['encode']=function(_0x156320,_0x5b7b67){if(_0x5b7b67||(_0x5b7b67=_0x3787e9['create']()),null!=_0x156320['root']&&Object['hasOwnProperty']['call'](_0x156320,'root')&&_0x5b7b67['uint32'](0xa)['string'](_0x156320['root']),null!=_0x156320['rootMain']&&Object['hasOwnProperty']['call'](_0x156320,'rootMain')&&_0x5b7b67['uint32'](0x10)['bool'](_0x156320['rootMain']),null!=_0x156320['rootGraveyard']&&Object['hasOwnProperty']['call'](_0x156320,'rootGraveyard')&&_0x5b7b67['uint32'](0x18)['bool'](_0x156320['rootGraveyard']),null!=_0x156320['path']&&_0x156320['path']['length']){_0x5b7b67['uint32'](0x22)['fork']();for(var _0x552ad5=0x0;_0x552ad5<_0x156320['path']['length'];++_0x552ad5)_0x5b7b67['uint32'](_0x156320['path'][_0x552ad5]);_0x5b7b67['ldelim']();}return null!=_0x156320['stickiness']&&Object['hasOwnProperty']['call'](_0x156320,'stickiness')&&_0x5b7b67['uint32'](0x2a)['string'](_0x156320['stickiness']),_0x5b7b67;},_0x366c59['encodeDelimited']=function(_0x3e4615,_0x4c943d){return this['encode'](_0x3e4615,_0x4c943d)['ldelim']();},_0x366c59['decode']=function(_0x24f4f5,_0x8cc48){_0x24f4f5 instanceof _0x4e1b70||(_0x24f4f5=_0x4e1b70['create'](_0x24f4f5));for(var _0x4e6517=void 0x0===_0x8cc48?_0x24f4f5['len']:_0x24f4f5['pos']+_0x8cc48,_0x347529=new _0x4274ad['Position']();_0x24f4f5['pos']<_0x4e6517;){var _0x1e762a=_0x24f4f5['uint32']();switch(_0x1e762a>>>0x3){case 0x1:_0x347529['root']=_0x24f4f5['string']();break;case 0x2:_0x347529['rootMain']=_0x24f4f5['bool']();break;case 0x3:_0x347529['rootGraveyard']=_0x24f4f5['bool']();break;case 0x4:if(_0x347529['path']&&_0x347529['path']['length']||(_0x347529['path']=[]),0x2==(0x7&_0x1e762a)){for(var _0x4b9cc5=_0x24f4f5['uint32']()+_0x24f4f5['pos'];_0x24f4f5['pos']<_0x4b9cc5;)_0x347529['path']['push'](_0x24f4f5['uint32']());}else _0x347529['path']['push'](_0x24f4f5['uint32']());break;case 0x5:_0x347529['stickiness']=_0x24f4f5['string']();break;default:_0x24f4f5['skipType'](0x7&_0x1e762a);}}return _0x347529;},_0x366c59['decodeDelimited']=function(_0x57a87a){return _0x57a87a instanceof _0x4e1b70||(_0x57a87a=new _0x4e1b70(_0x57a87a)),this['decode'](_0x57a87a,_0x57a87a['uint32']());},_0x366c59['verify']=function(_0x3336b9){if('object'!=typeof _0x3336b9||null===_0x3336b9)return'object\x20expected';if(null!=_0x3336b9['root']&&_0x3336b9['hasOwnProperty']('root')&&!_0xbad6f3['isString'](_0x3336b9['root']))return'root:\x20string\x20expected';if(null!=_0x3336b9['rootMain']&&_0x3336b9['hasOwnProperty']('rootMain')&&'boolean'!=typeof _0x3336b9['rootMain'])return'rootMain:\x20boolean\x20expected';if(null!=_0x3336b9['rootGraveyard']&&_0x3336b9['hasOwnProperty']('rootGraveyard')&&'boolean'!=typeof _0x3336b9['rootGraveyard'])return'rootGraveyard:\x20boolean\x20expected';if(null!=_0x3336b9['path']&&_0x3336b9['hasOwnProperty']('path')){if(!Array['isArray'](_0x3336b9['path']))return'path:\x20array\x20expected';for(var _0x3fc661=0x0;_0x3fc661<_0x3336b9['path']['length'];++_0x3fc661)if(!_0xbad6f3['isInteger'](_0x3336b9['path'][_0x3fc661]))return'path:\x20integer[]\x20expected';}return null!=_0x3336b9['stickiness']&&_0x3336b9['hasOwnProperty']('stickiness')&&!_0xbad6f3['isString'](_0x3336b9['stickiness'])?'stickiness:\x20string\x20expected':null;},_0x366c59['fromObject']=function(_0x153e75){if(_0x153e75 instanceof _0x4274ad['Position'])return _0x153e75;var _0x5997df=new _0x4274ad['Position']();if(null!=_0x153e75['root']&&(_0x5997df['root']=String(_0x153e75['root'])),null!=_0x153e75['rootMain']&&(_0x5997df['rootMain']=Boolean(_0x153e75['rootMain'])),null!=_0x153e75['rootGraveyard']&&(_0x5997df['rootGraveyard']=Boolean(_0x153e75['rootGraveyard'])),_0x153e75['path']){if(!Array['isArray'](_0x153e75['path']))throw TypeError('.Position.path:\x20array\x20expected');_0x5997df['path']=[];for(var _0x6439eb=0x0;_0x6439eb<_0x153e75['path']['length'];++_0x6439eb)_0x5997df['path'][_0x6439eb]=_0x153e75['path'][_0x6439eb]>>>0x0;}return null!=_0x153e75['stickiness']&&(_0x5997df['stickiness']=String(_0x153e75['stickiness'])),_0x5997df;},_0x366c59['toObject']=function(_0x7982f3,_0x19caca){_0x19caca||(_0x19caca={});var _0x5e5e44={};if((_0x19caca['arrays']||_0x19caca['defaults'])&&(_0x5e5e44['path']=[]),_0x19caca['defaults']&&(_0x5e5e44['root']='',_0x5e5e44['rootMain']=!0x1,_0x5e5e44['rootGraveyard']=!0x1,_0x5e5e44['stickiness']=''),null!=_0x7982f3['root']&&_0x7982f3['hasOwnProperty']('root')&&(_0x5e5e44['root']=_0x7982f3['root']),null!=_0x7982f3['rootMain']&&_0x7982f3['hasOwnProperty']('rootMain')&&(_0x5e5e44['rootMain']=_0x7982f3['rootMain']),null!=_0x7982f3['rootGraveyard']&&_0x7982f3['hasOwnProperty']('rootGraveyard')&&(_0x5e5e44['rootGraveyard']=_0x7982f3['rootGraveyard']),_0x7982f3['path']&&_0x7982f3['path']['length']){_0x5e5e44['path']=[];for(var _0x3b727a=0x0;_0x3b727a<_0x7982f3['path']['length'];++_0x3b727a)_0x5e5e44['path'][_0x3b727a]=_0x7982f3['path'][_0x3b727a];}return null!=_0x7982f3['stickiness']&&_0x7982f3['hasOwnProperty']('stickiness')&&(_0x5e5e44['stickiness']=_0x7982f3['stickiness']),_0x5e5e44;},_0x366c59['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x366c59['getTypeUrl']=function(_0x532257){return void 0x0===_0x532257&&(_0x532257='type.googleapis.com'),_0x532257+'/Position';},_0x366c59;}()),_0x4274ad['Range']=(function(){function _0x2c8afe(_0x528b44){if(_0x528b44){for(var _0x58ba8a=Object['keys'](_0x528b44),_0x1e540f=0x0;_0x1e540f<_0x58ba8a['length'];++_0x1e540f)null!=_0x528b44[_0x58ba8a[_0x1e540f]]&&(this[_0x58ba8a[_0x1e540f]]=_0x528b44[_0x58ba8a[_0x1e540f]]);}}return _0x2c8afe['prototype']['start']=null,_0x2c8afe['prototype']['end']=null,_0x2c8afe['create']=function(_0x3742f7){return new _0x2c8afe(_0x3742f7);},_0x2c8afe['encode']=function(_0x2ff078,_0x157075){return _0x157075||(_0x157075=_0x3787e9['create']()),null!=_0x2ff078['start']&&Object['hasOwnProperty']['call'](_0x2ff078,'start')&&_0x4274ad['Position']['encode'](_0x2ff078['start'],_0x157075['uint32'](0xa)['fork']())['ldelim'](),null!=_0x2ff078['end']&&Object['hasOwnProperty']['call'](_0x2ff078,'end')&&_0x4274ad['Position']['encode'](_0x2ff078['end'],_0x157075['uint32'](0x12)['fork']())['ldelim'](),_0x157075;},_0x2c8afe['encodeDelimited']=function(_0x3f5eec,_0x333763){return this['encode'](_0x3f5eec,_0x333763)['ldelim']();},_0x2c8afe['decode']=function(_0x308674,_0x31033d){_0x308674 instanceof _0x4e1b70||(_0x308674=_0x4e1b70['create'](_0x308674));for(var _0x21b5fa=void 0x0===_0x31033d?_0x308674['len']:_0x308674['pos']+_0x31033d,_0x481036=new _0x4274ad['Range']();_0x308674['pos']<_0x21b5fa;){var _0xdf8cef=_0x308674['uint32']();switch(_0xdf8cef>>>0x3){case 0x1:_0x481036['start']=_0x4274ad['Position']['decode'](_0x308674,_0x308674['uint32']());break;case 0x2:_0x481036['end']=_0x4274ad['Position']['decode'](_0x308674,_0x308674['uint32']());break;default:_0x308674['skipType'](0x7&_0xdf8cef);}}return _0x481036;},_0x2c8afe['decodeDelimited']=function(_0x51ba98){return _0x51ba98 instanceof _0x4e1b70||(_0x51ba98=new _0x4e1b70(_0x51ba98)),this['decode'](_0x51ba98,_0x51ba98['uint32']());},_0x2c8afe['verify']=function(_0x7e01bf){if('object'!=typeof _0x7e01bf||null===_0x7e01bf)return'object\x20expected';var _0x3cb768;if(null!=_0x7e01bf['start']&&_0x7e01bf['hasOwnProperty']('start')&&(_0x3cb768=_0x4274ad['Position']['verify'](_0x7e01bf['start'])))return'start.'+_0x3cb768;if(null!=_0x7e01bf['end']&&_0x7e01bf['hasOwnProperty']('end')&&(_0x3cb768=_0x4274ad['Position']['verify'](_0x7e01bf['end'])))return'end.'+_0x3cb768;return null;},_0x2c8afe['fromObject']=function(_0x5f43f8){if(_0x5f43f8 instanceof _0x4274ad['Range'])return _0x5f43f8;var _0x47040e=new _0x4274ad['Range']();if(null!=_0x5f43f8['start']){if('object'!=typeof _0x5f43f8['start'])throw TypeError('.Range.start:\x20object\x20expected');_0x47040e['start']=_0x4274ad['Position']['fromObject'](_0x5f43f8['start']);}if(null!=_0x5f43f8['end']){if('object'!=typeof _0x5f43f8['end'])throw TypeError('.Range.end:\x20object\x20expected');_0x47040e['end']=_0x4274ad['Position']['fromObject'](_0x5f43f8['end']);}return _0x47040e;},_0x2c8afe['toObject']=function(_0x547d72,_0x5e079b){_0x5e079b||(_0x5e079b={});var _0x35f12e={};return _0x5e079b['defaults']&&(_0x35f12e['start']=null,_0x35f12e['end']=null),null!=_0x547d72['start']&&_0x547d72['hasOwnProperty']('start')&&(_0x35f12e['start']=_0x4274ad['Position']['toObject'](_0x547d72['start'],_0x5e079b)),null!=_0x547d72['end']&&_0x547d72['hasOwnProperty']('end')&&(_0x35f12e['end']=_0x4274ad['Position']['toObject'](_0x547d72['end'],_0x5e079b)),_0x35f12e;},_0x2c8afe['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x2c8afe['getTypeUrl']=function(_0x2e20e8){return void 0x0===_0x2e20e8&&(_0x2e20e8='type.googleapis.com'),_0x2e20e8+'/Range';},_0x2c8afe;}()),_0x4274ad['Element']=(function(){function _0xe26fd2(_0x4c111c){if(this['children']=[],this['attributesBoolean']={},_0x4c111c){for(var _0x4dbbca=Object['keys'](_0x4c111c),_0xde4867=0x0;_0xde4867<_0x4dbbca['length'];++_0xde4867)null!=_0x4c111c[_0x4dbbca[_0xde4867]]&&(this[_0x4dbbca[_0xde4867]]=_0x4c111c[_0x4dbbca[_0xde4867]]);}}return _0xe26fd2['prototype']['name']='',_0xe26fd2['prototype']['children']=_0xbad6f3['emptyArray'],_0xe26fd2['prototype']['data']='',_0xe26fd2['prototype']['attributesBoolean']=_0xbad6f3['emptyObject'],_0xe26fd2['prototype']['attributesJson']='',_0xe26fd2['create']=function(_0x168016){return new _0xe26fd2(_0x168016);},_0xe26fd2['encode']=function(_0x1f5011,_0xee6b50){if(_0xee6b50||(_0xee6b50=_0x3787e9['create']()),null!=_0x1f5011['name']&&Object['hasOwnProperty']['call'](_0x1f5011,'name')&&_0xee6b50['uint32'](0xa)['string'](_0x1f5011['name']),null!=_0x1f5011['children']&&_0x1f5011['children']['length']){for(var _0x1dc7ed=0x0;_0x1dc7ed<_0x1f5011['children']['length'];++_0x1dc7ed)_0x4274ad['Element']['encode'](_0x1f5011['children'][_0x1dc7ed],_0xee6b50['uint32'](0x12)['fork']())['ldelim']();}if(null!=_0x1f5011['data']&&Object['hasOwnProperty']['call'](_0x1f5011,'data')&&_0xee6b50['uint32'](0x1a)['string'](_0x1f5011['data']),null!=_0x1f5011['attributesBoolean']&&Object['hasOwnProperty']['call'](_0x1f5011,'attributesBoolean')){var _0x5171ee=Object['keys'](_0x1f5011['attributesBoolean']);for(_0x1dc7ed=0x0;_0x1dc7ed<_0x5171ee['length'];++_0x1dc7ed)_0xee6b50['uint32'](0x22)['fork']()['uint32'](0xa)['string'](_0x5171ee[_0x1dc7ed])['uint32'](0x10)['bool'](_0x1f5011['attributesBoolean'][_0x5171ee[_0x1dc7ed]])['ldelim']();}return null!=_0x1f5011['attributesJson']&&Object['hasOwnProperty']['call'](_0x1f5011,'attributesJson')&&_0xee6b50['uint32'](0x2a)['string'](_0x1f5011['attributesJson']),_0xee6b50;},_0xe26fd2['encodeDelimited']=function(_0x5e16dc,_0x251561){return this['encode'](_0x5e16dc,_0x251561)['ldelim']();},_0xe26fd2['decode']=function(_0x2ab6c3,_0x9fc2a2){_0x2ab6c3 instanceof _0x4e1b70||(_0x2ab6c3=_0x4e1b70['create'](_0x2ab6c3));for(var _0x1dbb95,_0x5d1ed2,_0xe80384=void 0x0===_0x9fc2a2?_0x2ab6c3['len']:_0x2ab6c3['pos']+_0x9fc2a2,_0x3e6e14=new _0x4274ad['Element']();_0x2ab6c3['pos']<_0xe80384;){var _0x30a2c9=_0x2ab6c3['uint32']();switch(_0x30a2c9>>>0x3){case 0x1:_0x3e6e14['name']=_0x2ab6c3['string']();break;case 0x2:_0x3e6e14['children']&&_0x3e6e14['children']['length']||(_0x3e6e14['children']=[]),_0x3e6e14['children']['push'](_0x4274ad['Element']['decode'](_0x2ab6c3,_0x2ab6c3['uint32']()));break;case 0x3:_0x3e6e14['data']=_0x2ab6c3['string']();break;case 0x4:_0x3e6e14['attributesBoolean']===_0xbad6f3['emptyObject']&&(_0x3e6e14['attributesBoolean']={});var _0x4091c3=_0x2ab6c3['uint32']()+_0x2ab6c3['pos'];for(_0x1dbb95='',_0x5d1ed2=!0x1;_0x2ab6c3['pos']<_0x4091c3;){var _0x38ed89=_0x2ab6c3['uint32']();switch(_0x38ed89>>>0x3){case 0x1:_0x1dbb95=_0x2ab6c3['string']();break;case 0x2:_0x5d1ed2=_0x2ab6c3['bool']();break;default:_0x2ab6c3['skipType'](0x7&_0x38ed89);}}_0x3e6e14['attributesBoolean'][_0x1dbb95]=_0x5d1ed2;break;case 0x5:_0x3e6e14['attributesJson']=_0x2ab6c3['string']();break;default:_0x2ab6c3['skipType'](0x7&_0x30a2c9);}}return _0x3e6e14;},_0xe26fd2['decodeDelimited']=function(_0x240fcb){return _0x240fcb instanceof _0x4e1b70||(_0x240fcb=new _0x4e1b70(_0x240fcb)),this['decode'](_0x240fcb,_0x240fcb['uint32']());},_0xe26fd2['verify']=function(_0x309755){if('object'!=typeof _0x309755||null===_0x309755)return'object\x20expected';if(null!=_0x309755['name']&&_0x309755['hasOwnProperty']('name')&&!_0xbad6f3['isString'](_0x309755['name']))return'name:\x20string\x20expected';if(null!=_0x309755['children']&&_0x309755['hasOwnProperty']('children')){if(!Array['isArray'](_0x309755['children']))return'children:\x20array\x20expected';for(var _0x4a736a=0x0;_0x4a736a<_0x309755['children']['length'];++_0x4a736a){var _0x791a9f=_0x4274ad['Element']['verify'](_0x309755['children'][_0x4a736a]);if(_0x791a9f)return'children.'+_0x791a9f;}}if(null!=_0x309755['data']&&_0x309755['hasOwnProperty']('data')&&!_0xbad6f3['isString'](_0x309755['data']))return'data:\x20string\x20expected';if(null!=_0x309755['attributesBoolean']&&_0x309755['hasOwnProperty']('attributesBoolean')){if(!_0xbad6f3['isObject'](_0x309755['attributesBoolean']))return'attributesBoolean:\x20object\x20expected';var _0x146073=Object['keys'](_0x309755['attributesBoolean']);for(_0x4a736a=0x0;_0x4a736a<_0x146073['length'];++_0x4a736a)if('boolean'!=typeof _0x309755['attributesBoolean'][_0x146073[_0x4a736a]])return'attributesBoolean:\x20boolean{k:string}\x20expected';}return null!=_0x309755['attributesJson']&&_0x309755['hasOwnProperty']('attributesJson')&&!_0xbad6f3['isString'](_0x309755['attributesJson'])?'attributesJson:\x20string\x20expected':null;},_0xe26fd2['fromObject']=function(_0x1ab854){if(_0x1ab854 instanceof _0x4274ad['Element'])return _0x1ab854;var _0x59e439=new _0x4274ad['Element']();if(null!=_0x1ab854['name']&&(_0x59e439['name']=String(_0x1ab854['name'])),_0x1ab854['children']){if(!Array['isArray'](_0x1ab854['children']))throw TypeError('.Element.children:\x20array\x20expected');_0x59e439['children']=[];for(var _0x32c8c4=0x0;_0x32c8c4<_0x1ab854['children']['length'];++_0x32c8c4){if('object'!=typeof _0x1ab854['children'][_0x32c8c4])throw TypeError('.Element.children:\x20object\x20expected');_0x59e439['children'][_0x32c8c4]=_0x4274ad['Element']['fromObject'](_0x1ab854['children'][_0x32c8c4]);}}if(null!=_0x1ab854['data']&&(_0x59e439['data']=String(_0x1ab854['data'])),_0x1ab854['attributesBoolean']){if('object'!=typeof _0x1ab854['attributesBoolean'])throw TypeError('.Element.attributesBoolean:\x20object\x20expected');_0x59e439['attributesBoolean']={};var _0x1f1b2a=Object['keys'](_0x1ab854['attributesBoolean']);for(_0x32c8c4=0x0;_0x32c8c4<_0x1f1b2a['length'];++_0x32c8c4)_0x59e439['attributesBoolean'][_0x1f1b2a[_0x32c8c4]]=Boolean(_0x1ab854['attributesBoolean'][_0x1f1b2a[_0x32c8c4]]);}return null!=_0x1ab854['attributesJson']&&(_0x59e439['attributesJson']=String(_0x1ab854['attributesJson'])),_0x59e439;},_0xe26fd2['toObject']=function(_0x5f0f38,_0x3faf61){_0x3faf61||(_0x3faf61={});var _0x37c318,_0x4bd808={};if((_0x3faf61['arrays']||_0x3faf61['defaults'])&&(_0x4bd808['children']=[]),(_0x3faf61['objects']||_0x3faf61['defaults'])&&(_0x4bd808['attributesBoolean']={}),_0x3faf61['defaults']&&(_0x4bd808['name']='',_0x4bd808['data']='',_0x4bd808['attributesJson']=''),null!=_0x5f0f38['name']&&_0x5f0f38['hasOwnProperty']('name')&&(_0x4bd808['name']=_0x5f0f38['name']),_0x5f0f38['children']&&_0x5f0f38['children']['length']){_0x4bd808['children']=[];for(var _0x27e0b7=0x0;_0x27e0b7<_0x5f0f38['children']['length'];++_0x27e0b7)_0x4bd808['children'][_0x27e0b7]=_0x4274ad['Element']['toObject'](_0x5f0f38['children'][_0x27e0b7],_0x3faf61);}if(null!=_0x5f0f38['data']&&_0x5f0f38['hasOwnProperty']('data')&&(_0x4bd808['data']=_0x5f0f38['data']),_0x5f0f38['attributesBoolean']&&(_0x37c318=Object['keys'](_0x5f0f38['attributesBoolean']))['length']){_0x4bd808['attributesBoolean']={};for(_0x27e0b7=0x0;_0x27e0b7<_0x37c318['length'];++_0x27e0b7)_0x4bd808['attributesBoolean'][_0x37c318[_0x27e0b7]]=_0x5f0f38['attributesBoolean'][_0x37c318[_0x27e0b7]];}return null!=_0x5f0f38['attributesJson']&&_0x5f0f38['hasOwnProperty']('attributesJson')&&(_0x4bd808['attributesJson']=_0x5f0f38['attributesJson']),_0x4bd808;},_0xe26fd2['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0xe26fd2['getTypeUrl']=function(_0x36807b){return void 0x0===_0x36807b&&(_0x36807b='type.googleapis.com'),_0x36807b+'/Element';},_0xe26fd2;}()),_0x4274ad;})());class ProtobufFactory{['_protobufRoot'];constructor(){this['_protobufRoot']=_0x1f1984;}['getDescriptor'](_0x30f9c5){return new ProtobufDescriptor(this['_protobufRoot'][_0x30f9c5]);}}class ProtobufDescriptor{['_protobuf'];constructor(_0x4d3023){this['_protobuf']=_0x4d3023;}['compress'](_0x4266a7){const _0x329a59=this['_protobuf']['verify'](_0x4266a7);if(_0x329a59)throw Error(_0x329a59);return this['_protobuf']['encode'](this['_protobuf']['create'](_0x4266a7))['finish']();}['decompress'](_0x7f5a0f){return this['_protobuf']['toObject'](this['_protobuf']['decode'](_0x7f5a0f),{'oneofs':!0x0});}}function getPositionShiftedBy(_0x1c1b7c,_0x599718){const _0x3f0c8e=_0x3db43b(_0x1c1b7c);return _0x3f0c8e['path'][_0x3f0c8e['path']['length']-0x1]+=_0x599718,_0x3f0c8e;}function arePositionsEqual(_0x4db977,_0x81c43c){return _0x4db977['root']===_0x81c43c['root']&&_0x5d9d2a(_0x4db977['path'],_0x81c43c['path']);}function parsePositionBeforeCompression(_0x4a12af){_mapPositions(_0x4a12af,_0x125e21=>('main'==_0x125e21['root']?(_0x125e21['rootMain']=!0x0,delete _0x125e21['root']):'$graveyard'==_0x125e21['root']&&(_0x125e21['rootGraveyard']=!0x0,delete _0x125e21['root']),_0x125e21));}function parsePositionAfterCompression(_0x557b1b){_mapPositions(_0x557b1b,_0x531e2d=>(_0x531e2d['rootMain']?(_0x531e2d['root']='main',delete _0x531e2d['rootMain']):_0x531e2d['rootGraveyard']&&(_0x531e2d['root']='$graveyard',delete _0x531e2d['rootGraveyard']),_0x531e2d));}function _mapPositions(_0x5d3477,_0x4ed7c0){for(const _0x1e49e9 in _0x5d3477){const _0xf54e57=_0x5d3477[_0x1e49e9];'nodes'!==_0x1e49e9&&isObject$3(_0xf54e57)&&(_0xf54e57['path']&&(_0xf54e57['root']||_0xf54e57['rootMain']||_0xf54e57['rootGraveyard'])?_0x5d3477[_0x1e49e9]=_0x4ed7c0(_0xf54e57):_mapPositions(_0xf54e57,_0x4ed7c0));}return _0x5d3477;}class OperationCompressor{['_id'];['_operationName'];['_protobufDescriptor'];constructor(_0x5db153,_0x2d9843,_0x386ddb){this['_id']=_0x5db153,this['_operationName']=_0x2d9843,this['_protobufDescriptor']=_0x386ddb;}['compress'](_0x590de6,_0x111ae7){const _0x3062f1=_0x111ae7['shift']();return parsePositionBeforeCompression(_0x3062f1),_0x590de6['buffers']['push'](this['_protobufDescriptor']['compress'](_0x3062f1)),_0x590de6['types']['push'](this['_id']),!0x0;}['decompress'](_0x365cfa,_0x8bfb66){_0x8bfb66['types']['shift']();const _0x3f0ca9=this['_protobufDescriptor']['decompress'](_0x8bfb66['buffers']['shift']());parsePositionAfterCompression(_0x3f0ca9),_0x3f0ca9['__className']=this['_operationName'],_0x365cfa['push'](_0x3f0ca9);}}class AttributeOperationCompressor extends OperationCompressor{['compress'](_0x4af966,_0x5b9816){const _0x13461d=_0x5b9816['shift']();return this['_serializeOneOf']('oldValue',_0x13461d),this['_serializeOneOf']('newValue',_0x13461d),parsePositionBeforeCompression(_0x13461d),_0x4af966['buffers']['push'](this['_protobufDescriptor']['compress'](_0x13461d)),_0x4af966['types']['push'](this['_id']),!0x0;}['decompress'](_0x34fa13,_0x2a7bec){const {types:_0xf6ddf8,buffers:_0x54cacc}=_0x2a7bec,_0x20dd68=this['_protobufDescriptor']['decompress'](_0x54cacc['shift']());_0xf6ddf8['shift'](),this['_deserializeOneOf']('oldValue',_0x20dd68),this['_deserializeOneOf']('newValue',_0x20dd68),parsePositionAfterCompression(_0x20dd68),_0x20dd68['__className']=this['_operationName'],_0x34fa13['push'](_0x20dd68);}['_serializeOneOf'](_0x342cef,_0x5c05c4){const _0x476224=_0x5c05c4[_0x342cef];'boolean'==typeof _0x476224?_0x5c05c4[_0x342cef+'Boolean']=_0x476224:_0x5c05c4[_0x342cef+'Json']=JSON['stringify'](_0x476224);}['_deserializeOneOf'](_0x486218,_0x72e545){const _0x12d7fd=_0x486218+'Json';_0x72e545[_0x12d7fd]?(_0x72e545[_0x486218]=JSON['parse'](_0x72e545[_0x12d7fd]),delete _0x72e545[_0x12d7fd]):(_0x72e545[_0x486218]=_0x72e545[_0x486218+'Boolean'],delete _0x72e545[_0x486218+'Boolean']);}}class InsertOperationCompressor extends OperationCompressor{['compress'](_0x41690f,_0x1b65a8){const _0x211185=_0x1b65a8['shift']();return this['_serializeNodesAttributes'](_0x211185['nodes']),parsePositionBeforeCompression(_0x211185),_0x41690f['buffers']['push'](this['_protobufDescriptor']['compress'](_0x211185)),_0x41690f['types']['push'](this['_id']),!0x0;}['decompress'](_0x42de76,_0x5bf0ab){const {types:_0x3ab589,buffers:_0x154784}=_0x5bf0ab,_0x5adb6a=this['_protobufDescriptor']['decompress'](_0x154784['shift']());_0x3ab589['shift'](),_0x5adb6a['nodes']||(_0x5adb6a['nodes']=[]),this['_deserializeNodesAttributes'](_0x5adb6a['nodes']),parsePositionAfterCompression(_0x5adb6a),_0x5adb6a['__className']=this['_operationName'],_0x42de76['push'](_0x5adb6a);}['_serializeNodesAttributes'](_0x30d835){for(const _0x46a07f of _0x30d835){if(_0x46a07f['attributes']){const _0x1fd71c=_0x46a07f['attributes'];this['_areValuesBoolean'](_0x1fd71c)?_0x46a07f['attributesBoolean']=_0x1fd71c:_0x46a07f['attributesJson']=JSON['stringify'](_0x1fd71c);}_0x46a07f['children']&&this['_serializeNodesAttributes'](_0x46a07f['children']);}}['_deserializeNodesAttributes'](_0x32fe36){for(const _0x397be6 of _0x32fe36)(_0x397be6['attributesBoolean']||_0x397be6['attributesJson'])&&(_0x397be6['attributesBoolean']?(_0x397be6['attributes']=_0x397be6['attributesBoolean'],delete _0x397be6['attributesBoolean']):(_0x397be6['attributes']=JSON['parse'](_0x397be6['attributesJson']),delete _0x397be6['attributesJson'])),_0x397be6['children']&&this['_deserializeNodesAttributes'](_0x397be6['children']);}['_areValuesBoolean'](_0x2e1945){return Object['keys'](_0x2e1945)['every'](_0x29117a=>'boolean'==typeof _0x2e1945[_0x29117a]);}}class MarkerOperationCompressor extends OperationCompressor{['decompress'](_0x2fe6ab,_0x1e4b81){super['decompress'](_0x2fe6ab,_0x1e4b81);const _0xda8201=_0x2fe6ab[_0x2fe6ab['length']-0x1];_0xda8201['oldRange']||(_0xda8201['oldRange']=null),_0xda8201['newRange']||(_0xda8201['newRange']=null);}}class NoOperationCompressor extends OperationCompressor{['compress'](_0x2785ea,_0x5eb95e){return _0x5eb95e['shift'](),_0x2785ea['types']['push'](this['_id']),!0x0;}['decompress'](_0x13cddd,_0x59a1e8){_0x59a1e8['types']['shift'](),_0x13cddd['push']({'__className':this['_operationName']});}}class AnnotationMarkerOperationCompressor extends MarkerOperationCompressor{['_omittedNamespace'];constructor(_0x202ad1,_0x4dc1d4,_0x2e5012,_0x1b535b){super(_0x202ad1,_0x4dc1d4,_0x2e5012),this['_omittedNamespace']=_0x1b535b+':';}['compress'](_0x54dc60,_0x4acedb){return!('MarkerOperation'!=_0x4acedb[0x0]['__className']||!_0x4acedb[0x0]['name']['startsWith'](this['_omittedNamespace']))&&(_0x4acedb[0x0]['name']=_0x4acedb[0x0]['name']['replace'](new RegExp('^'+this['_omittedNamespace']),''),super['compress'](_0x54dc60,_0x4acedb),!0x0);}['decompress'](_0xa92b48,_0x2ad4b0){super['decompress'](_0xa92b48,_0x2ad4b0);const _0x1ce9fc=_0xa92b48[_0xa92b48['length']-0x1];_0x1ce9fc['name']=this['_omittedNamespace']+_0x1ce9fc['name'];}}class ActionCompressor{['_id'];['_context'];constructor(_0x70ec8,_0x2d4719){this['_id']=_0x70ec8,this['_context']=_0x2d4719;}['compress'](_0x415ed8,_0x53b70c){let _0x5e77da;for(;_0x53b70c['length']>0x1&&this['_compareOperations'](_0x53b70c[0x0],_0x53b70c[0x1]);)_0x5e77da?(_0x5e77da=this['_combineNext'](_0x53b70c['shift'](),_0x5e77da),_0x415ed8['types']['push'](0x0)):(_0x5e77da=_0x3db43b(_0x53b70c['shift']()),_0x415ed8['types']['push'](this['_id']));return!!_0x5e77da&&(_0x5e77da=this['_combineNext'](_0x53b70c['shift'](),_0x5e77da),_0x415ed8['types']['push'](0x0),_0x415ed8['buffers']['push'](this['_compressSingleOperation'](_0x5e77da)),!0x0);}['decompress'](_0x12441a,_0x1d3d81){const _0x4665aa=this['_decompressSingleOperation'](_0x1d3d81);for(;0x0==_0x1d3d81['types'][0x0];)_0x1d3d81['types']['shift'](),_0x12441a['push'](this['_splitCurrent'](_0x4665aa));_0x12441a['push'](_0x4665aa);}}class TypingActionCompressor extends ActionCompressor{['_combineNext'](_0x1e5784,_0x2f3457){return _0x2f3457['nodes'][0x0]['data']+=_0x1e5784['nodes'][0x0]['data'],_0x2f3457;}['_splitCurrent'](_0x3c1e40){const _0x5c1bc8=_0x3db43b(_0x3c1e40),_0x33a26c=_0x5c1bc8['nodes'][0x0],_0x2f6c42=_0x3c1e40['nodes'][0x0],_0x292c45=_0x2f6c42['data'][Symbol['iterator']]()['next']()['value'],_0x19554e=_0x292c45['length'];return _0x33a26c['data']=_0x292c45,_0x2f6c42['data']=_0x2f6c42['data']['substr'](_0x19554e),_0x3c1e40['position']=getPositionShiftedBy(_0x3c1e40['position'],_0x19554e),_0x5c1bc8;}['_compareOperations'](_0x452ef9,_0x5c31e4){if(this['_checkOperation'](_0x452ef9)&&this['_checkOperation'](_0x5c31e4)){const _0x18768f=_0x452ef9['nodes'][0x0]['data']['length'],_0x2f8785=arePositionsEqual(getPositionShiftedBy(_0x452ef9['position'],_0x18768f),_0x5c31e4['position']),_0x4ff7c6=_0x452ef9['nodes'][0x0],_0x591233=_0x5c31e4['nodes'][0x0];return _0x2f8785&&this['_compareAttributes'](_0x4ff7c6,_0x591233);}return!0x1;}['_compressSingleOperation'](_0x4ed072){const _0x38673a={'types':[],'buffers':[],'baseVersion':0x0};return this['_context']['_getCompressorByName']('InsertOperation')['compress'](_0x38673a,[_0x4ed072]),_0x38673a['buffers'][0x0];}['_decompressSingleOperation'](_0x46106f){const _0x8fb574=[];return this['_context']['_getCompressorByName']('InsertOperation')['decompress'](_0x8fb574,_0x46106f),_0x8fb574[0x0];}['_checkOperation'](_0x4ca10b){return'InsertOperation'==_0x4ca10b['__className']&&0x1==_0x4ca10b['nodes']['length']&&_0x4ca10b['nodes'][0x0]['data']&&!_0x4ca10b['wasUndone']&&0x1==Array['from'](_0x4ca10b['nodes'][0x0]['data'])['length'];}['_compareAttributes'](_0x13e962,_0x1ad479){const _0x5ec977=Object['keys'](_0x13e962['attributes']||{}),_0x38c82c=Object['keys'](_0x1ad479['attributes']||{});return _0x5ec977['length']===_0x38c82c['length']&&_0x5ec977['every'](_0x36029b=>_0x1ad479['attributes'][_0x36029b]&&_0x1ad479['attributes'][_0x36029b]===_0x13e962['attributes'][_0x36029b]);}}class DeletingActionCompressor extends ActionCompressor{['_combineNext'](_0x5d4800,_0x4a5064){return _0x4a5064['howMany']++,_0x4a5064['sourcePosition']=_0x3db43b(_0x5d4800['sourcePosition']),_0x4a5064;}['_splitCurrent'](_0x312f71){const _0x17c97d=_0x3db43b(_0x312f71);return _0x312f71['howMany']--,_0x17c97d['howMany']=0x1,_0x17c97d['sourcePosition']=getPositionShiftedBy(_0x17c97d['sourcePosition'],_0x312f71['howMany']),_0x17c97d;}['_compareOperations'](_0x13dc3a,_0x1c95e9){return!(!this['_checkOperation'](_0x13dc3a)||!this['_checkOperation'](_0x1c95e9))&&(arePositionsEqual(getPositionShiftedBy(_0x13dc3a['sourcePosition'],-0x1),_0x1c95e9['sourcePosition'])&&arePositionsEqual(_0x13dc3a['targetPosition'],_0x1c95e9['targetPosition']));}['_compressSingleOperation'](_0x29559b){const _0x331bc5={'types':[],'buffers':[],'baseVersion':0x0};return this['_context']['_getCompressorByName']('MoveOperation')['compress'](_0x331bc5,[_0x29559b]),_0x331bc5['buffers'][0x0];}['_decompressSingleOperation'](_0x445b09){const _0x3be326=[];return this['_context']['_getCompressorByName']('MoveOperation')['decompress'](_0x3be326,_0x445b09),_0x3be326[0x0];}['_checkOperation'](_0x302bd7){return'MoveOperation'==_0x302bd7['__className']&&'$graveyard'==_0x302bd7['targetPosition']['root']&&0x1==_0x302bd7['howMany']&&!_0x302bd7['wasUndone'];}}class ForwardDeletingActionCompressor extends ActionCompressor{['_combineNext'](_0x155887,_0x27333a){return _0x27333a['howMany']++,_0x27333a;}['_splitCurrent'](_0x1eaa02){const _0x3539ee=_0x3db43b(_0x1eaa02);return _0x3539ee['howMany']=0x1,_0x1eaa02['howMany']--,_0x3539ee;}['_compareOperations'](_0x2f156e,_0x2cd9a3){return!(!this['_checkOperation'](_0x2f156e)||!this['_checkOperation'](_0x2cd9a3))&&(arePositionsEqual(_0x2f156e['sourcePosition'],_0x2cd9a3['sourcePosition'])&&arePositionsEqual(_0x2f156e['targetPosition'],_0x2cd9a3['targetPosition']));}['_compressSingleOperation'](_0x3f5646){const _0x4e8664={'types':[],'buffers':[],'baseVersion':0x0};return this['_context']['_getCompressorByName']('MoveOperation')['compress'](_0x4e8664,[_0x3f5646]),_0x4e8664['buffers'][0x0];}['_decompressSingleOperation'](_0x395c12){const _0xb82ad3=[];return this['_context']['_getCompressorByName']('MoveOperation')['decompress'](_0xb82ad3,_0x395c12),_0xb82ad3[0x0];}['_checkOperation'](_0xcdc905){return'MoveOperation'==_0xcdc905['__className']&&'$graveyard'==_0xcdc905['targetPosition']['root']&&0x1==_0xcdc905['howMany']&&!_0xcdc905['wasUndone'];}}class UserSelectionActionCompressor extends ActionCompressor{['compress'](_0x364582,_0x24ec1a){if(!this['_compareOperations'](_0x24ec1a[0x0],_0x24ec1a[0x1]))return!0x1;const _0x33d3a7=_0x24ec1a['shift']();return _0x33d3a7['oldRange']=null,_0x33d3a7['newRange']&&arePositionsEqual(_0x33d3a7['newRange']['start'],_0x33d3a7['newRange']['end'])&&(_0x33d3a7['newRange']['end']=null),_0x24ec1a['shift'](),_0x364582['types']['push'](this['_id']),_0x364582['types']['push'](0x0),_0x364582['buffers']['push'](this['_compressSingleOperation'](_0x33d3a7)),!0x0;}['decompress'](_0x3be5b8,_0x4b9d91){const _0x5ef256=this['_decompressSingleOperation'](_0x4b9d91);_0x5ef256['newRange']&&!_0x5ef256['newRange']['end']&&(_0x5ef256['newRange']['end']=_0x3db43b(_0x5ef256['newRange']['start']));const _0x3dad83=_0x3db43b(_0x5ef256);_0x3dad83['newRange']&&(_0x3dad83['newRange']['start']['stickiness']='toNone',_0x3dad83['newRange']['end']=_0x3db43b(_0x3dad83['newRange']['start'])),_0x3dad83['name']='user:position:'+_0x3dad83['name']['split'](':')[0x2],_0x4b9d91['types']['shift'](),_0x3be5b8['push'](_0x5ef256),_0x3be5b8['push'](_0x3dad83);}['_compressSingleOperation'](_0x449dac){const _0x8512e6={'types':[],'buffers':[],'baseVersion':0x0};return this['_context']['_getCompressorByName']('MarkerOperation')['compress'](_0x8512e6,[_0x449dac]),_0x8512e6['buffers'][0x0];}['_decompressSingleOperation'](_0x22ba94){const _0xf0c5b6=[];return this['_context']['_getCompressorByName']('MarkerOperation')['decompress'](_0xf0c5b6,_0x22ba94),_0xf0c5b6[0x0];}['_compareOperations'](_0x1ff1eb,_0x6566b2){return!(!_0x1ff1eb||!_0x6566b2)&&('MarkerOperation'==_0x1ff1eb['__className']&&'MarkerOperation'==_0x6566b2['__className']&&!(!_0x1ff1eb['name']['startsWith']('user:')||!_0x6566b2['name']['startsWith']('user:')||_0x1ff1eb['name']==_0x6566b2['name']));}}class _0x2397ff{['_compressorById'];['_compressorByName'];['_protobufFactory'];constructor(){this['_compressorById']=new Map(),this['_compressorByName']=new Map(),this['_protobufFactory']=new ProtobufFactory();const _0x3cc8d1=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',_0x3cc8d1,'comment')),this['_registerCompressor'](0x13,'SuggestionMarkerOperation',new AnnotationMarkerOperationCompressor(0x13,'MarkerOperation',_0x3cc8d1,'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'](_0x4e75f5){if(!_0x4e75f5||!_0x4e75f5[0x0])throw new ckeditor5['CKEditorError']('no-operations-provided',this);const _0x4f7eb9={'types':[],'buffers':[],'baseVersion':_0x4e75f5[0x0]['baseVersion']};for(;_0x4e75f5['length'];)this['_getCompressorByName']('UserSelectionAction')['compress'](_0x4f7eb9,_0x4e75f5)||this['_getCompressorByName']('TypingAction')['compress'](_0x4f7eb9,_0x4e75f5)||this['_getCompressorByName']('DeletingAction')['compress'](_0x4f7eb9,_0x4e75f5)||this['_getCompressorByName']('ForwardDeletingAction')['compress'](_0x4f7eb9,_0x4e75f5)||this['_getCompressorByName']('CommentMarkerOperation')['compress'](_0x4f7eb9,_0x4e75f5)||this['_getCompressorByName']('SuggestionMarkerOperation')['compress'](_0x4f7eb9,_0x4e75f5)||this['_getCompressorByName'](_0x4e75f5[0x0]['__className'])['compress'](_0x4f7eb9,_0x4e75f5);return _0x4f7eb9;}['decompress'](_0x127eea){const _0x2861ad=[];for(;_0x127eea['types']['length'];){const _0x29790d=this['_compressorById']['get'](_0x127eea['types'][0x0]);if(!_0x29790d)throw new ckeditor5['CKEditorError']('decompress-compressor-not-found',this,{'type':_0x127eea['types'][0x0]});_0x29790d['decompress'](_0x2861ad,_0x127eea);}return _0x2861ad['forEach']((_0x8c46e8,_0x3a117c)=>_0x8c46e8['baseVersion']=_0x127eea['baseVersion']+_0x3a117c),_0x2861ad;}['_getCompressorByName'](_0x3181dc){return this['_compressorByName']['get'](_0x3181dc);}['_registerOperationCompressor'](_0x37449c,_0x351446,_0x3c6cce){const _0x56d036=new _0x3c6cce(_0x37449c,_0x351446,this['_protobufFactory']['getDescriptor'](_0x351446));this['_registerCompressor'](_0x37449c,_0x351446,_0x56d036);}['_registerActionCompressor'](_0x2decf9,_0x47da6a,_0x57460b){const _0x297fd2=new _0x57460b(_0x2decf9,this);this['_registerCompressor'](_0x2decf9,_0x47da6a,_0x297fd2);}['_registerCompressor'](_0x3bf514,_0x54fe6d,_0x1423c1){this['_compressorById']['set'](_0x3bf514,_0x1423c1),this['_compressorByName']['set'](_0x54fe6d,_0x1423c1);}}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,_0x22cf0d,_0x44ef9e,ckeditor5['PendingActions'],_0x38ef77,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 _0x553d17=this['serverHistory']['getOperations']();for(let _0x19be58=_0x553d17['length']-0x1;_0x19be58>=0x0;_0x19be58--){const _0x1fab93=_0x553d17[_0x19be58];if(!this['_disconnectionOperations']['has'](_0x1fab93))return _0x1fab93['baseVersion']+0x1-this['_offset'];}return 0x0;}constructor(_0x5019a3){if(super(_0x5019a3),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 _0x5985c3=_0x5019a3['config']['get']('cloudServices.bundleVersion')||ckeditor5['version'];this['_service']=new RealTimeCollaborationClient['CollaborativeEditingService'](_0x5985c3,this['_channelId']),this['_document']=this['editor']['model']['document'],this['_compressor']=new _0x2397ff(),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 _0x43e34d=this['editor'],_0x50c4b4=_0x43e34d['plugins']['get'](_0x38ef77),_0x3e5f47=_0x43e34d['plugins']['get'](WebSocketGateway);this['listenTo'](_0x50c4b4,'getOperationAuthor',(_0xa5f224,_0x278be4)=>{const _0x180037=_0x278be4[0x0];_0x180037['_authorId']&&(_0xa5f224['return']=_0x50c4b4['getUser'](_0x180037['_authorId']),_0xa5f224['stop']()),null===_0x180037['_authorId']&&(_0xa5f224['return']=null,_0xa5f224['stop']());},{'priority':'high'}),this['listenTo'](_0x43e34d['model']['document']['selection'],'change:range',(_0xd61b09,_0xad863b)=>{_0xad863b['directChange']&&this['_refreshUserSelectionMarkers']();}),this['listenTo'](_0x43e34d['editing']['view'],'change:hasDomSelection',()=>{this['_refreshUserSelectionMarkers']();}),this['_initThrowingOnDataSet'](),_0x43e34d['model']['on']('applyOperation',(_0x529b81,_0x173d40)=>{const _0x102abb=_0x173d40[0x0];_0x102abb['isDocumentOperation']&&(this['_saveOperationInBuffer'](_0x102abb),this['_shouldSendUpdate']()&&this['_sendBufferedOperationsDelayed']());}),this['_setUpDataInit'](),this['bind']('_isEditingAllowed')['to'](_0x3e5f47,'state',this,'_hasSynchronizationProblem',(_0xe5b110,_0x40d113)=>'connected'===_0xe5b110&&!_0x40d113),this['on']('change:_isEditingAllowed',()=>{this['_isEditingAllowed']?_0x43e34d['disableReadOnlyMode']('rtc-offline'):_0x43e34d['enableReadOnlyMode']('rtc-offline');}),this['_isEditingAllowed']?_0x43e34d['disableReadOnlyMode']('rtc-offline'):_0x43e34d['enableReadOnlyMode']('rtc-offline'),this['set']('_isConnected',!0x1);}async['reconnect'](){const _0x4f0b84=this['editor']['plugins']['get'](_0x22cf0d),_0x3c389a=this['editor']['plugins']['get'](WebSocketGateway);try{this['_isPendingUpdate']=!0x0,_0x4f0b84['unregister'](this['_channelId']);const _0x4e5144=await this['_service']['reconnect'](_0x3c389a['connection'],this['lastSyncVersion']);await this['_handleReconnectionResponse'](_0x4e5144)&&(this['_isPendingUpdate']=!0x1,this['_clearPendingAction']());const _0x23cf5c=await this['_service']['getConnectedSessions']();_0x4f0b84['register'](this['_channelId'],_0x23cf5c),this['_handleSendingSelectionMarkers'](),this['_isConnected']=!0x0;}catch(_0x770a34){if(isSessionNotExistingError(_0x770a34)&&this['sessionId'])await this['_connectAfterSessionHasBeenFlushed']();else{if(isBaseVersionMismatchError(_0x770a34)){const _0x5d15d8=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'](_0x5d15d8);}else{if(!(_0x770a34 instanceof ReconnectionError))throw _0x770a34;this['_handleReconnectionError']();}}}}['destroy'](){const _0x4dae11=this['editor']['plugins']['get'](WebSocketGateway),_0x1388df=this['editor']['plugins']['get'](_0x22cf0d);this['editor']['enableReadOnlyMode']('rtc-destroyed'),_0x1388df['channelSessions']['has'](this['_channelId'])&&_0x1388df['unregister'](this['_channelId']),_0x4dae11['removeFromReconnectionStack'](this),this['_disconnectService'](),super['destroy']();}async['_handleReconnectionResponse'](_0x36f552){if(this['sessionId']!==_0x36f552['sessionId']&&this['_lastSyncedOperationId']!==_0x36f552['lastOperationId'])throw new ReconnectionError();return this['sessionId']=_0x36f552['sessionId'],this['_handleServerResponse']([],{..._0x36f552,'wereChangesApplied':!0x1,'data':_0x36f552['data']},'reconnect');}async['_connectService'](_0x2537ef,_0x3be257=!0x1){const {connection:_0x15e771}=this['editor']['plugins']['get'](WebSocketGateway);RealTimeCollaborationClient['CollaborativeEditingService']['getConnectedSessions'](_0x15e771,this['_channelId'])['then'](_0x44606a=>this['_initSessionsHandling'](_0x44606a))['catch'](_0x81431e=>{this['_crash']('realtimecollaborationclient-init-session-connection-error',_0x81431e);}),this['listenTo'](this['_service'],'operationsReceived',this['_handleReceivedOperations']['bind'](this)),this['listenTo'](this['_service'],'error',(_0xe99975,_0x23e52b)=>{this['_crash']('realtimecollaborationclient-init-service-internal-error',_0x23e52b);}),this['listenTo'](this['_service'],'disconnected',()=>{this['_isConnected']=!0x1;});const _0x5282e3=this['_operationIdentifier']['getIdOfTheLastOperation'](_0x2537ef);this['_isPendingUpdate']=!0x0;const _0x595d77=await this['_service']['connect'](_0x15e771,this['_compressOperations'](_0x2537ef),_0x5282e3);if(this['sessionId']=_0x595d77['sessionId'],_0x3be257){if(!_0x595d77['wereChangesApplied'])return void this['_handleReconnectionError']();this['_isPendingUpdate']=!0x1,this['_clearPendingAction'](),this['serverHistory']['reset'](),this['_offset']=_0x595d77['offset'],this['serverHistory']['version']=this['_offset'],await this['_handleServerResponse'](_0x2537ef,_0x595d77,'reconnection:\x20flushed\x20session');}else await this['_handleInitialConnectionData'](_0x595d77,_0x2537ef);this['_handleSendingSelectionMarkers'](),this['_isConnected']=!0x0;}['_handleSendingSelectionMarkers'](){const _0x3736c9=this['editor']['plugins']['get'](_0x22cf0d),_0x2463ff=this['editor']['plugins']['get'](_0x44ef9e),_0x48a7bb=_0x3736c9['channelSessions']['get'](this['_channelId']);_0x48a7bb&&_0x48a7bb['length']>0x1?_0x2463ff['createUserMarkerOperations']():this['listenTo'](_0x3736c9,'sessionAdd:'+this['_channelId'],()=>{0x2===_0x3736c9['channelSessions']['get'](this['_channelId'])['length']&&_0x2463ff['createUserMarkerOperations']();});}async['_handleReceivedOperations'](_0x5ce45a,_0x405ee0,_0x28731a,_0x184f7e){if(!this['_isPendingUpdate']&&this['_document']['version']==_0x405ee0){const _0x41a6e1=this['_decompressOperations'](_0x28731a,_0x184f7e);await this['_fetchMissingUsers'](_0x41a6e1),this['_handleExternalOperations'](_0x41a6e1,_0x405ee0,_0x28731a['lastOperationId'])||this['_crash']('realtimecollaborationclient-init-service-incorrect-server-operation');}}async['_connectAfterSessionHasBeenFlushed'](){this['_disconnectService']();const {locale:_0x1cdccf}=this['editor'];let _0x469d92;try{_0x469d92=await this['_service']['getDocumentDetails']();}catch{const _0x47ff42=getTranslation$6(_0x1cdccf,'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'](_0x47ff42);}const _0x35ef81=_0x469d92['currentDocumentSession']||_0x469d92['lastDocumentSession'];if(this['_lastSyncedOperationId']!==_0x35ef81['lastOperationId']){const _0x396d8c=getTranslation$6(_0x1cdccf,'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'](_0x396d8c);}await this['_connectService'](this['editor']['model']['document']['history']['getOperations'](),!0x0);}['_disconnectService'](){this['_service']['disconnect'](),this['_bufferedOperations']=[],clearTimeout(this['_sendBufferedOperationsDelayId']),this['stopListening'](this['_service']);}['_initSessionsHandling'](_0x392fb4){const _0x2cdf76=this['editor']['plugins']['get'](_0x22cf0d);this['listenTo'](_0x2cdf76,'sessionAdd:'+this['_channelId'],(_0x4986bb,{session:_0xa5d51e})=>{if(_0xa5d51e['id']===_0x2cdf76['mySessionId']){_0x4986bb['off']();const _0x17a3bf=this['editor']['plugins']['has']('CommentsOnly')&&this['editor']['plugins']['get']('CommentsOnly');let _0x2adc7c=_0xa5d51e['permissions'];_0x17a3bf&&_0x17a3bf['isEnabled']&&(_0x2adc7c=_0x2adc7c['filter'](_0x343760=>'document:write'!==_0x343760)),this['editor']['plugins']['get']('Permissions')['setPermissions'](_0x2adc7c,this['_channelId']);}}),_0x2cdf76['register'](this['_channelId'],_0x392fb4);}['_initThrowingOnDataSet'](){const _0x400d43=this['editor']['data']['set'];this['editor']['data']['set']=(..._0x52b7af)=>{if(!_0x52b7af[_0x52b7af['length']-0x1]['suppressErrorInCollaboration'])throw new ckeditor5['CKEditorError']('realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration',this);_0x400d43['apply'](this['editor']['data'],_0x52b7af);};}['_setUpDataInit'](){this['editor']['data']['on']('init',(_0x363016,[_0x5ba801])=>{if(this['_document']['version'])throw new ckeditor5['CKEditorError']('realtimecollaborationclient-init-document-already-initialized',this);_0x363016['stop'](),this['_setPendingAction']();const _0xda5b20=this['editor']['config']['get']('rootsAttributes'),_0x1763fc=this['_getOperationsFromInitData'](_0x5ba801,_0xda5b20);0x0==_0x1763fc['length']&&_0x1763fc['push'](new ckeditor5['NoOperation'](0x0)),_0x363016['return']=this['_connectService'](_0x1763fc)['then'](()=>{this['editor']['plugins']['get'](WebSocketGateway)['addToReconnectionStack'](this),this['editor']['data']['fire']('ready');})['catch'](_0x14d527=>this['_crash']('realtimecollaborationclient-init-connection-failed',_0x14d527))['finally'](()=>this['_clearPendingAction']());},{'priority':'high'}),this['editor']['on']('loadRoot',async(_0x13ad87,[_0x12e84b,_0x5e32e0])=>{_0x13ad87['stop']();const _0x21243e=this['editor']['model']['document']['getRoot'](_0x12e84b);if(!this['_knownRootNames']['has'](_0x12e84b)){const _0x51e60f=_0x5e32e0&&_0x5e32e0['data']?_0x5e32e0['data']:'',_0x5d93ca=_0x5e32e0&&_0x5e32e0['attributes']?_0x5e32e0['attributes']:{};await this['_loadRoot'](_0x12e84b,_0x51e60f,_0x5d93ca);}this['editor']['model']['enqueueChange']({'isUndoable':!0x1},()=>{_0x21243e['_isLoaded']=!0x0,this['editor']['model']['document']['differ']['_bufferRootLoad'](_0x21243e);});},{'priority':'high'});}async['_fetchMissingUsers'](_0x4faff9){const _0xda49d=this['editor']['plugins']['get'](_0x38ef77),{connection:_0x564775}=this['editor']['plugins']['get'](WebSocketGateway),_0x3794bc=new Set();for(const _0x3fe5e2 of _0x4faff9){const _0x33f5ed=_0x3fe5e2['_authorId'];_0x33f5ed&&!_0xda49d['getUser'](_0x33f5ed)&&_0x3794bc['add'](_0x33f5ed);}if(0x0===_0x3794bc['size'])return;const _0x51e6f3=await _0x5ba9e9['getMany'](_0x564775,Array['from'](_0x3794bc));for(const _0x58b3aa of _0x51e6f3)_0xda49d['getUser'](_0x58b3aa['id'])||_0xda49d['addUser'](_0x58b3aa);}['_getOperationsFromInitData'](_0x313e94,_0x3d2b96={}){const _0x3b285a=this['editor']['model'],_0x370153=[];let _0x26306b=0x0;const _0xa3b13b='string'==typeof _0x313e94?{'main':_0x313e94}:_0x313e94;for(const _0x3c57ed of Object['keys'](_0xa3b13b)){if(!this['_document']['roots']['has'](_0x3c57ed))throw new ckeditor5['CKEditorError']('realtimecollaborationclient-init-non-existent-root',this);const _0x48a13a=this['editor']['data']['parse'](_0xa3b13b[_0x3c57ed]),_0x11d04c=this['_document']['getRoot'](_0x3c57ed),_0x2f86ec=new ckeditor5['InsertOperation'](_0x3b285a['createPositionAt'](_0x11d04c,0x0),_0x48a13a,_0x26306b++);_0x370153['push'](_0x2f86ec);for(const [_0x1dc248,_0x270759]of _0x48a13a['markers']){const _0x13c534=_0x3b285a['createRange'](_0x3b285a['createPositionFromPath'](_0x11d04c,_0x270759['start']['path']['slice']()),_0x3b285a['createPositionFromPath'](_0x11d04c,_0x270759['end']['path']['slice']())),_0x312263=new ckeditor5['MarkerOperation'](_0x1dc248,null,_0x13c534,_0x3b285a['markers'],!0x0,_0x26306b++);_0x370153['push'](_0x312263);}}if(_0x3d2b96)for(const [_0x3930d7,_0x1181a0]of Object['entries'](_0x3d2b96)){const _0x56bf6f=_0x3b285a['document']['getRoot'](_0x3930d7);if(!_0x56bf6f)throw new ckeditor5['CKEditorError']('multi-root-editor-root-attributes-no-root',null);for(const [_0x1570f7,_0x3ef845]of Object['entries'](_0x1181a0))if(null!==_0x3ef845){const _0x1f9412=new ckeditor5['RootAttributeOperation'](_0x56bf6f,_0x1570f7,null,_0x3ef845,_0x26306b++);_0x370153['push'](_0x1f9412);}}return _0x370153;}async['_loadRoot'](_0x3c5100,_0x4f7541,_0x1008b7){this['_getOperationsFromInitData']({[_0x3c5100]:_0x4f7541},{[_0x3c5100]:_0x1008b7})['forEach']((_0x7a917a,_0x41c5e8)=>{_0x7a917a['baseVersion']=this['_document']['version']+_0x41c5e8,_0x7a917a['_isInit']=!0x0,this['_saveOperationInBuffer'](_0x7a917a);}),this['_sendBufferedOperationsDelayed'](),await this['_waitUntilSynced']();}async['_handleInitialConnectionData'](_0x18a8db,_0x251fa4){let _0x45066;this['_offset']=_0x18a8db['offset'];const _0x345589=_0x18a8db['wereChangesApplied']&&!_0x18a8db['initData'],_0x148956=_0x345589?0x0:_0x18a8db['data']['baseVersion'];if(_0x251fa4['forEach'](_0x1710a2=>{_0x1710a2['_isInit']=!0x0,_0x1710a2['createdAt']=_0x18a8db['sessionCreatedAt'],_0x1710a2['_authorId']=null;}),_0x345589)_0x45066=_0x251fa4,this['_applyOperationsSet'](_0x45066,_0x345589);else{if(_0x18a8db['initData']){const _0x4a71e1=this['_getOperationsFromInitData'](_0x18a8db['initData']);this['_document']['history']['version']=-_0x4a71e1['length'],_0x4a71e1['forEach'](_0x5e881b=>{_0x5e881b['baseVersion']-=_0x4a71e1['length'],_0x5e881b['createdAt']=_0x18a8db['sessionCreatedAt'],_0x5e881b['_isInit']=!0x0,_0x5e881b['_authorId']=null;}),this['_applyOperationsSet'](_0x4a71e1,!0x0),this['serverHistory']['version']=-_0x4a71e1['length']+this['_offset'],this['_updateServerHistory'](_0x4a71e1);}this['_document']['history']['version']=_0x148956,_0x45066=this['_decompressOperations'](_0x18a8db['data'],_0x18a8db['metadata']),await this['_fetchMissingUsers'](_0x45066),this['_applyOperationsSet'](_0x45066,_0x345589);}_0x18a8db['lastOperationId']&&(this['_operationIdentifier']['setIdForTheLastOperation'](_0x45066,_0x18a8db['lastOperationId']),this['_lastSyncedOperationId']=_0x18a8db['lastOperationId']),this['serverHistory']['version']=_0x148956+this['_offset'],this['_updateServerHistory'](_0x45066),_0x251fa4['filter'](_0x169cb8=>{const _0x4ed028=this['_getAffectedRoot'](_0x169cb8);return _0x4ed028&&!this['_knownRootNames']['has'](_0x4ed028);})['forEach']((_0x522594,_0x28cc01)=>{_0x522594['baseVersion']=this['_document']['version']+_0x28cc01,this['_saveOperationInBuffer'](_0x522594);}),this['_shouldSendUpdate']()?(this['_currentBufferDelay']=0x0,this['_sendBufferedOperationsDelayed'](!0x0),await this['_waitUntilSynced']()):(this['_isPendingUpdate']=!0x1,this['_clearPendingAction']());}['_crash'](_0xf5e45e,_0x5c23f2){const _0x21784b=_0x5c23f2&&_0x5c23f2['message'];if(_0x21784b&&_0x21784b['startsWith']('realtimecollaborationclient'))throw _0x5c23f2;const _0x384dfe=this['editor']['plugins']['get'](WebSocketGateway);throw this['_isPendingUpdate']=!0x0,_0x384dfe['disconnect'](),this['editor']['enableReadOnlyMode']('realtimecollaborationclient-error'),new ckeditor5['CKEditorError'](_0xf5e45e,this['editor'],_0x21784b?{'originalError':_0x21784b}:void 0x0);}['_saveOperationInBuffer'](_0x3a1ec3){this['_knownOperations']['has'](_0x3a1ec3)||(this['_knownOperations']['add'](_0x3a1ec3),this['_bufferedOperations']['push'](_0x3a1ec3),this['_pendingAction']||'marker'==_0x3a1ec3['type']&&!_0x3a1ec3['affectsData']||this['_setPendingAction']());}['_sendBufferedOperationsDelayed'](_0x467796=!0x1){!_0x467796&&this['_isPendingUpdate']||(this['_isPendingUpdate']=!0x0,clearTimeout(this['_sendBufferedOperationsDelayId']),this['_sendBufferedOperationsDelayId']=setTimeout(()=>{this['_sendBufferedOperations']()['then'](_0x2366b1=>{_0x2366b1&&(this['_clearPendingAction'](),this['_isPendingUpdate']=!0x1);})['catch'](_0x4dbd15=>{this['_clearPendingAction'](),this['_isPendingUpdate']=!0x1,isDisconnectionError$3(_0x4dbd15)||this['_crash'](_0x4dbd15['message'],_0x4dbd15);});},this['_currentBufferDelay']));}['_waitUntilSynced'](){return new Promise(_0x563046=>{this['on']('change:_isPendingUpdate',()=>{_0x563046();});});}async['_sendBufferedOperations'](){const _0x3eb714=this['editor']['plugins']['get'](_0x44ef9e);if(this['_shouldSendSelectionUpdate']()&&(_0x3eb714['createUserMarkerOperations'](),this['_hasSelectionChanged']=!0x1),!this['_shouldSendUpdate']())return!0x0;const _0x197514=[...this['_bufferedOperations']];for(const _0x366995 of _0x197514)_0x366995['wasUndone']=this['_document']['history']['isUndoneOperation'](_0x366995);const _0x4f05bb=this['_operationIdentifier']['getIdOfTheLastOperation'](_0x197514),_0x23c9fd=requestCount++,_0x2d7f8b=this['_compressOperations'](_0x197514),_0x49c6e4=await this['_service']['sendOperations'](_0x2d7f8b,_0x2d7f8b['baseVersion'],_0x4f05bb);try{return await this['_handleServerResponse'](_0x197514,_0x49c6e4,_0x23c9fd);}catch(_0x35d1f9){return this['_crash']('realtimecollaborationclient-sendbufferedoperations',_0x35d1f9);}}async['_handleServerResponse'](_0x328267,_0x562e68,_0x2ade1d){if('error'in _0x562e68)throw _0x562e68['error'];let _0xd1c27b=!0x1;if(_0x562e68['wereChangesApplied']){_0x562e68['lastOperationId']&&(this['_lastSyncedOperationId']=_0x562e68['lastOperationId']),this['_bufferedOperations']=this['_bufferedOperations']['filter'](_0x4a9d1e=>!_0x328267['includes'](_0x4a9d1e));for(const _0x471329 of _0x328267)_0x471329['createdAt']='lastOperationAcceptedAt'in _0x562e68&&_0x562e68['lastOperationAcceptedAt']||void 0x0;updateBaseVersions(_0x328267,_0x562e68['version']-_0x328267['length']),this['_updateServerHistory'](_0x328267);const _0x485938=_0x328267['filter'](_0x145d99=>{if(!_0x145d99['_isInit'])return!0x1;const _0x500e5c=this['_getAffectedRoot'](_0x145d99);return _0x500e5c&&!this['_knownRootNames']['has'](_0x500e5c);});updateBaseVersions(_0x485938,this['_document']['version']),this['_applyOperationsSet'](_0x485938),_0xd1c27b=!0x0,this['_currentBufferDelay']=this['_baseBufferDelay'];}else{const _0x407eea=this['_decompressOperations'](_0x562e68['data'],_0x562e68['metadata'])['filter'](_0x5bd9ae=>_0x5bd9ae['baseVersion']>=this['_lastServerVersion']);_0x407eea['forEach'](_0x32cdbc=>this['_addKnownRoot'](_0x32cdbc)),this['_bufferedOperations']=this['_bufferedOperations']['filter'](_0x1e6dcf=>!_0x1e6dcf['_isInit']||!this['_knownRootNames']['has'](this['_getAffectedRoot'](_0x1e6dcf))),this['_bufferedOperations']['length']&&updateBaseVersions(this['_bufferedOperations'],this['_bufferedOperations'][0x0]['baseVersion']),await this['_fetchMissingUsers'](_0x407eea),_0xd1c27b=this['_handleExternalOperations'](_0x407eea,_0x562e68['version'],_0x562e68['lastOperationId']),this['_currentBufferDelay']=Math['round'](this['_currentBufferDelay']/0x2);}return _0xd1c27b?!this['_shouldSendUpdate']()||(this['_sendBufferedOperationsDelayed'](!0x0),!0x1):this['_crash']('realtimecollaborationclient-handleserverresponse');}['_handleExternalOperations'](_0x162f50,_0x3426ac,_0x14b4b4){try{const _0x38a277={'document':this['_document'],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x5f33ea,operationsB:_0x145f4d,originalOperations:_0x5ee1b9}=ckeditor5['transformOperationSets'](_0x162f50,this['_bufferedOperations'],_0x38a277);updateBaseVersions(_0x5f33ea,this['_document']['version']),updateBaseVersions(_0x145f4d,_0x3426ac);for(const _0x207019 of _0x5f33ea){const _0x2bff33=_0x5ee1b9['get'](_0x207019);_0x207019['_authorId']=_0x2bff33?_0x2bff33['_authorId']:null;}_0x14b4b4&&(this['_operationIdentifier']['setIdForTheLastOperation'](_0x162f50,_0x14b4b4),this['_lastSyncedOperationId']=_0x14b4b4),this['_bufferedOperations']=[..._0x145f4d],this['_applyOperationsSet'](_0x5f33ea),this['_updateServerHistory'](_0x162f50);}catch(_0x30d612){return console['error'](_0x30d612),!0x1;}return!0x0;}['_applyOperationsSet'](_0xc7ea93,_0x10a5c3=!0x1){this['editor']['model']['enqueueChange']({'isUndoable':!0x1,'isLocal':!0x1},_0x242878=>{for(const _0x1deee9 of _0xc7ea93)this['_knownOperations']['add'](_0x1deee9),this['_addKnownRoot'](_0x1deee9),_0x242878['batch']['addOperation'](_0x1deee9),this['editor']['model']['applyOperation'](_0x1deee9);});}['_addKnownRoot'](_0xfc9c78){const _0x36f912=this['_getAffectedRoot'](_0xfc9c78);_0x36f912&&this['_knownRootNames']['add'](_0x36f912);}['_getAffectedRoot'](_0x13a2b7){let _0x1c08f7,_0xb65ad3;switch(_0x13a2b7['type']){case'insert':_0x1c08f7=_0x13a2b7['position']['root'];break;case'marker':if(_0xb65ad3=_0x13a2b7['newRange'],!_0xb65ad3)return null;_0x1c08f7=_0xb65ad3['root'];break;case'addRootAttribute':_0x1c08f7=_0x13a2b7['root'];break;case'addRoot':_0x1c08f7=_0x13a2b7['affectedSelectable'];break;case'move':_0x1c08f7=_0x13a2b7['targetPosition']['root'];break;default:return null;}return _0x1c08f7['rootName'];}['_updateServerHistory'](_0x5a2ab2){_0x5a2ab2['forEach'](_0x5bd13d=>{const _0x53ae84=_0x5bd13d['clone']();_0x53ae84['_authorId']=_0x5bd13d['_authorId'],_0x53ae84['_isInit']=!!_0x5bd13d['_isInit'],_0x53ae84['createdAt']=_0x5bd13d['createdAt'],_0x53ae84['baseVersion']+=this['_offset'],_0x5bd13d['_isDisconnection']&&this['_disconnectionOperations']['add'](_0x53ae84),this['serverHistory']['addOperation'](_0x53ae84);});}['_handleReconnectionError'](_0x5454e1){const _0x3819cd=this['editor']['plugins']['get']('Notification'),_0x3fdc32=this['editor']['locale'];_0x5454e1||(_0x5454e1=getTranslation$6(_0x3fdc32,'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.')),_0x3819cd['showWarning'](_0x5454e1,{'title':getTranslation$6(_0x3fdc32,'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'](_0x2310e0){const _0x4be49a=_0x2310e0['map'](_0x7d417a=>_0x7d417a['toJSON']());return this['_compressor']['compress'](_0x4be49a);}['_decompressOperations'](_0x8ec76d,_0xbf749a){return this['_compressor']['decompress'](_0x8ec76d)['map']((_0x27ae73,_0x299dcf)=>{const _0x4d26a3='init'==_0xbf749a[_0x299dcf]['type'];if('InsertOperation'==_0x27ae73['__className']){const _0xb63e90=_0x27ae73['position']['root'];!this['_document']['getRoot'](_0xb63e90)&&(this['_document']['createRoot']('$root',_0xb63e90)['_isAttached']=!0x1);}const _0x7f9faf=ckeditor5['OperationFactory']['fromJSON'](_0x27ae73,this['_document']);return _0x7f9faf['wasUndone']=_0x27ae73['wasUndone'],_0x7f9faf['_isInit']=_0x4d26a3,_0x7f9faf['_authorId']=_0x4d26a3?null:_0xbf749a[_0x299dcf]['userId'],_0x7f9faf['_isDisconnection']='cs:removeUser'===_0xbf749a[_0x299dcf]['type'],_0x7f9faf['createdAt']=_0xbf749a[_0x299dcf]['createdAt'],_0x7f9faf;});}['_refreshUserSelectionMarkers'](){this['_hasSelectionChanged']=!0x0,this['_shouldSendSelectionUpdate']()?this['_sendBufferedOperationsDelayed']():this['_hasSelectionChanged']=!0x1;}['_shouldSendSelectionUpdate'](){const _0x11ea31=this['editor']['plugins']['get'](_0x22cf0d)['channelSessions']['get'](this['_channelId']);return!this['editor']['isReadOnly']&&!!_0x11ea31&&_0x11ea31['length']>0x1&&this['_hasSelectionChanged'];}['_shouldSendUpdate'](){return this['_bufferedOperations']['length']>0x0||this['_shouldSendSelectionUpdate']();}}class ReconnectionError extends Error{}function updateBaseVersions(_0x94ec54,_0x4c80bc){for(const _0x368f42 of _0x94ec54)_0x368f42['baseVersion']=_0x4c80bc++;}function isSessionNotExistingError(_0x1f6cbd){return'404'===_0x1f6cbd['code'];}function isBaseVersionMismatchError(_0x5670c3){return'409'===_0x5670c3['code'];}function isDisconnectionError$3(_0x4cf3b8){return _0x4cf3b8['message']['startsWith']('cloud-services-internal-error:\x20Not\x20connected.')||_0x4cf3b8['message']['startsWith']('cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.')||_0x4cf3b8['message']['startsWith']('cloud-services-internal-error:\x20Request\x20timeout.');}class OperationIdentifier{['_ignoredOperations'];['_operationToId'];constructor(_0x1c42e3){this['_ignoredOperations']=_0x1c42e3,this['_operationToId']=new WeakMap();}['getIdOfTheLastOperation'](_0x14ade7){let _0x30a91c=_0x14ade7['length'];for(;_0x30a91c--;){const _0x7b7de9=_0x14ade7[_0x30a91c];if(!this['_ignoredOperations']['has'](_0x7b7de9)){if(!this['_operationToId']['has'](_0x7b7de9)){const _0x5c3925=ckeditor5['uid']()['slice'](0x1,0x12);this['_operationToId']['set'](_0x7b7de9,_0x5c3925);}return this['_operationToId']['get'](_0x7b7de9);}}}['setIdForTheLastOperation'](_0x1e6ea7,_0x550d64){if(!_0x550d64)return;let _0x265cdc=_0x1e6ea7['length'];for(;_0x265cdc--;){const _0x2621d4=_0x1e6ea7[_0x265cdc];this['_ignoredOperations']['has'](_0x2621d4)||this['_operationToId']['set'](_0x2621d4,_0x550d64);}}}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',_0x22cf0d,_0x38ef77];}static get['pluginName'](){return'CloudServicesCommentsAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x520cf4){super(_0x520cf4),this['_services']=new Map();}async['init'](){const _0x21e955=this['context'],_0x127688=_0x21e955['plugins']['get']('CommentsRepository');if(_0x21e955['plugins']['get'](WebSocketGateway)['addToReconnectionStack'](this),_0x127688['adapter']={'addCommentThread':async({channelId:_0x5a7faa,threadId:_0x2d18f1,comments:_0x494e75,resolvedAt:_0x16507e,resolvedBy:_0x44ffa6,context:_0x245b9c,attributes:_0x11af3d})=>{const _0x28078f=await this['_getService'](_0x5a7faa)['addCommentThread']({'commentThreadId':_0x2d18f1,'comments':_0x494e75['map'](_0x40d8ea=>parseLocalCommentToRemote(_0x40d8ea,_0x5a7faa,_0x2d18f1)),'resolvedAt':_0x16507e,'resolvedBy':_0x44ffa6,'context':_0x245b9c,'attributes':_0x11af3d})['catch'](handleDisconnectionError$1);return{'threadId':_0x28078f['commentThreadId'],'comments':_0x28078f['comments']};},'getCommentThread':async({channelId:_0x3a5aa8,threadId:_0x1a3581})=>{const _0x2cb0e9=await this['_getService'](_0x3a5aa8)['getCommentThread'](_0x1a3581)['catch'](_0x41b0e0)['catch'](handleDisconnectionError$1);return _0x2cb0e9?_0x2cb0e9['deletedAt']?null:(await this['_fetchMissingUsersForThreads']([_0x2cb0e9]),{'threadId':_0x2cb0e9['commentThreadId'],'comments':_0x2cb0e9['comments']['map'](parseRemoteCommentToLocal),'context':_0x2cb0e9['context'],'resolvedAt':_0x2cb0e9['resolvedAt'],'resolvedBy':_0x2cb0e9['resolvedBy'],'attributes':_0x2cb0e9['attributes']||{}}):null;},'updateCommentThread':async({channelId:_0x41fb79,threadId:_0x36fe08,context:_0x327867,unlinkedAt:_0x4cd060,attributes:_0x1b2897})=>this['_getService'](_0x41fb79)['updateCommentThread']({'commentThreadId':_0x36fe08,'context':_0x327867,'attributes':_0x1b2897,'unlinkedAt':_0x4cd060})['catch'](_0x41b0e0)['catch'](handleDisconnectionError$1),'resolveCommentThread':async({channelId:_0x5966e4,threadId:_0x3fdd01})=>{const _0x2b3be4=await this['_getService'](_0x5966e4)['resolveCommentThread'](_0x3fdd01)['catch'](_0x41b0e0)['catch'](handleDisconnectionError$1);return{'threadId':_0x2b3be4['commentThreadId'],'resolvedAt':_0x2b3be4['resolvedAt'],'resolvedBy':_0x2b3be4['resolvedBy']};},'reopenCommentThread':async({channelId:_0x114be6,threadId:_0x43a55e})=>this['_getService'](_0x114be6)['reopenCommentThread'](_0x43a55e)['catch'](_0x41b0e0)['catch'](handleDisconnectionError$1),'removeCommentThread':({channelId:_0x23894d,threadId:_0x462274})=>this['_getService'](_0x23894d)['removeCommentThread'](_0x462274)['catch'](_0x41b0e0)['catch'](handleDisconnectionError$1),'addComment':({channelId:_0x5af1eb,threadId:_0x513bee,commentId:_0x152979,content:_0x4db195,attributes:_0x30e5e1})=>this['_getService'](_0x5af1eb)['addComment'](_0x513bee,_0x152979,_0x4db195,_0x30e5e1)['catch'](handleDisconnectionError$1),'updateComment':({channelId:_0x2de0aa,threadId:_0x5e7432,commentId:_0x14af6f,content:_0x28b547,attributes:_0xcf53cb})=>this['_getService'](_0x2de0aa)['updateComment'](_0x5e7432,_0x14af6f,_0x28b547,_0xcf53cb)['catch'](_0x41b0e0)['catch'](handleDisconnectionError$1),'removeComment':({channelId:_0x1bf688,threadId:_0x592ff7,commentId:_0x28feb3})=>this['_getService'](_0x1bf688)['removeComment'](_0x592ff7,_0x28feb3)['catch'](_0x41b0e0)['catch'](handleDisconnectionError$1)},_0x21e955 instanceof ckeditor5['Context']){const _0x11df36=_0x21e955['config']['get']('collaboration.channelId'),_0x15f238=_0x21e955['plugins']['get'](_0x22cf0d);await this['_setUpService'](_0x11df36);const _0x595aae=await this['_services']['get'](_0x11df36)['getConnectedSessions']();this['listenTo'](_0x15f238,'sessionAdd:'+_0x11df36,(_0x1270b4,{session:_0x33c879})=>{_0x33c879['id']===_0x15f238['mySessionId']&&(_0x1270b4['off'](),this['context']['plugins']['get']('Permissions')['setPermissions'](_0x33c879['permissions'],_0x11df36));}),_0x15f238['register'](_0x11df36,_0x595aae);}}async['_setUpService'](_0x20dda9){if(this['_services']['has'](_0x20dda9))throw new ckeditor5['CKEditorError']('cloudservicescommentsadapter-connect-already-connected',null,{'channelId':_0x20dda9});const _0x677d6b=this['context']['plugins']['get']('CommentsRepository'),_0x128266=new CloudServicesCommentsAdapter['CommentsService'](_0x20dda9);this['_services']['set'](_0x20dda9,_0x128266),this['listenTo'](_0x128266,'commentThreadAdded',(_0x1a4243,_0x3318ba)=>{const {commentThreadId:_0x4bd0a2,documentId:_0x281afc,context:_0x428078,attributes:_0x2e8164,resolvedAt:_0x41eb0f,resolvedBy:_0x510578,comments:_0x3b5d26}=_0x3318ba;_0x677d6b['getCommentThread'](_0x4bd0a2)||_0x677d6b['addCommentThread']({'threadId':_0x4bd0a2,'channelId':_0x281afc,'comments':_0x3b5d26?_0x3b5d26['map'](parseRemoteCommentToLocal):[],'context':_0x428078,'attributes':_0x2e8164,'resolvedAt':_0x41eb0f,'resolvedBy':_0x510578,'isFromAdapter':!0x0});}),this['listenTo'](_0x128266,'commentThreadUpdated',(_0x27c740,{commentThreadId:_0x4bb5ad,documentId:_0x24776e,context:_0x313210,unlinkedAt:_0x3b5d3b,attributes:_0x2746a7})=>{_0x677d6b['getCommentThread'](_0x4bb5ad)&&_0x677d6b['updateCommentThread']({'threadId':_0x4bb5ad,'channelId':_0x24776e,'context':_0x313210,'unlinkedAt':_0x3b5d3b,'attributes':_0x2746a7,'isFromAdapter':!0x0});}),this['listenTo'](_0x128266,'commentThreadResolved',(_0x4ca1fe,{commentThreadId:_0x4785c8,resolvedBy:_0x1056f0,resolvedAt:_0x498c22})=>{const _0x2b4838=_0x677d6b['getCommentThread'](_0x4785c8);_0x2b4838&&_0x2b4838['resolve']({'resolvedBy':_0x1056f0,'resolvedAt':_0x498c22,'isFromAdapter':!0x0});}),this['listenTo'](_0x128266,'commentThreadReopened',(_0x3eebaf,{commentThreadId:_0x4b8a56})=>{const _0x4642a5=_0x677d6b['getCommentThread'](_0x4b8a56);_0x4642a5&&_0x4642a5['reopen']({'isFromAdapter':!0x0});}),this['listenTo'](_0x128266,'commentThreadRemoved',(_0x39009c,{commentThreadId:_0x412b9f})=>{const _0x3e08b8=_0x677d6b['getCommentThread'](_0x412b9f);_0x3e08b8&&_0x3e08b8['remove']({'isFromAdapter':!0x0});}),this['listenTo'](_0x128266,'commentAdded',(_0x305c6b,_0x214da5)=>{const _0x5bb69c=_0x214da5['commentThreadId'],_0x77370f=_0x677d6b['getCommentThread'](_0x5bb69c);_0x77370f&&_0x77370f['addComment']({...parseRemoteCommentToLocal(_0x214da5),'isFromAdapter':!0x0});}),this['listenTo'](_0x128266,'commentUpdated',(_0x385091,{commentThreadId:_0x1ab880,commentId:_0x5e7d6a,content:_0x1f45fa,attributes:_0x5a8334})=>{const _0x3f9505=_0x677d6b['getCommentThread'](_0x1ab880);if(_0x3f9505){const _0x41c2bb=_0x3f9505['getComment'](_0x5e7d6a);_0x41c2bb&&_0x41c2bb['update']({'content':_0x1f45fa,'attributes':_0x5a8334,'isFromAdapter':!0x0});}}),this['listenTo'](_0x128266,'commentRemoved',(_0x16ba6d,{commentThreadId:_0x396a62,commentId:_0x281d6d})=>{const _0x37dc8b=_0x677d6b['getCommentThread'](_0x396a62);if(_0x37dc8b){const _0x39e4ad=_0x37dc8b['getComment'](_0x281d6d);_0x39e4ad&&_0x39e4ad['remove']({'isFromAdapter':!0x0});}}),await this['_connectService'](_0x20dda9);}['destroy'](){if(this['context']instanceof ckeditor5['Context']){const _0x151a8f=this['context']['config']['get']('collaboration.channelId');this['_terminateService'](_0x151a8f);}}['_terminateService'](_0x4fd73b){if(!this['_services']['has'](_0x4fd73b))throw new ckeditor5['CKEditorError']('cloudservicescommentsadapter-disconnect-not-exist',null,{'channelId':_0x4fd73b});this['_getService'](_0x4fd73b)['disconnect'](),this['_services']['delete'](_0x4fd73b);}async['reconnect'](){for(const _0x2eabb6 of this['_services']['keys']())await this['_connectService'](_0x2eabb6);if(this['context']instanceof ckeditor5['Context']){const _0x67b5d6=this['context']['config']['get']('collaboration.channelId'),_0x576f57=this['context']['plugins']['get'](_0x22cf0d);_0x576f57['unregister'](_0x67b5d6);const _0x20f126=await this['_services']['get'](_0x67b5d6)['getConnectedSessions']();_0x576f57['register'](_0x67b5d6,_0x20f126);}}async['_connectService'](_0x3285ce){const {connection:_0x5aa3b6}=this['context']['plugins']['get'](WebSocketGateway),_0x510aa2=this['context']['plugins']['get']('CommentsRepository'),_0x1af885=this['_services']['get'](_0x3285ce),_0x2bc701=await _0x1af885['connect'](_0x5aa3b6);await this['_fetchMissingUsersForThreads'](_0x2bc701);const _0x5d5108=new Set(Array['from'](_0x510aa2['getCommentThreads']({'channelId':_0x3285ce}),_0x3bf05a=>_0x3bf05a['id']));for(const _0x5d514d of _0x2bc701)_0x5d514d['deletedAt']||_0x5d5108['delete'](_0x5d514d['commentThreadId']);for(const _0xeca426 of _0x5d5108)_0x510aa2['getCommentThread'](_0xeca426)['remove']({'isFromAdapter':!0x0});for(const _0x5baf29 of _0x2bc701){let _0x26d3c7=_0x510aa2['getCommentThread'](_0x5baf29['commentThreadId']);const {commentThreadId:_0x4574b8,context:_0x3bbd2f,attributes:_0x3b7483,resolvedBy:_0x6c4099,resolvedAt:_0x3c3bc2,unlinkedAt:_0x4e9891,deletedAt:_0x2e68c3}=_0x5baf29;if(_0x2e68c3)continue;_0x26d3c7||(_0x26d3c7=_0x510aa2['addCommentThread']({'channelId':_0x3285ce,'threadId':_0x4574b8,'context':_0x3bbd2f,'attributes':_0x3b7483||{},'resolvedBy':_0x6c4099,'resolvedAt':_0x3c3bc2,'unlinkedAt':_0x4e9891,'isFromAdapter':!0x0}));const _0x47b741=new Set(Array['from'](_0x26d3c7['comments'],_0x4d7e88=>_0x4d7e88['id']));for(const _0x3fe7b6 of _0x5baf29['comments'])_0x47b741['delete'](_0x3fe7b6['commentId']);for(const _0x2d2685 of _0x47b741)_0x26d3c7['getComment'](_0x2d2685)['remove']({'isFromAdapter':!0x0});for(const _0x4dd92c of _0x5baf29['comments']){const _0x3cd5d7=_0x26d3c7['getComment'](_0x4dd92c['commentId']);_0x3cd5d7?_0x3cd5d7['content']!==_0x4dd92c['content']&&_0x3cd5d7['update']({'content':_0x4dd92c['content'],'isFromAdapter':!0x0}):_0x26d3c7['addComment'](Object['assign'](parseRemoteCommentToLocal(_0x4dd92c),{'isFromAdapter':!0x0}));}}}['_getService'](_0x296c10){if(!this['_services']['has'](_0x296c10))throw new ckeditor5['CKEditorError']('cloudservicescommentsadapter-service-not-exist',null,{'channelId':_0x296c10});return this['_services']['get'](_0x296c10);}async['_fetchMissingUsersForThreads'](_0x3ee6b6){const _0x25d99b=this['context']['plugins']['get'](_0x38ef77),{connection:_0x560f26}=this['context']['plugins']['get'](WebSocketGateway),_0x134b22=new Set();for(const {resolvedBy:_0x17ee5c,comments:_0x164762}of _0x3ee6b6){_0x17ee5c&&!_0x25d99b['getUser'](_0x17ee5c)&&_0x134b22['add'](_0x17ee5c);for(const {userId:_0x1304f2}of _0x164762)_0x25d99b['getUser'](_0x1304f2)||_0x134b22['add'](_0x1304f2);}if(0x0===_0x134b22['size'])return;const _0x178d6b=await _0x5ba9e9['getMany'](_0x560f26,Array['from'](_0x134b22));for(const _0x2db2f9 of _0x178d6b)_0x25d99b['getUser'](_0x2db2f9['id'])||_0x25d99b['addUser'](_0x2db2f9);}}async function _0x41b0e0(_0x27872d){if('404'!==_0x27872d['code'])throw _0x27872d;}function handleDisconnectionError$1(_0x4687d0){if(isDisconnectionError$2(_0x4687d0))return new Promise(()=>{});throw _0x4687d0;}function isDisconnectionError$2(_0x4a880d){return _0x4a880d['message']['startsWith']('cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.')||_0x4a880d['message']['startsWith']('cloud-services-internal-error:\x20Not\x20connected.')||_0x4a880d['message']['startsWith']('cloud-services-internal-error:\x20Request\x20timeout.');}function parseRemoteCommentToLocal(_0x23d9ec){return{'threadId':_0x23d9ec['commentThreadId'],'commentId':_0x23d9ec['commentId'],'content':_0x23d9ec['content'],'createdAt':_0x23d9ec['createdAt'],'authorId':_0x23d9ec['userId'],'attributes':_0x23d9ec['attributes']||{}};}function parseLocalCommentToRemote(_0x261dae,_0x240802,_0x3d83cb){return{'commentThreadId':_0x3d83cb,'commentId':_0x261dae['commentId'],'userId':_0x261dae['authorId'],'content':_0x261dae['content'],'documentId':_0x240802,'createdAt':_0x261dae['createdAt'],'attributes':_0x261dae['attributes']||{}};}class CloudServicesTrackChangesAdapter extends ckeditor5['Plugin']{static ['TrackChangesService']=/* #__PURE__ -- @preserve */
((()=>_0xa6eb19)());['_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(_0x249225){super(_0x249225);const _0x368138=this['editor']['config']['get']('collaboration.channelId');this['_bufferedRequests']=new Map(),this['_trackChangesService']=new CloudServicesTrackChangesAdapter['TrackChangesService'](_0x368138);}['init'](){const _0x53a246=this['editor']['plugins']['get'](WebSocketGateway),_0x11ee81=this['editor']['plugins']['get']('TrackChangesEditing');return _0x11ee81['adapter']={'getSuggestion':async _0x3a566a=>{await this['_waitForServiceReady']();const _0x38dd60=await this['_trackChangesService']['get'](_0x3a566a)['catch'](handleDisconnectionError);return await this['_fetchMissingUsersForThreads']([_0x38dd60]),_0x38dd60;},'addSuggestion':async({id:_0x533283,type:_0x41b4db,data:_0x480251,originalSuggestionId:_0x285d1c,attributes:_0x341ed5})=>{await this['_waitForServiceReady']();const _0x35894b={'id':_0x533283,'type':_0x41b4db,'data':_0x480251,'originalSuggestionId':_0x285d1c,'attributes':_0x341ed5},_0x53ae02=await this['_trackChangesService']['add'](_0x533283,_0x41b4db,_0x480251,_0x285d1c,_0x341ed5)['catch'](_0xcd44c4=>{if(isDisconnectionError$1(_0xcd44c4))return new Promise(_0x5118a7=>{this['_bufferedRequests']['set'](_0x533283,{'resolve':_0x5118a7,'suggestionData':_0x35894b});});throw _0xcd44c4;});return this['_bufferedRequests']['delete'](_0x533283),_0x53ae02;},'updateSuggestion':async(_0x3a3a6a,_0xf8250d)=>{if(await this['_waitForServiceReady'](),'open'!==_0xf8250d['state'])return this['_trackChangesService']['update'](_0x3a3a6a,_0xf8250d)['catch'](handleDisconnectionError);}},this['listenTo'](this['_trackChangesService'],'suggestionUpdated',(_0x2900a9,_0x1e0d86)=>{_0x11ee81['hasSuggestion'](_0x1e0d86['id'])&&(_0x11ee81['getSuggestion'](_0x1e0d86['id'])['attributes']=_0x1e0d86['attributes']);}),this['_trackChangesService']['connect'](_0x53a246['connection'])['then'](_0x52beb1=>(_0x53a246['addToReconnectionStack'](this),this['_fetchMissingUsersForThreads'](_0x52beb1)['then'](()=>{for(const _0x5b679f of _0x52beb1){_0x11ee81['addSuggestionData'](_0x5b679f)['_saved']=!0x0;}})));}async['reconnect'](){const _0x2ac917=this['editor']['plugins']['get']('TrackChangesEditing'),{connection:_0x198c51}=this['editor']['plugins']['get'](WebSocketGateway),_0xb8a378=await this['_trackChangesService']['connect'](_0x198c51);await this['_fetchMissingUsersForThreads'](_0xb8a378);for(const {suggestionData:_0x21fa42,resolve:_0x52e474}of this['_bufferedRequests']['values']()){let _0x63cbb2=_0xb8a378['find'](_0x1d3a16=>_0x1d3a16['id']===_0x21fa42['id']);_0x63cbb2||(_0x63cbb2=await this['_trackChangesService']['add'](_0x21fa42['id'],_0x21fa42['type'],_0x21fa42['data'],_0x21fa42['originalSuggestionId'])),_0x52e474(_0x63cbb2);}for(const _0x5a0fdb of _0xb8a378)_0x2ac917['hasSuggestion'](_0x5a0fdb['id'])||_0x2ac917['addSuggestionData'](_0x5a0fdb);}async['_waitForServiceReady'](){this['_trackChangesService']['isConnected']||await new Promise(_0x2d0e22=>{this['listenTo'](this['_trackChangesService'],'connected',_0x13708b=>{_0x13708b['off'](),_0x2d0e22();});});}async['_fetchMissingUsersForThreads'](_0x24e216){const _0x4c44f3=this['editor']['plugins']['get'](_0x38ef77),{connection:_0x2ea35b}=this['editor']['plugins']['get'](WebSocketGateway),_0x770980=new Set();for(const {authorId:_0x3ed208}of _0x24e216)_0x4c44f3['getUser'](_0x3ed208)||_0x770980['add'](_0x3ed208);if(0x0===_0x770980['size'])return;const _0x213948=await _0x5ba9e9['getMany'](_0x2ea35b,Array['from'](_0x770980));for(const _0x4e1bbe of _0x213948)_0x4c44f3['getUser'](_0x4e1bbe['id'])||_0x4c44f3['addUser'](_0x4e1bbe);}}function handleDisconnectionError(_0x4f93cc){if(isDisconnectionError$1(_0x4f93cc))return new Promise(()=>{});throw _0x4f93cc;}function isDisconnectionError$1(_0x541b0a){return _0x541b0a['message']['startsWith']('cloud-services-internal-error:\x20Not\x20connected.')||_0x541b0a['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 _0x31b35c=this['editor']['plugins']['get'](WebSocketGateway),_0x5e1639=this['editor']['plugins']['get']('CommentsEditing'),_0xf5e8a7=this['editor']['plugins']['get'](CloudServicesCommentsAdapter);return this['editor']['data']['once']('ready',()=>{this['listenTo'](_0x31b35c,'change:state',(_0x2d62c1,_0x47ead2,_0xd826f6)=>{_0x5e1639['isThreadsLoadingPaused']='connected'!==_0xd826f6;});}),this['listenTo'](_0x31b35c,'change:state',(_0x359eaa,_0xa2dda4,_0x240b3e)=>{this['editor']['plugins']['get']('CommentsRepository')['switchReadOnly']('connected'!==_0x240b3e);}),_0xf5e8a7['_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',_0x22cf0d,_0x38ef77];}static get['pluginName'](){return'CloudServicesRevisionHistoryAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0xa4ee54){super(_0xa4ee54);const _0x2078d7=this['editor']['config']['get']('collaboration.channelId');this['_lastRequestId']=null,this['_revisionTracker']=this['editor']['plugins']['get']('RevisionTracker'),this['_revisionHistoryService']=new CloudServicesRevisionHistoryAdapter['RevisionHistoryService'](_0x2078d7);}async['init'](){const _0xd0f8f2=this['editor']['plugins']['get'](RealTimeCollaborationClient),_0x10ec49=_0xd0f8f2['serverHistory'],_0x5bbfbc=this['editor']['plugins']['get'](WebSocketGateway);this['_revisionTracker']['setSource']({'history':_0x10ec49,'getLatestVersion':()=>this['_getLatestVersion'](),'getCurrentRevisionId':()=>_0xd0f8f2['sessionId']});const _0x3f38d1=this['editor']['config']['get']('cloudServices.bundleVersion')||ckeditor5['version'],_0x43a010=await EditorService['isBundleUploaded'](_0x5bbfbc['connection'],_0x3f38d1);this['editor']['plugins']['get']('RevisionHistory')['adapter']={'getRevision':async({revisionId:_0x207811})=>(await this['_waitForServiceReady'](),await this['_revisionHistoryService']['getRevision'](_0x207811)),'updateRevisions':async _0x180dad=>{await this['_waitForServiceReady']();const _0x43deb1=this['_revisionTracker']['currentRevision'];if(_0x43a010&&0x1===_0x180dad['length']&&_0x180dad[0x0]['id']===_0x43deb1['id'])return _0x180dad;for(const _0x3ee5ad of _0x180dad)_0x3ee5ad['id']===_0x43deb1['id']&&(_0x3ee5ad['isEmptyCurrent']=_0x3ee5ad['fromVersion']===_0x3ee5ad['toVersion']);return this['_revisionHistoryService']['updateRevisions'](_0x180dad,this['_lastRequestId'])['then'](_0x9e0ce9=>(this['_lastRequestId']=_0x9e0ce9,_0x180dad))['catch'](_0x298831=>{if(isDisconnectionError(_0x298831)||'400'===_0x298831['code']&&void 0x0!==_0x298831['data']['wrongRequestId']){for(const _0x63077d of _0x180dad){!this['_revisionTracker']['repository']['getRevision'](_0x63077d['id'])||this['_revisionTracker']['_bufferUpdate'](_0x63077d['id'],_0x63077d,!0x1);}if(isDisconnectionError(_0x298831))throw _0x298831;return _0x180dad;}throw _0x298831;});}},this['listenTo'](this['_revisionHistoryService'],'revisionsUpdated',(_0x5e0f38,{revisionsData:_0x570c92,requestId:_0x1d5610})=>{Math['max'](..._0x570c92['map'](_0xe037c6=>_0xe037c6['toVersion']))>this['_getLatestVersionFromServerOperations']()-0x1?this['_getLatestVersion']()['then'](()=>{this['_handleRevisionsUpdate'](_0x570c92,_0x1d5610);}):this['_handleRevisionsUpdate'](_0x570c92,_0x1d5610);});const {revisions:_0x4f52e4,requestId:_0x4ecb34}=await this['_revisionHistoryService']['connect'](_0x5bbfbc['connection']);_0x5bbfbc['addToReconnectionStack'](this),this['_lastRequestId']=_0x4ecb34,await this['_fetchMissingUsers'](_0x4f52e4);for(const _0x5a0c52 of _0x4f52e4)this['_revisionTracker']['addRevisionData'](_0x5a0c52);this['listenTo'](_0xd0f8f2,'change:_isConnected',(_0x485d61,_0x1c979c,_0x49e158)=>{_0x49e158&&(this['_oldOffset']=_0xd0f8f2['_offset'],_0x485d61['off']());}),this['_revisionTracker']['bind']('isEnabled')['to'](_0x5bbfbc,'state',_0x544b01=>_0x544b01===_0xbe1750['CONNECTED']);}async['reconnect'](){const _0xe3fbcb=this['editor']['plugins']['get'](WebSocketGateway),_0x2fd044=this['editor']['plugins']['get'](RealTimeCollaborationClient),_0x4c29f4=async()=>{const _0x492f0c=this['_revisionTracker']['currentRevision'],_0xf306b0=_0x492f0c['id'],_0x239a69=_0xf306b0!==_0x2fd044['sessionId'];if(_0x239a69){const _0x6f0b58=_0x2fd044['_offset']-this['_oldOffset'],_0x1dd1da=this['_getLatestVersionFromServerOperations']();this['_revisionTracker']['_revisionDataBuilder']['reInit']();if(_0x492f0c['toVersion']+_0x6f0b58!==_0x1dd1da){const _0x1f4a3e=_0x492f0c['fromVersion']+_0x6f0b58,_0x5469c5=this['editor']['plugins']['get'](_0x38ef77),_0x38bdac=this['_revisionTracker']['buildRevisionData']({'revision':_0x492f0c,'from':_0x1f4a3e,'to':_0x1dd1da});_0x38bdac['id']=_0x492f0c['id'];const _0x992aba=_0x38bdac['authorsIds']['map'](_0x70bc7e=>_0x5469c5['getUser'](_0x70bc7e));_0x492f0c['_update']({..._0x38bdac,'authors':_0x992aba},!0x0),this['_revisionTracker']['_bufferUpdate'](_0x492f0c['id'],_0x38bdac,!0x0);}this['_revisionTracker']['_startingVersion']=_0x1dd1da,(_0x492f0c['toVersion']===_0x492f0c['fromVersion']&&!this['_revisionTracker']['_bufferedUpdates']['has'](_0xf306b0)&&this['_revisionTracker']['repository']['_revisions']['remove'](_0xf306b0),this['_revisionTracker']['_createCurrentRevision'](_0x1dd1da));}const {revisions:_0x2505a1,requestId:_0x21c00c}=await this['_revisionHistoryService']['reconnect'](_0xe3fbcb['connection'],this['_lastRequestId']);_0x239a69&&_0x2505a1['length']>0x0?_0x2fd044['_handleReconnectionError']():(await this['_fetchMissingUsers'](_0x2505a1),this['_handleRevisionsUpdate'](_0x2505a1,_0x21c00c),this['_revisionTracker']['sendBufferedUpdates']());};return _0x2fd044['_isConnected']?_0x4c29f4():new Promise((_0x1d8947,_0x1be369)=>{_0x2fd044['once']('change:_isConnected',()=>{_0x4c29f4()['then'](_0x1d8947)['catch'](_0x1be369);});});}['destroy'](){super['destroy']();}async['_waitForServiceReady'](){this['_revisionHistoryService']['isConnected']||await new Promise(_0x113a6a=>{this['listenTo'](this['_revisionHistoryService'],'connected',_0x49f88b=>{_0x49f88b['off'](),_0x113a6a();});});}['_getLatestVersionFromServerOperations'](){const _0x1783d3=this['editor']['plugins']['get'](RealTimeCollaborationClient)['serverHistory']['getOperations']()['reverse']();for(const _0x47bc46 of _0x1783d3)if('marker'!==_0x47bc46['type']||_0x47bc46['affectsData'])return _0x47bc46['baseVersion']+0x1;}['_getLatestVersion'](){const _0xbf16eb=this['editor']['plugins']['get'](RealTimeCollaborationClient);return new Promise(_0x163be1=>{_0xbf16eb['_isPendingUpdate']?_0xbf16eb['once']('change:_isPendingUpdate',()=>{_0x163be1(this['_getLatestVersionFromServerOperations']());}):_0x163be1(this['_getLatestVersionFromServerOperations']());});}['_handleRevisionsUpdate'](_0x10751f,_0x2bba73){const _0x3b6e1a=this['_revisionTracker']['repository'];this['_lastRequestId']=_0x2bba73;for(const _0xfbf67d of _0x10751f){const _0x4710cb=_0x3b6e1a['getRevision'](_0xfbf67d['id']);if(_0x4710cb){if((_0xfbf67d['fromVersion']||_0xfbf67d['toVersion'])&&(_0xfbf67d['diffData']=null),_0x4710cb===this['_revisionTracker']['currentRevision']){const _0x1a7996=Math['max'](_0x4710cb['toVersion'],_0xfbf67d['toVersion']),_0x4bb5a1=Math['max'](_0x4710cb['fromVersion'],_0xfbf67d['fromVersion']);let _0x59498b;_0x4710cb['toVersion']===_0xfbf67d['toVersion']&&_0x4710cb['fromVersion']===_0xfbf67d['fromVersion']?(_0x59498b=!0x0,this['_preventResendingRevisionData'](_0xfbf67d)):_0xfbf67d['toVersion']===_0x1a7996&&_0xfbf67d['fromVersion']===_0x4bb5a1?_0x59498b=!0x1:(_0x4710cb['toVersion']===_0x1a7996&&_0x4710cb['fromVersion']===_0x4bb5a1||this['_fixRevision']({'revision':_0x4710cb,'from':_0x4bb5a1,'to':_0x1a7996}),_0x59498b=!0x0),_0x59498b&&(delete _0xfbf67d['fromVersion'],delete _0xfbf67d['toVersion'],delete _0xfbf67d['diffData'],delete _0xfbf67d['createdAt'],delete _0xfbf67d['authorsIds']);}this['_revisionTracker']['setRevisionData'](_0xfbf67d),this['_preventResendingRevisionData'](_0xfbf67d);}else this['_revisionTracker']['addRevisionData'](_0xfbf67d);}const _0x309d43=_0x3b6e1a['getRevisions']();_0x309d43['reverse']();for(let _0x514205=0x0;_0x514205<_0x309d43['length']-0x1;_0x514205++){const _0x477116=_0x309d43[_0x514205],_0x2b1d55=_0x309d43[_0x514205+0x1];if(_0x477116['fromVersion']<_0x2b1d55['toVersion']){const _0x2f38e4=_0x2b1d55['toVersion'],_0x8da7a5=Math['max'](_0x2f38e4,_0x477116['toVersion']);this['_fixRevision']({'revision':_0x477116,'from':_0x2f38e4,'to':_0x8da7a5});}}}['_fixRevision']({revision:_0xe06da,from:_0x32844c,to:_0x462414}={}){const _0xad3c4=this['editor']['plugins']['get'](_0x38ef77),_0x520ed6=this['_revisionTracker']['buildRevisionData']({'revision':_0xe06da,'from':_0x32844c,'to':_0x462414});_0x520ed6['authors']=_0x520ed6['authorsIds']['map'](_0x1a5752=>_0xad3c4['getUser'](_0x1a5752)),_0xe06da['_update'](_0x520ed6);}['_preventResendingRevisionData'](_0x3ac6b7){const _0x513599={};_0x513599['id']=_0x3ac6b7['id'];for(const _0x374ccf of Object['keys'](_0x3ac6b7))'id'!==_0x374ccf&&(_0x513599[_0x374ccf]=void 0x0);this['_revisionTracker']['_bufferUpdate'](_0x513599['id'],_0x513599,!0x0);}async['_fetchMissingUsers'](_0x32d8de){const _0x2a38cd=this['editor']['plugins']['get'](_0x38ef77),{connection:_0x3ce24b}=this['editor']['plugins']['get'](WebSocketGateway),_0xd245a3=new Set();for(const _0xed34f1 of _0x32d8de){for(const _0x51fd0b of _0xed34f1['authorsIds'])_0x1b3f75(_0x51fd0b);_0xed34f1['creatorId']&&_0x1b3f75(_0xed34f1['creatorId']);}if(0x0===_0xd245a3['size'])return;const _0x8faa0d=await _0x5ba9e9['getMany'](_0x3ce24b,Array['from'](_0xd245a3));for(const _0x4fe848 of _0x8faa0d)_0x2a38cd['getUser'](_0x4fe848['id'])||_0x2a38cd['addUser'](_0x4fe848);function _0x1b3f75(_0x35b438){_0x2a38cd['getUser'](_0x35b438)||_0xd245a3['add'](_0x35b438);}}}function isDisconnectionError(_0x84cfc5){return _0x84cfc5['message']['startsWith']('cloud-services-internal-error:\x20Revision\x20History\x20Service\x20is\x20not\x20connected.')||_0x84cfc5['message']['startsWith']('cloud-services-internal-error:\x20Not\x20connected.')||_0x84cfc5['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(_0x493b42,_0x2a3afb=0x6){super(_0x493b42);const _0xe70935=this['bindTemplate'];this['set']('isHidden',!0x0),this['set']('usersCount',0x0),this['_collapseAt']=_0x2a3afb,this['bind']('isHidden')['to'](this,'usersCount',_0x3e6a11=>_0x3e6a11<_0x2a3afb),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-presence-list__list-item',_0xe70935['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':_0xe70935['to']('usersCount',_0x400ae6=>'+'+(_0x400ae6-this['_collapseAt']+0x2)['toString']())}]}]}]});}}class PresenceInlineListView extends ckeditor5['View']{['items'];['keystrokes'];constructor(_0x767727){super(_0x767727);const _0x5c8643=this['bindTemplate'];this['items']=this['createCollection'](),this['keystrokes']=new ckeditor5['KeystrokeHandler'](),this['set']({'hasPopup':!0x1,'isExpanded':!0x1}),this['setTemplate']({'tag':'div','attributes':{'aria-haspopup':_0x5c8643['if']('hasPopup'),'aria-expanded':_0x5c8643['to']('isExpanded',_0x19490b=>this['hasPopup']&&String(_0x19490b)),'aria-label':_0x5c8643['to']('hasPopup',_0xec297e=>getTranslation$6(_0x767727,_0xec297e?'Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)':'Connected\x20users\x20list')),'role':'list','tabindex':_0x5c8643['to']('hasPopup',_0x4efb6a=>!!_0x4efb6a&&0x0),'class':['ck','ck-presence-list__list']},'children':this['items'],'on':{'mouseenter':_0x5c8643['to'](()=>this['fire']('presencelist:show')),'mouseleave':_0x5c8643['to'](_0x4a5e53=>{const _0x578f29=_0x4a5e53,_0x3f38e4=document['querySelector']('.ck-presence-list__dropdown-list'),_0x183a38=document['querySelector']('.ck-balloon-panel_with-arrow');_0x3f38e4?.['contains'](_0x578f29['relatedTarget'])||_0x183a38?.['contains'](_0x578f29['relatedTarget'])||this['fire']('presencelist:hide');})}}),this['on']('change:hasPopup',(_0x59b707,_0x27490f,_0x4187c7)=>{this['element']&&(_0x4187c7?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(_0x1eab60,_0x28a956=0x6){super(_0x1eab60);const _0x523d1f=this['bindTemplate'];this['set']('isCollapsed',!0x0),this['counterView']=new PresenceCounterView(this['locale'],_0x28a956),this['inlineListView']=new PresenceInlineListView(_0x1eab60),this['inlineListView']['bind']('hasPopup')['to'](this,'isCollapsed'),this['listenTo'](this['inlineListView']['items'],'change',()=>{for(const _0x40e89a of this['inlineListView']['items'])_0x40e89a['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',_0x523d1f['if']('isCollapsed','ck-presence-list--collapsed')]},'children':[this['inlineListView']]});}}class PresenceDropdownListView extends ckeditor5['View']{['listWrapperView'];constructor(_0x4d5b67,_0x593067){super(_0x4d5b67);const _0x9fc82e=this['bindTemplate'];this['listWrapperView']=new PresenceDropdownListWrapperView(_0x4d5b67,_0x593067),this['setTemplate']({'tag':'div','attributes':{'tabindex':-0x1,'role':'application','class':['ck','ck-presence-list__dropdown-list'],'aria-label':getTranslation$6(_0x4d5b67,'Connected\x20users\x20list\x20dropdown\x20menu')},'children':[this['listWrapperView']],'on':{'mouseleave':_0x9fc82e['to'](_0x152759=>{const _0x5eee5c=_0x152759,_0x2b6454=document['querySelector']('.ck-presence-list__list'),_0x4aae56=document['querySelector']('.ck-balloon-panel_with-arrow');_0x2b6454?.['contains'](_0x5eee5c['relatedTarget'])||_0x4aae56?.['contains'](_0x5eee5c['relatedTarget'])||this['fire']('presencelist:hide');})}});}}class PresenceDropdownListWrapperView extends ckeditor5['ListView']{constructor(_0x17f2bf,_0x587e5e){super(_0x17f2bf);const _0x1212de=this['bindTemplate'];this['set']('_isScrollable',!0x1),this['setTemplate']({'tag':_0x587e5e?'div':'ul','attributes':{'class':['ck','ck-reset','ck-list','ck-presence-list__dropdown-list-wrapper',_0x1212de['if']('_isScrollable','ck-presence-list__dropdown-list-wrapper_scrollable')],'role':_0x1212de['to']('role'),'aria-label':_0x1212de['to']('ariaLabel'),'aria-labelledby':_0x1212de['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 _0xaccdd8=this['element'];_0xaccdd8&&(this['_isScrollable']=Math['max'](_0xaccdd8['scrollHeight'],_0xaccdd8['clientHeight'])>0.8*window['innerHeight']);}}class PresenceDropdownListItemView extends ckeditor5['ListItemView']{['userView'];constructor(_0x24423d,_0x334dd2,_0xde27de){super(_0x24423d);const _0x2298b2=this['bindTemplate'];this['userView']=new _0x278fab(_0x24423d,_0x334dd2);const _0x308851={'tag':'li','attributes':{'class':['ck','ck-presence-list__dropdown-list-item'],'tabindex':-0x1,'role':'presentation','aria-label':_0x334dd2['name']},'children':[this['userView'],{'tag':'span','attributes':{'class':['ck','ck-user__full-name']},'children':[{'text':_0x334dd2['name']}]},{'tag':'span','attributes':{'class':['ck','ck-presence-list__marker',_0x334dd2['color']['getBackgroundColorClass']()],'aria-hidden':'true'}}]};_0xde27de&&(_0x308851['tag']='button',_0x308851['on']={'click':_0x2298b2['to'](()=>this['fire']('execute'))}),this['setTemplate'](_0x308851);}['focus'](){this['element']['focus']();}}class PresenceInlineListItemView extends ckeditor5['View']{['userView'];['markerView'];constructor(_0x4fae01,_0x1b7324,_0x18a587){super(_0x4fae01);const _0x3af3f0=this['bindTemplate'];this['set']('isFocusable',!0x1),this['set']('hasTooltip',!0x0),this['set']('tooltipPosition',''),this['userView']=new _0x278fab(_0x4fae01,_0x1b7324),this['markerView']=new _0x27a304(_0x4fae01,_0x1b7324);const _0x1834d6=new ckeditor5['LabelView'](_0x4fae01);_0x1834d6['template']['tag']='span',_0x1834d6['text']=_0x1b7324['name'];const _0x5575a4={'tag':'div','attributes':{'class':['ck','ck-presence-list__list-item'],'role':'listitem','tabindex':_0x3af3f0['to']('isFocusable',_0x10f437=>!!_0x10f437&&0x0),'aria-labelledby':_0x1834d6['id'],'data-cke-tooltip-text':this['userView']['name'],'data-cke-tooltip-position':_0x3af3f0['to']('tooltipPosition'),'data-cke-tooltip-disabled':_0x3af3f0['to']('hasTooltip',_0x1edede=>!_0x1edede),'data-cke-tooltip-class':'ck-presence-list__list-item__tooltip'},'children':[this['userView'],this['markerView'],_0x1834d6]};_0x18a587&&(_0x5575a4['tag']='button',_0x5575a4['on']={'click':_0x3af3f0['to'](()=>this['fire']('execute'))}),this['setTemplate'](_0x5575a4);}}class _0x27a304 extends ckeditor5['View']{constructor(_0x26b833,_0xcd6a51){super(_0x26b833),this['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-presence-list__marker',_0xcd6a51['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(_0x1b9a06){super(_0x1b9a06),this['context']['config']['define']('presenceList',defaultPresenceListConfig);const _0xec186c=_0x1b9a06['config']['get']('presenceList.collapseAt');if('number'!=typeof _0xec186c)throw new ckeditor5['CKEditorError']('presencelist-collapseat-invalid-format',this);if(_0xec186c<0x1)throw new ckeditor5['CKEditorError']('presencelist-collapseat-invalid-format',this);this['_allConnectedUsers']=this['context']['plugins']['get'](_0x22cf0d)['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[_0x22cf0d];}['init'](){for(const _0x2c9fab of this['_allConnectedUsers'])this['_handleUserAdd'](_0x2c9fab);this['listenTo'](this['_allConnectedUsers'],'add',(_0x250c02,_0x129ccb)=>{this['_handleUserAdd'](_0x129ccb);}),this['listenTo'](this['_allConnectedUsers'],'remove',(_0x4b842,_0x461e39)=>{this['_handleUserRemove'](_0x461e39);});}['_createView'](){const _0x4f1a30=this['context'],_0x1307d5=new PresenceListView(this['context']['locale'],this['context']['config']['get']('presenceList.collapseAt')),_0x742f0=this['balloonPanelView'];if(!isElement$2(_0x4f1a30['config']['get']('presenceList.container')))throw new ckeditor5['CKEditorError']('presencelist-missing-container',this);return _0x1307d5['counterView']['bind']('usersCount')['to'](this),_0x1307d5['bind']('isCollapsed')['to'](this,'usersCount',_0xfebfcd=>{const {collapseAt:_0xb065bf}=_0x4f1a30['config']['get']('presenceList'),_0x2ee02c=_0xfebfcd>=_0xb065bf;if(_0x2ee02c&&!_0x1307d5['inlineListView']['items']['find'](_0x48ccd7=>_0x48ccd7 instanceof PresenceCounterView)){const _0x15eb22=this['context']['config']['get']('presenceList.collapseAt')-0x1;this['currentDisplayedUsers']['length']==_0x15eb22&&this['currentDisplayedUsers']['length']>0x1&&this['currentDisplayedUsers']['remove'](this['currentDisplayedUsers']['length']-0x1),_0x1307d5['inlineListView']['items']['add'](_0x1307d5['counterView']);}return _0x2ee02c||this['hideDropdown'](),_0x2ee02c;}),_0x1307d5['inlineListView']['items']['bindTo'](this['currentDisplayedUsers'])['using'](_0x3e7fd6=>{const _0x452f1e=_0x4f1a30['config']['get']('presenceList'),_0x594402=new PresenceInlineListItemView(_0x4f1a30['locale'],_0x3e7fd6,!!_0x452f1e['onClick']);return _0x594402['bind']('hasTooltip')['to'](_0x1307d5,'isCollapsed',_0x11b63b=>!_0x11b63b),_0x594402['bind']('isFocusable')['to'](_0x1307d5,'isCollapsed',_0x1d8e37=>!_0x1d8e37),_0x452f1e['onClick']&&this['listenTo'](_0x594402,'execute',()=>{this['view']['isCollapsed']||_0x452f1e['onClick'](_0x3e7fd6,_0x594402['element']);}),_0x594402;}),this['listenTo'](_0x1307d5['inlineListView'],'presencelist:show',()=>{this['view']['isCollapsed']&&this['showDropdown']();}),this['listenTo'](_0x1307d5['inlineListView'],'presencelist:hide',()=>{this['presenceDropdownView']&&this['hideDropdown']();}),_0x1307d5['inlineListView']['keystrokes']['set']('Enter',(_0x5e46d2,_0x3c5bdb)=>{this['view']['isCollapsed']&&(this['showDropdown'](),_0x3c5bdb());}),_0x1307d5['render'](),_0x742f0['render'](),ckeditor5['clickOutsideHandler']({'emitter':_0x1307d5,'activator':()=>_0x742f0['isVisible'],'contextElements':[_0x742f0['element'],_0x1307d5['inlineListView']['element']],'callback':()=>this['hideDropdown']()}),_0x4f1a30['config']['get']('presenceList.container')['appendChild'](_0x1307d5['element']),this['_bodyCollection']=new ckeditor5['BodyCollection'](this['context']['locale']),this['_bodyCollection']['attachToDom'](),this['_bodyCollection']['add'](this['balloonPanelView']),_0x1307d5;}['_handleUserAdd'](_0x52c3f1){if(!this['context']['config']['get']('presenceList.displayMe')&&_0x52c3f1['isMe'])return;const _0x5ea250=this['context']['config']['get']('presenceList.collapseAt')-0x1;for(this['usersCount']++;this['currentDisplayedUsers']['length']>=_0x5ea250-(this['view']['isCollapsed']?0x1:0x0)&&this['currentDisplayedUsers']['length']>0x1;)this['currentDisplayedUsers']['remove'](0x1);const _0x3aa923=_0x52c3f1['isMe']?0x0:this['currentDisplayedUsers']['length'];this['currentDisplayedUsers']['add'](_0x52c3f1,_0x3aa923);}['_handleUserRemove'](_0x3d4c70){this['usersCount']--;const {collapseAt:_0x20d729}=this['context']['config']['get']('presenceList'),_0x676960=this['usersCount']>=_0x20d729;if(this['currentDisplayedUsers']['get'](_0x3d4c70['id']))this['currentDisplayedUsers']['remove'](_0x3d4c70['id']);else{if(_0x676960&&this['currentDisplayedUsers']['length']+0x1===_0x20d729-0x1)return;}if(this['currentDisplayedUsers']['length']+(_0x676960?0x1:0x0)<this['usersCount']){for(const _0x4a9978 of Array['from'](this['_allConnectedUsers'])['reverse']())if(!this['currentDisplayedUsers']['get'](_0x4a9978['id'])&&(this['currentDisplayedUsers']['add'](_0x4a9978,Math['min'](this['currentDisplayedUsers']['length']-(_0x676960?0x1:0x0),0x1)),this['currentDisplayedUsers']['length']+(_0x676960?0x1:0x0)===_0x20d729-0x1))return;}}['showDropdown'](){if(this['presenceDropdownView'])return;const _0x526e05=this['context']['config']['get']('presenceList');this['presenceDropdownView']=new PresenceDropdownListView(this['context']['locale'],!!_0x526e05['onClick']),this['view']['inlineListView']['isExpanded']=!0x0,this['listenTo'](this['presenceDropdownView'],'presencelist:hide',()=>{this['presenceDropdownView']&&this['hideDropdown']();});const {listWrapperView:_0x2555e9}=this['presenceDropdownView'];_0x2555e9['items']['bindTo'](this['_allConnectedUsers'])['using'](_0x10597a=>{if(!_0x526e05['displayMe']&&_0x10597a['isMe'])return null;const _0x1316ca=new PresenceDropdownListItemView(this['context']['locale'],_0x10597a,!!_0x526e05['onClick']);return _0x526e05['onClick']&&this['listenTo'](_0x1316ca,'execute',()=>{_0x526e05['onClick'](_0x10597a,_0x1316ca['element']);}),_0x1316ca;}),this['balloonPanelView']['content']['add'](this['presenceDropdownView']),this['balloonPanelView']['pin']({'target':this['view']['inlineListView']['element']}),_0x2555e9['focus'](),_0x2555e9['checkIfScrollable']();const _0x39a088=(_0x2eeb39,_0x24c1cd)=>{this['hideDropdown'](),this['view']['inlineListView']['focus'](),_0x24c1cd();};_0x2555e9['keystrokes']['set']('Esc',_0x39a088),_0x2555e9['keystrokes']['set']('Shift+Tab',_0x39a088),_0x2555e9['keystrokes']['set']('Tab',(_0x3178fd,_0x3586d1)=>{focusNextElement(this['view']['element']),this['hideDropdown'](),_0x3586d1();}),_0x2555e9['focusTracker']['add'](this['view']['element']),_0x2555e9['focusTracker']['on']('change:isFocused',(_0xa67187,_0x256738,_0x588cf2)=>{_0x588cf2||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(_0x284b61){const _0x3f8a72=['a','button','input','select','textarea','[tabindex]','[contenteditable]']['map'](_0x1086be=>_0x1086be+':not([disabled]):not([tabindex=\x22-1\x22])')['join'](','),_0x3bb915=[...document['body']['querySelectorAll'](_0x3f8a72)]['filter'](_0x3e41a6=>_0x3e41a6===document['activeElement']||_0x3e41a6['offsetWidth']+_0x3e41a6['offsetHeight']>0x0)['sort']((_0x201262,_0x2c0097)=>(_0x201262['tabIndex']||0x0)-(_0x2c0097['tabIndex']||0x0)),_0x487cc9=_0x3bb915['indexOf'](_0x284b61),_0x6947ac=_0x3bb915[(_0x487cc9+0x1)%_0x3bb915['length']];_0x6947ac&&_0x6947ac['focus']();}class PresenceList extends ckeditor5['ContextPlugin']{static get['requires'](){return[_0x22cf0d,PresenceListUI];}static get['pluginName'](){return'PresenceList';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}class _0x5921bf extends/* #__PURE__ -- @preserve */
ckeditor5['ObservableMixin'](){['id'];['creator'];['authors'];['diffData'];['toVersion'];['fromVersion'];['model'];constructor(_0x36053d){super(),this['id']=_0x36053d['id']||ckeditor5['uid'](),this['creator']=_0x36053d['creator']||null,this['authors']=_0x36053d['authors']||[],this['diffData']=_0x36053d['diffData']||null,this['toVersion']=_0x36053d['toVersion']||0x0,this['fromVersion']=_0x36053d['fromVersion']||0x0,this['set']('name',_0x36053d['name']||''),this['set']('createdAt',_0x36053d['createdAt']||new Date()),this['set']('attributes',_0x36053d['attributes']||{});}['setName'](_0x1e6797){this['_update']({'name':_0x1e6797});}['setAttribute'](_0x22fb1e,_0x4030d2){const _0x1c0f1d=_0x3db43b(this['attributes']);set(_0x1c0f1d,_0x22fb1e,_0x4030d2),this['_update']({'attributes':_0x1c0f1d});}['removeAttribute'](_0x32922d){const _0x5370dc=_0x3db43b(this['attributes']);unset(_0x5370dc,_0x32922d),this['_update']({'attributes':_0x5370dc});}['_update'](_0xd385aa,_0x5b1f01=!0x1){let _0x1a274c=!0x1;const _0x5f10f3={'id':this['id']},_0x148aa9=['name','createdAt','diffData','authors','attributes','toVersion','fromVersion','creatorId'];for(const _0x49f2ac of _0x148aa9){const _0x4184ed=_0xd385aa[_0x49f2ac];void 0x0!==_0x4184ed&&_0x4184ed!==this[_0x49f2ac]&&(this[_0x49f2ac]=_0x4184ed,_0x5f10f3[_0x49f2ac]=_0x4184ed,_0x1a274c=!0x0);}_0x1a274c&&(_0x5f10f3['authors']&&(_0x5f10f3['authorsIds']=_0x5f10f3['authors']['map'](_0xab888b=>_0xab888b['id']),delete _0x5f10f3['authors']),this['fire']('_update',_0x5f10f3,_0x5b1f01));}['toJSON'](){return{'id':this['id'],'name':this['name'],'creatorId':this['creator']?this['creator']['id']:null,'authorsIds':this['authors']['map'](_0x18a4f8=>_0x18a4f8['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[_0x38ef77];}static get['pluginName'](){return'RevisionsRepository';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}get['length'](){return this['_revisions']['length'];}constructor(_0x529489){super(_0x529489),this['_revisions']=new ckeditor5['Collection']();}['afterInit'](){_0x7b9cf3(this);}['createRevision'](_0x5a8bb9){const _0x3fad38=this['editor']['plugins']['get']('Users');return new _0x5921bf({'id':_0x5a8bb9['id'],'name':_0x5a8bb9['name'],'creator':_0x5a8bb9['creatorId']?_0x3fad38['getUser'](_0x5a8bb9['creatorId']):null,'diffData':_0x5a8bb9['diffData']||_0x5a8bb9['data'],'authors':_0x5a8bb9['authorsIds']['map'](_0x37aa2a=>_0x3fad38['getUser'](_0x37aa2a)),'createdAt':new Date(_0x5a8bb9['createdAt']),'attributes':_0x5a8bb9['attributes'],'fromVersion':_0x5a8bb9['fromVersion'],'toVersion':_0x5a8bb9['toVersion']});}['addRevision'](_0x4451ee,_0x27ef08=0x0){this['_revisions']['add'](_0x4451ee,_0x27ef08);}['getRevision'](_0x3fb4f4){return this['_revisions']['get'](_0x3fb4f4);}['getRevisions'](_0x34e86c={'toJSON':!0x1}){const _0x279f90=Array['from'](this['_revisions']);return _0x279f90['reverse'](),_0x34e86c['toJSON']?_0x279f90['map'](_0x5778e6=>_0x5778e6['toJSON']()):_0x279f90;}['getIndex'](_0x24abdb){return this['_revisions']['getIndex'](_0x24abdb);}['getEarlierVisibleRevision'](_0x14c24c){const [,_0x3b283d]=this['getRevisionsIterator'](_0x14c24c,{'direction':'earlier'});return _0x3b283d;}['getLaterVisibleRevision'](_0x8dd722){const [,_0x2fa65c]=this['getRevisionsIterator'](_0x8dd722,{'direction':'later'});return _0x2fa65c;}['getRevisionsInDiff'](_0xc2639d){const _0x488790=[];for(const _0x5361b7 of this['getRevisionsIterator'](_0xc2639d['newRevisionId']))if(_0x488790['push'](_0x5361b7),_0x5361b7['id']===_0xc2639d['oldRevisionId'])break;return _0x488790;}*['getRevisionsIterator'](_0x6c1fc6,{direction:_0x1aefca='earlier',filter:_0x3786f8=()=>!0x0}={}){const _0x150bf6='earlier'===_0x1aefca?0x1:-0x1;let _0x40ad3f=this['_revisions']['get'](_0x6c1fc6),_0x1d8eeb=this['getIndex'](_0x40ad3f);for(yield _0x40ad3f;_0x40ad3f;){if(_0x1d8eeb+=_0x150bf6,_0x40ad3f=this['getRevision'](_0x1d8eeb),!_0x40ad3f)return;_0x3786f8(_0x40ad3f)&&(yield _0x40ad3f);}}}async function _0x7b9cf3(_0x11a2bc){const _0x36261d=_0x5d0d76([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]),_0x2d6b75=0xeb829,_0x470ef2=window[_0x5d0d76([0x44,0x61,0x74,0x65])][_0x5d0d76([0x6e,0x6f,0x77])](),_0x38ca70=_0x11a2bc[_0x5d0d76([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x46fdfc=new window[(_0x5d0d76([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x13d9ad=>{_0x38ca70[_0x5d0d76([0x6f,0x6e,0x63,0x65])](_0x5d0d76([0x72,0x65,0x61,0x64,0x79]),_0x13d9ad);}),_0x1affbe={[_0x5d0d76([0x6b,0x74,0x79])]:_0x5d0d76([0x45,0x43]),[_0x5d0d76([0x75,0x73,0x65])]:_0x5d0d76([0x73,0x69,0x67]),[_0x5d0d76([0x63,0x72,0x76])]:_0x5d0d76([0x50,0x2d,0x32,0x35,0x36]),[_0x5d0d76([0x78])]:_0x5d0d76([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]),[_0x5d0d76([0x79])]:_0x5d0d76([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]),[_0x5d0d76([0x61,0x6c,0x67])]:_0x5d0d76([0x45,0x53,0x32,0x35,0x36])},_0x1e9cc8=_0x38ca70[_0x5d0d76([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x5d0d76([0x67,0x65,0x74])](_0x5d0d76([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x1d9d35=await(async function(){let _0x25c6c0,_0x30e219=null,_0x52c196=null;try{if(_0x1e9cc8==_0x5d0d76([0x47,0x50,0x4c]))return _0x5d0d76([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x25c6c0=(function(){const _0x4fb234=_0x1e9cc8[_0x5d0d76([0x73,0x70,0x6c,0x69,0x74])](_0x5d0d76([0x2e]));if(0x3!=_0x4fb234[_0x5d0d76([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;const _0x52ee8f=_0x4fb234[0x1];return _0x5b0c45(_0x52ee8f);function _0x5b0c45(_0xe36418){const _0x304327=_0x996b1a(_0xe36418);return _0x304327&&_0x3263b2()?_0x304327:null;function _0x3263b2(){const _0x3443b4=_0x304327[_0x5d0d76([0x6a,0x74,0x69])],_0x2b9baa=window[_0x5d0d76([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3443b4[_0x5d0d76([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3443b4[_0x5d0d76([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x156f95={..._0x304327,[_0x5d0d76([0x6a,0x74,0x69])]:_0x3443b4[_0x5d0d76([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x3443b4[_0x5d0d76([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x156f95[_0x5d0d76([0x76,0x63])],_0x227468(_0x156f95)==_0x2b9baa;}}}()),!_0x25c6c0)return _0x5d0d76([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);_0x25c6c0[_0x5d0d76([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x52c196=function(_0x12aaf7,_0x58ffa1){return new window[(_0x5d0d76([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x232382=>{if(_0x2d7d5a())return _0x232382(_0x5d0d76([0x56,0x61,0x6c,0x69,0x64]));_0x11f0c7(),_0x38ca70[_0x5d0d76([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x5d0d76([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x4e4f45=!0x1;const _0x3e101e=ckeditor5['uid']();function _0x2ea995(_0x2b790e){return!!_0x2b790e&&(typeof _0x2b790e===_0x5d0d76([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x2b790e===_0x5d0d76([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x2b790e[_0x5d0d76([0x74,0x68,0x65,0x6e])]===_0x5d0d76([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x2b790e[_0x5d0d76([0x63,0x61,0x74,0x63,0x68])]===_0x5d0d76([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x3b4e0f(_0x40b0c2){_0x439c89(_0x40b0c2)[_0x5d0d76([0x74,0x68,0x65,0x6e])](_0x3ed43b=>{if(!_0x3ed43b||_0x3ed43b[_0x5d0d76([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x5d0d76([0x6f,0x6b]))return _0x5d0d76([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x35df43(_0x227468(_0x3e101e+_0x58ffa1))!=_0x3ed43b[_0x5d0d76([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x5d0d76([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x5d0d76([0x56,0x61,0x6c,0x69,0x64]);})[_0x5d0d76([0x74,0x68,0x65,0x6e])](_0x36f0e2=>(_0x59c669(),_0x36f0e2),()=>{const _0x8e3505=_0x46e399();return null==_0x8e3505?(_0x59c669(),_0x5d0d76([0x56,0x61,0x6c,0x69,0x64])):_0x5d0d76(_0x470ef2-_0x8e3505>0x240c8400?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x5d0d76([0x74,0x68,0x65,0x6e])](_0x232382)[_0x5d0d76([0x63,0x61,0x74,0x63,0x68])](()=>{_0x232382(_0x5d0d76([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x26fa25=0x36ee80;function _0x59c669(){const _0x2498a4=_0x5d0d76([0x6c,0x6c,0x63,0x74,0x2d])+_0x35df43(_0x227468(_0x12aaf7)),_0x578e41=_0x1a8f91(_0x35df43(window[_0x5d0d76([0x4d,0x61,0x74,0x68])][_0x5d0d76([0x63,0x65,0x69,0x6c])](_0x470ef2/_0x26fa25)));window[_0x5d0d76([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5d0d76([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2498a4,_0x578e41);}function _0x46e399(){const _0x581585=_0x5d0d76([0x6c,0x6c,0x63,0x74,0x2d])+_0x35df43(_0x227468(_0x12aaf7)),_0x2859cd=window[_0x5d0d76([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5d0d76([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x581585);return _0x2859cd?window[_0x5d0d76([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1a8f91(_0x2859cd),0x10)*_0x26fa25:null;}function _0x439c89(_0xc7e0f2){return new window[(_0x5d0d76([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x54c2bc,_0x5b96fc)=>{_0xc7e0f2[_0x5d0d76([0x74,0x68,0x65,0x6e])](_0x54c2bc,_0x5b96fc),window[_0x5d0d76([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x5b96fc,0x1d4c0);});}}_0x38ca70[_0x5d0d76([0x6f,0x6e])](_0x5d0d76([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x5e4d56,_0x5c677b)=>{if(_0x5c677b[0x0]!=_0x12aaf7)return _0x232382(_0x5d0d76([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x5c677b[0x1]={..._0x5c677b[0x1],[_0x5d0d76([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x3e101e};},{[_0x5d0d76([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5d0d76([0x68,0x69,0x67,0x68])}),_0x38ca70[_0x5d0d76([0x6f,0x6e])](_0x5d0d76([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x586d2d=>{_0x2ea995(_0x586d2d[_0x5d0d76([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x4e4f45=!0x0,_0x3b4e0f(_0x586d2d[_0x5d0d76([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x5d0d76([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5d0d76([0x6c,0x6f,0x77])}),_0x46fdfc[_0x5d0d76([0x74,0x68,0x65,0x6e])](()=>{_0x4e4f45||_0x232382(_0x5d0d76([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x2d7d5a(){return _0x38ca70[_0x5d0d76([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5d0d76([0x76,0x69,0x65,0x77])][_0x5d0d76([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x5d0d76([0x61,0x75,0x74,0x6f]);}function _0x11f0c7(){_0x38ca70[_0x5d0d76([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5d0d76([0x76,0x69,0x65,0x77])][_0x5d0d76([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x5d0d76([0x61,0x75,0x74,0x6f]);}}(_0x25c6c0[_0x5d0d76([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x25c6c0[_0x5d0d76([0x6a,0x74,0x69])]));const _0x5ca391=await(async function(){let _0xba8b1b=!0x0;try{const _0x321b95=_0x1e9cc8[_0x5d0d76([0x73,0x70,0x6c,0x69,0x74])](_0x5d0d76([0x2e])),[_0x422964,_0xd32a97,_0x1dfbbe]=_0x321b95;return _0x5202f4(_0x422964),await _0x4e3bef(_0x422964,_0xd32a97,_0x1dfbbe),_0xba8b1b;}catch{return!0x1;}function _0x5202f4(_0x437e24){const _0x2a703e=_0x996b1a(_0x437e24);_0x2a703e&&_0x2a703e[_0x5d0d76([0x61,0x6c,0x67])]==_0x5d0d76([0x45,0x53,0x32,0x35,0x36])||(_0xba8b1b=!0x1);}async function _0x4e3bef(_0x3a90d4,_0xb3ceda,_0x48b4aa){const _0x992a64=window[_0x5d0d76([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x5d0d76([0x66,0x72,0x6f,0x6d])](_0x104f02(_0x48b4aa),_0x3bf785=>_0x3bf785[_0x5d0d76([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x41c9ce=new window[(_0x5d0d76([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x5d0d76([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x3a90d4+_0x5d0d76([0x2e])+_0xb3ceda),_0x189241=window[_0x5d0d76([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x5d0d76([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x189241)return;const _0x1e7f34=await _0x189241[_0x5d0d76([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x5d0d76([0x6a,0x77,0x6b]),_0x1affbe,{[_0x5d0d76([0x6e,0x61,0x6d,0x65])]:_0x5d0d76([0x45,0x43,0x44,0x53,0x41]),[_0x5d0d76([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x5d0d76([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x5d0d76([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x189241[_0x5d0d76([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x5d0d76([0x6e,0x61,0x6d,0x65])]:_0x5d0d76([0x45,0x43,0x44,0x53,0x41]),[_0x5d0d76([0x68,0x61,0x73,0x68])]:{[_0x5d0d76([0x6e,0x61,0x6d,0x65])]:_0x5d0d76([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x1e7f34,_0x992a64,_0x41c9ce)||(_0xba8b1b=!0x1);}}());return _0x5ca391?(function(){const _0x1b8bb1=_0x25c6c0[_0x5d0d76([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];if(!_0x1b8bb1)return!0x1;if(_0x1b8bb1[_0x5d0d76([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5d0d76([0x2a])))return!0x0;if(_0x1b8bb1[_0x5d0d76([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5d0d76([0x52,0x48])))return!0x0;if(_0x1b8bb1[_0x5d0d76([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5d0d76([0x52,0x52,0x48]))){if(_0x1086b4(_0x5d0d76([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x3fba13(_0x5d0d76([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x5d0d76([0x73,0x74,0x61,0x74,0x65])]==_0x5d0d76([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64]))return!0x0;if(_0x1086b4(_0x5d0d76([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]))||_0x1086b4(_0x5d0d76([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 _0x4ed38c=[_0x5d0d76([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x5d0d76([0x74,0x72,0x69,0x61,0x6c])][_0x5d0d76([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x25c6c0[_0x5d0d76([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x470ef2/0x3e8:0x68f03580;return _0x25c6c0[_0x5d0d76([0x65,0x78,0x70])]<_0x4ed38c;}())?_0x5d0d76([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):(function(){const _0x1ea983=_0x25c6c0[_0x5d0d76([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x1ea983||0x0==_0x1ea983[_0x5d0d76([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x42043f}=new URL(window[_0x5d0d76([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x1ea983[_0x5d0d76([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x42043f))return!0x0;const _0x5ad8ba=_0x42043f[_0x5d0d76([0x73,0x70,0x6c,0x69,0x74])](_0x5d0d76([0x2e]));return _0x1ea983[_0x5d0d76([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x50503e=>_0x50503e[_0x5d0d76([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5d0d76([0x2a])))[_0x5d0d76([0x6d,0x61,0x70])](_0x31fe4f=>_0x31fe4f[_0x5d0d76([0x73,0x70,0x6c,0x69,0x74])](_0x5d0d76([0x2e])))[_0x5d0d76([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3d4b9c=>_0x3d4b9c[_0x5d0d76([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x5ad8ba[_0x5d0d76([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5d0d76([0x6d,0x61,0x70])](_0xf5d99a=>Array(_0x5ad8ba[_0x5d0d76([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0xf5d99a[_0x5d0d76([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5d0d76([0x66,0x69,0x6c,0x6c])](_0xf5d99a[0x0]===_0x5d0d76([0x2a])?_0x5d0d76([0x2a]):'')[_0x5d0d76([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0xf5d99a))[_0x5d0d76([0x73,0x6f,0x6d,0x65])](_0x33cfd7=>_0x5ad8ba[_0x5d0d76([0x65,0x76,0x65,0x72,0x79])]((_0x3ba482,_0x1f8639)=>_0x33cfd7[_0x1f8639]===_0x3ba482||_0x33cfd7[_0x1f8639]===_0x5d0d76([0x2a])));}())?(_0x25c6c0[_0x5d0d76([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5d0d76([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x30e219=_0x4e3666(_0x5d0d76([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x25c6c0[_0x5d0d76([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5d0d76([0x74,0x72,0x69,0x61,0x6c])&&(_0x30e219=_0x4e3666(_0x5d0d76([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await(function(){if(_0x30e219&&_0x52c196)return new window[(_0x5d0d76([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4c5d94,_0x47f131)=>{_0x30e219[_0x5d0d76([0x74,0x68,0x65,0x6e])](_0x4c5d94,_0x47f131),_0x52c196[_0x5d0d76([0x74,0x68,0x65,0x6e])](_0x38bce7=>{_0x38bce7!=_0x5d0d76([0x56,0x61,0x6c,0x69,0x64])&&_0x4c5d94(_0x38bce7);},_0x47f131);});return _0x30e219||_0x52c196||_0x5d0d76([0x56,0x61,0x6c,0x69,0x64]);}())):_0x5d0d76([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x5d0d76([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x5d0d76([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x5d0d76([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}}());function _0x4e3666(_0x2f91ca){const _0x5a28d4=new window[(_0x5d0d76([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x471489=>setTimeout(_0x471489,0x93ecc)),_0x3221c2=_0x46fdfc[_0x5d0d76([0x74,0x68,0x65,0x6e])](()=>new window[(_0x5d0d76([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2d4c78=>{const _0x5b6e24=_0x11a2bc[_0x5d0d76([0x5f,0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73])];function _0x1a6954(){_0x5b6e24[_0x5d0d76([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=0x7&&_0x2d4c78();}_0x1a6954(),_0x5b6e24[_0x5d0d76([0x6f,0x6e])](_0x5d0d76([0x61,0x64,0x64]),_0x1a6954);})),_0xb9efcc=new window[(_0x5d0d76([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x333a76=>{_0x1086b4(_0x5d0d76([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&function _0x176dcc(){for(const _0x2c0706 in window)if(window[_0x5d0d76([0x4e,0x75,0x6d,0x62,0x65,0x72])]['isNaN'](window[_0x5d0d76([0x4e,0x75,0x6d,0x62,0x65,0x72])](_0x2c0706))&&window[_0x2c0706]==_0x2d6b75)return _0x333a76();_0x38ca70[_0x5d0d76([0x73,0x74,0x61,0x74,0x65])]!=_0x5d0d76([0x64,0x65,0x73,0x74,0x72,0x6f,0x79,0x65,0x64])&&window[_0x5d0d76([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x176dcc,0x1388);}();}),_0x4a51f4=[_0x5a28d4,_0x3221c2,_0xb9efcc];return window[_0x5d0d76([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x5d0d76([0x72,0x61,0x63,0x65])](_0x4a51f4)[_0x5d0d76([0x74,0x68,0x65,0x6e])](()=>_0x2f91ca);}function _0x6eba6e(){const _0x48bcc9=window[_0x5d0d76([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x5d0d76([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x5d0d76([0x6e,0x6f,0x77])]())[_0x5d0d76([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x5d0d76([0x2e]),'');let _0xf76318=_0x5d0d76([0x73]);for(let _0xb6e892=0x0;_0xb6e892<_0x48bcc9[_0x5d0d76([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xb6e892+=0x2){let _0x408d0d=window[_0x5d0d76([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x48bcc9[_0x5d0d76([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xb6e892,_0xb6e892+0x2));_0x408d0d>=_0x36261d[_0x5d0d76([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x408d0d-=_0x36261d[_0x5d0d76([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0xf76318+=_0x36261d[_0x408d0d];}return _0xf76318;}function _0x996b1a(_0x373bf9){return _0x373bf9[_0x5d0d76([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x5d0d76([0x65,0x79]))?JSON[_0x5d0d76([0x70,0x61,0x72,0x73,0x65])](_0x104f02(_0x373bf9)):null;}function _0x104f02(_0x442079){return window[_0x5d0d76([0x61,0x74,0x6f,0x62])](_0x442079[_0x5d0d76([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x5d0d76([0x2b]))[_0x5d0d76([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x5d0d76([0x2f])));}function _0x227468(_0x56bd99){let _0xdff1b4=0x1505;function _0x124c6f(_0x40df00){for(let _0x323079=0x0;_0x323079<_0x40df00[_0x5d0d76([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x323079++){const _0x5cbc4e=_0x40df00[_0x5d0d76([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x323079);_0xdff1b4=(_0xdff1b4<<0x5)+_0xdff1b4+_0x5cbc4e,_0xdff1b4&=_0xdff1b4;}}return function _0x167129(_0x5330d6){Array[_0x5d0d76([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x5330d6)?_0x5330d6[_0x5d0d76([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x167129):_0x5330d6&&typeof _0x5330d6==_0x5d0d76([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x5d0d76([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x5330d6)[_0x5d0d76([0x73,0x6f,0x72,0x74])]()[_0x5d0d76([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x5df323,_0x5297fa])=>{_0x124c6f(_0x5df323),_0x167129(_0x5297fa);}):_0x124c6f(window[_0x5d0d76([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x5330d6));}(_0x56bd99),_0xdff1b4>>>0x0;}function _0x35df43(_0x2457ed){return _0x2457ed[_0x5d0d76([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x5d0d76([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x5d0d76([0x30]));}function _0x1a8f91(_0x1b5bf5){return _0x1b5bf5[_0x5d0d76([0x73,0x70,0x6c,0x69,0x74])]('')[_0x5d0d76([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x5d0d76([0x6a,0x6f,0x69,0x6e])]('');}function _0x1086b4(_0x406783){return _0x38ca70[_0x5d0d76([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x5d0d76([0x68,0x61,0x73])](_0x406783);}function _0x3fba13(_0x50b9e3){return _0x38ca70[_0x5d0d76([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x5d0d76([0x67,0x65,0x74])](_0x50b9e3);}function _0x464995(){}function _0x5d0d76(_0x47b87e){return _0x47b87e['map'](_0x2b192f=>String['fromCharCode'](_0x2b192f))['join']('');}!function(_0x10e3af){const _0x51f6b0=_0x6eba6e();_0x38ca70[_0x51f6b0]=_0x5d0d76([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])+_0x10e3af,_0x10e3af[_0x5d0d76([0x65,0x6e,0x64,0x73,0x57,0x69,0x74,0x68])](_0x5d0d76([0x4c,0x69,0x6d,0x69,0x74]))&&(window[_0x6eba6e()]=_0x2d6b75),_0x10e3af!=_0x5d0d76([0x56,0x61,0x6c,0x69,0x64])&&(async function(){if(await _0x46fdfc,_0x1086b4(_0x5d0d76([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))){const _0x2fa092=_0x11a2bc[_0x5d0d76([0x67,0x65,0x74,0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e])](0x0),_0xd5962a=_0x11a2bc[_0x5d0d76([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])](_0x2fa092[_0x5d0d76([0x69,0x64])]),_0x3348f5=_0x3fba13(_0x5d0d76([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]));return await _0x3348f5[_0x5d0d76([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])](_0x2fa092['id'],_0xd5962a?_0xd5962a['id']:null,!0x0),_0x3348f5[_0x5d0d76([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x5d0d76([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x3348f5[_0x5d0d76([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x3348f5[_0x5d0d76([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])]=_0x464995,void(_0x3348f5[_0x5d0d76([0x5f,0x67,0x65,0x74,0x44,0x69,0x66,0x66])]=_0x464995);}if(_0x1086b4(_0x5d0d76([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))){const _0x49348a=_0x3fba13(_0x5d0d76([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]));_0x49348a[_0x5d0d76([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x5d0d76([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x49348a[_0x5d0d76([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x49348a[_0x5d0d76([0x75,0x70,0x64,0x61,0x74,0x65])]=_0x464995,_0x49348a[_0x5d0d76([0x73,0x61,0x76,0x65,0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e])]=_0x464995;}_0x38ca70[_0x5d0d76([0x6d,0x6f,0x64,0x65,0x6c])][_0x5d0d76([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x464995,_0x38ca70[_0x5d0d76([0x6d,0x6f,0x64,0x65,0x6c])][_0x5d0d76([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x464995,_0x38ca70[_0x5d0d76([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x5d0d76([0x6d,0x6f,0x64,0x65,0x6c]));}());}(_0x1d9d35);}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'](_0x235ab1,_0x2a4219){if(_0x235ab1['diffData']||!_0x2a4219)return;const _0x568274=this['editor']['config']['get']('collaboration.channelId'),_0x55a00c=await _0x2a4219['getRevision']({'channelId':_0x568274,'revisionId':_0x235ab1['id']});_0x235ab1['diffData']=_0x55a00c['diffData'];}['getRevisionDocumentData'](_0x2483cc){const _0x106f48={};for(const _0x35090c in _0x2483cc['diffData']){if(_0x2483cc['diffData'][_0x35090c]['attachChange']&&!_0x2483cc['diffData'][_0x35090c]['attachChange']['isAttached'])continue;const _0x2dc5cc=this['_removeRevisionMarkers'](JSON['parse'](_0x2483cc['diffData'][_0x35090c]['insertions'])),_0x3bb39f=this['editor']['editing']['view']['document'],_0x333080=new ckeditor5['ViewDocumentFragment'](_0x3bb39f,_0x2dc5cc['map'](_0x5da344=>this['_getViewFromDiffObj'](_0x5da344,!0x1)));this['editor']['data']['processor']['useFillerType']('marked'),_0x106f48[_0x35090c]=this['editor']['data']['processor']['toData'](_0x333080),this['editor']['data']['processor']['useFillerType']('default');}return _0x106f48;}['getRevisionRootsAttributes'](_0x3b186b){const _0x475920={};for(const _0x53db37 in _0x3b186b['diffData'])_0x3b186b['diffData'][_0x53db37]['attachChange']&&!_0x3b186b['diffData'][_0x53db37]['attachChange']['isAttached']||(_0x475920[_0x53db37]=_0x3b186b['diffData'][_0x53db37]['attributesAfter']||{});return _0x475920;}['_getTypeCharForViewElement'](_0x2f0a94){return this['_viewClassToTypeChar']['get'](_0x2f0a94['constructor']);}['_getViewFromDiffObj'](_0x59f8e4,_0x3d33c7){const _0x553bd4=this['editor']['editing']['view']['document'];if('string'==typeof _0x59f8e4)return new ckeditor5['ViewText'](_0x553bd4,_0x59f8e4);{let _0x1c4d9a,_0x56765e;_0x56765e='u'==_0x59f8e4['type']||'r'==_0x59f8e4['type']?[]:_0x59f8e4['children']['map'](_0x24545b=>this['_getViewFromDiffObj'](_0x24545b,_0x3d33c7));const _0x51b436=this['_typeCharToViewClass']['get'](_0x59f8e4['type'])||ckeditor5['ViewElement'],_0x3aa869=this['editor']['data']['htmlProcessor']['domConverter'];if(_0x1c4d9a=new _0x51b436(_0x553bd4,_0x59f8e4['name'],_0x59f8e4['attributes'],_0x56765e),'u'==_0x59f8e4['type']&&_0x59f8e4['children'][0x0]){const _0xce858c=_0x59f8e4['children'][0x0];if(_0x1c4d9a['render']=function(_0x47061f){const _0x182fb5=_0x47061f['createElement']('div');return _0x182fb5['innerHTML']=_0xce858c,_0x182fb5['childNodes'][0x0];},_0x3d33c7){const _0x12e831=new ckeditor5['ViewDocumentFragment'](_0x553bd4);_0x12e831['_appendChild'](_0x1c4d9a);const _0x869581=Array['from'](_0x3aa869['viewChildrenToDom'](_0x12e831,{'bind':!0x1})),_0x147099=_0x3aa869['domDocument']['createElement']('div');_0x147099['append'](..._0x869581),_0x1c4d9a=Array['from'](_0x3aa869['domChildrenToView'](_0x147099))[0x0];}}else{if('r'==_0x59f8e4['type']&&_0x59f8e4['children'][0x0]){const _0x147f0c=_0x59f8e4['children'][0x0];if(_0x1c4d9a['render']=function(_0x2c3056){_0x2c3056['innerHTML']=_0x147f0c;},_0x3d33c7){const _0x346568=new ckeditor5['ViewDocumentFragment'](_0x553bd4);_0x346568['_appendChild'](_0x1c4d9a);const _0x5407b1=Array['from'](_0x3aa869['viewChildrenToDom'](_0x346568,{'bind':!0x1})),_0x5aea32=_0x3aa869['domDocument']['createElement']('div');_0x5aea32['append'](..._0x5407b1);const _0x1257a2=Array['from'](_0x3aa869['domChildrenToView'](_0x5aea32));_0x1257a2['length']>0x1?_0x1c4d9a['_appendChild'](_0x1257a2):_0x1c4d9a=_0x1257a2[0x0];}}}if(_0x59f8e4['customProperties']){for(const [_0x1a3bc9,_0x1d6998]of _0x59f8e4['customProperties'])_0x1c4d9a['_setCustomProperty'](_0x1a3bc9,_0x1d6998);}const _0x2cc27a=void 0x0===_0x59f8e4['fillerOffset']?null:_0x59f8e4['fillerOffset'];return null!==_0x2cc27a&&(_0x1c4d9a['getFillerOffset']=()=>_0x2cc27a),_0x1c4d9a;}}['_makeModelFromViewString'](_0x58886a){const _0x1b5f58=JSON['parse'](_0x58886a),_0xbe1a07=this['editor']['editing']['view']['document'],_0x25e1d6=new ckeditor5['ViewDocumentFragment'](_0xbe1a07,_0x1b5f58['map'](_0x4f8418=>this['_getViewFromDiffObj'](_0x4f8418,!0x0)));return this['editor']['data']['toModel'](_0x25e1d6);}['_removeRevisionMarkers'](_0x15f5cb){return(_0x15f5cb=_0x15f5cb['filter'](_0x1dbfd6=>!_0x1dbfd6['name']||'revision-start'!==_0x1dbfd6['name']&&'revision-end'!==_0x1dbfd6['name']))['forEach'](_0x21c393=>{'string'!=typeof _0x21c393&&(_0x21c393['children']=this['_removeRevisionMarkers'](_0x21c393['children']),_0x21c393['attributes']=_0x21c393['attributes']['filter'](_0x442437=>!_0x442437[0x0]['startsWith']('data-revision-')));}),_0x15f5cb;}}function getTranslation$5(_0x1d84fb,_0x51d44e,_0x109dc9){const t=_0x1d84fb['t'];switch(_0x51d44e){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'},_0x109dc9);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0x109dc9);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 _0x2a039b 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[_0x38ef77,RevisionsRepository,RevisionHistoryUtils,ckeditor5['PendingActions']];}constructor(_0x169c48){super(_0x169c48),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 _0x2901b6=ckeditor5['uid']();this['_source']={'history':this['editor']['model']['document']['history'],'getLatestVersion':()=>Promise['resolve'](this['editor']['model']['document']['version']),'getCurrentRevisionId':()=>_0x2901b6},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 _0x178b46=this['repository']['getRevision'](0x0),_0x2f4ae1=_0x178b46&&null===_0x178b46['creator']?_0x178b46:null;if(this['_continueCurrentRevision']=!!_0x2f4ae1&&this['editor']['config']['get']('revisionHistory.resumeUnsavedRevision'),this['editor']['plugins']['has']('RealTimeCollaborationClient')){const _0x2c234f=this['_source']['getCurrentRevisionId'](),_0x1b9210=this['repository']['getRevision'](_0x2c234f);if(_0x1b9210)this['_startingVersion']=_0x1b9210['fromVersion'],this['_continueCurrentRevision']=!0x1;else{const _0x4b2144=this['_source']['history']['_operations']['find'](_0x22f0bd=>!_0x22f0bd['_isInit']),_0x580522=_0x4b2144?_0x4b2144['baseVersion']:this['_source']['history']['version'];_0x178b46?(_0x178b46['toVersion']<_0x580522&&_0x178b46['_update']({'toVersion':_0x580522}),this['_continueCurrentRevision']?(this['_source']['getCurrentRevisionId']=()=>_0x2f4ae1['id'],this['_startingVersion']=_0x2f4ae1['fromVersion']):(this['_startingVersion']=_0x178b46['toVersion'],this['_continueCurrentRevision']=!0x1)):(this['_startingVersion']=_0x580522,this['_continueCurrentRevision']=!0x1);}}else _0x2f4ae1&&(this['editor']['model']['document']['history']['version']=Math['max'](_0x2f4ae1['toVersion'],this['editor']['model']['document']['history']['version']),_0x2f4ae1['fromVersion']===_0x2f4ae1['toVersion']?(0x0!==_0x2f4ae1['fromVersion']&&(this['_source']['getCurrentRevisionId']=()=>_0x2f4ae1['id']),this['_continueCurrentRevision']=!0x1):this['_continueCurrentRevision']&&(this['_source']['getCurrentRevisionId']=()=>_0x2f4ae1['id'],this['_startingVersion']=_0x2f4ae1['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',_0x2c2e0b=>!_0x2c2e0b),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x59f9ca=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x69762a;for(const _0x4d72ae in _0x59f9ca){const _0x5e85d3=_0x4d72ae,_0x1bc0dd=_0x59f9ca[_0x5e85d3];if('revisionHistoryLicenseKeyValid'==_0x1bc0dd||'revisionHistoryLicenseKeyInvalid'==_0x1bc0dd||'revisionHistoryLicenseKeyExpired'==_0x1bc0dd||'revisionHistoryLicenseKeyDomainLimit'==_0x1bc0dd||'revisionHistoryLicenseKeyNotAllowed'==_0x1bc0dd||'revisionHistoryLicenseKeyEvaluationLimit'==_0x1bc0dd||'revisionHistoryLicenseKeyTrialLimit'==_0x1bc0dd||'revisionHistoryLicenseKeyUsageLimit'==_0x1bc0dd){delete _0x59f9ca[_0x5e85d3],_0x69762a=_0x1bc0dd,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'revisionHistoryLicenseKeyInvalid'==_0x69762a&&_0x59f9ca['_showLicenseError']('invalid'),'revisionHistoryLicenseKeyExpired'==_0x69762a&&_0x59f9ca['_showLicenseError']('expired'),'revisionHistoryLicenseKeyDomainLimit'==_0x69762a&&_0x59f9ca['_showLicenseError']('domainLimit'),'revisionHistoryLicenseKeyNotAllowed'==_0x69762a&&_0x59f9ca['_showLicenseError']('featureNotAllowed','RevisionHistory'),'revisionHistoryLicenseKeyEvaluationLimit'==_0x69762a&&_0x59f9ca['_showLicenseError']('evaluationLimit'),'revisionHistoryLicenseKeyTrialLimit'==_0x69762a&&_0x59f9ca['_showLicenseError']('trialLimit'),'revisionHistoryLicenseKeyUsageLimit'==_0x69762a&&_0x59f9ca['_showLicenseError']('usageLimit');},0x3e8);}async['afterInit'](){if(this['repository']['length']>0x0){const _0x2e4142=this['repository']['getRevision'](0x0),_0xd5e636=await this['getRevisionDocumentData'](_0x2e4142),_0x5cfacc=await this['getRevisionRootsAttributes'](_0x2e4142);this['_replaceEditorDataWithRevisionData'](_0xd5e636,_0x5cfacc);}}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['setSource'](_0x397a69){this['_source']=_0x397a69;}async['update'](){const _0x4d8666=await this['_source']['getLatestVersion']();if(_0x4d8666>this['currentRevision']['toVersion']){await this['_loadState']();const _0x2994b1=this['buildRevisionData']({'revision':this['currentRevision'],'to':_0x4d8666});_0x2994b1['authors']=_0x2994b1['authorsIds']['map'](_0xdaa8a=>this['editor']['plugins']['get']('Users')['getUser'](_0xdaa8a)),this['currentRevision']['_update'](_0x2994b1);}}async['saveRevision'](_0x131ddf={},_0x5aecf2=null){const _0x3d3f08=[];await this['_loadState'](),this['_continueCurrentRevision']=!0x1,_0x5aecf2>this['currentRevision']['toVersion']&&(_0x5aecf2=null),null===_0x5aecf2&&(_0x5aecf2=await this['_source']['getLatestVersion']());const _0x830064=this['_getFromVersion'](_0x5aecf2),_0xde723f=this['buildRevisionData']({'from':_0x830064,'to':_0x5aecf2});if(this['currentRevision']['toVersion']<_0x5aecf2){const _0x25d7a4=this['buildRevisionData']({'revision':this['currentRevision'],'from':_0x5aecf2,'to':_0x5aecf2});_0x25d7a4['authors']=[],_0x25d7a4['authorsIds']=[],_0x25d7a4['id']=this['currentRevision']['id'],this['currentRevision']['_update'](_0x25d7a4,!0x0),delete _0x25d7a4['authors'],_0x3d3f08['push'](_0x25d7a4);}_0x131ddf['creatorId']=this['editor']['plugins']['get']('Users')['me']['id'],_0x131ddf['name']=_0x131ddf['name']||null,_0x131ddf['id']=_0x131ddf['id']||ckeditor5['uid'](),_0x131ddf={..._0x131ddf,..._0xde723f};const _0x30ac73=this['addRevisionData'](_0x131ddf);_0x3d3f08['push'](_0x131ddf);const _0x1c537a=this['repository']['getIndex'](_0x30ac73);if(0x0!==_0x1c537a){const _0x5accbb=this['repository']['getRevision'](_0x1c537a-0x1);if(_0x5accbb['fromVersion']!==_0x5aecf2){const _0x5d0dbf=this['_revisionDataBuilder']['getData'](_0x5aecf2,_0x5accbb['toVersion']),_0x233b72={'id':_0x5accbb['id'],'diffData':_0x5d0dbf['diffData'],'authorsIds':_0x5d0dbf['authorsIds'],'authors':_0x5d0dbf['authorsIds']['map'](_0x4b5eda=>this['editor']['plugins']['get']('Users')['getUser'](_0x4b5eda)),'fromVersion':_0x5aecf2};_0x5accbb===this['currentRevision']&&(_0x233b72['createdAt']=new Date(_0x131ddf['createdAt']['getTime']()+0xa)),_0x5accbb['_update'](_0x233b72,!0x0),delete _0x233b72['authors'],_0x3d3f08['push'](_0x233b72);}}if(this['adapter']){for(const _0x4bf43b of _0x3d3f08)this['_bufferUpdate'](_0x4bf43b['id'],_0x4bf43b,!0x0);this['sendBufferedUpdates']();}return _0x30ac73;}['addRevisionData'](_0x5bf732){const _0x4007ce=this['repository']['createRevision'](_0x5bf732);return this['adapter']&&_0x4007ce['on']('_update',(_0x1ccbb2,_0x542c25,_0x5cf281)=>{_0x5cf281||(this['_bufferUpdate'](_0x542c25['id'],_0x542c25,!0x0),this['sendBufferedUpdates']());}),this['repository']['addRevision'](_0x4007ce,this['_findInsertionIndex'](_0x4007ce)),_0x4007ce;}async['getRevisionDocumentData'](_0x202c64){return await this['_utils']['loadRevisionData'](_0x202c64,this['adapter']),this['_utils']['getRevisionDocumentData'](_0x202c64);}async['getRevisionRootsAttributes'](_0x5113b6){return await this['_utils']['loadRevisionData'](_0x5113b6,this['adapter']),this['_utils']['getRevisionRootsAttributes'](_0x5113b6);}['sendBufferedUpdates'](){if(0x0===this['_bufferedUpdates']['size'])return;if(this['_isPendingUpdate'])return;let _0x59653c=Array['from'](this['_bufferedUpdates']['values']());this['_bufferedUpdates']['clear']();for(let _0x393e74=0x0;_0x393e74<_0x59653c['length'];_0x393e74++){const _0x3695f3=_0x59653c[_0x393e74];let _0x5a6e1b=!0x1;for(const _0x32fda6 of Object['keys'](_0x3695f3))void 0x0===_0x3695f3[_0x32fda6]?delete _0x3695f3[_0x32fda6]:'id'!==_0x32fda6&&(_0x5a6e1b=!0x0);_0x5a6e1b||(_0x59653c[_0x393e74]=null);}if(_0x59653c=_0x59653c['filter'](_0x2c3896=>null!==_0x2c3896),!_0x59653c['length'])return;for(let _0x5cf46d=0x0;_0x5cf46d<_0x59653c['length'];_0x5cf46d++){const _0x2cddd3=_0x59653c[_0x5cf46d];void 0x0!==_0x2cddd3['fromVersion']&&void 0x0===_0x2cddd3['toVersion']&&(_0x2cddd3['toVersion']=this['repository']['getRevision'](_0x2cddd3['id'])['toVersion']),void 0x0!==_0x2cddd3['toVersion']&&void 0x0===_0x2cddd3['fromVersion']&&(_0x2cddd3['fromVersion']=this['repository']['getRevision'](_0x2cddd3['id'])['fromVersion']);}const _0xed29e4=this['editor']['config']['get']('collaboration.channelId');this['_isPendingUpdate']=!0x0,this['_addPendingAction'](),this['adapter']['updateRevisions'](_0x59653c,_0xed29e4)['finally'](()=>{this['_isPendingUpdate']=!0x1;})['then'](_0x345315=>{if(_0x345315){for(const _0x97567a of _0x345315)this['setRevisionData']({'id':_0x97567a['id'],'createdAt':_0x97567a['createdAt']});}this['_removePendingAction'](),this['sendBufferedUpdates']();});}['buildRevisionData']({revision:_0x24c8d3=null,from:_0x3e175d=null,to:_0x158b20=null}){_0x3e175d=null!==_0x3e175d?_0x3e175d:_0x24c8d3['fromVersion'],_0x158b20=null!==_0x158b20?_0x158b20:_0x24c8d3['toVersion'];const _0x62b333=this['_revisionDataBuilder']['getData'](_0x3e175d,_0x158b20),_0x2b4c50={'diffData':_0x62b333['diffData'],'authorsIds':_0x62b333['authorsIds'],'fromVersion':_0x3e175d,'toVersion':_0x158b20};if(!_0x24c8d3||_0x158b20!==_0x24c8d3['toVersion']){const _0x1e05ce=_0x158b20-0x1,_0x4fd3bd=this['_source']['history']['getOperation'](_0x1e05ce);_0x2b4c50['createdAt']=_0x4fd3bd&&_0x4fd3bd['createdAt']||new Date();}if(this['_loadedStateData']&&_0x3e175d===this['_loadedStateData']['fromVersion']){for(const _0x43810e of this['_loadedStateData']['authors'])_0x2b4c50['authorsIds']['includes'](_0x43810e['id'])||_0x2b4c50['authorsIds']['push'](_0x43810e['id']);}return _0x2b4c50;}['_bufferUpdate'](_0x38ac06,_0x139800,_0x228679){if(this['_bufferedUpdates']['has'](_0x38ac06)){const _0x3413ed=this['_bufferedUpdates']['get'](_0x38ac06);_0x139800=_0x228679?{..._0x3413ed,..._0x139800}:{..._0x139800,..._0x3413ed};}this['_bufferedUpdates']['set'](_0x38ac06,_0x139800);}['setRevisionData'](_0xa8c606){const _0x4bbeaa=this['repository']['getRevision'](_0xa8c606['id']);if(_0xa8c606['createdAt']&&(_0xa8c606['createdAt']=new Date(_0xa8c606['createdAt'])),_0xa8c606['authorsIds']){const _0x11c66d=this['editor']['plugins']['get']('Users');_0xa8c606['authors']=_0xa8c606['authorsIds']['map'](_0x5e419c=>_0x11c66d['getUser'](_0x5e419c));}_0x4bbeaa['_update'](_0xa8c606,!0x0);}['_createInitialRevision'](_0x28fbcd){const _0x54da81=this['repository']['getRevision'](this['repository']['length']-0x1);if(_0x54da81)this['_initialRevisionId']=_0x54da81['id'];else{const _0x31a72d=!this['editor']['model']['document']['roots']['find'](_0xf568b3=>this['editor']['model']['hasContent'](_0xf568b3)),_0x1b7cb8=this['editor']['plugins']['get']('Users')['me']['id'],_0x42827f=getTranslation$5(this['editor']['locale'],_0x31a72d?'Empty\x20document':'Initial\x20revision');this['_makeRevision']({'from':_0x28fbcd,'to':_0x28fbcd,'id':this['_initialRevisionId'],'name':_0x42827f,'creatorId':_0x1b7cb8});}}['_createCurrentRevision'](_0x2dd371){const _0x5a43e5=this['_source']['getCurrentRevisionId']();this['currentRevision']=this['repository']['getRevision'](_0x5a43e5),this['currentRevision']||(this['currentRevision']=this['_makeRevision']({'from':_0x2dd371,'to':_0x2dd371,'id':_0x5a43e5,'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'](_0xb714a9,_0x416b03){let _0x1f632d=this['editor']['config']['get']('initialData'),_0x5c3de4=this['editor']['config']['get']('rootsAttributes');if(void 0x0===_0x1f632d){_0x1f632d={};for(const _0x593f35 of this['editor']['model']['document']['getRootNames']())_0x1f632d[_0x593f35]='';}if('string'==typeof _0x1f632d&&(_0x1f632d={'main':_0x1f632d}),void 0x0===_0x5c3de4){_0x5c3de4={};for(const _0x5321e4 of this['editor']['model']['document']['getRootNames']())_0x5c3de4[_0x5321e4]={};}let _0x2dc995=!0x1;const _0x4ebbb7=Object['keys'](_0x1f632d),_0x14a398=Object['keys'](_0xb714a9);for(const _0x37871c of _0x4ebbb7){if(_0x1f632d[_0x37871c]!==_0xb714a9[_0x37871c]&&''!==_0x1f632d[_0x37871c]['trim']()){_0x2dc995=!0x0;break;}if(!_0x5d9d2a(_0x5c3de4[_0x37871c],_0x416b03[_0x37871c])&&Object['keys'](_0x5c3de4[_0x37871c])['length']>0x0){_0x2dc995=!0x0;break;}}_0x2dc995||(_0x2dc995=_0x14a398['some'](_0xc52ea5=>!this['editor']['model']['document']['getRoot'](_0xc52ea5))),_0x2dc995&&ckeditor5['logWarning']('editor-initial-data-replaced-with-revision-data',{'editorData':_0x1f632d,'editorRootsAttributes':_0x5c3de4,'revisionData':_0xb714a9,'revisionRootsAttributes':_0x416b03}),this['editor']['config']['set']('initialData',_0xb714a9),this['editor']['config']['set']('rootsAttributes',_0x416b03);}['_addPendingAction'](){if(!this['_pendingAction']){const _0x32fb72=this['editor']['plugins']['get']('PendingActions');this['_pendingAction']=_0x32fb72['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'](_0x538c33){const _0x5da55b=this['repository']['getRevisions']();_0x5da55b['reverse']();let _0xce70b4=0x0;for(;_0xce70b4<_0x5da55b['length'];){const _0xeecabb=_0x5da55b[_0xce70b4];if(_0xeecabb===this['currentRevision']){_0xce70b4++;continue;}if(_0xeecabb['id']===this['_initialRevisionId'])break;const _0x4ddd97=_0x538c33['toVersion']-_0xeecabb['toVersion']||_0x538c33['fromVersion']-_0xeecabb['fromVersion'];if(_0x4ddd97>0x0)break;if(_0x4ddd97<0x0)_0xce70b4++;else{if(!_0x538c33['creator']&&_0xeecabb['creator'])break;if(_0xeecabb['creator']||!_0x538c33['creator']){if(_0x538c33['createdAt']>_0xeecabb['createdAt'])break;_0xce70b4++;}else _0xce70b4++;}}return _0xce70b4;}['_getFromVersion'](_0x236255){const _0x337df6=this['repository']['getRevisions']();_0x337df6['reverse'](),_0x337df6['shift']();const _0x31ea43=_0x337df6['find'](_0x52e704=>_0x52e704['toVersion']<=_0x236255)['toVersion'];return _0x31ea43<this['_startingVersion']?this['_startingVersion']:_0x31ea43;}['_makeRevision']({name:_0x357a81,from:_0x4e9917,to:_0x24a6db,creatorId:_0x3d5792,id:_0x17e0d2}){const _0x14934b=this['buildRevisionData']({'from':_0x4e9917,'to':_0x24a6db});_0x14934b['name']=_0x357a81,_0x14934b['creatorId']=_0x3d5792,_0x14934b['id']=_0x17e0d2;const _0x934619=this['addRevisionData'](_0x14934b);return this['adapter']&&this['_bufferUpdate'](_0x14934b['id'],_0x14934b,!0x0),_0x934619;}['_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(_0x154f3e){this['editor']=_0x154f3e,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'](_0x51a86c){this['source']=_0x51a86c;const _0x1347c1=new Map(),_0x51b6de=new Map(),_0x4679fb=this['editor']['model']['document']['roots']['map'](_0x527547=>_0x527547['rootName']);for(const _0x30dcae of _0x4679fb){const _0x5f5a34=this['editor']['model']['document']['getRoot'](_0x30dcae),_0x7dfc37=_cloneRoot(_0x5f5a34);_0x1347c1['set'](_0x30dcae,_0x7dfc37),_0x51b6de['set'](_0x30dcae,Object['fromEntries'](_0x5f5a34['getAttributes']()));}const _0x59caa3=Array['from'](this['editor']['model']['markers'])['map'](_0x4947ff=>[_0x4947ff['name'],_0x4947ff['getRange']()]),_0x74abc1=this['source']['version'];this['_saveMetaData'](_0x74abc1,_0x1347c1,_0x59caa3,_0x51b6de),this['_startingRevisionId']=this['_revisionId'];const _0x522737=new Map(),_0x5c6858=new Map();for(const _0x2f6445 of _0x4679fb){const _0x321760=_emptyRoot(_0x2f6445);_0x522737['set'](_0x2f6445,_0x321760),_0x5c6858['set'](_0x2f6445,{});}this['_saveMetaData'](Number['NEGATIVE_INFINITY'],_0x522737,[],_0x5c6858);}['getData'](_0x2a822c,_0x20a07b){if(this['_lastFrom']===_0x2a822c&&this['_lastTo']<=_0x20a07b)this['_savedMetaData']['size']>0x1&&this['_removeMetaData'](this['_lastTo']),this['_applyOperations'](this['_lastTo'],_0x20a07b,!0x0);else{if(!this['_savedMetaData']['has'](_0x2a822c)){const _0x2c4855=this['_getPreviousFrom'](_0x2a822c);this['_calculateMetaData'](_0x2c4855,_0x2a822c,!0x1);}this['_calculateMetaData'](_0x2a822c,_0x20a07b,!0x0);}return this['_lastFrom']=_0x2a822c,this['_lastTo']=_0x20a07b,this['_getState']();}['loadState'](_0x4379bc){if(!this['_savedMetaData']['has'](_0x4379bc['fromVersion'])){const _0x45c80d=this['_getPreviousFrom'](_0x4379bc['fromVersion']);this['_calculateMetaData'](_0x45c80d,_0x4379bc['fromVersion'],!0x1);}this['_calculateMetaData'](_0x4379bc['fromVersion'],_0x4379bc['toVersion'],!0x1);const _0x57fb87=this['editor']['plugins']['get']('RevisionHistoryUtils');this['_reset'](),this['_lastFrom']=_0x4379bc['fromVersion'],this['_lastTo']=_0x4379bc['toVersion'];for(const _0x55b62b in _0x4379bc['diffData']){const _0x1a3412=_0x4379bc['diffData'][_0x55b62b]['attachChange'],_0x57ceff=_0x3db43b(_0x4379bc['diffData'][_0x55b62b]['attributesBefore'])||{},_0x4a0fbe=_0x57fb87['_makeModelFromViewString'](_0x4379bc['diffData'][_0x55b62b]['deletions']);_0x4a0fbe['rootName']=_0x55b62b,_0x4a0fbe['_isAttached']=!_0x1a3412||!_0x1a3412['isAttached'],_0x4a0fbe['isAttached']=()=>_0x4a0fbe['_isAttached'],this['_baseRoots']['set'](_0x55b62b,_0x4a0fbe),this['_baseRootsAttributes']['set'](_0x55b62b,_0x57ceff),_0x1a3412&&this['_touchedRoots']['set'](_0x55b62b,_0x1a3412);const _0x2ffcd1=this['_makeIdsRoot'](_0x4a0fbe);this['_baseIdsRoots']['set'](_0x55b62b,_0x2ffcd1);for(const [_0x2df1db,_0xb68ab]of _0x4a0fbe['markers']){if(!_0x2df1db['startsWith']('revision:'))continue;const _0x256ccd=_0x2df1db['split'](':')[0x2];for(const _0x597eb9 of _0xb68ab['getWalker']({'singleCharacters':!0x0})){const _0x12287f=this['_getVidAttributeName'](_0x597eb9),_0x1639fb='elementEnd'==_0x597eb9['type']?_0x597eb9['previousPosition']['path']['slice'](0x0,-0x1):_0x597eb9['previousPosition']['path'],_0x40a20=_0x2ffcd1['getNodeByPath'](_0x1639fb)['getAttribute'](_0x12287f);this['_touched']['set'](_0x40a20,{'userId':_0x256ccd});}_0x4a0fbe['markers']['delete'](_0x2df1db);}}this['_startingRevisionId']=this['_revisionId'];const _0x5bfec5=[...Array(this['_revisionId'])['keys']()]['slice'](0x1)['filter'](_0x3753e6=>!this['_touched']['has'](_0x3753e6));let _0x3d7393=0x0;const _0x187709=new Map();for(const _0x5a7a8f in _0x4379bc['diffData']){const _0x2cd4d6=_0x4379bc['diffData'][_0x5a7a8f]['attachChange'],_0x1bfe5e=_0x3db43b(_0x4379bc['diffData'][_0x5a7a8f]['attributesAfter'])||{},_0x532565=_0x57fb87['_makeModelFromViewString'](_0x4379bc['diffData'][_0x5a7a8f]['insertions']);_0x532565['rootName']=_0x5a7a8f,_0x532565['_isAttached']=!_0x2cd4d6||_0x2cd4d6['isAttached'],_0x532565['isAttached']=()=>_0x532565['_isAttached'],this['_diffRoots']['set'](_0x5a7a8f,_0x532565),this['_diffRootsAttributes']['set'](_0x5a7a8f,_0x1bfe5e);const _0x293f85=this['_makeIdsRoot'](_0x532565,Number['NEGATIVE_INFINITY']);this['_idsRoots']['set'](_0x5a7a8f,_0x293f85),_0x187709['set'](_0x5a7a8f,_0x532565['isAttached']()?_0x1bfe5e:{});for(const [_0x166b1a,_0x13cfb2]of _0x532565['markers']){if(!_0x166b1a['startsWith']('revision:'))continue;const _0x327a94=_0x166b1a['split'](':')[0x2];for(const _0x3d90cc of _0x13cfb2['getWalker']({'singleCharacters':!0x0})){const _0x2bf8ae=this['_getVidAttributeName'](_0x3d90cc),_0x1799cf=this['_revisionId']++,_0x167977='elementEnd'==_0x3d90cc['type']?_0x3d90cc['previousPosition']['path']['slice'](0x0,-0x1):_0x3d90cc['previousPosition']['path'];_0x293f85['getNodeByPath'](_0x167977)['_setAttribute'](_0x2bf8ae,_0x1799cf),this['_touched']['set'](_0x1799cf,{'userId':_0x327a94});}_0x532565['markers']['delete'](_0x166b1a);}for(const _0x196bb7 of this['editor']['model']['createRangeIn'](_0x532565)['getWalker']({'singleCharacters':!0x0})){const _0x5ca4ea=this['_getVidAttributeName'](_0x196bb7),_0x1f396d='elementEnd'==_0x196bb7['type']?_0x196bb7['previousPosition']['path']['slice'](0x0,-0x1):_0x196bb7['previousPosition']['path'],_0xd91e14=_0x293f85['getNodeByPath'](_0x1f396d);_0xd91e14['getAttribute'](_0x5ca4ea)>0x0||_0xd91e14['_setAttribute'](_0x5ca4ea,_0x5bfec5[_0x3d7393++]);}for(const [_0xff79d0,_0x23ed0f]of _0x532565['markers'])_0xff79d0['startsWith']('revision:')||this['_markers']['set'](_0xff79d0,_0x23ed0f);}const {roots:_0x2e3d97}=this['_savedMetaData']['get'](_0x4379bc['fromVersion']),{roots:_0x5be19b}=this['_savedMetaData']['get'](_0x4379bc['toVersion']),_0x34b2aa=_cloneRoot(_0x2e3d97['get']('$graveyard'));this['_baseRoots']['set']('$graveyard',_0x34b2aa),this['_baseIdsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x34b2aa,Number['NEGATIVE_INFINITY']));const _0x5a4557=_cloneRoot(_0x5be19b['get']('$graveyard'));this['_diffRoots']['set']('$graveyard',_0x5a4557),this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x5a4557));const _0x21db02=Array['from'](this['_diffRoots'])['map'](([_0x201618,_0x4cc2d4])=>[_0x201618,_cloneRoot(_0x4cc2d4)]);this['_saveMetaData'](this['_lastTo'],_0x21db02,this['_markers'],_0x187709);}['reInit'](){this['_reset'](),this['_lastFrom']=-0x1,this['_lastTo']=-0x1,this['_savedMetaData']['clear'](),this['init'](this['source']);}['_saveMetaData'](_0x3bd557,_0x2eea16,_0x23780b,_0x27affb){const _0x472d86=new Map(_0x2eea16),_0x294a34=new Map(_0x3db43b(_0x27affb)),_0x59caf3=new Map();for(const [_0x26476a,_0x581857]of _0x23780b)_0x59caf3['set'](_0x26476a,{'start':_0x581857['start']['clone'](),'end':_0x581857['end']['clone'](),'rootName':_0x581857['root']['rootName']});this['_savedMetaData']['set'](_0x3bd557,{'roots':_0x472d86,'markers':_0x59caf3,'rootsAttributes':_0x294a34});}['_removeMetaData'](_0x3f3c7c){this['_savedMetaData']['delete'](_0x3f3c7c);}['_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'](_0x317b2e,_0x28fd9f=null){let _0x475328=null;_0x317b2e['is']('documentFragment')||(_0x475328=new ckeditor5['ModelElement'](_0x317b2e['name'],{'vid_start':null===_0x28fd9f?this['_revisionId']++:_0x28fd9f++}));const _0x56d4d1=[];for(const _0x136b27 of _0x317b2e['getChildren']())if(_0x136b27['is']('element')){_0x56d4d1['push'](this['_makeIdsRoot'](_0x136b27,_0x28fd9f));const _0x52f7fc=_0x56d4d1[_0x56d4d1['length']-0x1];null!==_0x28fd9f&&(_0x28fd9f=_0x52f7fc['is']('element','$text')?_0x52f7fc['getAttribute']('vid')+0x1:_0x52f7fc['getAttribute']('vid_end')+0x1);}else{for(let _0x3c9bf2=0x0;_0x3c9bf2<_0x136b27['offsetSize'];_0x3c9bf2++)_0x56d4d1['push'](new ckeditor5['ModelElement']('$text',{'vid':null===_0x28fd9f?this['_revisionId']++:_0x28fd9f++}));}if(_0x317b2e['is']('documentFragment')){const _0x4c53e0=_emptyRoot(_0x317b2e['rootName']);return _0x4c53e0['_insertChild'](0x0,_0x56d4d1),_0x4c53e0;}return _0x475328['_setAttribute']('vid_end',null===_0x28fd9f?this['_revisionId']++:_0x28fd9f++),_0x475328['_insertChild'](0x0,_0x56d4d1),_0x475328;}['_calculateMetaData'](_0x5dc1d3,_0x5c97bc,_0x306ab1){this['_reset']();const {roots:_0x4cd8d0,markers:_0xa50a22,rootsAttributes:_0x4f0a9c}=this['_savedMetaData']['get'](_0x5dc1d3);this['_baseRoots']=new Map(_0x4cd8d0),this['_baseRootsAttributes']=new Map(_0x3db43b(_0x4f0a9c));for(const [_0x26e0a2,_0x23f39d]of this['_baseRoots'])if('$graveyard'!==_0x26e0a2&&(this['_diffRoots']['set'](_0x26e0a2,_cloneRoot(_0x23f39d)),this['_diffRootsAttributes']=new Map(_0x3db43b(_0x4f0a9c)),_0x306ab1)){const _0x5993b3=this['_revisionId'];this['_idsRoots']['set'](_0x26e0a2,this['_makeIdsRoot'](_0x23f39d)),this['_baseIdsRoots']['set'](_0x26e0a2,this['_makeIdsRoot'](_0x23f39d,_0x5993b3));}this['_startingRevisionId']=this['_revisionId'],this['_diffRoots']['set']('$graveyard',_cloneRoot(this['_baseRoots']['get']('$graveyard'))),_0x306ab1&&this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](this['_baseRoots']['get']('$graveyard')));for(const [_0x481952,_0x4773e5]of _0xa50a22){const _0x2c7585=this['_baseRoots']['get'](_0x4773e5['rootName']),_0x1c006e=this['_diffRoots']['get'](_0x4773e5['rootName']),_0x370257=new ckeditor5['ModelRange'](this['_fixPosition'](_0x4773e5['start'],_0x2c7585),this['_fixPosition'](_0x4773e5['end'],_0x2c7585)),_0x38bbc7=this['_fixRange'](_0x370257,_0x1c006e);_0x2c7585['markers']['set'](_0x481952,_0x370257),this['_markers']['set'](_0x481952,_0x38bbc7);}this['_applyOperations'](_0x5dc1d3,_0x5c97bc,_0x306ab1);}['_applyOperations'](_0x28707b,_0x31700b,_0xf22086){for(const _0x393cd7 of this['source']['getOperations'](_0x28707b,_0x31700b))this['_handleOperation'](_0x393cd7,_0xf22086);for(const _0x644788 of this['_diffRoots']['values']())_0x644788['markers']['clear']();for(const [_0x25ac65,_0x4b4897]of this['_markers']){this['_diffRoots']['get'](_0x4b4897['root']['rootName'])['markers']['set'](_0x25ac65,_0x4b4897['clone']());}const _0x33482c=new Map(),_0x5df553=new Map();for(const [_0x2747f7,_0x25dd60]of this['_diffRoots'])_0x33482c['set'](_0x2747f7,_cloneRoot(_0x25dd60)),_0x5df553['set'](_0x2747f7,this['_diffRootsAttributes']['get'](_0x2747f7));this['_saveMetaData'](_0x31700b,_0x33482c,this['_markers'],_0x5df553);}['_getPreviousFrom'](_0x3790b6){const _0x3e0029=Array['from'](this['_savedMetaData']['keys']());_0x3e0029['sort']((_0x4c6d7e,_0x364f7)=>_0x4c6d7e-_0x364f7),_0x3e0029['reverse']();for(const _0x494dd5 of _0x3e0029)if(_0x494dd5<_0x3790b6)return _0x494dd5;return Number['NEGATIVE_INFINITY'];}['_copyMarkers'](_0x9ffd0f,_0x186011){const _0x3c8098=Array['from'](_0x186011['markers'])['map'](([_0x4e8671,_0x27bb19])=>[_0x4e8671,this['_fixRange'](_0x27bb19,_0x9ffd0f)]);_0x9ffd0f['markers']=new Map(_0x3c8098);}['_transformMarkers'](_0x391d39){for(const _0x5a8d52 of this['_markers']['values']()){const _0x3b5f61=_0x5a8d52['getTransformedByOperation'](_0x391d39),_0x513790=ckeditor5['ModelRange']['_createFromRanges'](_0x3b5f61);_0x5a8d52['start']=_0x513790['start'],_0x5a8d52['end']=_0x513790['end'];}}['_handleOperation'](_0x5bbd4a,_0xe15b72){if('addRoot'!=_0x5bbd4a['type']&&'detachRoot'!=_0x5bbd4a['type']){if('insert'==_0x5bbd4a['type']){const _0x29157a=_0x5bbd4a['position']['root']['rootName'];this['_diffRoots']['has'](_0x29157a)||(this['_diffRoots']['set'](_0x29157a,_emptyRoot(_0x29157a,!0x0)),this['_diffRootsAttributes']['set'](_0x29157a,{}),_0xe15b72&&this['_idsRoots']['set'](_0x29157a,_emptyRoot(_0x29157a,!0x0)));}else{if('addRootAttribute'==_0x5bbd4a['type']||'removeRootAttribute'==_0x5bbd4a['type']||'changeRootAttribute'==_0x5bbd4a['type'])return void this['_handleRootAttributeOperation'](_0x5bbd4a);'marker'==_0x5bbd4a['type']&&this['_handleMarkerOperation'](_0x5bbd4a);}if('marker'!==_0x5bbd4a['type']){const _0x382994=this['_cloneOperation'](_0x5bbd4a,this['_diffRoots']);_0x382994['_execute'](),this['_transformMarkers'](_0x382994);}if(_0xe15b72)switch(_0x5bbd4a['type']){case'insert':this['_handleInsertOperation'](_0x5bbd4a);break;case'move':case'remove':case'reinsert':this['_handleMoveOperation'](_0x5bbd4a);break;case'merge':this['_handleMergeOperation'](_0x5bbd4a);break;case'split':this['_handleSplitOperation'](_0x5bbd4a);}}else this['_handleRootOperation'](_0x5bbd4a,_0xe15b72);}['_cloneOperation'](_0x4505bb,_0x423f11){const _0x4c9bf3=_0x4505bb['clone']();return _0x4c9bf3['_authorId']=_0x4505bb['_authorId'],this['_fixOperation'](_0x4c9bf3,_0x423f11),_0x4c9bf3;}['_getBaseVids'](_0x313ae9){return _0x313ae9['map'](_0xa63177=>{const _0x488f20=this['_getVidAttributeName'](_0xa63177);return Number(_0xa63177['item']['getAttribute'](_0x488f20));});}['_generateTape'](_0xd2285e,_0x358069){if(_0xd2285e['is']('element','$text'))_0x358069['push']({'item':_0xd2285e,'type':'text'});else{_0xd2285e['is']('element')&&_0x358069['push']({'item':_0xd2285e,'type':'elementStart'});for(const _0x1e810b of _0xd2285e['getChildren']())this['_generateTape'](_0x1e810b,_0x358069);_0xd2285e['is']('element')&&_0x358069['push']({'item':_0xd2285e,'type':'elementEnd'});}return _0x358069;}['_getState'](){const _0x951b69=new Map(this['_touched']),_0x3dffc3=new Map(_0x951b69),_0x98dd91=new Map(),_0x42f197={'insertions':{},'deletions':{}},_0x4e2845={'insertions':{},'deletions':{}},_0xa30128=new Map(),_0x40631b=new Set([...this['_baseRoots']['keys'](),...this['_diffRoots']['keys']()]);_0x40631b['delete']('$graveyard');for(const _0x27cd07 of _0x40631b){const _0x3662ca=this['_diffRoots']['get'](_0x27cd07)||_emptyRoot(_0x27cd07,!0x1),_0x45d828=this['_baseRoots']['get'](_0x27cd07)||_emptyRoot(_0x27cd07,!0x1);_0x3662ca['isAttached']()||_0x45d828['isAttached']()?(_0x42f197['insertions'][_0x27cd07]=_cloneRoot(_0x3662ca),_0x42f197['deletions'][_0x27cd07]=_cloneRoot(_0x45d828),this['_copyMarkers'](_0x42f197['deletions'][_0x27cd07],_0x45d828),this['_copyMarkers'](_0x42f197['insertions'][_0x27cd07],_0x3662ca),_0x4e2845['insertions'][_0x27cd07]=this['_generateTape'](this['_idsRoots']['get'](_0x27cd07),[]),_0x4e2845['deletions'][_0x27cd07]=this['_generateTape'](this['_baseIdsRoots']['get'](_0x27cd07)||_emptyRoot(_0x27cd07,!0x1),[])):_0x40631b['delete'](_0x27cd07);}for(const _0x33a5fc of _0x40631b){const _0x3e04ab=_0x4e2845['insertions'][_0x33a5fc];for(const _0x225a50 of _0x3e04ab){const _0x40fb26=this['_getVidAttributeName'](_0x225a50),_0x22f459=_0x225a50['item']['getAttribute'](_0x40fb26);_0x3dffc3['delete'](_0x22f459),_0x22f459>=this['_startingRevisionId']&&_0x98dd91['set'](_0x22f459,_0x951b69['get'](_0x22f459));}}for(const _0x1fbd44 of _0x40631b){const _0x35dbc4=_0x4e2845['insertions'][_0x1fbd44],_0x4f71b4=this['_getBaseVids'](_0x4e2845['deletions'][_0x1fbd44]);let _0x316f3a=0x0;for(const _0x52c691 of _0x35dbc4){const _0x305ab5=this['_getVidAttributeName'](_0x52c691),_0xc343bd=_0x52c691['item']['getAttribute'](_0x305ab5);if(!_0x98dd91['has'](_0xc343bd)&&!_0xa30128['has'](_0xc343bd)){if(_0x3dffc3['has'](_0xc343bd))_0x316f3a++;else{if(_0xc343bd!=_0x4f71b4[_0x316f3a]){const _0x2f9907=_0x951b69['get'](_0xc343bd)||_0x951b69['get'](_0x4f71b4[_0x316f3a]);for(;_0xc343bd!=_0x4f71b4[_0x316f3a];)_0x3dffc3['has'](_0x4f71b4[_0x316f3a])||(_0xa30128['set'](_0x4f71b4[_0x316f3a],_0x2f9907),_0x951b69['set'](_0x4f71b4[_0x316f3a],_0x2f9907)),_0x316f3a++;}_0x316f3a++;}}}}for(const _0x599667 of _0x40631b){const _0x63e8ad=_0x4e2845['insertions'][_0x599667];for(const _0x169771 of _0x63e8ad){const _0x2bcc8c=this['_getVidAttributeName'](_0x169771),_0x2dec84=_0x169771['item']['getAttribute'](_0x2bcc8c);if(_0xa30128['has'](_0x2dec84)){const _0xea6646=_0xa30128['get'](_0x2dec84);_0x3dffc3['has'](_0x2dec84)||_0x3dffc3['set'](_0x2dec84,{..._0xea6646}),_0x98dd91['set'](_0x2dec84,{..._0xea6646});}}}for(const _0x769067 of _0x3dffc3['keys']())_0x769067>=this['_startingRevisionId']&&_0x3dffc3['delete'](_0x769067);const _0x285447=new Map();for(const _0x222820 of _0x40631b){let _0x59eb63=_0x4e2845['insertions'][_0x222820];for(const _0x21d39f of _0x59eb63)if(_0x21d39f['item']['is']('element','tableCell')){const _0x13bfe9=this['_getVidAttributeName'](_0x21d39f),_0x27fae6=_0x21d39f['item']['getAttribute'](_0x13bfe9);if(_0x98dd91['has'](_0x27fae6)){const _0x15f4cb=_0x21d39f['item']['parent']['parent']['getAttribute']('vid_start'),_0x5572c8=_0x285447['get'](_0x15f4cb)||new Set();_0x5572c8['add'](_0x98dd91['get'](_0x27fae6)['userId']),_0x285447['set'](_0x15f4cb,_0x5572c8);}}_0x59eb63=_0x4e2845['deletions'][_0x222820];for(const _0x49cf8e of _0x59eb63)if(_0x49cf8e['item']['is']('element','tableCell')){const _0x54eda4=this['_getVidAttributeName'](_0x49cf8e),_0x44099d=_0x49cf8e['item']['getAttribute'](_0x54eda4);if(_0x3dffc3['has'](_0x44099d)){const _0x1d2af6=_0x49cf8e['item']['parent']['parent']['getAttribute']('vid_start'),_0xb8f5a0=_0x285447['get'](_0x1d2af6)||new Set();_0xb8f5a0['add'](_0x3dffc3['get'](_0x44099d)['userId']),_0x285447['set'](_0x1d2af6,_0xb8f5a0);}}for(const _0x234303 of _0x285447['keys']())(_0x98dd91['has'](_0x234303)||_0x3dffc3['has'](_0x234303))&&_0x285447['delete'](_0x234303);}for(const _0x70b83f of _0x40631b){const _0x1c8cad=_0x4e2845['insertions'][_0x70b83f];let _0x4c9ef0=null,_0x455936=null;for(const _0x2e458c of _0x1c8cad){const _0x1c7313=this['_getVidAttributeName'](_0x2e458c),_0x108189=_0x2e458c['item']['getAttribute'](_0x1c7313),_0x18f5a8=_0x285447['get'](_0x108189);_0x18f5a8&&'elementStart'==_0x2e458c['type']&&(_0x4c9ef0=Array['from'](_0x18f5a8)[0x0],_0x455936=_0x2e458c['item']['getAttribute']('vid_end')),_0x4c9ef0&&(_0x3dffc3['set'](_0x108189,{'userId':_0x4c9ef0}),_0x98dd91['set'](_0x108189,{'userId':_0x4c9ef0})),_0x108189==_0x455936&&(_0x4c9ef0=null,_0x455936=null);}}const _0x4a3c7c={},_0x29e516=new Set();for(const _0x2e94d1 of _0x40631b){const _0x2e0b4a=_0x42f197['deletions'][_0x2e94d1],_0x319520=_0x42f197['insertions'][_0x2e94d1];for(const {userId:_0x2d2802}of this['_touchedMarkers']['values']())null!==_0x2d2802&&_0x29e516['add'](_0x2d2802);for(const {userId:_0x1efaa9}of this['_touchedRoots']['values']())null!==_0x1efaa9&&_0x29e516['add'](_0x1efaa9);this['_markChanges'](_0x319520,_0x4e2845['insertions'][_0x2e94d1],_0x98dd91,'insertion',_0x29e516),this['_markChanges'](_0x2e0b4a,_0x4e2845['deletions'][_0x2e94d1],_0x3dffc3,'deletion',_0x29e516),_0x4a3c7c[_0x2e94d1]={'insertions':this['_prepareViewToSave'](_0x319520),'deletions':this['_prepareViewToSave'](_0x2e0b4a),'attachChange':this['_touchedRoots']['get'](_0x2e94d1)||null,'attributesBefore':_0x3db43b(this['_baseRootsAttributes']['get'](_0x2e94d1))||{},'attributesAfter':_0x3db43b(this['_diffRootsAttributes']['get'](_0x2e94d1))};}return{'diffData':_0x4a3c7c,'authorsIds':Array['from'](_0x29e516)};}['_processRootBeforeSave'](_0x165cba){for(const [,_0x406aff]of _0x165cba['markers']){const _0x4deb04=_0x406aff['start']['getAncestors']()['filter'](_0x226097=>'tableCell'==_0x226097['name']);for(const _0x950781 of _0x4deb04)0x1==_0x950781['childCount']&&_0x950781['getChild'](0x0)['is']('element','paragraph')&&_0x950781['getChild'](0x0)['_setAttribute']('keepParagraph',!0x0);}}['_prepareViewToSave'](_0x4e6604){this['_processRootBeforeSave'](_0x4e6604);const _0x36f4af=this['editor']['data']['toView'](_0x4e6604,{}),_0x2c7b6c=Array['from'](_0x36f4af['getChildren']())['map'](_0x1b0966=>this['_getViewJson'](_0x1b0966));return JSON['stringify'](_0x2c7b6c);}['_getViewJson'](_0x7b344a){if(_0x7b344a['is']('$text'))return _0x7b344a['data'];{const _0x1bbc30=this['editor']['plugins']['get']('RevisionHistoryUtils'),_0x33bd3c=_0x7b344a,_0x4b66ed=this['editor']['data']['htmlProcessor']['domConverter'],_0x225ae1={'type':_0x1bbc30['_getTypeCharForViewElement'](_0x33bd3c),'name':_0x33bd3c['name'],'attributes':Array['from'](_0x33bd3c['getAttributes']()),'children':Array['from'](_0x33bd3c['getChildren']())['map'](_0x9bc5ea=>this['_getViewJson'](_0x9bc5ea))};if(_0x7b344a['is']('uiElement')&&'$comment'!=_0x7b344a['name']){const _0x381184=_0x7b344a['render'](_0x4b66ed['domDocument'],_0x4b66ed);_0x225ae1['children']['push'](_0x381184['outerHTML']);}else{if(_0x7b344a['is']('rawElement')){const _0x170313=_0x4b66ed['domDocument']['createElement'](_0x33bd3c['name']);_0x7b344a['render'](_0x170313,_0x4b66ed),_0x225ae1['children']['push'](_0x170313['innerHTML']);}}const _0x343f77=Array['from'](_0x33bd3c['getCustomProperties']());_0x343f77['length']>0x0&&(_0x225ae1['customProperties']=_0x343f77);const _0x279c65=_0x33bd3c['getFillerOffset']();return null!==_0x279c65&&(_0x225ae1['fillerOffset']=_0x279c65),_0x225ae1;}}['_markChanges'](_0x3c7821,_0x20c701,_0x407bbb,_0x5d9d39,_0x3564a1){let _0x5bce8a=null,_0x380f05=null,_0x560581=0x0;const _0x22adc3=this['editor']['model'];for(let _0x19e3cd=0x0;_0x19e3cd<_0x20c701['length'];_0x19e3cd++){const _0x3c52e2=this['_getVidAttributeName'](_0x20c701[_0x19e3cd]),_0x555394=_0x20c701[_0x19e3cd]['item']['getAttribute'](_0x3c52e2),_0xe4941=_0x407bbb['get'](_0x555394),_0x465982=_0x19e3cd==_0x20c701['length']-0x1;(!_0x5bce8a&&_0xe4941&&(_0x5bce8a=_0xe4941,_0x380f05=_0x20c701[_0x19e3cd]),_0x5bce8a&&(!_0xe4941||_0xe4941['userId']!=_0x5bce8a['userId']))&&(_0x2e60cb(_0xe4941,_getPosBefore(_0x380f05,_0x3c7821,_0x22adc3),_getPosBefore(_0x20c701[_0x19e3cd],_0x3c7821,_0x22adc3)),_0x5bce8a=_0xe4941||null,_0x380f05=_0xe4941?_0x20c701[_0x19e3cd]:null),_0x5bce8a&&_0x465982&&_0x2e60cb(_0xe4941,_getPosBefore(_0x380f05,_0x3c7821,_0x22adc3),_getPosAfter(_0x20c701[_0x19e3cd],_0x3c7821,_0x22adc3));}function _0x2e60cb(_0x523646,_0xe80b12,_0x33920c){const _0x31d781=_0x5bce8a['userId'],_0xc2e378='revision:'+_0x5d9d39+':'+_0x31d781+':'+_0x560581++,_0x316591=_0x22adc3['createRange'](_0xe80b12,_0x33920c);_0x3c7821['markers']['set'](_0xc2e378,_0x316591),null!==_0x31d781&&_0x3564a1['add'](_0x31d781);}}['_getVidAttributeName'](_0x506461){switch(_0x506461['type']){case'elementStart':return'vid_start';case'elementEnd':return'vid_end';default:return'vid';}}['_fixOperation'](_0x3b98cc,_0x3e65f){_0x3b98cc['baseVersion']=null;for(const _0x1b4e59 in _0x3b98cc){const _0x448b25=_0x3b98cc[_0x1b4e59];if(_0x448b25 instanceof ckeditor5['ModelPosition']){const _0x3ecaf2=_0x3e65f['get'](_0x448b25['root']['rootName']);_0x3b98cc[_0x1b4e59]=this['_fixPosition'](_0x448b25,_0x3ecaf2);}if(_0x448b25 instanceof ckeditor5['ModelRange']){const _0x17bd17=_0x3e65f['get'](_0x448b25['root']['rootName']);_0x3b98cc[_0x1b4e59]=this['_fixRange'](_0x448b25,_0x17bd17);}'root'===_0x1b4e59&&(_0x3b98cc['root']=_0x3e65f['get'](_0x3b98cc['root']['rootName']));}}['_fixRange'](_0x100e8e,_0x418776){return this['editor']['model']['createRange'](this['_fixPosition'](_0x100e8e['start'],_0x418776),this['_fixPosition'](_0x100e8e['end'],_0x418776));}['_fixPosition'](_0xdfc198,_0x106d97){return this['editor']['model']['createPositionFromPath'](_0x106d97,_0xdfc198['path'],_0xdfc198['stickiness']);}['_handleInsertOperation'](_0xf2d055){const _0x1ca285=this['_idsRoots']['get'](_0xf2d055['position']['root']['rootName']),_0x3af9ee=this['_fixPosition'](_0xf2d055['position'],_0x1ca285),_0x432144=null===_0xf2d055['_authorId']?null:_0xf2d055['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x34eb49=_0x3af9ee['parent'],_0x3480aa=this['_revisionId'],_0x29f483=[];for(const _0x54bacf of _0xf2d055['nodes'])if(_0x54bacf['is']('element'))_0x29f483['push'](this['_makeIdsRoot'](_0x54bacf));else{for(let _0x349d5b=0x0;_0x349d5b<_0x54bacf['offsetSize'];_0x349d5b++)_0x29f483['push'](new ckeditor5['ModelElement']('$text',{'vid':this['_revisionId']++}));}const _0x1299f3=this['_revisionId'];for(let _0x108aa3=_0x3480aa;_0x108aa3<_0x1299f3;_0x108aa3++)this['_touched']['set'](_0x108aa3,{'userId':_0x432144});_0x34eb49['_insertChild'](_0x3af9ee['offset'],_0x29f483);}['_handleMoveOperation'](_0x5bf84d){(_0x5bf84d=this['_cloneOperation'](_0x5bf84d,this['_idsRoots']))['_execute']();const _0x2af599=null===_0x5bf84d['_authorId']?null:_0x5bf84d['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x5c2438=_0x5bf84d['getMovedRangeStart'](),_0x1c1e75=_0x5c2438['parent'],_0x1b4a6f=_0x5c2438['offset'];!function _0x257ef6(_0x5255b9,_0x2bb059,_0xffecb,_0x476bad){for(let _0x4ffcee=_0xffecb;_0x4ffcee<_0x476bad;_0x4ffcee++){const _0x3c1240=_0x2bb059['getChild'](_0x4ffcee);_0x3c1240['is']('element','$text')?_0x5255b9['set'](_0x3c1240['getAttribute']('vid'),{'userId':_0x2af599}):(_0x5255b9['set'](_0x3c1240['getAttribute']('vid_start'),{'userId':_0x2af599}),_0x257ef6(_0x5255b9,_0x3c1240,0x0,_0x3c1240['childCount']),_0x5255b9['set'](_0x3c1240['getAttribute']('vid_end'),{'userId':_0x2af599}));}}(this['_touched'],_0x1c1e75,_0x1b4a6f,_0x1b4a6f+_0x5bf84d['howMany']);}['_handleMergeOperation'](_0xbee55e){const _0x481d60=null===(_0xbee55e=this['_cloneOperation'](_0xbee55e,this['_idsRoots']))['_authorId']?null:_0xbee55e['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x51e5a0=_0xbee55e['targetPosition']['parent'],_0x1c2f1f=_0xbee55e['sourcePosition']['parent'],_0x445eae=_0x51e5a0['getAttribute']('vid_end'),_0x1474ff=_0x1c2f1f['getAttribute']('vid_start');_0x51e5a0['_setAttribute']('vid_end',_0x1c2f1f['getAttribute']('vid_end')),_0x1c2f1f['_setAttribute']('vid_end',_0x445eae),this['_touched']['set'](_0x1474ff,{'userId':_0x481d60}),this['_touched']['set'](_0x445eae,{'userId':_0x481d60}),_0xbee55e['_execute']();}['_handleSplitOperation'](_0x116a22){const _0x48fe26=null===(_0x116a22=this['_cloneOperation'](_0x116a22,this['_idsRoots']))['_authorId']?null:_0x116a22['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x58ec7c=_0x116a22['graveyardPosition'],_0x28058e=_0x116a22['splitPosition']['parent'];_0x116a22['_execute']();const _0x4c515a=_0x28058e['getAttribute']('vid_end'),_0x174620=_0x116a22['insertionPosition']['nodeAfter'];if(_0x58ec7c){const _0x5d752e=_0x174620['getAttribute']('vid_end'),_0x519f51=_0x28058e['getAttribute']('vid_end');_0x28058e['_setAttribute']('vid_end',_0x5d752e),_0x174620['_setAttribute']('vid_end',_0x519f51),this['_touched']['set'](_0x28058e['getAttribute']('vid_end'),{'userId':_0x48fe26}),this['_touched']['set'](_0x174620['getAttribute']('vid_start'),{'userId':_0x48fe26});}else{const _0x162205=this['_revisionId']++,_0x5c7e61=this['_revisionId']++;_0x28058e['_setAttribute']('vid_end',_0x162205),_0x174620['_setAttribute']('vid_start',_0x5c7e61),_0x174620['_setAttribute']('vid_end',_0x4c515a),this['_touched']['set'](_0x162205,{'userId':_0x48fe26}),this['_touched']['set'](_0x5c7e61,{'userId':_0x48fe26});}}['_handleMarkerOperation'](_0x15cf19){if(!_0x15cf19['affectsData'])return;const _0x47e366=(_0x15cf19=this['_cloneOperation'](_0x15cf19,this['_diffRoots']))['oldRange']?_0x15cf19['oldRange']['root']:null,_0x5a425f=_0x15cf19['newRange']?_0x15cf19['newRange']['root']:null;_0x47e366&&this['_markers']['delete'](_0x15cf19['name']),_0x5a425f&&this['_markers']['set'](_0x15cf19['name'],_0x15cf19['newRange']['clone']());const _0x3f0ae0=null===_0x15cf19['_authorId']?null:_0x15cf19['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x1f490f=_0x15cf19['name'];if(!this['_touchedMarkers']['has'](_0x1f490f))return void this['_touchedMarkers']['set'](_0x1f490f,{'range':_0x15cf19['oldRange'],'userId':_0x3f0ae0});const _0x46fd32=this['_touchedMarkers']['get'](_0x1f490f),_0x2931f6=_0x46fd32['range'],_0xdf0440=_0x15cf19['newRange'];null==_0x2931f6&&null==_0xdf0440||_0x2931f6&&_0xdf0440&&_0x2931f6['isEqual'](_0xdf0440)?this['_touchedMarkers']['delete'](_0x15cf19['name']):_0x46fd32['userId']=_0x3f0ae0;}['_handleRootOperation'](_0x33d189,_0x441076){this['_diffRoots']['has'](_0x33d189['rootName'])?this['_diffRoots']['get'](_0x33d189['rootName'])['_isAttached']=_0x33d189['isAdd']:(this['_diffRoots']['set'](_0x33d189['rootName'],_emptyRoot(_0x33d189['rootName'],!0x0)),this['_diffRootsAttributes']['set'](_0x33d189['rootName'],{}),_0x441076&&this['_idsRoots']['set'](_0x33d189['rootName'],_emptyRoot(_0x33d189['rootName'],!0x0)));const _0x4ecef7=null===_0x33d189['_authorId']?null:_0x33d189['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x3a5235=this['_touchedRoots']['get'](_0x33d189['rootName']);_0x3a5235&&_0x3a5235['userId']===_0x4ecef7?this['_touchedRoots']['delete'](_0x33d189['rootName']):this['_touchedRoots']['set'](_0x33d189['rootName'],{'userId':_0x4ecef7,'isAttached':_0x33d189['isAdd']});}['_handleRootAttributeOperation'](_0x52da04){const _0x116ed9=this['_diffRootsAttributes']['get'](_0x52da04['root']['rootName']);null===_0x52da04['newValue']?delete _0x116ed9[_0x52da04['key']]:_0x116ed9[_0x52da04['key']]=_0x52da04['newValue'];}}function _cloneRoot(_0x4042d9){const _0x3a5856=_emptyRoot(_0x4042d9['rootName'],_0x4042d9['isAttached']());for(const _0xb33587 of _0x4042d9['getChildren']()){const _0xe34c5b=_0xb33587['_clone'](!0x0);_0x3a5856['_appendChild'](_0xe34c5b);}return _0x3a5856;}function _emptyRoot(_0x7d744c,_0x49fbb0=!0x0){const _0x4ae6a3=new ckeditor5['ModelDocumentFragment']();return _0x4ae6a3['rootName']=_0x7d744c,_0x4ae6a3['_isAttached']=_0x49fbb0,_0x4ae6a3['isAttached']=()=>_0x4ae6a3['_isAttached'],_0x4ae6a3;}function _getPosBefore(_0x57b78c,_0xc1a9ce,_0x24421a){const _0x1d296a='elementEnd'==_0x57b78c['type']?_0x24421a['createPositionAt'](_0x57b78c['item'],'end'):_0x24421a['createPositionBefore'](_0x57b78c['item']);return _0x24421a['createPositionFromPath'](_0xc1a9ce,_0x1d296a['path'],_0x1d296a['stickiness']);}function _getPosAfter(_0x2040e0,_0x32c6fa,_0x381057){const _0x5d9fa7='elementStart'==_0x2040e0['type']?_0x381057['createPositionAt'](_0x2040e0['item'],0x0):_0x381057['createPositionAfter'](_0x2040e0['item']);return _0x381057['createPositionFromPath'](_0x32c6fa,_0x5d9fa7['path'],_0x5d9fa7['stickiness']);}class RevisionHistorySaveRevisionFormView extends/* #__PURE__ -- @preserve */
ckeditor5['CssTransitionDisablerMixin'](ckeditor5['View']){['focusTracker'];['keystrokes'];['revisionNameInputView'];constructor(_0x4d62cc,_0x5a7bc4){super(_0x4d62cc),this['focusTracker']=new ckeditor5['FocusTracker'](),this['keystrokes']=new ckeditor5['KeystrokeHandler'](),this['set']('revisionNameInputValue',''),this['revisionNameInputView']=this['_createRevisionNameInput'](_0x5a7bc4),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 _0x4afdad=_0x579b9c=>_0x579b9c['stopPropagation']();this['keystrokes']['set']('arrowright',_0x4afdad),this['keystrokes']['set']('arrowleft',_0x4afdad),this['keystrokes']['set']('arrowup',_0x4afdad),this['keystrokes']['set']('arrowdown',_0x4afdad);}['focus'](){this['revisionNameInputView']['focus']();}get['revisionName'](){return this['revisionNameInputView']['fieldView']['element']['value']['trim']();}set['revisionName'](_0x94c656){this['revisionNameInputView']['fieldView']['element']['value']=_0x94c656['trim']();}['reset'](){this['revisionNameInputView']['fieldView']['element']['value']='',this['revisionNameInputView']['errorText']=null;}['_createRevisionNameInput'](_0x49a09e){const _0x406320=new ckeditor5['LabeledFieldView'](this['locale'],ckeditor5['createLabeledInputText']),_0x4e1217=_0x406320['fieldView'];_0x4e1217['extendTemplate']({'attributes':{'maxlength':'220'}});let _0x2b2792=getTranslation$5(this['locale'],'Name\x20of\x20the\x20revision');return!_0x49a09e&&(_0x2b2792+='\x20('+getTranslation$5(this['locale'],'optional')+')'),(_0x406320['label']=_0x2b2792,_0x4e1217['on']('input',()=>{this['revisionNameInputValue']=_0x4e1217['element']['value']['trim']();}),_0x406320);}}class RevisionHistoryUI extends ckeditor5['Plugin']{static get['pluginName'](){return'RevisionHistoryUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x2a039b];}['_saveRevisionFormView'];['init'](){const _0x47f3a0=this['editor'],_0xbeb639=_0x47f3a0['plugins']['get']('RevisionTracker');_0x47f3a0['ui']['componentFactory']['add']('revisionHistory',_0x274e77=>{const _0x22507c=ckeditor5['createDropdown'](_0x274e77),_0x1ef8ee=_0x22507c['panelView']['children'],_0x54574d=new ckeditor5['ListView'](_0x274e77),_0x50ce31=new ckeditor5['ListItemView'](_0x274e77),_0x414131=new ckeditor5['ButtonView'](_0x274e77),_0x37b875=new ckeditor5['ListItemView'](_0x274e77),_0xe9d3fe=new ckeditor5['ButtonView'](_0x274e77);return _0x22507c['bind']('isEnabled')['to'](_0xbeb639,'isReady',_0xbeb639,'isEnabled',_0x47f3a0,'isReadOnly',(_0x515ea3,_0x361f1b,_0x3343ec)=>_0x515ea3&&_0x361f1b&&!_0x3343ec),_0x22507c['buttonView']['set']({'icon':ckeditor5['IconHistory'],'label':getTranslation$5(_0x274e77,'Revision\x20history'),'tooltip':!0x0}),_0x414131['set']({'label':getTranslation$5(_0x274e77,'Save\x20current\x20revision'),'withText':!0x0,'role':'menuitem'}),_0x414131['bind']('isEnabled')['to'](_0xbeb639,'isReady',_0xbeb639,'isEnabled',_0x47f3a0,'isReadOnly',(_0x17d483,_0x11b799,_0x1404d4)=>_0x17d483&&_0x11b799&&!_0x1404d4),_0x414131['on']('execute',()=>this['_showDialog']()),_0xe9d3fe['set']({'label':getTranslation$5(_0x274e77,'Open\x20revision\x20history'),'withText':!0x0,'role':'menuitem'}),_0xe9d3fe['bind']('isEnabled')['to'](_0xbeb639,'isReady',_0x47f3a0,'isReadOnly',(_0x20bafe,_0x3ee3c9)=>_0x20bafe&&!_0x3ee3c9),_0xe9d3fe['on']('execute',()=>{_0x47f3a0['config']['get']('revisionHistory')['showRevisionViewerCallback'](),_0x22507c['isOpen']=!0x1,_0x47f3a0['editing']['view']['focus']();}),_0x50ce31['children']['add'](_0x414131),_0x37b875['children']['add'](_0xe9d3fe),_0x54574d['role']='menu',_0x54574d['items']['addMany']([_0x50ce31,_0x37b875]),_0x1ef8ee['add'](_0x54574d),_0x22507c;}),_0x47f3a0['ui']['componentFactory']['add']('menuBar:revisionHistory',()=>this['_registerMenuComponent']());}['_registerMenuComponent'](){const _0x371bee=this['editor'],_0xabcb18=_0x371bee['locale'],_0x26c895=new ckeditor5['MenuBarMenuView'](_0xabcb18),_0x4ac96a=new ckeditor5['MenuBarMenuListView'](_0xabcb18);_0x26c895['buttonView']['set']({'icon':ckeditor5['IconHistory'],'label':getTranslation$5(_0xabcb18,'Revision\x20history')});const _0x7e3a2b=new ckeditor5['MenuBarMenuListItemView'](_0xabcb18,_0x26c895),_0x12fad4=new ckeditor5['MenuBarMenuListItemButtonView'](_0xabcb18);_0x12fad4['set']({'label':getTranslation$5(_0xabcb18,'Save\x20current\x20revision')}),_0x12fad4['delegate']('execute')['to'](_0x26c895),_0x12fad4['on']('execute',()=>{this['_showDialog']();}),_0x7e3a2b['children']['add'](_0x12fad4),_0x4ac96a['items']['add'](_0x7e3a2b);const _0x1e843b=new ckeditor5['MenuBarMenuListItemView'](_0xabcb18,_0x26c895),_0x94a64b=new ckeditor5['MenuBarMenuListItemButtonView'](_0xabcb18);return _0x94a64b['set']({'label':getTranslation$5(_0xabcb18,'Open\x20revision\x20history')}),_0x94a64b['delegate']('execute')['to'](_0x26c895),_0x94a64b['on']('execute',()=>{_0x371bee['config']['get']('revisionHistory')['showRevisionViewerCallback']();}),_0x1e843b['children']['add'](_0x94a64b),_0x4ac96a['items']['add'](_0x1e843b),_0x26c895['panelView']['children']['add'](_0x4ac96a),_0x26c895;}['_showDialog'](){const _0x51866d=this['editor'],_0x351c90=_0x51866d['locale'],_0x24f779=_0x51866d['plugins']['get']('Dialog'),_0x4b239a=_0x51866d['plugins']['get']('RevisionTracker');function _0x3595d1(_0x2b0074){_0x51866d['config']['get']('revisionHistory.requireRevisionName')&&''===_0x2b0074['revisionName']?_0x2b0074['revisionNameInputView']['errorText']=getTranslation$5(_0x351c90,'The\x20revision\x20name\x20cannot\x20be\x20empty.'):(_0x51866d['plugins']['get'](_0x2a039b)['saveRevision']({'name':_0x2b0074['revisionName']}),_0x24f779['hide']());}this['_saveRevisionFormView']||(this['_createSaveRevisionFormView'](),this['_saveRevisionFormView']['on']('submit',()=>_0x3595d1(this['_saveRevisionFormView']))),this['_saveRevisionFormView']['reset'](),_0x24f779['show']({'id':'revisionSave','title':getTranslation$5(_0x351c90,'Save\x20current\x20revision'),'isModal':!0x0,'content':this['_saveRevisionFormView'],'actionButtons':[{'label':getTranslation$5(_0x51866d['locale'],'Cancel'),'withText':!0x0,'onExecute':()=>_0x24f779['hide']()},{'label':getTranslation$5(_0x51866d['locale'],'Accept'),'class':'ck-button-action','withText':!0x0,'onCreate'(_0x5b6d89){_0x5b6d89['bind']('isEnabled')['to'](_0x4b239a,'isReady',_0x4b239a,'isEnabled',_0x51866d,'isReadOnly',(_0x43e6e1,_0x409bbf,_0x379793)=>_0x43e6e1&&_0x409bbf&&!_0x379793);},'onExecute':()=>_0x3595d1(this['_saveRevisionFormView'])}]});}['_createSaveRevisionFormView'](){const _0x9468af=this['editor'],_0xc62eb7=_0x9468af['locale'];this['_saveRevisionFormView']=new RevisionHistorySaveRevisionFormView(_0xc62eb7,_0x9468af['config']['get']('revisionHistory.requireRevisionName')),this['_saveRevisionFormView']['render']();}}class ChangeDetailsView extends ckeditor5['View']{['changeId'];['_model'];constructor(_0x37eeb2,_0x1a3302){super(_0x37eeb2),this['_model']=_0x1a3302,this['changeId']=_0x1a3302['id'];const _0x16d81c=this['bindTemplate'],_0x23d9cb=getTranslation$5(_0x37eeb2,_0x1a3302['data']['isSuggestion']?'Suggested\x20by':'add'==_0x1a3302['type']?'Added\x20by':'Removed\x20by');this['set']('type',_0x1a3302['type']),this['setTemplate']({'tag':'div','attributes':{'class':['ck-annotation','ck-revision-change',_0x16d81c['to']('type',_0x3364ca=>'ck-revision-change__'+_0x3364ca)],'tabindex':-0x1},'children':[{'tag':'span','children':[{'tag':'span','attributes':{'class':['ck-revision-change__label']},'children':[{'text':_0x23d9cb}]},{'text':'\x20'+_0x1a3302['author']['name']}]}]});}['focus'](){this['element']['focus']();}}class ChangeItem extends/* #__PURE__ -- @preserve */
ckeditor5['ObservableMixin'](){['id'];['author'];['type'];['data'];['rootName'];constructor(_0x9af2bf){super(),this['id']=_0x9af2bf['id']||ckeditor5['uid'](),this['author']=_0x9af2bf['author'],this['type']=_0x9af2bf['type'],this['data']=_0x9af2bf['data']||{},this['rootName']=_0x9af2bf['rootName'],this['set']('createdAt',_0x9af2bf['createdAt']);}['toJSON'](){return{'id':this['id'],'authorId':this['author']['id'],'type':this['type'],'data':this['data'],'createdAt':this['createdAt']};}}class _0x5b041a{['newRevisionId'];['oldRevisionId'];['changes'];constructor(_0x533fe4,_0x622424){this['newRevisionId']=_0x533fe4,this['oldRevisionId']=_0x622424,this['changes']=new ckeditor5['Collection']();}['_setChanges'](_0x44b7c6){for(const _0x262fa1 of _0x44b7c6)this['changes']['add'](_0x262fa1);}}class _0x301cfe 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[_0x38ef77,ckeditor5['ContextualBalloon'],RevisionsRepository,RevisionHistoryUtils];}constructor(_0x33e32e){super(_0x33e32e),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',(_0x4f89e0,_0x2617c2,_0x11c2ed)=>{this['activeChange']=null,this['activeView']=null,this['editor']['editing']['view']['change'](_0x52dc23=>{for(const _0x3a8758 of this['editor']['editing']['view']['document']['roots'])_0x11c2ed?_0x52dc23['removeClass']('ck-editor__editable__overlay',_0x3a8758):_0x52dc23['addClass']('ck-editor__editable__overlay',_0x3a8758);});}),this['bind']('isNavigationMode')['to'](this,'activeChange',_0x347952=>null!==_0x347952),this['bind']('currentChangeNumber')['to'](this,'isReady',this,'diff',this,'activeChange',(_0x50e604,_0x1093ab,_0x195219)=>_0x50e604&&_0x195219?_0x1093ab['changes']['getIndex'](_0x195219):0x0),this['bind']('numberOfChanges')['to'](this,'isReady',this,'diff',(_0x14459f,_0x1e8ee6)=>_0x14459f?_0x1e8ee6['changes']['length']:0x0),this['_changeView']=null,this['_changeIdToChange']=new Map(),this['_balloon']=this['editor']['plugins']['get'](ckeditor5['ContextualBalloon']);}['init'](){const _0xc05eda=this['editor'],_0x303848=new _0x5b3b3f(_0xc05eda,{'direction':'backward'}),_0xa149fd=new _0x5b3b3f(_0xc05eda,{'direction':'forward'});(_0xc05eda['commands']['add']('showPreviousChange',_0x303848),_0xc05eda['commands']['add']('showNextChange',_0xa149fd),_0xc05eda['commands']['add']('restoreRevision',new RestoreRevisionCommand(_0xc05eda)),this['on']('change:numberOfChanges',()=>{_0x303848['refresh'](),_0xa149fd['refresh']();}),this['_setConversion'](),this['_initInteractions'](),_0xc05eda['enableReadOnlyMode']('revision-viewer'),_0xc05eda['plugins']['has']('WidgetToolbarRepository'))&&_0xc05eda['plugins']['get']('WidgetToolbarRepository')['forceDisabled']('revision-viewer');}async['getRevisionDocumentData'](_0x13d483){return await this['_utils']['loadRevisionData'](_0x13d483,this['adapter']),this['_utils']['getRevisionDocumentData'](_0x13d483);}async['getRevisionRootsAttributes'](_0x18b2b9){return await this['_utils']['loadRevisionData'](_0x18b2b9,this['adapter']),this['_utils']['getRevisionRootsAttributes'](_0x18b2b9);}async['compare'](_0x27369d,_0x2b0fe6,_0x2adca0=!0x1){if(!this['isEnabled'])return;const _0x191a98=this['diff'],_0x4bfdaa=this['repository'],_0x18e43e='string'==typeof _0x27369d?_0x4bfdaa['getRevision'](_0x27369d):_0x27369d,_0x29f92f='string'==typeof _0x2b0fe6?_0x4bfdaa['getRevision'](_0x2b0fe6):_0x2b0fe6,_0x56795c=_0x18e43e['id'],_0x5a47bf=_0x29f92f?_0x29f92f['id']:null;if(!_0x2adca0&&this['diff']&&this['diff']['newRevisionId']===_0x56795c&&this['diff']['oldRevisionId']===_0x5a47bf)return Promise['resolve']();this['isReady']=!0x1,this['activeView']=null,this['activeChange']=null,this['diff']=new _0x5b041a(_0x56795c,_0x5a47bf);const _0x54d42a=this['_getRevisionsRange'](_0x18e43e,_0x29f92f,!0x0)['map'](_0x216ac9=>this['_utils']['loadRevisionData'](_0x216ac9,this['adapter']));return _0x54d42a['push'](new Promise(_0x57f2ec=>{setTimeout(_0x57f2ec,0x14);})),Promise['all'](_0x54d42a)['then'](()=>{if(!this['isEnabled'])return;this['_cleanUp']();const _0xb69a3=this['_getDiff'](_0x56795c,_0x5a47bf);for(const _0x493109 of _0xb69a3['changes'])this['_changeIdToChange']['set'](_0x493109['id'],_0x493109);this['editor']['model']['enqueueChange']({'isUndoable':!0x1},_0x32b0b0=>{for(const _0x48fac0 of this['editor']['model']['document']['getRootNames']())_0x32b0b0['detachRoot'](_0x48fac0);for(const _0x64b8a5 of Object['keys'](_0xb69a3['model'])){const _0x2b8f45=_0x32b0b0['addRoot'](_0x64b8a5);for(const _0x15203f of Object['keys'](_0xb69a3['attributes'][_0x64b8a5]))_0x32b0b0['setAttribute'](_0x15203f,_0xb69a3['attributes'][_0x64b8a5][_0x15203f],_0x2b8f45);_0x32b0b0['insert'](_0xb69a3['model'][_0x64b8a5],_0x2b8f45,0x0);}}),this['diff']['_setChanges'](this['_sortAndFilterDiffChanges'](_0xb69a3['changes'])),this['isReady']=!0x0;})['catch'](_0x159f7b=>{console['error'](_0x159f7b),this['_cleanUp'](),_0x191a98&&(this['diff']=_0x191a98),this['isReady']=!0x0;});}['addRevisionData'](_0x11963a,_0x59fb24){const _0x2e593c=this['repository']['createRevision'](_0x11963a);return _0x2e593c['on']('_update',(_0x1eebd5,_0x10d8a3,_0x5a542e)=>_0x59fb24(_0x10d8a3,_0x5a542e,_0x2e593c)),this['repository']['addRevision'](_0x2e593c),_0x2e593c;}['_cleanUp'](){this['activeChange']=null,this['_cleanMarkers'](),this['_changeView']&&this['_changeView']['destroy'](),this['_changeView']=null,this['_changeIdToChange']['clear'](),this['editor']['model']['enqueueChange']({'isUndoable':!0x1},_0x4dd574=>{for(const _0x2f1574 of this['editor']['model']['document']['getRootNames']())_0x4dd574['detachRoot'](_0x2f1574);});}['_sortAndFilterDiffChanges'](_0x2412b1){const _0x5ed588=[],_0x5b2597=new Map();for(const _0x2c501c of this['editor']['model']['document']['getRootNames']()){const _0x3ebc19=this['editor']['editing']['view']['getDomRoot'](_0x2c501c);if(!_0x3ebc19)continue;const _0x152230=_0x3ebc19['getClientRects']()['item'](0x0);_0x152230&&(_0x5ed588['push'](_0x2c501c),_0x5b2597['set'](_0x2c501c,_0x152230));}return _0x5ed588['sort']((_0xde662f,_0x4ffffe)=>{const _0x15d0b=_0x5b2597['get'](_0xde662f),_0x6ec397=_0x5b2597['get'](_0x4ffffe);return _0x15d0b['y']-_0x6ec397['y']||_0x15d0b['x']-_0x6ec397['x'];}),(_0x2412b1=_0x2412b1['filter'](_0x32148b=>_0x5ed588['includes'](_0x32148b['rootName'])))['sort']((_0x3cc598,_0x133a26)=>_0x5ed588['indexOf'](_0x3cc598['rootName'])-_0x5ed588['indexOf'](_0x133a26['rootName'])),_0x2412b1;}['_makeTape'](_0x465ba0){const _0x1d3a98=Array['from'](_0x465ba0['markers'])['filter'](([_0x3bafaf,_0xa7bd03])=>_0x3bafaf['startsWith']('revision:')&&!_0xa7bd03['isCollapsed']),_0x3b8926=Array['from'](this['editor']['model']['createRangeIn'](_0x465ba0)['getWalker']({'singleCharacters':!0x0}));if(0x0!=_0x1d3a98['length'])for(const _0x5b6a59 of _0x3b8926){const [_0x2f4f10,_0x5eab7f]=_0x1d3a98[0x0],[,_0xae8c7f,_0x11992c]=_0x2f4f10['split'](':');if(_0x5eab7f['end']['isEqual'](_0x5b6a59['nextPosition'])&&_0x1d3a98['shift'](),(_0x5b6a59['previousPosition']['isEqual'](_0x5eab7f['start'])||_0x5b6a59['previousPosition']['isAfter'](_0x5eab7f['start']))&&('insertion'==_0xae8c7f?_0x5b6a59['isAdded']={'userId':_0x11992c}:'deletion'==_0xae8c7f&&(_0x5b6a59['isRemoved']={'userId':_0x11992c})),0x0==_0x1d3a98['length'])break;}return _0x3b8926;}['_refreshStartEndIndex'](_0x4da16c){const _0x4cda76=new Map();for(let _0x23b451=0x0;_0x23b451<_0x4da16c['length'];_0x23b451++)'text'===_0x4da16c[_0x23b451]['type']?(_0x4da16c[_0x23b451]['item']['startIndex']=_0x23b451,_0x4da16c[_0x23b451]['item']['endIndex']=_0x23b451):('elementStart'===_0x4da16c[_0x23b451]['type']?_0x4da16c[_0x23b451]['item']['startIndex']=_0x23b451:'elementEnd'===_0x4da16c[_0x23b451]['type']&&(_0x4da16c[_0x23b451]['item']['endIndex']=_0x23b451),_0x4cda76['set'](_0x4da16c[_0x23b451]['id'],_0x23b451));for(const _0x152a6c of _0x4cda76['values']())'elementStart'===_0x4da16c[_0x152a6c]['type']?_0x4da16c[_0x152a6c]['item']['endIndex']=_0x4cda76['get'](_0x4da16c[_0x152a6c]['pairId']):'elementEnd'===_0x4da16c[_0x152a6c]['type']&&(_0x4da16c[_0x152a6c]['item']['startIndex']=_0x4cda76['get'](_0x4da16c[_0x152a6c]['pairId']));}['_processTape'](_0x5c92b2){for(let _0x1d39f6=0x0;_0x1d39f6<_0x5c92b2['length'];_0x1d39f6++){if('elementStart'===_0x5c92b2[_0x1d39f6]['type'])_0x5c92b2[_0x1d39f6]['item']['startIndex']=_0x1d39f6;else{if('elementEnd'===_0x5c92b2[_0x1d39f6]['type']){_0x5c92b2[_0x1d39f6]['item']['endIndex']=_0x1d39f6;const _0x564222=_0x5c92b2[_0x1d39f6]['item']['startIndex'];_0x5c92b2[_0x564222]['pairId']=_0x5c92b2[_0x1d39f6]['id'],_0x5c92b2[_0x1d39f6]['pairId']=_0x5c92b2[_0x564222]['id'];}else _0x5c92b2[_0x1d39f6]['item']['startIndex']=_0x1d39f6,_0x5c92b2[_0x1d39f6]['item']['endIndex']=_0x1d39f6,_0x5c92b2[_0x1d39f6]['pairId']=null;}_0x5c92b2[_0x1d39f6]['markersStart']||(_0x5c92b2[_0x1d39f6]['markersStart']=[],_0x5c92b2[_0x1d39f6]['markersEnd']=[]);}}['_markInsertions'](_0x1649b8,_0x797f74){const _0x55f6f3=_0x1649b8['filter'](_0x2e8073=>!_0x2e8073['isAdded']);for(let _0x1fb5e9=0x0;_0x1fb5e9<_0x797f74['length'];_0x1fb5e9++)_0x797f74[_0x1fb5e9]['isAdded']&&(_0x55f6f3[_0x1fb5e9]['isAdded']=_0x797f74[_0x1fb5e9]['isAdded']);}['_getDiff'](_0x1e0d00,_0x1a07c3=null){const _0x454533=this['repository']['getRevision'](_0x1e0d00),_0x3a4f77=_0x1a07c3?this['repository']['getRevision'](_0x1a07c3):null,_0x2fe5fb=this['_getRevisionsRange'](_0x454533,_0x3a4f77),_0x1a7ba8=_0x2fe5fb[_0x2fe5fb['length']-0x1],_0x384331=new Map(),_0x7ad8a0={'model':{},'attributes':{},'changes':[]},_0x5415d0=new Set(),_0x3942c7=new Map();for(let _0x29b1fc=_0x2fe5fb['length']-0x1;_0x29b1fc>=0x0;_0x29b1fc--){const _0x3d33fb=_0x2fe5fb[_0x29b1fc];for(const _0x39621f of Object['keys'](_0x3d33fb['diffData']))if(_0x3d33fb['diffData'][_0x39621f]['attachChange']){const _0x1f9751=_0x3d33fb['diffData'][_0x39621f]['attachChange'];_0x1f9751['isAttached']?(_0x5415d0['add'](_0x39621f),_0x3942c7['has'](_0x39621f)&&_0x3942c7['get'](_0x39621f)['userId']==_0x1f9751['userId']?_0x3942c7['delete'](_0x39621f):_0x3942c7['set'](_0x39621f,_0x1f9751)):_0x3942c7['has'](_0x39621f)?(_0x5415d0['delete'](_0x39621f),_0x3942c7['delete'](_0x39621f)):(_0x5415d0['add'](_0x39621f),_0x3942c7['set'](_0x39621f,_0x1f9751));}else _0x5415d0['add'](_0x39621f);}for(const _0x2b7a3f of _0x5415d0){const _0x4cbbaa=_0x3942c7['has'](_0x2b7a3f)&&!_0x3942c7['get'](_0x2b7a3f)['isAttached'];let _0x23cfac=_0x4cbbaa?_0x2fe5fb['length']-0x1:0x0;const _0x3c7603=_0x4cbbaa?-0x1:0x1;for(;_0x2fe5fb[_0x23cfac];){const _0x5e25c5=_0x2fe5fb[_0x23cfac];if(_0x5e25c5['diffData'][_0x2b7a3f]){const _0xa3b798=_0x4cbbaa?_0x5e25c5['diffData'][_0x2b7a3f]['attributesBefore']:_0x5e25c5['diffData'][_0x2b7a3f]['attributesAfter'];_0x7ad8a0['attributes'][_0x2b7a3f]=_0xa3b798?_0x3db43b(_0xa3b798):{};break;}_0x23cfac+=_0x3c7603;}}for(const _0x1a169b of _0x2fe5fb){_0x1a169b['model']={};for(const _0xec16e3 of _0x1a169b['authors'])_0x384331['set'](_0xec16e3['id'],_0xec16e3);for(const _0x5886ba of _0x5415d0){const _0x30dd09=_0x1a169b['diffData'][_0x5886ba]?_0x1a169b['diffData'][_0x5886ba]['insertions']:'[]',_0x571402=_0x1a169b['diffData'][_0x5886ba]?_0x1a169b['diffData'][_0x5886ba]['deletions']:'[]';_0x1a169b['model'][_0x5886ba]={'insertions':this['_utils']['_makeModelFromViewString'](_0x30dd09),'deletions':this['_utils']['_makeModelFromViewString'](_0x571402)};}}for(const _0x3c9057 of _0x5415d0){let _0x15eb0f=null,_0x3c589e=0x0;const _0x341eb7=new Map(Array['from'](_0x454533['model'][_0x3c9057]['insertions']['markers'])['filter'](([_0xc0a779])=>!_0xc0a779['startsWith']('revision:')));let _0x3a315c=0x0;for(const _0x591b8b of _0x2fe5fb){const _0x1b1d86=this['_makeTape'](_0x591b8b['model'][_0x3c9057]['insertions']);_0x591b8b==_0x454533?(_0x15eb0f=_0x1b1d86,_0x3c589e=_0x15eb0f['length'],_0x15eb0f['forEach'](_0x4f4333=>{_0x4f4333['id']=_0x3a315c++;}),this['_processTape'](_0x15eb0f)):this['_markInsertions'](_0x15eb0f,_0x1b1d86);const _0x22d972=_0x15eb0f['filter'](_0x5632e6=>!_0x5632e6['isAdded'])['map'](_0x369799=>_0x369799['id']);let _0x547b6f=0x0;const _0x2780b6=this['_makeTape'](_0x591b8b['model'][_0x3c9057]['deletions']);_0x2780b6['forEach'](_0x72416c=>{_0x72416c['isRemoved']?_0x72416c['id']=_0x3c589e++:_0x72416c['id']=_0x22d972[_0x547b6f++];}),this['_processTape'](_0x2780b6),this['_setDistance'](_0x15eb0f,'isAdded'),this['_setDistance'](_0x2780b6,'isRemoved'),_0x591b8b==_0x454533&&this['_markMarkers'](_0x15eb0f,_0x341eb7),_0x15eb0f=this['_joinTapes'](_0x15eb0f,_0x2780b6),this['_refreshStartEndIndex'](_0x15eb0f),this['_setDistance'](_0x15eb0f,'isRemoved');}_0x15eb0f=_0x15eb0f['filter'](_0x27217a=>!(_0x27217a['isAdded']&&_0x27217a['isRemoved']));const _0x53e892=new Map(_0x1a7ba8['model'][_0x3c9057]['deletions']['markers']),_0x119601=new Set(_0x341eb7['keys']());for(const _0x4f3237 of _0x53e892['keys']())_0x119601['delete'](_0x4f3237);this['_markSuggestions'](_0x15eb0f,_0x119601),this['_fixObsoleteTags'](_0x15eb0f),_0x15eb0f=this['_removeMissingPairs'](_0x15eb0f),_0x15eb0f=this['_markMismatchedRemovedTags'](_0x15eb0f),_0x15eb0f=this['_removeUnsupportedChanges'](_0x15eb0f);const {root:_0x1d5e94,changes:_0x3aa491}=this['_makeModelFromTape'](_0x15eb0f,_0x384331,_0x3c9057);_0x7ad8a0['model'][_0x3c9057]=_0x1d5e94;const _0x1e82a1=_0x3942c7['get'](_0x3c9057);if(_0x1e82a1){const _0x144418=_0x384331['get'](_0x1e82a1['userId']),_0x23a26e=new ChangeItem({'author':_0x144418,'type':_0x1e82a1['isAttached']?'add':'remove','data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0x3c9057});_0x3aa491['unshift'](_0x23a26e),_0x7ad8a0['attributes'][_0x3c9057]['revisionHistoryAttachChange']=_0x23a26e['id'];}_0x7ad8a0['changes']=_0x7ad8a0['changes']['concat'](_0x3aa491);}return _0x7ad8a0;}['_markMarkers'](_0xf49a51,_0x2ffbf8){for(let _0x2bd0a6=0x0;_0x2bd0a6<_0xf49a51['length'];_0x2bd0a6++)for(const [_0x4be3f5,_0x570c28]of _0x2ffbf8)!_0x570c28['isCollapsed']&&_0x570c28['start']['isEqual'](_0xf49a51[_0x2bd0a6]['previousPosition'])&&_0xf49a51[_0x2bd0a6]['markersStart']['push'](_0x4be3f5),_0x570c28['end']['isEqual'](_0xf49a51[_0x2bd0a6]['nextPosition'])&&_0xf49a51[_0x2bd0a6]['markersEnd']['push'](_0x4be3f5);}['_joinTapes'](_0x2f6d28,_0xc6c429){let _0x5cefce=[],_0x3a1b9d=0x0,_0x47a70d=0x0;for(;_0x3a1b9d<_0x2f6d28['length']||_0x47a70d<_0xc6c429['length'];){const _0x49f2e6=_0x2f6d28[_0x3a1b9d]||{},_0x3bf9c4=_0xc6c429[_0x47a70d]||{};if(_0x49f2e6['id']==_0x3bf9c4['id'])_0x3a1b9d++,_0x47a70d++,_0x5cefce['push'](_0x49f2e6);else{if(_0x3bf9c4['isRemoved']&&_0x49f2e6['isAdded']){const {commonTape:_0x453691,iEnd:_0x5e3fa2,jEnd:_0xe7c951}=this['_threeWayMerge'](_0x2f6d28,_0x3a1b9d,_0xc6c429,_0x47a70d);_0x5cefce=_0x5cefce['concat'](_0x453691),_0x3a1b9d=_0x5e3fa2,_0x47a70d=_0xe7c951;}else _0x3bf9c4['isRemoved']?(_0x47a70d++,_0x5cefce['push'](_0x3bf9c4)):(_0x3a1b9d++,_0x5cefce['push'](_0x49f2e6));}}return _0x5cefce;}['_markSuggestions'](_0x35d358,_0x57dc8e){const _0x3aa44b=[];for(let _0x4f689c=0x0;_0x4f689c<_0x35d358['length'];_0x4f689c++){for(let _0x4784d2=0x0;_0x4784d2<_0x35d358[_0x4f689c]['markersStart']['length'];_0x4784d2++){const _0x4a2106=_0x35d358[_0x4f689c]['markersStart'][_0x4784d2];if(!_0x57dc8e['has'](_0x4a2106))continue;const {group:_0xee0322,type:_0x2c1290,authorId:_0x354e5d}=_0x4a6997(_0x4a2106);'revision-suggestion'!=_0xee0322||'insertion'!=_0x2c1290&&'deletion'!=_0x2c1290||(_0x3aa44b['unshift']({'type':_0x2c1290,'name':_0x4a2106,'userId':_0x354e5d}),_0x35d358[_0x4f689c]['markersStart']['splice'](_0x4784d2,0x1),_0x4784d2--);}_0x9892d(_0x35d358[_0x4f689c]);for(let _0x1b763b=0x0;_0x1b763b<_0x35d358[_0x4f689c]['markersEnd']['length'];_0x1b763b++){const _0x22a96f=_0x35d358[_0x4f689c]['markersEnd'][_0x1b763b];if(!_0x57dc8e['has'](_0x22a96f))continue;const {group:_0x3c7206,type:_0x36c391}=_0x4a6997(_0x22a96f);if('revision-suggestion'!=_0x3c7206||'insertion'!=_0x36c391&&'deletion'!=_0x36c391)continue;_0x35d358[_0x4f689c]['markersEnd']['splice'](_0x1b763b,0x1),_0x1b763b--;const _0x14bf14=_0x3aa44b['findIndex'](_0x2dde13=>_0x2dde13['name']==_0x22a96f);_0x14bf14>-0x1&&_0x3aa44b['splice'](_0x14bf14,0x1);}}function _0x4a6997(_0x51fb67){const _0x14bedb=_0x51fb67['split'](':');return{'group':_0x14bedb[0x0],'type':_0x14bedb[0x1],'subType':_0x14bedb['length']>=0x5?_0x14bedb[0x2]:null,'id':_0x14bedb['length']<0x5?_0x14bedb[0x2]:_0x14bedb[0x3],'authorId':_0x14bedb['length']<0x5?_0x14bedb[0x3]:_0x14bedb[0x4],'markerCount':0x6==_0x14bedb['length']?_0x14bedb[0x5]:null};}function _0x9892d(_0x2dbd5d){for(let _0x49ecbc=0x0;_0x49ecbc<_0x3aa44b['length'];_0x49ecbc++){if(_0x2dbd5d['isAdded']&&'insertion'==_0x3aa44b[_0x49ecbc]['type']&&_0x2dbd5d['isAdded']['userId']==_0x3aa44b[_0x49ecbc]['userId'])return _0x2dbd5d['isAddSuggestion']=_0x3aa44b[_0x49ecbc],void delete _0x2dbd5d['isAdded'];if(!_0x2dbd5d['isAdded']&&!_0x2dbd5d['isRemoved']&&'deletion'==_0x3aa44b[_0x49ecbc]['type'])return void(_0x2dbd5d['isRemoveSuggestion']=_0x3aa44b[_0x49ecbc]);}}}['_setDistance'](_0xfe5e9c,_0x2d5468){let _0x2ca586=0x0,_0x18ae19=!0x1;const _0x3d8e36=new Map();for(const _0x531257 of _0xfe5e9c)_0x531257[_0x2d5468]?_0x18ae19&&(_0x2ca586++,_0x18ae19=!0x1):(_0x2ca586++,_0x18ae19=!0x0),_0x3d8e36['set'](_0x531257['id'],_0x2ca586);for(let _0xbe42a9=0x0;_0xbe42a9<_0xfe5e9c['length'];_0xbe42a9++){if('isRemoved'==_0x2d5468&&_0xfe5e9c[_0xbe42a9]['isAdded']||'isAdded'==_0x2d5468&&_0xfe5e9c[_0xbe42a9]['isRemoved'])continue;if('text'==_0xfe5e9c[_0xbe42a9]['type']){_0xfe5e9c[_0xbe42a9]['distance']=0x0;continue;}const _0x49a09a=_0x3d8e36['get'](_0xfe5e9c[_0xbe42a9]['pairId']),_0x4b5edb=_0x3d8e36['get'](_0xfe5e9c[_0xbe42a9]['id']);_0xfe5e9c[_0xbe42a9]['distance']=_0x49a09a-_0x4b5edb;}}['_getRevisionsRange'](_0xb24798,_0x43bb9a,_0x5c47a6=!0x1){const _0x38772b=[];let _0xba5954=this['repository']['getIndex'](_0xb24798),_0xaca341=this['repository']['getIndex'](_0x43bb9a);for(-0x1==_0xaca341&&(_0xaca341=this['repository']['_revisions']['length'],_0x5c47a6=!0x1);_0xba5954<_0xaca341;)_0x38772b['push'](this['repository']['getRevision'](_0xba5954)),_0xba5954++;return _0x5c47a6&&_0x38772b['push'](this['repository']['getRevision'](_0xba5954)),_0x38772b;}['_threeWayMerge'](_0x103a4d,_0x1e553c,_0x5c5832,_0x2069c0){const _0x4d35ce=this['editor']['model']['schema'];let _0x54e8a9=_0x1e553c;for(;_0x103a4d[_0x54e8a9]&&_0x103a4d[_0x54e8a9]['isAdded'];)_0x54e8a9++;let _0x4f66de=_0x2069c0;for(;_0x5c5832[_0x4f66de]&&_0x5c5832[_0x4f66de]['isRemoved'];)_0x4f66de++;_0x4a3a91(_0x103a4d,_0x1e553c,_0x54e8a9),_0x4a3a91(_0x5c5832,_0x2069c0,_0x4f66de);const _0x145ad7=_0x5c5832['slice'](_0x2069c0,_0x4f66de)['concat'](_0x103a4d['slice'](_0x1e553c,_0x54e8a9));return _0x145ad7['sort']((_0x51bb9f,_0x38a2aa)=>_0x51bb9f['side']!=_0x38a2aa['side']?_0x51bb9f['side']-_0x38a2aa['side']:_0x51bb9f['level']!=_0x38a2aa['level']?_0x51bb9f['level']-_0x38a2aa['level']:_0x51bb9f['distance']!=_0x38a2aa['distance']?_0x38a2aa['distance']-_0x51bb9f['distance']:!!_0x51bb9f['isAdded']!=!!_0x38a2aa['isAdded']?-0x1==_0x51bb9f['side']||0x0==_0x51bb9f['side']?_0x51bb9f['isAdded']?-0x1:0x1:_0x51bb9f['isAdded']?0x1:-0x1:_0x51bb9f['index']-_0x38a2aa['index']),{'commonTape':_0x145ad7,'iEnd':_0x54e8a9,'jEnd':_0x4f66de};function _0x4a3a91(_0x11abe8,_0x5857e9,_0x39de70){let _0x532316=-0x1,_0x6b5790=Number['POSITIVE_INFINITY'],_0x3236f4=!0x0;for(let _0x37d8da=_0x5857e9;_0x37d8da<_0x39de70;_0x37d8da++)if(_0x4d35ce['isInline'](_0x11abe8[_0x37d8da]['item'])||(_0x3236f4=!0x1),_0x11abe8[_0x37d8da]['item']['startIndex']<_0x5857e9&&(_0x532316=_0x37d8da),_0x11abe8[_0x37d8da]['item']['endIndex']>=_0x39de70){_0x6b5790=_0x37d8da;break;}_0x3236f4&&(_0x532316=_0x39de70-0x1);for(let _0x570e1d=_0x5857e9;_0x570e1d<_0x39de70;_0x570e1d++)_0x11abe8[_0x570e1d]['side']=_0x570e1d<=_0x532316?-0x1:_0x570e1d<_0x6b5790?0x0:0x1,_0x11abe8[_0x570e1d]['index']=_0x570e1d;let _0x145ba2=0x0;for(let _0x271a31=_0x5857e9;_0x271a31<=_0x532316;_0x271a31++)0x0==_0x11abe8[_0x271a31]['distance']?_0x11abe8[_0x271a31]['level']=_0x145ba2:(_0x145ba2++,_0x11abe8[_0x271a31]['level']=_0x145ba2,_0x145ba2++);for(let _0x2ac565=_0x5857e9;_0x2ac565<_0x39de70;_0x2ac565++)0x0==_0x11abe8[_0x2ac565]['side']&&(_0x11abe8[_0x2ac565]['level']=_0x145ba2);_0x145ba2=0x0;for(let _0x530897=_0x39de70-0x1;_0x530897>=_0x6b5790;_0x530897--)0x0==_0x11abe8[_0x530897]['distance']?_0x11abe8[_0x530897]['level']=_0x145ba2:(_0x145ba2--,_0x11abe8[_0x530897]['level']=_0x145ba2,_0x145ba2--);}}['_fixObsoleteTags'](_0x598030){const _0x40eef5=new Map(),_0x46c4d3=this['editor']['model']['schema'];for(let _0xbe8bda=0x1;_0xbe8bda<_0x598030['length'];_0xbe8bda++){let _0x5767a6,_0x97936,_0x5981ee;const _0x3c4b0a=_0x598030[_0xbe8bda],_0x104a53=_0x598030[_0xbe8bda-0x1];if('text'==_0x3c4b0a['type'])continue;if(_0x3c4b0a['type']!=_0x104a53['type'])continue;if(!_0x46c4d3['isBlock'](_0x104a53['item'])||_0x46c4d3['isLimit'](_0x104a53['item']))continue;if(!_0x46c4d3['isBlock'](_0x3c4b0a['item'])||_0x46c4d3['isLimit'](_0x3c4b0a['item']))continue;if((_0x598030[_0xbe8bda]['isAdded']||_0x598030[_0xbe8bda]['isAddSuggestion'])&&_0x598030[_0xbe8bda-0x1]['isRemoved'])_0x5767a6=_0x598030[_0xbe8bda],_0x97936=_0x598030[_0xbe8bda-0x1],_0x5981ee=_0xbe8bda-0x1;else{if(!_0x598030[_0xbe8bda]['isRemoved']||!_0x598030[_0xbe8bda-0x1]['isAdded']&&!_0x598030[_0xbe8bda-0x1]['isAddSuggestion'])continue;_0x5767a6=_0x598030[_0xbe8bda-0x1],_0x97936=_0x598030[_0xbe8bda],_0x5981ee=_0xbe8bda;}const _0x3a69d8=_0x5767a6['level']==_0x97936['level'],_0x19ecd5=Math['abs'](_0x5767a6['level'])<Math['abs'](_0x97936['level'])&&0x0==_0x97936['distance'];(_0x3a69d8||_0x19ecd5)&&(_0x40eef5['set'](_0x97936['id'],_0x5767a6['id']),_0x598030['splice'](_0x5981ee,0x1),_0xbe8bda--,_0x5767a6['isAdded']=!0x1);}for(let _0x56e144=0x0;_0x56e144<_0x598030['length'];_0x56e144++)_0x40eef5['has'](_0x598030[_0x56e144]['pairId'])&&(_0x598030[_0x56e144]['pairId']=_0x40eef5['get'](_0x598030[_0x56e144]['pairId']));}['_removeMissingPairs'](_0x375ad9){const _0x42e357=new Set(_0x375ad9['map'](_0xd31ebe=>_0xd31ebe['id']));for(let _0x5cd250=0x0;_0x5cd250<_0x375ad9['length'];_0x5cd250++)_0x42e357['has'](_0x375ad9[_0x5cd250]['pairId'])||0x0==_0x375ad9[_0x5cd250]['distance']||(_0x375ad9[_0x5cd250]['isIncorrect']=!0x0);return _0x375ad9['filter'](_0x23679f=>!_0x23679f['isIncorrect']);}['_markMismatchedRemovedTags'](_0xa53fbb){const _0x402ec4=new Set();for(let _0x17ebd6=0x0;_0x17ebd6<_0xa53fbb['length'];_0x17ebd6++){if(_0x402ec4['has'](_0xa53fbb[_0x17ebd6]['id'])&&_0xa53fbb[_0x17ebd6]['isRemoved']&&(_0xa53fbb[_0x17ebd6]['isIncorrect']=!0x0),_0xa53fbb[_0x17ebd6]['isIncorrect'])continue;if(0x0==_0xa53fbb[_0x17ebd6]['distance'])continue;if('elementStart'!=_0xa53fbb[_0x17ebd6]['type'])continue;if(null==_0xa53fbb[_0x17ebd6]['pairId'])continue;let _0x295d81=_0x17ebd6+0x1,_0x378819=0x0;for(;_0xa53fbb[_0x295d81]['id']!=_0xa53fbb[_0x17ebd6]['pairId'];)'elementStart'==_0xa53fbb[_0x295d81]['type']?_0x378819++:'elementEnd'==_0xa53fbb[_0x295d81]['type']&&_0x378819--,_0x295d81++;if(0x0!=_0x378819){if(_0xa53fbb[_0x17ebd6]['isRemoved'])_0xa53fbb[_0x17ebd6]['isIncorrect']=!0x0;else{for(;_0x295d81!=_0x17ebd6;)_0xa53fbb[_0x295d81]['isRemoved']&&0x0!=_0xa53fbb[_0x295d81]['distance']&&(_0xa53fbb[_0x295d81]['isIncorrect']=!0x0,_0x402ec4['add'](_0xa53fbb[_0x295d81]['pairId'])),_0x295d81--;}}}return _0xa53fbb['filter'](_0x3e1837=>!_0x3e1837['isIncorrect']);}['_removeUnsupportedChanges'](_0x1b679b){const _0x128a01=this['editor']['model']['schema'];for(let _0x49ab59=0x0;_0x49ab59<_0x1b679b['length'];_0x49ab59++){if(!(_0x1b679b[_0x49ab59]['isAdded']||_0x1b679b[_0x49ab59]['isAddSuggestion']||_0x1b679b[_0x49ab59]['isRemoved']||_0x1b679b[_0x49ab59]['isRemoveSuggestion']))continue;if(0x0==_0x1b679b[_0x49ab59]['distance'])continue;const _0x4d7bac=_0x1b679b[_0x49ab59]['item'];_0x128a01['isBlock'](_0x4d7bac)||_0x128a01['isLimit'](_0x4d7bac)||(_0x1b679b[_0x49ab59]['isAdded']&&delete _0x1b679b[_0x49ab59]['isAdded'],_0x1b679b[_0x49ab59]['isAddSuggestion']&&delete _0x1b679b[_0x49ab59]['isAddSuggestion'],_0x1b679b[_0x49ab59]['isRemoveSuggestion']&&delete _0x1b679b[_0x49ab59]['isRemoveSuggestion'],_0x1b679b[_0x49ab59]['isRemoved']&&(_0x1b679b[_0x49ab59]['isIncorrect']=!0x0));}return _0x1b679b['filter'](_0x2df8a6=>!_0x2df8a6['isIncorrect']);}['_makeModelFromTape'](_0x57b9d7,_0x508519,_0x4fece0){const _0x32613b=new ckeditor5['ModelDocumentFragment'](),_0x27acb9=[],_0xe2406=new Map(),_0x801073=this['editor']['model'],_0x5f77e7=_0x801073['schema'],_0x3164a5=[_0x32613b],_0x492128={},_0x3ce4aa={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0x5c956e=null;const _0x507230=[0x0];for(let _0x45dc54=0x0;_0x45dc54<_0x57b9d7['length'];_0x45dc54++)if('elementStart'===_0x57b9d7[_0x45dc54]['type']){_0x57b9d7[_0x45dc54]['previousPosition']=_0x801073['createPositionFromPath'](_0x32613b,_0x507230);const _0x4f5192=new ckeditor5['ModelElement'](_0x57b9d7[_0x45dc54]['item']['name'],_0x57b9d7[_0x45dc54]['item']['getAttributes']());_0x3164a5[0x0]['_appendChild'](_0x4f5192),_0x507230['push'](0x0),_0x3164a5['unshift'](_0x4f5192),_0x57b9d7[_0x45dc54]['nextPosition']=_0x801073['createPositionFromPath'](_0x32613b,_0x507230);}else'elementEnd'===_0x57b9d7[_0x45dc54]['type']?(_0x3164a5['shift'](),_0x57b9d7[_0x45dc54]['previousPosition']=_0x801073['createPositionFromPath'](_0x32613b,_0x507230),_0x507230['pop'](),_0x507230[_0x507230['length']-0x1]++,_0x57b9d7[_0x45dc54]['nextPosition']=_0x801073['createPositionFromPath'](_0x32613b,_0x507230)):(_0x57b9d7[_0x45dc54]['previousPosition']=_0x801073['createPositionFromPath'](_0x32613b,_0x507230),_0x5c956e?_0x5c956e['_data']+=_0x57b9d7[_0x45dc54]['item']['data']:_0x5c956e=new ckeditor5['ModelText'](_0x57b9d7[_0x45dc54]['item']['data'],_0x57b9d7[_0x45dc54]['item']['getAttributes']()),_0x57b9d7[_0x45dc54+0x1]&&'text'===_0x57b9d7[_0x45dc54+0x1]['type']&&_0x1a54b4(_0x5c956e,_0x57b9d7[_0x45dc54+0x1]['item'])||(_0x3164a5[0x0]['_appendChild'](_0x5c956e),_0x5c956e=null),_0x507230[_0x507230['length']-0x1]+=_0x57b9d7[_0x45dc54]['item']['offsetSize'],_0x57b9d7[_0x45dc54]['nextPosition']=_0x801073['createPositionFromPath'](_0x32613b,_0x507230));for(let _0x56353a=0x0;_0x56353a<_0x57b9d7['length'];_0x56353a++){const _0x53ae46=_0x57b9d7[_0x56353a]['previousPosition'],_0x24810c=_0x57b9d7[_0x56353a]['nextPosition'];for(const _0x51b511 of _0x57b9d7[_0x56353a]['markersStart'])_0xe2406['set'](_0x51b511,{'start':_0x53ae46,'end':null});_0x64df4e('isRemoveSuggestion',_0x56353a,_0x53ae46,_0x24810c),_0x64df4e('isAddSuggestion',_0x56353a,_0x53ae46,_0x24810c),_0x64df4e('isRemoved',_0x56353a,_0x53ae46,_0x24810c),_0x64df4e('isAdded',_0x56353a,_0x53ae46,_0x24810c);for(const _0x3ecee2 of _0x57b9d7[_0x56353a]['markersEnd']){const _0x26cc90=_0xe2406['get'](_0x3ecee2);_0x26cc90?_0x26cc90['end']=_0x24810c:_0xe2406['set'](_0x3ecee2,{'start':_0x24810c,'end':_0x24810c});}}for(const [_0x32aef1,_0x1e4b22]of _0xe2406){const _0x15ae28=this['editor']['model']['createRange'](_0x1e4b22['start'],_0x1e4b22['end']);_0x32613b['markers']['set'](_0x32aef1,_0x15ae28);}return _0x27acb9['sort']((_0x4f3bbc,_0x4df10e)=>{const _0x563b68=_0x32613b['markers']['get']('revision:'+_0x4f3bbc['id']),_0x32dfd9=_0x32613b['markers']['get']('revision:'+_0x4df10e['id']);return _0x563b68['start']['isBefore'](_0x32dfd9['start'])?-0x1:_0x563b68['start']['isAfter'](_0x32dfd9['start'])?0x1:_0x563b68['end']['isBefore'](_0x32dfd9['end'])?-0x1:_0x563b68['end']['isAfter'](_0x32dfd9['end'])?0x1:'add'===_0x4f3bbc['type']?-0x1:0x1;}),{'root':_0x32613b,'changes':_0x27acb9};function _0x64df4e(_0x4d624b,_0x2784b8,_0x4e73c0,_0x4dab6d){const _0x28dbe5=!!_0x57b9d7[_0x2784b8][_0x4d624b],_0xc5b464=_0x28dbe5?_0x57b9d7[_0x2784b8][_0x4d624b]['userId']:null,_0xb133ea=_0x2784b8===_0x57b9d7['length']-0x1,_0x49844c=_0x3ce4aa[_0x4d624b][0x0],_0x451b28=_0x5f77e7['isObject'](_0x57b9d7[_0x2784b8]['item']);!_0x492128[_0x4d624b]&&_0x28dbe5?_0x492128[_0x4d624b]={'start':_0x4e73c0,'tapeItem':_0x57b9d7[_0x2784b8],'userId':_0xc5b464,'type':_0x4d624b}:_0x492128[_0x4d624b]&&!_0x28dbe5?(_0x492128[_0x4d624b]['end']=_0x4e73c0,_0xf9a102(_0x492128[_0x4d624b]),_0x492128[_0x4d624b]=null):_0x492128[_0x4d624b]&&_0x28dbe5&&_0x492128[_0x4d624b]['userId']!==_0xc5b464&&(_0x492128[_0x4d624b]['end']=_0x4e73c0,_0x49844c&&_0x49844c['userId']===_0x492128[_0x4d624b]['userId']||_0xf9a102(_0x492128[_0x4d624b]),_0x492128[_0x4d624b]={'start':_0x4e73c0,'tapeItem':_0x57b9d7[_0x2784b8],'userId':_0xc5b464,'type':_0x4d624b}),_0x492128[_0x4d624b]&&_0x451b28&&('elementStart'!==_0x57b9d7[_0x2784b8]['type']||_0x49844c&&_0x49844c['userId']===_0xc5b464||_0x3ce4aa[_0x4d624b]['unshift']({'userId':_0xc5b464,'object':_0x57b9d7[_0x2784b8]['item'],'change':_0x492128[_0x4d624b]}),'elementEnd'===_0x57b9d7[_0x2784b8]['type']&&_0x49844c&&_0x49844c['object']===_0x57b9d7[_0x2784b8]['item']&&(_0x3ce4aa[_0x4d624b]['shift'](),_0x492128[_0x4d624b]=_0x49844c['change'])),_0x492128[_0x4d624b]&&_0xb133ea&&(_0x492128[_0x4d624b]['end']=_0x4dab6d,_0xf9a102(_0x492128[_0x4d624b]),_0x492128[_0x4d624b]=null);}function _0xf9a102({start:_0x29ddeb,end:_0x2dcdf0,tapeItem:_0x2cd579,userId:_0x21e3d7,type:_0x19159f}){const _0xae5a82=_0x2cd579['item'],_0x40765c=_0x801073['schema']['isBlock'](_0xae5a82)&&!_0x801073['schema']['isLimit'](_0xae5a82),_0x20163b=_0x29ddeb['nodeAfter']==_0x2dcdf0['parent']&&_0x2dcdf0['isAtStart'];if(_0x40765c&&_0x20163b)return;const _0x1d97eb=_0x801073['createRange'](_0x29ddeb,_0x2dcdf0),_0x48b7d0=_0x508519['get'](_0x21e3d7),_0x36f4c6=new ChangeItem({'author':_0x48b7d0,'type':'isAdded'==_0x19159f||'isAddSuggestion'==_0x19159f?'add':'remove','data':{'isSuggestion':'isAddSuggestion'==_0x19159f||'isRemoveSuggestion'==_0x19159f},'createdAt':new Date(),'rootName':_0x4fece0});_0x27acb9['push'](_0x36f4c6),_0x32613b['markers']['set']('revision:'+_0x36f4c6['id'],_0x1d97eb);}function _0x1a54b4(_0x3b3f4e,_0x4c8481){const _0x1e70fc=_0x3b3f4e['getAttributes'](),_0x30228f=_0x4c8481['getAttributes']();for(const _0x27c3c6 of _0x1e70fc){if(_0x27c3c6[0x1]!==_0x4c8481['getAttribute'](_0x27c3c6[0x0]))return!0x1;_0x30228f['next']();}return _0x30228f['next']()['done'];}}['_setConversion'](){this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'revision'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision','view':_0x585eab=>{const _0x57f158=_0x585eab['markerName']['split'](':')[0x1],_0x1a780b=this['_getChangeFromId'](_0x57f158);if(!_0x1a780b)return null;const _0x487ddd='add'==_0x1a780b['type']?'insertion':'deletion',_0x31e086=['ck-suggestion-marker','ck-suggestion-marker-'+_0x487ddd];return _0x1a780b['data']['isSuggestion']&&_0x31e086['push']('ck-suggestion-marker-'+_0x487ddd+'-new'),this['activeChange']==_0x1a780b&&_0x31e086['push']('ck-suggestion-marker--active'),{'classes':_0x31e086,'attributes':{'data-change-id':_0x57f158}};}}),this['editor']['conversion']['for']('upcast')['add'](_0x5bf87a=>{_0x5bf87a['on']('element:pre',(_0x15278c,_0x54e84f,_0x48810d)=>{const _0x1df609=_0x54e84f['viewItem']['getChild'](0x0);if(!_0x1df609||!_0x1df609['is']('element','code'))return;if(!_0x48810d['consumable']['consume'](_0x1df609,{'attributes':['vid_start','vid_end']}))return;const _0x3dd6e3=_0x54e84f['modelRange']['start']['nodeAfter'];_0x48810d['writer']['setAttribute']('vid_start',_0x1df609['getAttribute']('vid_start'),_0x3dd6e3),_0x48810d['writer']['setAttribute']('vid_end',_0x1df609['getAttribute']('vid_end'),_0x3dd6e3);},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['add'](_0x140c70=>{_0x140c70['on']('element',(_0x5ca0e8,_0x2ebf7b,_0x493f01)=>{if(!_0x493f01['consumable']['consume'](_0x2ebf7b['viewItem'],{'attributes':['vid_start','vid_end']}))return;if(_0x2ebf7b['modelRange']['isCollapsed'])return;const _0x47e6c0=_0x2ebf7b['modelRange']['start']['nodeAfter'];_0x47e6c0['hasAttribute']('vid_start')||_0x47e6c0['hasAttribute']('vid')||(_0x493f01['writer']['setAttribute']('vid_start',_0x2ebf7b['viewItem']['getAttribute']('vid_start'),_0x47e6c0),_0x493f01['writer']['setAttribute']('vid_end',_0x2ebf7b['viewItem']['getAttribute']('vid_end'),_0x47e6c0));},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['elementToAttribute']({'view':{'name':'span','attributes':{'vid':!0x0}},'model':{'key':'vid','value':_0x43e637=>_0x43e637['getAttribute']('vid')}}),this['editor']['model']['schema']['on']('checkAttribute',(_0x42a339,[,_0x3849e3])=>{['vid_start','vid_end','vid']['includes'](_0x3849e3)&&(_0x42a339['return']=!0x0,_0x42a339['stop']());},{'priority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['add'](_0x207b4c=>{_0x207b4c['on']('attribute:vid',(_0x409d5f,_0x4dda2d,_0x4c174d)=>{if('\x20'!=_0x4dda2d['item']['data']||_0x4dda2d['item']['parent']['maxOffset']>0x1)return;if(!_0x4c174d['consumable']['consume'](_0x4dda2d['item'],_0x409d5f['name']))return;const _0x3a9bbb=_0x4c174d['writer'],_0x1e75a0=_0x4c174d['mapper']['toViewRange'](_0x4dda2d['range']);_0x3a9bbb['wrap'](_0x1e75a0,_0x3a9bbb['createAttributeElement']('span'));});}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',downcastSplitMergeMarker$2(this['editor']),{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('removeMarker:revision',(_0x27a4dc,_0x2d7757,_0x284fff)=>{const _0x3e4be0=_0x284fff['mapper']['markerNameToElements'](_0x2d7757['markerName']);if(_0x3e4be0){for(const _0x1b2061 of _0x3e4be0)(_0x1b2061['hasClass']('ck-suggestion-marker-split')||_0x1b2061['hasClass']('ck-suggestion-marker-merge'))&&(_0x284fff['mapper']['unbindElementFromMarkerName'](_0x1b2061,_0x2d7757['markerName']),_0x284fff['writer']['remove'](_0x1b2061));}},{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',(_0x54a148,_0x24586a,_0x5baf50)=>{const _0x29dde4=_0x24586a['markerName']['split'](':')[0x1],_0xe0efb8=this['_getChangeFromId'](_0x29dde4);if(!_0xe0efb8)return null;const _0x17114f='add'==_0xe0efb8['type']?'split':'merge';if(_0x5baf50['consumable']['test'](_0x24586a['markerRange'],_0x54a148['name']))for(const _0x98ede4 of _0x24586a['markerRange']['getItems']()){if(!_0x98ede4['is']('element','softBreak'))continue;const _0x1d9760=_0x5baf50['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x17114f}),_0x46d2ec=_0x5baf50['mapper']['toViewPosition'](this['editor']['model']['createPositionBefore'](_0x98ede4));_0xe0efb8['data']['isSuggestion']&&_0x5baf50['writer']['addClass']('ck-suggestion-marker-'+_0x17114f+'-new',_0x1d9760),this['activeChange']==_0xe0efb8&&_0x5baf50['writer']['addClass']('ck-suggestion-marker--active',_0x1d9760),_0x5baf50['writer']['insert'](_0x46d2ec,_0x1d9760),_0x5baf50['mapper']['bindElementToMarker'](_0x1d9760,_0x24586a['markerName']);}},{'priority':'high'}),this['editor']['model']['document']['on']('change',()=>{this['editor']['editing']['view']['change'](_0x20c2f1=>{for(const _0x28a825 of this['editor']['model']['document']['getRootNames']()){const _0x22f748=this['editor']['model']['document']['getRoot'](_0x28a825),_0x17034b=this['editor']['editing']['view']['document']['getRoot'](_0x28a825);if(_0x17034b){const _0x35f69b=_0x22f748['getAttribute']('revisionHistoryAttachChange');if(_0x20c2f1['removeAttribute']('data-change-id',_0x17034b),_0x20c2f1['removeClass']('ck-revision-history-root-add',_0x17034b),_0x20c2f1['removeClass']('ck-revision-history-root-remove',_0x17034b),_0x20c2f1['removeClass']('ck-revision-history-root--active',_0x17034b),_0x35f69b){const _0x4a071a=this['_getChangeFromId'](_0x35f69b);if(!_0x4a071a)return null;_0x20c2f1['setAttribute']('data-change-id',_0x35f69b,_0x17034b),_0x20c2f1['addClass']('ck-revision-history-root-'+_0x4a071a['type'],_0x17034b),this['activeChange']==_0x4a071a&&_0x20c2f1['addClass']('ck-revision-history-root--active',_0x17034b);}}}});}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'comment','model':_0x38264e=>'revision-comment:'+_0x38264e,'converterPriority':'highest'}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'suggestion','model':_0x16c5b1=>'revision-suggestion:'+_0x16c5b1,'converterPriority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision-suggestion','view':_0x56fa68=>({'name':'suggestion:'+_0x56fa68,'group':'revision-suggestion'}),'converterPriority':'highest'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision-suggestion','view':_0x4572c5=>{const _0x3f3a12=_0x4572c5['markerName']['split'](':')[0x1];return'insertion'!=_0x3f3a12&&'deletion'!=_0x3f3a12?null:{'classes':['ck-suggestion-preview-marker','ck-suggestion-preview-marker-'+_0x3f3a12]};}}),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',(_0x40b86d,_0x1600e9,_0x1a092b)=>{const _0x423d77=_0x1a092b['mapper']['markerNameToElements'](_0x1600e9['markerName']);if(_0x423d77){for(const _0x4feb64 of _0x423d77)_0x4feb64['is']('uiElement')&&(_0x1a092b['mapper']['unbindElementFromMarkerName'](_0x4feb64,_0x1600e9['markerName']),_0x1a092b['writer']['remove'](_0x4feb64));}},{'priority':'high'});}['_getChangeFromId'](_0x5abe25){return this['_changeIdToChange']['get'](_0x5abe25);}['_getViewForChange'](_0x483b5f){return this['_changeView']&&this['_changeView']['destroy'](),this['_changeView']=new ChangeDetailsView(this['editor']['locale'],_0x483b5f),this['_changeView'];}['_initInteractions'](){this['editor']['model']['document']['selection']['observeMarkers']('revision'),this['on']('change:activeView',(_0x2ebfde,_0x41f709,_0x14bc38,_0x5f029c)=>{_0x5f029c&&this['_balloon']['remove'](_0x5f029c),_0x14bc38&&(this['_balloon']['add']({'view':_0x14bc38,'stackId':'revisionHistoryLabel','position':{'target':()=>{const _0xf9564d=this['editor']['editing'],_0x556849=this['_getChangeFromId'](_0x14bc38['changeId']);let _0x49154b;if(_0x556849['data']['isOnRoot']){const _0x47e378=_0xf9564d['view']['getDomRoot'](_0x556849['rootName']);_0x49154b=Array['from'](_0x47e378['getClientRects']());}else{const _0x34c110=this['editor']['model']['markers']['get']('revision:'+_0x14bc38['changeId']);_0x49154b=Array['from'](_0xf9564d['mapper']['markerNameToElements'](_0x34c110['name']))['map'](_0x5a386d=>_0xf9564d['view']['domConverter']['mapViewToDom'](_0x5a386d))['map'](_0x34849f=>Array['from'](_0x34849f['getClientRects']()))['flat']();}if(!this['_activeViewTarget'])return _0x49154b[0x0];return _0x49154b['find'](_0x59886f=>_0x59886f['top']-0x3<=this['_activeViewTarget']['y']&&_0x59886f['bottom']+0x3>=this['_activeViewTarget']['y']&&_0x59886f['left']-0x3<=this['_activeViewTarget']['x']&&_0x59886f['right']+0x3>=this['_activeViewTarget']['x'])||_0x49154b[0x0];}}}),this['_balloon']['showStack']('revisionHistoryLabel'));}),this['on']('change:activeChange',(_0xabc86d,_0x32d9a0,_0x1d3b6a,_0x508eaa)=>{this['activeView']=_0x1d3b6a?this['_getViewForChange'](_0x1d3b6a):null,this['editor']['model']['change'](()=>{const _0x3aca20=this['editor']['editing'];_0x508eaa&&(_0x508eaa['data']['isOnRoot']?_0x3aca20['view']['change'](_0x4ae830=>{_0x4ae830['removeClass']('ck-revision-history-root--active',_0x3aca20['view']['document']['getRoot'](_0x508eaa['rootName']));}):_0x3aca20['reconvertMarker']('revision:'+_0x508eaa['id'])),_0x1d3b6a&&(_0x1d3b6a['data']['isOnRoot']?_0x3aca20['view']['change'](_0x5011a5=>{_0x5011a5['addClass']('ck-revision-history-root--active',_0x3aca20['view']['document']['getRoot'](_0x1d3b6a['rootName']));}):_0x3aca20['reconvertMarker']('revision:'+_0x1d3b6a['id']));});}),this['listenTo'](this['editor']['editing']['view']['document'],'mouseover',(_0xa4fdf1,_0x1c9ad7)=>{if(this['activeChange'])return;const _0x13329f=this['_findChangeIdFromDomTarget'](_0x1c9ad7['target']),_0x1e400b=this['_changeIdToChange']['get'](_0x13329f);_0x1e400b?(this['_activeViewTarget']={'x':_0x1c9ad7['domEvent']['x'],'y':_0x1c9ad7['domEvent']['y']},this['activeView']=this['_getViewForChange'](_0x1e400b)):(this['_activeViewTarget']=null,this['activeView']=null);}),this['listenTo'](this['editor']['editing']['view']['document'],'mousedown',(_0x1621de,_0x3a6753)=>{const _0x81cf0e=this['_findChangeIdFromDomTarget'](_0x3a6753['target']),_0x29c14f=this['_changeIdToChange']['get'](_0x81cf0e);_0x29c14f?(this['_activeViewTarget']={'x':_0x3a6753['domEvent']['x'],'y':_0x3a6753['domEvent']['y']},_0x29c14f===this['activeChange']?this['_balloon']['updatePosition']():this['activeChange']=_0x29c14f):(this['_activeViewTarget']=null,this['activeChange']=null);});}['_findChangeIdFromDomTarget'](_0x3d16fb){do{const _0x377786=_0x3d16fb['getAttribute']('data-change-id');if(_0x377786)return _0x377786;_0x3d16fb=_0x3d16fb['parent'];}while(_0x3d16fb);return null;}['_cleanMarkers'](){this['editor']['model']['change'](_0x396602=>{for(const _0x11b367 of this['editor']['model']['markers'])_0x396602['removeMarker'](_0x11b367);});}}function downcastSplitMergeMarker$2(_0x2ee140){const _0x3e08e8=_0x2ee140['plugins']['get']('RevisionViewer');return(_0x361c8e,_0x2a1444,_0x15beda)=>{const _0x4488f8=_0x2a1444['markerName']['split'](':')[0x1],_0x9b0fc4=_0x3e08e8['_getChangeFromId'](_0x4488f8);if(!_0x9b0fc4)return null;const _0x1be1e0='add'==_0x9b0fc4['type']?'split':'merge';if(!_0x15beda['consumable']['test'](_0x2a1444['markerRange'],_0x361c8e['name']))return;const _0x24c593=_0x2a1444['markerRange']['getWalker'](),_0x58e2b4=_0x2a1444['markerRange']['start'],_0x19f7cf=_0x2ee140['model']['schema'];let _0xa372b9=null,_0x48ef8e=null,_0x4a59d2=!0x1,_0xcb0f16=!0x1;for(const _0x58dfd0 of _0x24c593){const _0x7fb15f=_0x58dfd0['item'];_0x4a59d2=_0x4a59d2||_0x19f7cf['isContent'](_0x7fb15f);const _0x37a0dd=_0x15beda['mapper']['toViewElement'](_0x7fb15f);if(_0x37a0dd&&_0x37a0dd['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x58dfd0['type']&&(_0x19f7cf['isBlock'](_0x7fb15f)&&!_0x19f7cf['isLimit'](_0x7fb15f)&&(_0x7fb15f['nextSibling']||_0x58e2b4['isAtEnd']?_0xa372b9&&_0xa372b9['parent']==_0x7fb15f||(_0xa372b9=_0x7fb15f,_0x27eedd(_0x58dfd0['previousPosition']),_0xcb0f16=!0x0):_0x48ef8e=_0x48ef8e||_0x58dfd0['previousPosition']));}function _0x27eedd(_0xc8968){const _0x123593=_0x15beda['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x1be1e0}),_0x2bf2d5=_0x15beda['mapper']['toViewPosition'](_0xc8968);_0x9b0fc4['data']['isSuggestion']&&_0x15beda['writer']['addClass']('ck-suggestion-marker-'+_0x1be1e0+'-new',_0x123593),_0x3e08e8['activeChange']==_0x9b0fc4&&_0x15beda['writer']['addClass']('ck-suggestion-marker--active',_0x123593),_0x15beda['writer']['insert'](_0x2bf2d5,_0x123593),_0x15beda['mapper']['bindElementToMarker'](_0x123593,_0x2a1444['markerName']);}_0x4a59d2||_0xcb0f16||!_0x48ef8e||_0x27eedd(_0x48ef8e);};}function downcastSplitMergeMarkerSuggestion(_0x4ddd25,_0x427e1a){return(_0x198cf4,_0x187ee0,_0x54d335)=>{if(!_0x54d335['consumable']['test'](_0x187ee0['markerRange'],_0x198cf4['name']))return;const _0x1a6da5=_0x187ee0['markerRange']['getWalker'](),_0x1ddab1=_0x187ee0['markerRange']['start'],_0x425bf9=_0x4ddd25['model']['schema'];let _0x5c7cc2=null,_0x36b8fc=null,_0x8df61b=!0x1,_0x314b8a=!0x1;for(const _0x1fd4e6 of _0x1a6da5){const _0x4736ef=_0x1fd4e6['item'];_0x8df61b=_0x8df61b||_0x425bf9['isContent'](_0x4736ef);const _0x56db9a=_0x54d335['mapper']['toViewElement'](_0x4736ef);if(_0x56db9a&&_0x56db9a['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x1fd4e6['type']&&(_0x425bf9['isBlock'](_0x4736ef)&&!_0x425bf9['isLimit'](_0x4736ef)&&(_0x4736ef['nextSibling']||_0x1ddab1['isAtEnd']?_0x5c7cc2&&_0x5c7cc2['parent']==_0x4736ef||(_0x5c7cc2=_0x4736ef,_0x2d313e(_0x1fd4e6['previousPosition']),_0x314b8a=!0x0):_0x36b8fc=_0x36b8fc||_0x1fd4e6['previousPosition']));}function _0x2d313e(_0x47d196){const _0x25a1c3=_0x54d335['mapper']['toViewPosition'](_0x47d196),_0xfc8a98=_0x54d335['writer']['createUIElement']('span',{'class':'ck-suggestion-preview-marker-'+_0x427e1a});_0x54d335['writer']['insert'](_0x25a1c3,_0xfc8a98),_0x54d335['mapper']['bindElementToMarker'](_0xfc8a98,_0x187ee0['markerName']);}_0x8df61b||_0x314b8a||!_0x36b8fc||_0x2d313e(_0x36b8fc);};}class RestoreRevisionCommand extends ckeditor5['Command']{constructor(_0xa94081){super(_0xa94081);const _0x251c2e=_0xa94081['plugins']['get'](_0x301cfe);this['affectsData']=!0x1,this['listenTo'](_0x251c2e,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x251c2e,'change:isEnabled',()=>this['refresh']());}['execute'](){const _0x5ca7a0=this['editor'],_0x11ab32=_0x5ca7a0['plugins']['get'](_0x301cfe),_0x41c514=_0x11ab32['isReady']?_0x11ab32['diff']['newRevisionId']:null;_0x5ca7a0['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x41c514);}['refresh'](){const {isReady:_0x14f7e1,isEnabled:_0xd2f5d2,repository:_0x35cafa,diff:_0x5c4077}=this['editor']['plugins']['get'](_0x301cfe),_0x126050=_0x5c4077&&_0x35cafa['getLaterVisibleRevision'](_0x5c4077['newRevisionId']);this['isEnabled']=_0x14f7e1&&_0xd2f5d2&&Boolean(_0x126050);}}class _0x5b3b3f extends ckeditor5['Command']{['_step'];constructor(_0x298353,{direction:_0x1a5cd2}){super(_0x298353);const _0x5495d9=_0x298353['plugins']['get'](_0x301cfe);this['affectsData']=!0x1,this['_step']='forward'===_0x1a5cd2?0x1:-0x1,this['listenTo'](_0x5495d9,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x5495d9,'change:isEnabled',()=>this['refresh']()),this['listenTo'](_0x5495d9,'change:activeChange',()=>this['refresh']());}['execute'](){const _0x1c139d=this['editor'],_0x33e04d=_0x1c139d['plugins']['get'](_0x301cfe),{isNavigationMode:_0x18b0e1,currentChangeNumber:_0xc76ef2}=_0x33e04d;let _0x2022e7;if(_0x33e04d['activeChange']=_0x18b0e1?_0x33e04d['diff']['changes']['get'](_0xc76ef2+this['_step']):_0x33e04d['diff']['changes']['first'],_0x33e04d['activeChange']['data']['isOnRoot'])_0x2022e7=_0x1c139d['editing']['view']['getDomRoot'](_0x33e04d['activeChange']['rootName']);else{const _0x304541=_0x1c139d['model']['markers']['get']('revision:'+_0x33e04d['activeChange']['id']);_0x2022e7=getMarkerDomElement(_0x1c139d['editing'],_0x304541);}ckeditor5['scrollViewportToShowTarget']({'target':_0x2022e7,'viewportOffset':0x28});}['refresh'](){const {isNavigationMode:_0x580daa,currentChangeNumber:_0x3681e9,numberOfChanges:_0x1a9042,isReady:_0x4d610b,isEnabled:_0x4d3dd3}=this['editor']['plugins']['get'](_0x301cfe);this['isEnabled']=!!(_0x4d3dd3&&_0x4d610b&&_0x1a9042)&&(!_0x580daa||(0x1===this['_step']?_0x3681e9<_0x1a9042-0x1:_0x3681e9>0x0));}}class ChangesNavigationView extends ckeditor5['View']{constructor(_0x59bc19){super(_0x59bc19);const _0x35edc7=this['bindTemplate'],_0x43df7a=new ckeditor5['ButtonView'](_0x59bc19),_0x113e8c=new ckeditor5['ButtonView'](_0x59bc19);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',(_0x1204d3,_0x47c67d)=>_0x1204d3&&_0x47c67d>0x0),this['bind']('_statusText')['to'](this,'isReady',this,'currentChangeNumber',this,'numberOfChanges',this,'isNavigationMode',(_0x11a9a0,_0x3da4c9,_0x8a24d6,_0x50cb05)=>{if(!_0x11a9a0)return getTranslation$5(_0x59bc19,'Loading...');if(!_0x8a24d6)return getTranslation$5(_0x59bc19,'No\x20changes');const _0x5708cc=getTranslation$5(_0x59bc19,'NUMBER_OF_CHANGES',_0x8a24d6);return _0x50cb05?getTranslation$5(_0x59bc19,'X_OF_Y_CHANGES',[_0x3da4c9+0x1,_0x8a24d6]):_0x5708cc;}),_0x43df7a['set']({'label':getTranslation$5(_0x59bc19,'Show\x20previous\x20change'),'tooltip':!0x0,'icon':ckeditor5['IconChevronUp']}),_0x113e8c['set']({'label':getTranslation$5(_0x59bc19,'Show\x20next\x20change'),'tooltip':!0x0,'icon':ckeditor5['IconChevronDown']}),_0x43df7a['bind']('isEnabled')['to'](this,'isBackwardNavigationEnabled'),_0x113e8c['bind']('isEnabled')['to'](this,'isForwardNavigationEnabled'),_0x43df7a['on']('execute',()=>this['fire']('execute','backward')),_0x113e8c['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',_0x35edc7['if']('_isStatusLabelVisible','ck-hidden',_0x29c903=>!_0x29c903)]},'children':[{'text':_0x35edc7['to']('isNavigationMode',_0x3983e4=>_0x3983e4?getTranslation$5(_0x59bc19,'EDIT_X_OF_Y_REVISIONS')+':\x20':getTranslation$5(_0x59bc19,'Total')+':\x20')}]},{'text':_0x35edc7['to']('_statusText')}]},new ckeditor5['ToolbarSeparatorView'](),{'tag':'div','attributes':{'class':['ck-revision-history-ui__changes-navigation__navigation']},'children':[_0x43df7a,_0x113e8c]}]});}}const _0xd2d7e4='ck-editor__editable__loading-overlay';class _0x55a6e4 extends ckeditor5['Plugin']{static get['pluginName'](){return'RevisionViewerLoadingOverlay';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['show'](){const _0x213d8f=this['editor']['editing']['view'];_0x213d8f['change'](_0x306de4=>{for(const _0x4f1d98 of _0x213d8f['document']['roots'])_0x306de4['addClass'](_0xd2d7e4,_0x4f1d98);});}['hide'](){const _0x1343ab=this['editor']['editing']['view'];_0x1343ab['change'](_0x2bf6c6=>{for(const _0x33cd6c of _0x1343ab['document']['roots'])_0x2bf6c6['removeClass'](_0xd2d7e4,_0x33cd6c);});}}class _0x5c2209 extends ckeditor5['Plugin']{static get['pluginName'](){return'RevisionViewerUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x301cfe,_0x55a6e4];}['init'](){const _0xcaeea9=this['editor'],_0x4e43ad=_0xcaeea9['plugins']['get'](_0x301cfe),_0xa61208=_0xcaeea9['plugins']['get'](_0x55a6e4);_0xcaeea9['ui']['componentFactory']['add']('exitToEditing',_0x23034c=>{const _0x5d1d8c=new ckeditor5['ButtonView'](_0x23034c);return _0x5d1d8c['set']({'label':getTranslation$5(_0x23034c,'Back\x20to\x20editing'),'icon':ckeditor5['IconUndo'],'withText':!0x0,'tooltip':!0x0,'class':'ck-revision-history-ui__back-to-editing'}),this['listenTo'](_0x5d1d8c,'execute',()=>{_0xcaeea9['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}),_0x5d1d8c;}),_0xcaeea9['ui']['componentFactory']['add']('restoreRevision',_0x2ee690=>{const _0x3eec73=new ckeditor5['ButtonView'](_0x2ee690);return _0x3eec73['set']({'label':getTranslation$5(_0x2ee690,'Restore\x20this\x20revision'),'withText':!0x0,'tooltip':!0x0}),_0x3eec73['bind']('isEnabled')['to'](_0xcaeea9['commands']['get']('restoreRevision')),this['listenTo'](_0x3eec73,'execute',()=>_0xcaeea9['execute']('restoreRevision')),_0x3eec73;}),_0xcaeea9['ui']['componentFactory']['add']('changesNavigation',_0x596926=>{const _0x411d67=new ChangesNavigationView(_0x596926),_0x5f1868=_0xcaeea9['commands']['get']('showPreviousChange'),_0x33a1e1=_0xcaeea9['commands']['get']('showNextChange');return _0x411d67['bind']('isBackwardNavigationEnabled')['to'](_0x5f1868,'isEnabled'),_0x411d67['bind']('isForwardNavigationEnabled')['to'](_0x33a1e1,'isEnabled'),_0x411d67['bind']('isReady','currentChangeNumber','numberOfChanges','isNavigationMode')['to'](_0x4e43ad),this['listenTo'](_0x411d67,'execute',(_0x36c8a9,_0x24ed89)=>{_0xcaeea9['execute']('forward'===_0x24ed89?'showNextChange':'showPreviousChange');}),_0x411d67;}),_0xa61208['show'](),_0x4e43ad['on']('change:isReady',(_0x5ec56b,_0x29673a,_0x400ecf)=>{_0x400ecf?_0xa61208['hide']():_0xa61208['show']();});}}class _0x49df58 extends ckeditor5['LabeledFieldView']{['_resizeObserver']=null;constructor(_0x48405f,_0x4693ee){super(_0x48405f,_0x4693ee);const _0x541c5f=this['bindTemplate'];this['set']({'label':getTranslation$5(_0x48405f,'Revision\x20name'),'_tooltipString':''}),this['fieldView']['placeholder']=getTranslation$5(_0x48405f,'Enter\x20the\x20revision\x20name'),this['extendTemplate']({'tag':'span','attributes':{'class':['ck-revision-history-sidebar__revision-name'],'data-cke-tooltip-text':_0x541c5f['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 _0x2ec2ac=this['fieldView']['element'];this['_tooltipString']=_0x2ec2ac['scrollWidth']>_0x2ec2ac['clientWidth']&&_0x2ec2ac['value']||'';}}class RevisionAuthorView extends ckeditor5['View']{constructor(_0x8a0a03,_0x3d43ac,_0x3e8aee){super(_0x8a0a03);const _0x18b109=new ckeditor5['IconView']();_0x18b109['set']({'content':ckeditor5['IconUser'],'viewBox':'0\x200\x2011\x2010'});const _0x5c728e=['ck','ck-revision-history-sidebar__revision-author'];_0x3e8aee&&_0x5c728e['push']('ck-revision-history-sidebar__revision-author_creator');const _0x17f791=[{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__revision-author__name'],'title':getTranslation$5(_0x8a0a03,_0x3e8aee?'Revision\x20creator':'Revision\x20author')},'children':[_0x18b109,_0x3d43ac['name']]}];this['setTemplate']({'tag':'li','attributes':{'class':_0x5c728e},'children':_0x17f791});}}function dateToPrettyFormat(_0x376850,_0x5be5e0){return _0x5be5e0['toLocaleDateString'](_0x376850,{'month':'long','day':'numeric'})+',\x20'+_0x5be5e0['toLocaleTimeString'](_0x376850,{'hour':'numeric','minute':'numeric'});}function createActionsDropdownView(_0x5f2475,_0x74b945){const _0x100f16=_0x5f2475['bindTemplate'],_0xcb5018=_0x5f2475['locale'],_0x582764=ckeditor5['createDropdown'](_0xcb5018);_0x582764['panelPosition']='sw';const _0x37d39e=_createDropdownOptions(_0x5f2475,_0x74b945);return _0x5f2475['bind']('isActionsDropdownOpen')['to'](_0x582764,'isOpen'),_0x582764['buttonView']['set']({'label':getTranslation$5(_0xcb5018,'Show\x20more\x20items'),'tooltip':!0x0,'tooltipPosition':'sw','icon':ckeditor5['IconThreeVerticalDots']}),_0x582764['extendTemplate']({'attributes':{'class':['ck-revision-history-sidebar__revision__actions',_0x100f16['if']('isActionsDropdownOpen','ck-on')]},'on':{'click':_0x100f16['to'](_0x52a0c5=>_0x52a0c5['stopPropagation']())}}),_0x582764['on']('execute',_0x7fc141=>{_0x5f2475['isReady']&&'function'==typeof _0x7fc141['source']['_action']&&_0x7fc141['source']['_action'](_0x5f2475);}),ckeditor5['addListToDropdown'](_0x582764,_0x37d39e,{'role':'menu'}),_0x582764['listenTo'](_0x5f2475,'change:isActionsDropdownOpen',(_0x202bdd,_0x149fa1,_0x57055)=>{if(_0x57055)for(const _0x4ee68b of _0x582764['listView']['items']){const _0x1caee3=_0x4ee68b['children']['first'],_0x5ccf33=_0x74b945['find'](_0x294e36=>_0x294e36['action']===_0x1caee3['_action'])['isVisible'];_0x4ee68b['isVisible']=void 0x0===_0x5ccf33||_0x5ccf33(_0x5f2475);}}),_0x582764;}function _createDropdownOptions(_0x404bf1,_0xa2a622){const _0x1195c5=_getLocalizedOptions(_0x404bf1,_0xa2a622),_0x13c588=new ckeditor5['Collection']();for(const _0x113cb1 of _0x1195c5){const _0x4c4a05={'type':'button','model':new ckeditor5['UIModel']({'label':_0x113cb1['name'],'class':_0x113cb1['class'],'withText':!0x0,'role':'menuitem','_action':_0x113cb1['action']})};_0x4c4a05['model']['bind']('isEnabled')['to'](_0x404bf1,'isActionsDropdownOpen',_0x3512bf=>'function'!=typeof _0x113cb1['isEnabled']||(!_0x3512bf||_0x113cb1['isEnabled'](_0x404bf1))),_0x13c588['add'](_0x4c4a05);}return _0x13c588;}function _getLocalizedOptions(_0xa48196,_0x203c4e){const _0x2daa73=_0xa48196['locale'],_0x477798={'Compare\x20against\x20selected':getTranslation$5(_0x2daa73,'Compare\x20against\x20selected'),'Name\x20this\x20revision':getTranslation$5(_0x2daa73,'Name\x20this\x20revision'),'Restore\x20this\x20revision':getTranslation$5(_0x2daa73,'Restore\x20this\x20revision')};return _0x203c4e['map'](_0x41a3e0=>{const _0x307b3c=_0x477798[_0x41a3e0['name']];return _0x307b3c&&_0x307b3c!==_0x41a3e0['name']&&(_0x41a3e0['name']=_0x307b3c),_0x41a3e0;});}class _0x7ac88c extends/* #__PURE__ -- @preserve */
_0x4497bd(ckeditor5['View']){['id'];['revisionNameView'];['revisionActionsView'];['_revision'];['_requireRevisionName'];constructor(_0x4188e2,_0x5e7f29,_0x412764,_0x44f65f){super(_0x4188e2);const _0x2a8d4e=this['bindTemplate'],_0x2672be=getAuthorViews(_0x4188e2,_0x5e7f29);this['id']=_0x5e7f29['id'],this['_revision']=_0x5e7f29,this['_requireRevisionName']=_0x44f65f,this['bind']('name','createdAt')['to'](_0x5e7f29),this['bind']('_createdAtFormatted')['to'](this,'createdAt',_0x1dbb9e=>dateToPrettyFormat(_0x4188e2['uiLanguage'],_0x1dbb9e)),this['set']('isSelected',!0x1),this['set']('isHighlighted',!0x1),this['set']('isActionsDropdownOpen',!0x1),this['set']('isReady',!0x1),this['set']('isEnabled',!0x1),this['revisionNameView']=new _0x49df58(_0x4188e2,ckeditor5['createLabeledInputText']),this['revisionNameView']['fieldView']['extendTemplate']({'attributes':{'maxlength':'220'}}),this['revisionNameView']['fieldView']['bind']('value')['to'](this,'name',_0x2483ce=>_0x2483ce||this['_createdAtFormatted']),this['revisionNameView']['bind']('isEnabled')['to'](this,'isSelected',this,'isEnabled',(_0x2ff73f,_0xab3df2)=>_0x2ff73f&&_0xab3df2),this['revisionActionsView']=_0x412764&&_0x412764['length']?createActionsDropdownView(this,_0x412764):'',this['revisionActionsView']&&this['revisionActionsView']['bind']('isEnabled')['to'](this),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision-wrapper',_0x2a8d4e['if']('isConfirm','ck-revision-history-sidebar__revision-wrapper_confirmation_visible')]},'children':[{'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision',_0x2a8d4e['if']('isEnabled','ck-disabled',_0x26534f=>!_0x26534f),_0x2a8d4e['if']('isSelected','ck-revision-history-sidebar__revision_selected'),_0x2a8d4e['if']('isHighlighted','ck-revision-history-sidebar__revision_highlighted'),_0x2a8d4e['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':_0x2a8d4e['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':_0x2672be}]},this['revisionActionsView']],'on':{'click':_0x2a8d4e['to'](_0x5b7d53=>{_0x5b7d53['srcElement']['closest']('.ck-confirm-view')||this['isReady']&&this['isEnabled']&&this['fire']('select',{'id':this['id']});})}}]});}['render'](){super['render']();const _0x5646af=this['revisionNameView']['fieldView']['element'];this['listenTo'](_0x5646af,'change',()=>{this['_requireRevisionName']&&!_0x5646af['value']||this['fire']('setName',{'id':this['id'],'name':_0x5646af['value']}),_0x5646af['value']||(_0x5646af['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(_0x44434b,_0x1a80f8){const _0x3a4946=Array['from'](_0x1a80f8['authors'])['filter'](_0x43bf17=>_0x43bf17!=_0x1a80f8['creator']);return _0x1a80f8['creator']&&_0x3a4946['unshift'](_0x1a80f8['creator']),_0x3a4946['map'](_0x4b82c5=>new RevisionAuthorView(_0x44434b,_0x4b82c5,_0x4b82c5==_0x1a80f8['creator']));}function getDateTimePeriodInfo(_0x1bf7e9,_0x404acc){const _0x75fe2b=DateTime['fromJSDate'](_0x1bf7e9)['setLocale'](_0x404acc),_0x5dc2d1=DateTime['local'](),_0x2de702=_0x5dc2d1['minus']({'days':0x1})['startOf']('day');let _0x33ff93,_0x24f507;return _0x75fe2b['hasSame'](_0x5dc2d1,'day')?(_0x33ff93=_0x75fe2b['startOf']('day')['toJSDate'](),_0x24f507=_0x75fe2b['toRelativeCalendar']()):_0x75fe2b['hasSame'](_0x2de702,'day')?(_0x33ff93=_0x2de702['toJSDate'](),_0x24f507=_0x75fe2b['toRelativeCalendar']()):_0x75fe2b['hasSame'](_0x5dc2d1,'week')?(_0x33ff93=_0x75fe2b['startOf']('week')['toJSDate'](),_0x24f507=_0x75fe2b['weekdayLong']||''):_0x75fe2b['hasSame'](_0x5dc2d1,'year')?(_0x33ff93=_0x75fe2b['startOf']('month')['toJSDate'](),_0x24f507=_0x75fe2b['monthLong']||''):(_0x33ff93=_0x75fe2b['startOf']('year')['toJSDate'](),_0x24f507=String(_0x75fe2b['year'])),{'startDate':_0x33ff93,'localizedPeriodName':_0x24f507};}class _0x35e638 extends ckeditor5['View']{['startDate'];['revisionViews'];['_revisionActions'];['_requireRevisionName'];constructor(_0x46e279,_0xed5659,_0x541c04,_0x4b132c){super(_0x46e279);const _0x2e647f=getDateTimePeriodInfo(_0xed5659,this['locale']['uiLanguage'])['localizedPeriodName'];this['startDate']=_0xed5659,this['revisionViews']=this['createCollection'](),this['_revisionActions']=_0x541c04,this['_requireRevisionName']=_0x4b132c,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':_0x2e647f}]},{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__time-period__revisions']},'children':this['revisionViews']}]});}['addRevision'](_0x248e18){const _0x22f765=new _0x7ac88c(this['locale'],_0x248e18,this['_revisionActions'],this['_requireRevisionName']);this['revisionViews']['add'](_0x22f765);}['removeRevision'](_0x496d27){const _0x46a68e=this['revisionViews']['find'](_0x17a319=>_0x17a319['id']===_0x496d27['id']);this['revisionViews']['remove'](_0x46a68e);}}class _0x2d487c extends ckeditor5['View']{constructor(_0x434029){super(_0x434029);const _0x4e6be0=new ckeditor5['IconView']();_0x4e6be0['content']=ckeditor5['IconHistory'],this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all','ck-revision-history-sidebar__header']},'children':[_0x4e6be0,{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__header__label']},'children':[getTranslation$5(_0x434029,'Revision\x20history')]}]});}}class _0x12ce17 extends ckeditor5['View']{['timePeriodViews'];['_revisions'];['_revisionActions'];['_requireRevisionName'];constructor(_0x259ec3,_0x37f4d6,_0x3c58a2,_0x4ec092){super(_0x259ec3);const _0x3cb2d6=this['bindTemplate'];this['timePeriodViews']=this['createCollection'](),this['timePeriodViews']['delegate']('select')['to'](this),this['timePeriodViews']['delegate']('setName')['to'](this),this['_revisions']=_0x37f4d6,this['_revisionActions']=_0x3c58a2,this['_requireRevisionName']=_0x4ec092,this['on']('select',(_0x6b05b4,_0x55357f)=>{this['fire']('revisionSelected',_0x55357f);}),this['on']('setName',(_0x29ebe7,_0x147f04)=>{this['fire']('revisionSetName',_0x147f04);}),this['set']('isEnabled',!0x1),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-rounded-corners','ck-revision-history-sidebar']},'children':[new _0x2d487c(_0x259ec3),{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__timeline',_0x3cb2d6['if']('isEnabled','ck-disabled',_0x2c3203=>!_0x2c3203)]},'children':this['timePeriodViews']}]});}['render'](){super['render']();for(const _0x339c48 of this['_revisions'])this['_addRevision'](_0x339c48);this['_revisions']['on']('add',(_0x591122,_0x2dfb89)=>{this['_addRevision'](_0x2dfb89);}),this['_revisions']['on']('remove',(_0x4bb98d,_0x15473b)=>{this['_removeRevision'](_0x15473b);});}get['revisionViews'](){return this['timePeriodViews']['map'](_0xb44d28=>_0xb44d28['revisionViews']['map'](_0x1facdb=>_0x1facdb))['flat']();}['selectRevision'](_0x3d69ce){for(const _0x3a6c40 of this['revisionViews'])_0x3d69ce&&_0x3d69ce['id']===_0x3a6c40['id']?_0x3a6c40['select']():_0x3a6c40['deselect']();}['highlightRevisions'](_0x5099d6){for(const _0x2a79a2 of this['revisionViews'])_0x5099d6['some'](({id:_0x40a856})=>_0x40a856===_0x2a79a2['id'])?_0x2a79a2['highlight']():_0x2a79a2['unhighlight']();}['_addRevision'](_0x11eb71){const _0x3c1b12=getDateTimePeriodInfo(_0x11eb71['createdAt'],this['locale']['uiLanguage'])['startDate'];let _0x540858=this['timePeriodViews']['get'](0x0);_0x540858&&_0x540858['startDate']['getTime']()===_0x3c1b12['getTime']()||(_0x540858=new _0x35e638(this['locale'],_0x3c1b12,this['_revisionActions'],this['_requireRevisionName']),this['timePeriodViews']['add'](_0x540858)),_0x540858['addRevision'](_0x11eb71);}['_removeRevision'](_0x525347){const _0x366364=getDateTimePeriodInfo(_0x525347['createdAt'],this['locale']['uiLanguage'])['startDate'];this['_getTimePeriodViewByStartDate'](_0x366364)['removeRevision'](_0x525347);}['_getTimePeriodViewByStartDate'](_0xff10ce){return this['timePeriodViews']['find'](_0x1af547=>_0x1af547['startDate']['getTime']()===_0xff10ce['getTime']());}}class _0x41ef16 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[_0x301cfe];}constructor(_0x106982){super(_0x106982),this['_revisionViewer']=_0x106982['plugins']['get'](_0x301cfe),this['_revisionsRepository']=this['_revisionViewer']['repository'],this['_sidebarView']=null;}['init'](){const _0x25ed80=this['_revisionsRepository']['_revisions'],_0x1a1ec8=this['_createRevisionActions'](),_0x4e5357=this['editor']['config']['get']('revisionHistory.viewerSidebarContainer');this['_sidebarView']=new _0x12ce17(this['editor']['locale'],_0x25ed80,_0x1a1ec8,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',(_0x926e43,_0x52a5e2)=>{_0x52a5e2['revisionViews']['on']('add',(_0x2b17ed,_0x5c5c09)=>{_0x5c5c09['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)),_0x4e5357['appendChild'](this['_sidebarView']['element']);}['destroy'](){this['_sidebarView']['element']['remove'](),this['_sidebarView']['destroy']();}['_handleEditorDataReady'](){const _0x40e52f=this['_revisionsRepository']['getRevision'](0x0);if(_0x40e52f){const _0x2f2e01=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x40e52f['id']);this['_revisionViewer']['compare'](_0x40e52f,_0x2f2e01);}}['_handleRevisionSelected'](_0x1c3c21,_0x166b8e){const _0x540cc4=this['_revisionsRepository']['getRevision'](_0x166b8e['id']),_0x283dce=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x540cc4['id']);this['_revisionViewer']['compare'](_0x540cc4,_0x283dce);}['_handleRevisionSetName'](_0x5c2851,_0x2a4843){this['_revisionsRepository']['getRevision'](_0x2a4843['id'])['setName'](_0x2a4843['name']);}['_handleDiffChange'](_0x377065,_0x59fab9,_0x51530c){const _0x12495e=this['_revisionsRepository']['getRevisionsInDiff'](_0x51530c);_0x12495e['length']>0x2?(this['_sidebarView']['highlightRevisions'](_0x12495e),this['_sidebarView']['selectRevision'](null)):(this['_sidebarView']['highlightRevisions']([]),this['_sidebarView']['selectRevision'](_0x12495e[0x0]));}['_createRevisionActions'](){const _0x323636=this['editor'],_0xa8db7d=_0x41ef16['availableRevisionActions'],_0x166184=_0x323636['config']['get']('revisionHistory.revisionActions')||_0x41ef16['defaultRevisionActions'];if(_0x166184['length'])return _0x166184['map'](_0x4b9d58=>{const _0x18f88a='string'==typeof _0x4b9d58?Object['assign']({},_0xa8db7d[_0x4b9d58]):_0x4b9d58;return _0x18f88a['action']=_0x18f88a['action']['bind'](this,_0x323636),_0x18f88a['isVisible']&&(_0x18f88a['isVisible']=_0x18f88a['isVisible']['bind'](this,_0x323636)),_0x18f88a;});}}function availableRevisionActions(){return{'compareAgainstSelected':{'name':'Compare\x20against\x20selected','action':({plugins:_0x10bf27},_0x2cbe81)=>{const _0x2d8a4a=_0x10bf27['get'](_0x301cfe),_0x37498a=_0x2d8a4a['repository'];let _0x201405=_0x2d8a4a['diff']['newRevisionId'],_0x45e667=_0x2cbe81['id'];_0x37498a['getIndex'](_0x201405)>_0x37498a['getIndex'](_0x45e667)&&([_0x201405,_0x45e667]=[_0x45e667,_0x201405]),_0x2d8a4a['compare'](_0x201405,_0x45e667);},'isVisible':({plugins:_0x437e80},_0x34c3d6)=>{const _0x168a0f=_0x437e80['get'](_0x301cfe);return!(_0x168a0f['repository']['getRevisionsInDiff'](_0x168a0f['diff'])['length']>0x2)&&!_0x34c3d6['isSelected'];}},'restoreRevision':{'name':'Restore\x20this\x20revision','action':(_0x43dc73,{id:_0x56e5c7})=>{_0x43dc73['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x56e5c7);},'isVisible':({plugins:_0x41a6f3},_0x62af13)=>!!_0x41a6f3['get'](_0x301cfe)['repository']['getLaterVisibleRevision'](_0x62af13['id'])},'nameRevision':{'name':'Name\x20this\x20revision','action':({plugins:_0x37e0aa},{id:_0x167116,revisionNameView:_0x10853a})=>{const _0x9061ab=_0x37e0aa['get'](_0x301cfe),_0x18caf3=_0x9061ab['repository']['getEarlierVisibleRevision'](_0x167116);_0x9061ab['compare'](_0x167116,_0x18caf3),_0x10853a['focus'](),_0x10853a['fieldView']['select']();}}};}class RevisionViewerEditorUI extends ckeditor5['EditorUI']{['_view'];['_toolbarConfig'];['_elementReplacer'];get['view'](){return this['_view'];}constructor(_0x1a29ed,_0x15b57e){super(_0x1a29ed),this['_view']=_0x15b57e,this['_toolbarConfig']=ckeditor5['normalizeToolbarConfig'](_0x1a29ed['config']['get']('toolbar')),this['_elementReplacer']=new ckeditor5['ElementReplacer']();}get['element'](){return this['view']['element'];}['init'](_0x1007e3){const _0x4e1764=this['editor'],_0x2c2075=this['view'],_0x2d05e1=_0x4e1764['editing']['view'],_0x472e40=_0x2c2075['editable'],_0x41010e=_0x2d05e1['document']['getRoot']();_0x472e40['name']=_0x41010e['rootName'],_0x2c2075['render']();const _0x5a8e00=_0x472e40['element'];this['setEditableElement'](_0x472e40['name'],_0x5a8e00),_0x2c2075['editable']['bind']('isFocused')['to'](this['focusTracker']),_0x2d05e1['attachDomRoot'](_0x5a8e00),this['_elementReplacer']['replace'](_0x1007e3,this['element']),this['_initToolbar'](),this['fire']('ready');}['destroy'](){super['destroy']();const _0x43ce0c=this['view'],_0x126171=this['editor']['editing']['view'];this['_elementReplacer']['restore'](),_0x126171['detachDomRoot'](_0x43ce0c['editable']['name']),_0x43ce0c['destroy']();}['_initToolbar'](){const _0x3d1cbe=this['view'];_0x3d1cbe['stickyPanel']['bind']('isActive')['to'](this['focusTracker'],'isFocused'),_0x3d1cbe['stickyPanel']['limiterElement']=_0x3d1cbe['element'],_0x3d1cbe['stickyPanel']['bind']('viewportTopOffset')['to'](this,'viewportOffset',({top:_0x2fd168})=>_0x2fd168),_0x3d1cbe['toolbar']['fillFromConfig'](this['_toolbarConfig'],this['componentFactory']),this['addToolbar'](_0x3d1cbe['toolbar']);}}class RevisionViewerEditorUIView extends ckeditor5['BoxedEditorUIView']{['_editable'];['stickyPanel'];['toolbar'];get['editable'](){return this['_editable'];}constructor(_0x1e79c2,_0x4fc016,_0x3f27a6={}){super(_0x1e79c2),this['stickyPanel']=new ckeditor5['StickyPanelView'](_0x1e79c2),this['toolbar']=new ckeditor5['ToolbarView'](_0x1e79c2,{'shouldGroupWhenFull':_0x3f27a6['shouldToolbarGroupWhenFull']}),this['_editable']=new ckeditor5['InlineEditableUIView'](_0x1e79c2,_0x4fc016);}['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(_0x17e6ae,_0x582008){super(_0x582008),this['sourceElement']=_0x17e6ae,this['model']['document']['createRoot']();const _0x124a18=new RevisionViewerEditorUIView(this['locale'],this['editing']['view'],{'shouldToolbarGroupWhenFull':!0x0});this['_ui']=new RevisionViewerEditorUI(this,_0x124a18);}['destroy'](){return this['updateSourceElement'](),this['ui']['destroy'](),super['destroy']();}static async['create'](_0x3ee88d,_0x3b06e8){const _0x37b2de=new this(_0x3ee88d,_0x3b06e8);return await _0x37b2de['initPlugins'](),await _0x37b2de['ui']['init'](_0x3ee88d),await _0x37b2de['data']['init'](_0x37b2de['config']['get']('initialData')||''),_0x37b2de['fire']('ready'),_0x37b2de;}}const blackListedPlugins$1=['RevisionHistoryUI','RestrictedEditingMode','AIChat','AIReviewMode','AIBalloon','AIQuickActions','AIActions'];class RevisionViewerIntegration extends ckeditor5['Plugin']{['result'];static get['pluginName'](){return'RevisionViewerIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x14adbe){function _0x524c8b(_0x27743f){return _0x27743f['map'](_0x7a984d=>String['fromCharCode'](_0x7a984d))['join']('');}super(_0x14adbe),this['result']='end',_0x14adbe[_0x524c8b([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x524c8b([0x76,0x69,0x65,0x77])][_0x524c8b([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x524c8b([0x61,0x75,0x74,0x6f]),_0x14adbe[_0x524c8b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74])]=()=>window[_0x524c8b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x524c8b([0x72,0x65,0x73,0x6f,0x6c,0x76,0x65])]({[_0x524c8b([0x73,0x74,0x61,0x74,0x75,0x73])]:_0x524c8b([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[_0x2a039b,RevisionHistoryUI];}constructor(_0x3096b7){if(super(_0x3096b7),!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',_0x266947=>this['_showRevisionViewer']({..._0x266947,'translations':this['editor']['locale']['translations']})),this['editor']['config']['define']('revisionHistory.closeRevisionViewerCallback',_0x51d905=>this['_closeRevisionViewer'](_0x51d905)),this['editor']['config']['define']('revisionHistory.restoreRevisionCallback',_0x37dbfd=>this['_restoreRevision'](_0x37dbfd)),this['editor']['config']['define']('revisionHistory.requireRevisionName',!0x1),this['_enhanceShowRevisionViewerCallback'](),this['_enhanceCloseRevisionViewerCallback']();}set['adapter'](_0x44d51c){this['editor']['plugins']['get']('RevisionTracker')['adapter']=_0x44d51c;}get['adapter'](){return this['editor']['plugins']['get']('RevisionTracker')['adapter'];}['addRevisionData'](_0xb155e9){return this['editor']['plugins']['get']('RevisionTracker')['addRevisionData'](_0xb155e9);}['getRevision'](_0x3bb726){return this['editor']['plugins']['get']('RevisionsRepository')['getRevision'](_0x3bb726);}['getRevisions'](_0x3e9581){return this['editor']['plugins']['get']('RevisionsRepository')['getRevisions'](_0x3e9581||{'toJSON':!0x1});}['_getRevisionViewerEditorConfig'](){const _0x533293=this['editor'],_0x241ca5=sanitizeEditorConfig(_0x533293,blackListedPlugins$1),_0x2a3189=_0x533293['plugins']['get']('RevisionTracker'),_0x5e4e34=_0x533293['plugins']['get']('Users')['users'];_0x241ca5['toolbar']=['exitToEditing','restoreRevision','changesNavigation'],delete _0x241ca5['lazyRoots'];class _0x1251a6 extends ckeditor5['Plugin']{static get['requires'](){return[_0x301cfe,'Users'];}['init'](){const _0x5435f6=this['editor']['plugins']['get']('Users');for(const _0xcc520f of _0x5e4e34)_0xcc520f['isAnonymous']||_0x5435f6['getUser'](_0xcc520f['id'])||_0x5435f6['addUser'](_0xcc520f);const _0x4654e3=_0x2a3189['repository']['getRevisions']();let _0x432ddc=null;const _0x49f2d3=this['editor']['plugins']['get']('RevisionViewer');_0x49f2d3['adapter']=_0x2a3189['adapter'],_0x49f2d3['bind']('isEnabled')['to'](_0x2a3189),this['editor']['commands']['get']('restoreRevision')['bind']('isEnabled')['to'](_0x533293,'isReadOnly',_0x246d9a=>!_0x246d9a);for(const _0x10c406 of _0x4654e3){const _0x2b31a4=null===_0x10c406['creator'];if(_0x2b31a4&&_0x10c406['toVersion']===_0x10c406['fromVersion'])continue;const _0x5ed5c6=_0x10c406['toJSON']();_0x49f2d3['addRevisionData'](_0x5ed5c6,(_0x4b30bc,_0x39f92d,_0x5ec8db)=>{if(_0x2b31a4){if(_0x432ddc)_0x432ddc['_update'](_0x4b30bc,_0x39f92d);else{if(!_0x39f92d){const _0x581ae0=_0x5ec8db['toJSON']();_0x581ae0['id']=ckeditor5['uid'](),_0x2a3189['saveRevision'](_0x581ae0,_0x5ec8db['toVersion'])['then'](_0xfbb090=>{_0x432ddc=_0xfbb090;});}}}else _0x10c406['_update'](_0x4b30bc,_0x39f92d);});}}}return _0x241ca5['plugins']['push'](RevisionViewerIntegration,_0x301cfe,_0x5c2209,_0x1251a6,_0x41ef16),_0x241ca5;}['_enhanceShowRevisionViewerCallback'](){const _0x1e9f71=this['editor']['config']['get']('revisionHistory')['showRevisionViewerCallback'];this['editor']['config']['set']('revisionHistory.showRevisionViewerCallback',async()=>{this['editor']['enableReadOnlyMode']('revision-history-viewer-opened');const _0x59437b=this['editor']['plugins']['get']('RevisionTracker');if(this['editor']['plugins']['has']('Autosave')){const _0x521b55=this['editor']['plugins']['get']('Autosave');await _0x521b55['save']();}else await _0x59437b['update']();if(this['editor']['plugins']['has']('PaginationLookup')&&this['editor']['plugins']['get']('PaginationLookup')['_recalculatePageBreaks'](),this['editor']['plugins']['has']('Dialog')){const _0x1c1e8e=this['editor']['plugins']['get']('Dialog');_0x1c1e8e['isOpen']&&_0x1c1e8e['hide']();}if(this['editor']['plugins']['has']('AITabs')){const _0x102b34=this['editor']['plugins']['get']('AITabs')['view']['panelViews'];for(const _0x239962 of _0x102b34)_0x239962['class']=_0x239962['class']?_0x239962['class']+'\x20ck-tab-panel_disabled':'ck-tab-panel_disabled';if(this['editor']['plugins']['has']('AIChat')){const _0x511c28=document['querySelector']('.ck-ai-chat__prompt-input\x20.ck-textarea');_0x511c28&&_0x511c28['setAttribute']('tabindex','-1');}if(this['editor']['plugins']['has']('AIChatHistory')){const _0x341615=document['querySelector']('.ck-ai-chat-history\x20.ck-input');_0x341615&&_0x341615['setAttribute']('tabindex','-1');}}const _0x409de3=this['_getRevisionViewerEditorConfig']();return _0x1e9f71(_0x409de3)['then'](_0x59fe9f=>{return(this['_viewerEditor']=_0x59fe9f,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'),_0x59fe9f);})['catch'](_0x47ad64=>(console['error'](_0x47ad64),this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),null));});}['_enhanceCloseRevisionViewerCallback'](){const _0x20b0e1=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 _0x2b47f3=this['editor']['plugins']['get']('AITabs')['view']['panelViews'];for(const _0x4fd4b4 of _0x2b47f3)_0x4fd4b4['class']='ck-tab-panel_disabled'===_0x4fd4b4['class']?'':_0x4fd4b4['class']['replace']('\x20ck-tab-panel_disabled','');if(this['editor']['plugins']['has']('AIChat')){const _0x2b5299=document['querySelector']('.ck-ai-chat__prompt-input\x20.ck-textarea');_0x2b5299&&_0x2b5299['removeAttribute']('tabindex');}if(this['editor']['plugins']['has']('AIChatHistory')){const _0x2fe564=document['querySelector']('.ck-ai-chat-history\x20.ck-input');_0x2fe564&&_0x2fe564['removeAttribute']('tabindex');}}return this['_viewerEditor']['plugins']['get']('RevisionViewer')['_cleanUp'](),_0x20b0e1(this['_viewerEditor'])['then'](()=>{if(this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),this['_viewerEditor']=null,this['editor']['plugins']['has']('Annotations')){const _0x348713=this['editor']['plugins']['get']('Annotations');_0x348713['refreshVisibility'](),_0x348713['refreshPositioning']();}});});}['_showRevisionViewer'](_0x263bd8){const _0x222b89=this['editor']['config']['get']('revisionHistory.editorContainer'),_0x25da0e=this['editor']['config']['get']('revisionHistory.viewerContainer'),_0x4b51a5=this['editor']['config']['get']('revisionHistory.viewerEditorElement');return RevisionViewerEditor['create'](_0x4b51a5,_0x263bd8)['then'](_0x4e1367=>(_0x25da0e['style']['display']='block',_0x222b89['style']['display']='none',this['isRevisionViewerOpen']=!0x0,_0x4e1367));}['_closeRevisionViewer'](_0x425d21){const _0x3f3b5d=this['editor']['config']['get']('revisionHistory.editorContainer');return this['editor']['config']['get']('revisionHistory.viewerContainer')['style']['display']='none',_0x3f3b5d['style']['display']='',this['isRevisionViewerOpen']=!0x1,_0x425d21['destroy']();}async['_restoreRevision'](_0x25069e){const _0x1f935f=this['editor'],_0x484302=this['_viewerEditor']['plugins']['get']('RevisionViewer'),_0x5d525f=_0x1f935f['plugins']['get']('RevisionTracker'),_0x30b975=_0x1f935f['plugins']['get']('RevisionHistoryUtils'),_0x9501b1=_0x484302['repository']['getRevision'](_0x25069e);let _0x469af4,_0x3ecc9a,_0x43693a;try{await _0x30b975['loadRevisionData'](_0x9501b1,this['adapter']),_0x469af4=_0x30b975['getRevisionDocumentData'](_0x9501b1),_0x3ecc9a=_0x30b975['getRevisionRootsAttributes'](_0x9501b1);}catch(_0x53592b){return void console['error'](_0x53592b);}_0x1f935f['model']['change'](_0x2cf578=>{for(const _0x42977d of Array['from'](_0x1f935f['model']['markers']['getMarkersGroup']('restrictedEditingException')))_0x2cf578['removeMarker'](_0x42977d);}),_0x484302['isReady']=!0x1,_0x1f935f['model']['enqueueChange'](_0x285551=>{_0x285551['setSelection'](null),_0x285551['removeSelectionAttribute'](_0x1f935f['model']['document']['selection']['getAttributeKeys']());const _0x50d113=Object['keys'](_0x469af4);for(const _0x36d8dd of _0x1f935f['model']['document']['roots'])'$graveyard'!=_0x36d8dd['rootName']&&_0x36d8dd['isAttached']()&&!_0x50d113['includes'](_0x36d8dd['rootName'])&&_0x285551['detachRoot'](_0x36d8dd);for(const _0x3f05f7 of _0x50d113){let _0x4cd9fb=_0x1f935f['model']['document']['getRoot'](_0x3f05f7);_0x4cd9fb&&_0x4cd9fb['isAttached']()||(_0x4cd9fb=_0x285551['addRoot'](_0x3f05f7));const _0x38581c=_0x3ecc9a[_0x3f05f7],_0x33d810=Object['keys'](_0x38581c),_0x56b22a=_0x469af4[_0x3f05f7];for(const _0x24a5dd of _0x4cd9fb['getAttributeKeys']())_0x33d810['includes'](_0x24a5dd)||_0x285551['removeAttribute'](_0x24a5dd,_0x4cd9fb);for(const _0x5cfa0e of _0x33d810)_0x285551['setAttribute'](_0x5cfa0e,_0x3ecc9a[_0x3f05f7][_0x5cfa0e],_0x4cd9fb);_0x285551['remove'](_0x285551['createRangeIn'](_0x4cd9fb)),_0x285551['insert'](_0x1f935f['data']['parse'](_0x56b22a,_0x4cd9fb),_0x4cd9fb,0x0);}});const _0x101045=getTranslation$5(_0x1f935f['locale'],'Restored');if(_0x9501b1['name'])_0x43693a=-0x1==_0x9501b1['name']['indexOf'](_0x101045)?_0x101045+':\x20'+_0x9501b1['name']:_0x9501b1['name'];else _0x43693a=_0x101045+':\x20'+(_0x9501b1['createdAt']['toLocaleDateString'](_0x1f935f['locale']['uiLanguage'],{'month':'long','day':'numeric'})+',\x20'+_0x9501b1['createdAt']['toLocaleTimeString'](_0x1f935f['locale']['uiLanguage'],{'hour':'numeric','minute':'numeric'}));return await _0x5d525f['saveRevision']({'name':_0x43693a}),_0x484302['isReady']=!0x0,_0x1f935f['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}}function getTranslation$4(_0x2ba3bc,_0x5e57db){const t=_0x2ba3bc['t'],_0x1f5e94=_0x2ba3bc['t'];switch(_0x5e57db){case'AI\x20Assistant':return _0x1f5e94('AI\x20Assistant');case'Block\x20quote':return _0x1f5e94('Block\x20quote');case'Bulleted\x20list':return _0x1f5e94('Bulleted\x20list');case'Insert\x20code\x20block':return _0x1f5e94('Insert\x20code\x20block');case'Open\x20file\x20manager':return _0x1f5e94('Open\x20file\x20manager');case'Insert\x20image':return _0x1f5e94('Insert\x20image');case'Heading\x201':return _0x1f5e94('Heading\x201');case'Heading\x202':return _0x1f5e94('Heading\x202');case'Heading\x203':return _0x1f5e94('Heading\x203');case'Heading\x204':return _0x1f5e94('Heading\x204');case'Heading\x205':return _0x1f5e94('Heading\x205');case'Heading\x206':return _0x1f5e94('Heading\x206');case'Horizontal\x20line':return _0x1f5e94('Horizontal\x20line');case'Insert\x20HTML':return _0x1f5e94('Insert\x20HTML');case'Increase\x20indent':return _0x1f5e94('Increase\x20indent');case'Insert\x20table':return _0x1f5e94('Insert\x20table');case'Table\x20of\x20contents':return _0x1f5e94('Table\x20of\x20contents');case'Numbered\x20list':return _0x1f5e94('Numbered\x20list');case'Decrease\x20indent':return _0x1f5e94('Decrease\x20indent');case'Paragraph':return _0x1f5e94('Paragraph');case'To-do\x20list':return _0x1f5e94('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');default:return _0x5e57db;}}class _0x26ae96 extends ckeditor5['Plugin']{static get['pluginName'](){return'SlashCommandConfig';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x247dc1){super(_0x247dc1),this['_allowedCommands']=null;}['afterInit'](){const _0x239745=this['editor']['config']['get']('slashCommand.removeCommands')||[],_0x5a6e27=getExcludedHeadings(this['editor']['config']['get']('heading.options')),_0x35d7ec=this['getDefaultCommands']()['filter'](_0x13acb6=>!_0x5a6e27['includes'](_0x13acb6['id']));let _0x3f185d=_0x35d7ec['filter'](_0x231a8a=>!_0x239745['includes'](_0x231a8a['commandName']));const _0x2adc58=this['editor']['config']['get']('slashCommand.extraCommands');_0x2adc58&&_0x2adc58['length']&&(_0x3f185d=_0x3f185d['concat'](_0x2adc58));const _0x384989=this['editor']['config']['get']('template.definitions');_0x384989&&_0x384989['length']&&(_0x3f185d=_0x3f185d['concat'](mapTemplates(_0x384989)));const _0x3d3307=this['editor']['config']['get']('style.definitions');_0x3d3307&&_0x3d3307['length']&&(_0x3f185d=_0x3f185d['concat'](mapStyles(_0x3d3307)));const _0x1f1f72=_0x3f185d['filter'](_0x401d75=>!_0x401d75['commandName']||void 0x0!==this['editor']['commands']['get'](_0x401d75['commandName'])),_0x3654f9=[];for(const _0x480763 of _0x1f1f72)_0x3654f9['push']({'id':_0x480763['id'],'commandName':_0x480763['commandName'],'title':'function'==typeof _0x480763['title']?_0x480763['title'](this['editor']):_0x480763['title'],'description':_0x480763['description'],'icon':_0x480763['icon'],'isIconColorInherited':_0x480763['isIconColorInherited'],'aliases':_0x480763['aliases'],'isEnabled':()=>this['_proxyIsEnabled'](_0x480763),'execute':()=>this['_proxyExecute'](_0x480763)});this['_allowedCommands']=_0x3654f9['sort'](_0x3d1b03),_0xd3fcce(this);}['getAllowedCommands'](){return this['_allowedCommands'];}['getDefaultCommands'](){const _0x4cfc14=_0x50e9ef=>getTranslation$4(this['editor']['locale'],_0x50e9ef);return[{'id':'aiAssistant','commandName':'showAIAssistant','icon':ckeditor5['IconRobotPencil'],'title':_0x4cfc14('AI\x20Assistant'),'description':_0x4cfc14('Open\x20the\x20AI\x20Assistant\x20to\x20generate\x20content'),'execute':_0x19478f=>{setTimeout(()=>_0x19478f['execute']('showAIAssistant'));}},{'id':'blockQuote','commandName':'blockQuote','icon':ckeditor5['IconQuote'],'title':_0x4cfc14('Block\x20quote'),'description':_0x4cfc14('Create\x20a\x20block\x20quote')},{'id':'bulletedList','commandName':'bulletedList','icon':ckeditor5['IconBulletedList'],'title':_0x4cfc14('Bulleted\x20list'),'description':_0x4cfc14('Create\x20a\x20bulleted\x20list')},{'id':'codeBlock','commandName':'codeBlock','icon':ckeditor5['IconCodeBlock'],'title':_0x4cfc14('Insert\x20code\x20block'),'description':_0x4cfc14('Create\x20a\x20code\x20block')},{'id':'ckbox','commandName':'ckbox','icon':ckeditor5['IconBrowseFiles'],'title':_0x4cfc14('Open\x20file\x20manager'),'description':_0x4cfc14('Open\x20file\x20manager\x20to\x20insert\x20an\x20image\x20or\x20a\x20file'),'aliases':['ckfinder','filemanager','upload']},{'id':'ckfinder','commandName':'ckfinder','icon':ckeditor5['IconBrowseFiles'],'title':_0x4cfc14('Insert\x20image'),'description':_0x4cfc14('Open\x20file\x20browser\x20to\x20insert\x20an\x20image\x20or\x20a\x20file'),'aliases':['ckbox','filemanager','upload']},{'id':'emoji','commandName':'emoji','icon':ckeditor5['IconEmoji'],'title':_0x4cfc14('Emoji'),'description':_0x4cfc14('Insert\x20an\x20emoji'),'execute':_0x5a88da=>{setTimeout(()=>_0x5a88da['execute']('emoji'));}},{'id':'heading1','commandName':'heading','icon':ckeditor5['IconHeading1'],'title':_0x4cfc14('Heading\x201'),'description':_0x4cfc14('Create\x20a\x20heading\x20level\x201'),'execute':_0x237cd3=>{_0x237cd3['execute']('heading',{'value':'heading1'});}},{'id':'heading2','commandName':'heading','icon':ckeditor5['IconHeading2'],'title':_0x4cfc14('Heading\x202'),'description':_0x4cfc14('Create\x20a\x20heading\x20level\x202'),'execute':_0x487768=>{_0x487768['execute']('heading',{'value':'heading2'});}},{'id':'heading3','commandName':'heading','icon':ckeditor5['IconHeading3'],'title':_0x4cfc14('Heading\x203'),'description':_0x4cfc14('Create\x20a\x20heading\x20level\x203'),'execute':_0x4987d7=>{_0x4987d7['execute']('heading',{'value':'heading3'});}},{'id':'heading4','commandName':'heading','icon':ckeditor5['IconHeading4'],'title':_0x4cfc14('Heading\x204'),'description':_0x4cfc14('Create\x20a\x20heading\x20level\x204'),'execute':_0x59ff82=>{_0x59ff82['execute']('heading',{'value':'heading4'});}},{'id':'heading5','commandName':'heading','icon':ckeditor5['IconHeading5'],'title':_0x4cfc14('Heading\x205'),'description':_0x4cfc14('Create\x20a\x20heading\x20level\x205'),'execute':_0x484dfc=>{_0x484dfc['execute']('heading',{'value':'heading5'});}},{'id':'heading6','commandName':'heading','icon':ckeditor5['IconHeading6'],'title':_0x4cfc14('Heading\x206'),'description':_0x4cfc14('Create\x20a\x20heading\x20level\x206'),'execute':_0x4d883b=>{_0x4d883b['execute']('heading',{'value':'heading6'});}},{'id':'horizontalLine','commandName':'horizontalLine','icon':ckeditor5['IconHorizontalLine'],'title':_0x4cfc14('Horizontal\x20line'),'description':_0x4cfc14('Insert\x20a\x20horizontal\x20line')},{'id':'htmlEmbed','commandName':'htmlEmbed','icon':ckeditor5['IconHtml'],'title':_0x4cfc14('Insert\x20HTML'),'description':_0x4cfc14('Insert\x20an\x20HTML\x20snippet')},{'id':'indent','commandName':'indent','icon':ckeditor5['IconIndent'],'title':_0x4cfc14('Increase\x20indent'),'description':_0x4cfc14('Increase\x20the\x20indentation')},{'id':'insertMermaidCommand','commandName':'insertMermaidCommand','title':_0x4cfc14('Insert\x20Mermaid\x20diagram'),'description':_0x4cfc14('Insert\x20the\x20Mermaid\x20diagram')},{'id':'insertTable','commandName':'insertTable','icon':ckeditor5['IconTable'],'title':_0x4cfc14('Insert\x20table'),'description':_0x4cfc14('Create\x20a\x20table')},{'id':'insertTableOfContents','commandName':'insertTableOfContents','icon':ckeditor5['IconTableOfContents'],'title':_0x4cfc14('Table\x20of\x20contents'),'description':_0x4cfc14('Insert\x20table\x20of\x20contents'),'aliases':['toc']},{'id':'numberedList','commandName':'numberedList','icon':ckeditor5['IconNumberedList'],'title':_0x4cfc14('Numbered\x20list'),'description':_0x4cfc14('Create\x20a\x20numbered\x20list')},{'id':'outdent','commandName':'outdent','icon':ckeditor5['IconOutdent'],'title':_0x4cfc14('Decrease\x20indent'),'description':_0x4cfc14('Decrease\x20the\x20indentation')},{'id':'paragraph','commandName':'paragraph','icon':ckeditor5['IconParagraph'],'title':_0x4cfc14('Paragraph'),'description':_0x4cfc14('Insert\x20a\x20paragraph')},{'id':'todoList','commandName':'todoList','icon':ckeditor5['IconTodoList'],'title':_0x4cfc14('To-do\x20list'),'description':_0x4cfc14('Create\x20a\x20to-do\x20list')}];}['_proxyIsEnabled'](_0x100da2){return _0x100da2['isEnabled']?_0x100da2['isEnabled'](this['editor']):!_0x100da2['commandName']||this['editor']['commands']['get'](_0x100da2['commandName'])['isEnabled'];}['_proxyExecute'](_0x1c16d1){if(_0x1c16d1['execute'])_0x1c16d1['execute'](this['editor']);else{if(!_0x1c16d1['commandName'])throw new ckeditor5['CKEditorError']('slash-command-execute-missing',this['editor'],{'commandDefinition':_0x1c16d1});this['editor']['execute'](_0x1c16d1['commandName']);}}}function _0x3d1b03(_0x4f2236,_0x423da4){return _0x4f2236['title']<_0x423da4['title']?-0x1:_0x4f2236['title']>_0x423da4['title']?0x1:0x0;}function convertTitleToId(_0x10345,_0x37fad6){return _0x37fad6+'-'+_0x10345['toLowerCase']()['split']('\x20')['join']('-');}function mapTemplates(_0x51b25a){return _0x51b25a['map'](_0x4638c6=>{const {title:_0x5eb0df,icon:_0x13e27b,description:_0x270ff8,data:_0x443e8f}=_0x4638c6,_0x47c105={'id':convertTitleToId(_0x5eb0df,'template'),'commandName':'insertTemplate','execute':_0x474617=>{_0x474617['execute']('insertTemplate',_0x443e8f);},'description':_0x270ff8,'icon':_0x13e27b,'title':_0x5eb0df};return _0x13e27b&&(_0x47c105['isIconColorInherited']=!0x1),_0x47c105;});}function mapStyles(_0xd9861a){return _0xd9861a['map'](_0x30a268=>{const _0x43cedc={'id':convertTitleToId(_0x30a268['name'],'style'),'commandName':'style','execute':_0x4e4a14=>{_0x4e4a14['execute']('style',{'styleName':_0x30a268['name']});},'isEnabled':_0x5bc59d=>{const _0x33b68a=_0x5bc59d['commands']['get']('style');return _0x33b68a['isEnabled']&&_0x33b68a['enabledStyles']['includes'](_0x30a268['name']);},'title':_0x30a268['name']};return _0x43cedc;});}function getExcludedHeadings(_0x2e534a){let _0x41b79b=['heading4','heading5','heading6'];if(_0x2e534a){const _0x310e=_0x2e534a['map'](_0x41b360=>_0x41b360['model']);_0x41b79b=['heading1','heading2','heading3','heading4','heading5','heading6']['filter'](_0x26e702=>!_0x310e['includes'](_0x26e702));}return _0x41b79b;}async function _0xd3fcce(_0x358a6e){const _0x51596c=_0x23868f([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]),_0x3352c8=window[_0x23868f([0x44,0x61,0x74,0x65])][_0x23868f([0x6e,0x6f,0x77])](),_0x178e53=_0x358a6e[_0x23868f([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x112e00=new window[(_0x23868f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1023a0=>{_0x178e53[_0x23868f([0x6f,0x6e,0x63,0x65])](_0x23868f([0x72,0x65,0x61,0x64,0x79]),_0x1023a0);}),_0x2df2e0={[_0x23868f([0x6b,0x74,0x79])]:_0x23868f([0x45,0x43]),[_0x23868f([0x75,0x73,0x65])]:_0x23868f([0x73,0x69,0x67]),[_0x23868f([0x63,0x72,0x76])]:_0x23868f([0x50,0x2d,0x32,0x35,0x36]),[_0x23868f([0x78])]:_0x23868f([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]),[_0x23868f([0x79])]:_0x23868f([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]),[_0x23868f([0x61,0x6c,0x67])]:_0x23868f([0x45,0x53,0x32,0x35,0x36])},_0x2293da=_0x178e53[_0x23868f([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x23868f([0x67,0x65,0x74])](_0x23868f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x35f24b=await(async function(){let _0x51f3bd,_0x273135=null,_0x30d43f=null;try{if(_0x2293da==_0x23868f([0x47,0x50,0x4c]))return _0x23868f([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x51f3bd=(function(){const _0x12c65e=_0x2293da[_0x23868f([0x73,0x70,0x6c,0x69,0x74])](_0x23868f([0x2e]));if(0x3!=_0x12c65e[_0x23868f([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;const _0x242081=_0x12c65e[0x1];return _0x3b1304(_0x242081);function _0x3b1304(_0xc6307e){const _0x2f58a1=_0x479d95(_0xc6307e);return _0x2f58a1&&_0x59d4fc()?_0x2f58a1:null;function _0x59d4fc(){const _0x20eae0=_0x2f58a1[_0x23868f([0x6a,0x74,0x69])],_0x533033=window[_0x23868f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x20eae0[_0x23868f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x20eae0[_0x23868f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x64051b={..._0x2f58a1,[_0x23868f([0x6a,0x74,0x69])]:_0x20eae0[_0x23868f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x20eae0[_0x23868f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x64051b[_0x23868f([0x76,0x63])],_0x16ecc3(_0x64051b)==_0x533033;}}}()),!_0x51f3bd)return _0x23868f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);_0x51f3bd[_0x23868f([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x30d43f=function(_0xd16834,_0x26ea2e){return new window[(_0x23868f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x633305=>{if(_0x421d52())return _0x633305(_0x23868f([0x56,0x61,0x6c,0x69,0x64]));_0x2f6ec9(),_0x178e53[_0x23868f([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x23868f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x14d17a=!0x1;const _0x96380b=ckeditor5['uid']();function _0x380a1b(_0x3f1270){return!!_0x3f1270&&(typeof _0x3f1270===_0x23868f([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x3f1270===_0x23868f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x3f1270[_0x23868f([0x74,0x68,0x65,0x6e])]===_0x23868f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x3f1270[_0x23868f([0x63,0x61,0x74,0x63,0x68])]===_0x23868f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x53ab42(_0x28b474){_0x19bf3e(_0x28b474)[_0x23868f([0x74,0x68,0x65,0x6e])](_0x57df65=>{if(!_0x57df65||_0x57df65[_0x23868f([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x23868f([0x6f,0x6b]))return _0x23868f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0xfa93ed(_0x16ecc3(_0x96380b+_0x26ea2e))!=_0x57df65[_0x23868f([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x23868f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x23868f([0x56,0x61,0x6c,0x69,0x64]);})[_0x23868f([0x74,0x68,0x65,0x6e])](_0x47abe9=>(_0x347f72(),_0x47abe9),()=>{const _0x58528a=_0x3a5ebb();return null==_0x58528a?(_0x347f72(),_0x23868f([0x56,0x61,0x6c,0x69,0x64])):_0x23868f(_0x3352c8-_0x58528a>0x240c8400?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x23868f([0x74,0x68,0x65,0x6e])](_0x633305)[_0x23868f([0x63,0x61,0x74,0x63,0x68])](()=>{_0x633305(_0x23868f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x11ee68=0x36ee80;function _0x347f72(){const _0x32fac1=_0x23868f([0x6c,0x6c,0x63,0x74,0x2d])+_0xfa93ed(_0x16ecc3(_0xd16834)),_0x438e26=_0x3452a1(_0xfa93ed(window[_0x23868f([0x4d,0x61,0x74,0x68])][_0x23868f([0x63,0x65,0x69,0x6c])](_0x3352c8/_0x11ee68)));window[_0x23868f([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x23868f([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x32fac1,_0x438e26);}function _0x3a5ebb(){const _0x5aa25d=_0x23868f([0x6c,0x6c,0x63,0x74,0x2d])+_0xfa93ed(_0x16ecc3(_0xd16834)),_0x22b10c=window[_0x23868f([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x23868f([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5aa25d);return _0x22b10c?window[_0x23868f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3452a1(_0x22b10c),0x10)*_0x11ee68:null;}function _0x19bf3e(_0x388fbf){return new window[(_0x23868f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x344f32,_0x5796e1)=>{_0x388fbf[_0x23868f([0x74,0x68,0x65,0x6e])](_0x344f32,_0x5796e1),window[_0x23868f([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x5796e1,0x1d4c0);});}}_0x178e53[_0x23868f([0x6f,0x6e])](_0x23868f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x42173e,_0x93f3f2)=>{if(_0x93f3f2[0x0]!=_0xd16834)return _0x633305(_0x23868f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x93f3f2[0x1]={..._0x93f3f2[0x1],[_0x23868f([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x96380b};},{[_0x23868f([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x23868f([0x68,0x69,0x67,0x68])}),_0x178e53[_0x23868f([0x6f,0x6e])](_0x23868f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x3491f4=>{_0x380a1b(_0x3491f4[_0x23868f([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x14d17a=!0x0,_0x53ab42(_0x3491f4[_0x23868f([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x23868f([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x23868f([0x6c,0x6f,0x77])}),_0x112e00[_0x23868f([0x74,0x68,0x65,0x6e])](()=>{_0x14d17a||_0x633305(_0x23868f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x421d52(){return _0x178e53[_0x23868f([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x23868f([0x76,0x69,0x65,0x77])][_0x23868f([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x23868f([0x61,0x75,0x74,0x6f]);}function _0x2f6ec9(){_0x178e53[_0x23868f([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x23868f([0x76,0x69,0x65,0x77])][_0x23868f([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x23868f([0x61,0x75,0x74,0x6f]);}}(_0x51f3bd[_0x23868f([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x51f3bd[_0x23868f([0x6a,0x74,0x69])]));const _0x49a562=await(async function(){let _0x4a2411=!0x0;try{const _0xd0e400=_0x2293da[_0x23868f([0x73,0x70,0x6c,0x69,0x74])](_0x23868f([0x2e])),[_0x2c2a3b,_0x1a0bb6,_0x5a2258]=_0xd0e400;return _0x48d7cc(_0x2c2a3b),await _0x38f52a(_0x2c2a3b,_0x1a0bb6,_0x5a2258),_0x4a2411;}catch{return!0x1;}function _0x48d7cc(_0x338e12){const _0x37551e=_0x479d95(_0x338e12);_0x37551e&&_0x37551e[_0x23868f([0x61,0x6c,0x67])]==_0x23868f([0x45,0x53,0x32,0x35,0x36])||(_0x4a2411=!0x1);}async function _0x38f52a(_0x3fc28b,_0xb5ee5d,_0x1f3f8b){const _0x21254f=window[_0x23868f([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x23868f([0x66,0x72,0x6f,0x6d])](_0x3ad024(_0x1f3f8b),_0x33928d=>_0x33928d[_0x23868f([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x2eb790=new window[(_0x23868f([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x23868f([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x3fc28b+_0x23868f([0x2e])+_0xb5ee5d),_0x31e60f=window[_0x23868f([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x23868f([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x31e60f)return;const _0x322f1f=await _0x31e60f[_0x23868f([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x23868f([0x6a,0x77,0x6b]),_0x2df2e0,{[_0x23868f([0x6e,0x61,0x6d,0x65])]:_0x23868f([0x45,0x43,0x44,0x53,0x41]),[_0x23868f([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x23868f([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x23868f([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x31e60f[_0x23868f([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x23868f([0x6e,0x61,0x6d,0x65])]:_0x23868f([0x45,0x43,0x44,0x53,0x41]),[_0x23868f([0x68,0x61,0x73,0x68])]:{[_0x23868f([0x6e,0x61,0x6d,0x65])]:_0x23868f([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x322f1f,_0x21254f,_0x2eb790)||(_0x4a2411=!0x1);}}());return _0x49a562?(function(){const _0x2a26be=_0x51f3bd[_0x23868f([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];if(!_0x2a26be)return!0x1;if(_0x2a26be[_0x23868f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x23868f([0x2a])))return!0x0;if(_0x2a26be[_0x23868f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x23868f([0x53,0x43])))return!0x0;if(_0x2a26be[_0x23868f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x23868f([0x50,0x50])))return!0x0;if(_0x2a26be[_0x23868f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x23868f([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))&&window[_0x23868f([0x67,0x6c,0x6f,0x62])]&&window[_0x23868f([0x67,0x6c,0x6f,0x62])][_0x23868f([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])])return!0x0;return!0x1;}())?(function(){const _0x45a926=[_0x23868f([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x23868f([0x74,0x72,0x69,0x61,0x6c])][_0x23868f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x51f3bd[_0x23868f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x3352c8/0x3e8:0x68f03580;return _0x51f3bd[_0x23868f([0x65,0x78,0x70])]<_0x45a926;}())?_0x23868f([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):(function(){const _0x1c5f35=_0x51f3bd[_0x23868f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x1c5f35||0x0==_0x1c5f35[_0x23868f([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x19a29b}=new URL(window[_0x23868f([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x1c5f35[_0x23868f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x19a29b))return!0x0;const _0x1936cf=_0x19a29b[_0x23868f([0x73,0x70,0x6c,0x69,0x74])](_0x23868f([0x2e]));return _0x1c5f35[_0x23868f([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x33fdb2=>_0x33fdb2[_0x23868f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x23868f([0x2a])))[_0x23868f([0x6d,0x61,0x70])](_0x33b152=>_0x33b152[_0x23868f([0x73,0x70,0x6c,0x69,0x74])](_0x23868f([0x2e])))[_0x23868f([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x21ad2c=>_0x21ad2c[_0x23868f([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x1936cf[_0x23868f([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x23868f([0x6d,0x61,0x70])](_0x4b076c=>Array(_0x1936cf[_0x23868f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x4b076c[_0x23868f([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x23868f([0x66,0x69,0x6c,0x6c])](_0x4b076c[0x0]===_0x23868f([0x2a])?_0x23868f([0x2a]):'')[_0x23868f([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x4b076c))[_0x23868f([0x73,0x6f,0x6d,0x65])](_0x11ce18=>_0x1936cf[_0x23868f([0x65,0x76,0x65,0x72,0x79])]((_0x2afbdf,_0x42b20a)=>_0x11ce18[_0x42b20a]===_0x2afbdf||_0x11ce18[_0x42b20a]===_0x23868f([0x2a])));}())?(_0x51f3bd[_0x23868f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x23868f([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x273135=_0xdbeefe(_0x23868f([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x51f3bd[_0x23868f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x23868f([0x74,0x72,0x69,0x61,0x6c])&&(_0x273135=_0xdbeefe(_0x23868f([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await(function(){if(_0x273135&&_0x30d43f)return new window[(_0x23868f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x43f8f5,_0x308ee3)=>{_0x273135[_0x23868f([0x74,0x68,0x65,0x6e])](_0x43f8f5,_0x308ee3),_0x30d43f[_0x23868f([0x74,0x68,0x65,0x6e])](_0x1e9253=>{_0x1e9253!=_0x23868f([0x56,0x61,0x6c,0x69,0x64])&&_0x43f8f5(_0x1e9253);},_0x308ee3);});return _0x273135||_0x30d43f||_0x23868f([0x56,0x61,0x6c,0x69,0x64]);}())):_0x23868f([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x23868f([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x23868f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x23868f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}}());function _0xdbeefe(_0x4fec40){const _0x22b955=[new window[(_0x23868f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x25f2b7=>setTimeout(_0x25f2b7,0x93ecc)),_0x112e00[_0x23868f([0x74,0x68,0x65,0x6e])](()=>new window[(_0x23868f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x37fbda=>{let _0x3f5424=0x0;_0x178e53[_0x23868f([0x6d,0x6f,0x64,0x65,0x6c])][_0x23868f([0x6f,0x6e])](_0x23868f([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x470e8f,_0xfde897)=>{_0xfde897[0x0][_0x23868f([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x3f5424++,0x1f8==_0x3f5424&&(_0x37fbda(),_0x470e8f[_0x23868f([0x6f,0x66,0x66])]());});}))];return window[_0x23868f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x23868f([0x72,0x61,0x63,0x65])](_0x22b955)[_0x23868f([0x74,0x68,0x65,0x6e])](()=>_0x4fec40);}function _0x479d95(_0xc7fb74){return _0xc7fb74[_0x23868f([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x23868f([0x65,0x79]))?JSON[_0x23868f([0x70,0x61,0x72,0x73,0x65])](_0x3ad024(_0xc7fb74)):null;}function _0x3ad024(_0x2a3f65){return window[_0x23868f([0x61,0x74,0x6f,0x62])](_0x2a3f65[_0x23868f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x23868f([0x2b]))[_0x23868f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x23868f([0x2f])));}function _0x16ecc3(_0x15f383){let _0x1fe984=0x1505;function _0x2c3d00(_0x57c658){for(let _0x3286e0=0x0;_0x3286e0<_0x57c658[_0x23868f([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3286e0++){const _0x1e03d7=_0x57c658[_0x23868f([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x3286e0);_0x1fe984=(_0x1fe984<<0x5)+_0x1fe984+_0x1e03d7,_0x1fe984&=_0x1fe984;}}return function _0x1e5c48(_0x5b47e6){Array[_0x23868f([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x5b47e6)?_0x5b47e6[_0x23868f([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x1e5c48):_0x5b47e6&&typeof _0x5b47e6==_0x23868f([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x23868f([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x5b47e6)[_0x23868f([0x73,0x6f,0x72,0x74])]()[_0x23868f([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x294089,_0x3fcef7])=>{_0x2c3d00(_0x294089),_0x1e5c48(_0x3fcef7);}):_0x2c3d00(window[_0x23868f([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x5b47e6));}(_0x15f383),_0x1fe984>>>0x0;}function _0xfa93ed(_0x2b3338){return _0x2b3338[_0x23868f([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x23868f([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x23868f([0x30]));}function _0x3452a1(_0x2ea323){return _0x2ea323[_0x23868f([0x73,0x70,0x6c,0x69,0x74])]('')[_0x23868f([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x23868f([0x6a,0x6f,0x69,0x6e])]('');}function _0x24c21c(){}function _0x23868f(_0x4963ce){return _0x4963ce['map'](_0x186970=>String['fromCharCode'](_0x186970))['join']('');}!function(_0x42d247){const _0x443136=(function(){const _0x49a074=window[_0x23868f([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x23868f([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x23868f([0x6e,0x6f,0x77])]())[_0x23868f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x23868f([0x2e]),'');let _0x43cd8b=_0x23868f([0x76]);for(let _0x4f2846=0x0;_0x4f2846<_0x49a074[_0x23868f([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4f2846+=0x2){let _0x1448ce=window[_0x23868f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x49a074[_0x23868f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4f2846,_0x4f2846+0x2));_0x1448ce>=_0x51596c[_0x23868f([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x1448ce-=_0x51596c[_0x23868f([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x43cd8b+=_0x51596c[_0x1448ce];}return _0x43cd8b;}());_0x178e53[_0x443136]=_0x23868f([0x73,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x42d247,_0x42d247!=_0x23868f([0x56,0x61,0x6c,0x69,0x64])&&(async function(){await _0x112e00,_0x178e53[_0x23868f([0x6d,0x6f,0x64,0x65,0x6c])][_0x23868f([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x24c21c,_0x178e53[_0x23868f([0x6d,0x6f,0x64,0x65,0x6c])][_0x23868f([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x24c21c,_0x178e53[_0x23868f([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x23868f([0x6d,0x6f,0x64,0x65,0x6c]));}());}(_0x35f24b);}class SlashCommandEditing extends ckeditor5['Plugin']{static get['pluginName'](){return'SlashCommandEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x26ae96];}['getMatchingCommands'](_0x1423bd){const _0x10b14e=_0x1423bd&&_0x1423bd['toLowerCase']();let _0x51a438=this['editor']['plugins']['get']('SlashCommandConfig')['getAllowedCommands']();if(_0x51a438=_0x51a438['filter'](_0x42013f=>_0x42013f['isEnabled']()),_0x10b14e){const _0x2f8420=[],_0x6e295e=[],_0x870e81=[],_0x5d5fb7=[];for(const _0x33f0ae of _0x51a438)_0x33f0ae['id']['toLowerCase']()['includes'](_0x10b14e)?_0x2f8420['push'](_0x33f0ae):_0x33f0ae['title']['toLowerCase']()['includes'](_0x10b14e)?_0x6e295e['push'](_0x33f0ae):_0x33f0ae['aliases']&&_0x33f0ae['aliases']['some'](_0x47ed22=>_0x47ed22['toLowerCase']()['includes'](_0x10b14e))?_0x870e81['push'](_0x33f0ae):_0x33f0ae['description']&&_0x33f0ae['description']['toLowerCase']()['includes'](_0x10b14e)&&_0x5d5fb7['push'](_0x33f0ae);_0x51a438=_0x2f8420['concat'](_0x6e295e,_0x870e81,_0x5d5fb7);}return _0x51a438;}}class SlashCommandButtonView extends ckeditor5['ButtonView']{constructor(_0x37ed54,_0x2ecf0d){super(_0x37ed54),this['textPartView']=this['_createTextPartView'](_0x37ed54,_0x2ecf0d),void 0x0!==_0x2ecf0d['isIconColorInherited']&&(this['iconView']['isColorInherited']=_0x2ecf0d['isIconColorInherited']),this['set']({'icon':_0x2ecf0d['icon']||ckeditor5['IconPlay'],'withText':!0x0,'label':_0x2ecf0d['title'],'class':'ck-slash-command-button'});}['render'](){super['render'](),this['children']['add'](this['textPartView']);}['_createTextPartView'](_0x223958,_0x3ae7e3){const _0x36127f=new ckeditor5['View'](_0x223958);return _0x36127f['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-slash-command-button__text-part']},'children':_0x3ae7e3['description']?[this['labelView'],{'tag':'span','attributes':{'class':['ck','ck-slash-command-button__description']},'children':[{'text':_0x3ae7e3['description']}]}]:[this['labelView']]}),_0x36127f;}}class _0x4994f8 extends ckeditor5['Plugin']{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'SlashCommandUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x2d8d34){super(_0x2d8d34),this['_setupMentionConfiguration']();}['init'](){this['editor']['once']('ready',this['_overrideMentionExecuteListener']['bind'](this)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x556983=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x4d221e;for(const _0x1995d1 in _0x556983){const _0x106d26=_0x1995d1,_0x5cc16c=_0x556983[_0x106d26];if('slashCommandLicenseKeyValid'==_0x5cc16c||'slashCommandLicenseKeyInvalid'==_0x5cc16c||'slashCommandLicenseKeyExpired'==_0x5cc16c||'slashCommandLicenseKeyDomainLimit'==_0x5cc16c||'slashCommandLicenseKeyNotAllowed'==_0x5cc16c||'slashCommandLicenseKeyEvaluationLimit'==_0x5cc16c||'slashCommandLicenseKeyTrialLimit'==_0x5cc16c||'slashCommandLicenseKeyUsageLimit'==_0x5cc16c){delete _0x556983[_0x106d26],_0x4d221e=_0x5cc16c,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'slashCommandLicenseKeyInvalid'==_0x4d221e&&_0x556983['_showLicenseError']('invalid'),'slashCommandLicenseKeyExpired'==_0x4d221e&&_0x556983['_showLicenseError']('expired'),'slashCommandLicenseKeyDomainLimit'==_0x4d221e&&_0x556983['_showLicenseError']('domainLimit'),'slashCommandLicenseKeyNotAllowed'==_0x4d221e&&_0x556983['_showLicenseError']('featureNotAllowed','SlashCommand'),'slashCommandLicenseKeyEvaluationLimit'==_0x4d221e&&_0x556983['_showLicenseError']('evaluationLimit'),'slashCommandLicenseKeyTrialLimit'==_0x4d221e&&_0x556983['_showLicenseError']('trialLimit'),'slashCommandLicenseKeyUsageLimit'==_0x4d221e&&_0x556983['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_setupMentionConfiguration'](){const _0x1070b1=this['editor'],_0x536560=this['editor']['plugins']['get']('SlashCommandEditing'),_0x211755=_0x1070b1['config']['get']('mention.feeds');_0x211755['push']({'marker':'/','feed':_0x1b7076=>_0x536560['getMatchingCommands'](_0x1b7076),'itemRenderer':this['_customItemRenderer']['bind'](this),'dropdownLimit':_0x1070b1['config']['get']('slashCommand.dropdownLimit')||0x1/0x0}),_0x1070b1['config']['set']('mention.feeds',_0x211755);}['_overrideMentionExecuteListener'](){const _0x2ef1ba=this['editor'];_0x2ef1ba['commands']['get']('mention')['on']('execute',(_0x367036,_0x204807)=>{const _0x2bca3d=_0x204807[0x0],_0xf57aa0=_0x2ef1ba['model'];'/'===_0x2bca3d['marker']&&_0xf57aa0['change'](_0x32fb76=>{_0x32fb76['remove'](_0x2bca3d['range']),_0x2bca3d['mention']['execute'](),_0x367036['stop']();});},{'priority':'high'});}['_customItemRenderer'](_0x5875c){const _0x357863=this['editor']['locale'],_0x12b65d=new SlashCommandButtonView(_0x357863,_0x5875c);return _0x12b65d['render'](),_0x12b65d['element'];}}class _0x599882 extends ckeditor5['Plugin']{static get['requires'](){return['Mention',SlashCommandEditing,_0x4994f8];}static get['pluginName'](){return'SlashCommand';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}function getTranslation$3(_0x212e8e,_0x3b7f7b){const t=_0x212e8e['t'];switch(_0x3b7f7b){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 _0x3b7f7b;}}function getActiveRootName(_0x42c358){const _0x3e2d1e=_0x42c358['editing']['view']['document']['roots'],_0x591a7f=_0x3e2d1e['length'];if(0x0===_0x591a7f)throw new ckeditor5['CKEditorError']('source-editing-enhanced-editor-no-root',_0x42c358);if(0x1===_0x591a7f)return _0x3e2d1e['first']['rootName'];return Array['from'](_0x42c358['editing']['view']['document']['selection']['getRanges']())[0x0]['root']['rootName'];}function formatSource(_0x39465f){return isHtml(_0x39465f)?ckeditor5['formatHtml'](_0x39465f):_0x39465f;}function unformatSource(_0x76ab5c){return isHtml(_0x76ab5c['replace'](/^[\n\s]*/g,''))?_0x76ab5c['replace'](/\s+/g,''):_0x76ab5c;}function isHtml(_0x4b86d9){return _0x4b86d9['startsWith']('<');}let _0x3cf084=[],_0x1aae63=[];function isExtendingChar(_0x114411){if(_0x114411<0x300)return!0x1;for(let _0x10c5df=0x0,_0x328f4f=_0x3cf084['length'];;){let _0xe4ece1=_0x10c5df+_0x328f4f>>0x1;if(_0x114411<_0x3cf084[_0xe4ece1])_0x328f4f=_0xe4ece1;else{if(!(_0x114411>=_0x1aae63[_0xe4ece1]))return!0x0;_0x10c5df=_0xe4ece1+0x1;}if(_0x10c5df==_0x328f4f)return!0x1;}}function isRegionalIndicator(_0x1a992c){return _0x1a992c>=0x1f1e6&&_0x1a992c<=0x1f1ff;}((()=>{let _0x582f57='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'](_0x4ff8e5=>_0x4ff8e5?parseInt(_0x4ff8e5,0x24):0x1);for(let _0x481764=0x0,_0x1d6f02=0x0;_0x481764<_0x582f57['length'];_0x481764++)(_0x481764%0x2?_0x1aae63:_0x3cf084)['push'](_0x1d6f02+=_0x582f57[_0x481764]);})());const _0x25383f=0x200d;function findClusterBreak$1(_0x173a23,_0x5c3ada,_0x47f8d8=!0x0,_0x47d418=!0x0){return(_0x47f8d8?nextClusterBreak:prevClusterBreak)(_0x173a23,_0x5c3ada,_0x47d418);}function nextClusterBreak(_0x94448e,_0x26d58e,_0x500ac7){if(_0x26d58e==_0x94448e['length'])return _0x26d58e;_0x26d58e&&surrogateLow$1(_0x94448e['charCodeAt'](_0x26d58e))&&surrogateHigh$1(_0x94448e['charCodeAt'](_0x26d58e-0x1))&&_0x26d58e--;let _0x411500=codePointAt$1(_0x94448e,_0x26d58e);for(_0x26d58e+=codePointSize$1(_0x411500);_0x26d58e<_0x94448e['length'];){let _0x78d070=codePointAt$1(_0x94448e,_0x26d58e);if(_0x411500==_0x25383f||_0x78d070==_0x25383f||_0x500ac7&&isExtendingChar(_0x78d070))_0x26d58e+=codePointSize$1(_0x78d070),_0x411500=_0x78d070;else{if(!isRegionalIndicator(_0x78d070))break;{let _0x2245ad=0x0,_0x570da5=_0x26d58e-0x2;for(;_0x570da5>=0x0&&isRegionalIndicator(codePointAt$1(_0x94448e,_0x570da5));)_0x2245ad++,_0x570da5-=0x2;if(_0x2245ad%0x2==0x0)break;_0x26d58e+=0x2;}}}return _0x26d58e;}function prevClusterBreak(_0x2afb38,_0x5528f8,_0x162574){for(;_0x5528f8>0x0;){let _0x343531=nextClusterBreak(_0x2afb38,_0x5528f8-0x2,_0x162574);if(_0x343531<_0x5528f8)return _0x343531;_0x5528f8--;}return 0x0;}function codePointAt$1(_0x31d8f7,_0x37132a){let _0x21b6c9=_0x31d8f7['charCodeAt'](_0x37132a);if(!surrogateHigh$1(_0x21b6c9)||_0x37132a+0x1==_0x31d8f7['length'])return _0x21b6c9;let _0x4036de=_0x31d8f7['charCodeAt'](_0x37132a+0x1);return surrogateLow$1(_0x4036de)?_0x4036de-0xdc00+(_0x21b6c9-0xd800<<0xa)+0x10000:_0x21b6c9;}function surrogateLow$1(_0x25a8ee){return _0x25a8ee>=0xdc00&&_0x25a8ee<0xe000;}function surrogateHigh$1(_0x55921b){return _0x55921b>=0xd800&&_0x55921b<0xdc00;}function codePointSize$1(_0x37f0b6){return _0x37f0b6<0x10000?0x1:0x2;}class Text{['lineAt'](_0x44c621){if(_0x44c621<0x0||_0x44c621>this['length'])throw new RangeError('Invalid\x20position\x20'+_0x44c621+'\x20in\x20document\x20of\x20length\x20'+this['length']);return this['lineInner'](_0x44c621,!0x1,0x1,0x0);}['line'](_0x34fea6){if(_0x34fea6<0x1||_0x34fea6>this['lines'])throw new RangeError('Invalid\x20line\x20number\x20'+_0x34fea6+'\x20in\x20'+this['lines']+'-line\x20document');return this['lineInner'](_0x34fea6,!0x0,0x1,0x0);}['replace'](_0xf6e5eb,_0x41445a,_0x47a364){[_0xf6e5eb,_0x41445a]=_0x43c8af(this,_0xf6e5eb,_0x41445a);let _0x171fa4=[];return this['decompose'](0x0,_0xf6e5eb,_0x171fa4,0x2),_0x47a364['length']&&_0x47a364['decompose'](0x0,_0x47a364['length'],_0x171fa4,0x3),this['decompose'](_0x41445a,this['length'],_0x171fa4,0x1),TextNode['from'](_0x171fa4,this['length']-(_0x41445a-_0xf6e5eb)+_0x47a364['length']);}['append'](_0x33ce10){return this['replace'](this['length'],this['length'],_0x33ce10);}['slice'](_0xac9c74,_0x591136=this['length']){[_0xac9c74,_0x591136]=_0x43c8af(this,_0xac9c74,_0x591136);let _0x2fd770=[];return this['decompose'](_0xac9c74,_0x591136,_0x2fd770,0x0),TextNode['from'](_0x2fd770,_0x591136-_0xac9c74);}['eq'](_0x4e439f){if(_0x4e439f==this)return!0x0;if(_0x4e439f['length']!=this['length']||_0x4e439f['lines']!=this['lines'])return!0x1;let _0x2a4982=this['scanIdentical'](_0x4e439f,0x1),_0x128f19=this['length']-this['scanIdentical'](_0x4e439f,-0x1),_0x563ce4=new RawTextCursor(this),_0x22c5c0=new RawTextCursor(_0x4e439f);for(let _0x4b8999=_0x2a4982,_0x52e213=_0x2a4982;;){if(_0x563ce4['next'](_0x4b8999),_0x22c5c0['next'](_0x4b8999),_0x4b8999=0x0,_0x563ce4['lineBreak']!=_0x22c5c0['lineBreak']||_0x563ce4['done']!=_0x22c5c0['done']||_0x563ce4['value']!=_0x22c5c0['value'])return!0x1;if(_0x52e213+=_0x563ce4['value']['length'],_0x563ce4['done']||_0x52e213>=_0x128f19)return!0x0;}}['iter'](_0x438cd6=0x1){return new RawTextCursor(this,_0x438cd6);}['iterRange'](_0x3c6c81,_0x9d7cd2=this['length']){return new PartialTextCursor(this,_0x3c6c81,_0x9d7cd2);}['iterLines'](_0x2d65fa,_0x2575a5){let _0x3e97f8;if(null==_0x2d65fa)_0x3e97f8=this['iter']();else{null==_0x2575a5&&(_0x2575a5=this['lines']+0x1);let _0x5ba456=this['line'](_0x2d65fa)['from'];_0x3e97f8=this['iterRange'](_0x5ba456,Math['max'](_0x5ba456,_0x2575a5==this['lines']+0x1?this['length']:_0x2575a5<=0x1?0x0:this['line'](_0x2575a5-0x1)['to']));}return new _0x3aeca7(_0x3e97f8);}['toString'](){return this['sliceString'](0x0);}['toJSON'](){let _0x13ecb2=[];return this['flatten'](_0x13ecb2),_0x13ecb2;}constructor(){}static['of'](_0x502fde){if(0x0==_0x502fde['length'])throw new RangeError('A\x20document\x20must\x20have\x20at\x20least\x20one\x20line');return 0x1!=_0x502fde['length']||_0x502fde[0x0]?_0x502fde['length']<=0x20?new TextLeaf(_0x502fde):TextNode['from'](TextLeaf['split'](_0x502fde,[])):Text['empty'];}}class TextLeaf extends Text{constructor(_0x1e7823,_0x5995e8=textLength(_0x1e7823)){super(),this['text']=_0x1e7823,this['length']=_0x5995e8;}get['lines'](){return this['text']['length'];}get['children'](){return null;}['lineInner'](_0xf8f82b,_0x2c74b5,_0xb304d4,_0x56e8a9){for(let _0x18b968=0x0;;_0x18b968++){let _0xff56f5=this['text'][_0x18b968],_0x3e0635=_0x56e8a9+_0xff56f5['length'];if((_0x2c74b5?_0xb304d4:_0x3e0635)>=_0xf8f82b)return new _0x2109cf(_0x56e8a9,_0x3e0635,_0xb304d4,_0xff56f5);_0x56e8a9=_0x3e0635+0x1,_0xb304d4++;}}['decompose'](_0x28ac2a,_0x285aac,_0x21012,_0x36177e){let _0xd137f=_0x28ac2a<=0x0&&_0x285aac>=this['length']?this:new TextLeaf(sliceText(this['text'],_0x28ac2a,_0x285aac),Math['min'](_0x285aac,this['length'])-Math['max'](0x0,_0x28ac2a));if(0x1&_0x36177e){let _0xe9da99=_0x21012['pop'](),_0x16cd12=appendText(_0xd137f['text'],_0xe9da99['text']['slice'](),0x0,_0xd137f['length']);if(_0x16cd12['length']<=0x20)_0x21012['push'](new TextLeaf(_0x16cd12,_0xe9da99['length']+_0xd137f['length']));else{let _0xed20a4=_0x16cd12['length']>>0x1;_0x21012['push'](new TextLeaf(_0x16cd12['slice'](0x0,_0xed20a4)),new TextLeaf(_0x16cd12['slice'](_0xed20a4)));}}else _0x21012['push'](_0xd137f);}['replace'](_0x3559a9,_0x3ddcc3,_0x47b1f6){if(!(_0x47b1f6 instanceof TextLeaf))return super['replace'](_0x3559a9,_0x3ddcc3,_0x47b1f6);[_0x3559a9,_0x3ddcc3]=_0x43c8af(this,_0x3559a9,_0x3ddcc3);let _0x49e5eb=appendText(this['text'],appendText(_0x47b1f6['text'],sliceText(this['text'],0x0,_0x3559a9)),_0x3ddcc3),_0x20d389=this['length']+_0x47b1f6['length']-(_0x3ddcc3-_0x3559a9);return _0x49e5eb['length']<=0x20?new TextLeaf(_0x49e5eb,_0x20d389):TextNode['from'](TextLeaf['split'](_0x49e5eb,[]),_0x20d389);}['sliceString'](_0x490386,_0x4b082b=this['length'],_0x3bc4ea='\x0a'){[_0x490386,_0x4b082b]=_0x43c8af(this,_0x490386,_0x4b082b);let _0x488164='';for(let _0x48b0c3=0x0,_0x26cdf3=0x0;_0x48b0c3<=_0x4b082b&&_0x26cdf3<this['text']['length'];_0x26cdf3++){let _0x365c83=this['text'][_0x26cdf3],_0x3fc07b=_0x48b0c3+_0x365c83['length'];_0x48b0c3>_0x490386&&_0x26cdf3&&(_0x488164+=_0x3bc4ea),_0x490386<_0x3fc07b&&_0x4b082b>_0x48b0c3&&(_0x488164+=_0x365c83['slice'](Math['max'](0x0,_0x490386-_0x48b0c3),_0x4b082b-_0x48b0c3)),_0x48b0c3=_0x3fc07b+0x1;}return _0x488164;}['flatten'](_0x2d5d1e){for(let _0x563ac0 of this['text'])_0x2d5d1e['push'](_0x563ac0);}['scanIdentical'](){return 0x0;}static['split'](_0x1f2f52,_0x364966){let _0x3a32b7=[],_0x3a24f8=-0x1;for(let _0x2cbb2f of _0x1f2f52)_0x3a32b7['push'](_0x2cbb2f),_0x3a24f8+=_0x2cbb2f['length']+0x1,0x20==_0x3a32b7['length']&&(_0x364966['push'](new TextLeaf(_0x3a32b7,_0x3a24f8)),_0x3a32b7=[],_0x3a24f8=-0x1);return _0x3a24f8>-0x1&&_0x364966['push'](new TextLeaf(_0x3a32b7,_0x3a24f8)),_0x364966;}}class TextNode extends Text{constructor(_0x400b8c,_0x28454e){super(),this['children']=_0x400b8c,this['length']=_0x28454e,this['lines']=0x0;for(let _0x23c0ef of _0x400b8c)this['lines']+=_0x23c0ef['lines'];}['lineInner'](_0x56031b,_0x53c675,_0x2c652f,_0x4aa851){for(let _0x179d4c=0x0;;_0x179d4c++){let _0x3fbb14=this['children'][_0x179d4c],_0x548b86=_0x4aa851+_0x3fbb14['length'],_0x536959=_0x2c652f+_0x3fbb14['lines']-0x1;if((_0x53c675?_0x536959:_0x548b86)>=_0x56031b)return _0x3fbb14['lineInner'](_0x56031b,_0x53c675,_0x2c652f,_0x4aa851);_0x4aa851=_0x548b86+0x1,_0x2c652f=_0x536959+0x1;}}['decompose'](_0x19c304,_0x1b84ea,_0x2e5f61,_0x365a0b){for(let _0x16281a=0x0,_0x3b37e5=0x0;_0x3b37e5<=_0x1b84ea&&_0x16281a<this['children']['length'];_0x16281a++){let _0x3fd05e=this['children'][_0x16281a],_0x3a02a9=_0x3b37e5+_0x3fd05e['length'];if(_0x19c304<=_0x3a02a9&&_0x1b84ea>=_0x3b37e5){let _0x1cd5ff=_0x365a0b&((_0x3b37e5<=_0x19c304?0x1:0x0)|(_0x3a02a9>=_0x1b84ea?0x2:0x0));_0x3b37e5>=_0x19c304&&_0x3a02a9<=_0x1b84ea&&!_0x1cd5ff?_0x2e5f61['push'](_0x3fd05e):_0x3fd05e['decompose'](_0x19c304-_0x3b37e5,_0x1b84ea-_0x3b37e5,_0x2e5f61,_0x1cd5ff);}_0x3b37e5=_0x3a02a9+0x1;}}['replace'](_0x5ec732,_0x2c5a13,_0x447235){if([_0x5ec732,_0x2c5a13]=_0x43c8af(this,_0x5ec732,_0x2c5a13),_0x447235['lines']<this['lines'])for(let _0x556589=0x0,_0x550ee2=0x0;_0x556589<this['children']['length'];_0x556589++){let _0x1fd26a=this['children'][_0x556589],_0x9fb731=_0x550ee2+_0x1fd26a['length'];if(_0x5ec732>=_0x550ee2&&_0x2c5a13<=_0x9fb731){let _0x220cda=_0x1fd26a['replace'](_0x5ec732-_0x550ee2,_0x2c5a13-_0x550ee2,_0x447235),_0x3b7e71=this['lines']-_0x1fd26a['lines']+_0x220cda['lines'];if(_0x220cda['lines']<_0x3b7e71>>0x4&&_0x220cda['lines']>_0x3b7e71>>0x6){let _0xf1ce6d=this['children']['slice']();return _0xf1ce6d[_0x556589]=_0x220cda,new TextNode(_0xf1ce6d,this['length']-(_0x2c5a13-_0x5ec732)+_0x447235['length']);}return super['replace'](_0x550ee2,_0x9fb731,_0x220cda);}_0x550ee2=_0x9fb731+0x1;}return super['replace'](_0x5ec732,_0x2c5a13,_0x447235);}['sliceString'](_0x1027cd,_0xb907ab=this['length'],_0x4b0ac5='\x0a'){[_0x1027cd,_0xb907ab]=_0x43c8af(this,_0x1027cd,_0xb907ab);let _0x21476b='';for(let _0x5788dd=0x0,_0x205d5e=0x0;_0x5788dd<this['children']['length']&&_0x205d5e<=_0xb907ab;_0x5788dd++){let _0x2cadd5=this['children'][_0x5788dd],_0x4bc50b=_0x205d5e+_0x2cadd5['length'];_0x205d5e>_0x1027cd&&_0x5788dd&&(_0x21476b+=_0x4b0ac5),_0x1027cd<_0x4bc50b&&_0xb907ab>_0x205d5e&&(_0x21476b+=_0x2cadd5['sliceString'](_0x1027cd-_0x205d5e,_0xb907ab-_0x205d5e,_0x4b0ac5)),_0x205d5e=_0x4bc50b+0x1;}return _0x21476b;}['flatten'](_0x49c4d2){for(let _0x1d6523 of this['children'])_0x1d6523['flatten'](_0x49c4d2);}['scanIdentical'](_0xd26f3c,_0x566606){if(!(_0xd26f3c instanceof TextNode))return 0x0;let _0x37c501=0x0,[_0x556931,_0x15b812,_0x50e7bf,_0x2a473b]=_0x566606>0x0?[0x0,0x0,this['children']['length'],_0xd26f3c['children']['length']]:[this['children']['length']-0x1,_0xd26f3c['children']['length']-0x1,-0x1,-0x1];for(;;_0x556931+=_0x566606,_0x15b812+=_0x566606){if(_0x556931==_0x50e7bf||_0x15b812==_0x2a473b)return _0x37c501;let _0x5481dc=this['children'][_0x556931],_0xe0ea53=_0xd26f3c['children'][_0x15b812];if(_0x5481dc!=_0xe0ea53)return _0x37c501+_0x5481dc['scanIdentical'](_0xe0ea53,_0x566606);_0x37c501+=_0x5481dc['length']+0x1;}}static['from'](_0x48e0f7,_0x4b7450=_0x48e0f7['reduce']((_0x503e05,_0x29f127)=>_0x503e05+_0x29f127['length']+0x1,-0x1)){let _0x3d6a1d=0x0;for(let _0xf790cf of _0x48e0f7)_0x3d6a1d+=_0xf790cf['lines'];if(_0x3d6a1d<0x20){let _0x510b8b=[];for(let _0xe8cd1b of _0x48e0f7)_0xe8cd1b['flatten'](_0x510b8b);return new TextLeaf(_0x510b8b,_0x4b7450);}let _0x2f2302=Math['max'](0x20,_0x3d6a1d>>0x5),_0x1d8895=_0x2f2302<<0x1,_0x293763=_0x2f2302>>0x1,_0x2d70d8=[],_0x37e0c=0x0,_0x137882=-0x1,_0x227987=[];function _0x26ca14(_0x5cc61b){let _0x3e3c66;if(_0x5cc61b['lines']>_0x1d8895&&_0x5cc61b instanceof TextNode){for(let _0x480f60 of _0x5cc61b['children'])_0x26ca14(_0x480f60);}else _0x5cc61b['lines']>_0x293763&&(_0x37e0c>_0x293763||!_0x37e0c)?(_0x1569ae(),_0x2d70d8['push'](_0x5cc61b)):_0x5cc61b instanceof TextLeaf&&_0x37e0c&&(_0x3e3c66=_0x227987[_0x227987['length']-0x1])instanceof TextLeaf&&_0x5cc61b['lines']+_0x3e3c66['lines']<=0x20?(_0x37e0c+=_0x5cc61b['lines'],_0x137882+=_0x5cc61b['length']+0x1,_0x227987[_0x227987['length']-0x1]=new TextLeaf(_0x3e3c66['text']['concat'](_0x5cc61b['text']),_0x3e3c66['length']+0x1+_0x5cc61b['length'])):(_0x37e0c+_0x5cc61b['lines']>_0x2f2302&&_0x1569ae(),_0x37e0c+=_0x5cc61b['lines'],_0x137882+=_0x5cc61b['length']+0x1,_0x227987['push'](_0x5cc61b));}function _0x1569ae(){0x0!=_0x37e0c&&(_0x2d70d8['push'](0x1==_0x227987['length']?_0x227987[0x0]:TextNode['from'](_0x227987,_0x137882)),_0x137882=-0x1,_0x37e0c=_0x227987['length']=0x0);}for(let _0x3a4fb9 of _0x48e0f7)_0x26ca14(_0x3a4fb9);return _0x1569ae(),0x1==_0x2d70d8['length']?_0x2d70d8[0x0]:new TextNode(_0x2d70d8,_0x4b7450);}}function textLength(_0x33cbbc){let _0x59e3d4=-0x1;for(let _0x5ca4c9 of _0x33cbbc)_0x59e3d4+=_0x5ca4c9['length']+0x1;return _0x59e3d4;}function appendText(_0x54202c,_0x545aaf,_0x17e9ef=0x0,_0x55db7b=0x3b9aca00){for(let _0x258e82=0x0,_0x4d5c0a=0x0,_0x379aec=!0x0;_0x4d5c0a<_0x54202c['length']&&_0x258e82<=_0x55db7b;_0x4d5c0a++){let _0x33656a=_0x54202c[_0x4d5c0a],_0xb7b769=_0x258e82+_0x33656a['length'];_0xb7b769>=_0x17e9ef&&(_0xb7b769>_0x55db7b&&(_0x33656a=_0x33656a['slice'](0x0,_0x55db7b-_0x258e82)),_0x258e82<_0x17e9ef&&(_0x33656a=_0x33656a['slice'](_0x17e9ef-_0x258e82)),_0x379aec?(_0x545aaf[_0x545aaf['length']-0x1]+=_0x33656a,_0x379aec=!0x1):_0x545aaf['push'](_0x33656a)),_0x258e82=_0xb7b769+0x1;}return _0x545aaf;}function sliceText(_0x4bed71,_0x4f1d8d,_0xe73715){return appendText(_0x4bed71,[''],_0x4f1d8d,_0xe73715);}Text['empty']=new TextLeaf([''],0x0);class RawTextCursor{constructor(_0x13210e,_0x5755d8=0x1){this['dir']=_0x5755d8,this['done']=!0x1,this['lineBreak']=!0x1,this['value']='',this['nodes']=[_0x13210e],this['offsets']=[_0x5755d8>0x0?0x1:(_0x13210e instanceof TextLeaf?_0x13210e['text']['length']:_0x13210e['children']['length'])<<0x1];}['nextInner'](_0x3ff663,_0x86fc6c){for(this['done']=this['lineBreak']=!0x1;;){let _0x467242=this['nodes']['length']-0x1,_0x27e541=this['nodes'][_0x467242],_0x2dc855=this['offsets'][_0x467242],_0x57c892=_0x2dc855>>0x1,_0x1dfc28=_0x27e541 instanceof TextLeaf?_0x27e541['text']['length']:_0x27e541['children']['length'];if(_0x57c892==(_0x86fc6c>0x0?_0x1dfc28:0x0)){if(0x0==_0x467242)return this['done']=!0x0,this['value']='',this;_0x86fc6c>0x0&&this['offsets'][_0x467242-0x1]++,this['nodes']['pop'](),this['offsets']['pop']();}else{if((0x1&_0x2dc855)==(_0x86fc6c>0x0?0x0:0x1)){if(this['offsets'][_0x467242]+=_0x86fc6c,0x0==_0x3ff663)return this['lineBreak']=!0x0,this['value']='\x0a',this;_0x3ff663--;}else{if(_0x27e541 instanceof TextLeaf){let _0x41b297=_0x27e541['text'][_0x57c892+(_0x86fc6c<0x0?-0x1:0x0)];if(this['offsets'][_0x467242]+=_0x86fc6c,_0x41b297['length']>Math['max'](0x0,_0x3ff663))return this['value']=0x0==_0x3ff663?_0x41b297:_0x86fc6c>0x0?_0x41b297['slice'](_0x3ff663):_0x41b297['slice'](0x0,_0x41b297['length']-_0x3ff663),this;_0x3ff663-=_0x41b297['length'];}else{let _0x38b623=_0x27e541['children'][_0x57c892+(_0x86fc6c<0x0?-0x1:0x0)];_0x3ff663>_0x38b623['length']?(_0x3ff663-=_0x38b623['length'],this['offsets'][_0x467242]+=_0x86fc6c):(_0x86fc6c<0x0&&this['offsets'][_0x467242]--,this['nodes']['push'](_0x38b623),this['offsets']['push'](_0x86fc6c>0x0?0x1:(_0x38b623 instanceof TextLeaf?_0x38b623['text']['length']:_0x38b623['children']['length'])<<0x1));}}}}}['next'](_0x38d289=0x0){return _0x38d289<0x0&&(this['nextInner'](-_0x38d289,-this['dir']),_0x38d289=this['value']['length']),this['nextInner'](_0x38d289,this['dir']);}}class PartialTextCursor{constructor(_0x42d8a1,_0x257876,_0x24c50d){this['value']='',this['done']=!0x1,this['cursor']=new RawTextCursor(_0x42d8a1,_0x257876>_0x24c50d?-0x1:0x1),this['pos']=_0x257876>_0x24c50d?_0x42d8a1['length']:0x0,this['from']=Math['min'](_0x257876,_0x24c50d),this['to']=Math['max'](_0x257876,_0x24c50d);}['nextInner'](_0x52a853,_0x34debe){if(_0x34debe<0x0?this['pos']<=this['from']:this['pos']>=this['to'])return this['value']='',this['done']=!0x0,this;_0x52a853+=Math['max'](0x0,_0x34debe<0x0?this['pos']-this['to']:this['from']-this['pos']);let _0x29ffc8=_0x34debe<0x0?this['pos']-this['from']:this['to']-this['pos'];_0x52a853>_0x29ffc8&&(_0x52a853=_0x29ffc8),_0x29ffc8-=_0x52a853;let {value:_0x5d646a}=this['cursor']['next'](_0x52a853);return this['pos']+=(_0x5d646a['length']+_0x52a853)*_0x34debe,this['value']=_0x5d646a['length']<=_0x29ffc8?_0x5d646a:_0x34debe<0x0?_0x5d646a['slice'](_0x5d646a['length']-_0x29ffc8):_0x5d646a['slice'](0x0,_0x29ffc8),this['done']=!this['value'],this;}['next'](_0x42d779=0x0){return _0x42d779<0x0?_0x42d779=Math['max'](_0x42d779,this['from']-this['pos']):_0x42d779>0x0&&(_0x42d779=Math['min'](_0x42d779,this['to']-this['pos'])),this['nextInner'](_0x42d779,this['cursor']['dir']);}get['lineBreak'](){return this['cursor']['lineBreak']&&''!=this['value'];}}class _0x3aeca7{constructor(_0x17b137){this['inner']=_0x17b137,this['afterBreak']=!0x0,this['value']='',this['done']=!0x1;}['next'](_0x1cd5c9=0x0){let {done:_0x581496,lineBreak:_0x50ea33,value:_0x3aaa57}=this['inner']['next'](_0x1cd5c9);return _0x581496&&this['afterBreak']?(this['value']='',this['afterBreak']=!0x1):_0x581496?(this['done']=!0x0,this['value']=''):_0x50ea33?this['afterBreak']?this['value']='':(this['afterBreak']=!0x0,this['next']()):(this['value']=_0x3aaa57,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']]=_0x3aeca7['prototype'][Symbol['iterator']]=function(){return this;});let _0x2109cf=class{constructor(_0x364e5d,_0x569013,_0x4e224d,_0x177baf){this['from']=_0x364e5d,this['to']=_0x569013,this['number']=_0x4e224d,this['text']=_0x177baf;}get['length'](){return this['to']-this['from'];}};function _0x43c8af(_0x5f0570,_0x18230d,_0x485367){return[_0x18230d=Math['max'](0x0,Math['min'](_0x5f0570['length'],_0x18230d)),Math['max'](_0x18230d,Math['min'](_0x5f0570['length'],_0x485367))];}function findClusterBreak(_0x3b8163,_0x54f78a,_0x232d35=!0x0,_0x4dbdd2=!0x0){return findClusterBreak$1(_0x3b8163,_0x54f78a,_0x232d35,_0x4dbdd2);}function surrogateLow(_0x5570fa){return _0x5570fa>=0xdc00&&_0x5570fa<0xe000;}function surrogateHigh(_0xa54df7){return _0xa54df7>=0xd800&&_0xa54df7<0xdc00;}function codePointAt(_0x3d84f4,_0x31cda6){let _0x41485e=_0x3d84f4['charCodeAt'](_0x31cda6);if(!surrogateHigh(_0x41485e)||_0x31cda6+0x1==_0x3d84f4['length'])return _0x41485e;let _0x278b57=_0x3d84f4['charCodeAt'](_0x31cda6+0x1);return surrogateLow(_0x278b57)?_0x278b57-0xdc00+(_0x41485e-0xd800<<0xa)+0x10000:_0x41485e;}function fromCodePoint(_0xd10012){return _0xd10012<=0xffff?String['fromCharCode'](_0xd10012):(_0xd10012-=0x10000,String['fromCharCode'](0xd800+(_0xd10012>>0xa),0xdc00+(0x3ff&_0xd10012)));}function codePointSize(_0x1d7b1e){return _0x1d7b1e<0x10000?0x1:0x2;}const DefaultSplit=/\r\n?|\n/;var _0x1fe232=function(_0x573e26){return _0x573e26[_0x573e26['Simple']=0x0]='Simple',_0x573e26[_0x573e26['TrackDel']=0x1]='TrackDel',_0x573e26[_0x573e26['TrackBefore']=0x2]='TrackBefore',_0x573e26[_0x573e26['TrackAfter']=0x3]='TrackAfter',_0x573e26;}(_0x1fe232||(_0x1fe232={}));class _0x4a9b75{constructor(_0x168bd0){this['sections']=_0x168bd0;}get['length'](){let _0x1c51e9=0x0;for(let _0x560e47=0x0;_0x560e47<this['sections']['length'];_0x560e47+=0x2)_0x1c51e9+=this['sections'][_0x560e47];return _0x1c51e9;}get['newLength'](){let _0x3b6723=0x0;for(let _0x2da99e=0x0;_0x2da99e<this['sections']['length'];_0x2da99e+=0x2){let _0x34ba1a=this['sections'][_0x2da99e+0x1];_0x3b6723+=_0x34ba1a<0x0?this['sections'][_0x2da99e]:_0x34ba1a;}return _0x3b6723;}get['empty'](){return 0x0==this['sections']['length']||0x2==this['sections']['length']&&this['sections'][0x1]<0x0;}['iterGaps'](_0x3afa4e){for(let _0x9f900=0x0,_0x1114f1=0x0,_0x2a0a32=0x0;_0x9f900<this['sections']['length'];){let _0x1b2883=this['sections'][_0x9f900++],_0x265b52=this['sections'][_0x9f900++];_0x265b52<0x0?(_0x3afa4e(_0x1114f1,_0x2a0a32,_0x1b2883),_0x2a0a32+=_0x1b2883):_0x2a0a32+=_0x265b52,_0x1114f1+=_0x1b2883;}}['iterChangedRanges'](_0x163a0f,_0x1b53d5=!0x1){iterChanges(this,_0x163a0f,_0x1b53d5);}get['invertedDesc'](){let _0x101a1d=[];for(let _0x101c6b=0x0;_0x101c6b<this['sections']['length'];){let _0x2a059f=this['sections'][_0x101c6b++],_0x412233=this['sections'][_0x101c6b++];_0x412233<0x0?_0x101a1d['push'](_0x2a059f,_0x412233):_0x101a1d['push'](_0x412233,_0x2a059f);}return new _0x4a9b75(_0x101a1d);}['composeDesc'](_0x16d4fd){return this['empty']?_0x16d4fd:_0x16d4fd['empty']?this:composeSets(this,_0x16d4fd);}['mapDesc'](_0x3a74bf,_0xd32edb=!0x1){return _0x3a74bf['empty']?this:mapSet(this,_0x3a74bf,_0xd32edb);}['mapPos'](_0x32fe74,_0x47407f=-0x1,_0x45adfe=_0x1fe232['Simple']){let _0x1ad26e=0x0,_0x689cae=0x0;for(let _0xa3d9bb=0x0;_0xa3d9bb<this['sections']['length'];){let _0x283b58=this['sections'][_0xa3d9bb++],_0x540782=this['sections'][_0xa3d9bb++],_0x5f482a=_0x1ad26e+_0x283b58;if(_0x540782<0x0){if(_0x5f482a>_0x32fe74)return _0x689cae+(_0x32fe74-_0x1ad26e);_0x689cae+=_0x283b58;}else{if(_0x45adfe!=_0x1fe232['Simple']&&_0x5f482a>=_0x32fe74&&(_0x45adfe==_0x1fe232['TrackDel']&&_0x1ad26e<_0x32fe74&&_0x5f482a>_0x32fe74||_0x45adfe==_0x1fe232['TrackBefore']&&_0x1ad26e<_0x32fe74||_0x45adfe==_0x1fe232['TrackAfter']&&_0x5f482a>_0x32fe74))return null;if(_0x5f482a>_0x32fe74||_0x5f482a==_0x32fe74&&_0x47407f<0x0&&!_0x283b58)return _0x32fe74==_0x1ad26e||_0x47407f<0x0?_0x689cae:_0x689cae+_0x540782;_0x689cae+=_0x540782;}_0x1ad26e=_0x5f482a;}if(_0x32fe74>_0x1ad26e)throw new RangeError('Position\x20'+_0x32fe74+'\x20is\x20out\x20of\x20range\x20for\x20changeset\x20of\x20length\x20'+_0x1ad26e);return _0x689cae;}['touchesRange'](_0x30c18f,_0x11b071=_0x30c18f){for(let _0x4b1086=0x0,_0x18b811=0x0;_0x4b1086<this['sections']['length']&&_0x18b811<=_0x11b071;){let _0x3694c5=_0x18b811+this['sections'][_0x4b1086++];if(this['sections'][_0x4b1086++]>=0x0&&_0x18b811<=_0x11b071&&_0x3694c5>=_0x30c18f)return!(_0x18b811<_0x30c18f&&_0x3694c5>_0x11b071)||'cover';_0x18b811=_0x3694c5;}return!0x1;}['toString'](){let _0x2e2276='';for(let _0x28b386=0x0;_0x28b386<this['sections']['length'];){let _0x51a5b1=this['sections'][_0x28b386++],_0x237ed5=this['sections'][_0x28b386++];_0x2e2276+=(_0x2e2276?'\x20':'')+_0x51a5b1+(_0x237ed5>=0x0?':'+_0x237ed5:'');}return _0x2e2276;}['toJSON'](){return this['sections'];}static['fromJSON'](_0x2f6eb5){if(!Array['isArray'](_0x2f6eb5)||_0x2f6eb5['length']%0x2||_0x2f6eb5['some'](_0x3a4f37=>'number'!=typeof _0x3a4f37))throw new RangeError('Invalid\x20JSON\x20representation\x20of\x20ChangeDesc');return new _0x4a9b75(_0x2f6eb5);}static['create'](_0x2eb836){return new _0x4a9b75(_0x2eb836);}}class ChangeSet extends _0x4a9b75{constructor(_0x2e291c,_0x1ddba3){super(_0x2e291c),this['inserted']=_0x1ddba3;}['apply'](_0x51efb9){if(this['length']!=_0x51efb9['length'])throw new RangeError('Applying\x20change\x20set\x20to\x20a\x20document\x20with\x20the\x20wrong\x20length');return iterChanges(this,(_0x57d8a9,_0x124099,_0x5e3f62,_0x27c28d,_0x5ef1cb)=>_0x51efb9=_0x51efb9['replace'](_0x5e3f62,_0x5e3f62+(_0x124099-_0x57d8a9),_0x5ef1cb),!0x1),_0x51efb9;}['mapDesc'](_0x4c7067,_0x1964ea=!0x1){return mapSet(this,_0x4c7067,_0x1964ea,!0x0);}['invert'](_0x380152){let _0x354936=this['sections']['slice'](),_0x1b78ce=[];for(let _0x49dbb3=0x0,_0x633f1a=0x0;_0x49dbb3<_0x354936['length'];_0x49dbb3+=0x2){let _0x569b3d=_0x354936[_0x49dbb3],_0x3a6e32=_0x354936[_0x49dbb3+0x1];if(_0x3a6e32>=0x0){_0x354936[_0x49dbb3]=_0x3a6e32,_0x354936[_0x49dbb3+0x1]=_0x569b3d;let _0x2dc850=_0x49dbb3>>0x1;for(;_0x1b78ce['length']<_0x2dc850;)_0x1b78ce['push'](Text['empty']);_0x1b78ce['push'](_0x569b3d?_0x380152['slice'](_0x633f1a,_0x633f1a+_0x569b3d):Text['empty']);}_0x633f1a+=_0x569b3d;}return new ChangeSet(_0x354936,_0x1b78ce);}['compose'](_0x2e0061){return this['empty']?_0x2e0061:_0x2e0061['empty']?this:composeSets(this,_0x2e0061,!0x0);}['map'](_0x5e2f7a,_0x538c7c=!0x1){return _0x5e2f7a['empty']?this:mapSet(this,_0x5e2f7a,_0x538c7c,!0x0);}['iterChanges'](_0x2dd46f,_0x12c63b=!0x1){iterChanges(this,_0x2dd46f,_0x12c63b);}get['desc'](){return _0x4a9b75['create'](this['sections']);}['filter'](_0x53af66){let _0x191b13=[],_0x232533=[],_0x52ce7c=[],_0xd71689=new SectionIter(this);t:for(let _0x152e35=0x0,_0x50807e=0x0;;){let _0x379be0=_0x152e35==_0x53af66['length']?0x3b9aca00:_0x53af66[_0x152e35++];for(;_0x50807e<_0x379be0||_0x50807e==_0x379be0&&0x0==_0xd71689['len'];){if(_0xd71689['done'])break t;let _0xd58801=Math['min'](_0xd71689['len'],_0x379be0-_0x50807e);addSection(_0x52ce7c,_0xd58801,-0x1);let _0x17bff0=-0x1==_0xd71689['ins']?-0x1:0x0==_0xd71689['off']?_0xd71689['ins']:0x0;addSection(_0x191b13,_0xd58801,_0x17bff0),_0x17bff0>0x0&&addInsert(_0x232533,_0x191b13,_0xd71689['text']),_0xd71689['forward'](_0xd58801),_0x50807e+=_0xd58801;}let _0x36bfef=_0x53af66[_0x152e35++];for(;_0x50807e<_0x36bfef;){if(_0xd71689['done'])break t;let _0xb0664c=Math['min'](_0xd71689['len'],_0x36bfef-_0x50807e);addSection(_0x191b13,_0xb0664c,-0x1),addSection(_0x52ce7c,_0xb0664c,-0x1==_0xd71689['ins']?-0x1:0x0==_0xd71689['off']?_0xd71689['ins']:0x0),_0xd71689['forward'](_0xb0664c),_0x50807e+=_0xb0664c;}}return{'changes':new ChangeSet(_0x191b13,_0x232533),'filtered':_0x4a9b75['create'](_0x52ce7c)};}['toJSON'](){let _0x9c9e91=[];for(let _0x30c32b=0x0;_0x30c32b<this['sections']['length'];_0x30c32b+=0x2){let _0x3f0573=this['sections'][_0x30c32b],_0x2c7b26=this['sections'][_0x30c32b+0x1];_0x2c7b26<0x0?_0x9c9e91['push'](_0x3f0573):0x0==_0x2c7b26?_0x9c9e91['push']([_0x3f0573]):_0x9c9e91['push']([_0x3f0573]['concat'](this['inserted'][_0x30c32b>>0x1]['toJSON']()));}return _0x9c9e91;}static['of'](_0x7b67e9,_0x1960bc,_0x312990){let _0x461fd9=[],_0x23313d=[],_0x142fd4=0x0,_0x318142=null;function _0x218736(_0x211dae=!0x1){if(!_0x211dae&&!_0x461fd9['length'])return;_0x142fd4<_0x1960bc&&addSection(_0x461fd9,_0x1960bc-_0x142fd4,-0x1);let _0x5269f1=new ChangeSet(_0x461fd9,_0x23313d);_0x318142=_0x318142?_0x318142['compose'](_0x5269f1['map'](_0x318142)):_0x5269f1,_0x461fd9=[],_0x23313d=[],_0x142fd4=0x0;}return function _0x28d7d5(_0x55fe54){if(Array['isArray'](_0x55fe54)){for(let _0x356f26 of _0x55fe54)_0x28d7d5(_0x356f26);}else{if(_0x55fe54 instanceof ChangeSet){if(_0x55fe54['length']!=_0x1960bc)throw new RangeError('Mismatched\x20change\x20set\x20length\x20(got\x20'+_0x55fe54['length']+',\x20expected\x20'+_0x1960bc+')');_0x218736(),_0x318142=_0x318142?_0x318142['compose'](_0x55fe54['map'](_0x318142)):_0x55fe54;}else{let {from:_0x477ca1,to:_0x5f00ec=_0x477ca1,insert:_0x4e9ac8}=_0x55fe54;if(_0x477ca1>_0x5f00ec||_0x477ca1<0x0||_0x5f00ec>_0x1960bc)throw new RangeError('Invalid\x20change\x20range\x20'+_0x477ca1+'\x20to\x20'+_0x5f00ec+'\x20(in\x20doc\x20of\x20length\x20'+_0x1960bc+')');let _0x57bce7=_0x4e9ac8?'string'==typeof _0x4e9ac8?Text['of'](_0x4e9ac8['split'](_0x312990||DefaultSplit)):_0x4e9ac8:Text['empty'],_0x48bf55=_0x57bce7['length'];if(_0x477ca1==_0x5f00ec&&0x0==_0x48bf55)return;_0x477ca1<_0x142fd4&&_0x218736(),_0x477ca1>_0x142fd4&&addSection(_0x461fd9,_0x477ca1-_0x142fd4,-0x1),addSection(_0x461fd9,_0x5f00ec-_0x477ca1,_0x48bf55),addInsert(_0x23313d,_0x461fd9,_0x57bce7),_0x142fd4=_0x5f00ec;}}}(_0x7b67e9),_0x218736(!_0x318142),_0x318142;}static['empty'](_0x4d08f3){return new ChangeSet(_0x4d08f3?[_0x4d08f3,-0x1]:[],[]);}static['fromJSON'](_0x1eb7b0){if(!Array['isArray'](_0x1eb7b0))throw new RangeError('Invalid\x20JSON\x20representation\x20of\x20ChangeSet');let _0x563aad=[],_0x185b5a=[];for(let _0x4a28d5=0x0;_0x4a28d5<_0x1eb7b0['length'];_0x4a28d5++){let _0x524584=_0x1eb7b0[_0x4a28d5];if('number'==typeof _0x524584)_0x563aad['push'](_0x524584,-0x1);else{if(!Array['isArray'](_0x524584)||'number'!=typeof _0x524584[0x0]||_0x524584['some']((_0x492174,_0x17d958)=>_0x17d958&&'string'!=typeof _0x492174))throw new RangeError('Invalid\x20JSON\x20representation\x20of\x20ChangeSet');if(0x1==_0x524584['length'])_0x563aad['push'](_0x524584[0x0],0x0);else{for(;_0x185b5a['length']<_0x4a28d5;)_0x185b5a['push'](Text['empty']);_0x185b5a[_0x4a28d5]=Text['of'](_0x524584['slice'](0x1)),_0x563aad['push'](_0x524584[0x0],_0x185b5a[_0x4a28d5]['length']);}}}return new ChangeSet(_0x563aad,_0x185b5a);}static['createSet'](_0x2c83ff,_0x527501){return new ChangeSet(_0x2c83ff,_0x527501);}}function addSection(_0x341fdd,_0x1cd539,_0x539d87,_0x3fa47b=!0x1){if(0x0==_0x1cd539&&_0x539d87<=0x0)return;let _0x2169d3=_0x341fdd['length']-0x2;_0x2169d3>=0x0&&_0x539d87<=0x0&&_0x539d87==_0x341fdd[_0x2169d3+0x1]?_0x341fdd[_0x2169d3]+=_0x1cd539:_0x2169d3>=0x0&&0x0==_0x1cd539&&0x0==_0x341fdd[_0x2169d3]?_0x341fdd[_0x2169d3+0x1]+=_0x539d87:_0x3fa47b?(_0x341fdd[_0x2169d3]+=_0x1cd539,_0x341fdd[_0x2169d3+0x1]+=_0x539d87):_0x341fdd['push'](_0x1cd539,_0x539d87);}function addInsert(_0x1663ce,_0x4f9be8,_0x22405c){if(0x0==_0x22405c['length'])return;let _0x395b20=_0x4f9be8['length']-0x2>>0x1;if(_0x395b20<_0x1663ce['length'])_0x1663ce[_0x1663ce['length']-0x1]=_0x1663ce[_0x1663ce['length']-0x1]['append'](_0x22405c);else{for(;_0x1663ce['length']<_0x395b20;)_0x1663ce['push'](Text['empty']);_0x1663ce['push'](_0x22405c);}}function iterChanges(_0x49a215,_0x19aee9,_0x354e1f){let _0x58eb9b=_0x49a215['inserted'];for(let _0x55179e=0x0,_0x59c220=0x0,_0x45a456=0x0;_0x45a456<_0x49a215['sections']['length'];){let _0x5c07a9=_0x49a215['sections'][_0x45a456++],_0xdf7731=_0x49a215['sections'][_0x45a456++];if(_0xdf7731<0x0)_0x55179e+=_0x5c07a9,_0x59c220+=_0x5c07a9;else{let _0x1e360f=_0x55179e,_0x1a1db2=_0x59c220,_0x4c5e9d=Text['empty'];for(;_0x1e360f+=_0x5c07a9,_0x1a1db2+=_0xdf7731,_0xdf7731&&_0x58eb9b&&(_0x4c5e9d=_0x4c5e9d['append'](_0x58eb9b[_0x45a456-0x2>>0x1])),!(_0x354e1f||_0x45a456==_0x49a215['sections']['length']||_0x49a215['sections'][_0x45a456+0x1]<0x0);)_0x5c07a9=_0x49a215['sections'][_0x45a456++],_0xdf7731=_0x49a215['sections'][_0x45a456++];_0x19aee9(_0x55179e,_0x1e360f,_0x59c220,_0x1a1db2,_0x4c5e9d),_0x55179e=_0x1e360f,_0x59c220=_0x1a1db2;}}}function mapSet(_0x3538c0,_0x4268f2,_0x301966,_0x1ef7fe=!0x1){let _0x16252d=[],_0x40d5ba=_0x1ef7fe?[]:null,_0x4c7c18=new SectionIter(_0x3538c0),_0x3f73d8=new SectionIter(_0x4268f2);for(let _0x299844=-0x1;;){if(_0x4c7c18['done']&&_0x3f73d8['len']||_0x3f73d8['done']&&_0x4c7c18['len'])throw new Error('Mismatched\x20change\x20set\x20lengths');if(-0x1==_0x4c7c18['ins']&&-0x1==_0x3f73d8['ins']){let _0x2eeb77=Math['min'](_0x4c7c18['len'],_0x3f73d8['len']);addSection(_0x16252d,_0x2eeb77,-0x1),_0x4c7c18['forward'](_0x2eeb77),_0x3f73d8['forward'](_0x2eeb77);}else{if(_0x3f73d8['ins']>=0x0&&(_0x4c7c18['ins']<0x0||_0x299844==_0x4c7c18['i']||0x0==_0x4c7c18['off']&&(_0x3f73d8['len']<_0x4c7c18['len']||_0x3f73d8['len']==_0x4c7c18['len']&&!_0x301966))){let _0x3624eb=_0x3f73d8['len'];for(addSection(_0x16252d,_0x3f73d8['ins'],-0x1);_0x3624eb;){let _0x256971=Math['min'](_0x4c7c18['len'],_0x3624eb);_0x4c7c18['ins']>=0x0&&_0x299844<_0x4c7c18['i']&&_0x4c7c18['len']<=_0x256971&&(addSection(_0x16252d,0x0,_0x4c7c18['ins']),_0x40d5ba&&addInsert(_0x40d5ba,_0x16252d,_0x4c7c18['text']),_0x299844=_0x4c7c18['i']),_0x4c7c18['forward'](_0x256971),_0x3624eb-=_0x256971;}_0x3f73d8['next']();}else{if(!(_0x4c7c18['ins']>=0x0)){if(_0x4c7c18['done']&&_0x3f73d8['done'])return _0x40d5ba?ChangeSet['createSet'](_0x16252d,_0x40d5ba):_0x4a9b75['create'](_0x16252d);throw new Error('Mismatched\x20change\x20set\x20lengths');}{let _0x58e507=0x0,_0x308653=_0x4c7c18['len'];for(;_0x308653;)if(-0x1==_0x3f73d8['ins']){let _0x5375bf=Math['min'](_0x308653,_0x3f73d8['len']);_0x58e507+=_0x5375bf,_0x308653-=_0x5375bf,_0x3f73d8['forward'](_0x5375bf);}else{if(!(0x0==_0x3f73d8['ins']&&_0x3f73d8['len']<_0x308653))break;_0x308653-=_0x3f73d8['len'],_0x3f73d8['next']();}addSection(_0x16252d,_0x58e507,_0x299844<_0x4c7c18['i']?_0x4c7c18['ins']:0x0),_0x40d5ba&&_0x299844<_0x4c7c18['i']&&addInsert(_0x40d5ba,_0x16252d,_0x4c7c18['text']),_0x299844=_0x4c7c18['i'],_0x4c7c18['forward'](_0x4c7c18['len']-_0x308653);}}}}}function composeSets(_0x17129f,_0x18e9d9,_0x3b2730=!0x1){let _0x7c3580=[],_0x195169=_0x3b2730?[]:null,_0x2002f6=new SectionIter(_0x17129f),_0xc02217=new SectionIter(_0x18e9d9);for(let _0x5bf581=!0x1;;){if(_0x2002f6['done']&&_0xc02217['done'])return _0x195169?ChangeSet['createSet'](_0x7c3580,_0x195169):_0x4a9b75['create'](_0x7c3580);if(0x0==_0x2002f6['ins'])addSection(_0x7c3580,_0x2002f6['len'],0x0,_0x5bf581),_0x2002f6['next']();else{if(0x0!=_0xc02217['len']||_0xc02217['done']){if(_0x2002f6['done']||_0xc02217['done'])throw new Error('Mismatched\x20change\x20set\x20lengths');{let _0x3b0ae9=Math['min'](_0x2002f6['len2'],_0xc02217['len']),_0xd12786=_0x7c3580['length'];if(-0x1==_0x2002f6['ins']){let _0x45a638=-0x1==_0xc02217['ins']?-0x1:_0xc02217['off']?0x0:_0xc02217['ins'];addSection(_0x7c3580,_0x3b0ae9,_0x45a638,_0x5bf581),_0x195169&&_0x45a638&&addInsert(_0x195169,_0x7c3580,_0xc02217['text']);}else-0x1==_0xc02217['ins']?(addSection(_0x7c3580,_0x2002f6['off']?0x0:_0x2002f6['len'],_0x3b0ae9,_0x5bf581),_0x195169&&addInsert(_0x195169,_0x7c3580,_0x2002f6['textBit'](_0x3b0ae9))):(addSection(_0x7c3580,_0x2002f6['off']?0x0:_0x2002f6['len'],_0xc02217['off']?0x0:_0xc02217['ins'],_0x5bf581),_0x195169&&!_0xc02217['off']&&addInsert(_0x195169,_0x7c3580,_0xc02217['text']));_0x5bf581=(_0x2002f6['ins']>_0x3b0ae9||_0xc02217['ins']>=0x0&&_0xc02217['len']>_0x3b0ae9)&&(_0x5bf581||_0x7c3580['length']>_0xd12786),_0x2002f6['forward2'](_0x3b0ae9),_0xc02217['forward'](_0x3b0ae9);}}else addSection(_0x7c3580,0x0,_0xc02217['ins'],_0x5bf581),_0x195169&&addInsert(_0x195169,_0x7c3580,_0xc02217['text']),_0xc02217['next']();}}}class SectionIter{constructor(_0x11c0a5){this['set']=_0x11c0a5,this['i']=0x0,this['next']();}['next'](){let {sections:_0x205459}=this['set'];this['i']<_0x205459['length']?(this['len']=_0x205459[this['i']++],this['ins']=_0x205459[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:_0x44df98}=this['set'],_0x51603d=this['i']-0x2>>0x1;return _0x51603d>=_0x44df98['length']?Text['empty']:_0x44df98[_0x51603d];}['textBit'](_0x3730b7){let {inserted:_0x60fd39}=this['set'],_0x2efc83=this['i']-0x2>>0x1;return _0x2efc83>=_0x60fd39['length']&&!_0x3730b7?Text['empty']:_0x60fd39[_0x2efc83]['slice'](this['off'],null==_0x3730b7?void 0x0:this['off']+_0x3730b7);}['forward'](_0x55ff3f){_0x55ff3f==this['len']?this['next']():(this['len']-=_0x55ff3f,this['off']+=_0x55ff3f);}['forward2'](_0x409cb7){-0x1==this['ins']?this['forward'](_0x409cb7):_0x409cb7==this['ins']?this['next']():(this['ins']-=_0x409cb7,this['off']+=_0x409cb7);}}class SelectionRange{constructor(_0x5ad3e3,_0x20710a,_0x44f7b0){this['from']=_0x5ad3e3,this['to']=_0x20710a,this['flags']=_0x44f7b0;}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 _0x32564b=0x7&this['flags'];return 0x7==_0x32564b?null:_0x32564b;}get['goalColumn'](){let _0x11a1a9=this['flags']>>0x6;return 0xffffff==_0x11a1a9?void 0x0:_0x11a1a9;}['map'](_0x11bc9d,_0x50ec9f=-0x1){let _0x97d202,_0x4702e0;return this['empty']?_0x97d202=_0x4702e0=_0x11bc9d['mapPos'](this['from'],_0x50ec9f):(_0x97d202=_0x11bc9d['mapPos'](this['from'],0x1),_0x4702e0=_0x11bc9d['mapPos'](this['to'],-0x1)),_0x97d202==this['from']&&_0x4702e0==this['to']?this:new SelectionRange(_0x97d202,_0x4702e0,this['flags']);}['extend'](_0x347df0,_0x1841ae=_0x347df0){if(_0x347df0<=this['anchor']&&_0x1841ae>=this['anchor'])return EditorSelection['range'](_0x347df0,_0x1841ae);let _0x406e11=Math['abs'](_0x347df0-this['anchor'])>Math['abs'](_0x1841ae-this['anchor'])?_0x347df0:_0x1841ae;return EditorSelection['range'](this['anchor'],_0x406e11);}['eq'](_0x232d73,_0x28ab2d=!0x1){return!(this['anchor']!=_0x232d73['anchor']||this['head']!=_0x232d73['head']||_0x28ab2d&&this['empty']&&this['assoc']!=_0x232d73['assoc']);}['toJSON'](){return{'anchor':this['anchor'],'head':this['head']};}static['fromJSON'](_0x5d1d73){if(!_0x5d1d73||'number'!=typeof _0x5d1d73['anchor']||'number'!=typeof _0x5d1d73['head'])throw new RangeError('Invalid\x20JSON\x20representation\x20for\x20SelectionRange');return EditorSelection['range'](_0x5d1d73['anchor'],_0x5d1d73['head']);}static['create'](_0x54df16,_0x237130,_0x2f9989){return new SelectionRange(_0x54df16,_0x237130,_0x2f9989);}}class EditorSelection{constructor(_0x2c134b,_0x5cdf0b){this['ranges']=_0x2c134b,this['mainIndex']=_0x5cdf0b;}['map'](_0x22f66c,_0x1e8646=-0x1){return _0x22f66c['empty']?this:EditorSelection['create'](this['ranges']['map'](_0xa55fff=>_0xa55fff['map'](_0x22f66c,_0x1e8646)),this['mainIndex']);}['eq'](_0xff15b3,_0x2ea056=!0x1){if(this['ranges']['length']!=_0xff15b3['ranges']['length']||this['mainIndex']!=_0xff15b3['mainIndex'])return!0x1;for(let _0x259d08=0x0;_0x259d08<this['ranges']['length'];_0x259d08++)if(!this['ranges'][_0x259d08]['eq'](_0xff15b3['ranges'][_0x259d08],_0x2ea056))return!0x1;return!0x0;}get['main'](){return this['ranges'][this['mainIndex']];}['asSingle'](){return 0x1==this['ranges']['length']?this:new EditorSelection([this['main']],0x0);}['addRange'](_0x277ca4,_0x414f98=!0x0){return EditorSelection['create']([_0x277ca4]['concat'](this['ranges']),_0x414f98?0x0:this['mainIndex']+0x1);}['replaceRange'](_0x80f93b,_0x25dfb4=this['mainIndex']){let _0x5a59af=this['ranges']['slice']();return _0x5a59af[_0x25dfb4]=_0x80f93b,EditorSelection['create'](_0x5a59af,this['mainIndex']);}['toJSON'](){return{'ranges':this['ranges']['map'](_0x24a4e3=>_0x24a4e3['toJSON']()),'main':this['mainIndex']};}static['fromJSON'](_0xca5171){if(!_0xca5171||!Array['isArray'](_0xca5171['ranges'])||'number'!=typeof _0xca5171['main']||_0xca5171['main']>=_0xca5171['ranges']['length'])throw new RangeError('Invalid\x20JSON\x20representation\x20for\x20EditorSelection');return new EditorSelection(_0xca5171['ranges']['map'](_0x1aeb4b=>SelectionRange['fromJSON'](_0x1aeb4b)),_0xca5171['main']);}static['single'](_0x515a6c,_0x5e9956=_0x515a6c){return new EditorSelection([EditorSelection['range'](_0x515a6c,_0x5e9956)],0x0);}static['create'](_0x240161,_0x58cf25=0x0){if(0x0==_0x240161['length'])throw new RangeError('A\x20selection\x20needs\x20at\x20least\x20one\x20range');for(let _0xdd7555=0x0,_0x5595b0=0x0;_0x5595b0<_0x240161['length'];_0x5595b0++){let _0x3acf5c=_0x240161[_0x5595b0];if(_0x3acf5c['empty']?_0x3acf5c['from']<=_0xdd7555:_0x3acf5c['from']<_0xdd7555)return EditorSelection['normalized'](_0x240161['slice'](),_0x58cf25);_0xdd7555=_0x3acf5c['to'];}return new EditorSelection(_0x240161,_0x58cf25);}static['cursor'](_0x2ec616,_0x85c3c9=0x0,_0x94d771,_0xd94847){return SelectionRange['create'](_0x2ec616,_0x2ec616,(0x0==_0x85c3c9?0x0:_0x85c3c9<0x0?0x8:0x10)|(null==_0x94d771?0x7:Math['min'](0x6,_0x94d771))|(null!=_0xd94847?_0xd94847:0xffffff)<<0x6);}static['range'](_0x4c1226,_0x482d2f,_0x4d87d8,_0x243adc){let _0x39f3f0=(null!=_0x4d87d8?_0x4d87d8:0xffffff)<<0x6|(null==_0x243adc?0x7:Math['min'](0x6,_0x243adc));return _0x482d2f<_0x4c1226?SelectionRange['create'](_0x482d2f,_0x4c1226,0x30|_0x39f3f0):SelectionRange['create'](_0x4c1226,_0x482d2f,(_0x482d2f>_0x4c1226?0x8:0x0)|_0x39f3f0);}static['normalized'](_0x207c53,_0x342823=0x0){let _0x97fd5c=_0x207c53[_0x342823];_0x207c53['sort']((_0x9f0142,_0x16f679)=>_0x9f0142['from']-_0x16f679['from']),_0x342823=_0x207c53['indexOf'](_0x97fd5c);for(let _0x6ec7bd=0x1;_0x6ec7bd<_0x207c53['length'];_0x6ec7bd++){let _0x1cf9bf=_0x207c53[_0x6ec7bd],_0xafef4a=_0x207c53[_0x6ec7bd-0x1];if(_0x1cf9bf['empty']?_0x1cf9bf['from']<=_0xafef4a['to']:_0x1cf9bf['from']<_0xafef4a['to']){let _0x425359=_0xafef4a['from'],_0x595547=Math['max'](_0x1cf9bf['to'],_0xafef4a['to']);_0x6ec7bd<=_0x342823&&_0x342823--,_0x207c53['splice'](--_0x6ec7bd,0x2,_0x1cf9bf['anchor']>_0x1cf9bf['head']?EditorSelection['range'](_0x595547,_0x425359):EditorSelection['range'](_0x425359,_0x595547));}}return new EditorSelection(_0x207c53,_0x342823);}}function checkSelection(_0x4e2166,_0x25a34b){for(let _0x22ada0 of _0x4e2166['ranges'])if(_0x22ada0['to']>_0x25a34b)throw new RangeError('Selection\x20points\x20outside\x20of\x20document');}let nextID=0x0;class Facet{constructor(_0x37538e,_0x48a818,_0x2b7aa6,_0x6275c7,_0x45673a){this['combine']=_0x37538e,this['compareInput']=_0x48a818,this['compare']=_0x2b7aa6,this['isStatic']=_0x6275c7,this['id']=nextID++,this['default']=_0x37538e([]),this['extensions']='function'==typeof _0x45673a?_0x45673a(this):_0x45673a;}get['reader'](){return this;}static['define'](_0x231a26={}){return new Facet(_0x231a26['combine']||(_0x5c854e=>_0x5c854e),_0x231a26['compareInput']||((_0x5c4b87,_0x2c846b)=>_0x5c4b87===_0x2c846b),_0x231a26['compare']||(_0x231a26['combine']?(_0x4f43e8,_0x245a3d)=>_0x4f43e8===_0x245a3d:_0x45a0d1),!!_0x231a26['static'],_0x231a26['enables']);}['of'](_0x23e8f9){return new FacetProvider([],this,0x0,_0x23e8f9);}['compute'](_0x290522,_0x5a2fd1){if(this['isStatic'])throw new Error('Can\x27t\x20compute\x20a\x20static\x20facet');return new FacetProvider(_0x290522,this,0x1,_0x5a2fd1);}['computeN'](_0x576c16,_0x1c3e06){if(this['isStatic'])throw new Error('Can\x27t\x20compute\x20a\x20static\x20facet');return new FacetProvider(_0x576c16,this,0x2,_0x1c3e06);}['from'](_0xc2913b,_0x30a2d5){return _0x30a2d5||(_0x30a2d5=_0x1d6977=>_0x1d6977),this['compute']([_0xc2913b],_0xb8d6a6=>_0x30a2d5(_0xb8d6a6['field'](_0xc2913b)));}}function _0x45a0d1(_0x4b0309,_0x208105){return _0x4b0309==_0x208105||_0x4b0309['length']==_0x208105['length']&&_0x4b0309['every']((_0xc5fda4,_0x57c9b4)=>_0xc5fda4===_0x208105[_0x57c9b4]);}class FacetProvider{constructor(_0x556840,_0x1625ed,_0x28dab6,_0x595e01){this['dependencies']=_0x556840,this['facet']=_0x1625ed,this['type']=_0x28dab6,this['value']=_0x595e01,this['id']=nextID++;}['dynamicSlot'](_0x17b666){var _0x93422a;let _0x12ba89=this['value'],_0x1abb3a=this['facet']['compareInput'],_0x2d3479=this['id'],_0x5ac63b=_0x17b666[_0x2d3479]>>0x1,_0x252b44=0x2==this['type'],_0x5ca643=!0x1,_0x3a4d0c=!0x1,_0x46265a=[];for(let _0x134e06 of this['dependencies'])'doc'==_0x134e06?_0x5ca643=!0x0:'selection'==_0x134e06?_0x3a4d0c=!0x0:0x1&(null!==(_0x93422a=_0x17b666[_0x134e06['id']])&&void 0x0!==_0x93422a?_0x93422a:0x1)||_0x46265a['push'](_0x17b666[_0x134e06['id']]);return{'create':_0x4d0c09=>(_0x4d0c09['values'][_0x5ac63b]=_0x12ba89(_0x4d0c09),0x1),'update'(_0x3eb25b,_0x2ea0a4){if(_0x5ca643&&_0x2ea0a4['docChanged']||_0x3a4d0c&&(_0x2ea0a4['docChanged']||_0x2ea0a4['selection'])||_0x21c32d(_0x3eb25b,_0x46265a)){let _0x5c8e02=_0x12ba89(_0x3eb25b);if(_0x252b44?!_0x422ff8(_0x5c8e02,_0x3eb25b['values'][_0x5ac63b],_0x1abb3a):!_0x1abb3a(_0x5c8e02,_0x3eb25b['values'][_0x5ac63b]))return _0x3eb25b['values'][_0x5ac63b]=_0x5c8e02,0x1;}return 0x0;},'reconfigure':(_0x14436d,_0x461927)=>{let _0x7997fc,_0x2a5eca=_0x461927['config']['address'][_0x2d3479];if(null!=_0x2a5eca){let _0x1d3f93=getAddr(_0x461927,_0x2a5eca);if(this['dependencies']['every'](_0x643d2f=>_0x643d2f instanceof Facet?_0x461927['facet'](_0x643d2f)===_0x14436d['facet'](_0x643d2f):!(_0x643d2f instanceof StateField)||_0x461927['field'](_0x643d2f,!0x1)==_0x14436d['field'](_0x643d2f,!0x1))||(_0x252b44?_0x422ff8(_0x7997fc=_0x12ba89(_0x14436d),_0x1d3f93,_0x1abb3a):_0x1abb3a(_0x7997fc=_0x12ba89(_0x14436d),_0x1d3f93)))return _0x14436d['values'][_0x5ac63b]=_0x1d3f93,0x0;}else _0x7997fc=_0x12ba89(_0x14436d);return _0x14436d['values'][_0x5ac63b]=_0x7997fc,0x1;}};}}function _0x422ff8(_0x5951d3,_0x5b9e5b,_0x3b60c0){if(_0x5951d3['length']!=_0x5b9e5b['length'])return!0x1;for(let _0x859888=0x0;_0x859888<_0x5951d3['length'];_0x859888++)if(!_0x3b60c0(_0x5951d3[_0x859888],_0x5b9e5b[_0x859888]))return!0x1;return!0x0;}function _0x21c32d(_0x357b5d,_0x343e2a){let _0x3a8fe1=!0x1;for(let _0x5b0248 of _0x343e2a)0x1&_0x140db2(_0x357b5d,_0x5b0248)&&(_0x3a8fe1=!0x0);return _0x3a8fe1;}function dynamicFacetSlot(_0x126b43,_0x1bb3a0,_0x76f24e){let _0x55ca5c=_0x76f24e['map'](_0x4328a9=>_0x126b43[_0x4328a9['id']]),_0x480352=_0x76f24e['map'](_0x51af24=>_0x51af24['type']),_0x3cc621=_0x55ca5c['filter'](_0x426998=>!(0x1&_0x426998)),_0x32c5ca=_0x126b43[_0x1bb3a0['id']]>>0x1;function _0x16131d(_0x55d3c4){let _0xe002cb=[];for(let _0x3ada65=0x0;_0x3ada65<_0x55ca5c['length'];_0x3ada65++){let _0x2564b0=getAddr(_0x55d3c4,_0x55ca5c[_0x3ada65]);if(0x2==_0x480352[_0x3ada65]){for(let _0x2214c6 of _0x2564b0)_0xe002cb['push'](_0x2214c6);}else _0xe002cb['push'](_0x2564b0);}return _0x1bb3a0['combine'](_0xe002cb);}return{'create'(_0x264e64){for(let _0x51800a of _0x55ca5c)_0x140db2(_0x264e64,_0x51800a);return _0x264e64['values'][_0x32c5ca]=_0x16131d(_0x264e64),0x1;},'update'(_0x2906ed,_0x3d88ea){if(!_0x21c32d(_0x2906ed,_0x3cc621))return 0x0;let _0x765f31=_0x16131d(_0x2906ed);return _0x1bb3a0['compare'](_0x765f31,_0x2906ed['values'][_0x32c5ca])?0x0:(_0x2906ed['values'][_0x32c5ca]=_0x765f31,0x1);},'reconfigure'(_0x293aef,_0x25c551){let _0x2980f0=_0x21c32d(_0x293aef,_0x55ca5c),_0x19b621=_0x25c551['config']['facets'][_0x1bb3a0['id']],_0x91e69d=_0x25c551['facet'](_0x1bb3a0);if(_0x19b621&&!_0x2980f0&&_0x45a0d1(_0x76f24e,_0x19b621))return _0x293aef['values'][_0x32c5ca]=_0x91e69d,0x0;let _0x11b593=_0x16131d(_0x293aef);return _0x1bb3a0['compare'](_0x11b593,_0x91e69d)?(_0x293aef['values'][_0x32c5ca]=_0x91e69d,0x0):(_0x293aef['values'][_0x32c5ca]=_0x11b593,0x1);}};}const initField=Facet['define']({'static':!0x0});class StateField{constructor(_0x1dc2a2,_0xd48d1c,_0x2ede6b,_0xeacf0d,_0x50da4a){this['id']=_0x1dc2a2,this['createF']=_0xd48d1c,this['updateF']=_0x2ede6b,this['compareF']=_0xeacf0d,this['spec']=_0x50da4a,this['provides']=void 0x0;}static['define'](_0x23dc2b){let _0x3c5685=new StateField(nextID++,_0x23dc2b['create'],_0x23dc2b['update'],_0x23dc2b['compare']||((_0xa60564,_0x266bf3)=>_0xa60564===_0x266bf3),_0x23dc2b);return _0x23dc2b['provide']&&(_0x3c5685['provides']=_0x23dc2b['provide'](_0x3c5685)),_0x3c5685;}['create'](_0x549fe3){let _0x27383d=_0x549fe3['facet'](initField)['find'](_0x583a9b=>_0x583a9b['field']==this);return((null==_0x27383d?void 0x0:_0x27383d['create'])||this['createF'])(_0x549fe3);}['slot'](_0xaadedd){let _0x203c5c=_0xaadedd[this['id']]>>0x1;return{'create':_0x258708=>(_0x258708['values'][_0x203c5c]=this['create'](_0x258708),0x1),'update':(_0x2af37d,_0x19baf0)=>{let _0x458b9c=_0x2af37d['values'][_0x203c5c],_0x195547=this['updateF'](_0x458b9c,_0x19baf0);return this['compareF'](_0x458b9c,_0x195547)?0x0:(_0x2af37d['values'][_0x203c5c]=_0x195547,0x1);},'reconfigure':(_0x2be50e,_0x2f3f7e)=>{let _0x31748f,_0x13c152=_0x2be50e['facet'](initField),_0x1e0d28=_0x2f3f7e['facet'](initField);return(_0x31748f=_0x13c152['find'](_0x2fc584=>_0x2fc584['field']==this))&&_0x31748f!=_0x1e0d28['find'](_0x59126f=>_0x59126f['field']==this)?(_0x2be50e['values'][_0x203c5c]=_0x31748f['create'](_0x2be50e),0x1):null!=_0x2f3f7e['config']['address'][this['id']]?(_0x2be50e['values'][_0x203c5c]=_0x2f3f7e['field'](this),0x0):(_0x2be50e['values'][_0x203c5c]=this['create'](_0x2be50e),0x1);}};}['init'](_0x2b9769){return[this,initField['of']({'field':this,'create':_0x2b9769})];}get['extension'](){return this;}}const _0x3ed7f7={'lowest':0x4,'low':0x3,'default':0x2,'high':0x1,'highest':0x0};function _0x5cc888(_0x168dd6){return _0x13fc40=>new PrecExtension(_0x13fc40,_0x168dd6);}const _0x4ee962={'highest':_0x5cc888(_0x3ed7f7['highest']),'high':_0x5cc888(_0x3ed7f7['high']),'default':_0x5cc888(_0x3ed7f7['default']),'low':_0x5cc888(_0x3ed7f7['low']),'lowest':_0x5cc888(_0x3ed7f7['lowest'])};class PrecExtension{constructor(_0x654e58,_0x30b954){this['inner']=_0x654e58,this['prec']=_0x30b954;}}class Compartment{['of'](_0x1cebd5){return new CompartmentInstance(this,_0x1cebd5);}['reconfigure'](_0x369f95){return Compartment['reconfigure']['of']({'compartment':this,'extension':_0x369f95});}['get'](_0x3b72b8){return _0x3b72b8['config']['compartments']['get'](this);}}class CompartmentInstance{constructor(_0x586a71,_0x182c44){this['compartment']=_0x586a71,this['inner']=_0x182c44;}}class Configuration{constructor(_0x4d7621,_0x2031ae,_0x44f93e,_0x1d82e5,_0x5d627f,_0x25eda5){for(this['base']=_0x4d7621,this['compartments']=_0x2031ae,this['dynamicSlots']=_0x44f93e,this['address']=_0x1d82e5,this['staticValues']=_0x5d627f,this['facets']=_0x25eda5,this['statusTemplate']=[];this['statusTemplate']['length']<_0x44f93e['length'];)this['statusTemplate']['push'](0x0);}['staticFacet'](_0x272b39){let _0x17d3b0=this['address'][_0x272b39['id']];return null==_0x17d3b0?_0x272b39['default']:this['staticValues'][_0x17d3b0>>0x1];}static['resolve'](_0x502b24,_0x2a9a41,_0x1dca85){let _0x4924d0=[],_0x53a393=Object['create'](null),_0x532d9d=new Map();for(let _0x38d89d of flatten(_0x502b24,_0x2a9a41,_0x532d9d))_0x38d89d instanceof StateField?_0x4924d0['push'](_0x38d89d):(_0x53a393[_0x38d89d['facet']['id']]||(_0x53a393[_0x38d89d['facet']['id']]=[]))['push'](_0x38d89d);let _0x43b9ab=Object['create'](null),_0x32e668=[],_0x2a9980=[];for(let _0x2218cf of _0x4924d0)_0x43b9ab[_0x2218cf['id']]=_0x2a9980['length']<<0x1,_0x2a9980['push'](_0x1ca8e7=>_0x2218cf['slot'](_0x1ca8e7));let _0x40b416=null==_0x1dca85?void 0x0:_0x1dca85['config']['facets'];for(let _0x2d9cf6 in _0x53a393){let _0x248333=_0x53a393[_0x2d9cf6],_0x19db34=_0x248333[0x0]['facet'],_0x599d4a=_0x40b416&&_0x40b416[_0x2d9cf6]||[];if(_0x248333['every'](_0x292f62=>0x0==_0x292f62['type'])){if(_0x43b9ab[_0x19db34['id']]=_0x32e668['length']<<0x1|0x1,_0x45a0d1(_0x599d4a,_0x248333))_0x32e668['push'](_0x1dca85['facet'](_0x19db34));else{let _0x46869e=_0x19db34['combine'](_0x248333['map'](_0x2196cc=>_0x2196cc['value']));_0x32e668['push'](_0x1dca85&&_0x19db34['compare'](_0x46869e,_0x1dca85['facet'](_0x19db34))?_0x1dca85['facet'](_0x19db34):_0x46869e);}}else{for(let _0x5e6b98 of _0x248333)0x0==_0x5e6b98['type']?(_0x43b9ab[_0x5e6b98['id']]=_0x32e668['length']<<0x1|0x1,_0x32e668['push'](_0x5e6b98['value'])):(_0x43b9ab[_0x5e6b98['id']]=_0x2a9980['length']<<0x1,_0x2a9980['push'](_0x323106=>_0x5e6b98['dynamicSlot'](_0x323106)));_0x43b9ab[_0x19db34['id']]=_0x2a9980['length']<<0x1,_0x2a9980['push'](_0x501d78=>dynamicFacetSlot(_0x501d78,_0x19db34,_0x248333));}}let _0x4ac551=_0x2a9980['map'](_0x2f7920=>_0x2f7920(_0x43b9ab));return new Configuration(_0x502b24,_0x532d9d,_0x4ac551,_0x43b9ab,_0x32e668,_0x53a393);}}function flatten(_0x455258,_0x37dd3a,_0x53711b){let _0x4a68c0=[[],[],[],[],[]],_0x2f861b=new Map();return function _0x5ee14a(_0x3831f5,_0x31d6ba){let _0x83024e=_0x2f861b['get'](_0x3831f5);if(null!=_0x83024e){if(_0x83024e<=_0x31d6ba)return;let _0x5df297=_0x4a68c0[_0x83024e]['indexOf'](_0x3831f5);_0x5df297>-0x1&&_0x4a68c0[_0x83024e]['splice'](_0x5df297,0x1),_0x3831f5 instanceof CompartmentInstance&&_0x53711b['delete'](_0x3831f5['compartment']);}if(_0x2f861b['set'](_0x3831f5,_0x31d6ba),Array['isArray'](_0x3831f5)){for(let _0x3d387e of _0x3831f5)_0x5ee14a(_0x3d387e,_0x31d6ba);}else{if(_0x3831f5 instanceof CompartmentInstance){if(_0x53711b['has'](_0x3831f5['compartment']))throw new RangeError('Duplicate\x20use\x20of\x20compartment\x20in\x20extensions');let _0x9ac797=_0x37dd3a['get'](_0x3831f5['compartment'])||_0x3831f5['inner'];_0x53711b['set'](_0x3831f5['compartment'],_0x9ac797),_0x5ee14a(_0x9ac797,_0x31d6ba);}else{if(_0x3831f5 instanceof PrecExtension)_0x5ee14a(_0x3831f5['inner'],_0x3831f5['prec']);else{if(_0x3831f5 instanceof StateField)_0x4a68c0[_0x31d6ba]['push'](_0x3831f5),_0x3831f5['provides']&&_0x5ee14a(_0x3831f5['provides'],_0x31d6ba);else{if(_0x3831f5 instanceof FacetProvider)_0x4a68c0[_0x31d6ba]['push'](_0x3831f5),_0x3831f5['facet']['extensions']&&_0x5ee14a(_0x3831f5['facet']['extensions'],_0x3ed7f7['default']);else{let _0x42bfdd=_0x3831f5['extension'];if(!_0x42bfdd)throw new Error('Unrecognized\x20extension\x20value\x20in\x20extension\x20set\x20('+_0x3831f5+').\x20This\x20sometimes\x20happens\x20because\x20multiple\x20instances\x20of\x20@codemirror/state\x20are\x20loaded,\x20breaking\x20instanceof\x20checks.');_0x5ee14a(_0x42bfdd,_0x31d6ba);}}}}}}(_0x455258,_0x3ed7f7['default']),_0x4a68c0['reduce']((_0x1bf2e9,_0x117adb)=>_0x1bf2e9['concat'](_0x117adb));}function _0x140db2(_0x483b8e,_0x1d2aca){if(0x1&_0x1d2aca)return 0x2;let _0x36f2ae=_0x1d2aca>>0x1,_0x5bca18=_0x483b8e['status'][_0x36f2ae];if(0x4==_0x5bca18)throw new Error('Cyclic\x20dependency\x20between\x20fields\x20and/or\x20facets');if(0x2&_0x5bca18)return _0x5bca18;_0x483b8e['status'][_0x36f2ae]=0x4;let _0x471c57=_0x483b8e['computeSlot'](_0x483b8e,_0x483b8e['config']['dynamicSlots'][_0x36f2ae]);return _0x483b8e['status'][_0x36f2ae]=0x2|_0x471c57;}function getAddr(_0x506239,_0x1c67ca){return 0x1&_0x1c67ca?_0x506239['config']['staticValues'][_0x1c67ca>>0x1]:_0x506239['values'][_0x1c67ca>>0x1];}const languageData=Facet['define'](),allowMultipleSelections=Facet['define']({'combine':_0x1cd0c1=>_0x1cd0c1['some'](_0x4e0d65=>_0x4e0d65),'static':!0x0}),lineSeparator=Facet['define']({'combine':_0xbf1e1=>_0xbf1e1['length']?_0xbf1e1[0x0]:void 0x0,'static':!0x0}),changeFilter=Facet['define'](),transactionFilter=Facet['define'](),transactionExtender=Facet['define'](),_0x489df7=Facet['define']({'combine':_0x4f7bd3=>!!_0x4f7bd3['length']&&_0x4f7bd3[0x0]});class Annotation{constructor(_0x30dc8d,_0xa46212){this['type']=_0x30dc8d,this['value']=_0xa46212;}static['define'](){return new AnnotationType();}}class AnnotationType{['of'](_0x27beb3){return new Annotation(this,_0x27beb3);}}class StateEffectType{constructor(_0x142052){this['map']=_0x142052;}['of'](_0x3d8c8f){return new StateEffect(this,_0x3d8c8f);}}class StateEffect{constructor(_0x4fbf31,_0x25c1fe){this['type']=_0x4fbf31,this['value']=_0x25c1fe;}['map'](_0x5e90f2){let _0x2e6e41=this['type']['map'](this['value'],_0x5e90f2);return void 0x0===_0x2e6e41?void 0x0:_0x2e6e41==this['value']?this:new StateEffect(this['type'],_0x2e6e41);}['is'](_0x50af0d){return this['type']==_0x50af0d;}static['define'](_0x30ad99={}){return new StateEffectType(_0x30ad99['map']||(_0x52be2c=>_0x52be2c));}static['mapEffects'](_0x164ec4,_0x57aa45){if(!_0x164ec4['length'])return _0x164ec4;let _0x2afe74=[];for(let _0x5c4c39 of _0x164ec4){let _0x406534=_0x5c4c39['map'](_0x57aa45);_0x406534&&_0x2afe74['push'](_0x406534);}return _0x2afe74;}}StateEffect['reconfigure']=StateEffect['define'](),StateEffect['appendConfig']=StateEffect['define']();class Transaction{constructor(_0x57f9ef,_0x8d41af,_0x4766fa,_0x1d0928,_0x39d740,_0x8c2b06){this['startState']=_0x57f9ef,this['changes']=_0x8d41af,this['selection']=_0x4766fa,this['effects']=_0x1d0928,this['annotations']=_0x39d740,this['scrollIntoView']=_0x8c2b06,this['_doc']=null,this['_state']=null,_0x4766fa&&checkSelection(_0x4766fa,_0x8d41af['newLength']),_0x39d740['some'](_0x487161=>_0x487161['type']==Transaction['time'])||(this['annotations']=_0x39d740['concat'](Transaction['time']['of'](Date['now']())));}static['create'](_0x337403,_0x351955,_0x196f12,_0x32530e,_0x5f491f,_0x156ec9){return new Transaction(_0x337403,_0x351955,_0x196f12,_0x32530e,_0x5f491f,_0x156ec9);}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'](_0x271041){for(let _0x373e20 of this['annotations'])if(_0x373e20['type']==_0x271041)return _0x373e20['value'];}get['docChanged'](){return!this['changes']['empty'];}get['reconfigured'](){return this['startState']['config']!=this['state']['config'];}['isUserEvent'](_0x1a51a4){let _0x58a930=this['annotation'](Transaction['userEvent']);return!(!_0x58a930||!(_0x58a930==_0x1a51a4||_0x58a930['length']>_0x1a51a4['length']&&_0x58a930['slice'](0x0,_0x1a51a4['length'])==_0x1a51a4&&'.'==_0x58a930[_0x1a51a4['length']]));}}function _0x4bfe3a(_0x5b655e,_0x3000a0){let _0x32ca8e=[];for(let _0x452de3=0x0,_0x1da984=0x0;;){let _0x38b1bf,_0x95160a;if(_0x452de3<_0x5b655e['length']&&(_0x1da984==_0x3000a0['length']||_0x3000a0[_0x1da984]>=_0x5b655e[_0x452de3]))_0x38b1bf=_0x5b655e[_0x452de3++],_0x95160a=_0x5b655e[_0x452de3++];else{if(!(_0x1da984<_0x3000a0['length']))return _0x32ca8e;_0x38b1bf=_0x3000a0[_0x1da984++],_0x95160a=_0x3000a0[_0x1da984++];}!_0x32ca8e['length']||_0x32ca8e[_0x32ca8e['length']-0x1]<_0x38b1bf?_0x32ca8e['push'](_0x38b1bf,_0x95160a):_0x32ca8e[_0x32ca8e['length']-0x1]<_0x95160a&&(_0x32ca8e[_0x32ca8e['length']-0x1]=_0x95160a);}}function mergeTransaction(_0x2fb5ae,_0xa04bd9,_0x11329a){var _0x244849;let _0x2eb07a,_0x4907f4,_0x52c6bf;return _0x11329a?(_0x2eb07a=_0xa04bd9['changes'],_0x4907f4=ChangeSet['empty'](_0xa04bd9['changes']['length']),_0x52c6bf=_0x2fb5ae['changes']['compose'](_0xa04bd9['changes'])):(_0x2eb07a=_0xa04bd9['changes']['map'](_0x2fb5ae['changes']),_0x4907f4=_0x2fb5ae['changes']['mapDesc'](_0xa04bd9['changes'],!0x0),_0x52c6bf=_0x2fb5ae['changes']['compose'](_0x2eb07a)),{'changes':_0x52c6bf,'selection':_0xa04bd9['selection']?_0xa04bd9['selection']['map'](_0x4907f4):null===(_0x244849=_0x2fb5ae['selection'])||void 0x0===_0x244849?void 0x0:_0x244849['map'](_0x2eb07a),'effects':StateEffect['mapEffects'](_0x2fb5ae['effects'],_0x2eb07a)['concat'](StateEffect['mapEffects'](_0xa04bd9['effects'],_0x4907f4)),'annotations':_0x2fb5ae['annotations']['length']?_0x2fb5ae['annotations']['concat'](_0xa04bd9['annotations']):_0xa04bd9['annotations'],'scrollIntoView':_0x2fb5ae['scrollIntoView']||_0xa04bd9['scrollIntoView']};}function resolveTransactionInner(_0x477be5,_0x5d38b2,_0x1c2d87){let _0x2932b4=_0x5d38b2['selection'],_0x53356d=_0x230fa1(_0x5d38b2['annotations']);return _0x5d38b2['userEvent']&&(_0x53356d=_0x53356d['concat'](Transaction['userEvent']['of'](_0x5d38b2['userEvent']))),{'changes':_0x5d38b2['changes']instanceof ChangeSet?_0x5d38b2['changes']:ChangeSet['of'](_0x5d38b2['changes']||[],_0x1c2d87,_0x477be5['facet'](lineSeparator)),'selection':_0x2932b4&&(_0x2932b4 instanceof EditorSelection?_0x2932b4:EditorSelection['single'](_0x2932b4['anchor'],_0x2932b4['head'])),'effects':_0x230fa1(_0x5d38b2['effects']),'annotations':_0x53356d,'scrollIntoView':!!_0x5d38b2['scrollIntoView']};}function resolveTransaction(_0x3be8a0,_0x4b3a7b,_0x4fea3d){let _0x22a248=resolveTransactionInner(_0x3be8a0,_0x4b3a7b['length']?_0x4b3a7b[0x0]:{},_0x3be8a0['doc']['length']);_0x4b3a7b['length']&&!0x1===_0x4b3a7b[0x0]['filter']&&(_0x4fea3d=!0x1);for(let _0x3713bd=0x1;_0x3713bd<_0x4b3a7b['length'];_0x3713bd++){!0x1===_0x4b3a7b[_0x3713bd]['filter']&&(_0x4fea3d=!0x1);let _0x3c8c78=!!_0x4b3a7b[_0x3713bd]['sequential'];_0x22a248=mergeTransaction(_0x22a248,resolveTransactionInner(_0x3be8a0,_0x4b3a7b[_0x3713bd],_0x3c8c78?_0x22a248['changes']['newLength']:_0x3be8a0['doc']['length']),_0x3c8c78);}let _0x1b5838=Transaction['create'](_0x3be8a0,_0x22a248['changes'],_0x22a248['selection'],_0x22a248['effects'],_0x22a248['annotations'],_0x22a248['scrollIntoView']);return extendTransaction(_0x4fea3d?filterTransaction(_0x1b5838):_0x1b5838);}function filterTransaction(_0x1c1c78){let _0x2cf580=_0x1c1c78['startState'],_0x5c7d95=!0x0;for(let _0x19ebcf of _0x2cf580['facet'](changeFilter)){let _0x12f2c6=_0x19ebcf(_0x1c1c78);if(!0x1===_0x12f2c6){_0x5c7d95=!0x1;break;}Array['isArray'](_0x12f2c6)&&(_0x5c7d95=!0x0===_0x5c7d95?_0x12f2c6:_0x4bfe3a(_0x5c7d95,_0x12f2c6));}if(!0x0!==_0x5c7d95){let _0x7ce833,_0x518a9d;if(!0x1===_0x5c7d95)_0x518a9d=_0x1c1c78['changes']['invertedDesc'],_0x7ce833=ChangeSet['empty'](_0x2cf580['doc']['length']);else{let _0x492085=_0x1c1c78['changes']['filter'](_0x5c7d95);_0x7ce833=_0x492085['changes'],_0x518a9d=_0x492085['filtered']['mapDesc'](_0x492085['changes'])['invertedDesc'];}_0x1c1c78=Transaction['create'](_0x2cf580,_0x7ce833,_0x1c1c78['selection']&&_0x1c1c78['selection']['map'](_0x518a9d),StateEffect['mapEffects'](_0x1c1c78['effects'],_0x518a9d),_0x1c1c78['annotations'],_0x1c1c78['scrollIntoView']);}let _0x23378f=_0x2cf580['facet'](transactionFilter);for(let _0x1a2a60=_0x23378f['length']-0x1;_0x1a2a60>=0x0;_0x1a2a60--){let _0x39d620=_0x23378f[_0x1a2a60](_0x1c1c78);_0x1c1c78=_0x39d620 instanceof Transaction?_0x39d620:Array['isArray'](_0x39d620)&&0x1==_0x39d620['length']&&_0x39d620[0x0]instanceof Transaction?_0x39d620[0x0]:resolveTransaction(_0x2cf580,_0x230fa1(_0x39d620),!0x1);}return _0x1c1c78;}function extendTransaction(_0x2eb45a){let _0x671313=_0x2eb45a['startState'],_0x2b0441=_0x671313['facet'](transactionExtender),_0x1f4374=_0x2eb45a;for(let _0x4fe656=_0x2b0441['length']-0x1;_0x4fe656>=0x0;_0x4fe656--){let _0x2d2c65=_0x2b0441[_0x4fe656](_0x2eb45a);_0x2d2c65&&Object['keys'](_0x2d2c65)['length']&&(_0x1f4374=mergeTransaction(_0x1f4374,resolveTransactionInner(_0x671313,_0x2d2c65,_0x2eb45a['changes']['newLength']),!0x0));}return _0x1f4374==_0x2eb45a?_0x2eb45a:Transaction['create'](_0x671313,_0x2eb45a['changes'],_0x2eb45a['selection'],_0x1f4374['effects'],_0x1f4374['annotations'],_0x1f4374['scrollIntoView']);}Transaction['time']=Annotation['define'](),Transaction['userEvent']=Annotation['define'](),Transaction['addToHistory']=Annotation['define'](),Transaction['remote']=Annotation['define']();const _0x5292ea=[];function _0x230fa1(_0x28a8e4){return null==_0x28a8e4?_0x5292ea:Array['isArray'](_0x28a8e4)?_0x28a8e4:[_0x28a8e4];}var CharCategory=function(_0x5bd710){return _0x5bd710[_0x5bd710['Word']=0x0]='Word',_0x5bd710[_0x5bd710['Space']=0x1]='Space',_0x5bd710[_0x5bd710['Other']=0x2]='Other',_0x5bd710;}(CharCategory||(CharCategory={}));const _0x300d98=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/;let _0x3408f0;try{_0x3408f0=new RegExp('[\x5cp{Alphabetic}\x5cp{Number}_]','u');}catch(_0xc00a1){}function _0x3096be(_0x31ab4b){if(_0x3408f0)return _0x3408f0['test'](_0x31ab4b);for(let _0x34074d=0x0;_0x34074d<_0x31ab4b['length'];_0x34074d++){let _0x2028cb=_0x31ab4b[_0x34074d];if(/\w/['test'](_0x2028cb)||_0x2028cb>'\u0080'&&(_0x2028cb['toUpperCase']()!=_0x2028cb['toLowerCase']()||_0x300d98['test'](_0x2028cb)))return!0x0;}return!0x1;}function makeCategorizer(_0xfc6a4b){return _0x4b91fd=>{if(!/\S/['test'](_0x4b91fd))return CharCategory['Space'];if(_0x3096be(_0x4b91fd))return CharCategory['Word'];for(let _0x59bfba=0x0;_0x59bfba<_0xfc6a4b['length'];_0x59bfba++)if(_0x4b91fd['indexOf'](_0xfc6a4b[_0x59bfba])>-0x1)return CharCategory['Word'];return CharCategory['Other'];};}class EditorState{constructor(_0x497ff1,_0x1c70aa,_0x2c0dd4,_0xc27ea6,_0x5cd8c7,_0x100518){this['config']=_0x497ff1,this['doc']=_0x1c70aa,this['selection']=_0x2c0dd4,this['values']=_0xc27ea6,this['status']=_0x497ff1['statusTemplate']['slice'](),this['computeSlot']=_0x5cd8c7,_0x100518&&(_0x100518['_state']=this);for(let _0x299309=0x0;_0x299309<this['config']['dynamicSlots']['length'];_0x299309++)_0x140db2(this,_0x299309<<0x1);this['computeSlot']=null;}['field'](_0x263e89,_0x429585=!0x0){let _0x134ca1=this['config']['address'][_0x263e89['id']];if(null!=_0x134ca1)return _0x140db2(this,_0x134ca1),getAddr(this,_0x134ca1);if(_0x429585)throw new RangeError('Field\x20is\x20not\x20present\x20in\x20this\x20state');}['update'](..._0x17ea71){return resolveTransaction(this,_0x17ea71,!0x0);}['applyTransaction'](_0x5a156d){let _0x49dc31,_0x18f27f=this['config'],{base:_0x312cc0,compartments:_0x4e3e4a}=_0x18f27f;for(let _0x30f6fb of _0x5a156d['effects'])_0x30f6fb['is'](Compartment['reconfigure'])?(_0x18f27f&&(_0x4e3e4a=new Map(),_0x18f27f['compartments']['forEach']((_0xdf704e,_0xda4f7f)=>_0x4e3e4a['set'](_0xda4f7f,_0xdf704e)),_0x18f27f=null),_0x4e3e4a['set'](_0x30f6fb['value']['compartment'],_0x30f6fb['value']['extension'])):_0x30f6fb['is'](StateEffect['reconfigure'])?(_0x18f27f=null,_0x312cc0=_0x30f6fb['value']):_0x30f6fb['is'](StateEffect['appendConfig'])&&(_0x18f27f=null,_0x312cc0=_0x230fa1(_0x312cc0)['concat'](_0x30f6fb['value']));if(_0x18f27f)_0x49dc31=_0x5a156d['startState']['values']['slice']();else _0x18f27f=Configuration['resolve'](_0x312cc0,_0x4e3e4a,this),_0x49dc31=new EditorState(_0x18f27f,this['doc'],this['selection'],_0x18f27f['dynamicSlots']['map'](()=>null),(_0x483be0,_0x223fa7)=>_0x223fa7['reconfigure'](_0x483be0,this),null)['values'];let _0x5cee86=_0x5a156d['startState']['facet'](allowMultipleSelections)?_0x5a156d['newSelection']:_0x5a156d['newSelection']['asSingle']();new EditorState(_0x18f27f,_0x5a156d['newDoc'],_0x5cee86,_0x49dc31,(_0xfc5dba,_0x1d4f16)=>_0x1d4f16['update'](_0xfc5dba,_0x5a156d),_0x5a156d);}['replaceSelection'](_0x28ecab){return'string'==typeof _0x28ecab&&(_0x28ecab=this['toText'](_0x28ecab)),this['changeByRange'](_0x4d8969=>({'changes':{'from':_0x4d8969['from'],'to':_0x4d8969['to'],'insert':_0x28ecab},'range':EditorSelection['cursor'](_0x4d8969['from']+_0x28ecab['length'])}));}['changeByRange'](_0x243f73){let _0x22c8c4=this['selection'],_0xd64900=_0x243f73(_0x22c8c4['ranges'][0x0]),_0x3d1198=this['changes'](_0xd64900['changes']),_0x2d75c9=[_0xd64900['range']],_0x538d53=_0x230fa1(_0xd64900['effects']);for(let _0x1d2c22=0x1;_0x1d2c22<_0x22c8c4['ranges']['length'];_0x1d2c22++){let _0x466444=_0x243f73(_0x22c8c4['ranges'][_0x1d2c22]),_0x3d7c85=this['changes'](_0x466444['changes']),_0x440f52=_0x3d7c85['map'](_0x3d1198);for(let _0x132a46=0x0;_0x132a46<_0x1d2c22;_0x132a46++)_0x2d75c9[_0x132a46]=_0x2d75c9[_0x132a46]['map'](_0x440f52);let _0x51807e=_0x3d1198['mapDesc'](_0x3d7c85,!0x0);_0x2d75c9['push'](_0x466444['range']['map'](_0x51807e)),_0x3d1198=_0x3d1198['compose'](_0x440f52),_0x538d53=StateEffect['mapEffects'](_0x538d53,_0x440f52)['concat'](StateEffect['mapEffects'](_0x230fa1(_0x466444['effects']),_0x51807e));}return{'changes':_0x3d1198,'selection':EditorSelection['create'](_0x2d75c9,_0x22c8c4['mainIndex']),'effects':_0x538d53};}['changes'](_0x1c34b7=[]){return _0x1c34b7 instanceof ChangeSet?_0x1c34b7:ChangeSet['of'](_0x1c34b7,this['doc']['length'],this['facet'](EditorState['lineSeparator']));}['toText'](_0xffebd4){return Text['of'](_0xffebd4['split'](this['facet'](EditorState['lineSeparator'])||DefaultSplit));}['sliceDoc'](_0x6b054c=0x0,_0x2c92bf=this['doc']['length']){return this['doc']['sliceString'](_0x6b054c,_0x2c92bf,this['lineBreak']);}['facet'](_0x148d71){let _0x2e02fe=this['config']['address'][_0x148d71['id']];return null==_0x2e02fe?_0x148d71['default']:(_0x140db2(this,_0x2e02fe),getAddr(this,_0x2e02fe));}['toJSON'](_0x27b8b4){let _0x119f49={'doc':this['sliceDoc'](),'selection':this['selection']['toJSON']()};if(_0x27b8b4)for(let _0x1e7bdb in _0x27b8b4){let _0x303bde=_0x27b8b4[_0x1e7bdb];_0x303bde instanceof StateField&&null!=this['config']['address'][_0x303bde['id']]&&(_0x119f49[_0x1e7bdb]=_0x303bde['spec']['toJSON'](this['field'](_0x27b8b4[_0x1e7bdb]),this));}return _0x119f49;}static['fromJSON'](_0x455f1a,_0x4128e1={},_0x273a95){if(!_0x455f1a||'string'!=typeof _0x455f1a['doc'])throw new RangeError('Invalid\x20JSON\x20representation\x20for\x20EditorState');let _0x38284b=[];if(_0x273a95){for(let _0x231b78 in _0x273a95)if(Object['prototype']['hasOwnProperty']['call'](_0x455f1a,_0x231b78)){let _0x428a56=_0x273a95[_0x231b78],_0x3bb7d0=_0x455f1a[_0x231b78];_0x38284b['push'](_0x428a56['init'](_0x5f3bb1=>_0x428a56['spec']['fromJSON'](_0x3bb7d0,_0x5f3bb1)));}}return EditorState['create']({'doc':_0x455f1a['doc'],'selection':EditorSelection['fromJSON'](_0x455f1a['selection']),'extensions':_0x4128e1['extensions']?_0x38284b['concat']([_0x4128e1['extensions']]):_0x38284b});}static['create'](_0x1f170b={}){let _0x3a8466=Configuration['resolve'](_0x1f170b['extensions']||[],new Map()),_0x1292c2=_0x1f170b['doc']instanceof Text?_0x1f170b['doc']:Text['of']((_0x1f170b['doc']||'')['split'](_0x3a8466['staticFacet'](EditorState['lineSeparator'])||DefaultSplit)),_0x5928d3=_0x1f170b['selection']?_0x1f170b['selection']instanceof EditorSelection?_0x1f170b['selection']:EditorSelection['single'](_0x1f170b['selection']['anchor'],_0x1f170b['selection']['head']):EditorSelection['single'](0x0);return checkSelection(_0x5928d3,_0x1292c2['length']),_0x3a8466['staticFacet'](allowMultipleSelections)||(_0x5928d3=_0x5928d3['asSingle']()),new EditorState(_0x3a8466,_0x1292c2,_0x5928d3,_0x3a8466['dynamicSlots']['map'](()=>null),(_0x158494,_0x46ed2d)=>_0x46ed2d['create'](_0x158494),null);}get['tabSize'](){return this['facet'](EditorState['tabSize']);}get['lineBreak'](){return this['facet'](EditorState['lineSeparator'])||'\x0a';}get['readOnly'](){return this['facet'](_0x489df7);}['phrase'](_0x5f29fb,..._0x3d91f6){for(let _0x407b97 of this['facet'](EditorState['phrases']))if(Object['prototype']['hasOwnProperty']['call'](_0x407b97,_0x5f29fb)){_0x5f29fb=_0x407b97[_0x5f29fb];break;}return _0x3d91f6['length']&&(_0x5f29fb=_0x5f29fb['replace'](/\$(\$|\d*)/g,(_0x26f682,_0x1d7427)=>{if('$'==_0x1d7427)return'$';let _0x3ed8e6=+(_0x1d7427||0x1);return!_0x3ed8e6||_0x3ed8e6>_0x3d91f6['length']?_0x26f682:_0x3d91f6[_0x3ed8e6-0x1];})),_0x5f29fb;}['languageDataAt'](_0x21efef,_0x1b2679,_0x3b35af=-0x1){let _0x2b56c3=[];for(let _0x5bad94 of this['facet'](languageData))for(let _0x4588dc of _0x5bad94(this,_0x1b2679,_0x3b35af))Object['prototype']['hasOwnProperty']['call'](_0x4588dc,_0x21efef)&&_0x2b56c3['push'](_0x4588dc[_0x21efef]);return _0x2b56c3;}['charCategorizer'](_0xfa84cd){return makeCategorizer(this['languageDataAt']('wordChars',_0xfa84cd)['join'](''));}['wordAt'](_0x52fc5f){let {text:_0x526af1,from:_0x1799e7,length:_0x3e23a9}=this['doc']['lineAt'](_0x52fc5f),_0x5f434a=this['charCategorizer'](_0x52fc5f),_0x37b744=_0x52fc5f-_0x1799e7,_0x3af211=_0x52fc5f-_0x1799e7;for(;_0x37b744>0x0;){let _0x58e603=findClusterBreak(_0x526af1,_0x37b744,!0x1);if(_0x5f434a(_0x526af1['slice'](_0x58e603,_0x37b744))!=CharCategory['Word'])break;_0x37b744=_0x58e603;}for(;_0x3af211<_0x3e23a9;){let _0x3a855c=findClusterBreak(_0x526af1,_0x3af211);if(_0x5f434a(_0x526af1['slice'](_0x3af211,_0x3a855c))!=CharCategory['Word'])break;_0x3af211=_0x3a855c;}return _0x37b744==_0x3af211?null:EditorSelection['range'](_0x37b744+_0x1799e7,_0x3af211+_0x1799e7);}}function _0x1f6110(_0x986348,_0x26af18,_0x4711b7={}){let _0x2ccb3d={};for(let _0x289c57 of _0x986348)for(let _0x46e1fe of Object['keys'](_0x289c57)){let _0x2c8e04=_0x289c57[_0x46e1fe],_0x44ca34=_0x2ccb3d[_0x46e1fe];if(void 0x0===_0x44ca34)_0x2ccb3d[_0x46e1fe]=_0x2c8e04;else{if(_0x44ca34===_0x2c8e04||void 0x0===_0x2c8e04);else{if(!Object['hasOwnProperty']['call'](_0x4711b7,_0x46e1fe))throw new Error('Config\x20merge\x20conflict\x20for\x20field\x20'+_0x46e1fe);_0x2ccb3d[_0x46e1fe]=_0x4711b7[_0x46e1fe](_0x44ca34,_0x2c8e04);}}}for(let _0x3f49e4 in _0x26af18)void 0x0===_0x2ccb3d[_0x3f49e4]&&(_0x2ccb3d[_0x3f49e4]=_0x26af18[_0x3f49e4]);return _0x2ccb3d;}EditorState['allowMultipleSelections']=allowMultipleSelections,EditorState['tabSize']=Facet['define']({'combine':_0x53fbcd=>_0x53fbcd['length']?_0x53fbcd[0x0]:0x4}),EditorState['lineSeparator']=lineSeparator,EditorState['readOnly']=_0x489df7,EditorState['phrases']=Facet['define']({'compare'(_0x4ab6c1,_0x295bfb){let _0x307a4e=Object['keys'](_0x4ab6c1),_0x335950=Object['keys'](_0x295bfb);return _0x307a4e['length']==_0x335950['length']&&_0x307a4e['every'](_0x45c567=>_0x4ab6c1[_0x45c567]==_0x295bfb[_0x45c567]);}}),EditorState['languageData']=languageData,EditorState['changeFilter']=changeFilter,EditorState['transactionFilter']=transactionFilter,EditorState['transactionExtender']=transactionExtender,Compartment['reconfigure']=StateEffect['define']();class _0x450183{['eq'](_0x4b0cc7){return this==_0x4b0cc7;}['range'](_0x2b1d11,_0x216f69=_0x2b1d11){return _0xab1d5['create'](_0x2b1d11,_0x216f69,this);}}_0x450183['prototype']['startSide']=_0x450183['prototype']['endSide']=0x0,_0x450183['prototype']['point']=!0x1,_0x450183['prototype']['mapMode']=_0x1fe232['TrackDel'];let _0xab1d5=class _0x4e982b{constructor(_0x8cc39e,_0x506c24,_0x2f8345){this['from']=_0x8cc39e,this['to']=_0x506c24,this['value']=_0x2f8345;}static['create'](_0x186932,_0x2948e0,_0x5a0fe5){return new _0x4e982b(_0x186932,_0x2948e0,_0x5a0fe5);}};function _0x513406(_0x279af7,_0x2a14b9){return _0x279af7['from']-_0x2a14b9['from']||_0x279af7['value']['startSide']-_0x2a14b9['value']['startSide'];}class _0x552d7e{constructor(_0xad008c,_0x243c52,_0x9a3590,_0x5f4998){this['from']=_0xad008c,this['to']=_0x243c52,this['value']=_0x9a3590,this['maxPoint']=_0x5f4998;}get['length'](){return this['to'][this['to']['length']-0x1];}['findIndex'](_0xd0bb3a,_0x7eed22,_0x4da410,_0x5a4427=0x0){let _0x1f3885=_0x4da410?this['to']:this['from'];for(let _0x119067=_0x5a4427,_0x31543f=_0x1f3885['length'];;){if(_0x119067==_0x31543f)return _0x119067;let _0x344a2b=_0x119067+_0x31543f>>0x1,_0x23d7df=_0x1f3885[_0x344a2b]-_0xd0bb3a||(_0x4da410?this['value'][_0x344a2b]['endSide']:this['value'][_0x344a2b]['startSide'])-_0x7eed22;if(_0x344a2b==_0x119067)return _0x23d7df>=0x0?_0x119067:_0x31543f;_0x23d7df>=0x0?_0x31543f=_0x344a2b:_0x119067=_0x344a2b+0x1;}}['between'](_0x1322d3,_0x350924,_0x2b05d8,_0x2e5629){for(let _0x41e4e4=this['findIndex'](_0x350924,-0x3b9aca00,!0x0),_0x39ee62=this['findIndex'](_0x2b05d8,0x3b9aca00,!0x1,_0x41e4e4);_0x41e4e4<_0x39ee62;_0x41e4e4++)if(!0x1===_0x2e5629(this['from'][_0x41e4e4]+_0x1322d3,this['to'][_0x41e4e4]+_0x1322d3,this['value'][_0x41e4e4]))return!0x1;}['map'](_0x2abee9,_0x55fd58){let _0x1d500d=[],_0x1929b5=[],_0x50f584=[],_0x4d1c08=-0x1,_0x52db18=-0x1;for(let _0x5a51eb=0x0;_0x5a51eb<this['value']['length'];_0x5a51eb++){let _0x1aa3b1,_0x4e4bfb,_0x20927f=this['value'][_0x5a51eb],_0x35815c=this['from'][_0x5a51eb]+_0x2abee9,_0x54fdad=this['to'][_0x5a51eb]+_0x2abee9;if(_0x35815c==_0x54fdad){let _0x1d81cc=_0x55fd58['mapPos'](_0x35815c,_0x20927f['startSide'],_0x20927f['mapMode']);if(null==_0x1d81cc)continue;if(_0x1aa3b1=_0x4e4bfb=_0x1d81cc,_0x20927f['startSide']!=_0x20927f['endSide']&&(_0x4e4bfb=_0x55fd58['mapPos'](_0x35815c,_0x20927f['endSide']),_0x4e4bfb<_0x1aa3b1))continue;}else{if(_0x1aa3b1=_0x55fd58['mapPos'](_0x35815c,_0x20927f['startSide']),_0x4e4bfb=_0x55fd58['mapPos'](_0x54fdad,_0x20927f['endSide']),_0x1aa3b1>_0x4e4bfb||_0x1aa3b1==_0x4e4bfb&&_0x20927f['startSide']>0x0&&_0x20927f['endSide']<=0x0)continue;}(_0x4e4bfb-_0x1aa3b1||_0x20927f['endSide']-_0x20927f['startSide'])<0x0||(_0x4d1c08<0x0&&(_0x4d1c08=_0x1aa3b1),_0x20927f['point']&&(_0x52db18=Math['max'](_0x52db18,_0x4e4bfb-_0x1aa3b1)),_0x1d500d['push'](_0x20927f),_0x1929b5['push'](_0x1aa3b1-_0x4d1c08),_0x50f584['push'](_0x4e4bfb-_0x4d1c08));}return{'mapped':_0x1d500d['length']?new _0x552d7e(_0x1929b5,_0x50f584,_0x1d500d,_0x52db18):null,'pos':_0x4d1c08};}}class RangeSet{constructor(_0x19a8b1,_0x1247ef,_0x415778,_0x1742d2){this['chunkPos']=_0x19a8b1,this['chunk']=_0x1247ef,this['nextLayer']=_0x415778,this['maxPoint']=_0x1742d2;}static['create'](_0x31396d,_0x87765f,_0x1a37f4,_0x8413f8){return new RangeSet(_0x31396d,_0x87765f,_0x1a37f4,_0x8413f8);}get['length'](){let _0x5bbc2e=this['chunk']['length']-0x1;return _0x5bbc2e<0x0?0x0:Math['max'](this['chunkEnd'](_0x5bbc2e),this['nextLayer']['length']);}get['size'](){if(this['isEmpty'])return 0x0;let _0x8c8fc8=this['nextLayer']['size'];for(let _0x50c0b9 of this['chunk'])_0x8c8fc8+=_0x50c0b9['value']['length'];return _0x8c8fc8;}['chunkEnd'](_0x25ea7d){return this['chunkPos'][_0x25ea7d]+this['chunk'][_0x25ea7d]['length'];}['update'](_0x3892fc){let {add:_0xd9a4bc=[],sort:_0x522093=!0x1,filterFrom:_0xa44311=0x0,filterTo:_0x5b6073=this['length']}=_0x3892fc,_0x2c57b5=_0x3892fc['filter'];if(0x0==_0xd9a4bc['length']&&!_0x2c57b5)return this;if(_0x522093&&(_0xd9a4bc=_0xd9a4bc['slice']()['sort'](_0x513406)),this['isEmpty'])return _0xd9a4bc['length']?RangeSet['of'](_0xd9a4bc):this;let _0x250e4a=new _0x27970a(this,null,-0x1)['goto'](0x0),_0x194124=0x0,_0x4146ba=[],_0x3a0ad9=new RangeSetBuilder();for(;_0x250e4a['value']||_0x194124<_0xd9a4bc['length'];)if(_0x194124<_0xd9a4bc['length']&&(_0x250e4a['from']-_0xd9a4bc[_0x194124]['from']||_0x250e4a['startSide']-_0xd9a4bc[_0x194124]['value']['startSide'])>=0x0){let _0xf94c1=_0xd9a4bc[_0x194124++];_0x3a0ad9['addInner'](_0xf94c1['from'],_0xf94c1['to'],_0xf94c1['value'])||_0x4146ba['push'](_0xf94c1);}else 0x1==_0x250e4a['rangeIndex']&&_0x250e4a['chunkIndex']<this['chunk']['length']&&(_0x194124==_0xd9a4bc['length']||this['chunkEnd'](_0x250e4a['chunkIndex'])<_0xd9a4bc[_0x194124]['from'])&&(!_0x2c57b5||_0xa44311>this['chunkEnd'](_0x250e4a['chunkIndex'])||_0x5b6073<this['chunkPos'][_0x250e4a['chunkIndex']])&&_0x3a0ad9['addChunk'](this['chunkPos'][_0x250e4a['chunkIndex']],this['chunk'][_0x250e4a['chunkIndex']])?_0x250e4a['nextChunk']():((!_0x2c57b5||_0xa44311>_0x250e4a['to']||_0x5b6073<_0x250e4a['from']||_0x2c57b5(_0x250e4a['from'],_0x250e4a['to'],_0x250e4a['value']))&&(_0x3a0ad9['addInner'](_0x250e4a['from'],_0x250e4a['to'],_0x250e4a['value'])||_0x4146ba['push'](_0xab1d5['create'](_0x250e4a['from'],_0x250e4a['to'],_0x250e4a['value']))),_0x250e4a['next']());return _0x3a0ad9['finishInner'](this['nextLayer']['isEmpty']&&!_0x4146ba['length']?RangeSet['empty']:this['nextLayer']['update']({'add':_0x4146ba,'filter':_0x2c57b5,'filterFrom':_0xa44311,'filterTo':_0x5b6073}));}['map'](_0x3530be){if(_0x3530be['empty']||this['isEmpty'])return this;let _0x1e3985=[],_0x1278f9=[],_0x426dc6=-0x1;for(let _0x1c31d0=0x0;_0x1c31d0<this['chunk']['length'];_0x1c31d0++){let _0x238c06=this['chunkPos'][_0x1c31d0],_0x2cfc9b=this['chunk'][_0x1c31d0],_0x456b34=_0x3530be['touchesRange'](_0x238c06,_0x238c06+_0x2cfc9b['length']);if(!0x1===_0x456b34)_0x426dc6=Math['max'](_0x426dc6,_0x2cfc9b['maxPoint']),_0x1e3985['push'](_0x2cfc9b),_0x1278f9['push'](_0x3530be['mapPos'](_0x238c06));else{if(!0x0===_0x456b34){let {mapped:_0x2bc273,pos:_0x2bfe0f}=_0x2cfc9b['map'](_0x238c06,_0x3530be);_0x2bc273&&(_0x426dc6=Math['max'](_0x426dc6,_0x2bc273['maxPoint']),_0x1e3985['push'](_0x2bc273),_0x1278f9['push'](_0x2bfe0f));}}}let _0x487a0c=this['nextLayer']['map'](_0x3530be);return 0x0==_0x1e3985['length']?_0x487a0c:new RangeSet(_0x1278f9,_0x1e3985,_0x487a0c||RangeSet['empty'],_0x426dc6);}['between'](_0x3a24f0,_0x5155dd,_0x202b7c){if(!this['isEmpty']){for(let _0x5713a1=0x0;_0x5713a1<this['chunk']['length'];_0x5713a1++){let _0x18c2ab=this['chunkPos'][_0x5713a1],_0x5d582f=this['chunk'][_0x5713a1];if(_0x5155dd>=_0x18c2ab&&_0x3a24f0<=_0x18c2ab+_0x5d582f['length']&&!0x1===_0x5d582f['between'](_0x18c2ab,_0x3a24f0-_0x18c2ab,_0x5155dd-_0x18c2ab,_0x202b7c))return;}this['nextLayer']['between'](_0x3a24f0,_0x5155dd,_0x202b7c);}}['iter'](_0x4d787e=0x0){return _0xb7701a['from']([this])['goto'](_0x4d787e);}get['isEmpty'](){return this['nextLayer']==this;}static['iter'](_0x5058e1,_0xecd953=0x0){return _0xb7701a['from'](_0x5058e1)['goto'](_0xecd953);}static['compare'](_0x1f9c90,_0x2f2aa0,_0x290cfa,_0x3c8662,_0x182a99=-0x1){let _0xc130ff=_0x1f9c90['filter'](_0x2f6aa5=>_0x2f6aa5['maxPoint']>0x0||!_0x2f6aa5['isEmpty']&&_0x2f6aa5['maxPoint']>=_0x182a99),_0x45eb7f=_0x2f2aa0['filter'](_0x58c80f=>_0x58c80f['maxPoint']>0x0||!_0x58c80f['isEmpty']&&_0x58c80f['maxPoint']>=_0x182a99),_0x560cac=_0x1d548b(_0xc130ff,_0x45eb7f,_0x290cfa),_0x4826a4=new _0x407ac3(_0xc130ff,_0x560cac,_0x182a99),_0x540804=new _0x407ac3(_0x45eb7f,_0x560cac,_0x182a99);_0x290cfa['iterGaps']((_0x5bbda7,_0x22575d,_0x1ce8e0)=>_0x19c9a4(_0x4826a4,_0x5bbda7,_0x540804,_0x22575d,_0x1ce8e0,_0x3c8662)),_0x290cfa['empty']&&0x0==_0x290cfa['length']&&_0x19c9a4(_0x4826a4,0x0,_0x540804,0x0,0x0,_0x3c8662);}static['eq'](_0x176c4d,_0x3d960c,_0x36f34a=0x0,_0x13f342){null==_0x13f342&&(_0x13f342=0x3b9ac9ff);let _0x118224=_0x176c4d['filter'](_0x3db7c3=>!_0x3db7c3['isEmpty']&&_0x3d960c['indexOf'](_0x3db7c3)<0x0),_0x258545=_0x3d960c['filter'](_0x494a59=>!_0x494a59['isEmpty']&&_0x176c4d['indexOf'](_0x494a59)<0x0);if(_0x118224['length']!=_0x258545['length'])return!0x1;if(!_0x118224['length'])return!0x0;let _0x5dd30f=_0x1d548b(_0x118224,_0x258545),_0xdc6bd3=new _0x407ac3(_0x118224,_0x5dd30f,0x0)['goto'](_0x36f34a),_0x52285f=new _0x407ac3(_0x258545,_0x5dd30f,0x0)['goto'](_0x36f34a);for(;;){if(_0xdc6bd3['to']!=_0x52285f['to']||!_0x4edda8(_0xdc6bd3['active'],_0x52285f['active'])||_0xdc6bd3['point']&&(!_0x52285f['point']||!_0xdc6bd3['point']['eq'](_0x52285f['point'])))return!0x1;if(_0xdc6bd3['to']>_0x13f342)return!0x0;_0xdc6bd3['next'](),_0x52285f['next']();}}static['spans'](_0x48d0e9,_0x329735,_0x3454b5,_0x58be4d,_0x3919d8=-0x1){let _0x18ff6c=new _0x407ac3(_0x48d0e9,null,_0x3919d8)['goto'](_0x329735),_0x130fd5=_0x329735,_0x217256=_0x18ff6c['openStart'];for(;;){let _0x56a01c=Math['min'](_0x18ff6c['to'],_0x3454b5);if(_0x18ff6c['point']){let _0x5bc0c8=_0x18ff6c['activeForPoint'](_0x18ff6c['to']),_0x40d260=_0x18ff6c['pointFrom']<_0x329735?_0x5bc0c8['length']+0x1:_0x18ff6c['point']['startSide']<0x0?_0x5bc0c8['length']:Math['min'](_0x5bc0c8['length'],_0x217256);_0x58be4d['point'](_0x130fd5,_0x56a01c,_0x18ff6c['point'],_0x5bc0c8,_0x40d260,_0x18ff6c['pointRank']),_0x217256=Math['min'](_0x18ff6c['openEnd'](_0x56a01c),_0x5bc0c8['length']);}else _0x56a01c>_0x130fd5&&(_0x58be4d['span'](_0x130fd5,_0x56a01c,_0x18ff6c['active'],_0x217256),_0x217256=_0x18ff6c['openEnd'](_0x56a01c));if(_0x18ff6c['to']>_0x3454b5)return _0x217256+(_0x18ff6c['point']&&_0x18ff6c['to']>_0x3454b5?0x1:0x0);_0x130fd5=_0x18ff6c['to'],_0x18ff6c['next']();}}static['of'](_0x3c83c0,_0xaa6446=!0x1){let _0x16f3b8=new RangeSetBuilder();for(let _0x4c7de0 of _0x3c83c0 instanceof _0xab1d5?[_0x3c83c0]:_0xaa6446?lazySort(_0x3c83c0):_0x3c83c0)_0x16f3b8['add'](_0x4c7de0['from'],_0x4c7de0['to'],_0x4c7de0['value']);return _0x16f3b8['finish']();}static['join'](_0x35706d){if(!_0x35706d['length'])return RangeSet['empty'];let _0x25ecf5=_0x35706d[_0x35706d['length']-0x1];for(let _0x350a65=_0x35706d['length']-0x2;_0x350a65>=0x0;_0x350a65--)for(let _0x1a5753=_0x35706d[_0x350a65];_0x1a5753!=RangeSet['empty'];_0x1a5753=_0x1a5753['nextLayer'])_0x25ecf5=new RangeSet(_0x1a5753['chunkPos'],_0x1a5753['chunk'],_0x25ecf5,Math['max'](_0x1a5753['maxPoint'],_0x25ecf5['maxPoint']));return _0x25ecf5;}}function lazySort(_0x46c68e){if(_0x46c68e['length']>0x1)for(let _0x44f5c7=_0x46c68e[0x0],_0x5acea6=0x1;_0x5acea6<_0x46c68e['length'];_0x5acea6++){let _0x136d44=_0x46c68e[_0x5acea6];if(_0x513406(_0x44f5c7,_0x136d44)>0x0)return _0x46c68e['slice']()['sort'](_0x513406);_0x44f5c7=_0x136d44;}return _0x46c68e;}RangeSet['empty']=new RangeSet([],[],null,-0x1),RangeSet['empty']['nextLayer']=RangeSet['empty'];class RangeSetBuilder{['finishChunk'](_0x1e9139){this['chunks']['push'](new _0x552d7e(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,_0x1e9139&&(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'](_0x279e00,_0x476b5b,_0xf40a31){this['addInner'](_0x279e00,_0x476b5b,_0xf40a31)||(this['nextLayer']||(this['nextLayer']=new RangeSetBuilder()))['add'](_0x279e00,_0x476b5b,_0xf40a31);}['addInner'](_0x5c1c6,_0x4429d2,_0xec1f55){let _0x40eefd=_0x5c1c6-this['lastTo']||_0xec1f55['startSide']-this['last']['endSide'];if(_0x40eefd<=0x0&&(_0x5c1c6-this['lastFrom']||_0xec1f55['startSide']-this['last']['startSide'])<0x0)throw new Error('Ranges\x20must\x20be\x20added\x20sorted\x20by\x20`from`\x20position\x20and\x20`startSide`');return!(_0x40eefd<0x0)&&(0xfa==this['from']['length']&&this['finishChunk'](!0x0),this['chunkStart']<0x0&&(this['chunkStart']=_0x5c1c6),this['from']['push'](_0x5c1c6-this['chunkStart']),this['to']['push'](_0x4429d2-this['chunkStart']),this['last']=_0xec1f55,this['lastFrom']=_0x5c1c6,this['lastTo']=_0x4429d2,this['value']['push'](_0xec1f55),_0xec1f55['point']&&(this['maxPoint']=Math['max'](this['maxPoint'],_0x4429d2-_0x5c1c6)),!0x0);}['addChunk'](_0x477813,_0x4b1d37){if((_0x477813-this['lastTo']||_0x4b1d37['value'][0x0]['startSide']-this['last']['endSide'])<0x0)return!0x1;this['from']['length']&&this['finishChunk'](!0x0),this['setMaxPoint']=Math['max'](this['setMaxPoint'],_0x4b1d37['maxPoint']),this['chunks']['push'](_0x4b1d37),this['chunkPos']['push'](_0x477813);let _0x5a847c=_0x4b1d37['value']['length']-0x1;return this['last']=_0x4b1d37['value'][_0x5a847c],this['lastFrom']=_0x4b1d37['from'][_0x5a847c]+_0x477813,this['lastTo']=_0x4b1d37['to'][_0x5a847c]+_0x477813,!0x0;}['finish'](){return this['finishInner'](RangeSet['empty']);}['finishInner'](_0x22fc2c){if(this['from']['length']&&this['finishChunk'](!0x1),0x0==this['chunks']['length'])return _0x22fc2c;let _0x4bd578=RangeSet['create'](this['chunkPos'],this['chunks'],this['nextLayer']?this['nextLayer']['finishInner'](_0x22fc2c):_0x22fc2c,this['setMaxPoint']);return this['from']=null,_0x4bd578;}}function _0x1d548b(_0x10eba1,_0x4f4994,_0x2fd904){let _0x1075b9=new Map();for(let _0x2a4112 of _0x10eba1)for(let _0x45334a=0x0;_0x45334a<_0x2a4112['chunk']['length'];_0x45334a++)_0x2a4112['chunk'][_0x45334a]['maxPoint']<=0x0&&_0x1075b9['set'](_0x2a4112['chunk'][_0x45334a],_0x2a4112['chunkPos'][_0x45334a]);let _0x335a70=new Set();for(let _0x5edb51 of _0x4f4994)for(let _0x5e971e=0x0;_0x5e971e<_0x5edb51['chunk']['length'];_0x5e971e++){let _0x163003=_0x1075b9['get'](_0x5edb51['chunk'][_0x5e971e]);null==_0x163003||(_0x2fd904?_0x2fd904['mapPos'](_0x163003):_0x163003)!=_0x5edb51['chunkPos'][_0x5e971e]||(null==_0x2fd904?void 0x0:_0x2fd904['touchesRange'](_0x163003,_0x163003+_0x5edb51['chunk'][_0x5e971e]['length']))||_0x335a70['add'](_0x5edb51['chunk'][_0x5e971e]);}return _0x335a70;}class _0x27970a{constructor(_0x3dbc40,_0x18e16f,_0x63097b,_0x2d1e91=0x0){this['layer']=_0x3dbc40,this['skip']=_0x18e16f,this['minPoint']=_0x63097b,this['rank']=_0x2d1e91;}get['startSide'](){return this['value']?this['value']['startSide']:0x0;}get['endSide'](){return this['value']?this['value']['endSide']:0x0;}['goto'](_0x5f0c67,_0x59a74c=-0x3b9aca00){return this['chunkIndex']=this['rangeIndex']=0x0,this['gotoInner'](_0x5f0c67,_0x59a74c,!0x1),this;}['gotoInner'](_0x4e9e20,_0x41684b,_0x290c00){for(;this['chunkIndex']<this['layer']['chunk']['length'];){let _0x59b959=this['layer']['chunk'][this['chunkIndex']];if(!(this['skip']&&this['skip']['has'](_0x59b959)||this['layer']['chunkEnd'](this['chunkIndex'])<_0x4e9e20||_0x59b959['maxPoint']<this['minPoint']))break;this['chunkIndex']++,_0x290c00=!0x1;}if(this['chunkIndex']<this['layer']['chunk']['length']){let _0x1dd396=this['layer']['chunk'][this['chunkIndex']]['findIndex'](_0x4e9e20-this['layer']['chunkPos'][this['chunkIndex']],_0x41684b,!0x0);(!_0x290c00||this['rangeIndex']<_0x1dd396)&&this['setRangeIndex'](_0x1dd396);}this['next']();}['forward'](_0x58e31a,_0x1405df){(this['to']-_0x58e31a||this['endSide']-_0x1405df)<0x0&&this['gotoInner'](_0x58e31a,_0x1405df,!0x0);}['next'](){for(;;){if(this['chunkIndex']==this['layer']['chunk']['length']){this['from']=this['to']=0x3b9aca00,this['value']=null;break;}{let _0x4eb017=this['layer']['chunkPos'][this['chunkIndex']],_0x418b0e=this['layer']['chunk'][this['chunkIndex']],_0x3f1338=_0x4eb017+_0x418b0e['from'][this['rangeIndex']];if(this['from']=_0x3f1338,this['to']=_0x4eb017+_0x418b0e['to'][this['rangeIndex']],this['value']=_0x418b0e['value'][this['rangeIndex']],this['setRangeIndex'](this['rangeIndex']+0x1),this['minPoint']<0x0||this['value']['point']&&this['to']-this['from']>=this['minPoint'])break;}}}['setRangeIndex'](_0x4b229c){if(_0x4b229c==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']=_0x4b229c;}['nextChunk'](){this['chunkIndex']++,this['rangeIndex']=0x0,this['next']();}['compare'](_0x4cb073){return this['from']-_0x4cb073['from']||this['startSide']-_0x4cb073['startSide']||this['rank']-_0x4cb073['rank']||this['to']-_0x4cb073['to']||this['endSide']-_0x4cb073['endSide'];}}class _0xb7701a{constructor(_0x2da5d0){this['heap']=_0x2da5d0;}static['from'](_0x190f63,_0x2c72ed=null,_0x268ed4=-0x1){let _0x3e0e45=[];for(let _0x7a2793=0x0;_0x7a2793<_0x190f63['length'];_0x7a2793++)for(let _0x66c166=_0x190f63[_0x7a2793];!_0x66c166['isEmpty'];_0x66c166=_0x66c166['nextLayer'])_0x66c166['maxPoint']>=_0x268ed4&&_0x3e0e45['push'](new _0x27970a(_0x66c166,_0x2c72ed,_0x268ed4,_0x7a2793));return 0x1==_0x3e0e45['length']?_0x3e0e45[0x0]:new _0xb7701a(_0x3e0e45);}get['startSide'](){return this['value']?this['value']['startSide']:0x0;}['goto'](_0x59324d,_0x35c2f5=-0x3b9aca00){for(let _0x20f83a of this['heap'])_0x20f83a['goto'](_0x59324d,_0x35c2f5);for(let _0x43f6a2=this['heap']['length']>>0x1;_0x43f6a2>=0x0;_0x43f6a2--)_0x3c1c2e(this['heap'],_0x43f6a2);return this['next'](),this;}['forward'](_0x9c1cae,_0x5f25e7){for(let _0x5284d0 of this['heap'])_0x5284d0['forward'](_0x9c1cae,_0x5f25e7);for(let _0x37fdb3=this['heap']['length']>>0x1;_0x37fdb3>=0x0;_0x37fdb3--)_0x3c1c2e(this['heap'],_0x37fdb3);(this['to']-_0x9c1cae||this['value']['endSide']-_0x5f25e7)<0x0&&this['next']();}['next'](){if(0x0==this['heap']['length'])this['from']=this['to']=0x3b9aca00,this['value']=null,this['rank']=-0x1;else{let _0x2adc52=this['heap'][0x0];this['from']=_0x2adc52['from'],this['to']=_0x2adc52['to'],this['value']=_0x2adc52['value'],this['rank']=_0x2adc52['rank'],_0x2adc52['value']&&_0x2adc52['next'](),_0x3c1c2e(this['heap'],0x0);}}}function _0x3c1c2e(_0x1aacaa,_0x1ea22f){for(let _0x389e6d=_0x1aacaa[_0x1ea22f];;){let _0x2e237b=0x1+(_0x1ea22f<<0x1);if(_0x2e237b>=_0x1aacaa['length'])break;let _0x3098d9=_0x1aacaa[_0x2e237b];if(_0x2e237b+0x1<_0x1aacaa['length']&&_0x3098d9['compare'](_0x1aacaa[_0x2e237b+0x1])>=0x0&&(_0x3098d9=_0x1aacaa[_0x2e237b+0x1],_0x2e237b++),_0x389e6d['compare'](_0x3098d9)<0x0)break;_0x1aacaa[_0x2e237b]=_0x389e6d,_0x1aacaa[_0x1ea22f]=_0x3098d9,_0x1ea22f=_0x2e237b;}}class _0x407ac3{constructor(_0x49d3da,_0x9a9d82,_0x595707){this['minPoint']=_0x595707,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']=_0xb7701a['from'](_0x49d3da,_0x9a9d82,_0x595707);}['goto'](_0x4a4c1c,_0x389960=-0x3b9aca00){return this['cursor']['goto'](_0x4a4c1c,_0x389960),this['active']['length']=this['activeTo']['length']=this['activeRank']['length']=0x0,this['minActive']=-0x1,this['to']=_0x4a4c1c,this['endSide']=_0x389960,this['openStart']=-0x1,this['next'](),this;}['forward'](_0x30da58,_0x491eb0){for(;this['minActive']>-0x1&&(this['activeTo'][this['minActive']]-_0x30da58||this['active'][this['minActive']]['endSide']-_0x491eb0)<0x0;)this['removeActive'](this['minActive']);this['cursor']['forward'](_0x30da58,_0x491eb0);}['removeActive'](_0x52d25d){_0x5c3916(this['active'],_0x52d25d),_0x5c3916(this['activeTo'],_0x52d25d),_0x5c3916(this['activeRank'],_0x52d25d),this['minActive']=_0x388b02(this['active'],this['activeTo']);}['addActive'](_0x1068f9){let _0x15efdd=0x0,{value:_0x213282,to:_0x478534,rank:_0x59f2d7}=this['cursor'];for(;_0x15efdd<this['activeRank']['length']&&(_0x59f2d7-this['activeRank'][_0x15efdd]||_0x478534-this['activeTo'][_0x15efdd])>0x0;)_0x15efdd++;insert(this['active'],_0x15efdd,_0x213282),insert(this['activeTo'],_0x15efdd,_0x478534),insert(this['activeRank'],_0x15efdd,_0x59f2d7),_0x1068f9&&insert(_0x1068f9,_0x15efdd,this['cursor']['from']),this['minActive']=_0x388b02(this['active'],this['activeTo']);}['next'](){let _0x88c6a9=this['to'],_0x2d8b13=this['point'];this['point']=null;let _0x52bb75=this['openStart']<0x0?[]:null;for(;;){let _0x56f870=this['minActive'];if(_0x56f870>-0x1&&(this['activeTo'][_0x56f870]-this['cursor']['from']||this['active'][_0x56f870]['endSide']-this['cursor']['startSide'])<0x0){if(this['activeTo'][_0x56f870]>_0x88c6a9){this['to']=this['activeTo'][_0x56f870],this['endSide']=this['active'][_0x56f870]['endSide'];break;}this['removeActive'](_0x56f870),_0x52bb75&&_0x5c3916(_0x52bb75,_0x56f870);}else{if(!this['cursor']['value']){this['to']=this['endSide']=0x3b9aca00;break;}if(this['cursor']['from']>_0x88c6a9){this['to']=this['cursor']['from'],this['endSide']=this['cursor']['startSide'];break;}{let _0x410d19=this['cursor']['value'];if(_0x410d19['point']){if(!(_0x2d8b13&&this['cursor']['to']==this['to']&&this['cursor']['from']<this['cursor']['to'])){this['point']=_0x410d19,this['pointFrom']=this['cursor']['from'],this['pointRank']=this['cursor']['rank'],this['to']=this['cursor']['to'],this['endSide']=_0x410d19['endSide'],this['cursor']['next'](),this['forward'](this['to'],this['endSide']);break;}this['cursor']['next']();}else this['addActive'](_0x52bb75),this['cursor']['next']();}}}if(_0x52bb75){this['openStart']=0x0;for(let _0x3fab8d=_0x52bb75['length']-0x1;_0x3fab8d>=0x0&&_0x52bb75[_0x3fab8d]<_0x88c6a9;_0x3fab8d--)this['openStart']++;}}['activeForPoint'](_0x57b3f2){if(!this['active']['length'])return this['active'];let _0x3558ea=[];for(let _0x16ac64=this['active']['length']-0x1;_0x16ac64>=0x0&&!(this['activeRank'][_0x16ac64]<this['pointRank']);_0x16ac64--)(this['activeTo'][_0x16ac64]>_0x57b3f2||this['activeTo'][_0x16ac64]==_0x57b3f2&&this['active'][_0x16ac64]['endSide']>=this['point']['endSide'])&&_0x3558ea['push'](this['active'][_0x16ac64]);return _0x3558ea['reverse']();}['openEnd'](_0x40f47c){let _0x409130=0x0;for(let _0x2425ca=this['activeTo']['length']-0x1;_0x2425ca>=0x0&&this['activeTo'][_0x2425ca]>_0x40f47c;_0x2425ca--)_0x409130++;return _0x409130;}}function _0x19c9a4(_0x2710e6,_0x3ebf58,_0x4d8fe0,_0x29d337,_0x508830,_0x39bff6){_0x2710e6['goto'](_0x3ebf58),_0x4d8fe0['goto'](_0x29d337);let _0x534484=_0x29d337+_0x508830,_0x2403c2=_0x29d337,_0x20d39b=_0x29d337-_0x3ebf58;for(;;){let _0x1acbba=_0x2710e6['to']+_0x20d39b-_0x4d8fe0['to'],_0x4a3934=_0x1acbba||_0x2710e6['endSide']-_0x4d8fe0['endSide'],_0x235914=_0x4a3934<0x0?_0x2710e6['to']+_0x20d39b:_0x4d8fe0['to'],_0x5d0dde=Math['min'](_0x235914,_0x534484);if(_0x2710e6['point']||_0x4d8fe0['point']?_0x2710e6['point']&&_0x4d8fe0['point']&&(_0x2710e6['point']==_0x4d8fe0['point']||_0x2710e6['point']['eq'](_0x4d8fe0['point']))&&_0x4edda8(_0x2710e6['activeForPoint'](_0x2710e6['to']),_0x4d8fe0['activeForPoint'](_0x4d8fe0['to']))||_0x39bff6['comparePoint'](_0x2403c2,_0x5d0dde,_0x2710e6['point'],_0x4d8fe0['point']):_0x5d0dde>_0x2403c2&&!_0x4edda8(_0x2710e6['active'],_0x4d8fe0['active'])&&_0x39bff6['compareRange'](_0x2403c2,_0x5d0dde,_0x2710e6['active'],_0x4d8fe0['active']),_0x235914>_0x534484)break;(_0x1acbba||_0x2710e6['openEnd']!=_0x4d8fe0['openEnd'])&&_0x39bff6['boundChange']&&_0x39bff6['boundChange'](_0x235914),_0x2403c2=_0x235914,_0x4a3934<=0x0&&_0x2710e6['next'](),_0x4a3934>=0x0&&_0x4d8fe0['next']();}}function _0x4edda8(_0x37cb58,_0x1c693e){if(_0x37cb58['length']!=_0x1c693e['length'])return!0x1;for(let _0x42c8fe=0x0;_0x42c8fe<_0x37cb58['length'];_0x42c8fe++)if(_0x37cb58[_0x42c8fe]!=_0x1c693e[_0x42c8fe]&&!_0x37cb58[_0x42c8fe]['eq'](_0x1c693e[_0x42c8fe]))return!0x1;return!0x0;}function _0x5c3916(_0x3924b3,_0x5a0d39){for(let _0x37ec27=_0x5a0d39,_0x2b516a=_0x3924b3['length']-0x1;_0x37ec27<_0x2b516a;_0x37ec27++)_0x3924b3[_0x37ec27]=_0x3924b3[_0x37ec27+0x1];_0x3924b3['pop']();}function insert(_0x50b01b,_0x528d94,_0x4b0576){for(let _0x3de7ce=_0x50b01b['length']-0x1;_0x3de7ce>=_0x528d94;_0x3de7ce--)_0x50b01b[_0x3de7ce+0x1]=_0x50b01b[_0x3de7ce];_0x50b01b[_0x528d94]=_0x4b0576;}function _0x388b02(_0x284afc,_0x809535){let _0x4ea7c5=-0x1,_0x2a7bc5=0x3b9aca00;for(let _0x13ec14=0x0;_0x13ec14<_0x809535['length'];_0x13ec14++)(_0x809535[_0x13ec14]-_0x2a7bc5||_0x284afc[_0x13ec14]['endSide']-_0x284afc[_0x4ea7c5]['endSide'])<0x0&&(_0x4ea7c5=_0x13ec14,_0x2a7bc5=_0x809535[_0x13ec14]);return _0x4ea7c5;}function countColumn(_0x87553f,_0x5e672b,_0x27eeb0=_0x87553f['length']){let _0x5066ca=0x0;for(let _0x3dbc0e=0x0;_0x3dbc0e<_0x27eeb0&&_0x3dbc0e<_0x87553f['length'];)0x9==_0x87553f['charCodeAt'](_0x3dbc0e)?(_0x5066ca+=_0x5e672b-_0x5066ca%_0x5e672b,_0x3dbc0e++):(_0x5066ca++,_0x3dbc0e=findClusterBreak(_0x87553f,_0x3dbc0e));return _0x5066ca;}function _0x17637e(_0x3e4423,_0x2ca916,_0x3001c4,_0x5e741a){for(let _0x417133=0x0,_0x349aac=0x0;;){if(_0x349aac>=_0x2ca916)return _0x417133;if(_0x417133==_0x3e4423['length'])break;_0x349aac+=0x9==_0x3e4423['charCodeAt'](_0x417133)?_0x3001c4-_0x349aac%_0x3001c4:0x1,_0x417133=findClusterBreak(_0x3e4423,_0x417133);}return!0x0===_0x5e741a?-0x1:_0x3e4423['length'];}const _0x1fcafa='ͼ',_0x8ce071='undefined'==typeof Symbol?'__'+_0x1fcafa:Symbol['for'](_0x1fcafa),_0x40149c='undefined'==typeof Symbol?'__styleSet'+Math['floor'](0x5f5e100*Math['random']()):Symbol('styleSet'),top='undefined'!=typeof globalThis?globalThis:'undefined'!=typeof window?window:{};class StyleModule{constructor(_0x763387,_0x57faff){this['rules']=[];let {finish:_0x2eef71}=_0x57faff||{};function _0x2cf2ab(_0x630be5){return/^@/['test'](_0x630be5)?[_0x630be5]:_0x630be5['split'](/,\s*/);}function _0xbf2789(_0x1c9617,_0x290722,_0x39948f,_0x4f3e8f){let _0xd3546b=[],_0x418940=/^@(\w+)\b/['exec'](_0x1c9617[0x0]),_0x4c7ce7=_0x418940&&'keyframes'==_0x418940[0x1];if(_0x418940&&null==_0x290722)return _0x39948f['push'](_0x1c9617[0x0]+';');for(let _0x4f5ff6 in _0x290722){let _0x118f29=_0x290722[_0x4f5ff6];if(/&/['test'](_0x4f5ff6))_0xbf2789(_0x4f5ff6['split'](/,\s*/)['map'](_0x9e19bb=>_0x1c9617['map'](_0x813e0e=>_0x9e19bb['replace'](/&/,_0x813e0e)))['reduce']((_0x2921d3,_0x25b10f)=>_0x2921d3['concat'](_0x25b10f)),_0x118f29,_0x39948f);else{if(_0x118f29&&'object'==typeof _0x118f29){if(!_0x418940)throw new RangeError('The\x20value\x20of\x20a\x20property\x20('+_0x4f5ff6+')\x20should\x20be\x20a\x20primitive\x20value.');_0xbf2789(_0x2cf2ab(_0x4f5ff6),_0x118f29,_0xd3546b,_0x4c7ce7);}else null!=_0x118f29&&_0xd3546b['push'](_0x4f5ff6['replace'](/_.*/,'')['replace'](/[A-Z]/g,_0x56b3ab=>'-'+_0x56b3ab['toLowerCase']())+':\x20'+_0x118f29+';');}}(_0xd3546b['length']||_0x4c7ce7)&&_0x39948f['push']((!_0x2eef71||_0x418940||_0x4f3e8f?_0x1c9617:_0x1c9617['map'](_0x2eef71))['join'](',\x20')+'\x20{'+_0xd3546b['join']('\x20')+'}');}for(let _0x5bfe83 in _0x763387)_0xbf2789(_0x2cf2ab(_0x5bfe83),_0x763387[_0x5bfe83],this['rules']);}['getRules'](){return this['rules']['join']('\x0a');}static['newName'](){let _0x182867=top[_0x8ce071]||0x1;return top[_0x8ce071]=_0x182867+0x1,_0x1fcafa+_0x182867['toString'](0x24);}static['mount'](_0x278024,_0x183bd4,_0x38cabb){let _0x455360=_0x278024[_0x40149c],_0x4f032a=_0x38cabb&&_0x38cabb['nonce'];_0x455360?_0x4f032a&&_0x455360['setNonce'](_0x4f032a):_0x455360=new StyleSet(_0x278024,_0x4f032a),_0x455360['mount'](Array['isArray'](_0x183bd4)?_0x183bd4:[_0x183bd4],_0x278024);}}let adoptedSet=new Map();class StyleSet{constructor(_0x1255bf,_0x56a946){let _0x1b4d52=_0x1255bf['ownerDocument']||_0x1255bf,_0x11a799=_0x1b4d52['defaultView'];if(!_0x1255bf['head']&&_0x1255bf['adoptedStyleSheets']&&_0x11a799['CSSStyleSheet']){let _0x2d02de=adoptedSet['get'](_0x1b4d52);if(_0x2d02de)return _0x1255bf[_0x40149c]=_0x2d02de;this['sheet']=new _0x11a799['CSSStyleSheet'](),adoptedSet['set'](_0x1b4d52,this);}else this['styleTag']=_0x1b4d52['createElement']('style'),_0x56a946&&this['styleTag']['setAttribute']('nonce',_0x56a946);this['modules']=[],_0x1255bf[_0x40149c]=this;}['mount'](_0x717cc0,_0x4f5f10){let _0x141cbc=this['sheet'],_0x4b23ec=0x0,_0x42f83f=0x0;for(let _0x21a94f=0x0;_0x21a94f<_0x717cc0['length'];_0x21a94f++){let _0x4857a8=_0x717cc0[_0x21a94f],_0x5bce8d=this['modules']['indexOf'](_0x4857a8);if(_0x5bce8d<_0x42f83f&&_0x5bce8d>-0x1&&(this['modules']['splice'](_0x5bce8d,0x1),_0x42f83f--,_0x5bce8d=-0x1),-0x1==_0x5bce8d){if(this['modules']['splice'](_0x42f83f++,0x0,_0x4857a8),_0x141cbc){for(let _0x50c3ba=0x0;_0x50c3ba<_0x4857a8['rules']['length'];_0x50c3ba++)_0x141cbc['insertRule'](_0x4857a8['rules'][_0x50c3ba],_0x4b23ec++);}}else{for(;_0x42f83f<_0x5bce8d;)_0x4b23ec+=this['modules'][_0x42f83f++]['rules']['length'];_0x4b23ec+=_0x4857a8['rules']['length'],_0x42f83f++;}}if(_0x141cbc)_0x4f5f10['adoptedStyleSheets']['indexOf'](this['sheet'])<0x0&&(_0x4f5f10['adoptedStyleSheets']=[this['sheet'],..._0x4f5f10['adoptedStyleSheets']]);else{let _0x2daf39='';for(let _0x46ac1a=0x0;_0x46ac1a<this['modules']['length'];_0x46ac1a++)_0x2daf39+=this['modules'][_0x46ac1a]['getRules']()+'\x0a';this['styleTag']['textContent']=_0x2daf39;let _0x1572f0=_0x4f5f10['head']||_0x4f5f10;this['styleTag']['parentNode']!=_0x1572f0&&_0x1572f0['insertBefore'](this['styleTag'],_0x1572f0['firstChild']);}}['setNonce'](_0x390e32){this['styleTag']&&this['styleTag']['getAttribute']('nonce')!=_0x390e32&&this['styleTag']['setAttribute']('nonce',_0x390e32);}}for(var _0x5bd3be={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'},_0x5f4182='undefined'!=typeof navigator&&/Mac/['test'](navigator['platform']),_0x5cb870='undefined'!=typeof navigator&&/MSIE \d|Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/['exec'](navigator['userAgent']),_0x205366=0x0;_0x205366<0xa;_0x205366++)_0x5bd3be[0x30+_0x205366]=_0x5bd3be[0x60+_0x205366]=String(_0x205366);for(var _0x205366=0x1;_0x205366<=0x18;_0x205366++)_0x5bd3be[_0x205366+0x6f]='F'+_0x205366;for(var _0x205366=0x41;_0x205366<=0x5a;_0x205366++)_0x5bd3be[_0x205366]=String['fromCharCode'](_0x205366+0x20),shift[_0x205366]=String['fromCharCode'](_0x205366);for(var _0x40739a in _0x5bd3be)shift['hasOwnProperty'](_0x40739a)||(shift[_0x40739a]=_0x5bd3be[_0x40739a]);function _0x3ce19c(_0x9220df){var _0x382aa5=!(_0x5f4182&&_0x9220df['metaKey']&&_0x9220df['shiftKey']&&!_0x9220df['ctrlKey']&&!_0x9220df['altKey']||_0x5cb870&&_0x9220df['shiftKey']&&_0x9220df['key']&&0x1==_0x9220df['key']['length']||'Unidentified'==_0x9220df['key'])&&_0x9220df['key']||(_0x9220df['shiftKey']?shift:_0x5bd3be)[_0x9220df['keyCode']]||_0x9220df['key']||'Unidentified';return'Esc'==_0x382aa5&&(_0x382aa5='Escape'),'Del'==_0x382aa5&&(_0x382aa5='Delete'),'Left'==_0x382aa5&&(_0x382aa5='ArrowLeft'),'Up'==_0x382aa5&&(_0x382aa5='ArrowUp'),'Right'==_0x382aa5&&(_0x382aa5='ArrowRight'),'Down'==_0x382aa5&&(_0x382aa5='ArrowDown'),_0x382aa5;}function getSelection(_0x159c60){let _0x1e080e;return _0x1e080e=0xb==_0x159c60['nodeType']?_0x159c60['getSelection']?_0x159c60:_0x159c60['ownerDocument']:_0x159c60,_0x1e080e['getSelection']();}function contains(_0xf9bfbd,_0x132965){return!!_0x132965&&(_0xf9bfbd==_0x132965||_0xf9bfbd['contains'](0x1!=_0x132965['nodeType']?_0x132965['parentNode']:_0x132965));}function hasSelection(_0x1d9830,_0x406f95){if(!_0x406f95['anchorNode'])return!0x1;try{return contains(_0x1d9830,_0x406f95['anchorNode']);}catch(_0x32fbb0){return!0x1;}}function clientRectsFor(_0x130b43){return 0x3==_0x130b43['nodeType']?textRange(_0x130b43,0x0,_0x130b43['nodeValue']['length'])['getClientRects']():0x1==_0x130b43['nodeType']?_0x130b43['getClientRects']():[];}function isEquivalentPosition(_0x58bf23,_0x422ffd,_0x42f900,_0x5babbd){return!!_0x42f900&&(_0x58c5a1(_0x58bf23,_0x422ffd,_0x42f900,_0x5babbd,-0x1)||_0x58c5a1(_0x58bf23,_0x422ffd,_0x42f900,_0x5babbd,0x1));}function _0x347bea(_0x305b94){for(var _0x52fafc=0x0;;_0x52fafc++)if(!(_0x305b94=_0x305b94['previousSibling']))return _0x52fafc;}function isBlockElement(_0x487719){return 0x1==_0x487719['nodeType']&&/^(DIV|P|LI|UL|OL|BLOCKQUOTE|DD|DT|H\d|SECTION|PRE)$/['test'](_0x487719['nodeName']);}function _0x58c5a1(_0x246fb5,_0x148961,_0x6fdaa3,_0x175bb9,_0x544a12){for(;;){if(_0x246fb5==_0x6fdaa3&&_0x148961==_0x175bb9)return!0x0;if(_0x148961==(_0x544a12<0x0?0x0:maxOffset(_0x246fb5))){if('DIV'==_0x246fb5['nodeName'])return!0x1;let _0x507520=_0x246fb5['parentNode'];if(!_0x507520||0x1!=_0x507520['nodeType'])return!0x1;_0x148961=_0x347bea(_0x246fb5)+(_0x544a12<0x0?0x0:0x1),_0x246fb5=_0x507520;}else{if(0x1!=_0x246fb5['nodeType'])return!0x1;if(0x1==(_0x246fb5=_0x246fb5['childNodes'][_0x148961+(_0x544a12<0x0?-0x1:0x0)])['nodeType']&&'false'==_0x246fb5['contentEditable'])return!0x1;_0x148961=_0x544a12<0x0?maxOffset(_0x246fb5):0x0;}}}function maxOffset(_0x2414f4){return 0x3==_0x2414f4['nodeType']?_0x2414f4['nodeValue']['length']:_0x2414f4['childNodes']['length'];}function flattenRect(_0x162a84,_0x58bb36){let _0x5208c2=_0x58bb36?_0x162a84['left']:_0x162a84['right'];return{'left':_0x5208c2,'right':_0x5208c2,'top':_0x162a84['top'],'bottom':_0x162a84['bottom']};}function windowRect(_0x3862b3){let _0x25c730=_0x3862b3['visualViewport'];return _0x25c730?{'left':0x0,'right':_0x25c730['width'],'top':0x0,'bottom':_0x25c730['height']}:{'left':0x0,'right':_0x3862b3['innerWidth'],'top':0x0,'bottom':_0x3862b3['innerHeight']};}function getScale(_0x332fc6,_0xa16a12){let _0x54d6b6=_0xa16a12['width']/_0x332fc6['offsetWidth'],_0x354694=_0xa16a12['height']/_0x332fc6['offsetHeight'];return(_0x54d6b6>0.995&&_0x54d6b6<1.005||!isFinite(_0x54d6b6)||Math['abs'](_0xa16a12['width']-_0x332fc6['offsetWidth'])<0x1)&&(_0x54d6b6=0x1),(_0x354694>0.995&&_0x354694<1.005||!isFinite(_0x354694)||Math['abs'](_0xa16a12['height']-_0x332fc6['offsetHeight'])<0x1)&&(_0x354694=0x1),{'scaleX':_0x54d6b6,'scaleY':_0x354694};}function scrollRectIntoView(_0x1320bc,_0x1d8188,_0x4cf00c,_0x5bcce6,_0x4839c7,_0x5be4fc,_0x29a9c5,_0x5f045b){let _0x32ab3c=_0x1320bc['ownerDocument'],_0x3298b6=_0x32ab3c['defaultView']||window;for(let _0x3fed1a=_0x1320bc,_0x7e66f2=!0x1;_0x3fed1a&&!_0x7e66f2;)if(0x1==_0x3fed1a['nodeType']){let _0x179a71,_0x5ef975=_0x3fed1a==_0x32ab3c['body'],_0x1afb11=0x1,_0x2fbd95=0x1;if(_0x5ef975)_0x179a71=windowRect(_0x3298b6);else{if(/^(fixed|sticky)$/['test'](getComputedStyle(_0x3fed1a)['position'])&&(_0x7e66f2=!0x0),_0x3fed1a['scrollHeight']<=_0x3fed1a['clientHeight']&&_0x3fed1a['scrollWidth']<=_0x3fed1a['clientWidth']){_0x3fed1a=_0x3fed1a['assignedSlot']||_0x3fed1a['parentNode'];continue;}let _0x2fc708=_0x3fed1a['getBoundingClientRect']();({scaleX:_0x1afb11,scaleY:_0x2fbd95}=getScale(_0x3fed1a,_0x2fc708),_0x179a71={'left':_0x2fc708['left'],'right':_0x2fc708['left']+_0x3fed1a['clientWidth']*_0x1afb11,'top':_0x2fc708['top'],'bottom':_0x2fc708['top']+_0x3fed1a['clientHeight']*_0x2fbd95});}let _0x25e8d5=0x0,_0x6c243f=0x0;if('nearest'==_0x4839c7)_0x1d8188['top']<_0x179a71['top']?(_0x6c243f=_0x1d8188['top']-(_0x179a71['top']+_0x29a9c5),_0x4cf00c>0x0&&_0x1d8188['bottom']>_0x179a71['bottom']+_0x6c243f&&(_0x6c243f=_0x1d8188['bottom']-_0x179a71['bottom']+_0x29a9c5)):_0x1d8188['bottom']>_0x179a71['bottom']&&(_0x6c243f=_0x1d8188['bottom']-_0x179a71['bottom']+_0x29a9c5,_0x4cf00c<0x0&&_0x1d8188['top']-_0x6c243f<_0x179a71['top']&&(_0x6c243f=_0x1d8188['top']-(_0x179a71['top']+_0x29a9c5)));else{let _0x406c56=_0x1d8188['bottom']-_0x1d8188['top'],_0x5730cd=_0x179a71['bottom']-_0x179a71['top'];_0x6c243f=('center'==_0x4839c7&&_0x406c56<=_0x5730cd?_0x1d8188['top']+_0x406c56/0x2-_0x5730cd/0x2:'start'==_0x4839c7||'center'==_0x4839c7&&_0x4cf00c<0x0?_0x1d8188['top']-_0x29a9c5:_0x1d8188['bottom']-_0x5730cd+_0x29a9c5)-_0x179a71['top'];}if('nearest'==_0x5bcce6)_0x1d8188['left']<_0x179a71['left']?(_0x25e8d5=_0x1d8188['left']-(_0x179a71['left']+_0x5be4fc),_0x4cf00c>0x0&&_0x1d8188['right']>_0x179a71['right']+_0x25e8d5&&(_0x25e8d5=_0x1d8188['right']-_0x179a71['right']+_0x5be4fc)):_0x1d8188['right']>_0x179a71['right']&&(_0x25e8d5=_0x1d8188['right']-_0x179a71['right']+_0x5be4fc,_0x4cf00c<0x0&&_0x1d8188['left']<_0x179a71['left']+_0x25e8d5&&(_0x25e8d5=_0x1d8188['left']-(_0x179a71['left']+_0x5be4fc)));else _0x25e8d5=('center'==_0x5bcce6?_0x1d8188['left']+(_0x1d8188['right']-_0x1d8188['left'])/0x2-(_0x179a71['right']-_0x179a71['left'])/0x2:'start'==_0x5bcce6==_0x5f045b?_0x1d8188['left']-_0x5be4fc:_0x1d8188['right']-(_0x179a71['right']-_0x179a71['left'])+_0x5be4fc)-_0x179a71['left'];if(_0x25e8d5||_0x6c243f){if(_0x5ef975)_0x3298b6['scrollBy'](_0x25e8d5,_0x6c243f);else{let _0x4e794e=0x0,_0x4c1e6a=0x0;if(_0x6c243f){let _0x5acaf2=_0x3fed1a['scrollTop'];_0x3fed1a['scrollTop']+=_0x6c243f/_0x2fbd95,_0x4c1e6a=(_0x3fed1a['scrollTop']-_0x5acaf2)*_0x2fbd95;}if(_0x25e8d5){let _0x513b70=_0x3fed1a['scrollLeft'];_0x3fed1a['scrollLeft']+=_0x25e8d5/_0x1afb11,_0x4e794e=(_0x3fed1a['scrollLeft']-_0x513b70)*_0x1afb11;}_0x1d8188={'left':_0x1d8188['left']-_0x4e794e,'top':_0x1d8188['top']-_0x4c1e6a,'right':_0x1d8188['right']-_0x4e794e,'bottom':_0x1d8188['bottom']-_0x4c1e6a},_0x4e794e&&Math['abs'](_0x4e794e-_0x25e8d5)<0x1&&(_0x5bcce6='nearest'),_0x4c1e6a&&Math['abs'](_0x4c1e6a-_0x6c243f)<0x1&&(_0x4839c7='nearest');}}if(_0x5ef975)break;(_0x1d8188['top']<_0x179a71['top']||_0x1d8188['bottom']>_0x179a71['bottom']||_0x1d8188['left']<_0x179a71['left']||_0x1d8188['right']>_0x179a71['right'])&&(_0x1d8188={'left':Math['max'](_0x1d8188['left'],_0x179a71['left']),'right':Math['min'](_0x1d8188['right'],_0x179a71['right']),'top':Math['max'](_0x1d8188['top'],_0x179a71['top']),'bottom':Math['min'](_0x1d8188['bottom'],_0x179a71['bottom'])}),_0x3fed1a=_0x3fed1a['assignedSlot']||_0x3fed1a['parentNode'];}else{if(0xb!=_0x3fed1a['nodeType'])break;_0x3fed1a=_0x3fed1a['host'];}}function scrollableParents(_0x4991b3){let _0xa104f6,_0x3d9680,_0x434480=_0x4991b3['ownerDocument'];for(let _0x3d58c3=_0x4991b3['parentNode'];_0x3d58c3&&!(_0x3d58c3==_0x434480['body']||_0xa104f6&&_0x3d9680);)if(0x1==_0x3d58c3['nodeType'])!_0x3d9680&&_0x3d58c3['scrollHeight']>_0x3d58c3['clientHeight']&&(_0x3d9680=_0x3d58c3),!_0xa104f6&&_0x3d58c3['scrollWidth']>_0x3d58c3['clientWidth']&&(_0xa104f6=_0x3d58c3),_0x3d58c3=_0x3d58c3['assignedSlot']||_0x3d58c3['parentNode'];else{if(0xb!=_0x3d58c3['nodeType'])break;_0x3d58c3=_0x3d58c3['host'];}return{'x':_0xa104f6,'y':_0x3d9680};}class DOMSelectionState{constructor(){this['anchorNode']=null,this['anchorOffset']=0x0,this['focusNode']=null,this['focusOffset']=0x0;}['eq'](_0x5816f8){return this['anchorNode']==_0x5816f8['anchorNode']&&this['anchorOffset']==_0x5816f8['anchorOffset']&&this['focusNode']==_0x5816f8['focusNode']&&this['focusOffset']==_0x5816f8['focusOffset'];}['setRange'](_0x1db03c){let {anchorNode:_0x4a8776,focusNode:_0x1d2751}=_0x1db03c;this['set'](_0x4a8776,Math['min'](_0x1db03c['anchorOffset'],_0x4a8776?maxOffset(_0x4a8776):0x0),_0x1d2751,Math['min'](_0x1db03c['focusOffset'],_0x1d2751?maxOffset(_0x1d2751):0x0));}['set'](_0xc97124,_0x29c25c,_0x2936f4,_0x4a9b78){this['anchorNode']=_0xc97124,this['anchorOffset']=_0x29c25c,this['focusNode']=_0x2936f4,this['focusOffset']=_0x4a9b78;}}let preventScrollSupported=null,scratchRange;function focusPreventScroll(_0x29e420){if(_0x29e420['setActive'])return _0x29e420['setActive']();if(preventScrollSupported)return _0x29e420['focus'](preventScrollSupported);let _0x24c7c6=[];for(let _0x39ab2b=_0x29e420;_0x39ab2b&&(_0x24c7c6['push'](_0x39ab2b,_0x39ab2b['scrollTop'],_0x39ab2b['scrollLeft']),_0x39ab2b!=_0x39ab2b['ownerDocument']);_0x39ab2b=_0x39ab2b['parentNode']);if(_0x29e420['focus'](null==preventScrollSupported?{get 'preventScroll'(){return preventScrollSupported={'preventScroll':!0x0},!0x0;}}:void 0x0),!preventScrollSupported){preventScrollSupported=!0x1;for(let _0x5f43bf=0x0;_0x5f43bf<_0x24c7c6['length'];){let _0x207021=_0x24c7c6[_0x5f43bf++],_0x916441=_0x24c7c6[_0x5f43bf++],_0x51afc7=_0x24c7c6[_0x5f43bf++];_0x207021['scrollTop']!=_0x916441&&(_0x207021['scrollTop']=_0x916441),_0x207021['scrollLeft']!=_0x51afc7&&(_0x207021['scrollLeft']=_0x51afc7);}}}function textRange(_0x438643,_0x376185,_0x42e9e3=_0x376185){let _0x3f3682=scratchRange||(scratchRange=document['createRange']());return _0x3f3682['setEnd'](_0x438643,_0x42e9e3),_0x3f3682['setStart'](_0x438643,_0x376185),_0x3f3682;}function dispatchKey(_0x52537b,_0x41be13,_0x117c02,_0x83be24){let _0x346016={'key':_0x41be13,'code':_0x41be13,'keyCode':_0x117c02,'which':_0x117c02,'cancelable':!0x0};_0x83be24&&({altKey:_0x346016['altKey'],ctrlKey:_0x346016['ctrlKey'],shiftKey:_0x346016['shiftKey'],metaKey:_0x346016['metaKey']}=_0x83be24);let _0x50a4c2=new KeyboardEvent('keydown',_0x346016);_0x50a4c2['synthetic']=!0x0,_0x52537b['dispatchEvent'](_0x50a4c2);let _0x2cd808=new KeyboardEvent('keyup',_0x346016);return _0x2cd808['synthetic']=!0x0,_0x52537b['dispatchEvent'](_0x2cd808),_0x50a4c2['defaultPrevented']||_0x2cd808['defaultPrevented'];}function getRoot(_0x204779){for(;_0x204779;){if(_0x204779&&(0x9==_0x204779['nodeType']||0xb==_0x204779['nodeType']&&_0x204779['host']))return _0x204779;_0x204779=_0x204779['assignedSlot']||_0x204779['parentNode'];}return null;}function clearAttributes(_0x1aec73){for(;_0x1aec73['attributes']['length'];)_0x1aec73['removeAttributeNode'](_0x1aec73['attributes'][0x0]);}function atElementStart(_0x266d8b,_0x35fd23){let _0x23c827=_0x35fd23['focusNode'],_0x50ec7a=_0x35fd23['focusOffset'];if(!_0x23c827||_0x35fd23['anchorNode']!=_0x23c827||_0x35fd23['anchorOffset']!=_0x50ec7a)return!0x1;for(_0x50ec7a=Math['min'](_0x50ec7a,maxOffset(_0x23c827));;)if(_0x50ec7a){if(0x1!=_0x23c827['nodeType'])return!0x1;let _0x31a84a=_0x23c827['childNodes'][_0x50ec7a-0x1];'false'==_0x31a84a['contentEditable']?_0x50ec7a--:(_0x23c827=_0x31a84a,_0x50ec7a=maxOffset(_0x23c827));}else{if(_0x23c827==_0x266d8b)return!0x0;_0x50ec7a=_0x347bea(_0x23c827),_0x23c827=_0x23c827['parentNode'];}}function isScrolledToBottom(_0x418c98){return _0x418c98['scrollTop']>Math['max'](0x1,_0x418c98['scrollHeight']-_0x418c98['clientHeight']-0x4);}function textNodeBefore(_0x4e4756,_0x1cf3f4){for(let _0x4aabb9=_0x4e4756,_0x1e3fcc=_0x1cf3f4;;){if(0x3==_0x4aabb9['nodeType']&&_0x1e3fcc>0x0)return{'node':_0x4aabb9,'offset':_0x1e3fcc};if(0x1==_0x4aabb9['nodeType']&&_0x1e3fcc>0x0){if('false'==_0x4aabb9['contentEditable'])return null;_0x4aabb9=_0x4aabb9['childNodes'][_0x1e3fcc-0x1],_0x1e3fcc=maxOffset(_0x4aabb9);}else{if(!_0x4aabb9['parentNode']||isBlockElement(_0x4aabb9))return null;_0x1e3fcc=_0x347bea(_0x4aabb9),_0x4aabb9=_0x4aabb9['parentNode'];}}}function textNodeAfter(_0x12a383,_0x179217){for(let _0x1c1b62=_0x12a383,_0x51f865=_0x179217;;){if(0x3==_0x1c1b62['nodeType']&&_0x51f865<_0x1c1b62['nodeValue']['length'])return{'node':_0x1c1b62,'offset':_0x51f865};if(0x1==_0x1c1b62['nodeType']&&_0x51f865<_0x1c1b62['childNodes']['length']){if('false'==_0x1c1b62['contentEditable'])return null;_0x1c1b62=_0x1c1b62['childNodes'][_0x51f865],_0x51f865=0x0;}else{if(!_0x1c1b62['parentNode']||isBlockElement(_0x1c1b62))return null;_0x51f865=_0x347bea(_0x1c1b62)+0x1,_0x1c1b62=_0x1c1b62['parentNode'];}}}class _0x1b5644{constructor(_0x1a571a,_0x266df7,_0x48bf3d=!0x0){this['node']=_0x1a571a,this['offset']=_0x266df7,this['precise']=_0x48bf3d;}static['before'](_0x22e71c,_0x266565){return new _0x1b5644(_0x22e71c['parentNode'],_0x347bea(_0x22e71c),_0x266565);}static['after'](_0x271803,_0x516c05){return new _0x1b5644(_0x271803['parentNode'],_0x347bea(_0x271803)+0x1,_0x516c05);}}const _0x437102=[];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'](_0x3282e4){let _0x2ff377=this['posAtStart'];for(let _0x253cfb of this['children']){if(_0x253cfb==_0x3282e4)return _0x2ff377;_0x2ff377+=_0x253cfb['length']+_0x253cfb['breakAfter'];}throw new RangeError('Invalid\x20child\x20in\x20posBefore');}['posAfter'](_0x372c37){return this['posBefore'](_0x372c37)+_0x372c37['length'];}['sync'](_0x5b5c2c,_0x25fa9f){if(0x2&this['flags']){let _0x1086a1,_0x34658c=this['dom'],_0x47255c=null;for(let _0x553a84 of this['children']){if(0x7&_0x553a84['flags']){if(!_0x553a84['dom']&&(_0x1086a1=_0x47255c?_0x47255c['nextSibling']:_0x34658c['firstChild'])){let _0x22401a=ContentView['get'](_0x1086a1);(!_0x22401a||!_0x22401a['parent']&&_0x22401a['canReuseDOM'](_0x553a84))&&_0x553a84['reuseDOM'](_0x1086a1);}_0x553a84['sync'](_0x5b5c2c,_0x25fa9f),_0x553a84['flags']&=-0x8;}if(_0x1086a1=_0x47255c?_0x47255c['nextSibling']:_0x34658c['firstChild'],_0x25fa9f&&!_0x25fa9f['written']&&_0x25fa9f['node']==_0x34658c&&_0x1086a1!=_0x553a84['dom']&&(_0x25fa9f['written']=!0x0),_0x553a84['dom']['parentNode']==_0x34658c){for(;_0x1086a1&&_0x1086a1!=_0x553a84['dom'];)_0x1086a1=_0x54ecf9(_0x1086a1);}else _0x34658c['insertBefore'](_0x553a84['dom'],_0x1086a1);_0x47255c=_0x553a84['dom'];}for(_0x1086a1=_0x47255c?_0x47255c['nextSibling']:_0x34658c['firstChild'],_0x1086a1&&_0x25fa9f&&_0x25fa9f['node']==_0x34658c&&(_0x25fa9f['written']=!0x0);_0x1086a1;)_0x1086a1=_0x54ecf9(_0x1086a1);}else{if(0x1&this['flags']){for(let _0x43dd45 of this['children'])0x7&_0x43dd45['flags']&&(_0x43dd45['sync'](_0x5b5c2c,_0x25fa9f),_0x43dd45['flags']&=-0x8);}}}['reuseDOM'](_0x54b7d8){}['localPosFromDOM'](_0x1a00ff,_0x1ca1c6){let _0xf9314e;if(_0x1a00ff==this['dom'])_0xf9314e=this['dom']['childNodes'][_0x1ca1c6];else{let _0x47f107=0x0==maxOffset(_0x1a00ff)?0x0:0x0==_0x1ca1c6?-0x1:0x1;for(;;){let _0x1cb140=_0x1a00ff['parentNode'];if(_0x1cb140==this['dom'])break;0x0==_0x47f107&&_0x1cb140['firstChild']!=_0x1cb140['lastChild']&&(_0x47f107=_0x1a00ff==_0x1cb140['firstChild']?-0x1:0x1),_0x1a00ff=_0x1cb140;}_0xf9314e=_0x47f107<0x0?_0x1a00ff:_0x1a00ff['nextSibling'];}if(_0xf9314e==this['dom']['firstChild'])return 0x0;for(;_0xf9314e&&!ContentView['get'](_0xf9314e);)_0xf9314e=_0xf9314e['nextSibling'];if(!_0xf9314e)return this['length'];for(let _0x1f56c2=0x0,_0x4f7bbb=0x0;;_0x1f56c2++){let _0x24a0f6=this['children'][_0x1f56c2];if(_0x24a0f6['dom']==_0xf9314e)return _0x4f7bbb;_0x4f7bbb+=_0x24a0f6['length']+_0x24a0f6['breakAfter'];}}['domBoundsAround'](_0x287f3d,_0x4842b6,_0x5a8d2c=0x0){let _0x2dbe18=-0x1,_0x12f6ce=-0x1,_0x5237a0=-0x1,_0x228a40=-0x1;for(let _0x3df73c=0x0,_0x595a17=_0x5a8d2c,_0x38f62c=_0x5a8d2c;_0x3df73c<this['children']['length'];_0x3df73c++){let _0x4db9ac=this['children'][_0x3df73c],_0x5697c5=_0x595a17+_0x4db9ac['length'];if(_0x595a17<_0x287f3d&&_0x5697c5>_0x4842b6)return _0x4db9ac['domBoundsAround'](_0x287f3d,_0x4842b6,_0x595a17);if(_0x5697c5>=_0x287f3d&&-0x1==_0x2dbe18&&(_0x2dbe18=_0x3df73c,_0x12f6ce=_0x595a17),_0x595a17>_0x4842b6&&_0x4db9ac['dom']['parentNode']==this['dom']){_0x5237a0=_0x3df73c,_0x228a40=_0x38f62c;break;}_0x38f62c=_0x5697c5,_0x595a17=_0x5697c5+_0x4db9ac['breakAfter'];}return{'from':_0x12f6ce,'to':_0x228a40<0x0?_0x5a8d2c+this['length']:_0x228a40,'startDOM':(_0x2dbe18?this['children'][_0x2dbe18-0x1]['dom']['nextSibling']:null)||this['dom']['firstChild'],'endDOM':_0x5237a0<this['children']['length']&&_0x5237a0>=0x0?this['children'][_0x5237a0]['dom']:null};}['markDirty'](_0x53b858=!0x1){this['flags']|=0x2,this['markParentsDirty'](_0x53b858);}['markParentsDirty'](_0x1b612f){for(let _0x380073=this['parent'];_0x380073;_0x380073=_0x380073['parent']){if(_0x1b612f&&(_0x380073['flags']|=0x2),0x1&_0x380073['flags'])return;_0x380073['flags']|=0x1,_0x1b612f=!0x1;}}['setParent'](_0x10696a){this['parent']!=_0x10696a&&(this['parent']=_0x10696a,0x7&this['flags']&&this['markParentsDirty'](!0x0));}['setDOM'](_0x48eb6c){this['dom']!=_0x48eb6c&&(this['dom']&&(this['dom']['cmView']=null),this['dom']=_0x48eb6c,_0x48eb6c['cmView']=this);}get['rootView'](){for(let _0x249775=this;;){let _0x459adc=_0x249775['parent'];if(!_0x459adc)return _0x249775;_0x249775=_0x459adc;}}['replaceChildren'](_0x46704d,_0x21d7a9,_0x5e45c4=_0x437102){this['markDirty']();for(let _0x471d65=_0x46704d;_0x471d65<_0x21d7a9;_0x471d65++){let _0x2a78f2=this['children'][_0x471d65];_0x2a78f2['parent']==this&&_0x5e45c4['indexOf'](_0x2a78f2)<0x0&&_0x2a78f2['destroy']();}_0x5e45c4['length']<0xfa?this['children']['splice'](_0x46704d,_0x21d7a9-_0x46704d,..._0x5e45c4):this['children']=[]['concat'](this['children']['slice'](0x0,_0x46704d),_0x5e45c4,this['children']['slice'](_0x21d7a9));for(let _0x1f6772=0x0;_0x1f6772<_0x5e45c4['length'];_0x1f6772++)_0x5e45c4[_0x1f6772]['setParent'](this);}['ignoreMutation'](_0x453352){return!0x1;}['ignoreEvent'](_0x37f3db){return!0x1;}['childCursor'](_0x6ce52a=this['length']){return new _0xe3b461(this['children'],_0x6ce52a,this['children']['length']);}['childPos'](_0x32e572,_0x5943fb=0x1){return this['childCursor']()['findPos'](_0x32e572,_0x5943fb);}['toString'](){let _0x6ab041=this['constructor']['name']['replace']('View','');return _0x6ab041+(this['children']['length']?'('+this['children']['join']()+')':this['length']?'['+('Text'==_0x6ab041?this['text']:this['length'])+']':'')+(this['breakAfter']?'#':'');}static['get'](_0x54e264){return _0x54e264['cmView'];}get['isEditable'](){return!0x0;}get['isWidget'](){return!0x1;}get['isHidden'](){return!0x1;}['merge'](_0x57fe5b,_0x3465b1,_0x175843,_0x19d0d2,_0x314ba0,_0x10e797){return!0x1;}['become'](_0xd23b91){return!0x1;}['canReuseDOM'](_0x5bdb0b){return _0x5bdb0b['constructor']==this['constructor']&&!(0x8&(this['flags']|_0x5bdb0b['flags']));}['getSide'](){return 0x0;}['destroy'](){for(let _0x1b23c0 of this['children'])_0x1b23c0['parent']==this&&_0x1b23c0['destroy']();this['parent']=null;}}function _0x54ecf9(_0x54527e){let _0x4b3b54=_0x54527e['nextSibling'];return _0x54527e['parentNode']['removeChild'](_0x54527e),_0x4b3b54;}ContentView['prototype']['breakAfter']=0x0;class _0xe3b461{constructor(_0x4b0234,_0x3ffc87,_0x5cfb2a){this['children']=_0x4b0234,this['pos']=_0x3ffc87,this['i']=_0x5cfb2a,this['off']=0x0;}['findPos'](_0x585a37,_0x34bd7b=0x1){for(;;){if(_0x585a37>this['pos']||_0x585a37==this['pos']&&(_0x34bd7b>0x0||0x0==this['i']||this['children'][this['i']-0x1]['breakAfter']))return this['off']=_0x585a37-this['pos'],this;let _0x4cf81d=this['children'][--this['i']];this['pos']-=_0x4cf81d['length']+_0x4cf81d['breakAfter'];}}}function _0x464215(_0x38f2be,_0x229d9d,_0xfe446e,_0x346f91,_0x3f0a07,_0x4a0284,_0x2c739b,_0x9c2642,_0x28fab2){let {children:_0x4f3e1d}=_0x38f2be,_0x3a8859=_0x4f3e1d['length']?_0x4f3e1d[_0x229d9d]:null,_0x5e2e05=_0x4a0284['length']?_0x4a0284[_0x4a0284['length']-0x1]:null,_0x328da0=_0x5e2e05?_0x5e2e05['breakAfter']:_0x2c739b;if(!(_0x229d9d==_0x346f91&&_0x3a8859&&!_0x2c739b&&!_0x328da0&&_0x4a0284['length']<0x2&&_0x3a8859['merge'](_0xfe446e,_0x3f0a07,_0x4a0284['length']?_0x5e2e05:null,0x0==_0xfe446e,_0x9c2642,_0x28fab2))){if(_0x346f91<_0x4f3e1d['length']){let _0x4f65bf=_0x4f3e1d[_0x346f91];_0x4f65bf&&(_0x3f0a07<_0x4f65bf['length']||_0x4f65bf['breakAfter']&&(null==_0x5e2e05?void 0x0:_0x5e2e05['breakAfter']))?(_0x229d9d==_0x346f91&&(_0x4f65bf=_0x4f65bf['split'](_0x3f0a07),_0x3f0a07=0x0),!_0x328da0&&_0x5e2e05&&_0x4f65bf['merge'](0x0,_0x3f0a07,_0x5e2e05,!0x0,0x0,_0x28fab2)?_0x4a0284[_0x4a0284['length']-0x1]=_0x4f65bf:((_0x3f0a07||_0x4f65bf['children']['length']&&!_0x4f65bf['children'][0x0]['length'])&&_0x4f65bf['merge'](0x0,_0x3f0a07,null,!0x1,0x0,_0x28fab2),_0x4a0284['push'](_0x4f65bf))):(null==_0x4f65bf?void 0x0:_0x4f65bf['breakAfter'])&&(_0x5e2e05?_0x5e2e05['breakAfter']=0x1:_0x2c739b=0x1),_0x346f91++;}for(_0x3a8859&&(_0x3a8859['breakAfter']=_0x2c739b,_0xfe446e>0x0&&(!_0x2c739b&&_0x4a0284['length']&&_0x3a8859['merge'](_0xfe446e,_0x3a8859['length'],_0x4a0284[0x0],!0x1,_0x9c2642,0x0)?_0x3a8859['breakAfter']=_0x4a0284['shift']()['breakAfter']:(_0xfe446e<_0x3a8859['length']||_0x3a8859['children']['length']&&0x0==_0x3a8859['children'][_0x3a8859['children']['length']-0x1]['length'])&&_0x3a8859['merge'](_0xfe446e,_0x3a8859['length'],null,!0x1,_0x9c2642,0x0),_0x229d9d++));_0x229d9d<_0x346f91&&_0x4a0284['length'];)if(_0x4f3e1d[_0x346f91-0x1]['become'](_0x4a0284[_0x4a0284['length']-0x1]))_0x346f91--,_0x4a0284['pop'](),_0x28fab2=_0x4a0284['length']?0x0:_0x9c2642;else{if(!_0x4f3e1d[_0x229d9d]['become'](_0x4a0284[0x0]))break;_0x229d9d++,_0x4a0284['shift'](),_0x9c2642=_0x4a0284['length']?0x0:_0x28fab2;}!_0x4a0284['length']&&_0x229d9d&&_0x346f91<_0x4f3e1d['length']&&!_0x4f3e1d[_0x229d9d-0x1]['breakAfter']&&_0x4f3e1d[_0x346f91]['merge'](0x0,0x0,_0x4f3e1d[_0x229d9d-0x1],!0x1,_0x9c2642,_0x28fab2)&&_0x229d9d--,(_0x229d9d<_0x346f91||_0x4a0284['length'])&&_0x38f2be['replaceChildren'](_0x229d9d,_0x346f91,_0x4a0284);}}function mergeChildrenInto(_0x40b6a3,_0x1247b6,_0x9b8cbf,_0x81e004,_0x875e30,_0x56394d){let _0x271aa4=_0x40b6a3['childCursor'](),{i:_0x3a036a,off:_0x41ebb3}=_0x271aa4['findPos'](_0x9b8cbf,0x1),{i:_0x1fe40c,off:_0x54c6d0}=_0x271aa4['findPos'](_0x1247b6,-0x1),_0x92ac11=_0x1247b6-_0x9b8cbf;for(let _0x52d36d of _0x81e004)_0x92ac11+=_0x52d36d['length'];_0x40b6a3['length']+=_0x92ac11,_0x464215(_0x40b6a3,_0x1fe40c,_0x54c6d0,_0x3a036a,_0x41ebb3,_0x81e004,0x0,_0x875e30,_0x56394d);}let _0x15780a='undefined'!=typeof navigator?navigator:{'userAgent':'','vendor':'','platform':''},_0xab5f5a='undefined'!=typeof document?document:{'documentElement':{'style':{}}};const _0x49737b=/Edge\/(\d+)/['exec'](_0x15780a['userAgent']),ie_upto10=/MSIE \d/['test'](_0x15780a['userAgent']),_0x6c5720=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/['exec'](_0x15780a['userAgent']),_0x4d911c=!!(ie_upto10||_0x6c5720||_0x49737b),_0x327502=!_0x4d911c&&/gecko\/(\d+)/i['test'](_0x15780a['userAgent']),_0x5a70d1=!_0x4d911c&&/Chrome\/(\d+)/['exec'](_0x15780a['userAgent']),webkit='webkitFontSmoothing'in _0xab5f5a['documentElement']['style'],_0x421cce=!_0x4d911c&&/Apple Computer/['test'](_0x15780a['vendor']),_0x3e2c25=_0x421cce&&(/Mobile\/\w+/['test'](_0x15780a['userAgent'])||_0x15780a['maxTouchPoints']>0x2);var _0x2b04e4={'mac':_0x3e2c25||/Mac/['test'](_0x15780a['platform']),'windows':/Win/['test'](_0x15780a['platform']),'linux':/Linux|X11/['test'](_0x15780a['platform']),'ie':_0x4d911c,'ie_version':ie_upto10?_0xab5f5a['documentMode']||0x6:_0x6c5720?+_0x6c5720[0x1]:_0x49737b?+_0x49737b[0x1]:0x0,'gecko':_0x327502,'gecko_version':_0x327502?+(/Firefox\/(\d+)/['exec'](_0x15780a['userAgent'])||[0x0,0x0])[0x1]:0x0,'chrome':!!_0x5a70d1,'chrome_version':_0x5a70d1?+_0x5a70d1[0x1]:0x0,'ios':_0x3e2c25,'android':/Android\b/['test'](_0x15780a['userAgent']),'safari':_0x421cce,'webkit_version':webkit?+(/\bAppleWebKit\/(\d+)/['exec'](_0x15780a['userAgent'])||[0x0,0x0])[0x1]:0x0,'tabSize':null!=_0xab5f5a['documentElement']['style']['tabSize']?'tab-size':'-moz-tab-size'};const _0x462884=0x100;class TextView extends ContentView{constructor(_0x22d8f2){super(),this['text']=_0x22d8f2;}get['length'](){return this['text']['length'];}['createDOM'](_0x44ad41){this['setDOM'](_0x44ad41||document['createTextNode'](this['text']));}['sync'](_0x2cd725,_0x119ab7){this['dom']||this['createDOM'](),this['dom']['nodeValue']!=this['text']&&(_0x119ab7&&_0x119ab7['node']==this['dom']&&(_0x119ab7['written']=!0x0),this['dom']['nodeValue']=this['text']);}['reuseDOM'](_0x14ba46){0x3==_0x14ba46['nodeType']&&this['createDOM'](_0x14ba46);}['merge'](_0x4f77f8,_0x11eb0d,_0x4c3802){return!(0x8&this['flags']||_0x4c3802&&(!(_0x4c3802 instanceof TextView)||this['length']-(_0x11eb0d-_0x4f77f8)+_0x4c3802['length']>_0x462884||0x8&_0x4c3802['flags']))&&(this['text']=this['text']['slice'](0x0,_0x4f77f8)+(_0x4c3802?_0x4c3802['text']:'')+this['text']['slice'](_0x11eb0d),this['markDirty'](),!0x0);}['split'](_0x26485c){let _0x200a21=new TextView(this['text']['slice'](_0x26485c));return this['text']=this['text']['slice'](0x0,_0x26485c),this['markDirty'](),_0x200a21['flags']|=0x8&this['flags'],_0x200a21;}['localPosFromDOM'](_0x51d476,_0x23f8cd){return _0x51d476==this['dom']?_0x23f8cd:_0x23f8cd?this['text']['length']:0x0;}['domAtPos'](_0x1d4c2e){return new _0x1b5644(this['dom'],_0x1d4c2e);}['domBoundsAround'](_0x1c5bda,_0x57f4cd,_0xc3b0fd){return{'from':_0xc3b0fd,'to':_0xc3b0fd+this['length'],'startDOM':this['dom'],'endDOM':this['dom']['nextSibling']};}['coordsAt'](_0x126f9f,_0x529597){return textCoords(this['dom'],_0x126f9f,_0x529597);}}class _0x324876 extends ContentView{constructor(_0x48688a,_0x3dcab2=[],_0x2cec03=0x0){super(),this['mark']=_0x48688a,this['children']=_0x3dcab2,this['length']=_0x2cec03;for(let _0x5ae885 of _0x3dcab2)_0x5ae885['setParent'](this);}['setAttrs'](_0x1b85e2){if(clearAttributes(_0x1b85e2),this['mark']['class']&&(_0x1b85e2['className']=this['mark']['class']),this['mark']['attrs']){for(let _0x4c0fde in this['mark']['attrs'])_0x1b85e2['setAttribute'](_0x4c0fde,this['mark']['attrs'][_0x4c0fde]);}return _0x1b85e2;}['canReuseDOM'](_0x3775d7){return super['canReuseDOM'](_0x3775d7)&&!(0x8&(this['flags']|_0x3775d7['flags']));}['reuseDOM'](_0x51da2a){_0x51da2a['nodeName']==this['mark']['tagName']['toUpperCase']()&&(this['setDOM'](_0x51da2a),this['flags']|=0x6);}['sync'](_0x4f380d,_0x4cd758){this['dom']?0x4&this['flags']&&this['setAttrs'](this['dom']):this['setDOM'](this['setAttrs'](document['createElement'](this['mark']['tagName']))),super['sync'](_0x4f380d,_0x4cd758);}['merge'](_0x1b5e2f,_0x42a0ad,_0x4315d5,_0x5646be,_0x34b4a7,_0x37af50){return(!_0x4315d5||!(!(_0x4315d5 instanceof _0x324876&&_0x4315d5['mark']['eq'](this['mark']))||_0x1b5e2f&&_0x34b4a7<=0x0||_0x42a0ad<this['length']&&_0x37af50<=0x0))&&(mergeChildrenInto(this,_0x1b5e2f,_0x42a0ad,_0x4315d5?_0x4315d5['children']['slice']():[],_0x34b4a7-0x1,_0x37af50-0x1),this['markDirty'](),!0x0);}['split'](_0x2d976a){let _0x293e67=[],_0x3c1f41=0x0,_0xc39ad6=-0x1,_0x463e92=0x0;for(let _0x6ed128 of this['children']){let _0x44e5fc=_0x3c1f41+_0x6ed128['length'];_0x44e5fc>_0x2d976a&&_0x293e67['push'](_0x3c1f41<_0x2d976a?_0x6ed128['split'](_0x2d976a-_0x3c1f41):_0x6ed128),_0xc39ad6<0x0&&_0x3c1f41>=_0x2d976a&&(_0xc39ad6=_0x463e92),_0x3c1f41=_0x44e5fc,_0x463e92++;}let _0x2985e8=this['length']-_0x2d976a;return this['length']=_0x2d976a,_0xc39ad6>-0x1&&(this['children']['length']=_0xc39ad6,this['markDirty']()),new _0x324876(this['mark'],_0x293e67,_0x2985e8);}['domAtPos'](_0xf1add7){return inlineDOMAtPos(this,_0xf1add7);}['coordsAt'](_0x1275b8,_0x449cc2){return _0x347b4f(this,_0x1275b8,_0x449cc2);}}function textCoords(_0x9c9309,_0x4b3486,_0x1fa1d6){let _0x4d6b89=_0x9c9309['nodeValue']['length'];_0x4b3486>_0x4d6b89&&(_0x4b3486=_0x4d6b89);let _0x3895e6=_0x4b3486,_0x3fb857=_0x4b3486,_0x234163=0x0;0x0==_0x4b3486&&_0x1fa1d6<0x0||_0x4b3486==_0x4d6b89&&_0x1fa1d6>=0x0?_0x2b04e4['chrome']||_0x2b04e4['gecko']||(_0x4b3486?(_0x3895e6--,_0x234163=0x1):_0x3fb857<_0x4d6b89&&(_0x3fb857++,_0x234163=-0x1)):_0x1fa1d6<0x0?_0x3895e6--:_0x3fb857<_0x4d6b89&&_0x3fb857++;let _0x280887=textRange(_0x9c9309,_0x3895e6,_0x3fb857)['getClientRects']();if(!_0x280887['length'])return null;let _0x19ce83=_0x280887[(_0x234163?_0x234163<0x0:_0x1fa1d6>=0x0)?0x0:_0x280887['length']-0x1];return _0x2b04e4['safari']&&!_0x234163&&0x0==_0x19ce83['width']&&(_0x19ce83=Array['prototype']['find']['call'](_0x280887,_0x1df6da=>_0x1df6da['width'])||_0x19ce83),_0x234163?flattenRect(_0x19ce83,_0x234163<0x0):_0x19ce83||null;}class WidgetView extends ContentView{static['create'](_0x3ef0b5,_0x31fa78,_0xa02b0c){return new WidgetView(_0x3ef0b5,_0x31fa78,_0xa02b0c);}constructor(_0x344a3e,_0x49aade,_0x245801){super(),this['widget']=_0x344a3e,this['length']=_0x49aade,this['side']=_0x245801,this['prevWidget']=null;}['split'](_0x16b462){let _0x499dc7=WidgetView['create'](this['widget'],this['length']-_0x16b462,this['side']);return this['length']-=_0x16b462,_0x499dc7;}['sync'](_0x5668d3){this['dom']&&this['widget']['updateDOM'](this['dom'],_0x5668d3)||(this['dom']&&this['prevWidget']&&this['prevWidget']['destroy'](this['dom']),this['prevWidget']=null,this['setDOM'](this['widget']['toDOM'](_0x5668d3)),this['widget']['editable']||(this['dom']['contentEditable']='false'));}['getSide'](){return this['side'];}['merge'](_0x88acc,_0x4983d2,_0x382683,_0x5dbd3d,_0x144e41,_0xde0ba6){return!(_0x382683&&(!(_0x382683 instanceof WidgetView&&this['widget']['compare'](_0x382683['widget']))||_0x88acc>0x0&&_0x144e41<=0x0||_0x4983d2<this['length']&&_0xde0ba6<=0x0))&&(this['length']=_0x88acc+(_0x382683?_0x382683['length']:0x0)+(this['length']-_0x4983d2),!0x0);}['become'](_0x4074d9){return _0x4074d9 instanceof WidgetView&&_0x4074d9['side']==this['side']&&this['widget']['constructor']==_0x4074d9['widget']['constructor']&&(this['widget']['compare'](_0x4074d9['widget'])||this['markDirty'](!0x0),this['dom']&&!this['prevWidget']&&(this['prevWidget']=this['widget']),this['widget']=_0x4074d9['widget'],this['length']=_0x4074d9['length'],!0x0);}['ignoreMutation'](){return!0x0;}['ignoreEvent'](_0x2ac623){return this['widget']['ignoreEvent'](_0x2ac623);}get['overrideDOMText'](){if(0x0==this['length'])return Text['empty'];let _0x1ca145=this;for(;_0x1ca145['parent'];)_0x1ca145=_0x1ca145['parent'];let {view:_0xcad7d3}=_0x1ca145,_0x5f0bbb=_0xcad7d3&&_0xcad7d3['state']['doc'],_0x1b4d91=this['posAtStart'];return _0x5f0bbb?_0x5f0bbb['slice'](_0x1b4d91,_0x1b4d91+this['length']):Text['empty'];}['domAtPos'](_0x200f23){return(this['length']?0x0==_0x200f23:this['side']>0x0)?_0x1b5644['before'](this['dom']):_0x1b5644['after'](this['dom'],_0x200f23==this['length']);}['domBoundsAround'](){return null;}['coordsAt'](_0x202598,_0x5474f9){let _0x6de20f=this['widget']['coordsAt'](this['dom'],_0x202598,_0x5474f9);if(_0x6de20f)return _0x6de20f;let _0x1aad37=this['dom']['getClientRects'](),_0x521a2d=null;if(!_0x1aad37['length'])return null;let _0x1d59df=this['side']?this['side']<0x0:_0x202598>0x0;for(let _0x17a06e=_0x1d59df?_0x1aad37['length']-0x1:0x0;_0x521a2d=_0x1aad37[_0x17a06e],!(_0x202598>0x0?0x0==_0x17a06e:_0x17a06e==_0x1aad37['length']-0x1||_0x521a2d['top']<_0x521a2d['bottom']);_0x17a06e+=_0x1d59df?-0x1:0x1);return flattenRect(_0x521a2d,!_0x1d59df);}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(_0x23962c){super(),this['side']=_0x23962c;}get['length'](){return 0x0;}['merge'](){return!0x1;}['become'](_0x221ab5){return _0x221ab5 instanceof WidgetBufferView&&_0x221ab5['side']==this['side'];}['split'](){return new WidgetBufferView(this['side']);}['sync'](){if(!this['dom']){let _0x378dd8=document['createElement']('img');_0x378dd8['className']='cm-widgetBuffer',_0x378dd8['setAttribute']('aria-hidden','true'),this['setDOM'](_0x378dd8);}}['getSide'](){return this['side'];}['domAtPos'](_0x57c7fb){return this['side']>0x0?_0x1b5644['before'](this['dom']):_0x1b5644['after'](this['dom']);}['localPosFromDOM'](){return 0x0;}['domBoundsAround'](){return null;}['coordsAt'](_0x494821){return this['dom']['getBoundingClientRect']();}get['overrideDOMText'](){return Text['empty'];}get['isHidden'](){return!0x0;}}function inlineDOMAtPos(_0x3a4222,_0x2b26da){let _0x2fdfec=_0x3a4222['dom'],{children:_0x666af6}=_0x3a4222,_0x5082cb=0x0;for(let _0x543d70=0x0;_0x5082cb<_0x666af6['length'];_0x5082cb++){let _0x43ad7b=_0x666af6[_0x5082cb],_0x1dc9a4=_0x543d70+_0x43ad7b['length'];if(!(_0x1dc9a4==_0x543d70&&_0x43ad7b['getSide']()<=0x0)){if(_0x2b26da>_0x543d70&&_0x2b26da<_0x1dc9a4&&_0x43ad7b['dom']['parentNode']==_0x2fdfec)return _0x43ad7b['domAtPos'](_0x2b26da-_0x543d70);if(_0x2b26da<=_0x543d70)break;_0x543d70=_0x1dc9a4;}}for(let _0xcdd370=_0x5082cb;_0xcdd370>0x0;_0xcdd370--){let _0x4c955c=_0x666af6[_0xcdd370-0x1];if(_0x4c955c['dom']['parentNode']==_0x2fdfec)return _0x4c955c['domAtPos'](_0x4c955c['length']);}for(let _0xe625db=_0x5082cb;_0xe625db<_0x666af6['length'];_0xe625db++){let _0x520dc5=_0x666af6[_0xe625db];if(_0x520dc5['dom']['parentNode']==_0x2fdfec)return _0x520dc5['domAtPos'](0x0);}return new _0x1b5644(_0x2fdfec,0x0);}function joinInlineInto(_0x37c748,_0x39fdc5,_0x1fb576){let _0x226d65,{children:_0x303d0d}=_0x37c748;_0x1fb576>0x0&&_0x39fdc5 instanceof _0x324876&&_0x303d0d['length']&&(_0x226d65=_0x303d0d[_0x303d0d['length']-0x1])instanceof _0x324876&&_0x226d65['mark']['eq'](_0x39fdc5['mark'])?joinInlineInto(_0x226d65,_0x39fdc5['children'][0x0],_0x1fb576-0x1):(_0x303d0d['push'](_0x39fdc5),_0x39fdc5['setParent'](_0x37c748)),_0x37c748['length']+=_0x39fdc5['length'];}function _0x347b4f(_0x8833a9,_0x29950d,_0x184835){let _0xaa2a55=null,_0x51119f=-0x1,_0x386c51=null,_0x190f5e=-0x1;!function _0xf4b454(_0x56f994,_0x3cd1fb){for(let _0x336792=0x0,_0xdd13b1=0x0;_0x336792<_0x56f994['children']['length']&&_0xdd13b1<=_0x3cd1fb;_0x336792++){let _0x86a49b=_0x56f994['children'][_0x336792],_0x5a83dc=_0xdd13b1+_0x86a49b['length'];_0x5a83dc>=_0x3cd1fb&&(_0x86a49b['children']['length']?_0xf4b454(_0x86a49b,_0x3cd1fb-_0xdd13b1):(!_0x386c51||_0x386c51['isHidden']&&(_0x184835>0x0||_0x1c59f9(_0x386c51,_0x86a49b)))&&(_0x5a83dc>_0x3cd1fb||_0xdd13b1==_0x5a83dc&&_0x86a49b['getSide']()>0x0)?(_0x386c51=_0x86a49b,_0x190f5e=_0x3cd1fb-_0xdd13b1):(_0xdd13b1<_0x3cd1fb||_0xdd13b1==_0x5a83dc&&_0x86a49b['getSide']()<0x0&&!_0x86a49b['isHidden'])&&(_0xaa2a55=_0x86a49b,_0x51119f=_0x3cd1fb-_0xdd13b1)),_0xdd13b1=_0x5a83dc;}}(_0x8833a9,_0x29950d);let _0x3bb227=(_0x184835<0x0?_0xaa2a55:_0x386c51)||_0xaa2a55||_0x386c51;return _0x3bb227?_0x3bb227['coordsAt'](Math['max'](0x0,_0x3bb227==_0xaa2a55?_0x51119f:_0x190f5e),_0x184835):fallbackRect(_0x8833a9);}function fallbackRect(_0x2bf61c){let _0x24b83d=_0x2bf61c['dom']['lastChild'];if(!_0x24b83d)return _0x2bf61c['dom']['getBoundingClientRect']();let _0x45c743=clientRectsFor(_0x24b83d);return _0x45c743[_0x45c743['length']-0x1]||null;}function _0x1c59f9(_0x55ceef,_0x542bdc){let _0x13ffce=_0x55ceef['coordsAt'](0x0,0x1),_0x209070=_0x542bdc['coordsAt'](0x0,0x1);return _0x13ffce&&_0x209070&&_0x209070['top']<_0x13ffce['bottom'];}function combineAttrs(_0x36315a,_0x1f525d){for(let _0x3e523d in _0x36315a)'class'==_0x3e523d&&_0x1f525d['class']?_0x1f525d['class']+='\x20'+_0x36315a['class']:'style'==_0x3e523d&&_0x1f525d['style']?_0x1f525d['style']+=';'+_0x36315a['style']:_0x1f525d[_0x3e523d]=_0x36315a[_0x3e523d];return _0x1f525d;}TextView['prototype']['children']=WidgetView['prototype']['children']=WidgetBufferView['prototype']['children']=_0x437102;const noAttrs$1=Object['create'](null);function attrsEq(_0x228fe9,_0x45ade5,_0xc8e6db){if(_0x228fe9==_0x45ade5)return!0x0;_0x228fe9||(_0x228fe9=noAttrs$1),_0x45ade5||(_0x45ade5=noAttrs$1);let _0x30c2f0=Object['keys'](_0x228fe9),_0x89da9d=Object['keys'](_0x45ade5);if(_0x30c2f0['length']-(_0xc8e6db&&_0x30c2f0['indexOf'](_0xc8e6db)>-0x1?0x1:0x0)!=_0x89da9d['length']-(_0xc8e6db&&_0x89da9d['indexOf'](_0xc8e6db)>-0x1?0x1:0x0))return!0x1;for(let _0x593227 of _0x30c2f0)if(_0x593227!=_0xc8e6db&&(-0x1==_0x89da9d['indexOf'](_0x593227)||_0x228fe9[_0x593227]!==_0x45ade5[_0x593227]))return!0x1;return!0x0;}function updateAttrs(_0x34eb3c,_0x46dd8e,_0x136d1d){let _0x2facec=!0x1;if(_0x46dd8e){for(let _0x1376d6 in _0x46dd8e)_0x136d1d&&_0x1376d6 in _0x136d1d||(_0x2facec=!0x0,'style'==_0x1376d6?_0x34eb3c['style']['cssText']='':_0x34eb3c['removeAttribute'](_0x1376d6));}if(_0x136d1d){for(let _0x3c5872 in _0x136d1d)_0x46dd8e&&_0x46dd8e[_0x3c5872]==_0x136d1d[_0x3c5872]||(_0x2facec=!0x0,'style'==_0x3c5872?_0x34eb3c['style']['cssText']=_0x136d1d[_0x3c5872]:_0x34eb3c['setAttribute'](_0x3c5872,_0x136d1d[_0x3c5872]));}return _0x2facec;}function getAttrs$1(_0x551078){let _0x5d9b70=Object['create'](null);for(let _0x4bd342=0x0;_0x4bd342<_0x551078['attributes']['length'];_0x4bd342++){let _0x1e3ff8=_0x551078['attributes'][_0x4bd342];_0x5d9b70[_0x1e3ff8['name']]=_0x1e3ff8['value'];}return _0x5d9b70;}class WidgetType{['eq'](_0xda7f73){return!0x1;}['updateDOM'](_0x3f3617,_0x1f5dc4){return!0x1;}['compare'](_0x52f1dd){return this==_0x52f1dd||this['constructor']==_0x52f1dd['constructor']&&this['eq'](_0x52f1dd);}get['estimatedHeight'](){return-0x1;}get['lineBreaks'](){return 0x0;}['ignoreEvent'](_0x185754){return!0x0;}['coordsAt'](_0x528fc1,_0x444531,_0xe548df){return null;}get['isHidden'](){return!0x1;}get['editable'](){return!0x1;}['destroy'](_0x1bb889){}}var _0x4ab331=function(_0x482d52){return _0x482d52[_0x482d52['Text']=0x0]='Text',_0x482d52[_0x482d52['WidgetBefore']=0x1]='WidgetBefore',_0x482d52[_0x482d52['WidgetAfter']=0x2]='WidgetAfter',_0x482d52[_0x482d52['WidgetRange']=0x3]='WidgetRange',_0x482d52;}(_0x4ab331||(_0x4ab331={}));class Decoration extends _0x450183{constructor(_0x10b89a,_0x19fe99,_0x4663fc,_0xe04765){super(),this['startSide']=_0x10b89a,this['endSide']=_0x19fe99,this['widget']=_0x4663fc,this['spec']=_0xe04765;}get['heightRelevant'](){return!0x1;}static['mark'](_0x5fb378){return new MarkDecoration(_0x5fb378);}static['widget'](_0x102a67){let _0x4c36b4=Math['max'](-0x2710,Math['min'](0x2710,_0x102a67['side']||0x0)),_0x35a2db=!!_0x102a67['block'];return _0x4c36b4+=_0x35a2db&&!_0x102a67['inlineOrder']?_0x4c36b4>0x0?0x11e1a300:-0x17d78400:_0x4c36b4>0x0?0x5f5e100:-0x5f5e100,new PointDecoration(_0x102a67,_0x4c36b4,_0x4c36b4,_0x35a2db,_0x102a67['widget']||null,!0x1);}static['replace'](_0x1bab5b){let _0x3c87f1,_0x37e444,_0x5d6350=!!_0x1bab5b['block'];if(_0x1bab5b['isBlockGap'])_0x3c87f1=-0x1dcd6500,_0x37e444=0x17d78400;else{let {start:_0x1b72d3,end:_0x16f9d4}=getInclusive(_0x1bab5b,_0x5d6350);_0x3c87f1=(_0x1b72d3?_0x5d6350?-0x11e1a300:-0x1:0x1dcd6500)-0x1,_0x37e444=0x1+(_0x16f9d4?_0x5d6350?0xbebc200:0x1:-0x23c34600);}return new PointDecoration(_0x1bab5b,_0x3c87f1,_0x37e444,_0x5d6350,_0x1bab5b['widget']||null,!0x0);}static['line'](_0x937671){return new LineDecoration(_0x937671);}static['set'](_0x5890bd,_0x899599=!0x1){return RangeSet['of'](_0x5890bd,_0x899599);}['hasHeight'](){return!!this['widget']&&this['widget']['estimatedHeight']>-0x1;}}Decoration['none']=RangeSet['empty'];class MarkDecoration extends Decoration{constructor(_0x4a9d19){let {start:_0x3edd29,end:_0xaaebcd}=getInclusive(_0x4a9d19);super(_0x3edd29?-0x1:0x1dcd6500,_0xaaebcd?0x1:-0x23c34600,null,_0x4a9d19),this['tagName']=_0x4a9d19['tagName']||'span',this['class']=_0x4a9d19['class']||'',this['attrs']=_0x4a9d19['attributes']||null;}['eq'](_0x21a3dd){var _0x4b2839,_0x10e0bc;return this==_0x21a3dd||_0x21a3dd instanceof MarkDecoration&&this['tagName']==_0x21a3dd['tagName']&&(this['class']||(null===(_0x4b2839=this['attrs'])||void 0x0===_0x4b2839?void 0x0:_0x4b2839['class']))==(_0x21a3dd['class']||(null===(_0x10e0bc=_0x21a3dd['attrs'])||void 0x0===_0x10e0bc?void 0x0:_0x10e0bc['class']))&&attrsEq(this['attrs'],_0x21a3dd['attrs'],'class');}['range'](_0x5e4f01,_0x1bb88f=_0x5e4f01){if(_0x5e4f01>=_0x1bb88f)throw new RangeError('Mark\x20decorations\x20may\x20not\x20be\x20empty');return super['range'](_0x5e4f01,_0x1bb88f);}}MarkDecoration['prototype']['point']=!0x1;class LineDecoration extends Decoration{constructor(_0x191e50){super(-0xbebc200,-0xbebc200,null,_0x191e50);}['eq'](_0x125385){return _0x125385 instanceof LineDecoration&&this['spec']['class']==_0x125385['spec']['class']&&attrsEq(this['spec']['attributes'],_0x125385['spec']['attributes']);}['range'](_0x3aaf4c,_0x32120d=_0x3aaf4c){if(_0x32120d!=_0x3aaf4c)throw new RangeError('Line\x20decoration\x20ranges\x20must\x20be\x20zero-length');return super['range'](_0x3aaf4c,_0x32120d);}}LineDecoration['prototype']['mapMode']=_0x1fe232['TrackBefore'],LineDecoration['prototype']['point']=!0x0;class PointDecoration extends Decoration{constructor(_0x240cbf,_0x12c72d,_0x42f12a,_0x3a94e7,_0x96ae2e,_0x51a4e8){super(_0x12c72d,_0x42f12a,_0x96ae2e,_0x240cbf),this['block']=_0x3a94e7,this['isReplace']=_0x51a4e8,this['mapMode']=_0x3a94e7?_0x12c72d<=0x0?_0x1fe232['TrackBefore']:_0x1fe232['TrackAfter']:_0x1fe232['TrackDel'];}get['type'](){return this['startSide']!=this['endSide']?_0x4ab331['WidgetRange']:this['startSide']<=0x0?_0x4ab331['WidgetBefore']:_0x4ab331['WidgetAfter'];}get['heightRelevant'](){return this['block']||!!this['widget']&&(this['widget']['estimatedHeight']>=0x5||this['widget']['lineBreaks']>0x0);}['eq'](_0x41950d){return _0x41950d instanceof PointDecoration&&widgetsEq(this['widget'],_0x41950d['widget'])&&this['block']==_0x41950d['block']&&this['startSide']==_0x41950d['startSide']&&this['endSide']==_0x41950d['endSide'];}['range'](_0x1c6f7d,_0x8854ab=_0x1c6f7d){if(this['isReplace']&&(_0x1c6f7d>_0x8854ab||_0x1c6f7d==_0x8854ab&&this['startSide']>0x0&&this['endSide']<=0x0))throw new RangeError('Invalid\x20range\x20for\x20replacement\x20decoration');if(!this['isReplace']&&_0x8854ab!=_0x1c6f7d)throw new RangeError('Widget\x20decorations\x20can\x20only\x20have\x20zero-length\x20ranges');return super['range'](_0x1c6f7d,_0x8854ab);}}function getInclusive(_0x5e4ac2,_0x3ca266=!0x1){let {inclusiveStart:_0x1b479c,inclusiveEnd:_0x1e5e4f}=_0x5e4ac2;return null==_0x1b479c&&(_0x1b479c=_0x5e4ac2['inclusive']),null==_0x1e5e4f&&(_0x1e5e4f=_0x5e4ac2['inclusive']),{'start':null!=_0x1b479c?_0x1b479c:_0x3ca266,'end':null!=_0x1e5e4f?_0x1e5e4f:_0x3ca266};}function widgetsEq(_0x423dbc,_0x1b24b3){return _0x423dbc==_0x1b24b3||!!(_0x423dbc&&_0x1b24b3&&_0x423dbc['compare'](_0x1b24b3));}function _0x31d7e8(_0x90c1ce,_0x4ba110,_0x5b51bf,_0x45fd96=0x0){let _0x1014f4=_0x5b51bf['length']-0x1;_0x1014f4>=0x0&&_0x5b51bf[_0x1014f4]+_0x45fd96>=_0x90c1ce?_0x5b51bf[_0x1014f4]=Math['max'](_0x5b51bf[_0x1014f4],_0x4ba110):_0x5b51bf['push'](_0x90c1ce,_0x4ba110);}PointDecoration['prototype']['point']=!0x0;class _0x288d86 extends ContentView{constructor(){super(...arguments),this['children']=[],this['length']=0x0,this['prevAttrs']=void 0x0,this['attrs']=null,this['breakAfter']=0x0;}['merge'](_0x313cb5,_0x366fb1,_0x3aebb2,_0x393d67,_0x263df9,_0x551caf){if(_0x3aebb2){if(!(_0x3aebb2 instanceof _0x288d86))return!0x1;this['dom']||_0x3aebb2['transferDOM'](this);}return _0x393d67&&this['setDeco'](_0x3aebb2?_0x3aebb2['attrs']:null),mergeChildrenInto(this,_0x313cb5,_0x366fb1,_0x3aebb2?_0x3aebb2['children']['slice']():[],_0x263df9,_0x551caf),!0x0;}['split'](_0x54f611){let _0x240257=new _0x288d86();if(_0x240257['breakAfter']=this['breakAfter'],0x0==this['length'])return _0x240257;let {i:_0x5b3291,off:_0x589fe7}=this['childPos'](_0x54f611);_0x589fe7&&(_0x240257['append'](this['children'][_0x5b3291]['split'](_0x589fe7),0x0),this['children'][_0x5b3291]['merge'](_0x589fe7,this['children'][_0x5b3291]['length'],null,!0x1,0x0,0x0),_0x5b3291++);for(let _0x1b81d5=_0x5b3291;_0x1b81d5<this['children']['length'];_0x1b81d5++)_0x240257['append'](this['children'][_0x1b81d5],0x0);for(;_0x5b3291>0x0&&0x0==this['children'][_0x5b3291-0x1]['length'];)this['children'][--_0x5b3291]['destroy']();return this['children']['length']=_0x5b3291,this['markDirty'](),this['length']=_0x54f611,_0x240257;}['transferDOM'](_0x4f8eb7){this['dom']&&(this['markDirty'](),_0x4f8eb7['setDOM'](this['dom']),_0x4f8eb7['prevAttrs']=void 0x0===this['prevAttrs']?this['attrs']:this['prevAttrs'],this['prevAttrs']=void 0x0,this['dom']=null);}['setDeco'](_0x26e6db){attrsEq(this['attrs'],_0x26e6db)||(this['dom']&&(this['prevAttrs']=this['attrs'],this['markDirty']()),this['attrs']=_0x26e6db);}['append'](_0x22f243,_0x44bd0e){joinInlineInto(this,_0x22f243,_0x44bd0e);}['addLineDeco'](_0x18428b){let _0x2199e7=_0x18428b['spec']['attributes'],_0x475095=_0x18428b['spec']['class'];_0x2199e7&&(this['attrs']=combineAttrs(_0x2199e7,this['attrs']||{})),_0x475095&&(this['attrs']=combineAttrs({'class':_0x475095},this['attrs']||{}));}['domAtPos'](_0x39b560){return inlineDOMAtPos(this,_0x39b560);}['reuseDOM'](_0x5c01fa){'DIV'==_0x5c01fa['nodeName']&&(this['setDOM'](_0x5c01fa),this['flags']|=0x6);}['sync'](_0x495223,_0x4bf5ad){var _0x202f32;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'](_0x495223,_0x4bf5ad);let _0x3dca67=this['dom']['lastChild'];for(;_0x3dca67&&ContentView['get'](_0x3dca67)instanceof _0x324876;)_0x3dca67=_0x3dca67['lastChild'];if(!(_0x3dca67&&this['length']&&('BR'==_0x3dca67['nodeName']||0x0!=(null===(_0x202f32=ContentView['get'](_0x3dca67))||void 0x0===_0x202f32?void 0x0:_0x202f32['isEditable'])||_0x2b04e4['ios']&&this['children']['some'](_0x2374c3=>_0x2374c3 instanceof TextView)))){let _0x3938f8=document['createElement']('BR');_0x3938f8['cmIgnore']=!0x0,this['dom']['appendChild'](_0x3938f8);}}['measureTextSize'](){if(0x0==this['children']['length']||this['length']>0x14)return null;let _0x511201,_0x55b126=0x0;for(let _0x950643 of this['children']){if(!(_0x950643 instanceof TextView)||/[^ -~]/['test'](_0x950643['text']))return null;let _0x33ae29=clientRectsFor(_0x950643['dom']);if(0x1!=_0x33ae29['length'])return null;_0x55b126+=_0x33ae29[0x0]['width'],_0x511201=_0x33ae29[0x0]['height'];}return _0x55b126?{'lineHeight':this['dom']['getBoundingClientRect']()['height'],'charWidth':_0x55b126/this['length'],'textHeight':_0x511201}:null;}['coordsAt'](_0x4c1ddc,_0x431fe4){let _0x3b512a=_0x347b4f(this,_0x4c1ddc,_0x431fe4);if(!this['children']['length']&&_0x3b512a&&this['parent']){let {heightOracle:_0x21b4a8}=this['parent']['view']['viewState'],_0x4fb4c2=_0x3b512a['bottom']-_0x3b512a['top'];if(Math['abs'](_0x4fb4c2-_0x21b4a8['lineHeight'])<0x2&&_0x21b4a8['textHeight']<_0x4fb4c2){let _0x5bf185=(_0x4fb4c2-_0x21b4a8['textHeight'])/0x2;return{'top':_0x3b512a['top']+_0x5bf185,'bottom':_0x3b512a['bottom']-_0x5bf185,'left':_0x3b512a['left'],'right':_0x3b512a['left']};}}return _0x3b512a;}['become'](_0x42d96d){return _0x42d96d instanceof _0x288d86&&0x0==this['children']['length']&&0x0==_0x42d96d['children']['length']&&attrsEq(this['attrs'],_0x42d96d['attrs'])&&this['breakAfter']==_0x42d96d['breakAfter'];}['covers'](){return!0x0;}static['find'](_0x3a8972,_0x40c466){for(let _0x129818=0x0,_0x5eec67=0x0;_0x129818<_0x3a8972['children']['length'];_0x129818++){let _0x20ec69=_0x3a8972['children'][_0x129818],_0x46d301=_0x5eec67+_0x20ec69['length'];if(_0x46d301>=_0x40c466){if(_0x20ec69 instanceof _0x288d86)return _0x20ec69;if(_0x46d301>_0x40c466)break;}_0x5eec67=_0x46d301+_0x20ec69['breakAfter'];}return null;}}class BlockWidgetView extends ContentView{constructor(_0x1f57e5,_0x32be5d,_0x1dcfab){super(),this['widget']=_0x1f57e5,this['length']=_0x32be5d,this['deco']=_0x1dcfab,this['breakAfter']=0x0,this['prevWidget']=null;}['merge'](_0x4912a5,_0x2376e9,_0x3955e4,_0x512c5b,_0x4044ac,_0x19dfe7){return!(_0x3955e4&&(!(_0x3955e4 instanceof BlockWidgetView&&this['widget']['compare'](_0x3955e4['widget']))||_0x4912a5>0x0&&_0x4044ac<=0x0||_0x2376e9<this['length']&&_0x19dfe7<=0x0))&&(this['length']=_0x4912a5+(_0x3955e4?_0x3955e4['length']:0x0)+(this['length']-_0x2376e9),!0x0);}['domAtPos'](_0x42e5a4){return 0x0==_0x42e5a4?_0x1b5644['before'](this['dom']):_0x1b5644['after'](this['dom'],_0x42e5a4==this['length']);}['split'](_0x38e0e5){let _0x1c61b8=this['length']-_0x38e0e5;this['length']=_0x38e0e5;let _0x40cfe1=new BlockWidgetView(this['widget'],_0x1c61b8,this['deco']);return _0x40cfe1['breakAfter']=this['breakAfter'],_0x40cfe1;}get['children'](){return _0x437102;}['sync'](_0x13e9e1){this['dom']&&this['widget']['updateDOM'](this['dom'],_0x13e9e1)||(this['dom']&&this['prevWidget']&&this['prevWidget']['destroy'](this['dom']),this['prevWidget']=null,this['setDOM'](this['widget']['toDOM'](_0x13e9e1)),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'](_0x3878f6){return _0x3878f6 instanceof BlockWidgetView&&_0x3878f6['widget']['constructor']==this['widget']['constructor']&&(_0x3878f6['widget']['compare'](this['widget'])||this['markDirty'](!0x0),this['dom']&&!this['prevWidget']&&(this['prevWidget']=this['widget']),this['widget']=_0x3878f6['widget'],this['length']=_0x3878f6['length'],this['deco']=_0x3878f6['deco'],this['breakAfter']=_0x3878f6['breakAfter'],!0x0);}['ignoreMutation'](){return!0x0;}['ignoreEvent'](_0x2a23d0){return this['widget']['ignoreEvent'](_0x2a23d0);}get['isEditable'](){return!0x1;}get['isWidget'](){return!0x0;}['coordsAt'](_0x5db8bb,_0x3a9d46){let _0x221814=this['widget']['coordsAt'](this['dom'],_0x5db8bb,_0x3a9d46);return _0x221814||(this['widget']instanceof BlockGapWidget?null:flattenRect(this['dom']['getBoundingClientRect'](),this['length']?0x0==_0x5db8bb:_0x3a9d46<=0x0));}['destroy'](){super['destroy'](),this['dom']&&this['widget']['destroy'](this['dom']);}['covers'](_0x726e9){let {startSide:_0x2f8237,endSide:_0x5c8a54}=this['deco'];return _0x2f8237!=_0x5c8a54&&(_0x726e9<0x0?_0x2f8237<0x0:_0x5c8a54>0x0);}}class BlockGapWidget extends WidgetType{constructor(_0x5e8b3f){super(),this['height']=_0x5e8b3f;}['toDOM'](){let _0x1b0f7b=document['createElement']('div');return _0x1b0f7b['className']='cm-gap',this['updateDOM'](_0x1b0f7b),_0x1b0f7b;}['eq'](_0x47d91a){return _0x47d91a['height']==this['height'];}['updateDOM'](_0x247689){return _0x247689['style']['height']=this['height']+'px',!0x0;}get['editable'](){return!0x0;}get['estimatedHeight'](){return this['height'];}['ignoreEvent'](){return!0x1;}}class ContentBuilder{constructor(_0xef46fc,_0x1ef214,_0xffb93,_0x5120fc){this['doc']=_0xef46fc,this['pos']=_0x1ef214,this['end']=_0xffb93,this['disallowBlockEffectsFor']=_0x5120fc,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']=_0xef46fc['iter'](),this['skip']=_0x1ef214;}['posCovered'](){if(0x0==this['content']['length'])return!this['breakAtStart']&&this['doc']['lineAt'](this['pos'])['from']!=this['pos'];let _0x4da036=this['content'][this['content']['length']-0x1];return!(_0x4da036['breakAfter']||_0x4da036 instanceof BlockWidgetView&&_0x4da036['deco']['endSide']<0x0);}['getLine'](){return this['curLine']||(this['content']['push'](this['curLine']=new _0x288d86()),this['atCursorPos']=!0x0),this['curLine'];}['flushBuffer'](_0x55566d=this['bufferMarks']){this['pendingBuffer']&&(this['curLine']['append'](_0x4ed995(new WidgetBufferView(-0x1),_0x55566d),_0x55566d['length']),this['pendingBuffer']=0x0);}['addBlockWidget'](_0x140ae4){this['flushBuffer'](),this['curLine']=null,this['content']['push'](_0x140ae4);}['finish'](_0x428938){this['pendingBuffer']&&_0x428938<=this['bufferMarks']['length']?this['flushBuffer']():this['pendingBuffer']=0x0,this['posCovered']()||_0x428938&&this['content']['length']&&this['content'][this['content']['length']-0x1]instanceof BlockWidgetView||this['getLine']();}['buildText'](_0x312dfb,_0x454632,_0x108494){for(;_0x312dfb>0x0;){if(this['textOff']==this['text']['length']){let {value:_0x5aae76,lineBreak:_0x261610,done:_0x14ba60}=this['cursor']['next'](this['skip']);if(this['skip']=0x0,_0x14ba60)throw new Error('Ran\x20out\x20of\x20text\x20content\x20when\x20drawing\x20inline\x20views');if(_0x261610){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,_0x312dfb--;continue;}this['text']=_0x5aae76,this['textOff']=0x0;}let _0x1176c7=Math['min'](this['text']['length']-this['textOff'],_0x312dfb,0x200);this['flushBuffer'](_0x454632['slice'](_0x454632['length']-_0x108494)),this['getLine']()['append'](_0x4ed995(new TextView(this['text']['slice'](this['textOff'],this['textOff']+_0x1176c7)),_0x454632),_0x108494),this['atCursorPos']=!0x0,this['textOff']+=_0x1176c7,_0x312dfb-=_0x1176c7,_0x108494=0x0;}}['span'](_0x112542,_0x100f27,_0x5062d5,_0x421740){this['buildText'](_0x100f27-_0x112542,_0x5062d5,_0x421740),this['pos']=_0x100f27,this['openStart']<0x0&&(this['openStart']=_0x421740);}['point'](_0x5f186c,_0x93e56a,_0x8812e9,_0x44dbe4,_0x466fc8,_0x47ed83){if(this['disallowBlockEffectsFor'][_0x47ed83]&&_0x8812e9 instanceof PointDecoration){if(_0x8812e9['block'])throw new RangeError('Block\x20decorations\x20may\x20not\x20be\x20specified\x20via\x20plugins');if(_0x93e56a>this['doc']['lineAt'](this['pos'])['to'])throw new RangeError('Decorations\x20that\x20replace\x20line\x20breaks\x20may\x20not\x20be\x20specified\x20via\x20plugins');}let _0x36aeba=_0x93e56a-_0x5f186c;if(_0x8812e9 instanceof PointDecoration){if(_0x8812e9['block'])_0x8812e9['startSide']>0x0&&!this['posCovered']()&&this['getLine'](),this['addBlockWidget'](new BlockWidgetView(_0x8812e9['widget']||NullWidget['block'],_0x36aeba,_0x8812e9));else{let _0x4bed9f=WidgetView['create'](_0x8812e9['widget']||NullWidget['inline'],_0x36aeba,_0x36aeba?0x0:_0x8812e9['startSide']),_0x58ce51=this['atCursorPos']&&!_0x4bed9f['isEditable']&&_0x466fc8<=_0x44dbe4['length']&&(_0x5f186c<_0x93e56a||_0x8812e9['startSide']>0x0),_0x186a57=!_0x4bed9f['isEditable']&&(_0x5f186c<_0x93e56a||_0x466fc8>_0x44dbe4['length']||_0x8812e9['startSide']<=0x0),_0x4a2b76=this['getLine']();0x2!=this['pendingBuffer']||_0x58ce51||_0x4bed9f['isEditable']||(this['pendingBuffer']=0x0),this['flushBuffer'](_0x44dbe4),_0x58ce51&&(_0x4a2b76['append'](_0x4ed995(new WidgetBufferView(0x1),_0x44dbe4),_0x466fc8),_0x466fc8=_0x44dbe4['length']+Math['max'](0x0,_0x466fc8-_0x44dbe4['length'])),_0x4a2b76['append'](_0x4ed995(_0x4bed9f,_0x44dbe4),_0x466fc8),this['atCursorPos']=_0x186a57,this['pendingBuffer']=_0x186a57?_0x5f186c<_0x93e56a||_0x466fc8>_0x44dbe4['length']?0x1:0x2:0x0,this['pendingBuffer']&&(this['bufferMarks']=_0x44dbe4['slice']());}}else this['doc']['lineAt'](this['pos'])['from']==this['pos']&&this['getLine']()['addLineDeco'](_0x8812e9);_0x36aeba&&(this['textOff']+_0x36aeba<=this['text']['length']?this['textOff']+=_0x36aeba:(this['skip']+=_0x36aeba-(this['text']['length']-this['textOff']),this['text']='',this['textOff']=0x0),this['pos']=_0x93e56a),this['openStart']<0x0&&(this['openStart']=_0x466fc8);}static['build'](_0x181db6,_0xd6e3a,_0x4595e0,_0x32ccde,_0x10eb3c){let _0x15df42=new ContentBuilder(_0x181db6,_0xd6e3a,_0x4595e0,_0x10eb3c);return _0x15df42['openEnd']=RangeSet['spans'](_0x32ccde,_0xd6e3a,_0x4595e0,_0x15df42),_0x15df42['openStart']<0x0&&(_0x15df42['openStart']=_0x15df42['openEnd']),_0x15df42['finish'](_0x15df42['openEnd']),_0x15df42;}}function _0x4ed995(_0x17a986,_0x5a231c){for(let _0x2966bc of _0x5a231c)_0x17a986=new _0x324876(_0x2966bc,[_0x17a986],_0x17a986['length']);return _0x17a986;}class NullWidget extends WidgetType{constructor(_0x6a7e61){super(),this['tag']=_0x6a7e61;}['eq'](_0x1ee96d){return _0x1ee96d['tag']==this['tag'];}['toDOM'](){return document['createElement'](this['tag']);}['updateDOM'](_0x333ec1){return _0x333ec1['nodeName']['toLowerCase']()==this['tag'];}get['isHidden'](){return!0x0;}}NullWidget['inline']=new NullWidget('span'),NullWidget['block']=new NullWidget('div');var Direction=function(_0x300239){return _0x300239[_0x300239['LTR']=0x0]='LTR',_0x300239[_0x300239['RTL']=0x1]='RTL',_0x300239;}(Direction||(Direction={}));const _0x3d3880=Direction['LTR'],_0x1ea5b0=Direction['RTL'];function _0x4be42d(_0x4c505e){let _0x4dbc64=[];for(let _0x36a0d2=0x0;_0x36a0d2<_0x4c505e['length'];_0x36a0d2++)_0x4dbc64['push'](0x1<<+_0x4c505e[_0x36a0d2]);return _0x4dbc64;}const _0x1f7734=_0x4be42d('88888888888888888888888888888888888666888888787833333333337888888000000000000000000000000008888880000000000000000000000000088888888888888888888888888888888888887866668888088888663380888308888800000000000000000000000800000000000000000000000000000008'),_0xaa382e=_0x4be42d('4444448826627288999999999992222222222222222222222222222222222222222222222229999999999999999999994444444444644222822222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222999999949999999229989999223333333333'),Brackets=Object['create'](null),BracketStack=[];for(let _0x70981 of['()','[]','{}']){let _0x2ba8d5=_0x70981['charCodeAt'](0x0),_0x5d7f53=_0x70981['charCodeAt'](0x1);Brackets[_0x2ba8d5]=_0x5d7f53,Brackets[_0x5d7f53]=-_0x2ba8d5;}function _0x2e9a63(_0x13961c){return _0x13961c<=0xf7?_0x1f7734[_0x13961c]:0x590<=_0x13961c&&_0x13961c<=0x5f4?0x2:0x600<=_0x13961c&&_0x13961c<=0x6f9?_0xaa382e[_0x13961c-0x600]:0x6ee<=_0x13961c&&_0x13961c<=0x8ac?0x4:0x2000<=_0x13961c&&_0x13961c<=0x200c?0x100:0xfb50<=_0x13961c&&_0x13961c<=0xfdff?0x4:0x1;}const _0x8a4cee=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac\ufb50-\ufdff]/;class _0x250568{get['dir'](){return this['level']%0x2?_0x1ea5b0:_0x3d3880;}constructor(_0x61f062,_0x326941,_0x7da5d6){this['from']=_0x61f062,this['to']=_0x326941,this['level']=_0x7da5d6;}['side'](_0x4b616a,_0x489447){return this['dir']==_0x489447==_0x4b616a?this['to']:this['from'];}['forward'](_0x4fad65,_0x12e87a){return _0x4fad65==(this['dir']==_0x12e87a);}static['find'](_0xf09bca,_0x4454e4,_0x177c1a,_0x29ab86){let _0x153f3c=-0x1;for(let _0xa2994b=0x0;_0xa2994b<_0xf09bca['length'];_0xa2994b++){let _0x33d669=_0xf09bca[_0xa2994b];if(_0x33d669['from']<=_0x4454e4&&_0x33d669['to']>=_0x4454e4){if(_0x33d669['level']==_0x177c1a)return _0xa2994b;(_0x153f3c<0x0||(0x0!=_0x29ab86?_0x29ab86<0x0?_0x33d669['from']<_0x4454e4:_0x33d669['to']>_0x4454e4:_0xf09bca[_0x153f3c]['level']>_0x33d669['level']))&&(_0x153f3c=_0xa2994b);}}if(_0x153f3c<0x0)throw new RangeError('Index\x20out\x20of\x20range');return _0x153f3c;}}function isolatesEq(_0x3b1565,_0xc53e32){if(_0x3b1565['length']!=_0xc53e32['length'])return!0x1;for(let _0x40c3a1=0x0;_0x40c3a1<_0x3b1565['length'];_0x40c3a1++){let _0x55050d=_0x3b1565[_0x40c3a1],_0x37746a=_0xc53e32[_0x40c3a1];if(_0x55050d['from']!=_0x37746a['from']||_0x55050d['to']!=_0x37746a['to']||_0x55050d['direction']!=_0x37746a['direction']||!isolatesEq(_0x55050d['inner'],_0x37746a['inner']))return!0x1;}return!0x0;}const types=[];function computeCharTypes(_0xcf15fb,_0x16b698,_0x5b2efb,_0x2d43c7,_0x25cca1){for(let _0x2db2a8=0x0;_0x2db2a8<=_0x2d43c7['length'];_0x2db2a8++){let _0x4ba2f6=_0x2db2a8?_0x2d43c7[_0x2db2a8-0x1]['to']:_0x16b698,_0x40666d=_0x2db2a8<_0x2d43c7['length']?_0x2d43c7[_0x2db2a8]['from']:_0x5b2efb,_0x373508=_0x2db2a8?0x100:_0x25cca1;for(let _0x23d1a0=_0x4ba2f6,_0x8bc63a=_0x373508,_0x48bb51=_0x373508;_0x23d1a0<_0x40666d;_0x23d1a0++){let _0x20c48c=_0x2e9a63(_0xcf15fb['charCodeAt'](_0x23d1a0));0x200==_0x20c48c?_0x20c48c=_0x8bc63a:0x8==_0x20c48c&&0x4==_0x48bb51&&(_0x20c48c=0x10),types[_0x23d1a0]=0x4==_0x20c48c?0x2:_0x20c48c,0x7&_0x20c48c&&(_0x48bb51=_0x20c48c),_0x8bc63a=_0x20c48c;}for(let _0x445f46=_0x4ba2f6,_0x17f22e=_0x373508,_0x122615=_0x373508;_0x445f46<_0x40666d;_0x445f46++){let _0x541cc0=types[_0x445f46];if(0x80==_0x541cc0)_0x445f46<_0x40666d-0x1&&_0x17f22e==types[_0x445f46+0x1]&&0x18&_0x17f22e?_0x541cc0=types[_0x445f46]=_0x17f22e:types[_0x445f46]=0x100;else{if(0x40==_0x541cc0){let _0x2b7a68=_0x445f46+0x1;for(;_0x2b7a68<_0x40666d&&0x40==types[_0x2b7a68];)_0x2b7a68++;let _0x5b32ec=_0x445f46&&0x8==_0x17f22e||_0x2b7a68<_0x5b2efb&&0x8==types[_0x2b7a68]?0x1==_0x122615?0x1:0x8:0x100;for(let _0x59a7c9=_0x445f46;_0x59a7c9<_0x2b7a68;_0x59a7c9++)types[_0x59a7c9]=_0x5b32ec;_0x445f46=_0x2b7a68-0x1;}else 0x8==_0x541cc0&&0x1==_0x122615&&(types[_0x445f46]=0x1);}_0x17f22e=_0x541cc0,0x7&_0x541cc0&&(_0x122615=_0x541cc0);}}}function processBracketPairs(_0xc4f921,_0x1e10d5,_0xc9d81d,_0x321017,_0xd5b4a9){let _0x5a830b=0x1==_0xd5b4a9?0x2:0x1;for(let _0x1f2477=0x0,_0x186dcf=0x0,_0x49ad23=0x0;_0x1f2477<=_0x321017['length'];_0x1f2477++){let _0x222370=_0x1f2477?_0x321017[_0x1f2477-0x1]['to']:_0x1e10d5,_0x167a27=_0x1f2477<_0x321017['length']?_0x321017[_0x1f2477]['from']:_0xc9d81d;for(let _0x19e5e2,_0x261033,_0x54c27b,_0x5086ab=_0x222370;_0x5086ab<_0x167a27;_0x5086ab++)if(_0x261033=Brackets[_0x19e5e2=_0xc4f921['charCodeAt'](_0x5086ab)]){if(_0x261033<0x0){for(let _0xce6b2d=_0x186dcf-0x3;_0xce6b2d>=0x0;_0xce6b2d-=0x3)if(BracketStack[_0xce6b2d+0x1]==-_0x261033){let _0x2f222a=BracketStack[_0xce6b2d+0x2],_0x572231=0x2&_0x2f222a?_0xd5b4a9:0x4&_0x2f222a?0x1&_0x2f222a?_0x5a830b:_0xd5b4a9:0x0;_0x572231&&(types[_0x5086ab]=types[BracketStack[_0xce6b2d]]=_0x572231),_0x186dcf=_0xce6b2d;break;}}else{if(0xbd==BracketStack['length'])break;BracketStack[_0x186dcf++]=_0x5086ab,BracketStack[_0x186dcf++]=_0x19e5e2,BracketStack[_0x186dcf++]=_0x49ad23;}}else{if(0x2==(_0x54c27b=types[_0x5086ab])||0x1==_0x54c27b){let _0xbc6595=_0x54c27b==_0xd5b4a9;_0x49ad23=_0xbc6595?0x0:0x1;for(let _0x21e50c=_0x186dcf-0x3;_0x21e50c>=0x0;_0x21e50c-=0x3){let _0xc5509f=BracketStack[_0x21e50c+0x2];if(0x2&_0xc5509f)break;if(_0xbc6595)BracketStack[_0x21e50c+0x2]|=0x2;else{if(0x4&_0xc5509f)break;BracketStack[_0x21e50c+0x2]|=0x4;}}}}}}function processNeutrals(_0x3446b2,_0x2cc99f,_0x55a2d6,_0x1a0688){for(let _0x16a64d=0x0,_0x45526d=_0x1a0688;_0x16a64d<=_0x55a2d6['length'];_0x16a64d++){let _0x272632=_0x16a64d?_0x55a2d6[_0x16a64d-0x1]['to']:_0x3446b2,_0x40d1cd=_0x16a64d<_0x55a2d6['length']?_0x55a2d6[_0x16a64d]['from']:_0x2cc99f;for(let _0x5e648e=_0x272632;_0x5e648e<_0x40d1cd;){let _0x301205=types[_0x5e648e];if(0x100==_0x301205){let _0x3aac00=_0x5e648e+0x1;for(;;)if(_0x3aac00==_0x40d1cd){if(_0x16a64d==_0x55a2d6['length'])break;_0x3aac00=_0x55a2d6[_0x16a64d++]['to'],_0x40d1cd=_0x16a64d<_0x55a2d6['length']?_0x55a2d6[_0x16a64d]['from']:_0x2cc99f;}else{if(0x100!=types[_0x3aac00])break;_0x3aac00++;}let _0x4c90ac=0x1==_0x45526d,_0x50b560=_0x4c90ac==(0x1==(_0x3aac00<_0x2cc99f?types[_0x3aac00]:_0x1a0688))?_0x4c90ac?0x1:0x2:_0x1a0688;for(let _0x2aa007=_0x3aac00,_0x5ddbf7=_0x16a64d,_0x1e5f2e=_0x5ddbf7?_0x55a2d6[_0x5ddbf7-0x1]['to']:_0x3446b2;_0x2aa007>_0x5e648e;)_0x2aa007==_0x1e5f2e&&(_0x2aa007=_0x55a2d6[--_0x5ddbf7]['from'],_0x1e5f2e=_0x5ddbf7?_0x55a2d6[_0x5ddbf7-0x1]['to']:_0x3446b2),types[--_0x2aa007]=_0x50b560;_0x5e648e=_0x3aac00;}else _0x45526d=_0x301205,_0x5e648e++;}}}function emitSpans(_0x59aa95,_0x42f79e,_0x23b63a,_0x54af05,_0x98c597,_0x4299a8,_0x304b7b){let _0x5182b5=_0x54af05%0x2?0x2:0x1;if(_0x54af05%0x2==_0x98c597%0x2)for(let _0x2481df=_0x42f79e,_0x570424=0x0;_0x2481df<_0x23b63a;){let _0x439ec5=!0x0,_0x5c14dc=!0x1;if(_0x570424==_0x4299a8['length']||_0x2481df<_0x4299a8[_0x570424]['from']){let _0x5e8cb4=types[_0x2481df];_0x5e8cb4!=_0x5182b5&&(_0x439ec5=!0x1,_0x5c14dc=0x10==_0x5e8cb4);}let _0x294967=_0x439ec5||0x1!=_0x5182b5?null:[],_0x4e9ac6=_0x439ec5?_0x54af05:_0x54af05+0x1,_0x500d7f=_0x2481df;t:for(;;)if(_0x570424<_0x4299a8['length']&&_0x500d7f==_0x4299a8[_0x570424]['from']){if(_0x5c14dc)break t;let _0x3ec824=_0x4299a8[_0x570424];if(!_0x439ec5)for(let _0x25402c=_0x3ec824['to'],_0x2e8cbe=_0x570424+0x1;;){if(_0x25402c==_0x23b63a)break t;if(!(_0x2e8cbe<_0x4299a8['length']&&_0x4299a8[_0x2e8cbe]['from']==_0x25402c)){if(types[_0x25402c]==_0x5182b5)break t;break;}_0x25402c=_0x4299a8[_0x2e8cbe++]['to'];}if(_0x570424++,_0x294967)_0x294967['push'](_0x3ec824);else _0x3ec824['from']>_0x2481df&&_0x304b7b['push'](new _0x250568(_0x2481df,_0x3ec824['from'],_0x4e9ac6)),computeSectionOrder(_0x59aa95,_0x3ec824['direction']==_0x3d3880!=!(_0x4e9ac6%0x2)?_0x54af05+0x1:_0x54af05,_0x98c597,_0x3ec824['inner'],_0x3ec824['from'],_0x3ec824['to'],_0x304b7b),_0x2481df=_0x3ec824['to'];_0x500d7f=_0x3ec824['to'];}else{if(_0x500d7f==_0x23b63a||(_0x439ec5?types[_0x500d7f]!=_0x5182b5:types[_0x500d7f]==_0x5182b5))break;_0x500d7f++;}_0x294967?emitSpans(_0x59aa95,_0x2481df,_0x500d7f,_0x54af05+0x1,_0x98c597,_0x294967,_0x304b7b):_0x2481df<_0x500d7f&&_0x304b7b['push'](new _0x250568(_0x2481df,_0x500d7f,_0x4e9ac6)),_0x2481df=_0x500d7f;}else for(let _0x4c08f8=_0x23b63a,_0x64c981=_0x4299a8['length'];_0x4c08f8>_0x42f79e;){let _0x370a84=!0x0,_0x4bc56c=!0x1;if(!_0x64c981||_0x4c08f8>_0x4299a8[_0x64c981-0x1]['to']){let _0x3436c1=types[_0x4c08f8-0x1];_0x3436c1!=_0x5182b5&&(_0x370a84=!0x1,_0x4bc56c=0x10==_0x3436c1);}let _0x1ff3b6=_0x370a84||0x1!=_0x5182b5?null:[],_0x3e01a1=_0x370a84?_0x54af05:_0x54af05+0x1,_0x5f09f2=_0x4c08f8;t:for(;;)if(_0x64c981&&_0x5f09f2==_0x4299a8[_0x64c981-0x1]['to']){if(_0x4bc56c)break t;let _0x56a217=_0x4299a8[--_0x64c981];if(!_0x370a84)for(let _0x1be163=_0x56a217['from'],_0x1baecc=_0x64c981;;){if(_0x1be163==_0x42f79e)break t;if(!_0x1baecc||_0x4299a8[_0x1baecc-0x1]['to']!=_0x1be163){if(types[_0x1be163-0x1]==_0x5182b5)break t;break;}_0x1be163=_0x4299a8[--_0x1baecc]['from'];}if(_0x1ff3b6)_0x1ff3b6['push'](_0x56a217);else _0x56a217['to']<_0x4c08f8&&_0x304b7b['push'](new _0x250568(_0x56a217['to'],_0x4c08f8,_0x3e01a1)),computeSectionOrder(_0x59aa95,_0x56a217['direction']==_0x3d3880!=!(_0x3e01a1%0x2)?_0x54af05+0x1:_0x54af05,_0x98c597,_0x56a217['inner'],_0x56a217['from'],_0x56a217['to'],_0x304b7b),_0x4c08f8=_0x56a217['from'];_0x5f09f2=_0x56a217['from'];}else{if(_0x5f09f2==_0x42f79e||(_0x370a84?types[_0x5f09f2-0x1]!=_0x5182b5:types[_0x5f09f2-0x1]==_0x5182b5))break;_0x5f09f2--;}_0x1ff3b6?emitSpans(_0x59aa95,_0x5f09f2,_0x4c08f8,_0x54af05+0x1,_0x98c597,_0x1ff3b6,_0x304b7b):_0x5f09f2<_0x4c08f8&&_0x304b7b['push'](new _0x250568(_0x5f09f2,_0x4c08f8,_0x3e01a1)),_0x4c08f8=_0x5f09f2;}}function computeSectionOrder(_0x51149b,_0x3d4e49,_0x5042da,_0xaa19a8,_0x22479d,_0x33ce8d,_0x32c3de){let _0x58f88a=_0x3d4e49%0x2?0x2:0x1;computeCharTypes(_0x51149b,_0x22479d,_0x33ce8d,_0xaa19a8,_0x58f88a),processBracketPairs(_0x51149b,_0x22479d,_0x33ce8d,_0xaa19a8,_0x58f88a),processNeutrals(_0x22479d,_0x33ce8d,_0xaa19a8,_0x58f88a),emitSpans(_0x51149b,_0x22479d,_0x33ce8d,_0x3d4e49,_0x5042da,_0xaa19a8,_0x32c3de);}function computeOrder(_0x347d59,_0x309c69,_0x3ee3b2){if(!_0x347d59)return[new _0x250568(0x0,0x0,_0x309c69==_0x1ea5b0?0x1:0x0)];if(_0x309c69==_0x3d3880&&!_0x3ee3b2['length']&&!_0x8a4cee['test'](_0x347d59))return trivialOrder(_0x347d59['length']);if(_0x3ee3b2['length']){for(;_0x347d59['length']>types['length'];)types[types['length']]=0x100;}let _0x5e4f8f=[],_0x164e6d=_0x309c69==_0x3d3880?0x0:0x1;return computeSectionOrder(_0x347d59,_0x164e6d,_0x164e6d,_0x3ee3b2,0x0,_0x347d59['length'],_0x5e4f8f),_0x5e4f8f;}function trivialOrder(_0x1c5b86){return[new _0x250568(0x0,_0x1c5b86,0x0)];}let _0x380d91='';function _0x3072db(_0x48b5b2,_0x523b07,_0x371365,_0x8c9973,_0x35ef17){var _0x463d0e;let _0x3e9db4=_0x8c9973['head']-_0x48b5b2['from'],_0x33c270=_0x250568['find'](_0x523b07,_0x3e9db4,null!==(_0x463d0e=_0x8c9973['bidiLevel'])&&void 0x0!==_0x463d0e?_0x463d0e:-0x1,_0x8c9973['assoc']),_0x57de8a=_0x523b07[_0x33c270],_0x426b56=_0x57de8a['side'](_0x35ef17,_0x371365);if(_0x3e9db4==_0x426b56){let _0x1a11f0=_0x33c270+=_0x35ef17?0x1:-0x1;if(_0x1a11f0<0x0||_0x1a11f0>=_0x523b07['length'])return null;_0x57de8a=_0x523b07[_0x33c270=_0x1a11f0],_0x3e9db4=_0x57de8a['side'](!_0x35ef17,_0x371365),_0x426b56=_0x57de8a['side'](_0x35ef17,_0x371365);}let _0x2b561c=findClusterBreak(_0x48b5b2['text'],_0x3e9db4,_0x57de8a['forward'](_0x35ef17,_0x371365));(_0x2b561c<_0x57de8a['from']||_0x2b561c>_0x57de8a['to'])&&(_0x2b561c=_0x426b56),_0x380d91=_0x48b5b2['text']['slice'](Math['min'](_0x3e9db4,_0x2b561c),Math['max'](_0x3e9db4,_0x2b561c));let _0x4a08f5=_0x33c270==(_0x35ef17?_0x523b07['length']-0x1:0x0)?null:_0x523b07[_0x33c270+(_0x35ef17?0x1:-0x1)];return _0x4a08f5&&_0x2b561c==_0x426b56&&_0x4a08f5['level']+(_0x35ef17?0x0:0x1)<_0x57de8a['level']?EditorSelection['cursor'](_0x4a08f5['side'](!_0x35ef17,_0x371365)+_0x48b5b2['from'],_0x4a08f5['forward'](_0x35ef17,_0x371365)?0x1:-0x1,_0x4a08f5['level']):EditorSelection['cursor'](_0x2b561c+_0x48b5b2['from'],_0x57de8a['forward'](_0x35ef17,_0x371365)?-0x1:0x1,_0x57de8a['level']);}function autoDirection(_0x4ad762,_0x566125,_0x4c2a29){for(let _0x394d9a=_0x566125;_0x394d9a<_0x4c2a29;_0x394d9a++){let _0x5e4528=_0x2e9a63(_0x4ad762['charCodeAt'](_0x394d9a));if(0x1==_0x5e4528)return _0x3d3880;if(0x2==_0x5e4528||0x4==_0x5e4528)return _0x1ea5b0;}return _0x3d3880;}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':_0xc51bc8=>_0xc51bc8['some'](_0x3d14f4=>_0x3d14f4)}),nativeSelectionHidden=Facet['define']({'combine':_0x22737f=>_0x22737f['some'](_0x21904c=>_0x21904c)}),_0x382f3a=Facet['define']();class ScrollTarget{constructor(_0x3ac158,_0x14f705='nearest',_0x10daba='nearest',_0x1edc97=0x5,_0x2860cd=0x5,_0x4d333b=!0x1){this['range']=_0x3ac158,this['y']=_0x14f705,this['x']=_0x10daba,this['yMargin']=_0x1edc97,this['xMargin']=_0x2860cd,this['isSnapshot']=_0x4d333b;}['map'](_0x2398f4){return _0x2398f4['empty']?this:new ScrollTarget(this['range']['map'](_0x2398f4),this['y'],this['x'],this['yMargin'],this['xMargin'],this['isSnapshot']);}['clip'](_0x449d84){return this['range']['to']<=_0x449d84['doc']['length']?this:new ScrollTarget(EditorSelection['cursor'](_0x449d84['doc']['length']),this['y'],this['x'],this['yMargin'],this['xMargin'],this['isSnapshot']);}}const scrollIntoView$1=StateEffect['define']({'map':(t,_0x5b2f70)=>t['map'](_0x5b2f70)}),setEditContextFormatting=StateEffect['define']();function logException(_0xf29b4,_0x4bf3e7,_0x14e2ba){let _0x21cdd0=_0xf29b4['facet'](exceptionSink);_0x21cdd0['length']?_0x21cdd0[0x0](_0x4bf3e7):window['onerror']&&window['onerror'](String(_0x4bf3e7),_0x14e2ba,void 0x0,void 0x0,_0x4bf3e7)||(_0x14e2ba?console['error'](_0x14e2ba+':',_0x4bf3e7):console['error'](_0x4bf3e7));}const editable=Facet['define']({'combine':_0x2ca817=>!_0x2ca817['length']||_0x2ca817[0x0]});let nextPluginID=0x0;const _0xd32381=Facet['define']({'combine':_0x4455e2=>_0x4455e2['filter']((_0x12854e,_0x110a49)=>{for(let _0x1229cc=0x0;_0x1229cc<_0x110a49;_0x1229cc++)if(_0x4455e2[_0x1229cc]['plugin']==_0x12854e['plugin'])return!0x1;return!0x0;})});class _0x19aa80{constructor(_0x1a96cb,_0x37746c,_0xee915,_0x32e86a,_0x310e71){this['id']=_0x1a96cb,this['create']=_0x37746c,this['domEventHandlers']=_0xee915,this['domEventObservers']=_0x32e86a,this['baseExtensions']=_0x310e71(this),this['extension']=this['baseExtensions']['concat'](_0xd32381['of']({'plugin':this,'arg':void 0x0}));}['of'](_0x27b52f){return this['baseExtensions']['concat'](_0xd32381['of']({'plugin':this,'arg':_0x27b52f}));}static['define'](_0x117086,_0x3f731b){const {eventHandlers:_0x2bd4a5,eventObservers:_0x409421,provide:_0x2ee465,decorations:_0x277dfd}=_0x3f731b||{};return new _0x19aa80(nextPluginID++,_0x117086,_0x2bd4a5,_0x409421,_0x1d7e32=>{let _0x590e86=[];return _0x277dfd&&_0x590e86['push'](decorations['of'](_0x43666a=>{let _0x1e83e5=_0x43666a['plugin'](_0x1d7e32);return _0x1e83e5?_0x277dfd(_0x1e83e5):Decoration['none'];})),_0x2ee465&&_0x590e86['push'](_0x2ee465(_0x1d7e32)),_0x590e86;});}static['fromClass'](_0x32d7c4,_0x283cdb){return _0x19aa80['define']((_0x1d1e4d,_0x5f1e2c)=>new _0x32d7c4(_0x1d1e4d,_0x5f1e2c),_0x283cdb);}}class PluginInstance{constructor(_0x2e2cbd){this['spec']=_0x2e2cbd,this['mustUpdate']=null,this['value']=null;}get['plugin'](){return this['spec']&&this['spec']['plugin'];}['update'](_0x150602){if(this['value']){if(this['mustUpdate']){let _0x5e7de9=this['mustUpdate'];if(this['mustUpdate']=null,this['value']['update'])try{this['value']['update'](_0x5e7de9);}catch(_0x470ebd){if(logException(_0x5e7de9['state'],_0x470ebd,'CodeMirror\x20plugin\x20crashed'),this['value']['destroy'])try{this['value']['destroy']();}catch(_0x505fb1){}this['deactivate']();}}}else{if(this['spec'])try{this['value']=this['spec']['plugin']['create'](_0x150602,this['spec']['arg']);}catch(_0x3fede4){logException(_0x150602['state'],_0x3fede4,'CodeMirror\x20plugin\x20crashed'),this['deactivate']();}}return this;}['destroy'](_0x2879c9){var _0xa09d19;if(null===(_0xa09d19=this['value'])||void 0x0===_0xa09d19?void 0x0:_0xa09d19['destroy'])try{this['value']['destroy']();}catch(_0x4605a4){logException(_0x2879c9['state'],_0x4605a4,'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(_0x30fb77,_0x527130){let _0x4d6b9b=_0x30fb77['state']['facet'](bidiIsolatedRanges);if(!_0x4d6b9b['length'])return _0x4d6b9b;let _0x10cd7d=_0x4d6b9b['map'](_0x4735ac=>_0x4735ac instanceof Function?_0x4735ac(_0x30fb77):_0x4735ac),_0x39bada=[];return RangeSet['spans'](_0x10cd7d,_0x527130['from'],_0x527130['to'],{'point'(){},'span'(_0xe5686f,_0x1193ba,_0x30dd0c,_0x2501be){let _0x1b0d2e=_0xe5686f-_0x527130['from'],_0x30d7d7=_0x1193ba-_0x527130['from'],_0x151c7e=_0x39bada;for(let _0x5c3fea=_0x30dd0c['length']-0x1;_0x5c3fea>=0x0;_0x5c3fea--,_0x2501be--){let _0x373548,_0x26909c=_0x30dd0c[_0x5c3fea]['spec']['bidiIsolate'];if(null==_0x26909c&&(_0x26909c=autoDirection(_0x527130['text'],_0x1b0d2e,_0x30d7d7)),_0x2501be>0x0&&_0x151c7e['length']&&(_0x373548=_0x151c7e[_0x151c7e['length']-0x1])['to']==_0x1b0d2e&&_0x373548['direction']==_0x26909c)_0x373548['to']=_0x30d7d7,_0x151c7e=_0x373548['inner'];else{let _0x166cd6={'from':_0x1b0d2e,'to':_0x30d7d7,'direction':_0x26909c,'inner':[]};_0x151c7e['push'](_0x166cd6),_0x151c7e=_0x166cd6['inner'];}}}}),_0x39bada;}const _0x5174db=Facet['define']();function getScrollMargins(_0x189495){let _0x56d64a=0x0,_0x5730f4=0x0,_0x1c3e00=0x0,_0x384838=0x0;for(let _0x356442 of _0x189495['state']['facet'](_0x5174db)){let _0x590bb8=_0x356442(_0x189495);_0x590bb8&&(null!=_0x590bb8['left']&&(_0x56d64a=Math['max'](_0x56d64a,_0x590bb8['left'])),null!=_0x590bb8['right']&&(_0x5730f4=Math['max'](_0x5730f4,_0x590bb8['right'])),null!=_0x590bb8['top']&&(_0x1c3e00=Math['max'](_0x1c3e00,_0x590bb8['top'])),null!=_0x590bb8['bottom']&&(_0x384838=Math['max'](_0x384838,_0x590bb8['bottom'])));}return{'left':_0x56d64a,'right':_0x5730f4,'top':_0x1c3e00,'bottom':_0x384838};}const styleModule=Facet['define']();class _0x1d28e1{constructor(_0x2fa686,_0x33fe72,_0x3b04f4,_0x21301c){this['fromA']=_0x2fa686,this['toA']=_0x33fe72,this['fromB']=_0x3b04f4,this['toB']=_0x21301c;}['join'](_0x12d635){return new _0x1d28e1(Math['min'](this['fromA'],_0x12d635['fromA']),Math['max'](this['toA'],_0x12d635['toA']),Math['min'](this['fromB'],_0x12d635['fromB']),Math['max'](this['toB'],_0x12d635['toB']));}['addToSet'](_0x4e712b){let _0x21e7a9=_0x4e712b['length'],_0x235f73=this;for(;_0x21e7a9>0x0;_0x21e7a9--){let _0xf28c83=_0x4e712b[_0x21e7a9-0x1];if(!(_0xf28c83['fromA']>_0x235f73['toA'])){if(_0xf28c83['toA']<_0x235f73['fromA'])break;_0x235f73=_0x235f73['join'](_0xf28c83),_0x4e712b['splice'](_0x21e7a9-0x1,0x1);}}return _0x4e712b['splice'](_0x21e7a9,0x0,_0x235f73),_0x4e712b;}static['extendWithRanges'](_0x46227a,_0xafa848){if(0x0==_0xafa848['length'])return _0x46227a;let _0x8dca64=[];for(let _0x44182f=0x0,_0x49699c=0x0,_0x101bb0=0x0,_0x553034=0x0;;_0x44182f++){let _0x2ddf0e=_0x44182f==_0x46227a['length']?null:_0x46227a[_0x44182f],_0x5c9ec3=_0x101bb0-_0x553034,_0x55c607=_0x2ddf0e?_0x2ddf0e['fromB']:0x3b9aca00;for(;_0x49699c<_0xafa848['length']&&_0xafa848[_0x49699c]<_0x55c607;){let _0x24441a=_0xafa848[_0x49699c],_0x21f238=_0xafa848[_0x49699c+0x1],_0x33d48c=Math['max'](_0x553034,_0x24441a),_0x5698de=Math['min'](_0x55c607,_0x21f238);if(_0x33d48c<=_0x5698de&&new _0x1d28e1(_0x33d48c+_0x5c9ec3,_0x5698de+_0x5c9ec3,_0x33d48c,_0x5698de)['addToSet'](_0x8dca64),_0x21f238>_0x55c607)break;_0x49699c+=0x2;}if(!_0x2ddf0e)return _0x8dca64;new _0x1d28e1(_0x2ddf0e['fromA'],_0x2ddf0e['toA'],_0x2ddf0e['fromB'],_0x2ddf0e['toB'])['addToSet'](_0x8dca64),_0x101bb0=_0x2ddf0e['toA'],_0x553034=_0x2ddf0e['toB'];}}}class ViewUpdate{constructor(_0x1d80e6,_0x3f4d9c,_0x2de215){this['view']=_0x1d80e6,this['state']=_0x3f4d9c,this['transactions']=_0x2de215,this['flags']=0x0,this['startState']=_0x1d80e6['state'],this['changes']=ChangeSet['empty'](this['startState']['doc']['length']);for(let _0x246808 of _0x2de215)this['changes']=this['changes']['compose'](_0x246808['changes']);let _0x5e78dc=[];this['changes']['iterChangedRanges']((_0x1c1660,_0x51b897,_0x98e348,_0x196afa)=>_0x5e78dc['push'](new _0x1d28e1(_0x1c1660,_0x51b897,_0x98e348,_0x196afa))),this['changedRanges']=_0x5e78dc;}static['create'](_0x5391a0,_0x3a69bb,_0x555ffa){return new ViewUpdate(_0x5391a0,_0x3a69bb,_0x555ffa);}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'](_0x2d7200=>_0x2d7200['selection']);}get['empty'](){return 0x0==this['flags']&&0x0==this['transactions']['length'];}}class _0x40cfa6 extends ContentView{get['length'](){return this['view']['state']['doc']['length'];}constructor(_0x4aae73){super(),this['view']=_0x4aae73,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'](_0x4aae73['contentDOM']),this['children']=[new _0x288d86()],this['children'][0x0]['setParent'](this),this['updateDeco'](),this['updateInner']([new _0x1d28e1(0x0,0x0,0x0,_0x4aae73['state']['doc']['length'])],0x0,null);}['update'](_0x56ff06){var _0x3b39a7;let _0x1f5409=_0x56ff06['changedRanges'];this['minWidth']>0x0&&_0x1f5409['length']&&(_0x1f5409['every'](({fromA:_0xaa8284,toA:_0x3e3523})=>_0x3e3523<this['minWidthFrom']||_0xaa8284>this['minWidthTo'])?(this['minWidthFrom']=_0x56ff06['changes']['mapPos'](this['minWidthFrom'],0x1),this['minWidthTo']=_0x56ff06['changes']['mapPos'](this['minWidthTo'],0x1)):this['minWidth']=this['minWidthFrom']=this['minWidthTo']=0x0),this['updateEditContextFormatting'](_0x56ff06);let _0x403f51=-0x1;this['view']['inputState']['composing']>=0x0&&!this['view']['observer']['editContext']&&((null===(_0x3b39a7=this['domChanged'])||void 0x0===_0x3b39a7?void 0x0:_0x3b39a7['newSel'])?_0x403f51=this['domChanged']['newSel']['head']:touchesComposition(_0x56ff06['changes'],this['hasComposition'])||_0x56ff06['selectionSet']||(_0x403f51=_0x56ff06['state']['selection']['main']['head']));let _0x233e1f=_0x403f51>-0x1?findCompositionRange(this['view'],_0x56ff06['changes'],_0x403f51):null;if(this['domChanged']=null,this['hasComposition']){this['markedForComposition']['clear']();let {from:_0x521439,to:_0x43f6ff}=this['hasComposition'];_0x1f5409=new _0x1d28e1(_0x521439,_0x43f6ff,_0x56ff06['changes']['mapPos'](_0x521439,-0x1),_0x56ff06['changes']['mapPos'](_0x43f6ff,0x1))['addToSet'](_0x1f5409['slice']());}this['hasComposition']=_0x233e1f?{'from':_0x233e1f['range']['fromB'],'to':_0x233e1f['range']['toB']}:null,(_0x2b04e4['ie']||_0x2b04e4['chrome'])&&!_0x233e1f&&_0x56ff06&&_0x56ff06['state']['doc']['lines']!=_0x56ff06['startState']['doc']['lines']&&(this['forceSelection']=!0x0);let _0x4595de=_0xef1d7b(this['decorations'],this['updateDeco'](),_0x56ff06['changes']);return _0x1f5409=_0x1d28e1['extendWithRanges'](_0x1f5409,_0x4595de),!!(0x7&this['flags']||0x0!=_0x1f5409['length'])&&(this['updateInner'](_0x1f5409,_0x56ff06['startState']['doc']['length'],_0x233e1f),_0x56ff06['transactions']['length']&&(this['lastUpdate']=Date['now']()),!0x0);}['updateInner'](_0x14af5c,_0x4de9c0,_0x13e488){this['view']['viewState']['mustMeasureContent']=!0x0,this['updateChildren'](_0x14af5c,_0x4de9c0,_0x13e488);let {observer:_0xb805c5}=this['view'];_0xb805c5['ignore'](()=>{this['dom']['style']['height']=this['view']['viewState']['contentHeight']/this['view']['scaleY']+'px',this['dom']['style']['flexBasis']=this['minWidth']?this['minWidth']+'px':'';let _0x509d3d=_0x2b04e4['chrome']||_0x2b04e4['ios']?{'node':_0xb805c5['selectionRange']['focusNode'],'written':!0x1}:void 0x0;this['sync'](this['view'],_0x509d3d),this['flags']&=-0x8,_0x509d3d&&(_0x509d3d['written']||_0xb805c5['selectionRange']['focusNode']!=_0x509d3d['node'])&&(this['forceSelection']=!0x0),this['dom']['style']['height']='';}),this['markedForComposition']['forEach'](_0x137281=>_0x137281['flags']&=-0x9);let _0x32b030=[];if(this['view']['viewport']['from']||this['view']['viewport']['to']<this['view']['state']['doc']['length']){for(let _0x2776e8 of this['children'])_0x2776e8 instanceof BlockWidgetView&&_0x2776e8['widget']instanceof BlockGapWidget&&_0x32b030['push'](_0x2776e8['dom']);}_0xb805c5['updateGaps'](_0x32b030);}['updateChildren'](_0x3bebc4,_0x13d48f,_0x592bfc){let _0x2c9e9c=_0x592bfc?_0x592bfc['range']['addToSet'](_0x3bebc4['slice']()):_0x3bebc4,_0x4601e7=this['childCursor'](_0x13d48f);for(let _0x4e2c4e=_0x2c9e9c['length']-0x1;;_0x4e2c4e--){let _0x3e8d53=_0x4e2c4e>=0x0?_0x2c9e9c[_0x4e2c4e]:null;if(!_0x3e8d53)break;let _0x5141bc,_0xfe5bd8,_0x42d0cb,_0x553e47,{fromA:_0x39c8a3,toA:_0x52096c,fromB:_0x3f9fc5,toB:_0x35036f}=_0x3e8d53;if(_0x592bfc&&_0x592bfc['range']['fromB']<_0x35036f&&_0x592bfc['range']['toB']>_0x3f9fc5){let _0x304d99=ContentBuilder['build'](this['view']['state']['doc'],_0x3f9fc5,_0x592bfc['range']['fromB'],this['decorations'],this['dynamicDecorationMap']),_0x3e6750=ContentBuilder['build'](this['view']['state']['doc'],_0x592bfc['range']['toB'],_0x35036f,this['decorations'],this['dynamicDecorationMap']);_0xfe5bd8=_0x304d99['breakAtStart'],_0x42d0cb=_0x304d99['openStart'],_0x553e47=_0x3e6750['openEnd'];let _0x11e8fa=this['compositionView'](_0x592bfc);_0x3e6750['breakAtStart']?_0x11e8fa['breakAfter']=0x1:_0x3e6750['content']['length']&&_0x11e8fa['merge'](_0x11e8fa['length'],_0x11e8fa['length'],_0x3e6750['content'][0x0],!0x1,_0x3e6750['openStart'],0x0)&&(_0x11e8fa['breakAfter']=_0x3e6750['content'][0x0]['breakAfter'],_0x3e6750['content']['shift']()),_0x304d99['content']['length']&&_0x11e8fa['merge'](0x0,0x0,_0x304d99['content'][_0x304d99['content']['length']-0x1],!0x0,0x0,_0x304d99['openEnd'])&&_0x304d99['content']['pop'](),_0x5141bc=_0x304d99['content']['concat'](_0x11e8fa)['concat'](_0x3e6750['content']);}else({content:_0x5141bc,breakAtStart:_0xfe5bd8,openStart:_0x42d0cb,openEnd:_0x553e47}=ContentBuilder['build'](this['view']['state']['doc'],_0x3f9fc5,_0x35036f,this['decorations'],this['dynamicDecorationMap']));let {i:_0x3c1c39,off:_0x382172}=_0x4601e7['findPos'](_0x52096c,0x1),{i:_0x5021b7,off:_0x5c9dc3}=_0x4601e7['findPos'](_0x39c8a3,-0x1);_0x464215(this,_0x5021b7,_0x5c9dc3,_0x3c1c39,_0x382172,_0x5141bc,_0xfe5bd8,_0x42d0cb,_0x553e47);}_0x592bfc&&this['fixCompositionDOM'](_0x592bfc);}['updateEditContextFormatting'](_0x5a90de){this['editContextFormatting']=this['editContextFormatting']['map'](_0x5a90de['changes']);for(let _0x5c487c of _0x5a90de['transactions'])for(let _0x43347d of _0x5c487c['effects'])_0x43347d['is'](setEditContextFormatting)&&(this['editContextFormatting']=_0x43347d['value']);}['compositionView'](_0x102d02){let _0xa198ea=new TextView(_0x102d02['text']['nodeValue']);_0xa198ea['flags']|=0x8;for(let {deco:_0x7728a4}of _0x102d02['marks'])_0xa198ea=new _0x324876(_0x7728a4,[_0xa198ea],_0xa198ea['length']);let _0x459478=new _0x288d86();return _0x459478['append'](_0xa198ea,0x0),_0x459478;}['fixCompositionDOM'](_0x244a6e){let _0x1439ad=(_0x263bfc,_0x31a71f)=>{_0x31a71f['flags']|=0x8|(_0x31a71f['children']['some'](_0x200701=>0x7&_0x200701['flags'])?0x1:0x0),this['markedForComposition']['add'](_0x31a71f);let _0x1ef2db=ContentView['get'](_0x263bfc);_0x1ef2db&&_0x1ef2db!=_0x31a71f&&(_0x1ef2db['dom']=null),_0x31a71f['setDOM'](_0x263bfc);},_0x35bc5d=this['childPos'](_0x244a6e['range']['fromB'],0x1),_0x10b5db=this['children'][_0x35bc5d['i']];_0x1439ad(_0x244a6e['line'],_0x10b5db);for(let _0x48df4f=_0x244a6e['marks']['length']-0x1;_0x48df4f>=-0x1;_0x48df4f--)_0x35bc5d=_0x10b5db['childPos'](_0x35bc5d['off'],0x1),_0x10b5db=_0x10b5db['children'][_0x35bc5d['i']],_0x1439ad(_0x48df4f>=0x0?_0x244a6e['marks'][_0x48df4f]['node']:_0x244a6e['text'],_0x10b5db);}['updateSelection'](_0x3d9e8a=!0x1,_0x753389=!0x1){!_0x3d9e8a&&this['view']['observer']['selectionRange']['focusNode']||this['view']['observer']['readSelectionRange']();let _0xc71223=this['view']['root']['activeElement'],_0x3d6035=_0xc71223==this['dom'],_0x54ce1f=!_0x3d6035&&!(this['view']['state']['facet'](editable)||this['dom']['tabIndex']>-0x1)&&hasSelection(this['dom'],this['view']['observer']['selectionRange'])&&!(_0xc71223&&this['dom']['contains'](_0xc71223));if(!(_0x3d6035||_0x753389||_0x54ce1f))return;let _0x118f58=this['forceSelection'];this['forceSelection']=!0x1;let _0x5ec286=this['view']['state']['selection']['main'],_0x5b1b2c=this['moveToLine'](this['domAtPos'](_0x5ec286['anchor'])),_0xeb304a=_0x5ec286['empty']?_0x5b1b2c:this['moveToLine'](this['domAtPos'](_0x5ec286['head']));if(_0x2b04e4['gecko']&&_0x5ec286['empty']&&!this['hasComposition']&&betweenUneditable(_0x5b1b2c)){let _0x263b31=document['createTextNode']('');this['view']['observer']['ignore'](()=>_0x5b1b2c['node']['insertBefore'](_0x263b31,_0x5b1b2c['node']['childNodes'][_0x5b1b2c['offset']]||null)),_0x5b1b2c=_0xeb304a=new _0x1b5644(_0x263b31,0x0),_0x118f58=!0x0;}let _0x4e76d6=this['view']['observer']['selectionRange'];!_0x118f58&&_0x4e76d6['focusNode']&&(isEquivalentPosition(_0x5b1b2c['node'],_0x5b1b2c['offset'],_0x4e76d6['anchorNode'],_0x4e76d6['anchorOffset'])&&isEquivalentPosition(_0xeb304a['node'],_0xeb304a['offset'],_0x4e76d6['focusNode'],_0x4e76d6['focusOffset'])||this['suppressWidgetCursorChange'](_0x4e76d6,_0x5ec286))||(this['view']['observer']['ignore'](()=>{_0x2b04e4['android']&&_0x2b04e4['chrome']&&this['dom']['contains'](_0x4e76d6['focusNode'])&&inUneditable(_0x4e76d6['focusNode'],this['dom'])&&(this['dom']['blur'](),this['dom']['focus']({'preventScroll':!0x0}));let _0x58e844=getSelection(this['view']['root']);if(_0x58e844){if(_0x5ec286['empty']){if(_0x2b04e4['gecko']){let _0x2c925f=nextToUneditable(_0x5b1b2c['node'],_0x5b1b2c['offset']);if(_0x2c925f&&0x3!=_0x2c925f){let _0x5701be=(0x1==_0x2c925f?textNodeBefore:textNodeAfter)(_0x5b1b2c['node'],_0x5b1b2c['offset']);_0x5701be&&(_0x5b1b2c=new _0x1b5644(_0x5701be['node'],_0x5701be['offset']));}}_0x58e844['collapse'](_0x5b1b2c['node'],_0x5b1b2c['offset']),null!=_0x5ec286['bidiLevel']&&void 0x0!==_0x58e844['caretBidiLevel']&&(_0x58e844['caretBidiLevel']=_0x5ec286['bidiLevel']);}else{if(_0x58e844['extend']){_0x58e844['collapse'](_0x5b1b2c['node'],_0x5b1b2c['offset']);try{_0x58e844['extend'](_0xeb304a['node'],_0xeb304a['offset']);}catch(_0x4dd1a0){}}else{let _0x363c36=document['createRange']();_0x5ec286['anchor']>_0x5ec286['head']&&([_0x5b1b2c,_0xeb304a]=[_0xeb304a,_0x5b1b2c]),_0x363c36['setEnd'](_0xeb304a['node'],_0xeb304a['offset']),_0x363c36['setStart'](_0x5b1b2c['node'],_0x5b1b2c['offset']),_0x58e844['removeAllRanges'](),_0x58e844['addRange'](_0x363c36);}}}else;_0x54ce1f&&this['view']['root']['activeElement']==this['dom']&&(this['dom']['blur'](),_0xc71223&&_0xc71223['focus']());}),this['view']['observer']['setSelectionRange'](_0x5b1b2c,_0xeb304a)),this['impreciseAnchor']=_0x5b1b2c['precise']?null:new _0x1b5644(_0x4e76d6['anchorNode'],_0x4e76d6['anchorOffset']),this['impreciseHead']=_0xeb304a['precise']?null:new _0x1b5644(_0x4e76d6['focusNode'],_0x4e76d6['focusOffset']);}['suppressWidgetCursorChange'](_0x49a90b,_0x3d724d){return this['hasComposition']&&_0x3d724d['empty']&&isEquivalentPosition(_0x49a90b['focusNode'],_0x49a90b['focusOffset'],_0x49a90b['anchorNode'],_0x49a90b['anchorOffset'])&&this['posFromDOM'](_0x49a90b['focusNode'],_0x49a90b['focusOffset'])==_0x3d724d['head'];}['enforceCursorAssoc'](){if(this['hasComposition'])return;let {view:_0x5eddea}=this,_0x51e815=_0x5eddea['state']['selection']['main'],_0x217441=getSelection(_0x5eddea['root']),{anchorNode:_0x32b67e,anchorOffset:_0x140a80}=_0x5eddea['observer']['selectionRange'];if(!(_0x217441&&_0x51e815['empty']&&_0x51e815['assoc']&&_0x217441['modify']))return;let _0x47017d=_0x288d86['find'](this,_0x51e815['head']);if(!_0x47017d)return;let _0x5cd3b4=_0x47017d['posAtStart'];if(_0x51e815['head']==_0x5cd3b4||_0x51e815['head']==_0x5cd3b4+_0x47017d['length'])return;let _0x3f3e78=this['coordsAt'](_0x51e815['head'],-0x1),_0x28cfab=this['coordsAt'](_0x51e815['head'],0x1);if(!_0x3f3e78||!_0x28cfab||_0x3f3e78['bottom']>_0x28cfab['top'])return;let _0x29489b=this['domAtPos'](_0x51e815['head']+_0x51e815['assoc']);_0x217441['collapse'](_0x29489b['node'],_0x29489b['offset']),_0x217441['modify']('move',_0x51e815['assoc']<0x0?'forward':'backward','lineboundary'),_0x5eddea['observer']['readSelectionRange']();let _0x3f2129=_0x5eddea['observer']['selectionRange'];_0x5eddea['docView']['posFromDOM'](_0x3f2129['anchorNode'],_0x3f2129['anchorOffset'])!=_0x51e815['from']&&_0x217441['collapse'](_0x32b67e,_0x140a80);}['moveToLine'](_0x94bc5b){let _0x5c1b73,_0x7b8ebc=this['dom'];if(_0x94bc5b['node']!=_0x7b8ebc)return _0x94bc5b;for(let _0x57204b=_0x94bc5b['offset'];!_0x5c1b73&&_0x57204b<_0x7b8ebc['childNodes']['length'];_0x57204b++){let _0x4e605c=ContentView['get'](_0x7b8ebc['childNodes'][_0x57204b]);_0x4e605c instanceof _0x288d86&&(_0x5c1b73=_0x4e605c['domAtPos'](0x0));}for(let _0x2a3715=_0x94bc5b['offset']-0x1;!_0x5c1b73&&_0x2a3715>=0x0;_0x2a3715--){let _0x3bf579=ContentView['get'](_0x7b8ebc['childNodes'][_0x2a3715]);_0x3bf579 instanceof _0x288d86&&(_0x5c1b73=_0x3bf579['domAtPos'](_0x3bf579['length']));}return _0x5c1b73?new _0x1b5644(_0x5c1b73['node'],_0x5c1b73['offset'],!0x0):_0x94bc5b;}['nearest'](_0x108820){for(let _0x383131=_0x108820;_0x383131;){let _0x476fb7=ContentView['get'](_0x383131);if(_0x476fb7&&_0x476fb7['rootView']==this)return _0x476fb7;_0x383131=_0x383131['parentNode'];}return null;}['posFromDOM'](_0x1e5d76,_0x102b4f){let _0x1aac76=this['nearest'](_0x1e5d76);if(!_0x1aac76)throw new RangeError('Trying\x20to\x20find\x20position\x20for\x20a\x20DOM\x20position\x20outside\x20of\x20the\x20document');return _0x1aac76['localPosFromDOM'](_0x1e5d76,_0x102b4f)+_0x1aac76['posAtStart'];}['domAtPos'](_0x4cf947){let {i:_0x3bdcad,off:_0xad1285}=this['childCursor']()['findPos'](_0x4cf947,-0x1);for(;_0x3bdcad<this['children']['length']-0x1;){let _0x5bf5ec=this['children'][_0x3bdcad];if(_0xad1285<_0x5bf5ec['length']||_0x5bf5ec instanceof _0x288d86)break;_0x3bdcad++,_0xad1285=0x0;}return this['children'][_0x3bdcad]['domAtPos'](_0xad1285);}['coordsAt'](_0x478d29,_0x4dfa08){let _0x30db67=null,_0x5a5cb8=0x0;for(let _0x5dfe05=this['length'],_0x1b2905=this['children']['length']-0x1;_0x1b2905>=0x0;_0x1b2905--){let _0xd80eed=this['children'][_0x1b2905],_0x5f1915=_0x5dfe05-_0xd80eed['breakAfter'],_0x44739e=_0x5f1915-_0xd80eed['length'];if(_0x5f1915<_0x478d29)break;if(_0x44739e<=_0x478d29&&(_0x44739e<_0x478d29||_0xd80eed['covers'](-0x1))&&(_0x5f1915>_0x478d29||_0xd80eed['covers'](0x1))&&(!_0x30db67||_0xd80eed instanceof _0x288d86&&!(_0x30db67 instanceof _0x288d86&&_0x4dfa08>=0x0)))_0x30db67=_0xd80eed,_0x5a5cb8=_0x44739e;else{if(_0x30db67&&_0x44739e==_0x478d29&&_0x5f1915==_0x478d29&&_0xd80eed instanceof BlockWidgetView&&Math['abs'](_0x4dfa08)<0x2){if(_0xd80eed['deco']['startSide']<0x0)break;_0x1b2905&&(_0x30db67=null);}}_0x5dfe05=_0x44739e;}return _0x30db67?_0x30db67['coordsAt'](_0x478d29-_0x5a5cb8,_0x4dfa08):null;}['coordsForChar'](_0x5bb845){let {i:_0x547f9c,off:_0x1badaf}=this['childPos'](_0x5bb845,0x1),_0x161466=this['children'][_0x547f9c];if(!(_0x161466 instanceof _0x288d86))return null;for(;_0x161466['children']['length'];){let {i:_0x5ad0aa,off:_0x372788}=_0x161466['childPos'](_0x1badaf,0x1);for(;;_0x5ad0aa++){if(_0x5ad0aa==_0x161466['children']['length'])return null;if((_0x161466=_0x161466['children'][_0x5ad0aa])['length'])break;}_0x1badaf=_0x372788;}if(!(_0x161466 instanceof TextView))return null;let _0x52326f=findClusterBreak(_0x161466['text'],_0x1badaf);if(_0x52326f==_0x1badaf)return null;let _0xe531fc=textRange(_0x161466['dom'],_0x1badaf,_0x52326f)['getClientRects']();for(let _0x53eb19=0x0;_0x53eb19<_0xe531fc['length'];_0x53eb19++){let _0x58d37f=_0xe531fc[_0x53eb19];if(_0x53eb19==_0xe531fc['length']-0x1||_0x58d37f['top']<_0x58d37f['bottom']&&_0x58d37f['left']<_0x58d37f['right'])return _0x58d37f;}return null;}['measureVisibleLineHeights'](_0x40fba5){let _0x2af993=[],{from:_0x10793c,to:_0x53dd0a}=_0x40fba5,_0x76ee94=this['view']['contentDOM']['clientWidth'],_0x26686e=_0x76ee94>Math['max'](this['view']['scrollDOM']['clientWidth'],this['minWidth'])+0x1,_0x488cde=-0x1,_0x521ffe=this['view']['textDirection']==Direction['LTR'];for(let _0xfa8e43=0x0,_0x5ea14a=0x0;_0x5ea14a<this['children']['length'];_0x5ea14a++){let _0x58f5db=this['children'][_0x5ea14a],_0xac28f6=_0xfa8e43+_0x58f5db['length'];if(_0xac28f6>_0x53dd0a)break;if(_0xfa8e43>=_0x10793c){let _0x1af0c7=_0x58f5db['dom']['getBoundingClientRect']();if(_0x2af993['push'](_0x1af0c7['height']),_0x26686e){let _0x1240e9=_0x58f5db['dom']['lastChild'],_0xdceb86=_0x1240e9?clientRectsFor(_0x1240e9):[];if(_0xdceb86['length']){let _0x34ed5b=_0xdceb86[_0xdceb86['length']-0x1],_0x1be12d=_0x521ffe?_0x34ed5b['right']-_0x1af0c7['left']:_0x1af0c7['right']-_0x34ed5b['left'];_0x1be12d>_0x488cde&&(_0x488cde=_0x1be12d,this['minWidth']=_0x76ee94,this['minWidthFrom']=_0xfa8e43,this['minWidthTo']=_0xac28f6);}}}_0xfa8e43=_0xac28f6+_0x58f5db['breakAfter'];}return _0x2af993;}['textDirectionAt'](_0x216526){let {i:_0x55c508}=this['childPos'](_0x216526,0x1);return'rtl'==getComputedStyle(this['children'][_0x55c508]['dom'])['direction']?Direction['RTL']:Direction['LTR'];}['measureTextSize'](){for(let _0x555813 of this['children'])if(_0x555813 instanceof _0x288d86){let _0x5cb068=_0x555813['measureTextSize']();if(_0x5cb068)return _0x5cb068;}let _0x67bda6,_0x4fb939,_0x157d43,_0x2e657c=document['createElement']('div');return _0x2e657c['className']='cm-line',_0x2e657c['style']['width']='99999px',_0x2e657c['style']['position']='absolute',_0x2e657c['textContent']='abc\x20def\x20ghi\x20jkl\x20mno\x20pqr\x20stu',this['view']['observer']['ignore'](()=>{this['dom']['appendChild'](_0x2e657c);let _0x1c3c17=clientRectsFor(_0x2e657c['firstChild'])[0x0];_0x67bda6=_0x2e657c['getBoundingClientRect']()['height'],_0x4fb939=_0x1c3c17?_0x1c3c17['width']/0x1b:0x7,_0x157d43=_0x1c3c17?_0x1c3c17['height']:_0x67bda6,_0x2e657c['remove']();}),{'lineHeight':_0x67bda6,'charWidth':_0x4fb939,'textHeight':_0x157d43};}['childCursor'](_0x29f38b=this['length']){let _0x552010=this['children']['length'];return _0x552010&&(_0x29f38b-=this['children'][--_0x552010]['length']),new _0xe3b461(this['children'],_0x29f38b,_0x552010);}['computeBlockGapDeco'](){let _0x3b81a4=[],_0x2da218=this['view']['viewState'];for(let _0x5d25d7=0x0,_0x55ef55=0x0;;_0x55ef55++){let _0x27748=_0x55ef55==_0x2da218['viewports']['length']?null:_0x2da218['viewports'][_0x55ef55],_0x58a7f0=_0x27748?_0x27748['from']-0x1:this['length'];if(_0x58a7f0>_0x5d25d7){let _0x19f046=(_0x2da218['lineBlockAt'](_0x58a7f0)['bottom']-_0x2da218['lineBlockAt'](_0x5d25d7)['top'])/this['view']['scaleY'];_0x3b81a4['push'](Decoration['replace']({'widget':new BlockGapWidget(_0x19f046),'block':!0x0,'inclusive':!0x0,'isBlockGap':!0x0})['range'](_0x5d25d7,_0x58a7f0));}if(!_0x27748)break;_0x5d25d7=_0x27748['to']+0x1;}return Decoration['set'](_0x3b81a4);}['updateDeco'](){let _0x32ae00=0x1,_0x2bec8a=this['view']['state']['facet'](decorations)['map'](_0xf0439b=>(this['dynamicDecorationMap'][_0x32ae00++]='function'==typeof _0xf0439b)?_0xf0439b(this['view']):_0xf0439b),_0x20989f=!0x1,_0x167a52=this['view']['state']['facet'](outerDecorations)['map']((_0x125c71,_0xdbd0dd)=>{let _0x42549d='function'==typeof _0x125c71;return _0x42549d&&(_0x20989f=!0x0),_0x42549d?_0x125c71(this['view']):_0x125c71;});for(_0x167a52['length']&&(this['dynamicDecorationMap'][_0x32ae00++]=_0x20989f,_0x2bec8a['push'](RangeSet['join'](_0x167a52))),this['decorations']=[this['editContextFormatting'],..._0x2bec8a,this['computeBlockGapDeco'](),this['view']['viewState']['lineGapDeco']];_0x32ae00<this['decorations']['length'];)this['dynamicDecorationMap'][_0x32ae00++]=!0x1;return this['decorations'];}['scrollIntoView'](_0x3bf88e){if(_0x3bf88e['isSnapshot']){let _0x3f7dc5=this['view']['viewState']['lineBlockAt'](_0x3bf88e['range']['head']);return this['view']['scrollDOM']['scrollTop']=_0x3f7dc5['top']-_0x3bf88e['yMargin'],void(this['view']['scrollDOM']['scrollLeft']=_0x3bf88e['xMargin']);}for(let _0x186664 of this['view']['state']['facet'](_0x382f3a))try{if(_0x186664(this['view'],_0x3bf88e['range'],_0x3bf88e))return!0x0;}catch(_0x1e0f65){logException(this['view']['state'],_0x1e0f65,'scroll\x20handler');}let _0x385ebd,{range:_0x3be171}=_0x3bf88e,_0x5b8b43=this['coordsAt'](_0x3be171['head'],_0x3be171['empty']?_0x3be171['assoc']:_0x3be171['head']>_0x3be171['anchor']?-0x1:0x1);if(!_0x5b8b43)return;!_0x3be171['empty']&&(_0x385ebd=this['coordsAt'](_0x3be171['anchor'],_0x3be171['anchor']>_0x3be171['head']?-0x1:0x1))&&(_0x5b8b43={'left':Math['min'](_0x5b8b43['left'],_0x385ebd['left']),'top':Math['min'](_0x5b8b43['top'],_0x385ebd['top']),'right':Math['max'](_0x5b8b43['right'],_0x385ebd['right']),'bottom':Math['max'](_0x5b8b43['bottom'],_0x385ebd['bottom'])});let _0x3fe09d=getScrollMargins(this['view']),_0x231398={'left':_0x5b8b43['left']-_0x3fe09d['left'],'top':_0x5b8b43['top']-_0x3fe09d['top'],'right':_0x5b8b43['right']+_0x3fe09d['right'],'bottom':_0x5b8b43['bottom']+_0x3fe09d['bottom']},{offsetWidth:_0xba6c9f,offsetHeight:_0x2541d2}=this['view']['scrollDOM'];scrollRectIntoView(this['view']['scrollDOM'],_0x231398,_0x3be171['head']<_0x3be171['anchor']?-0x1:0x1,_0x3bf88e['x'],_0x3bf88e['y'],Math['max'](Math['min'](_0x3bf88e['xMargin'],_0xba6c9f),-_0xba6c9f),Math['max'](Math['min'](_0x3bf88e['yMargin'],_0x2541d2),-_0x2541d2),this['view']['textDirection']==Direction['LTR']);}}function betweenUneditable(_0x221616){return 0x1==_0x221616['node']['nodeType']&&_0x221616['node']['firstChild']&&(0x0==_0x221616['offset']||'false'==_0x221616['node']['childNodes'][_0x221616['offset']-0x1]['contentEditable'])&&(_0x221616['offset']==_0x221616['node']['childNodes']['length']||'false'==_0x221616['node']['childNodes'][_0x221616['offset']]['contentEditable']);}function findCompositionNode(_0x45cec0,_0x1e5a94){let _0x156356=_0x45cec0['observer']['selectionRange'];if(!_0x156356['focusNode'])return null;let _0x1fe1d0=textNodeBefore(_0x156356['focusNode'],_0x156356['focusOffset']),_0x1949f5=textNodeAfter(_0x156356['focusNode'],_0x156356['focusOffset']),_0x4ada88=_0x1fe1d0||_0x1949f5;if(_0x1949f5&&_0x1fe1d0&&_0x1949f5['node']!=_0x1fe1d0['node']){let _0x583f4f=ContentView['get'](_0x1949f5['node']);if(!_0x583f4f||_0x583f4f instanceof TextView&&_0x583f4f['text']!=_0x1949f5['node']['nodeValue'])_0x4ada88=_0x1949f5;else{if(_0x45cec0['docView']['lastCompositionAfterCursor']){let _0x570eef=ContentView['get'](_0x1fe1d0['node']);!_0x570eef||_0x570eef instanceof TextView&&_0x570eef['text']!=_0x1fe1d0['node']['nodeValue']||(_0x4ada88=_0x1949f5);}}}if(_0x45cec0['docView']['lastCompositionAfterCursor']=_0x4ada88!=_0x1fe1d0,!_0x4ada88)return null;let _0x40d470=_0x1e5a94-_0x4ada88['offset'];return{'from':_0x40d470,'to':_0x40d470+_0x4ada88['node']['nodeValue']['length'],'node':_0x4ada88['node']};}function findCompositionRange(_0x1e89cf,_0xc35234,_0x239456){let _0x549a61=findCompositionNode(_0x1e89cf,_0x239456);if(!_0x549a61)return null;let {node:_0x5db65e,from:_0x2ed233,to:_0x1bf87e}=_0x549a61,_0x5bc304=_0x5db65e['nodeValue'];if(/[\n\r]/['test'](_0x5bc304))return null;if(_0x1e89cf['state']['doc']['sliceString'](_0x549a61['from'],_0x549a61['to'])!=_0x5bc304)return null;let _0x5c3dee=_0xc35234['invertedDesc'],_0x44b53e=new _0x1d28e1(_0x5c3dee['mapPos'](_0x2ed233),_0x5c3dee['mapPos'](_0x1bf87e),_0x2ed233,_0x1bf87e),_0x957b6d=[];for(let _0xe56e56=_0x5db65e['parentNode'];;_0xe56e56=_0xe56e56['parentNode']){let _0x2679c4=ContentView['get'](_0xe56e56);if(_0x2679c4 instanceof _0x324876)_0x957b6d['push']({'node':_0xe56e56,'deco':_0x2679c4['mark']});else{if(_0x2679c4 instanceof _0x288d86||'DIV'==_0xe56e56['nodeName']&&_0xe56e56['parentNode']==_0x1e89cf['contentDOM'])return{'range':_0x44b53e,'text':_0x5db65e,'marks':_0x957b6d,'line':_0xe56e56};if(_0xe56e56==_0x1e89cf['contentDOM'])return null;_0x957b6d['push']({'node':_0xe56e56,'deco':new MarkDecoration({'inclusive':!0x0,'attributes':getAttrs$1(_0xe56e56),'tagName':_0xe56e56['tagName']['toLowerCase']()})});}}}function nextToUneditable(_0x4a0f86,_0xea577e){return 0x1!=_0x4a0f86['nodeType']?0x0:(_0xea577e&&'false'==_0x4a0f86['childNodes'][_0xea577e-0x1]['contentEditable']?0x1:0x0)|(_0xea577e<_0x4a0f86['childNodes']['length']&&'false'==_0x4a0f86['childNodes'][_0xea577e]['contentEditable']?0x2:0x0);}let DecorationComparator$1=class{constructor(){this['changes']=[];}['compareRange'](_0x27fb0f,_0x1bd480){_0x31d7e8(_0x27fb0f,_0x1bd480,this['changes']);}['comparePoint'](_0x3c5991,_0x5d1826){_0x31d7e8(_0x3c5991,_0x5d1826,this['changes']);}['boundChange'](_0x1e65b4){_0x31d7e8(_0x1e65b4,_0x1e65b4,this['changes']);}};function _0xef1d7b(_0x4b208c,_0x3c9070,_0x1ee44f){let _0x15c272=new DecorationComparator$1();return RangeSet['compare'](_0x4b208c,_0x3c9070,_0x1ee44f,_0x15c272),_0x15c272['changes'];}function inUneditable(_0xe4f2b1,_0x53512b){for(let _0x2676d7=_0xe4f2b1;_0x2676d7&&_0x2676d7!=_0x53512b;_0x2676d7=_0x2676d7['assignedSlot']||_0x2676d7['parentNode'])if(0x1==_0x2676d7['nodeType']&&'false'==_0x2676d7['contentEditable'])return!0x0;return!0x1;}function touchesComposition(_0x225c51,_0x466c9a){let _0x243c46=!0x1;return _0x466c9a&&_0x225c51['iterChangedRanges']((_0x2fd0ec,_0x4935d7)=>{_0x2fd0ec<_0x466c9a['to']&&_0x4935d7>_0x466c9a['from']&&(_0x243c46=!0x0);}),_0x243c46;}function groupAt(_0x46ddf4,_0x5e1b66,_0x4a2215=0x1){let _0x3fa43b=_0x46ddf4['charCategorizer'](_0x5e1b66),_0x543729=_0x46ddf4['doc']['lineAt'](_0x5e1b66),_0x182733=_0x5e1b66-_0x543729['from'];if(0x0==_0x543729['length'])return EditorSelection['cursor'](_0x5e1b66);0x0==_0x182733?_0x4a2215=0x1:_0x182733==_0x543729['length']&&(_0x4a2215=-0x1);let _0x15466c=_0x182733,_0x4f2389=_0x182733;_0x4a2215<0x0?_0x15466c=findClusterBreak(_0x543729['text'],_0x182733,!0x1):_0x4f2389=findClusterBreak(_0x543729['text'],_0x182733);let _0x30848a=_0x3fa43b(_0x543729['text']['slice'](_0x15466c,_0x4f2389));for(;_0x15466c>0x0;){let _0x16c243=findClusterBreak(_0x543729['text'],_0x15466c,!0x1);if(_0x3fa43b(_0x543729['text']['slice'](_0x16c243,_0x15466c))!=_0x30848a)break;_0x15466c=_0x16c243;}for(;_0x4f2389<_0x543729['length'];){let _0x40d8f8=findClusterBreak(_0x543729['text'],_0x4f2389);if(_0x3fa43b(_0x543729['text']['slice'](_0x4f2389,_0x40d8f8))!=_0x30848a)break;_0x4f2389=_0x40d8f8;}return EditorSelection['range'](_0x15466c+_0x543729['from'],_0x4f2389+_0x543729['from']);}function getdx(_0x5cc426,_0x227204){return _0x227204['left']>_0x5cc426?_0x227204['left']-_0x5cc426:Math['max'](0x0,_0x5cc426-_0x227204['right']);}function getdy(_0x30575a,_0x195272){return _0x195272['top']>_0x30575a?_0x195272['top']-_0x30575a:Math['max'](0x0,_0x30575a-_0x195272['bottom']);}function _0x5153f4(_0x353493,_0x421849){return _0x353493['top']<_0x421849['bottom']-0x1&&_0x353493['bottom']>_0x421849['top']+0x1;}function _0xd9b05e(_0x4cca76,_0xd2a4d3){return _0xd2a4d3<_0x4cca76['top']?{'top':_0xd2a4d3,'left':_0x4cca76['left'],'right':_0x4cca76['right'],'bottom':_0x4cca76['bottom']}:_0x4cca76;}function upBot(_0x4d3a69,_0x60ed4c){return _0x60ed4c>_0x4d3a69['bottom']?{'top':_0x4d3a69['top'],'left':_0x4d3a69['left'],'right':_0x4d3a69['right'],'bottom':_0x60ed4c}:_0x4d3a69;}function domPosAtCoords(_0x3bee0e,_0x59a37e,_0x5be8a3){let _0x13639b,_0x52e2b5,_0x26d60f,_0x4cb6fa,_0x3006f1,_0x287d12,_0x43b137,_0x31f36a,_0x388e4e=!0x1;for(let _0x524c2a=_0x3bee0e['firstChild'];_0x524c2a;_0x524c2a=_0x524c2a['nextSibling']){let _0x467f27=clientRectsFor(_0x524c2a);for(let _0xeb79c0=0x0;_0xeb79c0<_0x467f27['length'];_0xeb79c0++){let _0x5f3820=_0x467f27[_0xeb79c0];_0x52e2b5&&_0x5153f4(_0x52e2b5,_0x5f3820)&&(_0x5f3820=_0xd9b05e(upBot(_0x5f3820,_0x52e2b5['bottom']),_0x52e2b5['top']));let _0x41a2a6=getdx(_0x59a37e,_0x5f3820),_0x4fe165=getdy(_0x5be8a3,_0x5f3820);if(0x0==_0x41a2a6&&0x0==_0x4fe165)return 0x3==_0x524c2a['nodeType']?domPosInText(_0x524c2a,_0x59a37e,_0x5be8a3):domPosAtCoords(_0x524c2a,_0x59a37e,_0x5be8a3);(!_0x13639b||_0x4cb6fa>_0x4fe165||_0x4cb6fa==_0x4fe165&&_0x26d60f>_0x41a2a6)&&(_0x13639b=_0x524c2a,_0x52e2b5=_0x5f3820,_0x26d60f=_0x41a2a6,_0x4cb6fa=_0x4fe165,_0x388e4e=!_0x41a2a6||(_0x59a37e<_0x5f3820['left']?_0xeb79c0>0x0:_0xeb79c0<_0x467f27['length']-0x1)),0x0==_0x41a2a6?_0x5be8a3>_0x5f3820['bottom']&&(!_0x43b137||_0x43b137['bottom']<_0x5f3820['bottom'])?(_0x3006f1=_0x524c2a,_0x43b137=_0x5f3820):_0x5be8a3<_0x5f3820['top']&&(!_0x31f36a||_0x31f36a['top']>_0x5f3820['top'])&&(_0x287d12=_0x524c2a,_0x31f36a=_0x5f3820):_0x43b137&&_0x5153f4(_0x43b137,_0x5f3820)?_0x43b137=upBot(_0x43b137,_0x5f3820['bottom']):_0x31f36a&&_0x5153f4(_0x31f36a,_0x5f3820)&&(_0x31f36a=_0xd9b05e(_0x31f36a,_0x5f3820['top']));}}if(_0x43b137&&_0x43b137['bottom']>=_0x5be8a3?(_0x13639b=_0x3006f1,_0x52e2b5=_0x43b137):_0x31f36a&&_0x31f36a['top']<=_0x5be8a3&&(_0x13639b=_0x287d12,_0x52e2b5=_0x31f36a),!_0x13639b)return{'node':_0x3bee0e,'offset':0x0};let _0x40b580=Math['max'](_0x52e2b5['left'],Math['min'](_0x52e2b5['right'],_0x59a37e));return 0x3==_0x13639b['nodeType']?domPosInText(_0x13639b,_0x40b580,_0x5be8a3):_0x388e4e&&'false'!=_0x13639b['contentEditable']?domPosAtCoords(_0x13639b,_0x40b580,_0x5be8a3):{'node':_0x3bee0e,'offset':Array['prototype']['indexOf']['call'](_0x3bee0e['childNodes'],_0x13639b)+(_0x59a37e>=(_0x52e2b5['left']+_0x52e2b5['right'])/0x2?0x1:0x0)};}function domPosInText(_0x30482b,_0x3f4d9d,_0x6b2c47){let _0x366b88=_0x30482b['nodeValue']['length'],_0x532d31=-0x1,_0x18461a=0x3b9aca00,_0x5ba3c2=0x0;for(let _0x10fe18=0x0;_0x10fe18<_0x366b88;_0x10fe18++){let _0x308f03=textRange(_0x30482b,_0x10fe18,_0x10fe18+0x1)['getClientRects']();for(let _0x54557f=0x0;_0x54557f<_0x308f03['length'];_0x54557f++){let _0x6c8a09=_0x308f03[_0x54557f];if(_0x6c8a09['top']==_0x6c8a09['bottom'])continue;_0x5ba3c2||(_0x5ba3c2=_0x3f4d9d-_0x6c8a09['left']);let _0x3b37e1=(_0x6c8a09['top']>_0x6b2c47?_0x6c8a09['top']-_0x6b2c47:_0x6b2c47-_0x6c8a09['bottom'])-0x1;if(_0x6c8a09['left']-0x1<=_0x3f4d9d&&_0x6c8a09['right']+0x1>=_0x3f4d9d&&_0x3b37e1<_0x18461a){let _0xd94875=_0x3f4d9d>=(_0x6c8a09['left']+_0x6c8a09['right'])/0x2,_0x3f5719=_0xd94875;(_0x2b04e4['chrome']||_0x2b04e4['gecko'])&&(textRange(_0x30482b,_0x10fe18)['getBoundingClientRect']()['left']==_0x6c8a09['right']&&(_0x3f5719=!_0xd94875));if(_0x3b37e1<=0x0)return{'node':_0x30482b,'offset':_0x10fe18+(_0x3f5719?0x1:0x0)};_0x532d31=_0x10fe18+(_0x3f5719?0x1:0x0),_0x18461a=_0x3b37e1;}}}return{'node':_0x30482b,'offset':_0x532d31>-0x1?_0x532d31:_0x5ba3c2>0x0?_0x30482b['nodeValue']['length']:0x0};}function posAtCoords(_0x4980cc,_0x55c794,_0xd4f4c0,_0x4970cb=-0x1){var _0x25cde4,_0x2fc2e4;let _0x5ce2c7,_0x27c850=_0x4980cc['contentDOM']['getBoundingClientRect'](),_0x1aa138=_0x27c850['top']+_0x4980cc['viewState']['paddingTop'],{docHeight:_0x808ea8}=_0x4980cc['viewState'],{x:_0x42cf86,y:_0xbe6ef7}=_0x55c794,_0x558d45=_0xbe6ef7-_0x1aa138;if(_0x558d45<0x0)return 0x0;if(_0x558d45>_0x808ea8)return _0x4980cc['state']['doc']['length'];for(let _0x45bf25=_0x4980cc['viewState']['heightOracle']['textHeight']/0x2,_0x33141d=!0x1;_0x5ce2c7=_0x4980cc['elementAtHeight'](_0x558d45),_0x5ce2c7['type']!=_0x4ab331['Text'];)for(;_0x558d45=_0x4970cb>0x0?_0x5ce2c7['bottom']+_0x45bf25:_0x5ce2c7['top']-_0x45bf25,!(_0x558d45>=0x0&&_0x558d45<=_0x808ea8);){if(_0x33141d)return _0xd4f4c0?null:0x0;_0x33141d=!0x0,_0x4970cb=-_0x4970cb;}_0xbe6ef7=_0x1aa138+_0x558d45;let _0x2ae598=_0x5ce2c7['from'];if(_0x2ae598<_0x4980cc['viewport']['from'])return 0x0==_0x4980cc['viewport']['from']?0x0:_0xd4f4c0?null:posAtCoordsImprecise(_0x4980cc,_0x27c850,_0x5ce2c7,_0x42cf86,_0xbe6ef7);if(_0x2ae598>_0x4980cc['viewport']['to'])return _0x4980cc['viewport']['to']==_0x4980cc['state']['doc']['length']?_0x4980cc['state']['doc']['length']:_0xd4f4c0?null:posAtCoordsImprecise(_0x4980cc,_0x27c850,_0x5ce2c7,_0x42cf86,_0xbe6ef7);let _0x3ab88f=_0x4980cc['dom']['ownerDocument'],_0x24b27a=_0x4980cc['root']['elementFromPoint']?_0x4980cc['root']:_0x3ab88f,_0x2e7ed0=_0x24b27a['elementFromPoint'](_0x42cf86,_0xbe6ef7);_0x2e7ed0&&!_0x4980cc['contentDOM']['contains'](_0x2e7ed0)&&(_0x2e7ed0=null),_0x2e7ed0||(_0x42cf86=Math['max'](_0x27c850['left']+0x1,Math['min'](_0x27c850['right']-0x1,_0x42cf86)),_0x2e7ed0=_0x24b27a['elementFromPoint'](_0x42cf86,_0xbe6ef7),_0x2e7ed0&&!_0x4980cc['contentDOM']['contains'](_0x2e7ed0)&&(_0x2e7ed0=null));let _0x9ee3d3,_0x597dbf=-0x1;if(_0x2e7ed0&&0x0!=(null===(_0x25cde4=_0x4980cc['docView']['nearest'](_0x2e7ed0))||void 0x0===_0x25cde4?void 0x0:_0x25cde4['isEditable'])){if(_0x3ab88f['caretPositionFromPoint']){let _0x871cf5=_0x3ab88f['caretPositionFromPoint'](_0x42cf86,_0xbe6ef7);_0x871cf5&&({offsetNode:_0x9ee3d3,offset:_0x597dbf}=_0x871cf5);}else{if(_0x3ab88f['caretRangeFromPoint']){let _0x191ce4=_0x3ab88f['caretRangeFromPoint'](_0x42cf86,_0xbe6ef7);_0x191ce4&&({startContainer:_0x9ee3d3,startOffset:_0x597dbf}=_0x191ce4,(!_0x4980cc['contentDOM']['contains'](_0x9ee3d3)||_0x2b04e4['safari']&&isSuspiciousSafariCaretResult(_0x9ee3d3,_0x597dbf,_0x42cf86)||_0x2b04e4['chrome']&&isSuspiciousChromeCaretResult(_0x9ee3d3,_0x597dbf,_0x42cf86))&&(_0x9ee3d3=void 0x0));}}_0x9ee3d3&&(_0x597dbf=Math['min'](maxOffset(_0x9ee3d3),_0x597dbf));}if(!_0x9ee3d3||!_0x4980cc['docView']['dom']['contains'](_0x9ee3d3)){let _0x6c2017=_0x288d86['find'](_0x4980cc['docView'],_0x2ae598);if(!_0x6c2017)return _0x558d45>_0x5ce2c7['top']+_0x5ce2c7['height']/0x2?_0x5ce2c7['to']:_0x5ce2c7['from'];({node:_0x9ee3d3,offset:_0x597dbf}=domPosAtCoords(_0x6c2017['dom'],_0x42cf86,_0xbe6ef7));}let _0xe257bc=_0x4980cc['docView']['nearest'](_0x9ee3d3);if(!_0xe257bc)return null;if(_0xe257bc['isWidget']&&0x1==(null===(_0x2fc2e4=_0xe257bc['dom'])||void 0x0===_0x2fc2e4?void 0x0:_0x2fc2e4['nodeType'])){let _0x44f19e=_0xe257bc['dom']['getBoundingClientRect']();return _0x55c794['y']<_0x44f19e['top']||_0x55c794['y']<=_0x44f19e['bottom']&&_0x55c794['x']<=(_0x44f19e['left']+_0x44f19e['right'])/0x2?_0xe257bc['posAtStart']:_0xe257bc['posAtEnd'];}return _0xe257bc['localPosFromDOM'](_0x9ee3d3,_0x597dbf)+_0xe257bc['posAtStart'];}function posAtCoordsImprecise(_0x5b1f7b,_0x47cb64,_0x1ff663,_0x54e08e,_0x4162af){let _0x254935=Math['round']((_0x54e08e-_0x47cb64['left'])*_0x5b1f7b['defaultCharacterWidth']);if(_0x5b1f7b['lineWrapping']&&_0x1ff663['height']>1.5*_0x5b1f7b['defaultLineHeight']){let _0x184d0e=_0x5b1f7b['viewState']['heightOracle']['textHeight'];_0x254935+=Math['floor']((_0x4162af-_0x1ff663['top']-0.5*(_0x5b1f7b['defaultLineHeight']-_0x184d0e))/_0x184d0e)*_0x5b1f7b['viewState']['heightOracle']['lineLength'];}let _0xc7eb0b=_0x5b1f7b['state']['sliceDoc'](_0x1ff663['from'],_0x1ff663['to']);return _0x1ff663['from']+_0x17637e(_0xc7eb0b,_0x254935,_0x5b1f7b['state']['tabSize']);}function isSuspiciousSafariCaretResult(_0x41af0b,_0x1b22da,_0x4ff330){let _0x59be04,_0x1ded40=_0x41af0b;if(0x3!=_0x41af0b['nodeType']||_0x1b22da!=(_0x59be04=_0x41af0b['nodeValue']['length']))return!0x1;for(;;){let _0x390c3a=_0x1ded40['nextSibling'];if(_0x390c3a){if('BR'==_0x390c3a['nodeName'])break;return!0x1;}{let _0xa9a600=_0x1ded40['parentNode'];if(!_0xa9a600||'DIV'==_0xa9a600['nodeName'])break;_0x1ded40=_0xa9a600;}}return textRange(_0x41af0b,_0x59be04-0x1,_0x59be04)['getBoundingClientRect']()['right']>_0x4ff330;}function isSuspiciousChromeCaretResult(_0x2b3dc8,_0x5c6087,_0x2eacb5){if(0x0!=_0x5c6087)return!0x1;for(let _0x3b15ea=_0x2b3dc8;;){let _0x35a678=_0x3b15ea['parentNode'];if(!_0x35a678||0x1!=_0x35a678['nodeType']||_0x35a678['firstChild']!=_0x3b15ea)return!0x1;if(_0x35a678['classList']['contains']('cm-line'))break;_0x3b15ea=_0x35a678;}return _0x2eacb5-(0x1==_0x2b3dc8['nodeType']?_0x2b3dc8['getBoundingClientRect']():textRange(_0x2b3dc8,0x0,Math['max'](_0x2b3dc8['nodeValue']['length'],0x1))['getBoundingClientRect']())['left']>0x5;}function blockAt(_0x25174a,_0x3209b1,_0x2439fb){let _0x52b3f2=_0x25174a['lineBlockAt'](_0x3209b1);if(Array['isArray'](_0x52b3f2['type'])){let _0x203f22;for(let _0x7f9656 of _0x52b3f2['type']){if(_0x7f9656['from']>_0x3209b1)break;if(!(_0x7f9656['to']<_0x3209b1)){if(_0x7f9656['from']<_0x3209b1&&_0x7f9656['to']>_0x3209b1)return _0x7f9656;_0x203f22&&(_0x7f9656['type']!=_0x4ab331['Text']||_0x203f22['type']==_0x7f9656['type']&&!(_0x2439fb<0x0?_0x7f9656['from']<_0x3209b1:_0x7f9656['to']>_0x3209b1))||(_0x203f22=_0x7f9656);}}return _0x203f22||_0x52b3f2;}return _0x52b3f2;}function _0x4ea64b(_0x25366f,_0x34db03,_0x19c05a,_0x2ff7a7){let _0x56318c=blockAt(_0x25366f,_0x34db03['head'],_0x34db03['assoc']||-0x1),_0x205cc3=_0x2ff7a7&&_0x56318c['type']==_0x4ab331['Text']&&(_0x25366f['lineWrapping']||_0x56318c['widgetLineBreaks'])?_0x25366f['coordsAtPos'](_0x34db03['assoc']<0x0&&_0x34db03['head']>_0x56318c['from']?_0x34db03['head']-0x1:_0x34db03['head']):null;if(_0x205cc3){let _0x2321a1=_0x25366f['dom']['getBoundingClientRect'](),_0x26a498=_0x25366f['textDirectionAt'](_0x56318c['from']),_0x10806b=_0x25366f['posAtCoords']({'x':_0x19c05a==(_0x26a498==Direction['LTR'])?_0x2321a1['right']-0x1:_0x2321a1['left']+0x1,'y':(_0x205cc3['top']+_0x205cc3['bottom'])/0x2});if(null!=_0x10806b)return EditorSelection['cursor'](_0x10806b,_0x19c05a?-0x1:0x1);}return EditorSelection['cursor'](_0x19c05a?_0x56318c['to']:_0x56318c['from'],_0x19c05a?-0x1:0x1);}function _0x18c81e(_0x4deb10,_0x20d98f,_0x5758a8,_0x5cf36a){let _0x136703=_0x4deb10['state']['doc']['lineAt'](_0x20d98f['head']),_0x55b7b0=_0x4deb10['bidiSpans'](_0x136703),_0x59473f=_0x4deb10['textDirectionAt'](_0x136703['from']);for(let _0x21effb=_0x20d98f,_0x33fa75=null;;){let _0x363a8c=_0x3072db(_0x136703,_0x55b7b0,_0x59473f,_0x21effb,_0x5758a8),_0x993679=_0x380d91;if(!_0x363a8c){if(_0x136703['number']==(_0x5758a8?_0x4deb10['state']['doc']['lines']:0x1))return _0x21effb;_0x993679='\x0a',_0x136703=_0x4deb10['state']['doc']['line'](_0x136703['number']+(_0x5758a8?0x1:-0x1)),_0x55b7b0=_0x4deb10['bidiSpans'](_0x136703),_0x363a8c=_0x4deb10['visualLineSide'](_0x136703,!_0x5758a8);}if(_0x33fa75){if(!_0x33fa75(_0x993679))return _0x21effb;}else{if(!_0x5cf36a)return _0x363a8c;_0x33fa75=_0x5cf36a(_0x993679);}_0x21effb=_0x363a8c;}}function _0x512c3c(_0x43e6bf,_0x3fad1,_0x51f90c){let _0x72fc8c=_0x43e6bf['state']['charCategorizer'](_0x3fad1),_0x31ec35=_0x72fc8c(_0x51f90c);return _0xee2dbc=>{let _0x23b911=_0x72fc8c(_0xee2dbc);return _0x31ec35==CharCategory['Space']&&(_0x31ec35=_0x23b911),_0x31ec35==_0x23b911;};}function moveVertically(_0x4c716d,_0x2a46d7,_0x318910,_0x2f2b3f){let _0x579882=_0x2a46d7['head'],_0x100f21=_0x318910?0x1:-0x1;if(_0x579882==(_0x318910?_0x4c716d['state']['doc']['length']:0x0))return EditorSelection['cursor'](_0x579882,_0x2a46d7['assoc']);let _0x24d211,_0x178838=_0x2a46d7['goalColumn'],_0x5c3ee7=_0x4c716d['contentDOM']['getBoundingClientRect'](),_0x49b8c2=_0x4c716d['coordsAtPos'](_0x579882,_0x2a46d7['assoc']||-0x1),_0x46e461=_0x4c716d['documentTop'];if(_0x49b8c2)null==_0x178838&&(_0x178838=_0x49b8c2['left']-_0x5c3ee7['left']),_0x24d211=_0x100f21<0x0?_0x49b8c2['top']:_0x49b8c2['bottom'];else{let _0x38671f=_0x4c716d['viewState']['lineBlockAt'](_0x579882);null==_0x178838&&(_0x178838=Math['min'](_0x5c3ee7['right']-_0x5c3ee7['left'],_0x4c716d['defaultCharacterWidth']*(_0x579882-_0x38671f['from']))),_0x24d211=(_0x100f21<0x0?_0x38671f['top']:_0x38671f['bottom'])+_0x46e461;}let _0x130cf3=_0x5c3ee7['left']+_0x178838,_0x132374=null!=_0x2f2b3f?_0x2f2b3f:_0x4c716d['viewState']['heightOracle']['textHeight']>>0x1;for(let _0x1eec02=0x0;;_0x1eec02+=0xa){let _0x42ea3d=_0x24d211+(_0x132374+_0x1eec02)*_0x100f21,_0x49adf4=posAtCoords(_0x4c716d,{'x':_0x130cf3,'y':_0x42ea3d},!0x1,_0x100f21);if(_0x42ea3d<_0x5c3ee7['top']||_0x42ea3d>_0x5c3ee7['bottom']||(_0x100f21<0x0?_0x49adf4<_0x579882:_0x49adf4>_0x579882)){let _0x1a89d3=_0x4c716d['docView']['coordsForChar'](_0x49adf4),_0x5635ba=!_0x1a89d3||_0x42ea3d<_0x1a89d3['top']?-0x1:0x1;return EditorSelection['cursor'](_0x49adf4,_0x5635ba,void 0x0,_0x178838);}}}function skipAtomicRanges(_0x386eef,_0x475ad7,_0x20a120){for(;;){let _0x58bc74=0x0;for(let _0x295330 of _0x386eef)_0x295330['between'](_0x475ad7-0x1,_0x475ad7+0x1,(_0x5ecc93,_0x2bf141,_0x194dab)=>{if(_0x475ad7>_0x5ecc93&&_0x475ad7<_0x2bf141){let _0x35f116=_0x58bc74||_0x20a120||(_0x475ad7-_0x5ecc93<_0x2bf141-_0x475ad7?-0x1:0x1);_0x475ad7=_0x35f116<0x0?_0x5ecc93:_0x2bf141,_0x58bc74=_0x35f116;}});if(!_0x58bc74)return _0x475ad7;}}function skipAtomsForSelection(_0x3d7967,_0x26ed2e){let _0x4c21e8=null;for(let _0x31b05e=0x0;_0x31b05e<_0x26ed2e['ranges']['length'];_0x31b05e++){let _0xd2e986=_0x26ed2e['ranges'][_0x31b05e],_0x5c0036=null;if(_0xd2e986['empty']){let _0x4b7ed2=skipAtomicRanges(_0x3d7967,_0xd2e986['from'],0x0);_0x4b7ed2!=_0xd2e986['from']&&(_0x5c0036=EditorSelection['cursor'](_0x4b7ed2,-0x1));}else{let _0x9cb384=skipAtomicRanges(_0x3d7967,_0xd2e986['from'],-0x1),_0x51c11f=skipAtomicRanges(_0x3d7967,_0xd2e986['to'],0x1);_0x9cb384==_0xd2e986['from']&&_0x51c11f==_0xd2e986['to']||(_0x5c0036=EditorSelection['range'](_0xd2e986['from']==_0xd2e986['anchor']?_0x9cb384:_0x51c11f,_0xd2e986['from']==_0xd2e986['head']?_0x9cb384:_0x51c11f));}_0x5c0036&&(_0x4c21e8||(_0x4c21e8=_0x26ed2e['ranges']['slice']()),_0x4c21e8[_0x31b05e]=_0x5c0036);}return _0x4c21e8?EditorSelection['create'](_0x4c21e8,_0x26ed2e['mainIndex']):_0x26ed2e;}function skipAtoms(_0x3ecdb5,_0x43d91d,_0x4ea59f){let _0x1067fc=skipAtomicRanges(_0x3ecdb5['state']['facet'](atomicRanges)['map'](_0x23abaf=>_0x23abaf(_0x3ecdb5)),_0x4ea59f['from'],_0x43d91d['head']>_0x4ea59f['from']?-0x1:0x1);return _0x1067fc==_0x4ea59f['from']?_0x4ea59f:EditorSelection['cursor'](_0x1067fc,_0x1067fc<_0x4ea59f['from']?0x1:-0x1);}const _0x5bbfbb='';class _0x261c0d{constructor(_0x2305c5,_0x2ee36c){this['points']=_0x2305c5,this['text']='',this['lineSeparator']=_0x2ee36c['facet'](EditorState['lineSeparator']);}['append'](_0x2fcb08){this['text']+=_0x2fcb08;}['lineBreak'](){this['text']+=_0x5bbfbb;}['readRange'](_0x15a8e3,_0xb2cbb9){if(!_0x15a8e3)return this;let _0x335277=_0x15a8e3['parentNode'];for(let _0xc2cf6=_0x15a8e3;;){this['findPointBefore'](_0x335277,_0xc2cf6);let _0x2f1b8f=this['text']['length'];this['readNode'](_0xc2cf6);let _0x2e709e=_0xc2cf6['nextSibling'];if(_0x2e709e==_0xb2cbb9)break;let _0x21b9c1=ContentView['get'](_0xc2cf6),_0x25d855=ContentView['get'](_0x2e709e);(_0x21b9c1&&_0x25d855?_0x21b9c1['breakAfter']:(_0x21b9c1?_0x21b9c1['breakAfter']:isBlockElement(_0xc2cf6))||isBlockElement(_0x2e709e)&&('BR'!=_0xc2cf6['nodeName']||_0xc2cf6['cmIgnore'])&&this['text']['length']>_0x2f1b8f)&&this['lineBreak'](),_0xc2cf6=_0x2e709e;}return this['findPointBefore'](_0x335277,_0xb2cbb9),this;}['readTextNode'](_0x3d18a8){let _0x2b38fc=_0x3d18a8['nodeValue'];for(let _0x5acc46 of this['points'])_0x5acc46['node']==_0x3d18a8&&(_0x5acc46['pos']=this['text']['length']+Math['min'](_0x5acc46['offset'],_0x2b38fc['length']));for(let _0xacb7b5=0x0,_0x35551d=this['lineSeparator']?null:/\r\n?|\n/g;;){let _0x4fbebd,_0x379281=-0x1,_0x408a24=0x1;if(this['lineSeparator']?(_0x379281=_0x2b38fc['indexOf'](this['lineSeparator'],_0xacb7b5),_0x408a24=this['lineSeparator']['length']):(_0x4fbebd=_0x35551d['exec'](_0x2b38fc))&&(_0x379281=_0x4fbebd['index'],_0x408a24=_0x4fbebd[0x0]['length']),this['append'](_0x2b38fc['slice'](_0xacb7b5,_0x379281<0x0?_0x2b38fc['length']:_0x379281)),_0x379281<0x0)break;if(this['lineBreak'](),_0x408a24>0x1){for(let _0x414daa of this['points'])_0x414daa['node']==_0x3d18a8&&_0x414daa['pos']>this['text']['length']&&(_0x414daa['pos']-=_0x408a24-0x1);}_0xacb7b5=_0x379281+_0x408a24;}}['readNode'](_0x48e780){if(_0x48e780['cmIgnore'])return;let _0x1c4f2c=ContentView['get'](_0x48e780),_0x44f5b6=_0x1c4f2c&&_0x1c4f2c['overrideDOMText'];if(null!=_0x44f5b6){this['findPointInside'](_0x48e780,_0x44f5b6['length']);for(let _0xf3ac8b=_0x44f5b6['iter']();!_0xf3ac8b['next']()['done'];)_0xf3ac8b['lineBreak']?this['lineBreak']():this['append'](_0xf3ac8b['value']);}else 0x3==_0x48e780['nodeType']?this['readTextNode'](_0x48e780):'BR'==_0x48e780['nodeName']?_0x48e780['nextSibling']&&this['lineBreak']():0x1==_0x48e780['nodeType']&&this['readRange'](_0x48e780['firstChild'],null);}['findPointBefore'](_0x5a1f88,_0x302c53){for(let _0xd1b7c6 of this['points'])_0xd1b7c6['node']==_0x5a1f88&&_0x5a1f88['childNodes'][_0xd1b7c6['offset']]==_0x302c53&&(_0xd1b7c6['pos']=this['text']['length']);}['findPointInside'](_0x19ebd4,_0xa23771){for(let _0x30476c of this['points'])(0x3==_0x19ebd4['nodeType']?_0x30476c['node']==_0x19ebd4:_0x19ebd4['contains'](_0x30476c['node']))&&(_0x30476c['pos']=this['text']['length']+(isAtEnd(_0x19ebd4,_0x30476c['node'],_0x30476c['offset'])?_0xa23771:0x0));}}function isAtEnd(_0x5bd9a5,_0x5a5002,_0x1fb4c7){for(;;){if(!_0x5a5002||_0x1fb4c7<maxOffset(_0x5a5002))return!0x1;if(_0x5a5002==_0x5bd9a5)return!0x0;_0x1fb4c7=_0x347bea(_0x5a5002)+0x1,_0x5a5002=_0x5a5002['parentNode'];}}class DOMPoint{constructor(_0xb8b625,_0x11c4da){this['node']=_0xb8b625,this['offset']=_0x11c4da,this['pos']=-0x1;}}class _0x4c0998{constructor(_0x16e566,_0x9a29d2,_0x1805c2,_0x4c6174){this['typeOver']=_0x4c6174,this['bounds']=null,this['text']='',this['domChanged']=_0x9a29d2>-0x1;let {impreciseHead:_0x3f7072,impreciseAnchor:_0x579649}=_0x16e566['docView'];if(_0x16e566['state']['readOnly']&&_0x9a29d2>-0x1)this['newSel']=null;else{if(_0x9a29d2>-0x1&&(this['bounds']=_0x16e566['docView']['domBoundsAround'](_0x9a29d2,_0x1805c2,0x0))){let _0x2ac022=_0x3f7072||_0x579649?[]:selectionPoints(_0x16e566),_0x52e627=new _0x261c0d(_0x2ac022,_0x16e566['state']);_0x52e627['readRange'](this['bounds']['startDOM'],this['bounds']['endDOM']),this['text']=_0x52e627['text'],this['newSel']=selectionFromPoints(_0x2ac022,this['bounds']['from']);}else{let _0x5acff9=_0x16e566['observer']['selectionRange'],_0x12cac3=_0x3f7072&&_0x3f7072['node']==_0x5acff9['focusNode']&&_0x3f7072['offset']==_0x5acff9['focusOffset']||!contains(_0x16e566['contentDOM'],_0x5acff9['focusNode'])?_0x16e566['state']['selection']['main']['head']:_0x16e566['docView']['posFromDOM'](_0x5acff9['focusNode'],_0x5acff9['focusOffset']),_0x1d0e4c=_0x579649&&_0x579649['node']==_0x5acff9['anchorNode']&&_0x579649['offset']==_0x5acff9['anchorOffset']||!contains(_0x16e566['contentDOM'],_0x5acff9['anchorNode'])?_0x16e566['state']['selection']['main']['anchor']:_0x16e566['docView']['posFromDOM'](_0x5acff9['anchorNode'],_0x5acff9['anchorOffset']),_0x5dac06=_0x16e566['viewport'];if((_0x2b04e4['ios']||_0x2b04e4['chrome'])&&_0x16e566['state']['selection']['main']['empty']&&_0x12cac3!=_0x1d0e4c&&(_0x5dac06['from']>0x0||_0x5dac06['to']<_0x16e566['state']['doc']['length'])){let _0x3ac569=Math['min'](_0x12cac3,_0x1d0e4c),_0x3a8e53=Math['max'](_0x12cac3,_0x1d0e4c),_0x569e45=_0x5dac06['from']-_0x3ac569,_0x21cc61=_0x5dac06['to']-_0x3a8e53;0x0!=_0x569e45&&0x1!=_0x569e45&&0x0!=_0x3ac569||0x0!=_0x21cc61&&-0x1!=_0x21cc61&&_0x3a8e53!=_0x16e566['state']['doc']['length']||(_0x12cac3=0x0,_0x1d0e4c=_0x16e566['state']['doc']['length']);}this['newSel']=EditorSelection['single'](_0x1d0e4c,_0x12cac3);}}}}function _0x26bc4d(_0x46f691,_0xe0548a){let _0x356b55,{newSel:_0x114833}=_0xe0548a,_0xd7ea38=_0x46f691['state']['selection']['main'],_0x1bd413=_0x46f691['inputState']['lastKeyTime']>Date['now']()-0x64?_0x46f691['inputState']['lastKeyCode']:-0x1;if(_0xe0548a['bounds']){let {from:_0x234d61,to:_0x243fbd}=_0xe0548a['bounds'],_0x2969d2=_0xd7ea38['from'],_0x5dc390=null;(0x8===_0x1bd413||_0x2b04e4['android']&&_0xe0548a['text']['length']<_0x243fbd-_0x234d61)&&(_0x2969d2=_0xd7ea38['to'],_0x5dc390='end');let _0xd3e199=_0x589c49(_0x46f691['state']['doc']['sliceString'](_0x234d61,_0x243fbd,_0x5bbfbb),_0xe0548a['text'],_0x2969d2-_0x234d61,_0x5dc390);_0xd3e199&&(_0x2b04e4['chrome']&&0xd==_0x1bd413&&_0xd3e199['toB']==_0xd3e199['from']+0x2&&_0xe0548a['text']['slice'](_0xd3e199['from'],_0xd3e199['toB'])==_0x5bbfbb+_0x5bbfbb&&_0xd3e199['toB']--,_0x356b55={'from':_0x234d61+_0xd3e199['from'],'to':_0x234d61+_0xd3e199['toA'],'insert':Text['of'](_0xe0548a['text']['slice'](_0xd3e199['from'],_0xd3e199['toB'])['split'](_0x5bbfbb))});}else _0x114833&&(!_0x46f691['hasFocus']&&_0x46f691['state']['facet'](editable)||_0x114833['main']['eq'](_0xd7ea38))&&(_0x114833=null);if(!_0x356b55&&!_0x114833)return!0x1;if(!_0x356b55&&_0xe0548a['typeOver']&&!_0xd7ea38['empty']&&_0x114833&&_0x114833['main']['empty']?_0x356b55={'from':_0xd7ea38['from'],'to':_0xd7ea38['to'],'insert':_0x46f691['state']['doc']['slice'](_0xd7ea38['from'],_0xd7ea38['to'])}:(_0x2b04e4['mac']||_0x2b04e4['android'])&&_0x356b55&&_0x356b55['from']==_0x356b55['to']&&_0x356b55['from']==_0xd7ea38['head']-0x1&&/^\. ?$/['test'](_0x356b55['insert']['toString']())&&'off'==_0x46f691['contentDOM']['getAttribute']('autocorrect')?(_0x114833&&0x2==_0x356b55['insert']['length']&&(_0x114833=EditorSelection['single'](_0x114833['main']['anchor']-0x1,_0x114833['main']['head']-0x1)),_0x356b55={'from':_0x356b55['from'],'to':_0x356b55['to'],'insert':Text['of']([_0x356b55['insert']['toString']()['replace']('.','\x20')])}):_0x356b55&&_0x356b55['from']>=_0xd7ea38['from']&&_0x356b55['to']<=_0xd7ea38['to']&&(_0x356b55['from']!=_0xd7ea38['from']||_0x356b55['to']!=_0xd7ea38['to'])&&_0xd7ea38['to']-_0xd7ea38['from']-(_0x356b55['to']-_0x356b55['from'])<=0x4?_0x356b55={'from':_0xd7ea38['from'],'to':_0xd7ea38['to'],'insert':_0x46f691['state']['doc']['slice'](_0xd7ea38['from'],_0x356b55['from'])['append'](_0x356b55['insert'])['append'](_0x46f691['state']['doc']['slice'](_0x356b55['to'],_0xd7ea38['to']))}:_0x2b04e4['chrome']&&_0x356b55&&_0x356b55['from']==_0x356b55['to']&&_0x356b55['from']==_0xd7ea38['head']&&'\x0a\x20'==_0x356b55['insert']['toString']()&&_0x46f691['lineWrapping']&&(_0x114833&&(_0x114833=EditorSelection['single'](_0x114833['main']['anchor']-0x1,_0x114833['main']['head']-0x1)),_0x356b55={'from':_0xd7ea38['from'],'to':_0xd7ea38['to'],'insert':Text['of'](['\x20'])}),_0x356b55)return _0x5a3377(_0x46f691,_0x356b55,_0x114833,_0x1bd413);if(_0x114833&&!_0x114833['main']['eq'](_0xd7ea38)){let _0x5d75b9=!0x1,_0x8325eb='select';return _0x46f691['inputState']['lastSelectionTime']>Date['now']()-0x32&&('select'==_0x46f691['inputState']['lastSelectionOrigin']&&(_0x5d75b9=!0x0),_0x8325eb=_0x46f691['inputState']['lastSelectionOrigin'],'select.pointer'==_0x8325eb&&(_0x114833=skipAtomsForSelection(_0x46f691['state']['facet'](atomicRanges)['map'](_0x3b403b=>_0x3b403b(_0x46f691)),_0x114833))),_0x46f691['dispatch']({'selection':_0x114833,'scrollIntoView':_0x5d75b9,'userEvent':_0x8325eb}),!0x0;}return!0x1;}function _0x5a3377(_0x33050b,_0x4f88d5,_0x1a10f2,_0x16ada8=-0x1){if(_0x2b04e4['ios']&&_0x33050b['inputState']['flushIOSKey'](_0x4f88d5))return!0x0;let _0x5e6420=_0x33050b['state']['selection']['main'];if(_0x2b04e4['android']&&(_0x4f88d5['to']==_0x5e6420['to']&&(_0x4f88d5['from']==_0x5e6420['from']||_0x4f88d5['from']==_0x5e6420['from']-0x1&&'\x20'==_0x33050b['state']['sliceDoc'](_0x4f88d5['from'],_0x5e6420['from']))&&0x1==_0x4f88d5['insert']['length']&&0x2==_0x4f88d5['insert']['lines']&&dispatchKey(_0x33050b['contentDOM'],'Enter',0xd)||(_0x4f88d5['from']==_0x5e6420['from']-0x1&&_0x4f88d5['to']==_0x5e6420['to']&&0x0==_0x4f88d5['insert']['length']||0x8==_0x16ada8&&_0x4f88d5['insert']['length']<_0x4f88d5['to']-_0x4f88d5['from']&&_0x4f88d5['to']>_0x5e6420['head'])&&dispatchKey(_0x33050b['contentDOM'],'Backspace',0x8)||_0x4f88d5['from']==_0x5e6420['from']&&_0x4f88d5['to']==_0x5e6420['to']+0x1&&0x0==_0x4f88d5['insert']['length']&&dispatchKey(_0x33050b['contentDOM'],'Delete',0x2e)))return!0x0;let _0x11ef79,_0x246c40=_0x4f88d5['insert']['toString']();_0x33050b['inputState']['composing']>=0x0&&_0x33050b['inputState']['composing']++;let _0x384add=()=>_0x11ef79||(_0x11ef79=applyDefaultInsert(_0x33050b,_0x4f88d5,_0x1a10f2));return _0x33050b['state']['facet'](inputHandler$1)['some'](_0x5460ca=>_0x5460ca(_0x33050b,_0x4f88d5['from'],_0x4f88d5['to'],_0x246c40,_0x384add))||_0x33050b['dispatch'](_0x384add()),!0x0;}function applyDefaultInsert(_0x52ae80,_0x3aa467,_0x1d4a1c){let _0x92ab7e,_0x4e5ac3=_0x52ae80['state'],_0x168d7a=_0x4e5ac3['selection']['main'];if(_0x3aa467['from']>=_0x168d7a['from']&&_0x3aa467['to']<=_0x168d7a['to']&&_0x3aa467['to']-_0x3aa467['from']>=(_0x168d7a['to']-_0x168d7a['from'])/0x3&&(!_0x1d4a1c||_0x1d4a1c['main']['empty']&&_0x1d4a1c['main']['from']==_0x3aa467['from']+_0x3aa467['insert']['length'])&&_0x52ae80['inputState']['composing']<0x0){let _0x2b12d0=_0x168d7a['from']<_0x3aa467['from']?_0x4e5ac3['sliceDoc'](_0x168d7a['from'],_0x3aa467['from']):'',_0x26d361=_0x168d7a['to']>_0x3aa467['to']?_0x4e5ac3['sliceDoc'](_0x3aa467['to'],_0x168d7a['to']):'';_0x92ab7e=_0x4e5ac3['replaceSelection'](_0x52ae80['state']['toText'](_0x2b12d0+_0x3aa467['insert']['sliceString'](0x0,void 0x0,_0x52ae80['state']['lineBreak'])+_0x26d361));}else{let _0x27678d=_0x4e5ac3['changes'](_0x3aa467),_0x2d7340=_0x1d4a1c&&_0x1d4a1c['main']['to']<=_0x27678d['newLength']?_0x1d4a1c['main']:void 0x0;if(_0x4e5ac3['selection']['ranges']['length']>0x1&&_0x52ae80['inputState']['composing']>=0x0&&_0x3aa467['to']<=_0x168d7a['to']&&_0x3aa467['to']>=_0x168d7a['to']-0xa){let _0x42e14f,_0xa8558b=_0x52ae80['state']['sliceDoc'](_0x3aa467['from'],_0x3aa467['to']),_0x20f9e6=_0x1d4a1c&&findCompositionNode(_0x52ae80,_0x1d4a1c['main']['head']);if(_0x20f9e6){let _0x461bca=_0x3aa467['insert']['length']-(_0x3aa467['to']-_0x3aa467['from']);_0x42e14f={'from':_0x20f9e6['from'],'to':_0x20f9e6['to']-_0x461bca};}else _0x42e14f=_0x52ae80['state']['doc']['lineAt'](_0x168d7a['head']);let _0x29b9a9=_0x168d7a['to']-_0x3aa467['to'],_0x4c1be5=_0x168d7a['to']-_0x168d7a['from'];_0x92ab7e=_0x4e5ac3['changeByRange'](_0x8531f7=>{if(_0x8531f7['from']==_0x168d7a['from']&&_0x8531f7['to']==_0x168d7a['to'])return{'changes':_0x27678d,'range':_0x2d7340||_0x8531f7['map'](_0x27678d)};let _0x28f010=_0x8531f7['to']-_0x29b9a9,_0x56020c=_0x28f010-_0xa8558b['length'];if(_0x8531f7['to']-_0x8531f7['from']!=_0x4c1be5||_0x52ae80['state']['sliceDoc'](_0x56020c,_0x28f010)!=_0xa8558b||_0x8531f7['to']>=_0x42e14f['from']&&_0x8531f7['from']<=_0x42e14f['to'])return{'range':_0x8531f7};let _0x438123=_0x4e5ac3['changes']({'from':_0x56020c,'to':_0x28f010,'insert':_0x3aa467['insert']}),_0x4c4e40=_0x8531f7['to']-_0x168d7a['to'];return{'changes':_0x438123,'range':_0x2d7340?EditorSelection['range'](Math['max'](0x0,_0x2d7340['anchor']+_0x4c4e40),Math['max'](0x0,_0x2d7340['head']+_0x4c4e40)):_0x8531f7['map'](_0x438123)};});}else _0x92ab7e={'changes':_0x27678d,'selection':_0x2d7340&&_0x4e5ac3['selection']['replaceRange'](_0x2d7340)};}let _0x439ad7='input.type';return(_0x52ae80['composing']||_0x52ae80['inputState']['compositionPendingChange']&&_0x52ae80['inputState']['compositionEndedAt']>Date['now']()-0x32)&&(_0x52ae80['inputState']['compositionPendingChange']=!0x1,_0x439ad7+='.compose',_0x52ae80['inputState']['compositionFirstChange']&&(_0x439ad7+='.start',_0x52ae80['inputState']['compositionFirstChange']=!0x1)),_0x4e5ac3['update'](_0x92ab7e,{'userEvent':_0x439ad7,'scrollIntoView':!0x0});}function _0x589c49(_0x2b0331,_0x5035bf,_0x33c980,_0x4bddba){let _0x3ba1bd=Math['min'](_0x2b0331['length'],_0x5035bf['length']),_0x55c173=0x0;for(;_0x55c173<_0x3ba1bd&&_0x2b0331['charCodeAt'](_0x55c173)==_0x5035bf['charCodeAt'](_0x55c173);)_0x55c173++;if(_0x55c173==_0x3ba1bd&&_0x2b0331['length']==_0x5035bf['length'])return null;let _0x430b50=_0x2b0331['length'],_0x1cca98=_0x5035bf['length'];for(;_0x430b50>0x0&&_0x1cca98>0x0&&_0x2b0331['charCodeAt'](_0x430b50-0x1)==_0x5035bf['charCodeAt'](_0x1cca98-0x1);)_0x430b50--,_0x1cca98--;'end'==_0x4bddba&&(_0x33c980-=_0x430b50+Math['max'](0x0,_0x55c173-Math['min'](_0x430b50,_0x1cca98))-_0x55c173);if(_0x430b50<_0x55c173&&_0x2b0331['length']<_0x5035bf['length'])_0x55c173-=_0x33c980<=_0x55c173&&_0x33c980>=_0x430b50?_0x55c173-_0x33c980:0x0,_0x1cca98=_0x55c173+(_0x1cca98-_0x430b50),_0x430b50=_0x55c173;else _0x1cca98<_0x55c173&&(_0x55c173-=_0x33c980<=_0x55c173&&_0x33c980>=_0x1cca98?_0x55c173-_0x33c980:0x0,_0x430b50=_0x55c173+(_0x430b50-_0x1cca98),_0x1cca98=_0x55c173);return{'from':_0x55c173,'toA':_0x430b50,'toB':_0x1cca98};}function selectionPoints(_0x13b59d){let _0x4f13b2=[];if(_0x13b59d['root']['activeElement']!=_0x13b59d['contentDOM'])return _0x4f13b2;let {anchorNode:_0x45ccda,anchorOffset:_0x547957,focusNode:_0x45bfc4,focusOffset:_0x4a6c66}=_0x13b59d['observer']['selectionRange'];return _0x45ccda&&(_0x4f13b2['push'](new DOMPoint(_0x45ccda,_0x547957)),_0x45bfc4==_0x45ccda&&_0x4a6c66==_0x547957||_0x4f13b2['push'](new DOMPoint(_0x45bfc4,_0x4a6c66))),_0x4f13b2;}function selectionFromPoints(_0x5f521d,_0x96ff0d){if(0x0==_0x5f521d['length'])return null;let _0x395ab3=_0x5f521d[0x0]['pos'],_0x4e3b7a=0x2==_0x5f521d['length']?_0x5f521d[0x1]['pos']:_0x395ab3;return _0x395ab3>-0x1&&_0x4e3b7a>-0x1?EditorSelection['single'](_0x395ab3+_0x96ff0d,_0x4e3b7a+_0x96ff0d):null;}class InputState{['setSelectionOrigin'](_0x2c2926){this['lastSelectionOrigin']=_0x2c2926,this['lastSelectionTime']=Date['now']();}constructor(_0x21cc10){this['view']=_0x21cc10,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']=_0x21cc10['hasFocus'],_0x2b04e4['safari']&&_0x21cc10['contentDOM']['addEventListener']('input',()=>null),_0x2b04e4['gecko']&&firefoxCopyCutHack(_0x21cc10['contentDOM']['ownerDocument']);}['handleEvent'](_0x1deb6f){eventBelongsToEditor(this['view'],_0x1deb6f)&&!this['ignoreDuringComposition'](_0x1deb6f)&&('keydown'==_0x1deb6f['type']&&this['keydown'](_0x1deb6f)||(0x0!=this['view']['updateState']?Promise['resolve']()['then'](()=>this['runHandlers'](_0x1deb6f['type'],_0x1deb6f)):this['runHandlers'](_0x1deb6f['type'],_0x1deb6f)));}['runHandlers'](_0x3722d8,_0x1dc16f){let _0x47d254=this['handlers'][_0x3722d8];if(_0x47d254){for(let _0x52ba1b of _0x47d254['observers'])_0x52ba1b(this['view'],_0x1dc16f);for(let _0x51931b of _0x47d254['handlers']){if(_0x1dc16f['defaultPrevented'])break;if(_0x51931b(this['view'],_0x1dc16f)){_0x1dc16f['preventDefault']();break;}}}}['ensureHandlers'](_0x3c8aec){let _0x2e79cc=computeHandlers(_0x3c8aec),_0x4f3f30=this['handlers'],_0x2f6178=this['view']['contentDOM'];for(let _0x3b5b0f in _0x2e79cc)if('scroll'!=_0x3b5b0f){let _0x443387=!_0x2e79cc[_0x3b5b0f]['handlers']['length'],_0x3d6dfa=_0x4f3f30[_0x3b5b0f];_0x3d6dfa&&_0x443387!=!_0x3d6dfa['handlers']['length']&&(_0x2f6178['removeEventListener'](_0x3b5b0f,this['handleEvent']),_0x3d6dfa=null),_0x3d6dfa||_0x2f6178['addEventListener'](_0x3b5b0f,this['handleEvent'],{'passive':_0x443387});}for(let _0x52ca89 in _0x4f3f30)'scroll'==_0x52ca89||_0x2e79cc[_0x52ca89]||_0x2f6178['removeEventListener'](_0x52ca89,this['handleEvent']);this['handlers']=_0x2e79cc;}['keydown'](_0x2a2cba){if(this['lastKeyCode']=_0x2a2cba['keyCode'],this['lastKeyTime']=Date['now'](),0x9==_0x2a2cba['keyCode']&&this['tabFocusMode']>-0x1&&(!this['tabFocusMode']||Date['now']()<=this['tabFocusMode']))return!0x0;if(this['tabFocusMode']>0x0&&0x1b!=_0x2a2cba['keyCode']&&_0x5b1089['indexOf'](_0x2a2cba['keyCode'])<0x0&&(this['tabFocusMode']=-0x1),_0x2b04e4['android']&&_0x2b04e4['chrome']&&!_0x2a2cba['synthetic']&&(0xd==_0x2a2cba['keyCode']||0x8==_0x2a2cba['keyCode']))return this['view']['observer']['delayAndroidKey'](_0x2a2cba['key'],_0x2a2cba['keyCode']),!0x0;let _0x3c54fe;return!_0x2b04e4['ios']||_0x2a2cba['synthetic']||_0x2a2cba['altKey']||_0x2a2cba['metaKey']||!((_0x3c54fe=_0x54d9e1['find'](_0x255602=>_0x255602['keyCode']==_0x2a2cba['keyCode']))&&!_0x2a2cba['ctrlKey']||_0x10d553['indexOf'](_0x2a2cba['key'])>-0x1&&_0x2a2cba['ctrlKey']&&!_0x2a2cba['shiftKey'])?(0xe5!=_0x2a2cba['keyCode']&&this['view']['observer']['forceFlush'](),!0x1):(this['pendingIOSKey']=_0x3c54fe||_0x2a2cba,setTimeout(()=>this['flushIOSKey'](),0xfa),!0x0);}['flushIOSKey'](_0x1d3116){let _0x326c66=this['pendingIOSKey'];return!!_0x326c66&&(!('Enter'==_0x326c66['key']&&_0x1d3116&&_0x1d3116['from']<_0x1d3116['to']&&/^\S+$/['test'](_0x1d3116['insert']['toString']()))&&(this['pendingIOSKey']=void 0x0,dispatchKey(this['view']['contentDOM'],_0x326c66['key'],_0x326c66['keyCode'],_0x326c66 instanceof KeyboardEvent?_0x326c66:void 0x0)));}['ignoreDuringComposition'](_0x19d54e){return!!/^key/['test'](_0x19d54e['type'])&&(this['composing']>0x0||!!(_0x2b04e4['safari']&&!_0x2b04e4['ios']&&this['compositionPendingKey']&&Date['now']()-this['compositionEndedAt']<0x64)&&(this['compositionPendingKey']=!0x1,!0x0));}['startMouseSelection'](_0x219a25){this['mouseSelection']&&this['mouseSelection']['destroy'](),this['mouseSelection']=_0x219a25;}['update'](_0x3ad230){this['view']['observer']['update'](_0x3ad230),this['mouseSelection']&&this['mouseSelection']['update'](_0x3ad230),this['draggedContent']&&_0x3ad230['docChanged']&&(this['draggedContent']=this['draggedContent']['map'](_0x3ad230['changes'])),_0x3ad230['transactions']['length']&&(this['lastKeyCode']=this['lastSelectionTime']=0x0);}['destroy'](){this['mouseSelection']&&this['mouseSelection']['destroy']();}}function _0x2be8ce(_0x4a6294,_0x422ee7){return(_0x2a6940,_0x4aaa8c)=>{try{return _0x422ee7['call'](_0x4a6294,_0x4aaa8c,_0x2a6940);}catch(_0x1f6a7f){logException(_0x2a6940['state'],_0x1f6a7f);}};}function computeHandlers(_0x13672e){let _0x2343a1=Object['create'](null);function _0xbecadb(_0x3cba49){return _0x2343a1[_0x3cba49]||(_0x2343a1[_0x3cba49]={'observers':[],'handlers':[]});}for(let _0x999f73 of _0x13672e){let _0x2f854c=_0x999f73['spec'],_0x28bbcb=_0x2f854c&&_0x2f854c['plugin']['domEventHandlers'],_0x2ec5cb=_0x2f854c&&_0x2f854c['plugin']['domEventObservers'];if(_0x28bbcb)for(let _0x49883b in _0x28bbcb){let _0x8e4455=_0x28bbcb[_0x49883b];_0x8e4455&&_0xbecadb(_0x49883b)['handlers']['push'](_0x2be8ce(_0x999f73['value'],_0x8e4455));}if(_0x2ec5cb)for(let _0x1f72c4 in _0x2ec5cb){let _0x10f652=_0x2ec5cb[_0x1f72c4];_0x10f652&&_0xbecadb(_0x1f72c4)['observers']['push'](_0x2be8ce(_0x999f73['value'],_0x10f652));}}for(let _0xd2e037 in _0x12e976)_0xbecadb(_0xd2e037)['handlers']['push'](_0x12e976[_0xd2e037]);for(let _0x596e0a in _0x40e786)_0xbecadb(_0x596e0a)['observers']['push'](_0x40e786[_0x596e0a]);return _0x2343a1;}const _0x54d9e1=[{'key':'Backspace','keyCode':0x8,'inputType':'deleteContentBackward'},{'key':'Enter','keyCode':0xd,'inputType':'insertParagraph'},{'key':'Enter','keyCode':0xd,'inputType':'insertLineBreak'},{'key':'Delete','keyCode':0x2e,'inputType':'deleteContentForward'}],_0x10d553='dthko',_0x5b1089=[0x10,0x11,0x12,0x14,0x5b,0x5c,0xe0,0xe1],_0x15f78d=0x6;function _0xc61c6b(_0x3880be){return 0.7*Math['max'](0x0,_0x3880be)+0x8;}function dist(_0x1e2d85,_0x37bac8){return Math['max'](Math['abs'](_0x1e2d85['clientX']-_0x37bac8['clientX']),Math['abs'](_0x1e2d85['clientY']-_0x37bac8['clientY']));}class MouseSelection{constructor(_0x3451dc,_0x61c025,_0x4e3076,_0x5d722a){this['view']=_0x3451dc,this['startEvent']=_0x61c025,this['style']=_0x4e3076,this['mustSelect']=_0x5d722a,this['scrollSpeed']={'x':0x0,'y':0x0},this['scrolling']=-0x1,this['lastEvent']=_0x61c025,this['scrollParents']=scrollableParents(_0x3451dc['contentDOM']),this['atoms']=_0x3451dc['state']['facet'](atomicRanges)['map'](_0x39ac21=>_0x39ac21(_0x3451dc));let _0x3fce26=_0x3451dc['contentDOM']['ownerDocument'];_0x3fce26['addEventListener']('mousemove',this['move']=this['move']['bind'](this)),_0x3fce26['addEventListener']('mouseup',this['up']=this['up']['bind'](this)),this['extend']=_0x61c025['shiftKey'],this['multiple']=_0x3451dc['state']['facet'](EditorState['allowMultipleSelections'])&&addsSelectionRange(_0x3451dc,_0x61c025),this['dragging']=!(!isInPrimarySelection(_0x3451dc,_0x61c025)||0x1!=getClickType(_0x61c025))&&null;}['start'](_0x55539d){!0x1===this['dragging']&&this['select'](_0x55539d);}['move'](_0x41250e){if(0x0==_0x41250e['buttons'])return this['destroy']();if(this['dragging']||null==this['dragging']&&dist(this['startEvent'],_0x41250e)<0xa)return;this['select'](this['lastEvent']=_0x41250e);let _0x130d4b=0x0,_0x442c28=0x0,_0x519866=0x0,_0xd3df5e=0x0,_0x28fec4=this['view']['win']['innerWidth'],_0x50152c=this['view']['win']['innerHeight'];this['scrollParents']['x']&&({left:_0x519866,right:_0x28fec4}=this['scrollParents']['x']['getBoundingClientRect']()),this['scrollParents']['y']&&({top:_0xd3df5e,bottom:_0x50152c}=this['scrollParents']['y']['getBoundingClientRect']());let _0x296321=getScrollMargins(this['view']);_0x41250e['clientX']-_0x296321['left']<=_0x519866+_0x15f78d?_0x130d4b=-_0xc61c6b(_0x519866-_0x41250e['clientX']):_0x41250e['clientX']+_0x296321['right']>=_0x28fec4-_0x15f78d&&(_0x130d4b=_0xc61c6b(_0x41250e['clientX']-_0x28fec4)),_0x41250e['clientY']-_0x296321['top']<=_0xd3df5e+_0x15f78d?_0x442c28=-_0xc61c6b(_0xd3df5e-_0x41250e['clientY']):_0x41250e['clientY']+_0x296321['bottom']>=_0x50152c-_0x15f78d&&(_0x442c28=_0xc61c6b(_0x41250e['clientY']-_0x50152c)),this['setScrollSpeed'](_0x130d4b,_0x442c28);}['up'](_0x362f22){null==this['dragging']&&this['select'](this['lastEvent']),this['dragging']||_0x362f22['preventDefault'](),this['destroy']();}['destroy'](){this['setScrollSpeed'](0x0,0x0);let _0x428f8e=this['view']['contentDOM']['ownerDocument'];_0x428f8e['removeEventListener']('mousemove',this['move']),_0x428f8e['removeEventListener']('mouseup',this['up']),this['view']['inputState']['mouseSelection']=this['view']['inputState']['draggedContent']=null;}['setScrollSpeed'](_0x9ae46a,_0xa65666){this['scrollSpeed']={'x':_0x9ae46a,'y':_0xa65666},_0x9ae46a||_0xa65666?this['scrolling']<0x0&&(this['scrolling']=setInterval(()=>this['scroll'](),0x32)):this['scrolling']>-0x1&&(clearInterval(this['scrolling']),this['scrolling']=-0x1);}['scroll'](){let {x:_0x5dbd19,y:_0x7dbd23}=this['scrollSpeed'];_0x5dbd19&&this['scrollParents']['x']&&(this['scrollParents']['x']['scrollLeft']+=_0x5dbd19,_0x5dbd19=0x0),_0x7dbd23&&this['scrollParents']['y']&&(this['scrollParents']['y']['scrollTop']+=_0x7dbd23,_0x7dbd23=0x0),(_0x5dbd19||_0x7dbd23)&&this['view']['win']['scrollBy'](_0x5dbd19,_0x7dbd23),!0x1===this['dragging']&&this['select'](this['lastEvent']);}['select'](_0x10e5a2){let {view:_0x141e5d}=this,_0x3a555b=skipAtomsForSelection(this['atoms'],this['style']['get'](_0x10e5a2,this['extend'],this['multiple']));!this['mustSelect']&&_0x3a555b['eq'](_0x141e5d['state']['selection'],!0x1===this['dragging'])||this['view']['dispatch']({'selection':_0x3a555b,'userEvent':'select.pointer'}),this['mustSelect']=!0x1;}['update'](_0x3aa9fc){_0x3aa9fc['transactions']['some'](_0x121efa=>_0x121efa['isUserEvent']('input.type'))?this['destroy']():this['style']['update'](_0x3aa9fc)&&setTimeout(()=>this['select'](this['lastEvent']),0x14);}}function addsSelectionRange(_0x48563d,_0x351d77){let _0x2f203b=_0x48563d['state']['facet'](clickAddsSelectionRange);return _0x2f203b['length']?_0x2f203b[0x0](_0x351d77):_0x2b04e4['mac']?_0x351d77['metaKey']:_0x351d77['ctrlKey'];}function dragMovesSelection(_0x5f2bd4,_0x1126a2){let _0x5f5d3b=_0x5f2bd4['state']['facet'](dragMovesSelection$1);return _0x5f5d3b['length']?_0x5f5d3b[0x0](_0x1126a2):_0x2b04e4['mac']?!_0x1126a2['altKey']:!_0x1126a2['ctrlKey'];}function isInPrimarySelection(_0x13e00f,_0x441c05){let {main:_0x5578ca}=_0x13e00f['state']['selection'];if(_0x5578ca['empty'])return!0x1;let _0x185386=getSelection(_0x13e00f['root']);if(!_0x185386||0x0==_0x185386['rangeCount'])return!0x0;let _0x3c50da=_0x185386['getRangeAt'](0x0)['getClientRects']();for(let _0x3c8f4f=0x0;_0x3c8f4f<_0x3c50da['length'];_0x3c8f4f++){let _0x23d49e=_0x3c50da[_0x3c8f4f];if(_0x23d49e['left']<=_0x441c05['clientX']&&_0x23d49e['right']>=_0x441c05['clientX']&&_0x23d49e['top']<=_0x441c05['clientY']&&_0x23d49e['bottom']>=_0x441c05['clientY'])return!0x0;}return!0x1;}function eventBelongsToEditor(_0x33d97c,_0x5b791a){if(!_0x5b791a['bubbles'])return!0x0;if(_0x5b791a['defaultPrevented'])return!0x1;for(let _0x155e9e,_0x487d3d=_0x5b791a['target'];_0x487d3d!=_0x33d97c['contentDOM'];_0x487d3d=_0x487d3d['parentNode'])if(!_0x487d3d||0xb==_0x487d3d['nodeType']||(_0x155e9e=ContentView['get'](_0x487d3d))&&_0x155e9e['ignoreEvent'](_0x5b791a))return!0x1;return!0x0;}const _0x12e976=Object['create'](null),_0x40e786=Object['create'](null),_0x334b8b=_0x2b04e4['ie']&&_0x2b04e4['ie_version']<0xf||_0x2b04e4['ios']&&_0x2b04e4['webkit_version']<0x25c;function capturePaste(_0x25fbc7){let _0xe3a984=_0x25fbc7['dom']['parentNode'];if(!_0xe3a984)return;let _0x5a5c74=_0xe3a984['appendChild'](document['createElement']('textarea'));_0x5a5c74['style']['cssText']='position:\x20fixed;\x20left:\x20-10000px;\x20top:\x2010px',_0x5a5c74['focus'](),setTimeout(()=>{_0x25fbc7['focus'](),_0x5a5c74['remove'](),doPaste(_0x25fbc7,_0x5a5c74['value']);},0x32);}function textFilter(_0x572aab,_0xe81929,_0x256f88){for(let _0x2b8f49 of _0x572aab['facet'](_0xe81929))_0x256f88=_0x2b8f49(_0x256f88,_0x572aab);return _0x256f88;}function doPaste(_0x480e51,_0x2c91ee){_0x2c91ee=textFilter(_0x480e51['state'],clipboardInputFilter,_0x2c91ee);let _0x31144a,{state:_0x51d56a}=_0x480e51,_0x5894cd=0x1,_0x3eeed6=_0x51d56a['toText'](_0x2c91ee),_0x2985bb=_0x3eeed6['lines']==_0x51d56a['selection']['ranges']['length'],_0x1e601c=null!=lastLinewiseCopy&&_0x51d56a['selection']['ranges']['every'](_0x1b6017=>_0x1b6017['empty'])&&lastLinewiseCopy==_0x3eeed6['toString']();if(_0x1e601c){let _0x1e6590=-0x1;_0x31144a=_0x51d56a['changeByRange'](_0x36ed52=>{let _0x2729f2=_0x51d56a['doc']['lineAt'](_0x36ed52['from']);if(_0x2729f2['from']==_0x1e6590)return{'range':_0x36ed52};_0x1e6590=_0x2729f2['from'];let _0x5a571b=_0x51d56a['toText']((_0x2985bb?_0x3eeed6['line'](_0x5894cd++)['text']:_0x2c91ee)+_0x51d56a['lineBreak']);return{'changes':{'from':_0x2729f2['from'],'insert':_0x5a571b},'range':EditorSelection['cursor'](_0x36ed52['from']+_0x5a571b['length'])};});}else _0x31144a=_0x2985bb?_0x51d56a['changeByRange'](_0x59815d=>{let _0x128958=_0x3eeed6['line'](_0x5894cd++);return{'changes':{'from':_0x59815d['from'],'to':_0x59815d['to'],'insert':_0x128958['text']},'range':EditorSelection['cursor'](_0x59815d['from']+_0x128958['length'])};}):_0x51d56a['replaceSelection'](_0x3eeed6);_0x480e51['dispatch'](_0x31144a,{'userEvent':'input.paste','scrollIntoView':!0x0});}function _0x33d310(_0x536707,_0x1feb4f,_0x11ae39,_0x14f342){if(0x1==_0x14f342)return EditorSelection['cursor'](_0x1feb4f,_0x11ae39);if(0x2==_0x14f342)return groupAt(_0x536707['state'],_0x1feb4f,_0x11ae39);{let _0x2f3762=_0x288d86['find'](_0x536707['docView'],_0x1feb4f),_0x11ccf3=_0x536707['state']['doc']['lineAt'](_0x2f3762?_0x2f3762['posAtEnd']:_0x1feb4f),_0x56dff9=_0x2f3762?_0x2f3762['posAtStart']:_0x11ccf3['from'],_0x4488d6=_0x2f3762?_0x2f3762['posAtEnd']:_0x11ccf3['to'];return _0x4488d6<_0x536707['state']['doc']['length']&&_0x4488d6==_0x11ccf3['to']&&_0x4488d6++,EditorSelection['range'](_0x56dff9,_0x4488d6);}}_0x40e786['scroll']=_0x4bd95f=>{_0x4bd95f['inputState']['lastScrollTop']=_0x4bd95f['scrollDOM']['scrollTop'],_0x4bd95f['inputState']['lastScrollLeft']=_0x4bd95f['scrollDOM']['scrollLeft'];},_0x12e976['keydown']=(_0x34100d,_0x4989b4)=>(_0x34100d['inputState']['setSelectionOrigin']('select'),0x1b==_0x4989b4['keyCode']&&0x0!=_0x34100d['inputState']['tabFocusMode']&&(_0x34100d['inputState']['tabFocusMode']=Date['now']()+0x7d0),!0x1),_0x40e786['touchstart']=(_0x2a55c6,_0x357884)=>{_0x2a55c6['inputState']['lastTouchTime']=Date['now'](),_0x2a55c6['inputState']['setSelectionOrigin']('select.pointer');},_0x40e786['touchmove']=_0x1ed7bf=>{_0x1ed7bf['inputState']['setSelectionOrigin']('select.pointer');},_0x12e976['mousedown']=(_0x530bda,_0xc7c5d5)=>{if(_0x530bda['observer']['flush'](),_0x530bda['inputState']['lastTouchTime']>Date['now']()-0x7d0)return!0x1;let _0x5bd830=null;for(let _0x18fa82 of _0x530bda['state']['facet'](mouseSelectionStyle))if(_0x5bd830=_0x18fa82(_0x530bda,_0xc7c5d5),_0x5bd830)break;if(_0x5bd830||0x0!=_0xc7c5d5['button']||(_0x5bd830=basicMouseSelection(_0x530bda,_0xc7c5d5)),_0x5bd830){let _0x16ec85=!_0x530bda['hasFocus'];_0x530bda['inputState']['startMouseSelection'](new MouseSelection(_0x530bda,_0xc7c5d5,_0x5bd830,_0x16ec85)),_0x16ec85&&_0x530bda['observer']['ignore'](()=>{focusPreventScroll(_0x530bda['contentDOM']);let _0x2452c9=_0x530bda['root']['activeElement'];_0x2452c9&&!_0x2452c9['contains'](_0x530bda['contentDOM'])&&_0x2452c9['blur']();});let _0x4a1d38=_0x530bda['inputState']['mouseSelection'];if(_0x4a1d38)return _0x4a1d38['start'](_0xc7c5d5),!0x1===_0x4a1d38['dragging'];}else _0x530bda['inputState']['setSelectionOrigin']('select.pointer');return!0x1;};let _0x16a7f7=(_0x442204,_0x4b955a,_0x2ecfda)=>_0x4b955a>=_0x2ecfda['top']&&_0x4b955a<=_0x2ecfda['bottom']&&_0x442204>=_0x2ecfda['left']&&_0x442204<=_0x2ecfda['right'];function findPositionSide(_0x5deda9,_0x1d7e40,_0x30f9bf,_0xff7781){let _0x4a91e2=_0x288d86['find'](_0x5deda9['docView'],_0x1d7e40);if(!_0x4a91e2)return 0x1;let _0x551858=_0x1d7e40-_0x4a91e2['posAtStart'];if(0x0==_0x551858)return 0x1;if(_0x551858==_0x4a91e2['length'])return-0x1;let _0x523e9b=_0x4a91e2['coordsAt'](_0x551858,-0x1);if(_0x523e9b&&_0x16a7f7(_0x30f9bf,_0xff7781,_0x523e9b))return-0x1;let _0x331dc5=_0x4a91e2['coordsAt'](_0x551858,0x1);return _0x331dc5&&_0x16a7f7(_0x30f9bf,_0xff7781,_0x331dc5)?0x1:_0x523e9b&&_0x523e9b['bottom']>=_0xff7781?-0x1:0x1;}function _0x4026d5(_0x1a93ec,_0x11f1f3){let _0x55fb5e=_0x1a93ec['posAtCoords']({'x':_0x11f1f3['clientX'],'y':_0x11f1f3['clientY']},!0x1);return{'pos':_0x55fb5e,'bias':findPositionSide(_0x1a93ec,_0x55fb5e,_0x11f1f3['clientX'],_0x11f1f3['clientY'])};}const BadMouseDetail=_0x2b04e4['ie']&&_0x2b04e4['ie_version']<=0xb;let lastMouseDown=null,lastMouseDownCount=0x0,lastMouseDownTime=0x0;function getClickType(_0x46fa1f){if(!BadMouseDetail)return _0x46fa1f['detail'];let _0x22789c=lastMouseDown,_0x48912c=lastMouseDownTime;return lastMouseDown=_0x46fa1f,lastMouseDownTime=Date['now'](),lastMouseDownCount=!_0x22789c||_0x48912c>Date['now']()-0x190&&Math['abs'](_0x22789c['clientX']-_0x46fa1f['clientX'])<0x2&&Math['abs'](_0x22789c['clientY']-_0x46fa1f['clientY'])<0x2?(lastMouseDownCount+0x1)%0x3:0x1;}function basicMouseSelection(_0x60d627,_0x5c0f7f){let _0x2e2306=_0x4026d5(_0x60d627,_0x5c0f7f),_0x1d628f=getClickType(_0x5c0f7f),_0x208bf9=_0x60d627['state']['selection'];return{'update'(_0x43d19d){_0x43d19d['docChanged']&&(_0x2e2306['pos']=_0x43d19d['changes']['mapPos'](_0x2e2306['pos']),_0x208bf9=_0x208bf9['map'](_0x43d19d['changes']));},'get'(_0x15800e,_0x574e52,_0x5a09bf){let _0x52bdfc,_0x2f3980=_0x4026d5(_0x60d627,_0x15800e),_0x402181=_0x33d310(_0x60d627,_0x2f3980['pos'],_0x2f3980['bias'],_0x1d628f);if(_0x2e2306['pos']!=_0x2f3980['pos']&&!_0x574e52){let _0x343e26=_0x33d310(_0x60d627,_0x2e2306['pos'],_0x2e2306['bias'],_0x1d628f),_0x325eea=Math['min'](_0x343e26['from'],_0x402181['from']),_0x4af18e=Math['max'](_0x343e26['to'],_0x402181['to']);_0x402181=_0x325eea<_0x402181['from']?EditorSelection['range'](_0x325eea,_0x4af18e):EditorSelection['range'](_0x4af18e,_0x325eea);}return _0x574e52?_0x208bf9['replaceRange'](_0x208bf9['main']['extend'](_0x402181['from'],_0x402181['to'])):_0x5a09bf&&0x1==_0x1d628f&&_0x208bf9['ranges']['length']>0x1&&(_0x52bdfc=_0x42497b(_0x208bf9,_0x2f3980['pos']))?_0x52bdfc:_0x5a09bf?_0x208bf9['addRange'](_0x402181):EditorSelection['create']([_0x402181]);}};}function _0x42497b(_0x243249,_0x3b8088){for(let _0x260d53=0x0;_0x260d53<_0x243249['ranges']['length'];_0x260d53++){let {from:_0x54e056,to:_0x14f034}=_0x243249['ranges'][_0x260d53];if(_0x54e056<=_0x3b8088&&_0x14f034>=_0x3b8088)return EditorSelection['create'](_0x243249['ranges']['slice'](0x0,_0x260d53)['concat'](_0x243249['ranges']['slice'](_0x260d53+0x1)),_0x243249['mainIndex']==_0x260d53?0x0:_0x243249['mainIndex']-(_0x243249['mainIndex']>_0x260d53?0x1:0x0));}return null;}function dropText(_0x3c5c87,_0xe03d59,_0x9b7799,_0x347aa8){if(!(_0x9b7799=textFilter(_0x3c5c87['state'],clipboardInputFilter,_0x9b7799)))return;let _0x933f17=_0x3c5c87['posAtCoords']({'x':_0xe03d59['clientX'],'y':_0xe03d59['clientY']},!0x1),{draggedContent:_0x188446}=_0x3c5c87['inputState'],_0x2291e9=_0x347aa8&&_0x188446&&dragMovesSelection(_0x3c5c87,_0xe03d59)?{'from':_0x188446['from'],'to':_0x188446['to']}:null,_0x41dd62={'from':_0x933f17,'insert':_0x9b7799},_0x2561fe=_0x3c5c87['state']['changes'](_0x2291e9?[_0x2291e9,_0x41dd62]:_0x41dd62);_0x3c5c87['focus'](),_0x3c5c87['dispatch']({'changes':_0x2561fe,'selection':{'anchor':_0x2561fe['mapPos'](_0x933f17,-0x1),'head':_0x2561fe['mapPos'](_0x933f17,0x1)},'userEvent':_0x2291e9?'move.drop':'input.drop'}),_0x3c5c87['inputState']['draggedContent']=null;}function captureCopy(_0x593592,_0x2de21e){let _0x16f814=_0x593592['dom']['parentNode'];if(!_0x16f814)return;let _0x5ee89f=_0x16f814['appendChild'](document['createElement']('textarea'));_0x5ee89f['style']['cssText']='position:\x20fixed;\x20left:\x20-10000px;\x20top:\x2010px',_0x5ee89f['value']=_0x2de21e,_0x5ee89f['focus'](),_0x5ee89f['selectionEnd']=_0x2de21e['length'],_0x5ee89f['selectionStart']=0x0,setTimeout(()=>{_0x5ee89f['remove'](),_0x593592['focus']();},0x32);}function _0x417366(_0x2557fe){let _0x39a119=[],_0x15076a=[],_0x2283f0=!0x1;for(let _0x500956 of _0x2557fe['selection']['ranges'])_0x500956['empty']||(_0x39a119['push'](_0x2557fe['sliceDoc'](_0x500956['from'],_0x500956['to'])),_0x15076a['push'](_0x500956));if(!_0x39a119['length']){let _0x4ecd1e=-0x1;for(let {from:_0x56c442}of _0x2557fe['selection']['ranges']){let _0x137ffa=_0x2557fe['doc']['lineAt'](_0x56c442);_0x137ffa['number']>_0x4ecd1e&&(_0x39a119['push'](_0x137ffa['text']),_0x15076a['push']({'from':_0x137ffa['from'],'to':Math['min'](_0x2557fe['doc']['length'],_0x137ffa['to']+0x1)})),_0x4ecd1e=_0x137ffa['number'];}_0x2283f0=!0x0;}return{'text':textFilter(_0x2557fe,clipboardOutputFilter,_0x39a119['join'](_0x2557fe['lineBreak'])),'ranges':_0x15076a,'linewise':_0x2283f0};}_0x12e976['dragstart']=(_0xd054e6,_0x7ccc41)=>{let {selection:{main:_0x3abd26}}=_0xd054e6['state'];if(_0x7ccc41['target']['draggable']){let _0x5b0ae7=_0xd054e6['docView']['nearest'](_0x7ccc41['target']);if(_0x5b0ae7&&_0x5b0ae7['isWidget']){let _0x5b1464=_0x5b0ae7['posAtStart'],_0x34d3e6=_0x5b1464+_0x5b0ae7['length'];(_0x5b1464>=_0x3abd26['to']||_0x34d3e6<=_0x3abd26['from'])&&(_0x3abd26=EditorSelection['range'](_0x5b1464,_0x34d3e6));}}let {inputState:_0x20a76d}=_0xd054e6;return _0x20a76d['mouseSelection']&&(_0x20a76d['mouseSelection']['dragging']=!0x0),_0x20a76d['draggedContent']=_0x3abd26,_0x7ccc41['dataTransfer']&&(_0x7ccc41['dataTransfer']['setData']('Text',textFilter(_0xd054e6['state'],clipboardOutputFilter,_0xd054e6['state']['sliceDoc'](_0x3abd26['from'],_0x3abd26['to']))),_0x7ccc41['dataTransfer']['effectAllowed']='copyMove'),!0x1;},_0x12e976['dragend']=_0x52e2d1=>(_0x52e2d1['inputState']['draggedContent']=null,!0x1),_0x12e976['drop']=(_0x3e448f,_0x4a36dd)=>{if(!_0x4a36dd['dataTransfer'])return!0x1;if(_0x3e448f['state']['readOnly'])return!0x0;let _0x49d7ce=_0x4a36dd['dataTransfer']['files'];if(_0x49d7ce&&_0x49d7ce['length']){let _0x2a0ac2=Array(_0x49d7ce['length']),_0x140e72=0x0,_0x4143d8=()=>{++_0x140e72==_0x49d7ce['length']&&dropText(_0x3e448f,_0x4a36dd,_0x2a0ac2['filter'](_0x4ee114=>null!=_0x4ee114)['join'](_0x3e448f['state']['lineBreak']),!0x1);};for(let _0x1c867f=0x0;_0x1c867f<_0x49d7ce['length'];_0x1c867f++){let _0x5bc76a=new FileReader();_0x5bc76a['onerror']=_0x4143d8,_0x5bc76a['onload']=()=>{/[\x00-\x08\x0e-\x1f]{2}/['test'](_0x5bc76a['result'])||(_0x2a0ac2[_0x1c867f]=_0x5bc76a['result']),_0x4143d8();},_0x5bc76a['readAsText'](_0x49d7ce[_0x1c867f]);}return!0x0;}{let _0x241350=_0x4a36dd['dataTransfer']['getData']('Text');if(_0x241350)return dropText(_0x3e448f,_0x4a36dd,_0x241350,!0x0),!0x0;}return!0x1;},_0x12e976['paste']=(_0x143b01,_0x403aab)=>{if(_0x143b01['state']['readOnly'])return!0x0;_0x143b01['observer']['flush']();let _0x5a9322=_0x334b8b?null:_0x403aab['clipboardData'];return _0x5a9322?(doPaste(_0x143b01,_0x5a9322['getData']('text/plain')||_0x5a9322['getData']('text/uri-list')),!0x0):(capturePaste(_0x143b01),!0x1);};let lastLinewiseCopy=null;_0x12e976['copy']=_0x12e976['cut']=(_0x1da645,_0x51ad27)=>{let {text:_0x2bff72,ranges:_0x981fb3,linewise:_0x54cc1a}=_0x417366(_0x1da645['state']);if(!_0x2bff72&&!_0x54cc1a)return!0x1;lastLinewiseCopy=_0x54cc1a?_0x2bff72:null,'cut'!=_0x51ad27['type']||_0x1da645['state']['readOnly']||_0x1da645['dispatch']({'changes':_0x981fb3,'scrollIntoView':!0x0,'userEvent':'delete.cut'});let _0x446a30=_0x334b8b?null:_0x51ad27['clipboardData'];return _0x446a30?(_0x446a30['clearData'](),_0x446a30['setData']('text/plain',_0x2bff72),!0x0):(captureCopy(_0x1da645,_0x2bff72),!0x1);};const _0xfcf36=Annotation['define']();function focusChangeTransaction(_0xbf0d2c,_0x10f258){let _0x4a1d4d=[];for(let _0x1c767d of _0xbf0d2c['facet'](focusChangeEffect)){let _0x1f067d=_0x1c767d(_0xbf0d2c,_0x10f258);_0x1f067d&&_0x4a1d4d['push'](_0x1f067d);}return _0x4a1d4d['length']?_0xbf0d2c['update']({'effects':_0x4a1d4d,'annotations':_0xfcf36['of'](!0x0)}):null;}function updateForFocusChange(_0x28c833){setTimeout(()=>{let _0x42c33b=_0x28c833['hasFocus'];if(_0x42c33b!=_0x28c833['inputState']['notifiedFocused']){let _0x10d5cf=focusChangeTransaction(_0x28c833['state'],_0x42c33b);_0x10d5cf?_0x28c833['dispatch'](_0x10d5cf):_0x28c833['update']([]);}},0xa);}_0x40e786['focus']=_0x2b1a5c=>{_0x2b1a5c['inputState']['lastFocusTime']=Date['now'](),_0x2b1a5c['scrollDOM']['scrollTop']||!_0x2b1a5c['inputState']['lastScrollTop']&&!_0x2b1a5c['inputState']['lastScrollLeft']||(_0x2b1a5c['scrollDOM']['scrollTop']=_0x2b1a5c['inputState']['lastScrollTop'],_0x2b1a5c['scrollDOM']['scrollLeft']=_0x2b1a5c['inputState']['lastScrollLeft']),updateForFocusChange(_0x2b1a5c);},_0x40e786['blur']=_0x509870=>{_0x509870['observer']['clearSelectionRange'](),updateForFocusChange(_0x509870);},_0x40e786['compositionstart']=_0x40e786['compositionupdate']=_0x19b9fb=>{_0x19b9fb['observer']['editContext']||(null==_0x19b9fb['inputState']['compositionFirstChange']&&(_0x19b9fb['inputState']['compositionFirstChange']=!0x0),_0x19b9fb['inputState']['composing']<0x0&&(_0x19b9fb['inputState']['composing']=0x0));},_0x40e786['compositionend']=_0x211587=>{_0x211587['observer']['editContext']||(_0x211587['inputState']['composing']=-0x1,_0x211587['inputState']['compositionEndedAt']=Date['now'](),_0x211587['inputState']['compositionPendingKey']=!0x0,_0x211587['inputState']['compositionPendingChange']=_0x211587['observer']['pendingRecords']()['length']>0x0,_0x211587['inputState']['compositionFirstChange']=null,_0x2b04e4['chrome']&&_0x2b04e4['android']?_0x211587['observer']['flushSoon']():_0x211587['inputState']['compositionPendingChange']?Promise['resolve']()['then'](()=>_0x211587['observer']['flush']()):setTimeout(()=>{_0x211587['inputState']['composing']<0x0&&_0x211587['docView']['hasComposition']&&_0x211587['update']([]);},0x32));},_0x40e786['contextmenu']=_0x3e1246=>{_0x3e1246['inputState']['lastContextMenu']=Date['now']();},_0x12e976['beforeinput']=(_0x478746,_0x170e4a)=>{var _0x453e16,_0x5e07e7;if('insertReplacementText'==_0x170e4a['inputType']&&_0x478746['observer']['editContext']){let _0xd81615=null===(_0x453e16=_0x170e4a['dataTransfer'])||void 0x0===_0x453e16?void 0x0:_0x453e16['getData']('text/plain'),_0x1051a1=_0x170e4a['getTargetRanges']();if(_0xd81615&&_0x1051a1['length']){let _0x2b526a=_0x1051a1[0x0],_0xa54a19=_0x478746['posAtDOM'](_0x2b526a['startContainer'],_0x2b526a['startOffset']),_0x37a786=_0x478746['posAtDOM'](_0x2b526a['endContainer'],_0x2b526a['endOffset']);return _0x5a3377(_0x478746,{'from':_0xa54a19,'to':_0x37a786,'insert':_0x478746['state']['toText'](_0xd81615)},null),!0x0;}}let _0x454da;if(_0x2b04e4['chrome']&&_0x2b04e4['android']&&(_0x454da=_0x54d9e1['find'](_0x16d559=>_0x16d559['inputType']==_0x170e4a['inputType']))&&(_0x478746['observer']['delayAndroidKey'](_0x454da['key'],_0x454da['keyCode']),'Backspace'==_0x454da['key']||'Delete'==_0x454da['key'])){let _0x15ea19=(null===(_0x5e07e7=window['visualViewport'])||void 0x0===_0x5e07e7?void 0x0:_0x5e07e7['height'])||0x0;setTimeout(()=>{var _0x18640d;((null===(_0x18640d=window['visualViewport'])||void 0x0===_0x18640d?void 0x0:_0x18640d['height'])||0x0)>_0x15ea19+0xa&&_0x478746['hasFocus']&&(_0x478746['contentDOM']['blur'](),_0x478746['focus']());},0x64);}return _0x2b04e4['ios']&&'deleteContentForward'==_0x170e4a['inputType']&&_0x478746['observer']['flushSoon'](),_0x2b04e4['safari']&&'insertText'==_0x170e4a['inputType']&&_0x478746['inputState']['composing']>=0x0&&setTimeout(()=>_0x40e786['compositionend'](_0x478746,_0x170e4a),0x14),!0x1;};const _0x23582e=new Set();function firefoxCopyCutHack(_0x52aba8){_0x23582e['has'](_0x52aba8)||(_0x23582e['add'](_0x52aba8),_0x52aba8['addEventListener']('copy',()=>{}),_0x52aba8['addEventListener']('cut',()=>{}));}const wrappingWhiteSpace=['pre-wrap','normal','pre-line','break-spaces'];let heightChangeFlag=!0x1;function clearHeightChangeFlag(){heightChangeFlag=!0x1;}class HeightOracle{constructor(_0x3358d2){this['lineWrapping']=_0x3358d2,this['doc']=Text['empty'],this['heightSamples']={},this['lineHeight']=0xe,this['charWidth']=0x7,this['textHeight']=0xe,this['lineLength']=0x1e;}['heightForGap'](_0x59a9b0,_0x3c6d28){let _0x5ea2a4=this['doc']['lineAt'](_0x3c6d28)['number']-this['doc']['lineAt'](_0x59a9b0)['number']+0x1;return this['lineWrapping']&&(_0x5ea2a4+=Math['max'](0x0,Math['ceil']((_0x3c6d28-_0x59a9b0-_0x5ea2a4*this['lineLength']*0.5)/this['lineLength']))),this['lineHeight']*_0x5ea2a4;}['heightForLine'](_0x33cd64){if(!this['lineWrapping'])return this['lineHeight'];return(0x1+Math['max'](0x0,Math['ceil']((_0x33cd64-this['lineLength'])/Math['max'](0x1,this['lineLength']-0x5))))*this['lineHeight'];}['setDoc'](_0x41b1b3){return this['doc']=_0x41b1b3,this;}['mustRefreshForWrapping'](_0x52a8e1){return wrappingWhiteSpace['indexOf'](_0x52a8e1)>-0x1!=this['lineWrapping'];}['mustRefreshForHeights'](_0x5c8e9d){let _0x2caef5=!0x1;for(let _0x492424=0x0;_0x492424<_0x5c8e9d['length'];_0x492424++){let _0x46c15a=_0x5c8e9d[_0x492424];_0x46c15a<0x0?_0x492424++:this['heightSamples'][Math['floor'](0xa*_0x46c15a)]||(_0x2caef5=!0x0,this['heightSamples'][Math['floor'](0xa*_0x46c15a)]=!0x0);}return _0x2caef5;}['refresh'](_0x17301e,_0x365e85,_0x1e36cc,_0x5b1306,_0x305fc0,_0x2c0eed){let _0x3867ff=wrappingWhiteSpace['indexOf'](_0x17301e)>-0x1,_0x455e22=Math['round'](_0x365e85)!=Math['round'](this['lineHeight'])||this['lineWrapping']!=_0x3867ff;if(this['lineWrapping']=_0x3867ff,this['lineHeight']=_0x365e85,this['charWidth']=_0x1e36cc,this['textHeight']=_0x5b1306,this['lineLength']=_0x305fc0,_0x455e22){this['heightSamples']={};for(let _0x1afe08=0x0;_0x1afe08<_0x2c0eed['length'];_0x1afe08++){let _0x3990a8=_0x2c0eed[_0x1afe08];_0x3990a8<0x0?_0x1afe08++:this['heightSamples'][Math['floor'](0xa*_0x3990a8)]=!0x0;}}return _0x455e22;}}class MeasuredHeights{constructor(_0x54fda0,_0x197490){this['from']=_0x54fda0,this['heights']=_0x197490,this['index']=0x0;}get['more'](){return this['index']<this['heights']['length'];}}class _0x4b7bad{constructor(_0x4282d5,_0x471695,_0x2a93a0,_0x21edc2,_0x12f9f7){this['from']=_0x4282d5,this['length']=_0x471695,this['top']=_0x2a93a0,this['height']=_0x21edc2,this['_content']=_0x12f9f7;}get['type'](){return'number'==typeof this['_content']?_0x4ab331['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'](_0x3a0ebc){let _0x32651f=(Array['isArray'](this['_content'])?this['_content']:[this])['concat'](Array['isArray'](_0x3a0ebc['_content'])?_0x3a0ebc['_content']:[_0x3a0ebc]);return new _0x4b7bad(this['from'],this['length']+_0x3a0ebc['length'],this['top'],this['height']+_0x3a0ebc['height'],_0x32651f);}}var _0x39e32a=function(_0x230ffd){return _0x230ffd[_0x230ffd['ByPos']=0x0]='ByPos',_0x230ffd[_0x230ffd['ByHeight']=0x1]='ByHeight',_0x230ffd[_0x230ffd['ByPosNoHeight']=0x2]='ByPosNoHeight',_0x230ffd;}(_0x39e32a||(_0x39e32a={}));const _0x2ab842=0.001;class HeightMap{constructor(_0x41c0cf,_0x29c72f,_0x44fd04=0x2){this['length']=_0x41c0cf,this['height']=_0x29c72f,this['flags']=_0x44fd04;}get['outdated'](){return(0x2&this['flags'])>0x0;}set['outdated'](_0x3c9c28){this['flags']=(_0x3c9c28?0x2:0x0)|-0x3&this['flags'];}['setHeight'](_0x55cb52){this['height']!=_0x55cb52&&(Math['abs'](this['height']-_0x55cb52)>_0x2ab842&&(heightChangeFlag=!0x0),this['height']=_0x55cb52);}['replace'](_0x5c24e8,_0x201ada,_0x55a77b){return HeightMap['of'](_0x55a77b);}['decomposeLeft'](_0x2a35c5,_0xb07d1e){_0xb07d1e['push'](this);}['decomposeRight'](_0x209b4f,_0x4fc0dc){_0x4fc0dc['push'](this);}['applyChanges'](_0x35e469,_0x23796b,_0x4a77ab,_0x51bca9){let _0x3252ad=this,_0x3be463=_0x4a77ab['doc'];for(let _0x1d41b4=_0x51bca9['length']-0x1;_0x1d41b4>=0x0;_0x1d41b4--){let {fromA:_0x423032,toA:_0x394b00,fromB:_0x3c28a3,toB:_0xa28d87}=_0x51bca9[_0x1d41b4],_0x585234=_0x3252ad['lineAt'](_0x423032,_0x39e32a['ByPosNoHeight'],_0x4a77ab['setDoc'](_0x23796b),0x0,0x0),_0x274889=_0x585234['to']>=_0x394b00?_0x585234:_0x3252ad['lineAt'](_0x394b00,_0x39e32a['ByPosNoHeight'],_0x4a77ab,0x0,0x0);for(_0xa28d87+=_0x274889['to']-_0x394b00,_0x394b00=_0x274889['to'];_0x1d41b4>0x0&&_0x585234['from']<=_0x51bca9[_0x1d41b4-0x1]['toA'];)_0x423032=_0x51bca9[_0x1d41b4-0x1]['fromA'],_0x3c28a3=_0x51bca9[_0x1d41b4-0x1]['fromB'],_0x1d41b4--,_0x423032<_0x585234['from']&&(_0x585234=_0x3252ad['lineAt'](_0x423032,_0x39e32a['ByPosNoHeight'],_0x4a77ab,0x0,0x0));_0x3c28a3+=_0x585234['from']-_0x423032,_0x423032=_0x585234['from'];let _0x53bf97=_0x37f90f['build'](_0x4a77ab['setDoc'](_0x3be463),_0x35e469,_0x3c28a3,_0xa28d87);_0x3252ad=_0x210043(_0x3252ad,_0x3252ad['replace'](_0x423032,_0x394b00,_0x53bf97));}return _0x3252ad['updateHeight'](_0x4a77ab,0x0);}static['empty'](){return new HeightMapText(0x0,0x0);}static['of'](_0x3ffd0f){if(0x1==_0x3ffd0f['length'])return _0x3ffd0f[0x0];let _0x214cd7=0x0,_0x184c52=_0x3ffd0f['length'],_0x52e7cc=0x0,_0xdb112a=0x0;for(;;)if(_0x214cd7==_0x184c52){if(_0x52e7cc>0x2*_0xdb112a){let _0x59ce53=_0x3ffd0f[_0x214cd7-0x1];_0x59ce53['break']?_0x3ffd0f['splice'](--_0x214cd7,0x1,_0x59ce53['left'],null,_0x59ce53['right']):_0x3ffd0f['splice'](--_0x214cd7,0x1,_0x59ce53['left'],_0x59ce53['right']),_0x184c52+=0x1+_0x59ce53['break'],_0x52e7cc-=_0x59ce53['size'];}else{if(!(_0xdb112a>0x2*_0x52e7cc))break;{let _0x1b04b0=_0x3ffd0f[_0x184c52];_0x1b04b0['break']?_0x3ffd0f['splice'](_0x184c52,0x1,_0x1b04b0['left'],null,_0x1b04b0['right']):_0x3ffd0f['splice'](_0x184c52,0x1,_0x1b04b0['left'],_0x1b04b0['right']),_0x184c52+=0x2+_0x1b04b0['break'],_0xdb112a-=_0x1b04b0['size'];}}}else{if(_0x52e7cc<_0xdb112a){let _0x115160=_0x3ffd0f[_0x214cd7++];_0x115160&&(_0x52e7cc+=_0x115160['size']);}else{let _0x3aa2e0=_0x3ffd0f[--_0x184c52];_0x3aa2e0&&(_0xdb112a+=_0x3aa2e0['size']);}}let _0x1941fe=0x0;return null==_0x3ffd0f[_0x214cd7-0x1]?(_0x1941fe=0x1,_0x214cd7--):null==_0x3ffd0f[_0x214cd7]&&(_0x1941fe=0x1,_0x184c52++),new HeightMapBranch(HeightMap['of'](_0x3ffd0f['slice'](0x0,_0x214cd7)),_0x1941fe,HeightMap['of'](_0x3ffd0f['slice'](_0x184c52)));}}function _0x210043(_0x4bbfbb,_0x2e43ce){return _0x4bbfbb==_0x2e43ce?_0x4bbfbb:(_0x4bbfbb['constructor']!=_0x2e43ce['constructor']&&(heightChangeFlag=!0x0),_0x2e43ce);}HeightMap['prototype']['size']=0x1;class HeightMapBlock extends HeightMap{constructor(_0x56d687,_0x5903dd,_0xf2f546){super(_0x56d687,_0x5903dd),this['deco']=_0xf2f546;}['blockAt'](_0x1c4695,_0x46f6ed,_0x34ec04,_0x2dc3c0){return new _0x4b7bad(_0x2dc3c0,this['length'],_0x34ec04,this['height'],this['deco']||0x0);}['lineAt'](_0x4a9f30,_0x36ff09,_0x287526,_0x2ae7f4,_0x53ba1b){return this['blockAt'](0x0,_0x287526,_0x2ae7f4,_0x53ba1b);}['forEachLine'](_0x542a66,_0x563948,_0x272d4a,_0x3ff11c,_0x3c6654,_0x31d92e){_0x542a66<=_0x3c6654+this['length']&&_0x563948>=_0x3c6654&&_0x31d92e(this['blockAt'](0x0,_0x272d4a,_0x3ff11c,_0x3c6654));}['updateHeight'](_0x45ac45,_0x3cc974=0x0,_0x14503a=!0x1,_0x53dd7a){return _0x53dd7a&&_0x53dd7a['from']<=_0x3cc974&&_0x53dd7a['more']&&this['setHeight'](_0x53dd7a['heights'][_0x53dd7a['index']++]),this['outdated']=!0x1,this;}['toString'](){return'block('+this['length']+')';}}class HeightMapText extends HeightMapBlock{constructor(_0x283636,_0x171ea2){super(_0x283636,_0x171ea2,null),this['collapsed']=0x0,this['widgetHeight']=0x0,this['breaks']=0x0;}['blockAt'](_0x396c24,_0x329b0c,_0x1eccf0,_0x2d1b46){return new _0x4b7bad(_0x2d1b46,this['length'],_0x1eccf0,this['height'],this['breaks']);}['replace'](_0x4c5435,_0x2a8671,_0x4e361d){let _0x5acbc9=_0x4e361d[0x0];return 0x1==_0x4e361d['length']&&(_0x5acbc9 instanceof HeightMapText||_0x5acbc9 instanceof HeightMapGap&&0x4&_0x5acbc9['flags'])&&Math['abs'](this['length']-_0x5acbc9['length'])<0xa?(_0x5acbc9 instanceof HeightMapGap?_0x5acbc9=new HeightMapText(_0x5acbc9['length'],this['height']):_0x5acbc9['height']=this['height'],this['outdated']||(_0x5acbc9['outdated']=!0x1),_0x5acbc9):HeightMap['of'](_0x4e361d);}['updateHeight'](_0x4414d1,_0x281fb7=0x0,_0x5444d8=!0x1,_0x317cd0){return _0x317cd0&&_0x317cd0['from']<=_0x281fb7&&_0x317cd0['more']?this['setHeight'](_0x317cd0['heights'][_0x317cd0['index']++]):(_0x5444d8||this['outdated'])&&this['setHeight'](Math['max'](this['widgetHeight'],_0x4414d1['heightForLine'](this['length']-this['collapsed']))+this['breaks']*_0x4414d1['lineHeight']),this['outdated']=!0x1,this;}['toString'](){return'line('+this['length']+(this['collapsed']?-this['collapsed']:'')+(this['widgetHeight']?':'+this['widgetHeight']:'')+')';}}class HeightMapGap extends HeightMap{constructor(_0x52293e){super(_0x52293e,0x0);}['heightMetrics'](_0xf6d707,_0x157f15){let _0xbdc648,_0x379002=_0xf6d707['doc']['lineAt'](_0x157f15)['number'],_0x35bbe1=_0xf6d707['doc']['lineAt'](_0x157f15+this['length'])['number'],_0x35a331=_0x35bbe1-_0x379002+0x1,_0x4f1304=0x0;if(_0xf6d707['lineWrapping']){let _0x56840e=Math['min'](this['height'],_0xf6d707['lineHeight']*_0x35a331);_0xbdc648=_0x56840e/_0x35a331,this['length']>_0x35a331+0x1&&(_0x4f1304=(this['height']-_0x56840e)/(this['length']-_0x35a331-0x1));}else _0xbdc648=this['height']/_0x35a331;return{'firstLine':_0x379002,'lastLine':_0x35bbe1,'perLine':_0xbdc648,'perChar':_0x4f1304};}['blockAt'](_0x26f375,_0x5c6b95,_0x2e39ee,_0x33572f){let {firstLine:_0x1ab933,lastLine:_0x1a08db,perLine:_0x338c93,perChar:_0x42101c}=this['heightMetrics'](_0x5c6b95,_0x33572f);if(_0x5c6b95['lineWrapping']){let _0x2b17da=_0x33572f+(_0x26f375<_0x5c6b95['lineHeight']?0x0:Math['round'](Math['max'](0x0,Math['min'](0x1,(_0x26f375-_0x2e39ee)/this['height']))*this['length'])),_0xa0aa79=_0x5c6b95['doc']['lineAt'](_0x2b17da),_0x3b861d=_0x338c93+_0xa0aa79['length']*_0x42101c,_0x5f4994=Math['max'](_0x2e39ee,_0x26f375-_0x3b861d/0x2);return new _0x4b7bad(_0xa0aa79['from'],_0xa0aa79['length'],_0x5f4994,_0x3b861d,0x0);}{let _0x224895=Math['max'](0x0,Math['min'](_0x1a08db-_0x1ab933,Math['floor']((_0x26f375-_0x2e39ee)/_0x338c93))),{from:_0x2088f3,length:_0x5f1350}=_0x5c6b95['doc']['line'](_0x1ab933+_0x224895);return new _0x4b7bad(_0x2088f3,_0x5f1350,_0x2e39ee+_0x338c93*_0x224895,_0x338c93,0x0);}}['lineAt'](_0x421250,_0x5aa342,_0x3f5582,_0x58732b,_0x2c7537){if(_0x5aa342==_0x39e32a['ByHeight'])return this['blockAt'](_0x421250,_0x3f5582,_0x58732b,_0x2c7537);if(_0x5aa342==_0x39e32a['ByPosNoHeight']){let {from:_0x532200,to:_0xaf3c9c}=_0x3f5582['doc']['lineAt'](_0x421250);return new _0x4b7bad(_0x532200,_0xaf3c9c-_0x532200,0x0,0x0,0x0);}let {firstLine:_0x3a39ec,perLine:_0x16237f,perChar:_0x392954}=this['heightMetrics'](_0x3f5582,_0x2c7537),_0x30440a=_0x3f5582['doc']['lineAt'](_0x421250),_0x3544e6=_0x16237f+_0x30440a['length']*_0x392954,_0x306acb=_0x30440a['number']-_0x3a39ec,_0x102523=_0x58732b+_0x16237f*_0x306acb+_0x392954*(_0x30440a['from']-_0x2c7537-_0x306acb);return new _0x4b7bad(_0x30440a['from'],_0x30440a['length'],Math['max'](_0x58732b,Math['min'](_0x102523,_0x58732b+this['height']-_0x3544e6)),_0x3544e6,0x0);}['forEachLine'](_0x425249,_0x1f114f,_0x2b6af7,_0x9ab0bc,_0x16bb14,_0x1335a1){_0x425249=Math['max'](_0x425249,_0x16bb14),_0x1f114f=Math['min'](_0x1f114f,_0x16bb14+this['length']);let {firstLine:_0x3f7ee6,perLine:_0x10d654,perChar:_0xccbd4d}=this['heightMetrics'](_0x2b6af7,_0x16bb14);for(let _0x3cc6c2=_0x425249,_0x512599=_0x9ab0bc;_0x3cc6c2<=_0x1f114f;){let _0x4e04cb=_0x2b6af7['doc']['lineAt'](_0x3cc6c2);if(_0x3cc6c2==_0x425249){let _0x3395fb=_0x4e04cb['number']-_0x3f7ee6;_0x512599+=_0x10d654*_0x3395fb+_0xccbd4d*(_0x425249-_0x16bb14-_0x3395fb);}let _0x3fc185=_0x10d654+_0xccbd4d*_0x4e04cb['length'];_0x1335a1(new _0x4b7bad(_0x4e04cb['from'],_0x4e04cb['length'],_0x512599,_0x3fc185,0x0)),_0x512599+=_0x3fc185,_0x3cc6c2=_0x4e04cb['to']+0x1;}}['replace'](_0x22a9ab,_0x142ea6,_0x32537c){let _0x39afe3=this['length']-_0x142ea6;if(_0x39afe3>0x0){let _0x454fb4=_0x32537c[_0x32537c['length']-0x1];_0x454fb4 instanceof HeightMapGap?_0x32537c[_0x32537c['length']-0x1]=new HeightMapGap(_0x454fb4['length']+_0x39afe3):_0x32537c['push'](null,new HeightMapGap(_0x39afe3-0x1));}if(_0x22a9ab>0x0){let _0x26430d=_0x32537c[0x0];_0x26430d instanceof HeightMapGap?_0x32537c[0x0]=new HeightMapGap(_0x22a9ab+_0x26430d['length']):_0x32537c['unshift'](new HeightMapGap(_0x22a9ab-0x1),null);}return HeightMap['of'](_0x32537c);}['decomposeLeft'](_0x3e3569,_0x44e50a){_0x44e50a['push'](new HeightMapGap(_0x3e3569-0x1),null);}['decomposeRight'](_0x2027c4,_0x1f79a5){_0x1f79a5['push'](null,new HeightMapGap(this['length']-_0x2027c4-0x1));}['updateHeight'](_0x45a24a,_0x2f9788=0x0,_0x3be99f=!0x1,_0x3ef5f1){let _0x558090=_0x2f9788+this['length'];if(_0x3ef5f1&&_0x3ef5f1['from']<=_0x2f9788+this['length']&&_0x3ef5f1['more']){let _0x256a17=[],_0x3932ce=Math['max'](_0x2f9788,_0x3ef5f1['from']),_0x59a01f=-0x1;for(_0x3ef5f1['from']>_0x2f9788&&_0x256a17['push'](new HeightMapGap(_0x3ef5f1['from']-_0x2f9788-0x1)['updateHeight'](_0x45a24a,_0x2f9788));_0x3932ce<=_0x558090&&_0x3ef5f1['more'];){let _0x2a5ca7=_0x45a24a['doc']['lineAt'](_0x3932ce)['length'];_0x256a17['length']&&_0x256a17['push'](null);let _0x326abd=_0x3ef5f1['heights'][_0x3ef5f1['index']++];-0x1==_0x59a01f?_0x59a01f=_0x326abd:Math['abs'](_0x326abd-_0x59a01f)>=_0x2ab842&&(_0x59a01f=-0x2);let _0x275a25=new HeightMapText(_0x2a5ca7,_0x326abd);_0x275a25['outdated']=!0x1,_0x256a17['push'](_0x275a25),_0x3932ce+=_0x2a5ca7+0x1;}_0x3932ce<=_0x558090&&_0x256a17['push'](null,new HeightMapGap(_0x558090-_0x3932ce)['updateHeight'](_0x45a24a,_0x3932ce));let _0x72320e=HeightMap['of'](_0x256a17);return(_0x59a01f<0x0||Math['abs'](_0x72320e['height']-this['height'])>=_0x2ab842||Math['abs'](_0x59a01f-this['heightMetrics'](_0x45a24a,_0x2f9788)['perLine'])>=_0x2ab842)&&(heightChangeFlag=!0x0),_0x210043(this,_0x72320e);}return(_0x3be99f||this['outdated'])&&(this['setHeight'](_0x45a24a['heightForGap'](_0x2f9788,_0x2f9788+this['length'])),this['outdated']=!0x1),this;}['toString'](){return'gap('+this['length']+')';}}class HeightMapBranch extends HeightMap{constructor(_0x56e523,_0x5efd82,_0x541541){super(_0x56e523['length']+_0x5efd82+_0x541541['length'],_0x56e523['height']+_0x541541['height'],_0x5efd82|(_0x56e523['outdated']||_0x541541['outdated']?0x2:0x0)),this['left']=_0x56e523,this['right']=_0x541541,this['size']=_0x56e523['size']+_0x541541['size'];}get['break'](){return 0x1&this['flags'];}['blockAt'](_0x1230a4,_0x393a28,_0x3f9fad,_0x349ab9){let _0x3aee9d=_0x3f9fad+this['left']['height'];return _0x1230a4<_0x3aee9d?this['left']['blockAt'](_0x1230a4,_0x393a28,_0x3f9fad,_0x349ab9):this['right']['blockAt'](_0x1230a4,_0x393a28,_0x3aee9d,_0x349ab9+this['left']['length']+this['break']);}['lineAt'](_0x4baecc,_0x4f141f,_0x40813c,_0x4badee,_0x3e6071){let _0xd37d18=_0x4badee+this['left']['height'],_0x16fbde=_0x3e6071+this['left']['length']+this['break'],_0x456eeb=_0x4f141f==_0x39e32a['ByHeight']?_0x4baecc<_0xd37d18:_0x4baecc<_0x16fbde,_0x395b08=_0x456eeb?this['left']['lineAt'](_0x4baecc,_0x4f141f,_0x40813c,_0x4badee,_0x3e6071):this['right']['lineAt'](_0x4baecc,_0x4f141f,_0x40813c,_0xd37d18,_0x16fbde);if(this['break']||(_0x456eeb?_0x395b08['to']<_0x16fbde:_0x395b08['from']>_0x16fbde))return _0x395b08;let _0x3a486e=_0x4f141f==_0x39e32a['ByPosNoHeight']?_0x39e32a['ByPosNoHeight']:_0x39e32a['ByPos'];return _0x456eeb?_0x395b08['join'](this['right']['lineAt'](_0x16fbde,_0x3a486e,_0x40813c,_0xd37d18,_0x16fbde)):this['left']['lineAt'](_0x16fbde,_0x3a486e,_0x40813c,_0x4badee,_0x3e6071)['join'](_0x395b08);}['forEachLine'](_0x39fe7e,_0x527d79,_0x33325c,_0x248f14,_0x171ce3,_0x256d6d){let _0x42accb=_0x248f14+this['left']['height'],_0x4d2e1d=_0x171ce3+this['left']['length']+this['break'];if(this['break'])_0x39fe7e<_0x4d2e1d&&this['left']['forEachLine'](_0x39fe7e,_0x527d79,_0x33325c,_0x248f14,_0x171ce3,_0x256d6d),_0x527d79>=_0x4d2e1d&&this['right']['forEachLine'](_0x39fe7e,_0x527d79,_0x33325c,_0x42accb,_0x4d2e1d,_0x256d6d);else{let _0x5f37f6=this['lineAt'](_0x4d2e1d,_0x39e32a['ByPos'],_0x33325c,_0x248f14,_0x171ce3);_0x39fe7e<_0x5f37f6['from']&&this['left']['forEachLine'](_0x39fe7e,_0x5f37f6['from']-0x1,_0x33325c,_0x248f14,_0x171ce3,_0x256d6d),_0x5f37f6['to']>=_0x39fe7e&&_0x5f37f6['from']<=_0x527d79&&_0x256d6d(_0x5f37f6),_0x527d79>_0x5f37f6['to']&&this['right']['forEachLine'](_0x5f37f6['to']+0x1,_0x527d79,_0x33325c,_0x42accb,_0x4d2e1d,_0x256d6d);}}['replace'](_0x4c9a51,_0x4e35bc,_0x9aaf71){let _0x491f70=this['left']['length']+this['break'];if(_0x4e35bc<_0x491f70)return this['balanced'](this['left']['replace'](_0x4c9a51,_0x4e35bc,_0x9aaf71),this['right']);if(_0x4c9a51>this['left']['length'])return this['balanced'](this['left'],this['right']['replace'](_0x4c9a51-_0x491f70,_0x4e35bc-_0x491f70,_0x9aaf71));let _0x4058d6=[];_0x4c9a51>0x0&&this['decomposeLeft'](_0x4c9a51,_0x4058d6);let _0x17ccbf=_0x4058d6['length'];for(let _0x3624cc of _0x9aaf71)_0x4058d6['push'](_0x3624cc);if(_0x4c9a51>0x0&&_0x25482d(_0x4058d6,_0x17ccbf-0x1),_0x4e35bc<this['length']){let _0x3e5e7d=_0x4058d6['length'];this['decomposeRight'](_0x4e35bc,_0x4058d6),_0x25482d(_0x4058d6,_0x3e5e7d);}return HeightMap['of'](_0x4058d6);}['decomposeLeft'](_0x40c69d,_0x852bf4){let _0x19a850=this['left']['length'];if(_0x40c69d<=_0x19a850)return this['left']['decomposeLeft'](_0x40c69d,_0x852bf4);_0x852bf4['push'](this['left']),this['break']&&(_0x19a850++,_0x40c69d>=_0x19a850&&_0x852bf4['push'](null)),_0x40c69d>_0x19a850&&this['right']['decomposeLeft'](_0x40c69d-_0x19a850,_0x852bf4);}['decomposeRight'](_0x36ec59,_0x1f9ba2){let _0x3bd0c2=this['left']['length'],_0x1f08aa=_0x3bd0c2+this['break'];if(_0x36ec59>=_0x1f08aa)return this['right']['decomposeRight'](_0x36ec59-_0x1f08aa,_0x1f9ba2);_0x36ec59<_0x3bd0c2&&this['left']['decomposeRight'](_0x36ec59,_0x1f9ba2),this['break']&&_0x36ec59<_0x1f08aa&&_0x1f9ba2['push'](null),_0x1f9ba2['push'](this['right']);}['balanced'](_0x1334cc,_0xf3806d){return _0x1334cc['size']>0x2*_0xf3806d['size']||_0xf3806d['size']>0x2*_0x1334cc['size']?HeightMap['of'](this['break']?[_0x1334cc,null,_0xf3806d]:[_0x1334cc,_0xf3806d]):(this['left']=_0x210043(this['left'],_0x1334cc),this['right']=_0x210043(this['right'],_0xf3806d),this['setHeight'](_0x1334cc['height']+_0xf3806d['height']),this['outdated']=_0x1334cc['outdated']||_0xf3806d['outdated'],this['size']=_0x1334cc['size']+_0xf3806d['size'],this['length']=_0x1334cc['length']+this['break']+_0xf3806d['length'],this);}['updateHeight'](_0x630349,_0x4696ae=0x0,_0x38f137=!0x1,_0x5d443e){let {left:_0x3f03c8,right:_0x299811}=this,_0x4b8cef=_0x4696ae+_0x3f03c8['length']+this['break'],_0x1e429a=null;return _0x5d443e&&_0x5d443e['from']<=_0x4696ae+_0x3f03c8['length']&&_0x5d443e['more']?_0x1e429a=_0x3f03c8=_0x3f03c8['updateHeight'](_0x630349,_0x4696ae,_0x38f137,_0x5d443e):_0x3f03c8['updateHeight'](_0x630349,_0x4696ae,_0x38f137),_0x5d443e&&_0x5d443e['from']<=_0x4b8cef+_0x299811['length']&&_0x5d443e['more']?_0x1e429a=_0x299811=_0x299811['updateHeight'](_0x630349,_0x4b8cef,_0x38f137,_0x5d443e):_0x299811['updateHeight'](_0x630349,_0x4b8cef,_0x38f137),_0x1e429a?this['balanced'](_0x3f03c8,_0x299811):(this['height']=this['left']['height']+this['right']['height'],this['outdated']=!0x1,this);}['toString'](){return this['left']+(this['break']?'\x20':'-')+this['right'];}}function _0x25482d(_0x27ba3a,_0x4c41e1){let _0x20d1ba,_0x3391a8;null==_0x27ba3a[_0x4c41e1]&&(_0x20d1ba=_0x27ba3a[_0x4c41e1-0x1])instanceof HeightMapGap&&(_0x3391a8=_0x27ba3a[_0x4c41e1+0x1])instanceof HeightMapGap&&_0x27ba3a['splice'](_0x4c41e1-0x1,0x3,new HeightMapGap(_0x20d1ba['length']+0x1+_0x3391a8['length']));}const relevantWidgetHeight=0x5;class _0x37f90f{constructor(_0x184e68,_0x2eec59){this['pos']=_0x184e68,this['oracle']=_0x2eec59,this['nodes']=[],this['lineStart']=-0x1,this['lineEnd']=-0x1,this['covering']=null,this['writtenTo']=_0x184e68;}get['isCovered'](){return this['covering']&&this['nodes'][this['nodes']['length']-0x1]==this['covering'];}['span'](_0x508b2c,_0x51f399){if(this['lineStart']>-0x1){let _0x4ec9d4=Math['min'](_0x51f399,this['lineEnd']),_0x4b76b0=this['nodes'][this['nodes']['length']-0x1];_0x4b76b0 instanceof HeightMapText?_0x4b76b0['length']+=_0x4ec9d4-this['pos']:(_0x4ec9d4>this['pos']||!this['isCovered'])&&this['nodes']['push'](new HeightMapText(_0x4ec9d4-this['pos'],-0x1)),this['writtenTo']=_0x4ec9d4,_0x51f399>_0x4ec9d4&&(this['nodes']['push'](null),this['writtenTo']++,this['lineStart']=-0x1);}this['pos']=_0x51f399;}['point'](_0x1212be,_0x215058,_0x370fc6){if(_0x1212be<_0x215058||_0x370fc6['heightRelevant']){let _0x456593=_0x370fc6['widget']?_0x370fc6['widget']['estimatedHeight']:0x0,_0x471003=_0x370fc6['widget']?_0x370fc6['widget']['lineBreaks']:0x0;_0x456593<0x0&&(_0x456593=this['oracle']['lineHeight']);let _0x233fb6=_0x215058-_0x1212be;_0x370fc6['block']?this['addBlock'](new HeightMapBlock(_0x233fb6,_0x456593,_0x370fc6)):(_0x233fb6||_0x471003||_0x456593>=relevantWidgetHeight)&&this['addLineDeco'](_0x456593,_0x471003,_0x233fb6);}else _0x215058>_0x1212be&&this['span'](_0x1212be,_0x215058);this['lineEnd']>-0x1&&this['lineEnd']<this['pos']&&(this['lineEnd']=this['oracle']['doc']['lineAt'](this['pos'])['to']);}['enterLine'](){if(this['lineStart']>-0x1)return;let {from:_0x4ffbd4,to:_0x271b57}=this['oracle']['doc']['lineAt'](this['pos']);this['lineStart']=_0x4ffbd4,this['lineEnd']=_0x271b57,this['writtenTo']<_0x4ffbd4&&((this['writtenTo']<_0x4ffbd4-0x1||null==this['nodes'][this['nodes']['length']-0x1])&&this['nodes']['push'](this['blankContent'](this['writtenTo'],_0x4ffbd4-0x1)),this['nodes']['push'](null)),this['pos']>_0x4ffbd4&&this['nodes']['push'](new HeightMapText(this['pos']-_0x4ffbd4,-0x1)),this['writtenTo']=this['pos'];}['blankContent'](_0x3bf468,_0x5a1584){let _0x1aa6f6=new HeightMapGap(_0x5a1584-_0x3bf468);return this['oracle']['doc']['lineAt'](_0x3bf468)['to']==_0x5a1584&&(_0x1aa6f6['flags']|=0x4),_0x1aa6f6;}['ensureLine'](){this['enterLine']();let _0x523619=this['nodes']['length']?this['nodes'][this['nodes']['length']-0x1]:null;if(_0x523619 instanceof HeightMapText)return _0x523619;let _0x1f4aa9=new HeightMapText(0x0,-0x1);return this['nodes']['push'](_0x1f4aa9),_0x1f4aa9;}['addBlock'](_0x386a97){this['enterLine']();let _0x3c7a86=_0x386a97['deco'];_0x3c7a86&&_0x3c7a86['startSide']>0x0&&!this['isCovered']&&this['ensureLine'](),this['nodes']['push'](_0x386a97),this['writtenTo']=this['pos']=this['pos']+_0x386a97['length'],_0x3c7a86&&_0x3c7a86['endSide']>0x0&&(this['covering']=_0x386a97);}['addLineDeco'](_0x5bf428,_0x21c3b3,_0x16ff4d){let _0x112fc1=this['ensureLine']();_0x112fc1['length']+=_0x16ff4d,_0x112fc1['collapsed']+=_0x16ff4d,_0x112fc1['widgetHeight']=Math['max'](_0x112fc1['widgetHeight'],_0x5bf428),_0x112fc1['breaks']+=_0x21c3b3,this['writtenTo']=this['pos']=this['pos']+_0x16ff4d;}['finish'](_0x9b7465){let _0x408b37=0x0==this['nodes']['length']?null:this['nodes'][this['nodes']['length']-0x1];!(this['lineStart']>-0x1)||_0x408b37 instanceof HeightMapText||this['isCovered']?(this['writtenTo']<this['pos']||null==_0x408b37)&&this['nodes']['push'](this['blankContent'](this['writtenTo'],this['pos'])):this['nodes']['push'](new HeightMapText(0x0,-0x1));let _0x35caea=_0x9b7465;for(let _0x10f05c of this['nodes'])_0x10f05c instanceof HeightMapText&&_0x10f05c['updateHeight'](this['oracle'],_0x35caea),_0x35caea+=_0x10f05c?_0x10f05c['length']:0x1;return this['nodes'];}static['build'](_0xe7a4e7,_0x589526,_0x590ca3,_0x2377af){let _0x2c287a=new _0x37f90f(_0x590ca3,_0xe7a4e7);return RangeSet['spans'](_0x589526,_0x590ca3,_0x2377af,_0x2c287a,0x0),_0x2c287a['finish'](_0x590ca3);}}function heightRelevantDecoChanges(_0x3b4c0e,_0x4333d7,_0x472ae3){let _0x3da582=new DecorationComparator();return RangeSet['compare'](_0x3b4c0e,_0x4333d7,_0x472ae3,_0x3da582,0x0),_0x3da582['changes'];}class DecorationComparator{constructor(){this['changes']=[];}['compareRange'](){}['comparePoint'](_0x3de7e0,_0x35ef26,_0x5cba96,_0x53120e){(_0x3de7e0<_0x35ef26||_0x5cba96&&_0x5cba96['heightRelevant']||_0x53120e&&_0x53120e['heightRelevant'])&&_0x31d7e8(_0x3de7e0,_0x35ef26,this['changes'],0x5);}}function _0x1bf311(_0x59216f,_0x36febb){let _0x332f7c=_0x59216f['getBoundingClientRect'](),_0x246a02=_0x59216f['ownerDocument'],_0xd0f140=_0x246a02['defaultView']||window,_0x10204f=Math['max'](0x0,_0x332f7c['left']),_0x3248ba=Math['min'](_0xd0f140['innerWidth'],_0x332f7c['right']),_0x25304f=Math['max'](0x0,_0x332f7c['top']),_0x538e0e=Math['min'](_0xd0f140['innerHeight'],_0x332f7c['bottom']);for(let _0x5b8b4f=_0x59216f['parentNode'];_0x5b8b4f&&_0x5b8b4f!=_0x246a02['body'];)if(0x1==_0x5b8b4f['nodeType']){let _0x14a169=_0x5b8b4f,_0x9a837b=window['getComputedStyle'](_0x14a169);if((_0x14a169['scrollHeight']>_0x14a169['clientHeight']||_0x14a169['scrollWidth']>_0x14a169['clientWidth'])&&'visible'!=_0x9a837b['overflow']){let _0x522eb1=_0x14a169['getBoundingClientRect']();_0x10204f=Math['max'](_0x10204f,_0x522eb1['left']),_0x3248ba=Math['min'](_0x3248ba,_0x522eb1['right']),_0x25304f=Math['max'](_0x25304f,_0x522eb1['top']),_0x538e0e=Math['min'](_0x5b8b4f==_0x59216f['parentNode']?_0xd0f140['innerHeight']:_0x538e0e,_0x522eb1['bottom']);}_0x5b8b4f='absolute'==_0x9a837b['position']||'fixed'==_0x9a837b['position']?_0x14a169['offsetParent']:_0x14a169['parentNode'];}else{if(0xb!=_0x5b8b4f['nodeType'])break;_0x5b8b4f=_0x5b8b4f['host'];}return{'left':_0x10204f-_0x332f7c['left'],'right':Math['max'](_0x10204f,_0x3248ba)-_0x332f7c['left'],'top':_0x25304f-(_0x332f7c['top']+_0x36febb),'bottom':Math['max'](_0x25304f,_0x538e0e)-(_0x332f7c['top']+_0x36febb)};}function _0x2681e1(_0x64ad6e){let _0x54848d=_0x64ad6e['getBoundingClientRect'](),_0x2ac3f1=_0x64ad6e['ownerDocument']['defaultView']||window;return _0x54848d['left']<_0x2ac3f1['innerWidth']&&_0x54848d['right']>0x0&&_0x54848d['top']<_0x2ac3f1['innerHeight']&&_0x54848d['bottom']>0x0;}function _0x32315b(_0x52925d,_0x33bd3f){let _0x6781c5=_0x52925d['getBoundingClientRect']();return{'left':0x0,'right':_0x6781c5['right']-_0x6781c5['left'],'top':_0x33bd3f,'bottom':_0x6781c5['bottom']-(_0x6781c5['top']+_0x33bd3f)};}class _0x44cdcd{constructor(_0x1dacb,_0x3c952f,_0x2ee093,_0x54e6f8){this['from']=_0x1dacb,this['to']=_0x3c952f,this['size']=_0x2ee093,this['displaySize']=_0x54e6f8;}static['same'](_0xdb6485,_0x79fbb5){if(_0xdb6485['length']!=_0x79fbb5['length'])return!0x1;for(let _0x165afe=0x0;_0x165afe<_0xdb6485['length'];_0x165afe++){let _0x488259=_0xdb6485[_0x165afe],_0x17d11a=_0x79fbb5[_0x165afe];if(_0x488259['from']!=_0x17d11a['from']||_0x488259['to']!=_0x17d11a['to']||_0x488259['size']!=_0x17d11a['size'])return!0x1;}return!0x0;}['draw'](_0x256154,_0x471d4a){return Decoration['replace']({'widget':new LineGapWidget(this['displaySize']*(_0x471d4a?_0x256154['scaleY']:_0x256154['scaleX']),_0x471d4a)})['range'](this['from'],this['to']);}}class LineGapWidget extends WidgetType{constructor(_0x34841a,_0x46e265){super(),this['size']=_0x34841a,this['vertical']=_0x46e265;}['eq'](_0x4d0202){return _0x4d0202['size']==this['size']&&_0x4d0202['vertical']==this['vertical'];}['toDOM'](){let _0x135d62=document['createElement']('div');return this['vertical']?_0x135d62['style']['height']=this['size']+'px':(_0x135d62['style']['width']=this['size']+'px',_0x135d62['style']['height']='2px',_0x135d62['style']['display']='inline-block'),_0x135d62;}get['estimatedHeight'](){return this['vertical']?this['size']:-0x1;}}class ViewState{constructor(_0x3244a2){this['state']=_0x3244a2,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']=_0x118ccc,this['scrollTarget']=null,this['printing']=!0x1,this['mustMeasureContent']=!0x0,this['defaultTextDirection']=Direction['LTR'],this['visibleRanges']=[],this['mustEnforceCursorAssoc']=!0x1;let _0x469aa4=_0x3244a2['facet'](contentAttributes)['some'](_0x214141=>'function'!=typeof _0x214141&&'cm-lineWrapping'==_0x214141['class']);this['heightOracle']=new HeightOracle(_0x469aa4),this['stateDeco']=_0x3244a2['facet'](decorations)['filter'](_0x526de5=>'function'!=typeof _0x526de5),this['heightMap']=HeightMap['empty']()['applyChanges'](this['stateDeco'],Text['empty'],this['heightOracle']['setDoc'](_0x3244a2['doc']),[new _0x1d28e1(0x0,0x0,0x0,_0x3244a2['doc']['length'])]);for(let _0x4d3589=0x0;_0x4d3589<0x2&&(this['viewport']=this['getViewport'](0x0,null),this['updateForViewport']());_0x4d3589++);this['updateViewportLines'](),this['lineGaps']=this['ensureLineGaps']([]),this['lineGapDeco']=Decoration['set'](this['lineGaps']['map'](_0x857968=>_0x857968['draw'](this,!0x1))),this['computeVisibleRanges']();}['updateForViewport'](){let _0x4965f5=[this['viewport']],{main:_0x3aae52}=this['state']['selection'];for(let _0x4d59d4=0x0;_0x4d59d4<=0x1;_0x4d59d4++){let _0x5929b6=_0x4d59d4?_0x3aae52['head']:_0x3aae52['anchor'];if(!_0x4965f5['some'](({from:_0x61fbc4,to:_0x57d191})=>_0x5929b6>=_0x61fbc4&&_0x5929b6<=_0x57d191)){let {from:_0x328184,to:_0x17c70d}=this['lineBlockAt'](_0x5929b6);_0x4965f5['push'](new Viewport(_0x328184,_0x17c70d));}}return this['viewports']=_0x4965f5['sort']((_0x41452c,_0x39540c)=>_0x41452c['from']-_0x39540c['from']),this['updateScaler']();}['updateScaler'](){let _0x1746e5=this['scaler'];return this['scaler']=this['heightMap']['height']<=0x6acfc0?_0x118ccc:new _0x3e4c65(this['heightOracle'],this['heightMap'],this['viewports']),_0x1746e5['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,_0x1063e7=>{this['viewportLines']['push'](_0x206e51(_0x1063e7,this['scaler']));});}['update'](_0x4dd542,_0x317d1a=null){this['state']=_0x4dd542['state'];let _0x156d8e=this['stateDeco'];this['stateDeco']=this['state']['facet'](decorations)['filter'](_0x250d45=>'function'!=typeof _0x250d45);let _0x2295d0=_0x4dd542['changedRanges'],_0x2e0907=_0x1d28e1['extendWithRanges'](_0x2295d0,heightRelevantDecoChanges(_0x156d8e,this['stateDeco'],_0x4dd542?_0x4dd542['changes']:ChangeSet['empty'](this['state']['doc']['length']))),_0x4226d7=this['heightMap']['height'],_0x5e390f=this['scrolledToBottom']?null:this['scrollAnchorAt'](this['scrollTop']);clearHeightChangeFlag(),this['heightMap']=this['heightMap']['applyChanges'](this['stateDeco'],_0x4dd542['startState']['doc'],this['heightOracle']['setDoc'](this['state']['doc']),_0x2e0907),(this['heightMap']['height']!=_0x4226d7||heightChangeFlag)&&(_0x4dd542['flags']|=0x2),_0x5e390f?(this['scrollAnchorPos']=_0x4dd542['changes']['mapPos'](_0x5e390f['from'],-0x1),this['scrollAnchorHeight']=_0x5e390f['top']):(this['scrollAnchorPos']=-0x1,this['scrollAnchorHeight']=_0x4226d7);let _0x334217=_0x2e0907['length']?this['mapViewport'](this['viewport'],_0x4dd542['changes']):this['viewport'];(_0x317d1a&&(_0x317d1a['range']['head']<_0x334217['from']||_0x317d1a['range']['head']>_0x334217['to'])||!this['viewportIsAppropriate'](_0x334217))&&(_0x334217=this['getViewport'](0x0,_0x317d1a));let _0x52a46d=_0x334217['from']!=this['viewport']['from']||_0x334217['to']!=this['viewport']['to'];this['viewport']=_0x334217,_0x4dd542['flags']|=this['updateForViewport'](),(_0x52a46d||!_0x4dd542['changes']['empty']||0x2&_0x4dd542['flags'])&&this['updateViewportLines'](),(this['lineGaps']['length']||this['viewport']['to']-this['viewport']['from']>0xfa0)&&this['updateLineGaps'](this['ensureLineGaps'](this['mapLineGaps'](this['lineGaps'],_0x4dd542['changes']))),_0x4dd542['flags']|=this['computeVisibleRanges'](_0x4dd542['changes']),_0x317d1a&&(this['scrollTarget']=_0x317d1a),!this['mustEnforceCursorAssoc']&&_0x4dd542['selectionSet']&&_0x4dd542['view']['lineWrapping']&&_0x4dd542['state']['selection']['main']['empty']&&_0x4dd542['state']['selection']['main']['assoc']&&!_0x4dd542['state']['facet'](nativeSelectionHidden)&&(this['mustEnforceCursorAssoc']=!0x0);}['measure'](_0x5904d6){let _0x2102d0=_0x5904d6['contentDOM'],_0x55bc6a=window['getComputedStyle'](_0x2102d0),_0x10aa8f=this['heightOracle'],_0x5775c9=_0x55bc6a['whiteSpace'];this['defaultTextDirection']='rtl'==_0x55bc6a['direction']?Direction['RTL']:Direction['LTR'];let _0x47a645=this['heightOracle']['mustRefreshForWrapping'](_0x5775c9),_0x123e85=_0x2102d0['getBoundingClientRect'](),_0x55d7b6=_0x47a645||this['mustMeasureContent']||this['contentDOMHeight']!=_0x123e85['height'];this['contentDOMHeight']=_0x123e85['height'],this['mustMeasureContent']=!0x1;let _0x23f4bf=0x0,_0x4d84db=0x0;if(_0x123e85['width']&&_0x123e85['height']){let {scaleX:_0x330e2e,scaleY:_0x43d418}=getScale(_0x2102d0,_0x123e85);(_0x330e2e>0.005&&Math['abs'](this['scaleX']-_0x330e2e)>0.005||_0x43d418>0.005&&Math['abs'](this['scaleY']-_0x43d418)>0.005)&&(this['scaleX']=_0x330e2e,this['scaleY']=_0x43d418,_0x23f4bf|=0x10,_0x47a645=_0x55d7b6=!0x0);}let _0x4610e7=(parseInt(_0x55bc6a['paddingTop'])||0x0)*this['scaleY'],_0x190cbb=(parseInt(_0x55bc6a['paddingBottom'])||0x0)*this['scaleY'];this['paddingTop']==_0x4610e7&&this['paddingBottom']==_0x190cbb||(this['paddingTop']=_0x4610e7,this['paddingBottom']=_0x190cbb,_0x23f4bf|=0x12),this['editorWidth']!=_0x5904d6['scrollDOM']['clientWidth']&&(_0x10aa8f['lineWrapping']&&(_0x55d7b6=!0x0),this['editorWidth']=_0x5904d6['scrollDOM']['clientWidth'],_0x23f4bf|=0x10);let _0x383953=_0x5904d6['scrollDOM']['scrollTop']*this['scaleY'];this['scrollTop']!=_0x383953&&(this['scrollAnchorHeight']=-0x1,this['scrollTop']=_0x383953),this['scrolledToBottom']=isScrolledToBottom(_0x5904d6['scrollDOM']);let _0x58bcf0=(this['printing']?_0x32315b:_0x1bf311)(_0x2102d0,this['paddingTop']),_0x3bcba4=_0x58bcf0['top']-this['pixelViewport']['top'],_0x3822dd=_0x58bcf0['bottom']-this['pixelViewport']['bottom'];this['pixelViewport']=_0x58bcf0;let _0x13dcf0=this['pixelViewport']['bottom']>this['pixelViewport']['top']&&this['pixelViewport']['right']>this['pixelViewport']['left'];if(_0x13dcf0!=this['inView']&&(this['inView']=_0x13dcf0,_0x13dcf0&&(_0x55d7b6=!0x0)),!this['inView']&&!this['scrollTarget']&&!_0x2681e1(_0x5904d6['dom']))return 0x0;let _0x18d575=_0x123e85['width'];if(this['contentDOMWidth']==_0x18d575&&this['editorHeight']==_0x5904d6['scrollDOM']['clientHeight']||(this['contentDOMWidth']=_0x123e85['width'],this['editorHeight']=_0x5904d6['scrollDOM']['clientHeight'],_0x23f4bf|=0x10),_0x55d7b6){let _0x1f2ff0=_0x5904d6['docView']['measureVisibleLineHeights'](this['viewport']);if(_0x10aa8f['mustRefreshForHeights'](_0x1f2ff0)&&(_0x47a645=!0x0),_0x47a645||_0x10aa8f['lineWrapping']&&Math['abs'](_0x18d575-this['contentDOMWidth'])>_0x10aa8f['charWidth']){let {lineHeight:_0x544d7b,charWidth:_0x55cbc4,textHeight:_0x58d7d9}=_0x5904d6['docView']['measureTextSize']();_0x47a645=_0x544d7b>0x0&&_0x10aa8f['refresh'](_0x5775c9,_0x544d7b,_0x55cbc4,_0x58d7d9,Math['max'](0x5,_0x18d575/_0x55cbc4),_0x1f2ff0),_0x47a645&&(_0x5904d6['docView']['minWidth']=0x0,_0x23f4bf|=0x10);}_0x3bcba4>0x0&&_0x3822dd>0x0?_0x4d84db=Math['max'](_0x3bcba4,_0x3822dd):_0x3bcba4<0x0&&_0x3822dd<0x0&&(_0x4d84db=Math['min'](_0x3bcba4,_0x3822dd)),clearHeightChangeFlag();for(let _0x432cf4 of this['viewports']){let _0x16a7f0=_0x432cf4['from']==this['viewport']['from']?_0x1f2ff0:_0x5904d6['docView']['measureVisibleLineHeights'](_0x432cf4);this['heightMap']=(_0x47a645?HeightMap['empty']()['applyChanges'](this['stateDeco'],Text['empty'],this['heightOracle'],[new _0x1d28e1(0x0,0x0,0x0,_0x5904d6['state']['doc']['length'])]):this['heightMap'])['updateHeight'](_0x10aa8f,0x0,_0x47a645,new MeasuredHeights(_0x432cf4['from'],_0x16a7f0));}heightChangeFlag&&(_0x23f4bf|=0x2);}let _0x45b7ca=!this['viewportIsAppropriate'](this['viewport'],_0x4d84db)||this['scrollTarget']&&(this['scrollTarget']['range']['head']<this['viewport']['from']||this['scrollTarget']['range']['head']>this['viewport']['to']);return _0x45b7ca&&(0x2&_0x23f4bf&&(_0x23f4bf|=this['updateScaler']()),this['viewport']=this['getViewport'](_0x4d84db,this['scrollTarget']),_0x23f4bf|=this['updateForViewport']()),(0x2&_0x23f4bf||_0x45b7ca)&&this['updateViewportLines'](),(this['lineGaps']['length']||this['viewport']['to']-this['viewport']['from']>0xfa0)&&this['updateLineGaps'](this['ensureLineGaps'](_0x47a645?[]:this['lineGaps'],_0x5904d6)),_0x23f4bf|=this['computeVisibleRanges'](),this['mustEnforceCursorAssoc']&&(this['mustEnforceCursorAssoc']=!0x1,_0x5904d6['docView']['enforceCursorAssoc']()),_0x23f4bf;}get['visibleTop'](){return this['scaler']['fromDOM'](this['pixelViewport']['top']);}get['visibleBottom'](){return this['scaler']['fromDOM'](this['pixelViewport']['bottom']);}['getViewport'](_0x52040a,_0xb7f35d){let _0x3fbb3b=0.5-Math['max'](-0.5,Math['min'](0.5,_0x52040a/0x3e8/0x2)),_0x53a40d=this['heightMap'],_0x5f58d5=this['heightOracle'],{visibleTop:_0xda3e4c,visibleBottom:_0x4c8553}=this,_0xf84695=new Viewport(_0x53a40d['lineAt'](_0xda3e4c-0x3e8*_0x3fbb3b,_0x39e32a['ByHeight'],_0x5f58d5,0x0,0x0)['from'],_0x53a40d['lineAt'](_0x4c8553+0x3e8*(0x1-_0x3fbb3b),_0x39e32a['ByHeight'],_0x5f58d5,0x0,0x0)['to']);if(_0xb7f35d){let {head:_0x2e5f49}=_0xb7f35d['range'];if(_0x2e5f49<_0xf84695['from']||_0x2e5f49>_0xf84695['to']){let _0x1d3352,_0x3fbb66=Math['min'](this['editorHeight'],this['pixelViewport']['bottom']-this['pixelViewport']['top']),_0x1d3378=_0x53a40d['lineAt'](_0x2e5f49,_0x39e32a['ByPos'],_0x5f58d5,0x0,0x0);_0x1d3352='center'==_0xb7f35d['y']?(_0x1d3378['top']+_0x1d3378['bottom'])/0x2-_0x3fbb66/0x2:'start'==_0xb7f35d['y']||'nearest'==_0xb7f35d['y']&&_0x2e5f49<_0xf84695['from']?_0x1d3378['top']:_0x1d3378['bottom']-_0x3fbb66,_0xf84695=new Viewport(_0x53a40d['lineAt'](_0x1d3352-0x1f4,_0x39e32a['ByHeight'],_0x5f58d5,0x0,0x0)['from'],_0x53a40d['lineAt'](_0x1d3352+_0x3fbb66+0x1f4,_0x39e32a['ByHeight'],_0x5f58d5,0x0,0x0)['to']);}}return _0xf84695;}['mapViewport'](_0x151032,_0x12fe66){let _0x37eb1e=_0x12fe66['mapPos'](_0x151032['from'],-0x1),_0x30f275=_0x12fe66['mapPos'](_0x151032['to'],0x1);return new Viewport(this['heightMap']['lineAt'](_0x37eb1e,_0x39e32a['ByPos'],this['heightOracle'],0x0,0x0)['from'],this['heightMap']['lineAt'](_0x30f275,_0x39e32a['ByPos'],this['heightOracle'],0x0,0x0)['to']);}['viewportIsAppropriate']({from:_0x57dd51,to:_0x5c6fd2},_0x5313e8=0x0){if(!this['inView'])return!0x0;let {top:_0x6e1ca9}=this['heightMap']['lineAt'](_0x57dd51,_0x39e32a['ByPos'],this['heightOracle'],0x0,0x0),{bottom:_0x3fd9f2}=this['heightMap']['lineAt'](_0x5c6fd2,_0x39e32a['ByPos'],this['heightOracle'],0x0,0x0),{visibleTop:_0x4c8003,visibleBottom:_0x317b05}=this;return(0x0==_0x57dd51||_0x6e1ca9<=_0x4c8003-Math['max'](0xa,Math['min'](-_0x5313e8,0xfa)))&&(_0x5c6fd2==this['state']['doc']['length']||_0x3fd9f2>=_0x317b05+Math['max'](0xa,Math['min'](_0x5313e8,0xfa)))&&_0x6e1ca9>_0x4c8003-0x7d0&&_0x3fd9f2<_0x317b05+0x7d0;}['mapLineGaps'](_0x52145d,_0x5f1739){if(!_0x52145d['length']||_0x5f1739['empty'])return _0x52145d;let _0x5d8485=[];for(let _0x1b8642 of _0x52145d)_0x5f1739['touchesRange'](_0x1b8642['from'],_0x1b8642['to'])||_0x5d8485['push'](new _0x44cdcd(_0x5f1739['mapPos'](_0x1b8642['from']),_0x5f1739['mapPos'](_0x1b8642['to']),_0x1b8642['size'],_0x1b8642['displaySize']));return _0x5d8485;}['ensureLineGaps'](_0x143ee7,_0x242cb3){let _0xe66e86=this['heightOracle']['lineWrapping'],_0x508751=_0xe66e86?0x2710:0x7d0,_0x26ea70=_0x508751>>0x1,_0xc072d6=_0x508751<<0x1;if(this['defaultTextDirection']!=Direction['LTR']&&!_0xe66e86)return[];let _0x5ec5f4=[],_0x36523d=(_0x40a0be,_0x115133,_0x1f53b6,_0x36ad46)=>{if(_0x115133-_0x40a0be<_0x26ea70)return;let _0x21bd04=this['state']['selection']['main'],_0x400703=[_0x21bd04['from']];_0x21bd04['empty']||_0x400703['push'](_0x21bd04['to']);for(let _0x32faba of _0x400703)if(_0x32faba>_0x40a0be&&_0x32faba<_0x115133)return _0x36523d(_0x40a0be,_0x32faba-0xa,_0x1f53b6,_0x36ad46),void _0x36523d(_0x32faba+0xa,_0x115133,_0x1f53b6,_0x36ad46);let _0x5665c7=_0x1e3d33(_0x143ee7,_0x5ca5ac=>_0x5ca5ac['from']>=_0x1f53b6['from']&&_0x5ca5ac['to']<=_0x1f53b6['to']&&Math['abs'](_0x5ca5ac['from']-_0x40a0be)<_0x26ea70&&Math['abs'](_0x5ca5ac['to']-_0x115133)<_0x26ea70&&!_0x400703['some'](_0x5d7156=>_0x5ca5ac['from']<_0x5d7156&&_0x5ca5ac['to']>_0x5d7156));if(!_0x5665c7){if(_0x115133<_0x1f53b6['to']&&_0x242cb3&&_0xe66e86&&_0x242cb3['visibleRanges']['some'](_0x45bdc9=>_0x45bdc9['from']<=_0x115133&&_0x45bdc9['to']>=_0x115133)){let _0x14a6f1=_0x242cb3['moveToLineBoundary'](EditorSelection['cursor'](_0x115133),!0x1,!0x0)['head'];_0x14a6f1>_0x40a0be&&(_0x115133=_0x14a6f1);}let _0x2bf4ae=this['gapSize'](_0x1f53b6,_0x40a0be,_0x115133,_0x36ad46);_0x5665c7=new _0x44cdcd(_0x40a0be,_0x115133,_0x2bf4ae,_0xe66e86||_0x2bf4ae<0x1e8480?_0x2bf4ae:0x1e8480);}_0x5ec5f4['push'](_0x5665c7);},_0x315a9b=_0x562037=>{if(_0x562037['length']<_0xc072d6||_0x562037['type']!=_0x4ab331['Text'])return;let _0x2f055b=lineStructure(_0x562037['from'],_0x562037['to'],this['stateDeco']);if(_0x2f055b['total']<_0xc072d6)return;let _0x55aff7,_0x119695,_0x2cfe23=this['scrollTarget']?this['scrollTarget']['range']['head']:null;if(_0xe66e86){let _0x46d49f,_0x232a81,_0x283342=_0x508751/this['heightOracle']['lineLength']*this['heightOracle']['lineHeight'];if(null!=_0x2cfe23){let _0x4e25f4=findFraction(_0x2f055b,_0x2cfe23),_0x55032d=((this['visibleBottom']-this['visibleTop'])/0x2+_0x283342)/_0x562037['height'];_0x46d49f=_0x4e25f4-_0x55032d,_0x232a81=_0x4e25f4+_0x55032d;}else _0x46d49f=(this['visibleTop']-_0x562037['top']-_0x283342)/_0x562037['height'],_0x232a81=(this['visibleBottom']-_0x562037['top']+_0x283342)/_0x562037['height'];_0x55aff7=findPosition(_0x2f055b,_0x46d49f),_0x119695=findPosition(_0x2f055b,_0x232a81);}else{let _0x3d134d=_0x2f055b['total']*this['heightOracle']['charWidth'],_0x3e5567=_0x508751*this['heightOracle']['charWidth'],_0x67ae97=0x0;if(_0x3d134d>0x1e8480){for(let _0x1b4c58 of _0x143ee7)_0x1b4c58['from']>=_0x562037['from']&&_0x1b4c58['from']<_0x562037['to']&&_0x1b4c58['size']!=_0x1b4c58['displaySize']&&_0x1b4c58['from']*this['heightOracle']['charWidth']+_0x67ae97<this['pixelViewport']['left']&&(_0x67ae97=_0x1b4c58['size']-_0x1b4c58['displaySize']);}let _0x3f3a42,_0x57b546,_0x28dabc=this['pixelViewport']['left']+_0x67ae97,_0x45820f=this['pixelViewport']['right']+_0x67ae97;if(null!=_0x2cfe23){let _0x27f122=findFraction(_0x2f055b,_0x2cfe23),_0x48880d=((_0x45820f-_0x28dabc)/0x2+_0x3e5567)/_0x3d134d;_0x3f3a42=_0x27f122-_0x48880d,_0x57b546=_0x27f122+_0x48880d;}else _0x3f3a42=(_0x28dabc-_0x3e5567)/_0x3d134d,_0x57b546=(_0x45820f+_0x3e5567)/_0x3d134d;_0x55aff7=findPosition(_0x2f055b,_0x3f3a42),_0x119695=findPosition(_0x2f055b,_0x57b546);}_0x55aff7>_0x562037['from']&&_0x36523d(_0x562037['from'],_0x55aff7,_0x562037,_0x2f055b),_0x119695<_0x562037['to']&&_0x36523d(_0x119695,_0x562037['to'],_0x562037,_0x2f055b);};for(let _0x4fd2e3 of this['viewportLines'])Array['isArray'](_0x4fd2e3['type'])?_0x4fd2e3['type']['forEach'](_0x315a9b):_0x315a9b(_0x4fd2e3);return _0x5ec5f4;}['gapSize'](_0x4c7961,_0x132408,_0x5625aa,_0x3ca37b){let _0xf5291b=findFraction(_0x3ca37b,_0x5625aa)-findFraction(_0x3ca37b,_0x132408);return this['heightOracle']['lineWrapping']?_0x4c7961['height']*_0xf5291b:_0x3ca37b['total']*this['heightOracle']['charWidth']*_0xf5291b;}['updateLineGaps'](_0x3a55c5){_0x44cdcd['same'](_0x3a55c5,this['lineGaps'])||(this['lineGaps']=_0x3a55c5,this['lineGapDeco']=Decoration['set'](_0x3a55c5['map'](_0x22909d=>_0x22909d['draw'](this,this['heightOracle']['lineWrapping']))));}['computeVisibleRanges'](_0xf5353a){let _0x96d3d4=this['stateDeco'];this['lineGaps']['length']&&(_0x96d3d4=_0x96d3d4['concat'](this['lineGapDeco']));let _0x51aa17=[];RangeSet['spans'](_0x96d3d4,this['viewport']['from'],this['viewport']['to'],{'span'(_0x4f7731,_0x421468){_0x51aa17['push']({'from':_0x4f7731,'to':_0x421468});},'point'(){}},0x14);let _0x3ab6c5=0x0;if(_0x51aa17['length']!=this['visibleRanges']['length'])_0x3ab6c5=0xc;else for(let _0x4e4d7a=0x0;_0x4e4d7a<_0x51aa17['length']&&!(0x8&_0x3ab6c5);_0x4e4d7a++){let _0xe9bc4d=this['visibleRanges'][_0x4e4d7a],_0x1767ce=_0x51aa17[_0x4e4d7a];_0xe9bc4d['from']==_0x1767ce['from']&&_0xe9bc4d['to']==_0x1767ce['to']||(_0x3ab6c5|=0x4,_0xf5353a&&_0xf5353a['mapPos'](_0xe9bc4d['from'],-0x1)==_0x1767ce['from']&&_0xf5353a['mapPos'](_0xe9bc4d['to'],0x1)==_0x1767ce['to']||(_0x3ab6c5|=0x8));}return this['visibleRanges']=_0x51aa17,_0x3ab6c5;}['lineBlockAt'](_0x2e1f5b){return _0x2e1f5b>=this['viewport']['from']&&_0x2e1f5b<=this['viewport']['to']&&this['viewportLines']['find'](_0x4e7d10=>_0x4e7d10['from']<=_0x2e1f5b&&_0x4e7d10['to']>=_0x2e1f5b)||_0x206e51(this['heightMap']['lineAt'](_0x2e1f5b,_0x39e32a['ByPos'],this['heightOracle'],0x0,0x0),this['scaler']);}['lineBlockAtHeight'](_0x34b106){return _0x34b106>=this['viewportLines'][0x0]['top']&&_0x34b106<=this['viewportLines'][this['viewportLines']['length']-0x1]['bottom']&&this['viewportLines']['find'](_0x269e77=>_0x269e77['top']<=_0x34b106&&_0x269e77['bottom']>=_0x34b106)||_0x206e51(this['heightMap']['lineAt'](this['scaler']['fromDOM'](_0x34b106),_0x39e32a['ByHeight'],this['heightOracle'],0x0,0x0),this['scaler']);}['scrollAnchorAt'](_0x1d73c4){let _0x4834da=this['lineBlockAtHeight'](_0x1d73c4+0x8);return _0x4834da['from']>=this['viewport']['from']||this['viewportLines'][0x0]['top']-_0x1d73c4>0xc8?_0x4834da:this['viewportLines'][0x0];}['elementAtHeight'](_0x3262b9){return _0x206e51(this['heightMap']['blockAt'](this['scaler']['fromDOM'](_0x3262b9),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(_0x2b18d8,_0x1d9b35){this['from']=_0x2b18d8,this['to']=_0x1d9b35;}}function lineStructure(_0x4b9e22,_0x2443ba,_0x1091e2){let _0x1ffa25=[],_0x415451=_0x4b9e22,_0x5cd2ec=0x0;return RangeSet['spans'](_0x1091e2,_0x4b9e22,_0x2443ba,{'span'(){},'point'(_0x4e0718,_0x13e3de){_0x4e0718>_0x415451&&(_0x1ffa25['push']({'from':_0x415451,'to':_0x4e0718}),_0x5cd2ec+=_0x4e0718-_0x415451),_0x415451=_0x13e3de;}},0x14),_0x415451<_0x2443ba&&(_0x1ffa25['push']({'from':_0x415451,'to':_0x2443ba}),_0x5cd2ec+=_0x2443ba-_0x415451),{'total':_0x5cd2ec,'ranges':_0x1ffa25};}function findPosition({total:_0x3eaa4a,ranges:_0x1fcba7},_0x2c53dd){if(_0x2c53dd<=0x0)return _0x1fcba7[0x0]['from'];if(_0x2c53dd>=0x1)return _0x1fcba7[_0x1fcba7['length']-0x1]['to'];let _0x15ce9c=Math['floor'](_0x3eaa4a*_0x2c53dd);for(let _0x6574eb=0x0;;_0x6574eb++){let {from:_0x1dda99,to:_0x3e3c1d}=_0x1fcba7[_0x6574eb],_0x516776=_0x3e3c1d-_0x1dda99;if(_0x15ce9c<=_0x516776)return _0x1dda99+_0x15ce9c;_0x15ce9c-=_0x516776;}}function findFraction(_0x412439,_0xb2c36e){let _0x11f6e9=0x0;for(let {from:_0x2e51f2,to:_0x1235dc}of _0x412439['ranges']){if(_0xb2c36e<=_0x1235dc){_0x11f6e9+=_0xb2c36e-_0x2e51f2;break;}_0x11f6e9+=_0x1235dc-_0x2e51f2;}return _0x11f6e9/_0x412439['total'];}function _0x1e3d33(_0x4607ec,_0x1a7abc){for(let _0x31856e of _0x4607ec)if(_0x1a7abc(_0x31856e))return _0x31856e;}const _0x118ccc={'toDOM':_0x42e9fa=>_0x42e9fa,'fromDOM':_0xbe3ec4=>_0xbe3ec4,'scale':0x1,'eq'(_0x173865){return _0x173865==this;}};class _0x3e4c65{constructor(_0x31e1a5,_0x3d5b1c,_0x4069ec){let _0x2989b9=0x0,_0x37db77=0x0,_0x12e5f8=0x0;this['viewports']=_0x4069ec['map'](({from:_0x5eb36a,to:_0x5689cb})=>{let _0x29acab=_0x3d5b1c['lineAt'](_0x5eb36a,_0x39e32a['ByPos'],_0x31e1a5,0x0,0x0)['top'],_0x17d05e=_0x3d5b1c['lineAt'](_0x5689cb,_0x39e32a['ByPos'],_0x31e1a5,0x0,0x0)['bottom'];return _0x2989b9+=_0x17d05e-_0x29acab,{'from':_0x5eb36a,'to':_0x5689cb,'top':_0x29acab,'bottom':_0x17d05e,'domTop':0x0,'domBottom':0x0};}),this['scale']=(0x6acfc0-_0x2989b9)/(_0x3d5b1c['height']-_0x2989b9);for(let _0x485683 of this['viewports'])_0x485683['domTop']=_0x12e5f8+(_0x485683['top']-_0x37db77)*this['scale'],_0x12e5f8=_0x485683['domBottom']=_0x485683['domTop']+(_0x485683['bottom']-_0x485683['top']),_0x37db77=_0x485683['bottom'];}['toDOM'](_0x125cf2){for(let _0x1c67e0=0x0,_0x42e0ef=0x0,_0x517908=0x0;;_0x1c67e0++){let _0x528c23=_0x1c67e0<this['viewports']['length']?this['viewports'][_0x1c67e0]:null;if(!_0x528c23||_0x125cf2<_0x528c23['top'])return _0x517908+(_0x125cf2-_0x42e0ef)*this['scale'];if(_0x125cf2<=_0x528c23['bottom'])return _0x528c23['domTop']+(_0x125cf2-_0x528c23['top']);_0x42e0ef=_0x528c23['bottom'],_0x517908=_0x528c23['domBottom'];}}['fromDOM'](_0x4d35a4){for(let _0x3963ea=0x0,_0x566e5b=0x0,_0x7f78b2=0x0;;_0x3963ea++){let _0x591dbb=_0x3963ea<this['viewports']['length']?this['viewports'][_0x3963ea]:null;if(!_0x591dbb||_0x4d35a4<_0x591dbb['domTop'])return _0x566e5b+(_0x4d35a4-_0x7f78b2)/this['scale'];if(_0x4d35a4<=_0x591dbb['domBottom'])return _0x591dbb['top']+(_0x4d35a4-_0x591dbb['domTop']);_0x566e5b=_0x591dbb['bottom'],_0x7f78b2=_0x591dbb['domBottom'];}}['eq'](_0x3da647){return _0x3da647 instanceof _0x3e4c65&&(this['scale']==_0x3da647['scale']&&this['viewports']['length']==_0x3da647['viewports']['length']&&this['viewports']['every']((_0x57a76d,_0x2d11e5)=>_0x57a76d['from']==_0x3da647['viewports'][_0x2d11e5]['from']&&_0x57a76d['to']==_0x3da647['viewports'][_0x2d11e5]['to']));}}function _0x206e51(_0xa5ecba,_0x4bc535){if(0x1==_0x4bc535['scale'])return _0xa5ecba;let _0x42306f=_0x4bc535['toDOM'](_0xa5ecba['top']),_0x4f69bc=_0x4bc535['toDOM'](_0xa5ecba['bottom']);return new _0x4b7bad(_0xa5ecba['from'],_0xa5ecba['length'],_0x42306f,_0x4f69bc-_0x42306f,Array['isArray'](_0xa5ecba['_content'])?_0xa5ecba['_content']['map'](_0x4a27cc=>_0x206e51(_0x4a27cc,_0x4bc535)):_0xa5ecba['_content']);}const theme=Facet['define']({'combine':_0x31ee95=>_0x31ee95['join']('\x20')}),_0x587c37=Facet['define']({'combine':_0x21f836=>_0x21f836['indexOf'](!0x0)>-0x1}),_0x2a777f=StyleModule['newName'](),baseLightID=StyleModule['newName'](),_0x52363a=StyleModule['newName'](),lightDarkIDs={'&light':'.'+baseLightID,'&dark':'.'+_0x52363a};function _0x376db4(_0x2d2f22,_0x3e5022,_0x4093fc){return new StyleModule(_0x3e5022,{'finish':_0xbc432a=>/&/['test'](_0xbc432a)?_0xbc432a['replace'](/&\w*/,_0x3a82db=>{if('&'==_0x3a82db)return _0x2d2f22;if(!_0x4093fc||!_0x4093fc[_0x3a82db])throw new RangeError('Unsupported\x20selector:\x20'+_0x3a82db);return _0x4093fc[_0x3a82db];}):_0x2d2f22+'\x20'+_0xbc432a});}const _0x30b017=_0x376db4('.'+_0x2a777f,{'&':{'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=_0x2b04e4['ie']&&_0x2b04e4['ie_version']<=0xb;class _0x2cedeb{constructor(_0x37e7e5){this['view']=_0x37e7e5,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']=_0x37e7e5['contentDOM'],this['observer']=new MutationObserver(_0x5e0a51=>{for(let _0x2cb6d8 of _0x5e0a51)this['queue']['push'](_0x2cb6d8);(_0x2b04e4['ie']&&_0x2b04e4['ie_version']<=0xb||_0x2b04e4['ios']&&_0x37e7e5['composing'])&&_0x5e0a51['some'](_0x3501a4=>'childList'==_0x3501a4['type']&&_0x3501a4['removedNodes']['length']||'characterData'==_0x3501a4['type']&&_0x3501a4['oldValue']['length']>_0x3501a4['target']['nodeValue']['length'])?this['flushSoon']():this['flush']();}),!window['EditContext']||!_0x2b04e4['android']||!0x1===_0x37e7e5['constructor']['EDIT_CONTEXT']||_0x2b04e4['chrome']&&_0x2b04e4['chrome_version']<0x7e||(this['editContext']=new EditContextManager(_0x37e7e5),_0x37e7e5['state']['facet'](editable)&&(_0x37e7e5['contentDOM']['editContext']=this['editContext']['editContext'])),useCharData&&(this['onCharData']=_0xa0668e=>{this['queue']['push']({'target':_0xa0668e['target'],'type':'characterData','oldValue':_0xa0668e['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 _0x1e879e;(null===(_0x1e879e=this['view']['docView'])||void 0x0===_0x1e879e?void 0x0:_0x1e879e['lastUpdate'])<Date['now']()-0x4b&&this['onResize']();}),this['resizeScroll']['observe'](_0x37e7e5['scrollDOM'])),this['addWindowListeners'](this['win']=_0x37e7e5['win']),this['start'](),'function'==typeof IntersectionObserver&&(this['intersection']=new IntersectionObserver(_0x1add63=>{this['parentCheck']<0x0&&(this['parentCheck']=setTimeout(this['listenForScroll']['bind'](this),0x3e8)),_0x1add63['length']>0x0&&_0x1add63[_0x1add63['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(_0x4a8102=>{_0x4a8102['length']>0x0&&_0x4a8102[_0x4a8102['length']-0x1]['intersectionRatio']>0x0&&this['onScrollChanged'](document['createEvent']('Event'));},{})),this['listenForScroll'](),this['readSelectionRange']();}['onScrollChanged'](_0x5a8e41){this['view']['inputState']['runHandlers']('scroll',_0x5a8e41),this['intersecting']&&this['view']['measure']();}['onScroll'](_0x2d56e8){this['intersecting']&&this['flush'](!0x1),this['editContext']&&this['view']['requestMeasure'](this['editContext']['measureReq']),this['onScrollChanged'](_0x2d56e8);}['onResize'](){this['resizeTimeout']<0x0&&(this['resizeTimeout']=setTimeout(()=>{this['resizeTimeout']=-0x1,this['view']['requestMeasure']();},0x32));}['onPrint'](_0x37f357){('change'!=_0x37f357['type']&&_0x37f357['type']||_0x37f357['matches'])&&(this['view']['viewState']['printing']=!0x0,this['view']['measure'](),setTimeout(()=>{this['view']['viewState']['printing']=!0x1,this['view']['requestMeasure']();},0x1f4));}['updateGaps'](_0xc7e13f){if(this['gapIntersection']&&(_0xc7e13f['length']!=this['gaps']['length']||this['gaps']['some']((_0x8cc90d,_0x1b909c)=>_0x8cc90d!=_0xc7e13f[_0x1b909c]))){this['gapIntersection']['disconnect']();for(let _0x39deac of _0xc7e13f)this['gapIntersection']['observe'](_0x39deac);this['gaps']=_0xc7e13f;}}['onSelectionChange'](_0x34aa24){let _0x27c46f=this['selectionChanged'];if(!this['readSelectionRange']()||this['delayedAndroidKey'])return;let {view:_0x2a6cc5}=this,_0x3a268c=this['selectionRange'];if(_0x2a6cc5['state']['facet'](editable)?_0x2a6cc5['root']['activeElement']!=this['dom']:!hasSelection(this['dom'],_0x3a268c))return;let _0x443341=_0x3a268c['anchorNode']&&_0x2a6cc5['docView']['nearest'](_0x3a268c['anchorNode']);_0x443341&&_0x443341['ignoreEvent'](_0x34aa24)?_0x27c46f||(this['selectionChanged']=!0x1):(_0x2b04e4['ie']&&_0x2b04e4['ie_version']<=0xb||_0x2b04e4['android']&&_0x2b04e4['chrome'])&&!_0x2a6cc5['state']['selection']['main']['empty']&&_0x3a268c['focusNode']&&isEquivalentPosition(_0x3a268c['focusNode'],_0x3a268c['focusOffset'],_0x3a268c['anchorNode'],_0x3a268c['anchorOffset'])?this['flushSoon']():this['flush'](!0x1);}['readSelectionRange'](){let {view:_0x1493c6}=this,_0x450d8d=getSelection(_0x1493c6['root']);if(!_0x450d8d)return!0x1;let _0x5361c1=_0x2b04e4['safari']&&0xb==_0x1493c6['root']['nodeType']&&_0x1493c6['root']['activeElement']==this['dom']&&safariSelectionRangeHack(this['view'],_0x450d8d)||_0x450d8d;if(!_0x5361c1||this['selectionRange']['eq'](_0x5361c1))return!0x1;let _0x1a066e=hasSelection(this['dom'],_0x5361c1);return _0x1a066e&&!this['selectionChanged']&&_0x1493c6['inputState']['lastFocusTime']>Date['now']()-0xc8&&_0x1493c6['inputState']['lastTouchTime']<Date['now']()-0x12c&&atElementStart(this['dom'],_0x5361c1)?(this['view']['inputState']['lastFocusTime']=0x0,_0x1493c6['docView']['updateSelection'](),!0x1):(this['selectionRange']['setRange'](_0x5361c1),_0x1a066e&&(this['selectionChanged']=!0x0),!0x0);}['setSelectionRange'](_0x33cdb1,_0x26dcfb){this['selectionRange']['set'](_0x33cdb1['node'],_0x33cdb1['offset'],_0x26dcfb['node'],_0x26dcfb['offset']),this['selectionChanged']=!0x1;}['clearSelectionRange'](){this['selectionRange']['set'](null,0x0,null,0x0);}['listenForScroll'](){this['parentCheck']=-0x1;let _0x233cf6=0x0,_0x59c56e=null;for(let _0xc9a0ee=this['dom'];_0xc9a0ee;)if(0x1==_0xc9a0ee['nodeType'])!_0x59c56e&&_0x233cf6<this['scrollTargets']['length']&&this['scrollTargets'][_0x233cf6]==_0xc9a0ee?_0x233cf6++:_0x59c56e||(_0x59c56e=this['scrollTargets']['slice'](0x0,_0x233cf6)),_0x59c56e&&_0x59c56e['push'](_0xc9a0ee),_0xc9a0ee=_0xc9a0ee['assignedSlot']||_0xc9a0ee['parentNode'];else{if(0xb!=_0xc9a0ee['nodeType'])break;_0xc9a0ee=_0xc9a0ee['host'];}if(_0x233cf6<this['scrollTargets']['length']&&!_0x59c56e&&(_0x59c56e=this['scrollTargets']['slice'](0x0,_0x233cf6)),_0x59c56e){for(let _0x232d99 of this['scrollTargets'])_0x232d99['removeEventListener']('scroll',this['onScroll']);for(let _0x2bbd84 of this['scrollTargets']=_0x59c56e)_0x2bbd84['addEventListener']('scroll',this['onScroll']);}}['ignore'](_0x3c8130){if(!this['active'])return _0x3c8130();try{return this['stop'](),_0x3c8130();}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'](_0xad8e5f,_0x406395){var _0x373201;if(!this['delayedAndroidKey']){let _0x5bbf24=()=>{let _0x3084d2=this['delayedAndroidKey'];_0x3084d2&&(this['clearDelayedAndroidKey'](),this['view']['inputState']['lastKeyCode']=_0x3084d2['keyCode'],this['view']['inputState']['lastKeyTime']=Date['now'](),!this['flush']()&&_0x3084d2['force']&&dispatchKey(this['dom'],_0x3084d2['key'],_0x3084d2['keyCode']));};this['flushingAndroidKey']=this['view']['win']['requestAnimationFrame'](_0x5bbf24);}this['delayedAndroidKey']&&'Enter'!=_0xad8e5f||(this['delayedAndroidKey']={'key':_0xad8e5f,'keyCode':_0x406395,'force':this['lastChange']<Date['now']()-0x32||!!(null===(_0x373201=this['delayedAndroidKey'])||void 0x0===_0x373201?void 0x0:_0x373201['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 _0x597986 of this['observer']['takeRecords']())this['queue']['push'](_0x597986);return this['queue'];}['processRecords'](){let _0x2795e4=this['pendingRecords']();_0x2795e4['length']&&(this['queue']=[]);let _0x299d2a=-0x1,_0x3a0bb4=-0x1,_0x82a130=!0x1;for(let _0x117e9e of _0x2795e4){let _0x346463=this['readMutation'](_0x117e9e);_0x346463&&(_0x346463['typeOver']&&(_0x82a130=!0x0),-0x1==_0x299d2a?{from:_0x299d2a,to:_0x3a0bb4}=_0x346463:(_0x299d2a=Math['min'](_0x346463['from'],_0x299d2a),_0x3a0bb4=Math['max'](_0x346463['to'],_0x3a0bb4)));}return{'from':_0x299d2a,'to':_0x3a0bb4,'typeOver':_0x82a130};}['readChange'](){let {from:_0xc238dc,to:_0x303b8b,typeOver:_0x1885c1}=this['processRecords'](),_0x3df8=this['selectionChanged']&&hasSelection(this['dom'],this['selectionRange']);if(_0xc238dc<0x0&&!_0x3df8)return null;_0xc238dc>-0x1&&(this['lastChange']=Date['now']()),this['view']['inputState']['lastFocusTime']=0x0,this['selectionChanged']=!0x1;let _0x598fd6=new _0x4c0998(this['view'],_0xc238dc,_0x303b8b,_0x1885c1);return this['view']['docView']['domChanged']={'newSel':_0x598fd6['newSel']?_0x598fd6['newSel']['main']:null},_0x598fd6;}['flush'](_0x3c9efb=!0x0){if(this['delayedFlush']>=0x0||this['delayedAndroidKey'])return!0x1;_0x3c9efb&&this['readSelectionRange']();let _0x20ae7e=this['readChange']();if(!_0x20ae7e)return this['view']['requestMeasure'](),!0x1;let _0x495dc4=this['view']['state'],_0x71faaa=_0x26bc4d(this['view'],_0x20ae7e);return this['view']['state']==_0x495dc4&&(_0x20ae7e['domChanged']||_0x20ae7e['newSel']&&!_0x20ae7e['newSel']['main']['eq'](this['view']['state']['selection']['main']))&&this['view']['update']([]),_0x71faaa;}['readMutation'](_0x4b5e89){let _0x2bc02a=this['view']['docView']['nearest'](_0x4b5e89['target']);if(!_0x2bc02a||_0x2bc02a['ignoreMutation'](_0x4b5e89))return null;if(_0x2bc02a['markDirty']('attributes'==_0x4b5e89['type']),'attributes'==_0x4b5e89['type']&&(_0x2bc02a['flags']|=0x4),'childList'==_0x4b5e89['type']){let _0x355309=_0x287b88(_0x2bc02a,_0x4b5e89['previousSibling']||_0x4b5e89['target']['previousSibling'],-0x1),_0x2e6f55=_0x287b88(_0x2bc02a,_0x4b5e89['nextSibling']||_0x4b5e89['target']['nextSibling'],0x1);return{'from':_0x355309?_0x2bc02a['posAfter'](_0x355309):_0x2bc02a['posAtStart'],'to':_0x2e6f55?_0x2bc02a['posBefore'](_0x2e6f55):_0x2bc02a['posAtEnd'],'typeOver':!0x1};}return'characterData'==_0x4b5e89['type']?{'from':_0x2bc02a['posAtStart'],'to':_0x2bc02a['posAtEnd'],'typeOver':_0x4b5e89['target']['nodeValue']==_0x4b5e89['oldValue']}:null;}['setWindow'](_0x4c1048){_0x4c1048!=this['win']&&(this['removeWindowListeners'](this['win']),this['win']=_0x4c1048,this['addWindowListeners'](this['win']));}['addWindowListeners'](_0x1590ff){_0x1590ff['addEventListener']('resize',this['onResize']),this['printQuery']?this['printQuery']['addEventListener']?this['printQuery']['addEventListener']('change',this['onPrint']):this['printQuery']['addListener'](this['onPrint']):_0x1590ff['addEventListener']('beforeprint',this['onPrint']),_0x1590ff['addEventListener']('scroll',this['onScroll']),_0x1590ff['document']['addEventListener']('selectionchange',this['onSelectionChange']);}['removeWindowListeners'](_0x585e42){_0x585e42['removeEventListener']('scroll',this['onScroll']),_0x585e42['removeEventListener']('resize',this['onResize']),this['printQuery']?this['printQuery']['removeEventListener']?this['printQuery']['removeEventListener']('change',this['onPrint']):this['printQuery']['removeListener'](this['onPrint']):_0x585e42['removeEventListener']('beforeprint',this['onPrint']),_0x585e42['document']['removeEventListener']('selectionchange',this['onSelectionChange']);}['update'](_0x1e3b43){this['editContext']&&(this['editContext']['update'](_0x1e3b43),_0x1e3b43['startState']['facet'](editable)!=_0x1e3b43['state']['facet'](editable)&&(_0x1e3b43['view']['contentDOM']['editContext']=_0x1e3b43['state']['facet'](editable)?this['editContext']['editContext']:null));}['destroy'](){var _0x93efe3,_0x335c77,_0x1f01bc;this['stop'](),null===(_0x93efe3=this['intersection'])||void 0x0===_0x93efe3||_0x93efe3['disconnect'](),null===(_0x335c77=this['gapIntersection'])||void 0x0===_0x335c77||_0x335c77['disconnect'](),null===(_0x1f01bc=this['resizeScroll'])||void 0x0===_0x1f01bc||_0x1f01bc['disconnect']();for(let _0x322341 of this['scrollTargets'])_0x322341['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 _0x287b88(_0x61c568,_0x1e78f0,_0x309396){for(;_0x1e78f0;){let _0x5b80a5=ContentView['get'](_0x1e78f0);if(_0x5b80a5&&_0x5b80a5['parent']==_0x61c568)return _0x5b80a5;let _0x380993=_0x1e78f0['parentNode'];_0x1e78f0=_0x380993!=_0x61c568['dom']?_0x380993:_0x309396>0x0?_0x1e78f0['nextSibling']:_0x1e78f0['previousSibling'];}return null;}function buildSelectionRangeFromRange(_0x409b39,_0x5e86ba){let _0x12cd8a=_0x5e86ba['startContainer'],_0x73e5e7=_0x5e86ba['startOffset'],_0x15cfee=_0x5e86ba['endContainer'],_0x7cd4ed=_0x5e86ba['endOffset'],_0x1e98af=_0x409b39['docView']['domAtPos'](_0x409b39['state']['selection']['main']['anchor']);return isEquivalentPosition(_0x1e98af['node'],_0x1e98af['offset'],_0x15cfee,_0x7cd4ed)&&([_0x12cd8a,_0x73e5e7,_0x15cfee,_0x7cd4ed]=[_0x15cfee,_0x7cd4ed,_0x12cd8a,_0x73e5e7]),{'anchorNode':_0x12cd8a,'anchorOffset':_0x73e5e7,'focusNode':_0x15cfee,'focusOffset':_0x7cd4ed};}function safariSelectionRangeHack(_0x5cd2ab,_0x497e43){if(_0x497e43['getComposedRanges']){let _0x37923c=_0x497e43['getComposedRanges'](_0x5cd2ab['root'])[0x0];if(_0x37923c)return buildSelectionRangeFromRange(_0x5cd2ab,_0x37923c);}let _0x4ce53b=null;function _0x2ffc53(_0x884cd4){_0x884cd4['preventDefault'](),_0x884cd4['stopImmediatePropagation'](),_0x4ce53b=_0x884cd4['getTargetRanges']()[0x0];}return _0x5cd2ab['contentDOM']['addEventListener']('beforeinput',_0x2ffc53,!0x0),_0x5cd2ab['dom']['ownerDocument']['execCommand']('indent'),_0x5cd2ab['contentDOM']['removeEventListener']('beforeinput',_0x2ffc53,!0x0),_0x4ce53b?buildSelectionRangeFromRange(_0x5cd2ab,_0x4ce53b):null;}class EditContextManager{constructor(_0x226b46){this['from']=0x0,this['to']=0x0,this['pendingContextChange']=null,this['handlers']=Object['create'](null),this['composing']=null,this['resetRange'](_0x226b46['state']);let _0x27f738=this['editContext']=new window['EditContext']({'text':_0x226b46['state']['doc']['sliceString'](this['from'],this['to']),'selectionStart':this['toContextPos'](Math['max'](this['from'],Math['min'](this['to'],_0x226b46['state']['selection']['main']['anchor']))),'selectionEnd':this['toContextPos'](_0x226b46['state']['selection']['main']['head'])});this['handlers']['textupdate']=_0x565783=>{let _0x42e4cb=_0x226b46['state']['selection']['main'],{anchor:_0xe3b58,head:_0x4bdbae}=_0x42e4cb,_0xd12694=this['toEditorPos'](_0x565783['updateRangeStart']),_0x5efe04=this['toEditorPos'](_0x565783['updateRangeEnd']);_0x226b46['inputState']['composing']>=0x0&&!this['composing']&&(this['composing']={'contextBase':_0x565783['updateRangeStart'],'editorBase':_0xd12694,'drifted':!0x1});let _0x38de11={'from':_0xd12694,'to':_0x5efe04,'insert':Text['of'](_0x565783['text']['split']('\x0a'))};if(_0x38de11['from']==this['from']&&_0xe3b58<this['from']?_0x38de11['from']=_0xe3b58:_0x38de11['to']==this['to']&&_0xe3b58>this['to']&&(_0x38de11['to']=_0xe3b58),_0x38de11['from']==_0x38de11['to']&&!_0x38de11['insert']['length']){let _0x109efb=EditorSelection['single'](this['toEditorPos'](_0x565783['selectionStart']),this['toEditorPos'](_0x565783['selectionEnd']));return void(_0x109efb['main']['eq'](_0x42e4cb)||_0x226b46['dispatch']({'selection':_0x109efb,'userEvent':'select'}));}if((_0x2b04e4['mac']||_0x2b04e4['android'])&&_0x38de11['from']==_0x4bdbae-0x1&&/^\. ?$/['test'](_0x565783['text'])&&'off'==_0x226b46['contentDOM']['getAttribute']('autocorrect')&&(_0x38de11={'from':_0xd12694,'to':_0x5efe04,'insert':Text['of']([_0x565783['text']['replace']('.','\x20')])}),this['pendingContextChange']=_0x38de11,!_0x226b46['state']['readOnly']){let _0x5616ae=this['to']-this['from']+(_0x38de11['to']-_0x38de11['from']+_0x38de11['insert']['length']);_0x5a3377(_0x226b46,_0x38de11,EditorSelection['single'](this['toEditorPos'](_0x565783['selectionStart'],_0x5616ae),this['toEditorPos'](_0x565783['selectionEnd'],_0x5616ae)));}this['pendingContextChange']&&(this['revertPending'](_0x226b46['state']),this['setSelection'](_0x226b46['state']));},this['handlers']['characterboundsupdate']=_0x170b75=>{let _0x5b5d56=[],_0x1f7f83=null;for(let _0x1a4b82=this['toEditorPos'](_0x170b75['rangeStart']),_0x51d54b=this['toEditorPos'](_0x170b75['rangeEnd']);_0x1a4b82<_0x51d54b;_0x1a4b82++){let _0x5d5561=_0x226b46['coordsForChar'](_0x1a4b82);_0x1f7f83=_0x5d5561&&new DOMRect(_0x5d5561['left'],_0x5d5561['top'],_0x5d5561['right']-_0x5d5561['left'],_0x5d5561['bottom']-_0x5d5561['top'])||_0x1f7f83||new DOMRect(),_0x5b5d56['push'](_0x1f7f83);}_0x27f738['updateCharacterBounds'](_0x170b75['rangeStart'],_0x5b5d56);},this['handlers']['textformatupdate']=_0x405e1f=>{let _0x2071a1=[];for(let _0x3a5c12 of _0x405e1f['getTextFormats']()){let _0x26bb73=_0x3a5c12['underlineStyle'],_0x122f79=_0x3a5c12['underlineThickness'];if('None'!=_0x26bb73&&'None'!=_0x122f79){let _0x57b5f9=this['toEditorPos'](_0x3a5c12['rangeStart']),_0x366f9d=this['toEditorPos'](_0x3a5c12['rangeEnd']);if(_0x57b5f9<_0x366f9d){let _0x3d2f24='text-decoration:\x20underline\x20'+('Dashed'==_0x26bb73?'dashed\x20':'Squiggle'==_0x26bb73?'wavy\x20':'')+('Thin'==_0x122f79?0x1:0x2)+'px';_0x2071a1['push'](Decoration['mark']({'attributes':{'style':_0x3d2f24}})['range'](_0x57b5f9,_0x366f9d));}}}_0x226b46['dispatch']({'effects':setEditContextFormatting['of'](Decoration['set'](_0x2071a1))});},this['handlers']['compositionstart']=()=>{_0x226b46['inputState']['composing']<0x0&&(_0x226b46['inputState']['composing']=0x0,_0x226b46['inputState']['compositionFirstChange']=!0x0);},this['handlers']['compositionend']=()=>{if(_0x226b46['inputState']['composing']=-0x1,_0x226b46['inputState']['compositionFirstChange']=null,this['composing']){let {drifted:_0x1db4c5}=this['composing'];this['composing']=null,_0x1db4c5&&this['reset'](_0x226b46['state']);}};for(let _0x31dd54 in this['handlers'])_0x27f738['addEventListener'](_0x31dd54,this['handlers'][_0x31dd54]);this['measureReq']={'read':_0x435069=>{this['editContext']['updateControlBounds'](_0x435069['contentDOM']['getBoundingClientRect']());let _0x4b4446=getSelection(_0x435069['root']);_0x4b4446&&_0x4b4446['rangeCount']&&this['editContext']['updateSelectionBounds'](_0x4b4446['getRangeAt'](0x0)['getBoundingClientRect']());}};}['applyEdits'](_0x12d3dc){let _0xc521fc=0x0,_0x28f11d=!0x1,_0x157987=this['pendingContextChange'];return _0x12d3dc['changes']['iterChanges']((_0x5405e6,_0x382efd,_0x50a8c7,_0x1de28d,_0x59c238)=>{if(_0x28f11d)return;let _0x101636=_0x59c238['length']-(_0x382efd-_0x5405e6);if(_0x157987&&_0x382efd>=_0x157987['to']){if(_0x157987['from']==_0x5405e6&&_0x157987['to']==_0x382efd&&_0x157987['insert']['eq'](_0x59c238))return _0x157987=this['pendingContextChange']=null,_0xc521fc+=_0x101636,void(this['to']+=_0x101636);_0x157987=null,this['revertPending'](_0x12d3dc['state']);}if(_0x5405e6+=_0xc521fc,(_0x382efd+=_0xc521fc)<=this['from'])this['from']+=_0x101636,this['to']+=_0x101636;else{if(_0x5405e6<this['to']){if(_0x5405e6<this['from']||_0x382efd>this['to']||this['to']-this['from']+_0x59c238['length']>0x7530)return void(_0x28f11d=!0x0);this['editContext']['updateText'](this['toContextPos'](_0x5405e6),this['toContextPos'](_0x382efd),_0x59c238['toString']()),this['to']+=_0x101636;}}_0xc521fc+=_0x101636;}),_0x157987&&!_0x28f11d&&this['revertPending'](_0x12d3dc['state']),!_0x28f11d;}['update'](_0x367c54){let _0x3f22fd=this['pendingContextChange'],_0x1d7f81=_0x367c54['startState']['selection']['main'];this['composing']&&(this['composing']['drifted']||!_0x367c54['changes']['touchesRange'](_0x1d7f81['from'],_0x1d7f81['to'])&&_0x367c54['transactions']['some'](_0x13f4e8=>!_0x13f4e8['isUserEvent']('input.type')&&_0x13f4e8['changes']['touchesRange'](this['from'],this['to'])))?(this['composing']['drifted']=!0x0,this['composing']['editorBase']=_0x367c54['changes']['mapPos'](this['composing']['editorBase'])):this['applyEdits'](_0x367c54)&&this['rangeIsValid'](_0x367c54['state'])?(_0x367c54['docChanged']||_0x367c54['selectionSet']||_0x3f22fd)&&this['setSelection'](_0x367c54['state']):(this['pendingContextChange']=null,this['reset'](_0x367c54['state'])),(_0x367c54['geometryChanged']||_0x367c54['docChanged']||_0x367c54['selectionSet'])&&_0x367c54['view']['requestMeasure'](this['measureReq']);}['resetRange'](_0x464cbd){let {head:_0x49c878}=_0x464cbd['selection']['main'];this['from']=Math['max'](0x0,_0x49c878-0x2710),this['to']=Math['min'](_0x464cbd['doc']['length'],_0x49c878+0x2710);}['reset'](_0x2a72fc){this['resetRange'](_0x2a72fc),this['editContext']['updateText'](0x0,this['editContext']['text']['length'],_0x2a72fc['doc']['sliceString'](this['from'],this['to'])),this['setSelection'](_0x2a72fc);}['revertPending'](_0x57fd55){let _0x2d61f3=this['pendingContextChange'];this['pendingContextChange']=null,this['editContext']['updateText'](this['toContextPos'](_0x2d61f3['from']),this['toContextPos'](_0x2d61f3['from']+_0x2d61f3['insert']['length']),_0x57fd55['doc']['sliceString'](_0x2d61f3['from'],_0x2d61f3['to']));}['setSelection'](_0x13f334){let {main:_0x8070c5}=_0x13f334['selection'],_0x24a239=this['toContextPos'](Math['max'](this['from'],Math['min'](this['to'],_0x8070c5['anchor']))),_0x5baaa8=this['toContextPos'](_0x8070c5['head']);this['editContext']['selectionStart']==_0x24a239&&this['editContext']['selectionEnd']==_0x5baaa8||this['editContext']['updateSelection'](_0x24a239,_0x5baaa8);}['rangeIsValid'](_0xce8dc7){let {head:_0x1d8aa2}=_0xce8dc7['selection']['main'];return!(this['from']>0x0&&_0x1d8aa2-this['from']<0x1f4||this['to']<_0xce8dc7['doc']['length']&&this['to']-_0x1d8aa2<0x1f4||this['to']-this['from']>0x7530);}['toEditorPos'](_0x42137b,_0x231e09=this['to']-this['from']){_0x42137b=Math['min'](_0x42137b,_0x231e09);let _0x10f2e8=this['composing'];return _0x10f2e8&&_0x10f2e8['drifted']?_0x10f2e8['editorBase']+(_0x42137b-_0x10f2e8['contextBase']):_0x42137b+this['from'];}['toContextPos'](_0x28c270){let _0x1f7365=this['composing'];return _0x1f7365&&_0x1f7365['drifted']?_0x1f7365['contextBase']+(_0x28c270-_0x1f7365['editorBase']):_0x28c270-this['from'];}['destroy'](){for(let _0x35ec0f in this['handlers'])this['editContext']['removeEventListener'](_0x35ec0f,this['handlers'][_0x35ec0f]);}}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(_0x12da9c={}){var _0x5dea77;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']),_0x12da9c['parent']&&_0x12da9c['parent']['appendChild'](this['dom']);let {dispatch:_0x26843c}=_0x12da9c;this['dispatchTransactions']=_0x12da9c['dispatchTransactions']||_0x26843c&&(_0x5c0c97=>_0x5c0c97['forEach'](_0x732856=>_0x26843c(_0x732856,this)))||(_0x987bb3=>this['update'](_0x987bb3)),this['dispatch']=this['dispatch']['bind'](this),this['_root']=_0x12da9c['root']||getRoot(_0x12da9c['parent'])||document,this['viewState']=new ViewState(_0x12da9c['state']||EditorState['create'](_0x12da9c)),_0x12da9c['scrollTo']&&_0x12da9c['scrollTo']['is'](scrollIntoView$1)&&(this['viewState']['scrollTarget']=_0x12da9c['scrollTo']['value']['clip'](this['viewState']['state'])),this['plugins']=this['state']['facet'](_0xd32381)['map'](_0x96e42a=>new PluginInstance(_0x96e42a));for(let _0x76f4d of this['plugins'])_0x76f4d['update'](this);this['observer']=new _0x2cedeb(this),this['inputState']=new InputState(this),this['inputState']['ensureHandlers'](this['plugins']),this['docView']=new _0x40cfa6(this),this['mountStyles'](),this['updateAttrs'](),this['updateState']=0x0,this['requestMeasure'](),(null===(_0x5dea77=document['fonts'])||void 0x0===_0x5dea77?void 0x0:_0x5dea77['ready'])&&document['fonts']['ready']['then'](()=>this['requestMeasure']());}['dispatch'](..._0x25064e){let _0x4ad6d3=0x1==_0x25064e['length']&&_0x25064e[0x0]instanceof Transaction?_0x25064e:0x1==_0x25064e['length']&&Array['isArray'](_0x25064e[0x0])?_0x25064e[0x0]:[this['state']['update'](..._0x25064e)];this['dispatchTransactions'](_0x4ad6d3,this);}['update'](_0x1115c1){if(0x0!=this['updateState'])throw new Error('Calls\x20to\x20EditorView.update\x20are\x20not\x20allowed\x20while\x20an\x20update\x20is\x20in\x20progress');let _0x458ab2,_0x427ae9=!0x1,_0x53d369=!0x1,_0x5689c6=this['state'];for(let _0x5c78be of _0x1115c1){if(_0x5c78be['startState']!=_0x5689c6)throw new RangeError('Trying\x20to\x20update\x20state\x20with\x20a\x20transaction\x20that\x20doesn\x27t\x20start\x20from\x20the\x20previous\x20state.');_0x5689c6=_0x5c78be['state'];}if(this['destroyed'])return void(this['viewState']['state']=_0x5689c6);let _0x3704a8=this['hasFocus'],_0x1a330e=0x0,_0x4102e9=null;_0x1115c1['some'](_0x1b4c86=>_0x1b4c86['annotation'](_0xfcf36))?(this['inputState']['notifiedFocused']=_0x3704a8,_0x1a330e=0x1):_0x3704a8!=this['inputState']['notifiedFocused']&&(this['inputState']['notifiedFocused']=_0x3704a8,_0x4102e9=focusChangeTransaction(_0x5689c6,_0x3704a8),_0x4102e9||(_0x1a330e=0x1));let _0x5e0faa=this['observer']['delayedAndroidKey'],_0x16b599=null;if(_0x5e0faa?(this['observer']['clearDelayedAndroidKey'](),_0x16b599=this['observer']['readChange'](),(_0x16b599&&!this['state']['doc']['eq'](_0x5689c6['doc'])||!this['state']['selection']['eq'](_0x5689c6['selection']))&&(_0x16b599=null)):this['observer']['clear'](),_0x5689c6['facet'](EditorState['phrases'])!=this['state']['facet'](EditorState['phrases']))return this['setState'](_0x5689c6);_0x458ab2=ViewUpdate['create'](this,_0x5689c6,_0x1115c1),_0x458ab2['flags']|=_0x1a330e;let _0x4c41b8=this['viewState']['scrollTarget'];try{this['updateState']=0x2;for(let _0x14e85d of _0x1115c1){if(_0x4c41b8&&(_0x4c41b8=_0x4c41b8['map'](_0x14e85d['changes'])),_0x14e85d['scrollIntoView']){let {main:_0x4cf2fa}=_0x14e85d['state']['selection'];_0x4c41b8=new ScrollTarget(_0x4cf2fa['empty']?_0x4cf2fa:EditorSelection['cursor'](_0x4cf2fa['head'],_0x4cf2fa['head']>_0x4cf2fa['anchor']?-0x1:0x1));}for(let _0xc66905 of _0x14e85d['effects'])_0xc66905['is'](scrollIntoView$1)&&(_0x4c41b8=_0xc66905['value']['clip'](this['state']));}this['viewState']['update'](_0x458ab2,_0x4c41b8),this['bidiCache']=_0x531cc2['update'](this['bidiCache'],_0x458ab2['changes']),_0x458ab2['empty']||(this['updatePlugins'](_0x458ab2),this['inputState']['update'](_0x458ab2)),_0x427ae9=this['docView']['update'](_0x458ab2),this['state']['facet'](styleModule)!=this['styleModules']&&this['mountStyles'](),_0x53d369=this['updateAttrs'](),this['showAnnouncements'](_0x1115c1),this['docView']['updateSelection'](_0x427ae9,_0x1115c1['some'](_0x2ad746=>_0x2ad746['isUserEvent']('select.pointer')));}finally{this['updateState']=0x0;}if(_0x458ab2['startState']['facet'](theme)!=_0x458ab2['state']['facet'](theme)&&(this['viewState']['mustMeasureContent']=!0x0),(_0x427ae9||_0x53d369||_0x4c41b8||this['viewState']['mustEnforceCursorAssoc']||this['viewState']['mustMeasureContent'])&&this['requestMeasure'](),_0x427ae9&&this['docViewUpdate'](),!_0x458ab2['empty']){for(let _0x2ca210 of this['state']['facet'](updateListener))try{_0x2ca210(_0x458ab2);}catch(_0x321443){logException(this['state'],_0x321443,'update\x20listener');}}(_0x4102e9||_0x16b599)&&Promise['resolve']()['then'](()=>{_0x4102e9&&this['state']==_0x4102e9['startState']&&this['dispatch'](_0x4102e9),_0x16b599&&!_0x26bc4d(this,_0x16b599)&&_0x5e0faa['force']&&dispatchKey(this['contentDOM'],_0x5e0faa['key'],_0x5e0faa['keyCode']);});}['setState'](_0x2895f6){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']=_0x2895f6);this['updateState']=0x2;let _0xae6bc2=this['hasFocus'];try{for(let _0x310d27 of this['plugins'])_0x310d27['destroy'](this);this['viewState']=new ViewState(_0x2895f6),this['plugins']=_0x2895f6['facet'](_0xd32381)['map'](_0x5c9b07=>new PluginInstance(_0x5c9b07)),this['pluginMap']['clear']();for(let _0x3c753f of this['plugins'])_0x3c753f['update'](this);this['docView']['destroy'](),this['docView']=new _0x40cfa6(this),this['inputState']['ensureHandlers'](this['plugins']),this['mountStyles'](),this['updateAttrs'](),this['bidiCache']=[];}finally{this['updateState']=0x0;}_0xae6bc2&&this['focus'](),this['requestMeasure']();}['updatePlugins'](_0x4b601a){let _0x1467b6=_0x4b601a['startState']['facet'](_0xd32381),_0x1aa8c5=_0x4b601a['state']['facet'](_0xd32381);if(_0x1467b6!=_0x1aa8c5){let _0x3aaae2=[];for(let _0x57bd5b of _0x1aa8c5){let _0x19f1df=_0x1467b6['indexOf'](_0x57bd5b);if(_0x19f1df<0x0)_0x3aaae2['push'](new PluginInstance(_0x57bd5b));else{let _0x549288=this['plugins'][_0x19f1df];_0x549288['mustUpdate']=_0x4b601a,_0x3aaae2['push'](_0x549288);}}for(let _0x590856 of this['plugins'])_0x590856['mustUpdate']!=_0x4b601a&&_0x590856['destroy'](this);this['plugins']=_0x3aaae2,this['pluginMap']['clear']();}else{for(let _0x5926bd of this['plugins'])_0x5926bd['mustUpdate']=_0x4b601a;}for(let _0x22812e=0x0;_0x22812e<this['plugins']['length'];_0x22812e++)this['plugins'][_0x22812e]['update'](this);_0x1467b6!=_0x1aa8c5&&this['inputState']['ensureHandlers'](this['plugins']);}['docViewUpdate'](){for(let _0x2d0975 of this['plugins']){let _0x202d9c=_0x2d0975['value'];if(_0x202d9c&&_0x202d9c['docViewUpdate'])try{_0x202d9c['docViewUpdate'](this);}catch(_0x12ba4f){logException(this['state'],_0x12ba4f,'doc\x20view\x20update\x20listener');}}}['measure'](_0x390150=!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,_0x390150&&this['observer']['forceFlush']();let _0x80563c=null,_0x5742e1=this['scrollDOM'],_0x2edbe7=_0x5742e1['scrollTop']*this['scaleY'],{scrollAnchorPos:_0x4a270b,scrollAnchorHeight:_0xe4a0c}=this['viewState'];Math['abs'](_0x2edbe7-this['viewState']['scrollTop'])>0x1&&(_0xe4a0c=-0x1),this['viewState']['scrollAnchorHeight']=-0x1;try{for(let _0x37b308=0x0;;_0x37b308++){if(_0xe4a0c<0x0){if(isScrolledToBottom(_0x5742e1))_0x4a270b=-0x1,_0xe4a0c=this['viewState']['heightMap']['height'];else{let _0x33d267=this['viewState']['scrollAnchorAt'](_0x2edbe7);_0x4a270b=_0x33d267['from'],_0xe4a0c=_0x33d267['top'];}}this['updateState']=0x1;let _0x4b6508=this['viewState']['measure'](this);if(!_0x4b6508&&!this['measureRequests']['length']&&null==this['viewState']['scrollTarget'])break;if(_0x37b308>0x5){console['warn'](this['measureRequests']['length']?'Measure\x20loop\x20restarted\x20more\x20than\x205\x20times':'Viewport\x20failed\x20to\x20stabilize');break;}let _0x2a1dd9=[];0x4&_0x4b6508||([this['measureRequests'],_0x2a1dd9]=[_0x2a1dd9,this['measureRequests']]);let _0x49c456=_0x2a1dd9['map'](_0x4a30c5=>{try{return _0x4a30c5['read'](this);}catch(_0x1ee1e8){return logException(this['state'],_0x1ee1e8),_0x4af69a;}}),_0x5d58e4=ViewUpdate['create'](this,this['state'],[]),_0x307547=!0x1;_0x5d58e4['flags']|=_0x4b6508,_0x80563c?_0x80563c['flags']|=_0x4b6508:_0x80563c=_0x5d58e4,this['updateState']=0x2,_0x5d58e4['empty']||(this['updatePlugins'](_0x5d58e4),this['inputState']['update'](_0x5d58e4),this['updateAttrs'](),_0x307547=this['docView']['update'](_0x5d58e4),_0x307547&&this['docViewUpdate']());for(let _0x4ae09c=0x0;_0x4ae09c<_0x2a1dd9['length'];_0x4ae09c++)if(_0x49c456[_0x4ae09c]!=_0x4af69a)try{let _0xc2f212=_0x2a1dd9[_0x4ae09c];_0xc2f212['write']&&_0xc2f212['write'](_0x49c456[_0x4ae09c],this);}catch(_0x22c8b0){logException(this['state'],_0x22c8b0);}if(_0x307547&&this['docView']['updateSelection'](!0x0),!_0x5d58e4['viewportChanged']&&0x0==this['measureRequests']['length']){if(this['viewState']['editorHeight']){if(this['viewState']['scrollTarget']){this['docView']['scrollIntoView'](this['viewState']['scrollTarget']),this['viewState']['scrollTarget']=null,_0xe4a0c=-0x1;continue;}{let _0xa19a19=(_0x4a270b<0x0?this['viewState']['heightMap']['height']:this['viewState']['lineBlockAt'](_0x4a270b)['top'])-_0xe4a0c;if(_0xa19a19>0x1||_0xa19a19<-0x1){_0x2edbe7+=_0xa19a19,_0x5742e1['scrollTop']=_0x2edbe7/this['scaleY'],_0xe4a0c=-0x1;continue;}}}break;}}}finally{this['updateState']=0x0,this['measureScheduled']=-0x1;}if(_0x80563c&&!_0x80563c['empty']){for(let _0x2b951d of this['state']['facet'](updateListener))_0x2b951d(_0x80563c);}}get['themeClasses'](){return _0x2a777f+'\x20'+(this['state']['facet'](_0x587c37)?_0x52363a:baseLightID)+'\x20'+this['state']['facet'](theme);}['updateAttrs'](){let _0x3c84a0=attrsFromFacet(this,editorAttributes,{'class':'cm-editor'+(this['hasFocus']?'\x20cm-focused\x20':'\x20')+this['themeClasses']}),_0x2a76c9={'spellcheck':'false','autocorrect':'off','autocapitalize':'off','writingsuggestions':'false','translate':'no','contenteditable':this['state']['facet'](editable)?'true':'false','class':'cm-content','style':_0x2b04e4['tabSize']+':\x20'+this['state']['tabSize'],'role':'textbox','aria-multiline':'true'};this['state']['readOnly']&&(_0x2a76c9['aria-readonly']='true'),attrsFromFacet(this,contentAttributes,_0x2a76c9);let _0x49936c=this['observer']['ignore'](()=>{let _0x704b48=updateAttrs(this['contentDOM'],this['contentAttrs'],_0x2a76c9),_0x378b16=updateAttrs(this['dom'],this['editorAttrs'],_0x3c84a0);return _0x704b48||_0x378b16;});return this['editorAttrs']=_0x3c84a0,this['contentAttrs']=_0x2a76c9,_0x49936c;}['showAnnouncements'](_0x28ad2e){let _0x1f00a0=!0x0;for(let _0x2c47f7 of _0x28ad2e)for(let _0x478f40 of _0x2c47f7['effects'])_0x478f40['is'](EditorView['announce'])&&(_0x1f00a0&&(this['announceDOM']['textContent']=''),_0x1f00a0=!0x1,this['announceDOM']['appendChild'](document['createElement']('div'))['textContent']=_0x478f40['value']);}['mountStyles'](){this['styleModules']=this['state']['facet'](styleModule);let _0xcbc8c8=this['state']['facet'](EditorView['cspNonce']);StyleModule['mount'](this['root'],this['styleModules']['concat'](_0x30b017)['reverse'](),_0xcbc8c8?{'nonce':_0xcbc8c8}: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'](_0x34de77){if(this['measureScheduled']<0x0&&(this['measureScheduled']=this['win']['requestAnimationFrame'](()=>this['measure']())),_0x34de77){if(this['measureRequests']['indexOf'](_0x34de77)>-0x1)return;if(null!=_0x34de77['key']){for(let _0x1ad8f2=0x0;_0x1ad8f2<this['measureRequests']['length'];_0x1ad8f2++)if(this['measureRequests'][_0x1ad8f2]['key']===_0x34de77['key'])return void(this['measureRequests'][_0x1ad8f2]=_0x34de77);}this['measureRequests']['push'](_0x34de77);}}['plugin'](_0x358d0e){let _0x58754b=this['pluginMap']['get'](_0x358d0e);return(void 0x0===_0x58754b||_0x58754b&&_0x58754b['plugin']!=_0x358d0e)&&this['pluginMap']['set'](_0x358d0e,_0x58754b=this['plugins']['find'](_0x51fb7e=>_0x51fb7e['plugin']==_0x358d0e)||null),_0x58754b&&_0x58754b['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'](_0x22c7d3){return this['readMeasured'](),this['viewState']['elementAtHeight'](_0x22c7d3);}['lineBlockAtHeight'](_0x370328){return this['readMeasured'](),this['viewState']['lineBlockAtHeight'](_0x370328);}get['viewportLineBlocks'](){return this['viewState']['viewportLines'];}['lineBlockAt'](_0x396bc8){return this['viewState']['lineBlockAt'](_0x396bc8);}get['contentHeight'](){return this['viewState']['contentHeight'];}['moveByChar'](_0x2bfe86,_0x3793a9,_0x27901b){return skipAtoms(this,_0x2bfe86,_0x18c81e(this,_0x2bfe86,_0x3793a9,_0x27901b));}['moveByGroup'](_0x4bcc58,_0x4cfdeb){return skipAtoms(this,_0x4bcc58,_0x18c81e(this,_0x4bcc58,_0x4cfdeb,_0x5a1c70=>_0x512c3c(this,_0x4bcc58['head'],_0x5a1c70)));}['visualLineSide'](_0x42e302,_0x45d198){let _0x6021a3=this['bidiSpans'](_0x42e302),_0x56c580=this['textDirectionAt'](_0x42e302['from']),_0x58222d=_0x6021a3[_0x45d198?_0x6021a3['length']-0x1:0x0];return EditorSelection['cursor'](_0x58222d['side'](_0x45d198,_0x56c580)+_0x42e302['from'],_0x58222d['forward'](!_0x45d198,_0x56c580)?0x1:-0x1);}['moveToLineBoundary'](_0x18aa87,_0x3c816b,_0x185c3b=!0x0){return _0x4ea64b(this,_0x18aa87,_0x3c816b,_0x185c3b);}['moveVertically'](_0x38156f,_0x50c3ad,_0x323d92){return skipAtoms(this,_0x38156f,moveVertically(this,_0x38156f,_0x50c3ad,_0x323d92));}['domAtPos'](_0x499293){return this['docView']['domAtPos'](_0x499293);}['posAtDOM'](_0x4ac06b,_0x33c79e=0x0){return this['docView']['posFromDOM'](_0x4ac06b,_0x33c79e);}['posAtCoords'](_0x2d5226,_0x8296d4=!0x0){return this['readMeasured'](),posAtCoords(this,_0x2d5226,_0x8296d4);}['coordsAtPos'](_0x5a3cfe,_0x148618=0x1){this['readMeasured']();let _0x2c33a9=this['docView']['coordsAt'](_0x5a3cfe,_0x148618);if(!_0x2c33a9||_0x2c33a9['left']==_0x2c33a9['right'])return _0x2c33a9;let _0x17c9d4=this['state']['doc']['lineAt'](_0x5a3cfe),_0x5aee23=this['bidiSpans'](_0x17c9d4);return flattenRect(_0x2c33a9,_0x5aee23[_0x250568['find'](_0x5aee23,_0x5a3cfe-_0x17c9d4['from'],-0x1,_0x148618)]['dir']==Direction['LTR']==_0x148618>0x0);}['coordsForChar'](_0x2dd4ad){return this['readMeasured'](),this['docView']['coordsForChar'](_0x2dd4ad);}get['defaultCharacterWidth'](){return this['viewState']['heightOracle']['charWidth'];}get['defaultLineHeight'](){return this['viewState']['heightOracle']['lineHeight'];}get['textDirection'](){return this['viewState']['defaultTextDirection'];}['textDirectionAt'](_0x38facf){return!this['state']['facet'](perLineTextDirection)||_0x38facf<this['viewport']['from']||_0x38facf>this['viewport']['to']?this['textDirection']:(this['readMeasured'](),this['docView']['textDirectionAt'](_0x38facf));}get['lineWrapping'](){return this['viewState']['heightOracle']['lineWrapping'];}['bidiSpans'](_0x58ce0f){if(_0x58ce0f['length']>_0x2de53b)return trivialOrder(_0x58ce0f['length']);let _0x2542b9,_0x168199=this['textDirectionAt'](_0x58ce0f['from']);for(let _0x1272c1 of this['bidiCache'])if(_0x1272c1['from']==_0x58ce0f['from']&&_0x1272c1['dir']==_0x168199&&(_0x1272c1['fresh']||isolatesEq(_0x1272c1['isolates'],_0x2542b9=getIsolatedRanges(this,_0x58ce0f))))return _0x1272c1['order'];_0x2542b9||(_0x2542b9=getIsolatedRanges(this,_0x58ce0f));let _0xf3d0a2=computeOrder(_0x58ce0f['text'],_0x168199,_0x2542b9);return this['bidiCache']['push'](new _0x531cc2(_0x58ce0f['from'],_0x58ce0f['to'],_0x168199,_0x2542b9,!0x0,_0xf3d0a2)),_0xf3d0a2;}get['hasFocus'](){var _0x13d811;return(this['dom']['ownerDocument']['hasFocus']()||_0x2b04e4['safari']&&(null===(_0x13d811=this['inputState'])||void 0x0===_0x13d811?void 0x0:_0x13d811['lastContextMenu'])>Date['now']()-0x7530)&&this['root']['activeElement']==this['contentDOM'];}['focus'](){this['observer']['ignore'](()=>{focusPreventScroll(this['contentDOM']),this['docView']['updateSelection']();});}['setRoot'](_0x5e5e6d){this['_root']!=_0x5e5e6d&&(this['_root']=_0x5e5e6d,this['observer']['setWindow']((0x9==_0x5e5e6d['nodeType']?_0x5e5e6d:_0x5e5e6d['ownerDocument'])['defaultView']||window),this['mountStyles']());}['destroy'](){this['root']['activeElement']==this['contentDOM']&&this['contentDOM']['blur']();for(let _0x4e5e4c of this['plugins'])_0x4e5e4c['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'](_0x30e483,_0x441f6e={}){return scrollIntoView$1['of'](new ScrollTarget('number'==typeof _0x30e483?EditorSelection['cursor'](_0x30e483):_0x30e483,_0x441f6e['y'],_0x441f6e['x'],_0x441f6e['yMargin'],_0x441f6e['xMargin']));}['scrollSnapshot'](){let {scrollTop:_0x4f1b1c,scrollLeft:_0x4de354}=this['scrollDOM'],_0x4eae80=this['viewState']['scrollAnchorAt'](_0x4f1b1c);return scrollIntoView$1['of'](new ScrollTarget(EditorSelection['cursor'](_0x4eae80['from']),'start','start',_0x4eae80['top']-_0x4f1b1c,_0x4de354,!0x0));}['setTabFocusMode'](_0x41fe02){null==_0x41fe02?this['inputState']['tabFocusMode']=this['inputState']['tabFocusMode']<0x0?0x0:-0x1:'boolean'==typeof _0x41fe02?this['inputState']['tabFocusMode']=_0x41fe02?0x0:-0x1:0x0!=this['inputState']['tabFocusMode']&&(this['inputState']['tabFocusMode']=Date['now']()+_0x41fe02);}static['domEventHandlers'](_0x8ca56){return _0x19aa80['define'](()=>({}),{'eventHandlers':_0x8ca56});}static['domEventObservers'](_0x4479bf){return _0x19aa80['define'](()=>({}),{'eventObservers':_0x4479bf});}static['theme'](_0x3f414e,_0x45c39b){let _0x2f5ad4=StyleModule['newName'](),_0x2fb929=[theme['of'](_0x2f5ad4),styleModule['of'](_0x376db4('.'+_0x2f5ad4,_0x3f414e))];return _0x45c39b&&_0x45c39b['dark']&&_0x2fb929['push'](_0x587c37['of'](!0x0)),_0x2fb929;}static['baseTheme'](_0x490c7c){return _0x4ee962['lowest'](styleModule['of'](_0x376db4('.'+_0x2a777f,_0x490c7c,lightDarkIDs)));}static['findFromDOM'](_0x4ede99){var _0x1d5ce8;let _0x4d7a0d=_0x4ede99['querySelector']('.cm-content'),_0x25b097=_0x4d7a0d&&ContentView['get'](_0x4d7a0d)||ContentView['get'](_0x4ede99);return(null===(_0x1d5ce8=null==_0x25b097?void 0x0:_0x25b097['rootView'])||void 0x0===_0x1d5ce8?void 0x0:_0x1d5ce8['view'])||null;}}EditorView['styleModule']=styleModule,EditorView['inputHandler']=inputHandler$1,EditorView['clipboardInputFilter']=clipboardInputFilter,EditorView['clipboardOutputFilter']=clipboardOutputFilter,EditorView['scrollHandler']=_0x382f3a,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']=_0x5174db,EditorView['darkTheme']=_0x587c37,EditorView['cspNonce']=Facet['define']({'combine':_0xde0e87=>_0xde0e87['length']?_0xde0e87[0x0]:''}),EditorView['contentAttributes']=contentAttributes,EditorView['editorAttributes']=editorAttributes,EditorView['lineWrapping']=EditorView['contentAttributes']['of']({'class':'cm-lineWrapping'}),EditorView['announce']=StateEffect['define']();const _0x2de53b=0x1000,_0x4af69a={};class _0x531cc2{constructor(_0x157364,_0x216eec,_0x366f29,_0x5714cf,_0x515870,_0x202326){this['from']=_0x157364,this['to']=_0x216eec,this['dir']=_0x366f29,this['isolates']=_0x5714cf,this['fresh']=_0x515870,this['order']=_0x202326;}static['update'](_0x162bb9,_0x46b192){if(_0x46b192['empty']&&!_0x162bb9['some'](_0x383a26=>_0x383a26['fresh']))return _0x162bb9;let _0x7f67b3=[],_0x394694=_0x162bb9['length']?_0x162bb9[_0x162bb9['length']-0x1]['dir']:Direction['LTR'];for(let _0x2a0e64=Math['max'](0x0,_0x162bb9['length']-0xa);_0x2a0e64<_0x162bb9['length'];_0x2a0e64++){let _0x4812a2=_0x162bb9[_0x2a0e64];_0x4812a2['dir']!=_0x394694||_0x46b192['touchesRange'](_0x4812a2['from'],_0x4812a2['to'])||_0x7f67b3['push'](new _0x531cc2(_0x46b192['mapPos'](_0x4812a2['from'],0x1),_0x46b192['mapPos'](_0x4812a2['to'],-0x1),_0x4812a2['dir'],_0x4812a2['isolates'],!0x1,_0x4812a2['order']));}return _0x7f67b3;}}function attrsFromFacet(_0xe2b23,_0x19f1bf,_0x33cef8){for(let _0x5edd04=_0xe2b23['state']['facet'](_0x19f1bf),_0x2eba6c=_0x5edd04['length']-0x1;_0x2eba6c>=0x0;_0x2eba6c--){let _0x55d1c4=_0x5edd04[_0x2eba6c],_0x94b3bc='function'==typeof _0x55d1c4?_0x55d1c4(_0xe2b23):_0x55d1c4;_0x94b3bc&&combineAttrs(_0x94b3bc,_0x33cef8);}return _0x33cef8;}const currentPlatform=_0x2b04e4['mac']?'mac':_0x2b04e4['windows']?'win':_0x2b04e4['linux']?'linux':'key';function _0x599979(_0xa81df4,_0x50b9d0){const _0x3ecfc7=_0xa81df4['split'](/-(?!$)/);let _0x532fcb,_0xc51f0a,_0xe776d8,_0x565769,_0x29c0ab=_0x3ecfc7[_0x3ecfc7['length']-0x1];'Space'==_0x29c0ab&&(_0x29c0ab='\x20');for(let _0x147ad8=0x0;_0x147ad8<_0x3ecfc7['length']-0x1;++_0x147ad8){const _0x1ca897=_0x3ecfc7[_0x147ad8];if(/^(cmd|meta|m)$/i['test'](_0x1ca897))_0x565769=!0x0;else{if(/^a(lt)?$/i['test'](_0x1ca897))_0x532fcb=!0x0;else{if(/^(c|ctrl|control)$/i['test'](_0x1ca897))_0xc51f0a=!0x0;else{if(/^s(hift)?$/i['test'](_0x1ca897))_0xe776d8=!0x0;else{if(!/^mod$/i['test'](_0x1ca897))throw new Error('Unrecognized\x20modifier\x20name:\x20'+_0x1ca897);'mac'==_0x50b9d0?_0x565769=!0x0:_0xc51f0a=!0x0;}}}}}return _0x532fcb&&(_0x29c0ab='Alt-'+_0x29c0ab),_0xc51f0a&&(_0x29c0ab='Ctrl-'+_0x29c0ab),_0x565769&&(_0x29c0ab='Meta-'+_0x29c0ab),_0xe776d8&&(_0x29c0ab='Shift-'+_0x29c0ab),_0x29c0ab;}function _0x5f1d82(_0x442206,_0x293b54,_0x56af72){return _0x293b54['altKey']&&(_0x442206='Alt-'+_0x442206),_0x293b54['ctrlKey']&&(_0x442206='Ctrl-'+_0x442206),_0x293b54['metaKey']&&(_0x442206='Meta-'+_0x442206),!0x1!==_0x56af72&&_0x293b54['shiftKey']&&(_0x442206='Shift-'+_0x442206),_0x442206;}const handleKeyEvents=_0x4ee962['default'](EditorView['domEventHandlers']({'keydown':(_0x101549,_0x282efd)=>_0x15c944(getKeymap(_0x282efd['state']),_0x101549,_0x282efd,'editor')})),_0x4a6f06=Facet['define']({'enables':handleKeyEvents}),_0x1f6a80=new WeakMap();function getKeymap(_0x30050b){let _0x58f9d3=_0x30050b['facet'](_0x4a6f06),_0x1e6eb4=_0x1f6a80['get'](_0x58f9d3);return _0x1e6eb4||_0x1f6a80['set'](_0x58f9d3,_0x1e6eb4=_0x4871a7(_0x58f9d3['reduce']((_0x2ec783,_0x252a6f)=>_0x2ec783['concat'](_0x252a6f),[]))),_0x1e6eb4;}let storedPrefix=null;const PrefixTimeout=0xfa0;function _0x4871a7(_0xa7fc27,_0x1fbe86=currentPlatform){let _0x1f9004=Object['create'](null),_0x48dfad=Object['create'](null),_0x2cf0c3=(_0x57702f,_0x25865a)=>{let _0x56ae9e=_0x48dfad[_0x57702f];if(null==_0x56ae9e)_0x48dfad[_0x57702f]=_0x25865a;else{if(_0x56ae9e!=_0x25865a)throw new Error('Key\x20binding\x20'+_0x57702f+'\x20is\x20used\x20both\x20as\x20a\x20regular\x20binding\x20and\x20as\x20a\x20multi-stroke\x20prefix');}},_0x28401a=(_0x1f1c55,_0x6728fa,_0x3ae1ee,_0x648ac,_0x502d98)=>{var _0x3fa751,_0x27add3;let _0x104c2a=_0x1f9004[_0x1f1c55]||(_0x1f9004[_0x1f1c55]=Object['create'](null)),_0xade9c2=_0x6728fa['split'](/ (?!$)/)['map'](_0xdccc7c=>_0x599979(_0xdccc7c,_0x1fbe86));for(let _0x3c015d=0x1;_0x3c015d<_0xade9c2['length'];_0x3c015d++){let _0x23c143=_0xade9c2['slice'](0x0,_0x3c015d)['join']('\x20');_0x2cf0c3(_0x23c143,!0x0),_0x104c2a[_0x23c143]||(_0x104c2a[_0x23c143]={'preventDefault':!0x0,'stopPropagation':!0x1,'run':[_0x572392=>{let _0x4a8238=storedPrefix={'view':_0x572392,'prefix':_0x23c143,'scope':_0x1f1c55};return setTimeout(()=>{storedPrefix==_0x4a8238&&(storedPrefix=null);},PrefixTimeout),!0x0;}]});}let _0x41dac0=_0xade9c2['join']('\x20');_0x2cf0c3(_0x41dac0,!0x1);let _0x5cd16a=_0x104c2a[_0x41dac0]||(_0x104c2a[_0x41dac0]={'preventDefault':!0x1,'stopPropagation':!0x1,'run':(null===(_0x27add3=null===(_0x3fa751=_0x104c2a['_any'])||void 0x0===_0x3fa751?void 0x0:_0x3fa751['run'])||void 0x0===_0x27add3?void 0x0:_0x27add3['slice']())||[]});_0x3ae1ee&&_0x5cd16a['run']['push'](_0x3ae1ee),_0x648ac&&(_0x5cd16a['preventDefault']=!0x0),_0x502d98&&(_0x5cd16a['stopPropagation']=!0x0);};for(let _0x697f4c of _0xa7fc27){let _0x39cf16=_0x697f4c['scope']?_0x697f4c['scope']['split']('\x20'):['editor'];if(_0x697f4c['any'])for(let _0x1b401f of _0x39cf16){let _0x57e35d=_0x1f9004[_0x1b401f]||(_0x1f9004[_0x1b401f]=Object['create'](null));_0x57e35d['_any']||(_0x57e35d['_any']={'preventDefault':!0x1,'stopPropagation':!0x1,'run':[]});let {any:_0x3ccada}=_0x697f4c;for(let _0x3a2ed9 in _0x57e35d)_0x57e35d[_0x3a2ed9]['run']['push'](_0x58e39f=>_0x3ccada(_0x58e39f,currentKeyEvent));}let _0x2f26f0=_0x697f4c[_0x1fbe86]||_0x697f4c['key'];if(_0x2f26f0){for(let _0x4eb152 of _0x39cf16)_0x28401a(_0x4eb152,_0x2f26f0,_0x697f4c['run'],_0x697f4c['preventDefault'],_0x697f4c['stopPropagation']),_0x697f4c['shift']&&_0x28401a(_0x4eb152,'Shift-'+_0x2f26f0,_0x697f4c['shift'],_0x697f4c['preventDefault'],_0x697f4c['stopPropagation']);}}return _0x1f9004;}let currentKeyEvent=null;function _0x15c944(_0x45244e,_0x531e37,_0x22036,_0x5c56cc){currentKeyEvent=_0x531e37;let _0x281d9f=_0x3ce19c(_0x531e37),_0x1d1236=codePointSize(codePointAt(_0x281d9f,0x0))==_0x281d9f['length']&&'\x20'!=_0x281d9f,_0x493197='',_0x3600ef=!0x1,_0x26db31=!0x1,_0x14a263=!0x1;storedPrefix&&storedPrefix['view']==_0x22036&&storedPrefix['scope']==_0x5c56cc&&(_0x493197=storedPrefix['prefix']+'\x20',_0x5b1089['indexOf'](_0x531e37['keyCode'])<0x0&&(_0x26db31=!0x0,storedPrefix=null));let _0x151a69,_0x476007,_0x1a1203=new Set(),_0x606f6f=_0x412eca=>{if(_0x412eca){for(let _0x57ad59 of _0x412eca['run'])if(!_0x1a1203['has'](_0x57ad59)&&(_0x1a1203['add'](_0x57ad59),_0x57ad59(_0x22036)))return _0x412eca['stopPropagation']&&(_0x14a263=!0x0),!0x0;_0x412eca['preventDefault']&&(_0x412eca['stopPropagation']&&(_0x14a263=!0x0),_0x26db31=!0x0);}return!0x1;},_0x3743d9=_0x45244e[_0x5c56cc];return _0x3743d9&&(_0x606f6f(_0x3743d9[_0x493197+_0x5f1d82(_0x281d9f,_0x531e37,!_0x1d1236)])?_0x3600ef=!0x0:!_0x1d1236||!(_0x531e37['altKey']||_0x531e37['metaKey']||_0x531e37['ctrlKey'])||_0x2b04e4['windows']&&_0x531e37['ctrlKey']&&_0x531e37['altKey']||_0x2b04e4['mac']&&_0x531e37['altKey']&&!_0x531e37['ctrlKey']&&!_0x531e37['metaKey']||!(_0x151a69=_0x5bd3be[_0x531e37['keyCode']])||_0x151a69==_0x281d9f?_0x1d1236&&_0x531e37['shiftKey']&&_0x606f6f(_0x3743d9[_0x493197+_0x5f1d82(_0x281d9f,_0x531e37,!0x0)])&&(_0x3600ef=!0x0):(_0x606f6f(_0x3743d9[_0x493197+_0x5f1d82(_0x151a69,_0x531e37,!0x0)])||_0x531e37['shiftKey']&&(_0x476007=shift[_0x531e37['keyCode']])!=_0x281d9f&&_0x476007!=_0x151a69&&_0x606f6f(_0x3743d9[_0x493197+_0x5f1d82(_0x476007,_0x531e37,!0x1)]))&&(_0x3600ef=!0x0),!_0x3600ef&&_0x606f6f(_0x3743d9['_any'])&&(_0x3600ef=!0x0)),_0x26db31&&(_0x3600ef=!0x0),_0x3600ef&&_0x14a263&&_0x531e37['stopPropagation'](),currentKeyEvent=null,_0x3600ef;}class RectangleMarker{constructor(_0x35864e,_0x5549c2,_0x2fe5b0,_0xa90c2d,_0x4a4184){this['className']=_0x35864e,this['left']=_0x5549c2,this['top']=_0x2fe5b0,this['width']=_0xa90c2d,this['height']=_0x4a4184;}['draw'](){let _0x457a96=document['createElement']('div');return _0x457a96['className']=this['className'],this['adjust'](_0x457a96),_0x457a96;}['update'](_0x437e60,_0x429f26){return _0x429f26['className']==this['className']&&(this['adjust'](_0x437e60),!0x0);}['adjust'](_0x59f8b9){_0x59f8b9['style']['left']=this['left']+'px',_0x59f8b9['style']['top']=this['top']+'px',null!=this['width']&&(_0x59f8b9['style']['width']=this['width']+'px'),_0x59f8b9['style']['height']=this['height']+'px';}['eq'](_0x17c4ee){return this['left']==_0x17c4ee['left']&&this['top']==_0x17c4ee['top']&&this['width']==_0x17c4ee['width']&&this['height']==_0x17c4ee['height']&&this['className']==_0x17c4ee['className'];}static['forRange'](_0x1a314e,_0x45c538,_0x3f82cd){if(_0x3f82cd['empty']){let _0x38957b=_0x1a314e['coordsAtPos'](_0x3f82cd['head'],_0x3f82cd['assoc']||0x1);if(!_0x38957b)return[];let _0x8db004=getBase(_0x1a314e);return[new RectangleMarker(_0x45c538,_0x38957b['left']-_0x8db004['left'],_0x38957b['top']-_0x8db004['top'],null,_0x38957b['bottom']-_0x38957b['top'])];}return rectanglesForRange(_0x1a314e,_0x45c538,_0x3f82cd);}}function getBase(_0x207481){let _0xab37b6=_0x207481['scrollDOM']['getBoundingClientRect']();return{'left':(_0x207481['textDirection']==Direction['LTR']?_0xab37b6['left']:_0xab37b6['right']-_0x207481['scrollDOM']['clientWidth']*_0x207481['scaleX'])-_0x207481['scrollDOM']['scrollLeft']*_0x207481['scaleX'],'top':_0xab37b6['top']-_0x207481['scrollDOM']['scrollTop']*_0x207481['scaleY']};}function _0x29b260(_0x34c1eb,_0x51e89d,_0x16f10b,_0x5e9a07){let _0x1a045d=_0x34c1eb['coordsAtPos'](_0x51e89d,0x2*_0x16f10b);if(!_0x1a045d)return _0x5e9a07;let _0x587958=_0x34c1eb['dom']['getBoundingClientRect'](),_0x32414e=(_0x1a045d['top']+_0x1a045d['bottom'])/0x2,_0x49c4a3=_0x34c1eb['posAtCoords']({'x':_0x587958['left']+0x1,'y':_0x32414e}),_0x514ed2=_0x34c1eb['posAtCoords']({'x':_0x587958['right']-0x1,'y':_0x32414e});return null==_0x49c4a3||null==_0x514ed2?_0x5e9a07:{'from':Math['max'](_0x5e9a07['from'],Math['min'](_0x49c4a3,_0x514ed2)),'to':Math['min'](_0x5e9a07['to'],Math['max'](_0x49c4a3,_0x514ed2))};}function rectanglesForRange(_0x39e632,_0x5f160a,_0x5e16c2){if(_0x5e16c2['to']<=_0x39e632['viewport']['from']||_0x5e16c2['from']>=_0x39e632['viewport']['to'])return[];let _0x3ebdde=Math['max'](_0x5e16c2['from'],_0x39e632['viewport']['from']),_0x22fdd0=Math['min'](_0x5e16c2['to'],_0x39e632['viewport']['to']),_0x109d75=_0x39e632['textDirection']==Direction['LTR'],_0x5786f5=_0x39e632['contentDOM'],_0xe72d2b=_0x5786f5['getBoundingClientRect'](),_0x4ebcde=getBase(_0x39e632),_0x345973=_0x5786f5['querySelector']('.cm-line'),_0x4b38da=_0x345973&&window['getComputedStyle'](_0x345973),_0x10129c=_0xe72d2b['left']+(_0x4b38da?parseInt(_0x4b38da['paddingLeft'])+Math['min'](0x0,parseInt(_0x4b38da['textIndent'])):0x0),_0x2efc87=_0xe72d2b['right']-(_0x4b38da?parseInt(_0x4b38da['paddingRight']):0x0),_0x1450d2=blockAt(_0x39e632,_0x3ebdde,0x1),_0x295bca=blockAt(_0x39e632,_0x22fdd0,-0x1),_0x40f54b=_0x1450d2['type']==_0x4ab331['Text']?_0x1450d2:null,_0x2714ca=_0x295bca['type']==_0x4ab331['Text']?_0x295bca:null;if(_0x40f54b&&(_0x39e632['lineWrapping']||_0x1450d2['widgetLineBreaks'])&&(_0x40f54b=_0x29b260(_0x39e632,_0x3ebdde,0x1,_0x40f54b)),_0x2714ca&&(_0x39e632['lineWrapping']||_0x295bca['widgetLineBreaks'])&&(_0x2714ca=_0x29b260(_0x39e632,_0x22fdd0,-0x1,_0x2714ca)),_0x40f54b&&_0x2714ca&&_0x40f54b['from']==_0x2714ca['from']&&_0x40f54b['to']==_0x2714ca['to'])return _0x1f6da4(_0x577191(_0x5e16c2['from'],_0x5e16c2['to'],_0x40f54b));{let _0x6c92f=_0x40f54b?_0x577191(_0x5e16c2['from'],null,_0x40f54b):_0x4124b0(_0x1450d2,!0x1),_0x459e52=_0x2714ca?_0x577191(null,_0x5e16c2['to'],_0x2714ca):_0x4124b0(_0x295bca,!0x0),_0x43264d=[];return(_0x40f54b||_0x1450d2)['to']<(_0x2714ca||_0x295bca)['from']-(_0x40f54b&&_0x2714ca?0x1:0x0)||_0x1450d2['widgetLineBreaks']>0x1&&_0x6c92f['bottom']+_0x39e632['defaultLineHeight']/0x2<_0x459e52['top']?_0x43264d['push'](_0x55aaa7(_0x10129c,_0x6c92f['bottom'],_0x2efc87,_0x459e52['top'])):_0x6c92f['bottom']<_0x459e52['top']&&_0x39e632['elementAtHeight']((_0x6c92f['bottom']+_0x459e52['top'])/0x2)['type']==_0x4ab331['Text']&&(_0x6c92f['bottom']=_0x459e52['top']=(_0x6c92f['bottom']+_0x459e52['top'])/0x2),_0x1f6da4(_0x6c92f)['concat'](_0x43264d)['concat'](_0x1f6da4(_0x459e52));}function _0x55aaa7(_0x535759,_0x4c5749,_0x40b359,_0x373c79){return new RectangleMarker(_0x5f160a,_0x535759-_0x4ebcde['left'],_0x4c5749-_0x4ebcde['top'],_0x40b359-_0x535759,_0x373c79-_0x4c5749);}function _0x1f6da4({top:_0x48c5d3,bottom:_0x850b09,horizontal:_0xf962e1}){let _0x459ec1=[];for(let _0x15add0=0x0;_0x15add0<_0xf962e1['length'];_0x15add0+=0x2)_0x459ec1['push'](_0x55aaa7(_0xf962e1[_0x15add0],_0x48c5d3,_0xf962e1[_0x15add0+0x1],_0x850b09));return _0x459ec1;}function _0x577191(_0x24a529,_0x4b47bc,_0x1ae2b0){let _0x4e6f51=0x3b9aca00,_0x452025=-0x3b9aca00,_0x245e7d=[];function _0x355b98(_0x34d457,_0x52bc07,_0x176f99,_0x2318cc,_0x5b30e1){let _0x240ae2=_0x39e632['coordsAtPos'](_0x34d457,_0x34d457==_0x1ae2b0['to']?-0x2:0x2),_0x14b3ec=_0x39e632['coordsAtPos'](_0x176f99,_0x176f99==_0x1ae2b0['from']?0x2:-0x2);_0x240ae2&&_0x14b3ec&&(_0x4e6f51=Math['min'](_0x240ae2['top'],_0x14b3ec['top'],_0x4e6f51),_0x452025=Math['max'](_0x240ae2['bottom'],_0x14b3ec['bottom'],_0x452025),_0x5b30e1==Direction['LTR']?_0x245e7d['push'](_0x109d75&&_0x52bc07?_0x10129c:_0x240ae2['left'],_0x109d75&&_0x2318cc?_0x2efc87:_0x14b3ec['right']):_0x245e7d['push'](!_0x109d75&&_0x2318cc?_0x10129c:_0x14b3ec['left'],!_0x109d75&&_0x52bc07?_0x2efc87:_0x240ae2['right']));}let _0x3c0564=null!=_0x24a529?_0x24a529:_0x1ae2b0['from'],_0x17b971=null!=_0x4b47bc?_0x4b47bc:_0x1ae2b0['to'];for(let _0x5d58f9 of _0x39e632['visibleRanges'])if(_0x5d58f9['to']>_0x3c0564&&_0x5d58f9['from']<_0x17b971)for(let _0x5a45ca=Math['max'](_0x5d58f9['from'],_0x3c0564),_0x3e5cd6=Math['min'](_0x5d58f9['to'],_0x17b971);;){let _0x8238f3=_0x39e632['state']['doc']['lineAt'](_0x5a45ca);for(let _0x4ca094 of _0x39e632['bidiSpans'](_0x8238f3)){let _0x33a750=_0x4ca094['from']+_0x8238f3['from'],_0x282d4c=_0x4ca094['to']+_0x8238f3['from'];if(_0x33a750>=_0x3e5cd6)break;_0x282d4c>_0x5a45ca&&_0x355b98(Math['max'](_0x33a750,_0x5a45ca),null==_0x24a529&&_0x33a750<=_0x3c0564,Math['min'](_0x282d4c,_0x3e5cd6),null==_0x4b47bc&&_0x282d4c>=_0x17b971,_0x4ca094['dir']);}if(_0x5a45ca=_0x8238f3['to']+0x1,_0x5a45ca>=_0x3e5cd6)break;}return 0x0==_0x245e7d['length']&&_0x355b98(_0x3c0564,null==_0x24a529,_0x17b971,null==_0x4b47bc,_0x39e632['textDirection']),{'top':_0x4e6f51,'bottom':_0x452025,'horizontal':_0x245e7d};}function _0x4124b0(_0x1ab573,_0x9a2304){let _0x3844c8=_0xe72d2b['top']+(_0x9a2304?_0x1ab573['top']:_0x1ab573['bottom']);return{'top':_0x3844c8,'bottom':_0x3844c8,'horizontal':[]};}}function _0x1091f6(_0x181e90,_0xf46d38){return _0x181e90['constructor']==_0xf46d38['constructor']&&_0x181e90['eq'](_0xf46d38);}class _0x3ef966{constructor(_0xda3f70,_0x590b68){this['view']=_0xda3f70,this['layer']=_0x590b68,this['drawn']=[],this['scaleX']=0x1,this['scaleY']=0x1,this['measureReq']={'read':this['measure']['bind'](this),'write':this['draw']['bind'](this)},this['dom']=_0xda3f70['scrollDOM']['appendChild'](document['createElement']('div')),this['dom']['classList']['add']('cm-layer'),_0x590b68['above']&&this['dom']['classList']['add']('cm-layer-above'),_0x590b68['class']&&this['dom']['classList']['add'](_0x590b68['class']),this['scale'](),this['dom']['setAttribute']('aria-hidden','true'),this['setOrder'](_0xda3f70['state']),_0xda3f70['requestMeasure'](this['measureReq']),_0x590b68['mount']&&_0x590b68['mount'](this['dom'],_0xda3f70);}['update'](_0x17af0a){_0x17af0a['startState']['facet'](_0x48119b)!=_0x17af0a['state']['facet'](_0x48119b)&&this['setOrder'](_0x17af0a['state']),(this['layer']['update'](_0x17af0a,this['dom'])||_0x17af0a['geometryChanged'])&&(this['scale'](),_0x17af0a['view']['requestMeasure'](this['measureReq']));}['docViewUpdate'](_0x539f3b){!0x1!==this['layer']['updateOnDocViewUpdate']&&_0x539f3b['requestMeasure'](this['measureReq']);}['setOrder'](_0x5e4511){let _0x15d629=0x0,_0x176936=_0x5e4511['facet'](_0x48119b);for(;_0x15d629<_0x176936['length']&&_0x176936[_0x15d629]!=this['layer'];)_0x15d629++;this['dom']['style']['zIndex']=String((this['layer']['above']?0x96:-0x1)-_0x15d629);}['measure'](){return this['layer']['markers'](this['view']);}['scale'](){let {scaleX:_0x3fe10b,scaleY:_0x300056}=this['view'];_0x3fe10b==this['scaleX']&&_0x300056==this['scaleY']||(this['scaleX']=_0x3fe10b,this['scaleY']=_0x300056,this['dom']['style']['transform']='scale('+0x1/_0x3fe10b+',\x20'+0x1/_0x300056+')');}['draw'](_0x578d78){if(_0x578d78['length']!=this['drawn']['length']||_0x578d78['some']((_0x916012,_0xd9377)=>!_0x1091f6(_0x916012,this['drawn'][_0xd9377]))){let _0x358590=this['dom']['firstChild'],_0x282a63=0x0;for(let _0x214e52 of _0x578d78)_0x214e52['update']&&_0x358590&&_0x214e52['constructor']&&this['drawn'][_0x282a63]['constructor']&&_0x214e52['update'](_0x358590,this['drawn'][_0x282a63])?(_0x358590=_0x358590['nextSibling'],_0x282a63++):this['dom']['insertBefore'](_0x214e52['draw'](),_0x358590);for(;_0x358590;){let _0x400f15=_0x358590['nextSibling'];_0x358590['remove'](),_0x358590=_0x400f15;}this['drawn']=_0x578d78;}}['destroy'](){this['layer']['destroy']&&this['layer']['destroy'](this['dom'],this['view']),this['dom']['remove']();}}const _0x48119b=Facet['define']();function _0x4e7c8a(_0x5c6f22){return[_0x19aa80['define'](_0x50af30=>new _0x3ef966(_0x50af30,_0x5c6f22)),_0x48119b['of'](_0x5c6f22)];}const selectionConfig=Facet['define']({'combine':_0x3e077a=>_0x1f6110(_0x3e077a,{'cursorBlinkRate':0x4b0,'drawRangeCursor':!0x0},{'cursorBlinkRate':(_0x16d557,_0x215793)=>Math['min'](_0x16d557,_0x215793),'drawRangeCursor':(_0x31c060,_0xc59d54)=>_0x31c060||_0xc59d54})});function drawSelection(_0x4243ca={}){return[selectionConfig['of'](_0x4243ca),_0x1051c2,selectionLayer,hideNativeSelection,nativeSelectionHidden['of'](!0x0)];}function _0x4262dd(_0x51525a){return _0x51525a['startState']['facet'](selectionConfig)!=_0x51525a['state']['facet'](selectionConfig);}const _0x1051c2=_0x4e7c8a({'above':!0x0,'markers'(_0x1f824e){let {state:_0x2be8df}=_0x1f824e,_0x2ca8e9=_0x2be8df['facet'](selectionConfig),_0x39ce7a=[];for(let _0x45a36c of _0x2be8df['selection']['ranges']){let _0x26f405=_0x45a36c==_0x2be8df['selection']['main'];if(_0x45a36c['empty']||_0x2ca8e9['drawRangeCursor']){let _0x23a902=_0x26f405?'cm-cursor\x20cm-cursor-primary':'cm-cursor\x20cm-cursor-secondary',_0x91790b=_0x45a36c['empty']?_0x45a36c:EditorSelection['cursor'](_0x45a36c['head'],_0x45a36c['head']>_0x45a36c['anchor']?-0x1:0x1);for(let _0x8ca41f of RectangleMarker['forRange'](_0x1f824e,_0x23a902,_0x91790b))_0x39ce7a['push'](_0x8ca41f);}}return _0x39ce7a;},'update'(_0x39b7ad,_0xd3964f){_0x39b7ad['transactions']['some'](_0xc69d96=>_0xc69d96['selection'])&&(_0xd3964f['style']['animationName']='cm-blink'==_0xd3964f['style']['animationName']?'cm-blink2':'cm-blink');let _0xa4fcd3=_0x4262dd(_0x39b7ad);return _0xa4fcd3&&setBlinkRate(_0x39b7ad['state'],_0xd3964f),_0x39b7ad['docChanged']||_0x39b7ad['selectionSet']||_0xa4fcd3;},'mount'(_0xd2ea74,_0x1940cd){setBlinkRate(_0x1940cd['state'],_0xd2ea74);},'class':'cm-cursorLayer'});function setBlinkRate(_0x2ddcfb,_0x1bd0a3){_0x1bd0a3['style']['animationDuration']=_0x2ddcfb['facet'](selectionConfig)['cursorBlinkRate']+'ms';}const selectionLayer=_0x4e7c8a({'above':!0x1,'markers':_0x1679ed=>_0x1679ed['state']['selection']['ranges']['map'](_0x13e6ad=>_0x13e6ad['empty']?[]:RectangleMarker['forRange'](_0x1679ed,'cm-selectionBackground',_0x13e6ad))['reduce']((_0x231a22,_0x52e77a)=>_0x231a22['concat'](_0x52e77a)),'update':(_0x4937a7,_0xf8c116)=>_0x4937a7['docChanged']||_0x4937a7['selectionSet']||_0x4937a7['viewportChanged']||_0x4262dd(_0x4937a7),'class':'cm-selectionLayer'}),hideNativeSelection=_0x4ee962['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':(_0x4c12b9,_0x4b8302)=>null==_0x4c12b9?null:_0x4b8302['mapPos'](_0x4c12b9)}),_0x1c74c5=StateField['define']({'create':()=>null,'update':(_0x20d41e,_0x563ce9)=>(null!=_0x20d41e&&(_0x20d41e=_0x563ce9['changes']['mapPos'](_0x20d41e)),_0x563ce9['effects']['reduce']((_0x34cc6e,_0x42298c)=>_0x42298c['is'](setDropCursorPos)?_0x42298c['value']:_0x34cc6e,_0x20d41e))}),_0x206952=_0x19aa80['fromClass'](class{constructor(_0x2d06d7){this['view']=_0x2d06d7,this['cursor']=null,this['measureReq']={'read':this['readPos']['bind'](this),'write':this['drawCursor']['bind'](this)};}['update'](_0x717d53){var _0x297989;let _0x59f4e7=_0x717d53['state']['field'](_0x1c74c5);null==_0x59f4e7?null!=this['cursor']&&(null===(_0x297989=this['cursor'])||void 0x0===_0x297989||_0x297989['remove'](),this['cursor']=null):(this['cursor']||(this['cursor']=this['view']['scrollDOM']['appendChild'](document['createElement']('div')),this['cursor']['className']='cm-dropCursor'),(_0x717d53['startState']['field'](_0x1c74c5)!=_0x59f4e7||_0x717d53['docChanged']||_0x717d53['geometryChanged'])&&this['view']['requestMeasure'](this['measureReq']));}['readPos'](){let {view:_0x3cd6ea}=this,_0x146dcd=_0x3cd6ea['state']['field'](_0x1c74c5),_0x50a598=null!=_0x146dcd&&_0x3cd6ea['coordsAtPos'](_0x146dcd);if(!_0x50a598)return null;let _0x21f9b6=_0x3cd6ea['scrollDOM']['getBoundingClientRect']();return{'left':_0x50a598['left']-_0x21f9b6['left']+_0x3cd6ea['scrollDOM']['scrollLeft']*_0x3cd6ea['scaleX'],'top':_0x50a598['top']-_0x21f9b6['top']+_0x3cd6ea['scrollDOM']['scrollTop']*_0x3cd6ea['scaleY'],'height':_0x50a598['bottom']-_0x50a598['top']};}['drawCursor'](_0x55aadc){if(this['cursor']){let {scaleX:_0x5658d1,scaleY:_0x2c5429}=this['view'];_0x55aadc?(this['cursor']['style']['left']=_0x55aadc['left']/_0x5658d1+'px',this['cursor']['style']['top']=_0x55aadc['top']/_0x2c5429+'px',this['cursor']['style']['height']=_0x55aadc['height']/_0x2c5429+'px'):this['cursor']['style']['left']='-100000px';}}['destroy'](){this['cursor']&&this['cursor']['remove']();}['setDropPos'](_0x480def){this['view']['state']['field'](_0x1c74c5)!=_0x480def&&this['view']['dispatch']({'effects':setDropCursorPos['of'](_0x480def)});}},{'eventObservers':{'dragover'(_0x1e4427){this['setDropPos'](this['view']['posAtCoords']({'x':_0x1e4427['clientX'],'y':_0x1e4427['clientY']}));},'dragleave'(_0x278f43){_0x278f43['target']!=this['view']['contentDOM']&&this['view']['contentDOM']['contains'](_0x278f43['relatedTarget'])||this['setDropPos'](null);},'dragend'(){this['setDropPos'](null);},'drop'(){this['setDropPos'](null);}}});function _0x4f06c2(){return[_0x1c74c5,_0x206952];}function iterMatches(_0x5c6b88,_0x3a31b3,_0x33ef4a,_0x320b77,_0x1e85bd){_0x3a31b3['lastIndex']=0x0;for(let _0x1fa94a,_0xad01b=_0x5c6b88['iterRange'](_0x33ef4a,_0x320b77),_0x40d3fc=_0x33ef4a;!_0xad01b['next']()['done'];_0x40d3fc+=_0xad01b['value']['length'])if(!_0xad01b['lineBreak']){for(;_0x1fa94a=_0x3a31b3['exec'](_0xad01b['value']);)_0x1e85bd(_0x40d3fc+_0x1fa94a['index'],_0x1fa94a);}}function matchRanges(_0x497f4,_0x5b647a){let _0x29b8f3=_0x497f4['visibleRanges'];if(0x1==_0x29b8f3['length']&&_0x29b8f3[0x0]['from']==_0x497f4['viewport']['from']&&_0x29b8f3[0x0]['to']==_0x497f4['viewport']['to'])return _0x29b8f3;let _0x57f501=[];for(let {from:_0x10ffdd,to:_0x1c8500}of _0x29b8f3)_0x10ffdd=Math['max'](_0x497f4['state']['doc']['lineAt'](_0x10ffdd)['from'],_0x10ffdd-_0x5b647a),_0x1c8500=Math['min'](_0x497f4['state']['doc']['lineAt'](_0x1c8500)['to'],_0x1c8500+_0x5b647a),_0x57f501['length']&&_0x57f501[_0x57f501['length']-0x1]['to']>=_0x10ffdd?_0x57f501[_0x57f501['length']-0x1]['to']=_0x1c8500:_0x57f501['push']({'from':_0x10ffdd,'to':_0x1c8500});return _0x57f501;}class MatchDecorator{constructor(_0x991c43){const {regexp:_0x51199b,decoration:_0x493c2d,decorate:_0x25402b,boundary:_0x1771ab,maxLength:_0x5f1541=0x3e8}=_0x991c43;if(!_0x51199b['global'])throw new RangeError('The\x20regular\x20expression\x20given\x20to\x20MatchDecorator\x20should\x20have\x20its\x20\x27g\x27\x20flag\x20set');if(this['regexp']=_0x51199b,_0x25402b)this['addMatch']=(_0xd7d4dd,_0x1df586,_0x486161,_0x5bebf9)=>_0x25402b(_0x5bebf9,_0x486161,_0x486161+_0xd7d4dd[0x0]['length'],_0xd7d4dd,_0x1df586);else{if('function'==typeof _0x493c2d)this['addMatch']=(_0x24c190,_0x3d2b3d,_0x21ae9b,_0x2aad8b)=>{let _0x4db5f6=_0x493c2d(_0x24c190,_0x3d2b3d,_0x21ae9b);_0x4db5f6&&_0x2aad8b(_0x21ae9b,_0x21ae9b+_0x24c190[0x0]['length'],_0x4db5f6);};else{if(!_0x493c2d)throw new RangeError('Either\x20\x27decorate\x27\x20or\x20\x27decoration\x27\x20should\x20be\x20provided\x20to\x20MatchDecorator');this['addMatch']=(_0x707109,_0x3e3c20,_0x207b45,_0x28a610)=>_0x28a610(_0x207b45,_0x207b45+_0x707109[0x0]['length'],_0x493c2d);}}this['boundary']=_0x1771ab,this['maxLength']=_0x5f1541;}['createDeco'](_0x1cc948){let _0x451ff7=new RangeSetBuilder(),_0x56409d=_0x451ff7['add']['bind'](_0x451ff7);for(let {from:_0x35eedb,to:_0x4e71b7}of matchRanges(_0x1cc948,this['maxLength']))iterMatches(_0x1cc948['state']['doc'],this['regexp'],_0x35eedb,_0x4e71b7,(_0x431b4e,_0x4ab109)=>this['addMatch'](_0x4ab109,_0x1cc948,_0x431b4e,_0x56409d));return _0x451ff7['finish']();}['updateDeco'](_0x4e0ea5,_0x24a776){let _0x2f909c=0x3b9aca00,_0x3108de=-0x1;return _0x4e0ea5['docChanged']&&_0x4e0ea5['changes']['iterChanges']((_0x79d74a,_0x287c3c,_0x5e95f1,_0x5ae5f4)=>{_0x5ae5f4>=_0x4e0ea5['view']['viewport']['from']&&_0x5e95f1<=_0x4e0ea5['view']['viewport']['to']&&(_0x2f909c=Math['min'](_0x5e95f1,_0x2f909c),_0x3108de=Math['max'](_0x5ae5f4,_0x3108de));}),_0x4e0ea5['viewportMoved']||_0x3108de-_0x2f909c>0x3e8?this['createDeco'](_0x4e0ea5['view']):_0x3108de>-0x1?this['updateRange'](_0x4e0ea5['view'],_0x24a776['map'](_0x4e0ea5['changes']),_0x2f909c,_0x3108de):_0x24a776;}['updateRange'](_0x206291,_0x19d34f,_0x17efdc,_0x2618ba){for(let _0x3558f1 of _0x206291['visibleRanges']){let _0x2b7353=Math['max'](_0x3558f1['from'],_0x17efdc),_0xcd3ba1=Math['min'](_0x3558f1['to'],_0x2618ba);if(_0xcd3ba1>=_0x2b7353){let _0x2115b1=_0x206291['state']['doc']['lineAt'](_0x2b7353),_0x531945=_0x2115b1['to']<_0xcd3ba1?_0x206291['state']['doc']['lineAt'](_0xcd3ba1):_0x2115b1,_0x45f309=Math['max'](_0x3558f1['from'],_0x2115b1['from']),_0x36950d=Math['min'](_0x3558f1['to'],_0x531945['to']);if(this['boundary']){for(;_0x2b7353>_0x2115b1['from'];_0x2b7353--)if(this['boundary']['test'](_0x2115b1['text'][_0x2b7353-0x1-_0x2115b1['from']])){_0x45f309=_0x2b7353;break;}for(;_0xcd3ba1<_0x531945['to'];_0xcd3ba1++)if(this['boundary']['test'](_0x531945['text'][_0xcd3ba1-_0x531945['from']])){_0x36950d=_0xcd3ba1;break;}}let _0x42180c,_0x5b1677=[],_0x334b6b=(_0x345fbb,_0x4658fe,_0x46f920)=>_0x5b1677['push'](_0x46f920['range'](_0x345fbb,_0x4658fe));if(_0x2115b1==_0x531945){for(this['regexp']['lastIndex']=_0x45f309-_0x2115b1['from'];(_0x42180c=this['regexp']['exec'](_0x2115b1['text']))&&_0x42180c['index']<_0x36950d-_0x2115b1['from'];)this['addMatch'](_0x42180c,_0x206291,_0x42180c['index']+_0x2115b1['from'],_0x334b6b);}else iterMatches(_0x206291['state']['doc'],this['regexp'],_0x45f309,_0x36950d,(_0x11d6c2,_0xd6dbe0)=>this['addMatch'](_0xd6dbe0,_0x206291,_0x11d6c2,_0x334b6b));_0x19d34f=_0x19d34f['update']({'filterFrom':_0x45f309,'filterTo':_0x36950d,'filter':(_0x4d32df,_0x23ff0b)=>_0x4d32df<_0x45f309||_0x23ff0b>_0x36950d,'add':_0x5b1677});}}return _0x19d34f;}}const UnicodeRegexpSupport=null!=/x/['unicode']?'gu':'g',_0x367a3e=new RegExp('[\x00-\x08\x0a-\x1f\x7f-\u009f­؜​‎‏\u2028\u2029‭‮⁦⁧⁩\ufeff￹-￼]',UnicodeRegexpSupport),_0x571fd9={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 _0xadd7b7;if(null==_supportsTabSize&&'undefined'!=typeof document&&document['body']){let _0x3a6d94=document['body']['style'];_supportsTabSize=null!=(null!==(_0xadd7b7=_0x3a6d94['tabSize'])&&void 0x0!==_0xadd7b7?_0xadd7b7:_0x3a6d94['MozTabSize']);}return _supportsTabSize||!0x1;}const _0x6d30a3=Facet['define']({'combine'(_0x5eaf28){let _0xbd09b4=_0x1f6110(_0x5eaf28,{'render':null,'specialChars':_0x367a3e,'addSpecialChars':null});return(_0xbd09b4['replaceTabs']=!supportsTabSize())&&(_0xbd09b4['specialChars']=new RegExp('\x09|'+_0xbd09b4['specialChars']['source'],UnicodeRegexpSupport)),_0xbd09b4['addSpecialChars']&&(_0xbd09b4['specialChars']=new RegExp(_0xbd09b4['specialChars']['source']+'|'+_0xbd09b4['addSpecialChars']['source'],UnicodeRegexpSupport)),_0xbd09b4;}});function highlightSpecialChars(_0x3d9b9c={}){return[_0x6d30a3['of'](_0x3d9b9c),_0x1ed4f3()];}let _0x3b3480=null;function _0x1ed4f3(){return _0x3b3480||(_0x3b3480=_0x19aa80['fromClass'](class{constructor(_0x3b3dde){this['view']=_0x3b3dde,this['decorations']=Decoration['none'],this['decorationCache']=Object['create'](null),this['decorator']=this['makeDecorator'](_0x3b3dde['state']['facet'](_0x6d30a3)),this['decorations']=this['decorator']['createDeco'](_0x3b3dde);}['makeDecorator'](_0x212f21){return new MatchDecorator({'regexp':_0x212f21['specialChars'],'decoration':(_0x7694b,_0x473b58,_0x4b3a3c)=>{let {doc:_0x36be24}=_0x473b58['state'],_0x4e55dc=codePointAt(_0x7694b[0x0],0x0);if(0x9==_0x4e55dc){let _0x4b7f3d=_0x36be24['lineAt'](_0x4b3a3c),_0x594821=_0x473b58['state']['tabSize'],_0x2b9366=countColumn(_0x4b7f3d['text'],_0x594821,_0x4b3a3c-_0x4b7f3d['from']);return Decoration['replace']({'widget':new TabWidget((_0x594821-_0x2b9366%_0x594821)*this['view']['defaultCharacterWidth']/this['view']['scaleX'])});}return this['decorationCache'][_0x4e55dc]||(this['decorationCache'][_0x4e55dc]=Decoration['replace']({'widget':new SpecialCharWidget(_0x212f21,_0x4e55dc)}));},'boundary':_0x212f21['replaceTabs']?void 0x0:/[^]/});}['update'](_0x2d4207){let _0x2e463c=_0x2d4207['state']['facet'](_0x6d30a3);_0x2d4207['startState']['facet'](_0x6d30a3)!=_0x2e463c?(this['decorator']=this['makeDecorator'](_0x2e463c),this['decorations']=this['decorator']['createDeco'](_0x2d4207['view'])):this['decorations']=this['decorator']['updateDeco'](_0x2d4207,this['decorations']);}},{'decorations':_0x21bf1f=>_0x21bf1f['decorations']}));}const DefaultPlaceholder='•';function _0x89ffcc(_0x2e2d76){return _0x2e2d76>=0x20?DefaultPlaceholder:0xa==_0x2e2d76?'␤':String['fromCharCode'](0x2400+_0x2e2d76);}class SpecialCharWidget extends WidgetType{constructor(_0x406898,_0x3ca2ff){super(),this['options']=_0x406898,this['code']=_0x3ca2ff;}['eq'](_0x1cadb6){return _0x1cadb6['code']==this['code'];}['toDOM'](_0x9249eb){let _0x55fa44=_0x89ffcc(this['code']),_0x3c556b=_0x9249eb['state']['phrase']('Control\x20character')+'\x20'+(_0x571fd9[this['code']]||'0x'+this['code']['toString'](0x10)),_0x136841=this['options']['render']&&this['options']['render'](this['code'],_0x3c556b,_0x55fa44);if(_0x136841)return _0x136841;let _0x35166b=document['createElement']('span');return _0x35166b['textContent']=_0x55fa44,_0x35166b['title']=_0x3c556b,_0x35166b['setAttribute']('aria-label',_0x3c556b),_0x35166b['className']='cm-specialChar',_0x35166b;}['ignoreEvent'](){return!0x1;}}class TabWidget extends WidgetType{constructor(_0x17eb1e){super(),this['width']=_0x17eb1e;}['eq'](_0x4cef88){return _0x4cef88['width']==this['width'];}['toDOM'](){let _0x58ca31=document['createElement']('span');return _0x58ca31['textContent']='\x09',_0x58ca31['className']='cm-tab',_0x58ca31['style']['width']=this['width']+'px',_0x58ca31;}['ignoreEvent'](){return!0x1;}}function highlightActiveLine(){return activeLineHighlighter;}const _0x1f18b6=Decoration['line']({'class':'cm-activeLine'}),activeLineHighlighter=_0x19aa80['fromClass'](class{constructor(_0x4a8fbc){this['decorations']=this['getDeco'](_0x4a8fbc);}['update'](_0x24a634){(_0x24a634['docChanged']||_0x24a634['selectionSet'])&&(this['decorations']=this['getDeco'](_0x24a634['view']));}['getDeco'](_0x4502d0){let _0x58495d=-0x1,_0x5c51c9=[];for(let _0x3328d0 of _0x4502d0['state']['selection']['ranges']){let _0x2c3bce=_0x4502d0['lineBlockAt'](_0x3328d0['head']);_0x2c3bce['from']>_0x58495d&&(_0x5c51c9['push'](_0x1f18b6['range'](_0x2c3bce['from'])),_0x58495d=_0x2c3bce['from']);}return Decoration['set'](_0x5c51c9);}},{'decorations':_0x4ce158=>_0x4ce158['decorations']}),_0x17a45f=0x7d0;function rectangleFor(_0x1da1c9,_0x4974a4,_0x588e0c){let _0x159736=Math['min'](_0x4974a4['line'],_0x588e0c['line']),_0x32fcbf=Math['max'](_0x4974a4['line'],_0x588e0c['line']),_0x5490df=[];if(_0x4974a4['off']>_0x17a45f||_0x588e0c['off']>_0x17a45f||_0x4974a4['col']<0x0||_0x588e0c['col']<0x0){let _0x3c4e74=Math['min'](_0x4974a4['off'],_0x588e0c['off']),_0x21d20e=Math['max'](_0x4974a4['off'],_0x588e0c['off']);for(let _0x3ae80f=_0x159736;_0x3ae80f<=_0x32fcbf;_0x3ae80f++){let _0x47d1b6=_0x1da1c9['doc']['line'](_0x3ae80f);_0x47d1b6['length']<=_0x21d20e&&_0x5490df['push'](EditorSelection['range'](_0x47d1b6['from']+_0x3c4e74,_0x47d1b6['to']+_0x21d20e));}}else{let _0x513b03=Math['min'](_0x4974a4['col'],_0x588e0c['col']),_0x28986a=Math['max'](_0x4974a4['col'],_0x588e0c['col']);for(let _0x271d59=_0x159736;_0x271d59<=_0x32fcbf;_0x271d59++){let _0x4d36f6=_0x1da1c9['doc']['line'](_0x271d59),_0xc364dd=_0x17637e(_0x4d36f6['text'],_0x513b03,_0x1da1c9['tabSize'],!0x0);if(_0xc364dd<0x0)_0x5490df['push'](EditorSelection['cursor'](_0x4d36f6['to']));else{let _0x43197e=_0x17637e(_0x4d36f6['text'],_0x28986a,_0x1da1c9['tabSize']);_0x5490df['push'](EditorSelection['range'](_0x4d36f6['from']+_0xc364dd,_0x4d36f6['from']+_0x43197e));}}}return _0x5490df;}function absoluteColumn(_0x2458b5,_0x5a1bce){let _0x142bb8=_0x2458b5['coordsAtPos'](_0x2458b5['viewport']['from']);return _0x142bb8?Math['round'](Math['abs']((_0x142bb8['left']-_0x5a1bce)/_0x2458b5['defaultCharacterWidth'])):-0x1;}function getPos(_0x5e0c9e,_0x5152b4){let _0x3058cf=_0x5e0c9e['posAtCoords']({'x':_0x5152b4['clientX'],'y':_0x5152b4['clientY']},!0x1),_0x3d16b2=_0x5e0c9e['state']['doc']['lineAt'](_0x3058cf),_0x534a8d=_0x3058cf-_0x3d16b2['from'],_0x1f7a9d=_0x534a8d>_0x17a45f?-0x1:_0x534a8d==_0x3d16b2['length']?absoluteColumn(_0x5e0c9e,_0x5152b4['clientX']):countColumn(_0x3d16b2['text'],_0x5e0c9e['state']['tabSize'],_0x3058cf-_0x3d16b2['from']);return{'line':_0x3d16b2['number'],'col':_0x1f7a9d,'off':_0x534a8d};}function rectangleSelectionStyle(_0x460b27,_0x1de00d){let _0x1da376=getPos(_0x460b27,_0x1de00d),_0x362885=_0x460b27['state']['selection'];return _0x1da376?{'update'(_0x39dc87){if(_0x39dc87['docChanged']){let _0x552dd5=_0x39dc87['changes']['mapPos'](_0x39dc87['startState']['doc']['line'](_0x1da376['line'])['from']),_0x21db94=_0x39dc87['state']['doc']['lineAt'](_0x552dd5);_0x1da376={'line':_0x21db94['number'],'col':_0x1da376['col'],'off':Math['min'](_0x1da376['off'],_0x21db94['length'])},_0x362885=_0x362885['map'](_0x39dc87['changes']);}},'get'(_0x54b227,_0x40c790,_0x572147){let _0x356b78=getPos(_0x460b27,_0x54b227);if(!_0x356b78)return _0x362885;let _0x70b4c4=rectangleFor(_0x460b27['state'],_0x1da376,_0x356b78);return _0x70b4c4['length']?_0x572147?EditorSelection['create'](_0x70b4c4['concat'](_0x362885['ranges'])):EditorSelection['create'](_0x70b4c4):_0x362885;}}:null;}function rectangularSelection(_0x4e3485){return EditorView['mouseSelectionStyle']['of']((_0x25b253,_0x360fc1)=>(_0x1af5bb=>_0x1af5bb['altKey']&&0x0==_0x1af5bb['button'])(_0x360fc1)?rectangleSelectionStyle(_0x25b253,_0x360fc1):null);}const _0x36b354={'Alt':[0x12,_0x41de5b=>!!_0x41de5b['altKey']],'Control':[0x11,_0x4e15eb=>!!_0x4e15eb['ctrlKey']],'Shift':[0x10,_0x38a096=>!!_0x38a096['shiftKey']],'Meta':[0x5b,_0x5a65d8=>!!_0x5a65d8['metaKey']]},_0x551a02={'style':'cursor:\x20crosshair'};function _0x43b90a(_0x2e8c92={}){let [_0x155304,_0x4d3eaa]=_0x36b354[_0x2e8c92['key']||'Alt'],_0x37cd7b=_0x19aa80['fromClass'](class{constructor(_0x5ab0ff){this['view']=_0x5ab0ff,this['isDown']=!0x1;}['set'](_0x17325f){this['isDown']!=_0x17325f&&(this['isDown']=_0x17325f,this['view']['update']([]));}},{'eventObservers':{'keydown'(_0xd8fa90){this['set'](_0xd8fa90['keyCode']==_0x155304||_0x4d3eaa(_0xd8fa90));},'keyup'(_0xc96f54){_0xc96f54['keyCode']!=_0x155304&&_0x4d3eaa(_0xc96f54)||this['set'](!0x1);},'mousemove'(_0x35754f){this['set'](_0x4d3eaa(_0x35754f));}}});return[_0x37cd7b,EditorView['contentAttributes']['of'](_0x54f1e6=>{var _0x52cd91;return(null===(_0x52cd91=_0x54f1e6['plugin'](_0x37cd7b))||void 0x0===_0x52cd91?void 0x0:_0x52cd91['isDown'])?_0x551a02:null;})];}const Outside='-10000px';class TooltipViewManager{constructor(_0x199b8d,_0x2fc105,_0x45ddbd,_0x2c4abb){this['facet']=_0x2fc105,this['createTooltipView']=_0x45ddbd,this['removeTooltipView']=_0x2c4abb,this['input']=_0x199b8d['state']['facet'](_0x2fc105),this['tooltips']=this['input']['filter'](t=>t);let _0x39c8b7=null;this['tooltipViews']=this['tooltips']['map'](t=>_0x39c8b7=_0x45ddbd(t,_0x39c8b7));}['update'](_0x21cc3e,_0x338543){var _0x299e34;let _0x4413e9=_0x21cc3e['state']['facet'](this['facet']),_0x5a8eb2=_0x4413e9['filter'](_0x9ce0df=>_0x9ce0df);if(_0x4413e9===this['input']){for(let t of this['tooltipViews'])t['update']&&t['update'](_0x21cc3e);return!0x1;}let _0x329d81=[],_0x4d1b87=_0x338543?[]:null;for(let _0x279eee=0x0;_0x279eee<_0x5a8eb2['length'];_0x279eee++){let _0x15f629=_0x5a8eb2[_0x279eee],_0x2b9b12=-0x1;if(_0x15f629){for(let _0x14dcbc=0x0;_0x14dcbc<this['tooltips']['length'];_0x14dcbc++){let _0x62c2bd=this['tooltips'][_0x14dcbc];_0x62c2bd&&_0x62c2bd['create']==_0x15f629['create']&&(_0x2b9b12=_0x14dcbc);}if(_0x2b9b12<0x0)_0x329d81[_0x279eee]=this['createTooltipView'](_0x15f629,_0x279eee?_0x329d81[_0x279eee-0x1]:null),_0x4d1b87&&(_0x4d1b87[_0x279eee]=!!_0x15f629['above']);else{let _0xc33916=_0x329d81[_0x279eee]=this['tooltipViews'][_0x2b9b12];_0x4d1b87&&(_0x4d1b87[_0x279eee]=_0x338543[_0x2b9b12]),_0xc33916['update']&&_0xc33916['update'](_0x21cc3e);}}}for(let t of this['tooltipViews'])_0x329d81['indexOf'](t)<0x0&&(this['removeTooltipView'](t),null===(_0x299e34=t['destroy'])||void 0x0===_0x299e34||_0x299e34['call'](t));return _0x338543&&(_0x4d1b87['forEach']((_0x506044,_0x43bdbb)=>_0x338543[_0x43bdbb]=_0x506044),_0x338543['length']=_0x4d1b87['length']),this['input']=_0x4413e9,this['tooltips']=_0x5a8eb2,this['tooltipViews']=_0x329d81,!0x0;}}function _0x4230d5(_0x38f943){let _0x1e429c=_0x38f943['dom']['ownerDocument']['documentElement'];return{'top':0x0,'left':0x0,'bottom':_0x1e429c['clientHeight'],'right':_0x1e429c['clientWidth']};}const tooltipConfig=Facet['define']({'combine':_0x347c20=>{var _0x2d0ba3,_0x4591c4,_0x24291b;return{'position':_0x2b04e4['ios']?'absolute':(null===(_0x2d0ba3=_0x347c20['find'](_0x181b11=>_0x181b11['position']))||void 0x0===_0x2d0ba3?void 0x0:_0x2d0ba3['position'])||'fixed','parent':(null===(_0x4591c4=_0x347c20['find'](_0xfaf467=>_0xfaf467['parent']))||void 0x0===_0x4591c4?void 0x0:_0x4591c4['parent'])||null,'tooltipSpace':(null===(_0x24291b=_0x347c20['find'](_0x5f2907=>_0x5f2907['tooltipSpace']))||void 0x0===_0x24291b?void 0x0:_0x24291b['tooltipSpace'])||_0x4230d5};}}),knownHeight=new WeakMap(),tooltipPlugin=_0x19aa80['fromClass'](class{constructor(_0x136209){this['view']=_0x136209,this['above']=[],this['inView']=!0x0,this['madeAbsolute']=!0x1,this['lastTransaction']=0x0,this['measureTimeout']=-0x1;let _0x43d648=_0x136209['state']['facet'](tooltipConfig);this['position']=_0x43d648['position'],this['parent']=_0x43d648['parent'],this['classes']=_0x136209['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(_0x136209,showTooltip,(t,_0xd744a8)=>this['createTooltip'](t,_0xd744a8),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(_0x5fb83f=>{Date['now']()>this['lastTransaction']-0x32&&_0x5fb83f['length']>0x0&&_0x5fb83f[_0x5fb83f['length']-0x1]['intersectionRatio']<0x1&&this['measureSoon']();},{'threshold':[0x1]}):null,this['observeIntersection'](),_0x136209['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 _0x5559ff of this['manager']['tooltipViews'])this['intersectionObserver']['observe'](_0x5559ff['dom']);}}['measureSoon'](){this['measureTimeout']<0x0&&(this['measureTimeout']=setTimeout(()=>{this['measureTimeout']=-0x1,this['maybeMeasure']();},0x32));}['update'](_0x4b5cdb){_0x4b5cdb['transactions']['length']&&(this['lastTransaction']=Date['now']());let _0x2c80a0=this['manager']['update'](_0x4b5cdb,this['above']);_0x2c80a0&&this['observeIntersection']();let _0xdcb447=_0x2c80a0||_0x4b5cdb['geometryChanged'],_0x3e9969=_0x4b5cdb['state']['facet'](tooltipConfig);if(_0x3e9969['position']!=this['position']&&!this['madeAbsolute']){this['position']=_0x3e9969['position'];for(let t of this['manager']['tooltipViews'])t['dom']['style']['position']=this['position'];_0xdcb447=!0x0;}if(_0x3e9969['parent']!=this['parent']){this['parent']&&this['container']['remove'](),this['parent']=_0x3e9969['parent'],this['createContainer']();for(let t of this['manager']['tooltipViews'])this['container']['appendChild'](t['dom']);_0xdcb447=!0x0;}else this['parent']&&this['view']['themeClasses']!=this['classes']&&(this['classes']=this['container']['className']=this['view']['themeClasses']);_0xdcb447&&this['maybeMeasure']();}['createTooltip'](_0x2643eb,_0x418102){let _0xc68270=_0x2643eb['create'](this['view']),_0x2ec02f=_0x418102?_0x418102['dom']:null;if(_0xc68270['dom']['classList']['add']('cm-tooltip'),_0x2643eb['arrow']&&!_0xc68270['dom']['querySelector']('.cm-tooltip\x20>\x20.cm-tooltip-arrow')){let _0x566437=document['createElement']('div');_0x566437['className']='cm-tooltip-arrow',_0xc68270['dom']['appendChild'](_0x566437);}return _0xc68270['dom']['style']['position']=this['position'],_0xc68270['dom']['style']['top']=Outside,_0xc68270['dom']['style']['left']='0px',this['container']['insertBefore'](_0xc68270['dom'],_0x2ec02f),_0xc68270['mount']&&_0xc68270['mount'](this['view']),this['resizeObserver']&&this['resizeObserver']['observe'](_0xc68270['dom']),_0xc68270;}['destroy'](){var _0x5f0985,_0x35269c,_0x5ee7c0;this['view']['win']['removeEventListener']('resize',this['measureSoon']);for(let _0x455445 of this['manager']['tooltipViews'])_0x455445['dom']['remove'](),null===(_0x5f0985=_0x455445['destroy'])||void 0x0===_0x5f0985||_0x5f0985['call'](_0x455445);this['parent']&&this['container']['remove'](),null===(_0x35269c=this['resizeObserver'])||void 0x0===_0x35269c||_0x35269c['disconnect'](),null===(_0x5ee7c0=this['intersectionObserver'])||void 0x0===_0x5ee7c0||_0x5ee7c0['disconnect'](),clearTimeout(this['measureTimeout']);}['readMeasure'](){let _0x47a874=0x1,_0x4f7bc9=0x1,_0x2ddd1a=!0x1;if('fixed'==this['position']&&this['manager']['tooltipViews']['length']){let {dom:_0x5c5ae0}=this['manager']['tooltipViews'][0x0];if(_0x2b04e4['gecko'])_0x2ddd1a=_0x5c5ae0['offsetParent']!=this['container']['ownerDocument']['body'];else{if(_0x5c5ae0['style']['top']==Outside&&'0px'==_0x5c5ae0['style']['left']){let _0x4be467=_0x5c5ae0['getBoundingClientRect']();_0x2ddd1a=Math['abs'](_0x4be467['top']+0x2710)>0x1||Math['abs'](_0x4be467['left'])>0x1;}}}if(_0x2ddd1a||'absolute'==this['position']){if(this['parent']){let _0x3cd3da=this['parent']['getBoundingClientRect']();_0x3cd3da['width']&&_0x3cd3da['height']&&(_0x47a874=_0x3cd3da['width']/this['parent']['offsetWidth'],_0x4f7bc9=_0x3cd3da['height']/this['parent']['offsetHeight']);}else({scaleX:_0x47a874,scaleY:_0x4f7bc9}=this['view']['viewState']);}let _0x40dca6=this['view']['scrollDOM']['getBoundingClientRect'](),_0x51030f=getScrollMargins(this['view']);return{'visible':{'left':_0x40dca6['left']+_0x51030f['left'],'top':_0x40dca6['top']+_0x51030f['top'],'right':_0x40dca6['right']-_0x51030f['right'],'bottom':_0x40dca6['bottom']-_0x51030f['bottom']},'parent':this['parent']?this['container']['getBoundingClientRect']():this['view']['dom']['getBoundingClientRect'](),'pos':this['manager']['tooltips']['map']((t,_0x18fd46)=>{let _0xccaf86=this['manager']['tooltipViews'][_0x18fd46];return _0xccaf86['getCoords']?_0xccaf86['getCoords'](t['pos']):this['view']['coordsAtPos'](t['pos']);}),'size':this['manager']['tooltipViews']['map'](({dom:_0x30ec37})=>_0x30ec37['getBoundingClientRect']()),'space':this['view']['state']['facet'](tooltipConfig)['tooltipSpace'](this['view']),'scaleX':_0x47a874,'scaleY':_0x4f7bc9,'makeAbsolute':_0x2ddd1a};}['writeMeasure'](_0x181f36){var _0x28b758;if(_0x181f36['makeAbsolute']){this['madeAbsolute']=!0x0,this['position']='absolute';for(let t of this['manager']['tooltipViews'])t['dom']['style']['position']='absolute';}let {visible:_0x4152b6,space:_0x56a8dd,scaleX:_0x5280e0,scaleY:_0x43f94f}=_0x181f36,_0x30efea=[];for(let _0x179808=0x0;_0x179808<this['manager']['tooltips']['length'];_0x179808++){let _0x56b1a9=this['manager']['tooltips'][_0x179808],_0x33a1fd=this['manager']['tooltipViews'][_0x179808],{dom:_0x20a138}=_0x33a1fd,_0x4c0f4f=_0x181f36['pos'][_0x179808],_0x5e31f7=_0x181f36['size'][_0x179808];if(!_0x4c0f4f||!0x1!==_0x56b1a9['clip']&&(_0x4c0f4f['bottom']<=Math['max'](_0x4152b6['top'],_0x56a8dd['top'])||_0x4c0f4f['top']>=Math['min'](_0x4152b6['bottom'],_0x56a8dd['bottom'])||_0x4c0f4f['right']<Math['max'](_0x4152b6['left'],_0x56a8dd['left'])-0.1||_0x4c0f4f['left']>Math['min'](_0x4152b6['right'],_0x56a8dd['right'])+0.1)){_0x20a138['style']['top']=Outside;continue;}let _0x24e6ce=_0x56b1a9['arrow']?_0x33a1fd['dom']['querySelector']('.cm-tooltip-arrow'):null,_0x48bdb7=_0x24e6ce?0x7:0x0,_0x5ce46e=_0x5e31f7['right']-_0x5e31f7['left'],_0x1fb118=null!==(_0x28b758=knownHeight['get'](_0x33a1fd))&&void 0x0!==_0x28b758?_0x28b758:_0x5e31f7['bottom']-_0x5e31f7['top'],_0x10a911=_0x33a1fd['offset']||noOffset,_0x1374a1=this['view']['textDirection']==Direction['LTR'],_0x4645d4=_0x5e31f7['width']>_0x56a8dd['right']-_0x56a8dd['left']?_0x1374a1?_0x56a8dd['left']:_0x56a8dd['right']-_0x5e31f7['width']:_0x1374a1?Math['max'](_0x56a8dd['left'],Math['min'](_0x4c0f4f['left']-(_0x24e6ce?0xe:0x0)+_0x10a911['x'],_0x56a8dd['right']-_0x5ce46e)):Math['min'](Math['max'](_0x56a8dd['left'],_0x4c0f4f['left']-_0x5ce46e+(_0x24e6ce?0xe:0x0)-_0x10a911['x']),_0x56a8dd['right']-_0x5ce46e),_0x3b4b47=this['above'][_0x179808];!_0x56b1a9['strictSide']&&(_0x3b4b47?_0x4c0f4f['top']-_0x1fb118-_0x48bdb7-_0x10a911['y']<_0x56a8dd['top']:_0x4c0f4f['bottom']+_0x1fb118+_0x48bdb7+_0x10a911['y']>_0x56a8dd['bottom'])&&_0x3b4b47==_0x56a8dd['bottom']-_0x4c0f4f['bottom']>_0x4c0f4f['top']-_0x56a8dd['top']&&(_0x3b4b47=this['above'][_0x179808]=!_0x3b4b47);let _0x1ebe7a=(_0x3b4b47?_0x4c0f4f['top']-_0x56a8dd['top']:_0x56a8dd['bottom']-_0x4c0f4f['bottom'])-_0x48bdb7;if(_0x1ebe7a<_0x1fb118&&!0x1!==_0x33a1fd['resize']){if(_0x1ebe7a<this['view']['defaultLineHeight']){_0x20a138['style']['top']=Outside;continue;}knownHeight['set'](_0x33a1fd,_0x1fb118),_0x20a138['style']['height']=(_0x1fb118=_0x1ebe7a)/_0x43f94f+'px';}else _0x20a138['style']['height']&&(_0x20a138['style']['height']='');let _0x4ea80f=_0x3b4b47?_0x4c0f4f['top']-_0x1fb118-_0x48bdb7-_0x10a911['y']:_0x4c0f4f['bottom']+_0x48bdb7+_0x10a911['y'],_0x80aa86=_0x4645d4+_0x5ce46e;if(!0x0!==_0x33a1fd['overlap']){for(let _0x50fc6b of _0x30efea)_0x50fc6b['left']<_0x80aa86&&_0x50fc6b['right']>_0x4645d4&&_0x50fc6b['top']<_0x4ea80f+_0x1fb118&&_0x50fc6b['bottom']>_0x4ea80f&&(_0x4ea80f=_0x3b4b47?_0x50fc6b['top']-_0x1fb118-0x2-_0x48bdb7:_0x50fc6b['bottom']+_0x48bdb7+0x2);}if('absolute'==this['position']?(_0x20a138['style']['top']=(_0x4ea80f-_0x181f36['parent']['top'])/_0x43f94f+'px',setLeftStyle(_0x20a138,(_0x4645d4-_0x181f36['parent']['left'])/_0x5280e0)):(_0x20a138['style']['top']=_0x4ea80f/_0x43f94f+'px',setLeftStyle(_0x20a138,_0x4645d4/_0x5280e0)),_0x24e6ce){let _0x208ead=_0x4c0f4f['left']+(_0x1374a1?_0x10a911['x']:-_0x10a911['x'])-(_0x4645d4+0xe-0x7);_0x24e6ce['style']['left']=_0x208ead/_0x5280e0+'px';}!0x0!==_0x33a1fd['overlap']&&_0x30efea['push']({'left':_0x4645d4,'top':_0x4ea80f,'right':_0x80aa86,'bottom':_0x4ea80f+_0x1fb118}),_0x20a138['classList']['toggle']('cm-tooltip-above',_0x3b4b47),_0x20a138['classList']['toggle']('cm-tooltip-below',!_0x3b4b47),_0x33a1fd['positioned']&&_0x33a1fd['positioned'](_0x181f36['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 _0x33b38d of this['manager']['tooltipViews'])_0x33b38d['dom']['style']['top']=Outside;}}},{'eventObservers':{'scroll'(){this['maybeMeasure']();}}});function setLeftStyle(_0x33469c,_0xdb0842){let _0x22e442=parseInt(_0x33469c['style']['left'],0xa);(isNaN(_0x22e442)||Math['abs'](_0xdb0842-_0x22e442)>0x1)&&(_0x33469c['style']['left']=_0xdb0842+'px');}const _0x550926=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,_0x550926]});function getTooltip(_0x201d1a,_0x51ae10){let _0x1e3dbc=_0x201d1a['plugin'](tooltipPlugin);if(!_0x1e3dbc)return null;let _0x1a40ee=_0x1e3dbc['manager']['tooltips']['indexOf'](_0x51ae10);return _0x1a40ee<0x0?null:_0x1e3dbc['manager']['tooltipViews'][_0x1a40ee];}class GutterMarker extends _0x450183{['compare'](_0x552c98){return this==_0x552c98||this['constructor']==_0x552c98['constructor']&&this['eq'](_0x552c98);}['eq'](_0x5d623b){return!0x1;}['destroy'](_0x4da965){}}GutterMarker['prototype']['elementClass']='',GutterMarker['prototype']['toDOM']=void 0x0,GutterMarker['prototype']['mapMode']=_0x1fe232['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(_0x38eddb){return[gutters(),activeGutters['of']({...defaults$1,..._0x38eddb})];}const unfixGutters=Facet['define']({'combine':_0x26b3ff=>_0x26b3ff['some'](_0x5973de=>_0x5973de)});function gutters(_0x463067){return[gutterView];}const gutterView=_0x19aa80['fromClass'](class{constructor(_0x1c59e3){this['view']=_0x1c59e3,this['domAfter']=null,this['prevViewport']=_0x1c59e3['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']=_0x1c59e3['state']['facet'](activeGutters)['map'](_0x1cc3ee=>new SingleGutterView(_0x1c59e3,_0x1cc3ee)),this['fixed']=!_0x1c59e3['state']['facet'](unfixGutters);for(let _0x2ec55c of this['gutters'])'after'==_0x2ec55c['config']['side']?this['getDOMAfter']()['appendChild'](_0x2ec55c['dom']):this['dom']['appendChild'](_0x2ec55c['dom']);this['fixed']&&(this['dom']['style']['position']='sticky'),this['syncGutters'](!0x1),_0x1c59e3['scrollDOM']['insertBefore'](this['dom'],_0x1c59e3['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'](_0x58242a){if(this['updateGutters'](_0x58242a)){let _0x2e6460=this['prevViewport'],_0x48b360=_0x58242a['view']['viewport'],_0x53966a=Math['min'](_0x2e6460['to'],_0x48b360['to'])-Math['max'](_0x2e6460['from'],_0x48b360['from']);this['syncGutters'](_0x53966a<0.8*(_0x48b360['to']-_0x48b360['from']));}if(_0x58242a['geometryChanged']){let _0x832e2e=this['view']['contentHeight']/this['view']['scaleY']+'px';this['dom']['style']['minHeight']=_0x832e2e,this['domAfter']&&(this['domAfter']['style']['minHeight']=_0x832e2e);}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']=_0x58242a['view']['viewport'];}['syncGutters'](_0x141553){let _0x3f4f4e=this['dom']['nextSibling'];_0x141553&&(this['dom']['remove'](),this['domAfter']&&this['domAfter']['remove']());let _0x4cf7a9=RangeSet['iter'](this['view']['state']['facet'](gutterLineClass),this['view']['viewport']['from']),_0x1473a1=[],_0x18a084=this['gutters']['map'](_0x25387b=>new UpdateContext(_0x25387b,this['view']['viewport'],-this['view']['documentPadding']['top']));for(let _0x55d0a9 of this['view']['viewportLineBlocks'])if(_0x1473a1['length']&&(_0x1473a1=[]),Array['isArray'](_0x55d0a9['type'])){let _0x47ec2f=!0x0;for(let _0x376b86 of _0x55d0a9['type'])if(_0x376b86['type']==_0x4ab331['Text']&&_0x47ec2f){_0x2d580d(_0x4cf7a9,_0x1473a1,_0x376b86['from']);for(let _0x3c98aa of _0x18a084)_0x3c98aa['line'](this['view'],_0x376b86,_0x1473a1);_0x47ec2f=!0x1;}else{if(_0x376b86['widget']){for(let _0x1d2901 of _0x18a084)_0x1d2901['widget'](this['view'],_0x376b86);}}}else{if(_0x55d0a9['type']==_0x4ab331['Text']){_0x2d580d(_0x4cf7a9,_0x1473a1,_0x55d0a9['from']);for(let _0x53af53 of _0x18a084)_0x53af53['line'](this['view'],_0x55d0a9,_0x1473a1);}else{if(_0x55d0a9['widget']){for(let _0xfb3d30 of _0x18a084)_0xfb3d30['widget'](this['view'],_0x55d0a9);}}}for(let _0xbf289a of _0x18a084)_0xbf289a['finish']();_0x141553&&(this['view']['scrollDOM']['insertBefore'](this['dom'],_0x3f4f4e),this['domAfter']&&this['view']['scrollDOM']['appendChild'](this['domAfter']));}['updateGutters'](_0x49a9bd){let _0x188058=_0x49a9bd['startState']['facet'](activeGutters),_0x36a247=_0x49a9bd['state']['facet'](activeGutters),_0x3bcec4=_0x49a9bd['docChanged']||_0x49a9bd['heightChanged']||_0x49a9bd['viewportChanged']||!RangeSet['eq'](_0x49a9bd['startState']['facet'](gutterLineClass),_0x49a9bd['state']['facet'](gutterLineClass),_0x49a9bd['view']['viewport']['from'],_0x49a9bd['view']['viewport']['to']);if(_0x188058==_0x36a247){for(let _0x633039 of this['gutters'])_0x633039['update'](_0x49a9bd)&&(_0x3bcec4=!0x0);}else{_0x3bcec4=!0x0;let _0x148d02=[];for(let _0x129098 of _0x36a247){let _0x359391=_0x188058['indexOf'](_0x129098);_0x359391<0x0?_0x148d02['push'](new SingleGutterView(this['view'],_0x129098)):(this['gutters'][_0x359391]['update'](_0x49a9bd),_0x148d02['push'](this['gutters'][_0x359391]));}for(let _0x3845af of this['gutters'])_0x3845af['dom']['remove'](),_0x148d02['indexOf'](_0x3845af)<0x0&&_0x3845af['destroy']();for(let _0x5c44ce of _0x148d02)'after'==_0x5c44ce['config']['side']?this['getDOMAfter']()['appendChild'](_0x5c44ce['dom']):this['dom']['appendChild'](_0x5c44ce['dom']);this['gutters']=_0x148d02;}return _0x3bcec4;}['destroy'](){for(let _0x4f1f81 of this['gutters'])_0x4f1f81['destroy']();this['dom']['remove'](),this['domAfter']&&this['domAfter']['remove']();}},{'provide':_0xed0ba1=>EditorView['scrollMargins']['of'](_0xb4fa5=>{let _0x5970aa=_0xb4fa5['plugin'](_0xed0ba1);if(!_0x5970aa||0x0==_0x5970aa['gutters']['length']||!_0x5970aa['fixed'])return null;let _0x65e59d=_0x5970aa['dom']['offsetWidth']*_0xb4fa5['scaleX'],_0xe516b=_0x5970aa['domAfter']?_0x5970aa['domAfter']['offsetWidth']*_0xb4fa5['scaleX']:0x0;return _0xb4fa5['textDirection']==Direction['LTR']?{'left':_0x65e59d,'right':_0xe516b}:{'right':_0x65e59d,'left':_0xe516b};})});function _0x908d4d(_0x4046e3){return Array['isArray'](_0x4046e3)?_0x4046e3:[_0x4046e3];}function _0x2d580d(_0x339bb2,_0x798e67,_0x17ea65){for(;_0x339bb2['value']&&_0x339bb2['from']<=_0x17ea65;)_0x339bb2['from']==_0x17ea65&&_0x798e67['push'](_0x339bb2['value']),_0x339bb2['next']();}class UpdateContext{constructor(_0x53b68a,_0x5bd6d0,_0x1dfc63){this['gutter']=_0x53b68a,this['height']=_0x1dfc63,this['i']=0x0,this['cursor']=RangeSet['iter'](_0x53b68a['markers'],_0x5bd6d0['from']);}['addElement'](_0x5ef41e,_0xe17a5a,_0x9c979f){let {gutter:_0x7fe008}=this,_0x62686d=(_0xe17a5a['top']-this['height'])/_0x5ef41e['scaleY'],_0x4798a5=_0xe17a5a['height']/_0x5ef41e['scaleY'];if(this['i']==_0x7fe008['elements']['length']){let _0x56246e=new GutterElement(_0x5ef41e,_0x4798a5,_0x62686d,_0x9c979f);_0x7fe008['elements']['push'](_0x56246e),_0x7fe008['dom']['appendChild'](_0x56246e['dom']);}else _0x7fe008['elements'][this['i']]['update'](_0x5ef41e,_0x4798a5,_0x62686d,_0x9c979f);this['height']=_0xe17a5a['bottom'],this['i']++;}['line'](_0x325e72,_0x329ec0,_0x112b6a){let _0x4c6038=[];_0x2d580d(this['cursor'],_0x4c6038,_0x329ec0['from']),_0x112b6a['length']&&(_0x4c6038=_0x4c6038['concat'](_0x112b6a));let _0x492bf1=this['gutter']['config']['lineMarker'](_0x325e72,_0x329ec0,_0x4c6038);_0x492bf1&&_0x4c6038['unshift'](_0x492bf1);let _0x598962=this['gutter'];(0x0!=_0x4c6038['length']||_0x598962['config']['renderEmptyElements'])&&this['addElement'](_0x325e72,_0x329ec0,_0x4c6038);}['widget'](_0x5264e8,_0x1bfe61){let _0x23a749=this['gutter']['config']['widgetMarker'](_0x5264e8,_0x1bfe61['widget'],_0x1bfe61),_0x2a6de3=_0x23a749?[_0x23a749]:null;for(let _0x1b8096 of _0x5264e8['state']['facet'](gutterWidgetClass)){let _0x29c2ec=_0x1b8096(_0x5264e8,_0x1bfe61['widget'],_0x1bfe61);_0x29c2ec&&(_0x2a6de3||(_0x2a6de3=[]))['push'](_0x29c2ec);}_0x2a6de3&&this['addElement'](_0x5264e8,_0x1bfe61,_0x2a6de3);}['finish'](){let _0x56af7e=this['gutter'];for(;_0x56af7e['elements']['length']>this['i'];){let _0xdb2d09=_0x56af7e['elements']['pop']();_0x56af7e['dom']['removeChild'](_0xdb2d09['dom']),_0xdb2d09['destroy']();}}}class SingleGutterView{constructor(_0x2fb323,_0x22d8ea){this['view']=_0x2fb323,this['config']=_0x22d8ea,this['elements']=[],this['spacer']=null,this['dom']=document['createElement']('div'),this['dom']['className']='cm-gutter'+(this['config']['class']?'\x20'+this['config']['class']:'');for(let _0x242c29 in _0x22d8ea['domEventHandlers'])this['dom']['addEventListener'](_0x242c29,_0x3f9a7b=>{let _0x28c3f9,_0x58dea4=_0x3f9a7b['target'];if(_0x58dea4!=this['dom']&&this['dom']['contains'](_0x58dea4)){for(;_0x58dea4['parentNode']!=this['dom'];)_0x58dea4=_0x58dea4['parentNode'];let _0x5160ec=_0x58dea4['getBoundingClientRect']();_0x28c3f9=(_0x5160ec['top']+_0x5160ec['bottom'])/0x2;}else _0x28c3f9=_0x3f9a7b['clientY'];let _0x57841f=_0x2fb323['lineBlockAtHeight'](_0x28c3f9-_0x2fb323['documentTop']);_0x22d8ea['domEventHandlers'][_0x242c29](_0x2fb323,_0x57841f,_0x3f9a7b)&&_0x3f9a7b['preventDefault']();});this['markers']=_0x908d4d(_0x22d8ea['markers'](_0x2fb323)),_0x22d8ea['initialSpacer']&&(this['spacer']=new GutterElement(_0x2fb323,0x0,0x0,[_0x22d8ea['initialSpacer'](_0x2fb323)]),this['dom']['appendChild'](this['spacer']['dom']),this['spacer']['dom']['style']['cssText']+='visibility:\x20hidden;\x20pointer-events:\x20none');}['update'](_0x505399){let _0x1007bc=this['markers'];if(this['markers']=_0x908d4d(this['config']['markers'](_0x505399['view'])),this['spacer']&&this['config']['updateSpacer']){let _0x1fa2c5=this['config']['updateSpacer'](this['spacer']['markers'][0x0],_0x505399);_0x1fa2c5!=this['spacer']['markers'][0x0]&&this['spacer']['update'](_0x505399['view'],0x0,0x0,[_0x1fa2c5]);}let _0xa50967=_0x505399['view']['viewport'];return!RangeSet['eq'](this['markers'],_0x1007bc,_0xa50967['from'],_0xa50967['to'])||!!this['config']['lineMarkerChange']&&this['config']['lineMarkerChange'](_0x505399);}['destroy'](){for(let _0x21e551 of this['elements'])_0x21e551['destroy']();}}class GutterElement{constructor(_0x10e027,_0x3937ad,_0x21ddf1,_0x590111){this['height']=-0x1,this['above']=0x0,this['markers']=[],this['dom']=document['createElement']('div'),this['dom']['className']='cm-gutterElement',this['update'](_0x10e027,_0x3937ad,_0x21ddf1,_0x590111);}['update'](_0x58ccbf,_0xda0462,_0x4ff55f,_0x2474a1){this['height']!=_0xda0462&&(this['height']=_0xda0462,this['dom']['style']['height']=_0xda0462+'px'),this['above']!=_0x4ff55f&&(this['dom']['style']['marginTop']=(this['above']=_0x4ff55f)?_0x4ff55f+'px':''),_0x1734be(this['markers'],_0x2474a1)||this['setMarkers'](_0x58ccbf,_0x2474a1);}['setMarkers'](_0x388e23,_0x44e1a6){let _0x4feae6='cm-gutterElement',_0x29e2df=this['dom']['firstChild'];for(let _0x84c2fc=0x0,_0xfa7828=0x0;;){let _0x55be5d=_0xfa7828,_0x2448a3=_0x84c2fc<_0x44e1a6['length']?_0x44e1a6[_0x84c2fc++]:null,_0x573aed=!0x1;if(_0x2448a3){let _0x21743c=_0x2448a3['elementClass'];_0x21743c&&(_0x4feae6+='\x20'+_0x21743c);for(let _0x19e338=_0xfa7828;_0x19e338<this['markers']['length'];_0x19e338++)if(this['markers'][_0x19e338]['compare'](_0x2448a3)){_0x55be5d=_0x19e338,_0x573aed=!0x0;break;}}else _0x55be5d=this['markers']['length'];for(;_0xfa7828<_0x55be5d;){let _0x37f5b2=this['markers'][_0xfa7828++];if(_0x37f5b2['toDOM']){_0x37f5b2['destroy'](_0x29e2df);let _0xf4f644=_0x29e2df['nextSibling'];_0x29e2df['remove'](),_0x29e2df=_0xf4f644;}}if(!_0x2448a3)break;_0x2448a3['toDOM']&&(_0x573aed?_0x29e2df=_0x29e2df['nextSibling']:this['dom']['insertBefore'](_0x2448a3['toDOM'](_0x388e23),_0x29e2df)),_0x573aed&&_0xfa7828++;}this['dom']['className']=_0x4feae6,this['markers']=_0x44e1a6;}['destroy'](){this['setMarkers'](null,[]);}}function _0x1734be(_0x5ae179,_0x8a03e2){if(_0x5ae179['length']!=_0x8a03e2['length'])return!0x1;for(let _0x5cbf02=0x0;_0x5cbf02<_0x5ae179['length'];_0x5cbf02++)if(!_0x5ae179[_0x5cbf02]['compare'](_0x8a03e2[_0x5cbf02]))return!0x1;return!0x0;}const _0x325119=Facet['define'](),lineNumberWidgetMarker=Facet['define'](),_0xf2c794=Facet['define']({'combine':_0x1a814b=>_0x1f6110(_0x1a814b,{'formatNumber':String,'domEventHandlers':{}},{'domEventHandlers'(_0x473a91,_0x565a0f){let _0x565a05=Object['assign']({},_0x473a91);for(let _0x48ff66 in _0x565a0f){let _0x5193a0=_0x565a05[_0x48ff66],_0xbfc3e9=_0x565a0f[_0x48ff66];_0x565a05[_0x48ff66]=_0x5193a0?(_0x551111,_0x13c3ca,_0x255757)=>_0x5193a0(_0x551111,_0x13c3ca,_0x255757)||_0xbfc3e9(_0x551111,_0x13c3ca,_0x255757):_0xbfc3e9;}return _0x565a05;}})});class _0x16d03b extends GutterMarker{constructor(_0x15368b){super(),this['number']=_0x15368b;}['eq'](_0xa3d8ee){return this['number']==_0xa3d8ee['number'];}['toDOM'](){return document['createTextNode'](this['number']);}}function formatNumber(_0x59ee1e,_0x40bc84){return _0x59ee1e['state']['facet'](_0xf2c794)['formatNumber'](_0x40bc84,_0x59ee1e['state']);}const lineNumberGutter=activeGutters['compute']([_0xf2c794],_0xca1cdb=>({'class':'cm-lineNumbers','renderEmptyElements':!0x1,'markers':_0x1e59de=>_0x1e59de['state']['facet'](_0x325119),'lineMarker':(_0x20f330,_0x5ef8c4,_0x3e3913)=>_0x3e3913['some'](_0x58fa7e=>_0x58fa7e['toDOM'])?null:new _0x16d03b(formatNumber(_0x20f330,_0x20f330['state']['doc']['lineAt'](_0x5ef8c4['from'])['number'])),'widgetMarker':(_0x5e2891,_0x25a422,_0x2eb95a)=>{for(let _0xb9e1bb of _0x5e2891['state']['facet'](lineNumberWidgetMarker)){let _0x3dc826=_0xb9e1bb(_0x5e2891,_0x25a422,_0x2eb95a);if(_0x3dc826)return _0x3dc826;}return null;},'lineMarkerChange':_0x20d048=>_0x20d048['startState']['facet'](_0xf2c794)!=_0x20d048['state']['facet'](_0xf2c794),'initialSpacer':_0x101df4=>new _0x16d03b(formatNumber(_0x101df4,_0x353b07(_0x101df4['state']['doc']['lines']))),'updateSpacer'(_0x36f571,_0x3de659){let _0x284055=formatNumber(_0x3de659['view'],_0x353b07(_0x3de659['view']['state']['doc']['lines']));return _0x284055==_0x36f571['number']?_0x36f571:new _0x16d03b(_0x284055);},'domEventHandlers':_0xca1cdb['facet'](_0xf2c794)['domEventHandlers'],'side':'before'}));function _0x3b0192(_0x2d2e11={}){return[_0xf2c794['of'](_0x2d2e11),gutters(),lineNumberGutter];}function _0x353b07(_0x24bf9a){let _0x4c2baf=0x9;for(;_0x4c2baf<_0x24bf9a;)_0x4c2baf=0xa*_0x4c2baf+0x9;return _0x4c2baf;}const activeLineGutterMarker=new class extends GutterMarker{constructor(){super(...arguments),this['elementClass']='cm-activeLineGutter';}}(),activeLineGutterHighlighter=gutterLineClass['compute'](['selection'],_0x33b3ac=>{let _0x2398a0=[],_0xf2acd9=-0x1;for(let _0x1b70e7 of _0x33b3ac['selection']['ranges']){let _0x2693f4=_0x33b3ac['doc']['lineAt'](_0x1b70e7['head'])['from'];_0x2693f4>_0xf2acd9&&(_0xf2acd9=_0x2693f4,_0x2398a0['push'](activeLineGutterMarker['range'](_0x2693f4)));}return RangeSet['of'](_0x2398a0);});function highlightActiveLineGutter(){return activeLineGutterHighlighter;}const DefaultBufferLength=0x400;let nextPropID=0x0;class _0x38ff06{constructor(_0x499567,_0x4bce1e){this['from']=_0x499567,this['to']=_0x4bce1e;}}class _0x519268{constructor(_0x3fb7bf={}){this['id']=nextPropID++,this['perNode']=!!_0x3fb7bf['perNode'],this['deserialize']=_0x3fb7bf['deserialize']||(()=>{throw new Error('This\x20node\x20type\x20doesn\x27t\x20define\x20a\x20deserialize\x20function');});}['add'](_0x6d26f2){if(this['perNode'])throw new RangeError('Can\x27t\x20add\x20per-node\x20props\x20to\x20node\x20types');return'function'!=typeof _0x6d26f2&&(_0x6d26f2=_0x23061a['match'](_0x6d26f2)),_0x108e82=>{let _0x24f02f=_0x6d26f2(_0x108e82);return void 0x0===_0x24f02f?null:[this,_0x24f02f];};}}_0x519268['closedBy']=new _0x519268({'deserialize':_0x38b43a=>_0x38b43a['split']('\x20')}),_0x519268['openedBy']=new _0x519268({'deserialize':_0x4374f0=>_0x4374f0['split']('\x20')}),_0x519268['group']=new _0x519268({'deserialize':_0x3a86b8=>_0x3a86b8['split']('\x20')}),_0x519268['isolate']=new _0x519268({'deserialize':_0x2d5d66=>{if(_0x2d5d66&&'rtl'!=_0x2d5d66&&'ltr'!=_0x2d5d66&&'auto'!=_0x2d5d66)throw new RangeError('Invalid\x20value\x20for\x20isolate:\x20'+_0x2d5d66);return _0x2d5d66||'auto';}}),_0x519268['contextHash']=new _0x519268({'perNode':!0x0}),_0x519268['lookAhead']=new _0x519268({'perNode':!0x0}),_0x519268['mounted']=new _0x519268({'perNode':!0x0});class MountedTree{constructor(_0x3a9d05,_0x2c97a6,_0x11b58c){this['tree']=_0x3a9d05,this['overlay']=_0x2c97a6,this['parser']=_0x11b58c;}static['get'](_0x31eb32){return _0x31eb32&&_0x31eb32['props']&&_0x31eb32['props'][_0x519268['mounted']['id']];}}const _0x15a601=Object['create'](null);class _0x23061a{constructor(_0x78f24e,_0x2be231,_0x10a8e4,_0x26a0d0=0x0){this['name']=_0x78f24e,this['props']=_0x2be231,this['id']=_0x10a8e4,this['flags']=_0x26a0d0;}static['define'](_0x4fb578){let _0x1dbd9d=_0x4fb578['props']&&_0x4fb578['props']['length']?Object['create'](null):_0x15a601,_0x36c288=(_0x4fb578['top']?0x1:0x0)|(_0x4fb578['skipped']?0x2:0x0)|(_0x4fb578['error']?0x4:0x0)|(null==_0x4fb578['name']?0x8:0x0),_0xa1941c=new _0x23061a(_0x4fb578['name']||'',_0x1dbd9d,_0x4fb578['id'],_0x36c288);if(_0x4fb578['props']){for(let _0x2f0e3e of _0x4fb578['props'])if(Array['isArray'](_0x2f0e3e)||(_0x2f0e3e=_0x2f0e3e(_0xa1941c)),_0x2f0e3e){if(_0x2f0e3e[0x0]['perNode'])throw new RangeError('Can\x27t\x20store\x20a\x20per-node\x20prop\x20on\x20a\x20node\x20type');_0x1dbd9d[_0x2f0e3e[0x0]['id']]=_0x2f0e3e[0x1];}}return _0xa1941c;}['prop'](_0x25841e){return this['props'][_0x25841e['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'](_0x31a4b6){if('string'==typeof _0x31a4b6){if(this['name']==_0x31a4b6)return!0x0;let _0x14cbba=this['prop'](_0x519268['group']);return!!_0x14cbba&&_0x14cbba['indexOf'](_0x31a4b6)>-0x1;}return this['id']==_0x31a4b6;}static['match'](_0x3a1969){let _0x416e69=Object['create'](null);for(let _0x1abd6b in _0x3a1969)for(let _0x4105e2 of _0x1abd6b['split']('\x20'))_0x416e69[_0x4105e2]=_0x3a1969[_0x1abd6b];return _0x1097b8=>{for(let _0x5c0973=_0x1097b8['prop'](_0x519268['group']),_0x53eb5a=-0x1;_0x53eb5a<(_0x5c0973?_0x5c0973['length']:0x0);_0x53eb5a++){let _0x81e919=_0x416e69[_0x53eb5a<0x0?_0x1097b8['name']:_0x5c0973[_0x53eb5a]];if(_0x81e919)return _0x81e919;}};}}_0x23061a['none']=new _0x23061a('',Object['create'](null),0x0,0x8);class NodeSet{constructor(_0x5b85b1){this['types']=_0x5b85b1;for(let _0x478c13=0x0;_0x478c13<_0x5b85b1['length'];_0x478c13++)if(_0x5b85b1[_0x478c13]['id']!=_0x478c13)throw new RangeError('Node\x20type\x20ids\x20should\x20correspond\x20to\x20array\x20positions\x20when\x20creating\x20a\x20node\x20set');}['extend'](..._0x4a247d){let _0xe803a2=[];for(let _0x3a7a86 of this['types']){let _0x141bc5=null;for(let _0x37c60a of _0x4a247d){let _0xd4224d=_0x37c60a(_0x3a7a86);_0xd4224d&&(_0x141bc5||(_0x141bc5=Object['assign']({},_0x3a7a86['props'])),_0x141bc5[_0xd4224d[0x0]['id']]=_0xd4224d[0x1]);}_0xe803a2['push'](_0x141bc5?new _0x23061a(_0x3a7a86['name'],_0x141bc5,_0x3a7a86['id'],_0x3a7a86['flags']):_0x3a7a86);}return new NodeSet(_0xe803a2);}}const _0x8571c5=new WeakMap(),_0x2aaabf=new WeakMap();var IterMode;!function(_0x2445ae){_0x2445ae[_0x2445ae['ExcludeBuffers']=0x1]='ExcludeBuffers',_0x2445ae[_0x2445ae['IncludeAnonymous']=0x2]='IncludeAnonymous',_0x2445ae[_0x2445ae['IgnoreMounts']=0x4]='IgnoreMounts',_0x2445ae[_0x2445ae['IgnoreOverlays']=0x8]='IgnoreOverlays';}(IterMode||(IterMode={}));class _0x17cdb3{constructor(_0x2727c6,_0x3dc7c4,_0x45c196,_0x44de9a,_0x17a1f3){if(this['type']=_0x2727c6,this['children']=_0x3dc7c4,this['positions']=_0x45c196,this['length']=_0x44de9a,this['props']=null,_0x17a1f3&&_0x17a1f3['length']){this['props']=Object['create'](null);for(let [_0x201ac4,_0x1332f5]of _0x17a1f3)this['props']['number'==typeof _0x201ac4?_0x201ac4:_0x201ac4['id']]=_0x1332f5;}}['toString'](){let _0x1f6e38=MountedTree['get'](this);if(_0x1f6e38&&!_0x1f6e38['overlay'])return _0x1f6e38['tree']['toString']();let _0x4d5337='';for(let _0xeccf05 of this['children']){let _0x40b552=_0xeccf05['toString']();_0x40b552&&(_0x4d5337&&(_0x4d5337+=','),_0x4d5337+=_0x40b552);}return this['type']['name']?(/\W/['test'](this['type']['name'])&&!this['type']['isError']?JSON['stringify'](this['type']['name']):this['type']['name'])+(_0x4d5337['length']?'('+_0x4d5337+')':''):_0x4d5337;}['cursor'](_0x28ecf9=0x0){return new _0x15ce8e(this['topNode'],_0x28ecf9);}['cursorAt'](_0x1a7245,_0x50cb46=0x0,_0x4e9605=0x0){let _0x151b05=_0x8571c5['get'](this)||this['topNode'],_0x21d5ea=new _0x15ce8e(_0x151b05);return _0x21d5ea['moveTo'](_0x1a7245,_0x50cb46),_0x8571c5['set'](this,_0x21d5ea['_tree']),_0x21d5ea;}get['topNode'](){return new _0x84b446(this,0x0,0x0,null);}['resolve'](_0x5e48a3,_0x16ec64=0x0){let _0xe955c6=_0x1a8444(_0x8571c5['get'](this)||this['topNode'],_0x5e48a3,_0x16ec64,!0x1);return _0x8571c5['set'](this,_0xe955c6),_0xe955c6;}['resolveInner'](_0x4dab54,_0x20cbb1=0x0){let _0x471106=_0x1a8444(_0x2aaabf['get'](this)||this['topNode'],_0x4dab54,_0x20cbb1,!0x0);return _0x2aaabf['set'](this,_0x471106),_0x471106;}['resolveStack'](_0x1f20b7,_0x28c602=0x0){return stackIterator(this,_0x1f20b7,_0x28c602);}['iterate'](_0xd63043){let {enter:_0x4341fe,leave:_0x437173,from:_0x409b30=0x0,to:_0x4e4db4=this['length']}=_0xd63043,_0x2a1495=_0xd63043['mode']||0x0,_0x41dd23=(_0x2a1495&IterMode['IncludeAnonymous'])>0x0;for(let _0x3a288c=this['cursor'](_0x2a1495|IterMode['IncludeAnonymous']);;){let _0x41709e=!0x1;if(_0x3a288c['from']<=_0x4e4db4&&_0x3a288c['to']>=_0x409b30&&(!_0x41dd23&&_0x3a288c['type']['isAnonymous']||!0x1!==_0x4341fe(_0x3a288c))){if(_0x3a288c['firstChild']())continue;_0x41709e=!0x0;}for(;_0x41709e&&_0x437173&&(_0x41dd23||!_0x3a288c['type']['isAnonymous'])&&_0x437173(_0x3a288c),!_0x3a288c['nextSibling']();){if(!_0x3a288c['parent']())return;_0x41709e=!0x0;}}}['prop'](_0x2fffb7){return _0x2fffb7['perNode']?this['props']?this['props'][_0x2fffb7['id']]:void 0x0:this['type']['prop'](_0x2fffb7);}get['propValues'](){let _0x368242=[];if(this['props']){for(let _0x44bbbb in this['props'])_0x368242['push']([+_0x44bbbb,this['props'][_0x44bbbb]]);}return _0x368242;}['balance'](_0x4de3a2={}){return this['children']['length']<=0x8?this:_0x357df4(_0x23061a['none'],this['children'],this['positions'],0x0,this['children']['length'],0x0,this['length'],(_0x1ab041,_0x5b37a9,_0x59dd7a)=>new _0x17cdb3(this['type'],_0x1ab041,_0x5b37a9,_0x59dd7a,this['propValues']),_0x4de3a2['makeTree']||((_0x19b564,_0x8b5aba,_0xd915a)=>new _0x17cdb3(_0x23061a['none'],_0x19b564,_0x8b5aba,_0xd915a)));}static['build'](_0x245338){return _0x146cf2(_0x245338);}}_0x17cdb3['empty']=new _0x17cdb3(_0x23061a['none'],[],[],0x0);class FlatBufferCursor{constructor(_0x15f3b5,_0x43c816){this['buffer']=_0x15f3b5,this['index']=_0x43c816;}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 _0x1ea31b{constructor(_0x304cd4,_0x46c3f3,_0x50f733){this['buffer']=_0x304cd4,this['length']=_0x46c3f3,this['set']=_0x50f733;}get['type'](){return _0x23061a['none'];}['toString'](){let _0x4dd4f5=[];for(let _0x2e0817=0x0;_0x2e0817<this['buffer']['length'];)_0x4dd4f5['push'](this['childString'](_0x2e0817)),_0x2e0817=this['buffer'][_0x2e0817+0x3];return _0x4dd4f5['join'](',');}['childString'](_0x1d05aa){let _0x25f815=this['buffer'][_0x1d05aa],_0x3ce7ae=this['buffer'][_0x1d05aa+0x3],_0x5c7ca6=this['set']['types'][_0x25f815],_0x380082=_0x5c7ca6['name'];if(/\W/['test'](_0x380082)&&!_0x5c7ca6['isError']&&(_0x380082=JSON['stringify'](_0x380082)),_0x3ce7ae==(_0x1d05aa+=0x4))return _0x380082;let _0x736119=[];for(;_0x1d05aa<_0x3ce7ae;)_0x736119['push'](this['childString'](_0x1d05aa)),_0x1d05aa=this['buffer'][_0x1d05aa+0x3];return _0x380082+'('+_0x736119['join'](',')+')';}['findChild'](_0x242f04,_0x5597f0,_0x2bb5b1,_0x56e36b,_0x42758c){let {buffer:_0x287ece}=this,_0x55df1d=-0x1;for(let _0x1c453b=_0x242f04;_0x1c453b!=_0x5597f0&&!(_0x418bc9(_0x42758c,_0x56e36b,_0x287ece[_0x1c453b+0x1],_0x287ece[_0x1c453b+0x2])&&(_0x55df1d=_0x1c453b,_0x2bb5b1>0x0));_0x1c453b=_0x287ece[_0x1c453b+0x3]);return _0x55df1d;}['slice'](_0x46bdf5,_0x331da1,_0x425822){let _0x424fe5=this['buffer'],_0x2a3392=new Uint16Array(_0x331da1-_0x46bdf5),_0x10cc9=0x0;for(let _0x3bd340=_0x46bdf5,_0x4c702b=0x0;_0x3bd340<_0x331da1;){_0x2a3392[_0x4c702b++]=_0x424fe5[_0x3bd340++],_0x2a3392[_0x4c702b++]=_0x424fe5[_0x3bd340++]-_0x425822;let _0x5b2271=_0x2a3392[_0x4c702b++]=_0x424fe5[_0x3bd340++]-_0x425822;_0x2a3392[_0x4c702b++]=_0x424fe5[_0x3bd340++]-_0x46bdf5,_0x10cc9=Math['max'](_0x10cc9,_0x5b2271);}return new _0x1ea31b(_0x2a3392,_0x10cc9,this['set']);}}function _0x418bc9(_0x8c9d2c,_0x14af96,_0x485ec2,_0x359904){switch(_0x8c9d2c){case-0x2:return _0x485ec2<_0x14af96;case-0x1:return _0x359904>=_0x14af96&&_0x485ec2<_0x14af96;case 0x0:return _0x485ec2<_0x14af96&&_0x359904>_0x14af96;case 0x1:return _0x485ec2<=_0x14af96&&_0x359904>_0x14af96;case 0x2:return _0x359904>_0x14af96;case 0x4:return!0x0;}}function _0x1a8444(_0x43a5f7,_0x27d02a,_0x502ace,_0x304c80){for(var _0x102b4a;_0x43a5f7['from']==_0x43a5f7['to']||(_0x502ace<0x1?_0x43a5f7['from']>=_0x27d02a:_0x43a5f7['from']>_0x27d02a)||(_0x502ace>-0x1?_0x43a5f7['to']<=_0x27d02a:_0x43a5f7['to']<_0x27d02a);){let _0x32069f=!_0x304c80&&_0x43a5f7 instanceof _0x84b446&&_0x43a5f7['index']<0x0?null:_0x43a5f7['parent'];if(!_0x32069f)return _0x43a5f7;_0x43a5f7=_0x32069f;}let _0x1aea86=_0x304c80?0x0:IterMode['IgnoreOverlays'];if(_0x304c80){for(let _0x2852c5=_0x43a5f7,_0x2c1dc4=_0x2852c5['parent'];_0x2c1dc4;_0x2852c5=_0x2c1dc4,_0x2c1dc4=_0x2852c5['parent'])_0x2852c5 instanceof _0x84b446&&_0x2852c5['index']<0x0&&(null===(_0x102b4a=_0x2c1dc4['enter'](_0x27d02a,_0x502ace,_0x1aea86))||void 0x0===_0x102b4a?void 0x0:_0x102b4a['from'])!=_0x2852c5['from']&&(_0x43a5f7=_0x2c1dc4);}for(;;){let _0x409854=_0x43a5f7['enter'](_0x27d02a,_0x502ace,_0x1aea86);if(!_0x409854)return _0x43a5f7;_0x43a5f7=_0x409854;}}class _0x5b238f{['cursor'](_0x2cfe83=0x0){return new _0x15ce8e(this,_0x2cfe83);}['getChild'](_0x23fa90,_0x1f675d=null,_0x3d88fd=null){let _0x6fe8c=getChildren(this,_0x23fa90,_0x1f675d,_0x3d88fd);return _0x6fe8c['length']?_0x6fe8c[0x0]:null;}['getChildren'](_0x1a31a7,_0x4cd8c4=null,_0x1a94b4=null){return getChildren(this,_0x1a31a7,_0x4cd8c4,_0x1a94b4);}['resolve'](_0x1536e6,_0x17af0c=0x0){return _0x1a8444(this,_0x1536e6,_0x17af0c,!0x1);}['resolveInner'](_0x228d8b,_0x4c234c=0x0){return _0x1a8444(this,_0x228d8b,_0x4c234c,!0x0);}['matchContext'](_0xddfb4){return matchNodeContext(this['parent'],_0xddfb4);}['enterUnfinishedNodesBefore'](_0x54068b){let _0x25bcfd=this['childBefore'](_0x54068b),_0x9d8edd=this;for(;_0x25bcfd;){let _0x22528a=_0x25bcfd['lastChild'];if(!_0x22528a||_0x22528a['to']!=_0x25bcfd['to'])break;_0x22528a['type']['isError']&&_0x22528a['from']==_0x22528a['to']?(_0x9d8edd=_0x25bcfd,_0x25bcfd=_0x22528a['prevSibling']):_0x25bcfd=_0x22528a;}return _0x9d8edd;}get['node'](){return this;}get['next'](){return this['parent'];}}class _0x84b446 extends _0x5b238f{constructor(_0x4d573a,_0xe666a4,_0x5ca08d,_0x2838e6){super(),this['_tree']=_0x4d573a,this['from']=_0xe666a4,this['index']=_0x5ca08d,this['_parent']=_0x2838e6;}get['type'](){return this['_tree']['type'];}get['name'](){return this['_tree']['type']['name'];}get['to'](){return this['from']+this['_tree']['length'];}['nextChild'](_0x1fa540,_0x4f1e2a,_0x15b859,_0x2a1d8a,_0x53f0ea=0x0){for(let _0x2d8794=this;;){for(let {children:_0x1fc145,positions:_0xbf3aaa}=_0x2d8794['_tree'],_0x53baf5=_0x4f1e2a>0x0?_0x1fc145['length']:-0x1;_0x1fa540!=_0x53baf5;_0x1fa540+=_0x4f1e2a){let _0x260527=_0x1fc145[_0x1fa540],_0x282f01=_0xbf3aaa[_0x1fa540]+_0x2d8794['from'];if(_0x418bc9(_0x2a1d8a,_0x15b859,_0x282f01,_0x282f01+_0x260527['length'])){if(_0x260527 instanceof _0x1ea31b){if(_0x53f0ea&IterMode['ExcludeBuffers'])continue;let _0x10f537=_0x260527['findChild'](0x0,_0x260527['buffer']['length'],_0x4f1e2a,_0x15b859-_0x282f01,_0x2a1d8a);if(_0x10f537>-0x1)return new _0x22c591(new BufferContext(_0x2d8794,_0x260527,_0x1fa540,_0x282f01),null,_0x10f537);}else{if(_0x53f0ea&IterMode['IncludeAnonymous']||!_0x260527['type']['isAnonymous']||_0x21f76e(_0x260527)){let _0x181184;if(!(_0x53f0ea&IterMode['IgnoreMounts'])&&(_0x181184=MountedTree['get'](_0x260527))&&!_0x181184['overlay'])return new _0x84b446(_0x181184['tree'],_0x282f01,_0x1fa540,_0x2d8794);let _0x298ec7=new _0x84b446(_0x260527,_0x282f01,_0x1fa540,_0x2d8794);return _0x53f0ea&IterMode['IncludeAnonymous']||!_0x298ec7['type']['isAnonymous']?_0x298ec7:_0x298ec7['nextChild'](_0x4f1e2a<0x0?_0x260527['children']['length']-0x1:0x0,_0x4f1e2a,_0x15b859,_0x2a1d8a);}}}}if(_0x53f0ea&IterMode['IncludeAnonymous']||!_0x2d8794['type']['isAnonymous'])return null;if(_0x1fa540=_0x2d8794['index']>=0x0?_0x2d8794['index']+_0x4f1e2a:_0x4f1e2a<0x0?-0x1:_0x2d8794['_parent']['_tree']['children']['length'],_0x2d8794=_0x2d8794['_parent'],!_0x2d8794)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'](_0x566d42){return this['nextChild'](0x0,0x1,_0x566d42,0x2);}['childBefore'](_0x4ac028){return this['nextChild'](this['_tree']['children']['length']-0x1,-0x1,_0x4ac028,-0x2);}['enter'](_0x59140f,_0xea036b,_0x3e6f6e=0x0){let _0x177c08;if(!(_0x3e6f6e&IterMode['IgnoreOverlays'])&&(_0x177c08=MountedTree['get'](this['_tree']))&&_0x177c08['overlay']){let _0x33f4b1=_0x59140f-this['from'];for(let {from:_0x897c49,to:_0x4fc67d}of _0x177c08['overlay'])if((_0xea036b>0x0?_0x897c49<=_0x33f4b1:_0x897c49<_0x33f4b1)&&(_0xea036b<0x0?_0x4fc67d>=_0x33f4b1:_0x4fc67d>_0x33f4b1))return new _0x84b446(_0x177c08['tree'],_0x177c08['overlay'][0x0]['from']+this['from'],-0x1,this);}return this['nextChild'](0x0,0x1,_0x59140f,_0xea036b,_0x3e6f6e);}['nextSignificantParent'](){let _0x5f3b9c=this;for(;_0x5f3b9c['type']['isAnonymous']&&_0x5f3b9c['_parent'];)_0x5f3b9c=_0x5f3b9c['_parent'];return _0x5f3b9c;}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(_0x60c9c5,_0x51e06f,_0x282563,_0x1dc8fa){let _0x3d04b0=_0x60c9c5['cursor'](),_0x33aabb=[];if(!_0x3d04b0['firstChild']())return _0x33aabb;if(null!=_0x282563){for(let _0x4b4f86=!0x1;!_0x4b4f86;)if(_0x4b4f86=_0x3d04b0['type']['is'](_0x282563),!_0x3d04b0['nextSibling']())return _0x33aabb;}for(;;){if(null!=_0x1dc8fa&&_0x3d04b0['type']['is'](_0x1dc8fa))return _0x33aabb;if(_0x3d04b0['type']['is'](_0x51e06f)&&_0x33aabb['push'](_0x3d04b0['node']),!_0x3d04b0['nextSibling']())return null==_0x1dc8fa?_0x33aabb:[];}}function matchNodeContext(_0x266988,_0x1244f6,_0x59ccd9=_0x1244f6['length']-0x1){for(let _0x466a00=_0x266988;_0x59ccd9>=0x0;_0x466a00=_0x466a00['parent']){if(!_0x466a00)return!0x1;if(!_0x466a00['type']['isAnonymous']){if(_0x1244f6[_0x59ccd9]&&_0x1244f6[_0x59ccd9]!=_0x466a00['name'])return!0x1;_0x59ccd9--;}}return!0x0;}class BufferContext{constructor(_0x1841eb,_0x3c4831,_0x18c45c,_0x2a677d){this['parent']=_0x1841eb,this['buffer']=_0x3c4831,this['index']=_0x18c45c,this['start']=_0x2a677d;}}class _0x22c591 extends _0x5b238f{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(_0x161f1e,_0x4e39ab,_0x58cefa){super(),this['context']=_0x161f1e,this['_parent']=_0x4e39ab,this['index']=_0x58cefa,this['type']=_0x161f1e['buffer']['set']['types'][_0x161f1e['buffer']['buffer'][_0x58cefa]];}['child'](_0x18a067,_0x4106d5,_0x44f9ef){let {buffer:_0x5033ed}=this['context'],_0x5d3644=_0x5033ed['findChild'](this['index']+0x4,_0x5033ed['buffer'][this['index']+0x3],_0x18a067,_0x4106d5-this['context']['start'],_0x44f9ef);return _0x5d3644<0x0?null:new _0x22c591(this['context'],this,_0x5d3644);}get['firstChild'](){return this['child'](0x1,0x0,0x4);}get['lastChild'](){return this['child'](-0x1,0x0,0x4);}['childAfter'](_0x584a0d){return this['child'](0x1,_0x584a0d,0x2);}['childBefore'](_0x1810cb){return this['child'](-0x1,_0x1810cb,-0x2);}['enter'](_0x212e86,_0x1e5d56,_0x3e0980=0x0){if(_0x3e0980&IterMode['ExcludeBuffers'])return null;let {buffer:_0x1c41c2}=this['context'],_0x39e5e1=_0x1c41c2['findChild'](this['index']+0x4,_0x1c41c2['buffer'][this['index']+0x3],_0x1e5d56>0x0?0x1:-0x1,_0x212e86-this['context']['start'],_0x1e5d56);return _0x39e5e1<0x0?null:new _0x22c591(this['context'],this,_0x39e5e1);}get['parent'](){return this['_parent']||this['context']['parent']['nextSignificantParent']();}['externalSibling'](_0x4919f0){return this['_parent']?null:this['context']['parent']['nextChild'](this['context']['index']+_0x4919f0,_0x4919f0,0x0,0x4);}get['nextSibling'](){let {buffer:_0x557ad7}=this['context'],_0x5445e5=_0x557ad7['buffer'][this['index']+0x3];return _0x5445e5<(this['_parent']?_0x557ad7['buffer'][this['_parent']['index']+0x3]:_0x557ad7['buffer']['length'])?new _0x22c591(this['context'],this['_parent'],_0x5445e5):this['externalSibling'](0x1);}get['prevSibling'](){let {buffer:_0x34adbf}=this['context'],_0x3bc552=this['_parent']?this['_parent']['index']+0x4:0x0;return this['index']==_0x3bc552?this['externalSibling'](-0x1):new _0x22c591(this['context'],this['_parent'],_0x34adbf['findChild'](_0x3bc552,this['index'],-0x1,0x0,0x4));}get['tree'](){return null;}['toTree'](){let _0x1d7156=[],_0xcff270=[],{buffer:_0x4af171}=this['context'],_0xd1a141=this['index']+0x4,_0x16641b=_0x4af171['buffer'][this['index']+0x3];if(_0x16641b>_0xd1a141){let _0x46ac04=_0x4af171['buffer'][this['index']+0x1];_0x1d7156['push'](_0x4af171['slice'](_0xd1a141,_0x16641b,_0x46ac04)),_0xcff270['push'](0x0);}return new _0x17cdb3(this['type'],_0x1d7156,_0xcff270,this['to']-this['from']);}['toString'](){return this['context']['buffer']['childString'](this['index']);}}function iterStack(_0x2c3499){if(!_0x2c3499['length'])return null;let _0x59bfb0=0x0,_0x542ae4=_0x2c3499[0x0];for(let _0x1c4a1a=0x1;_0x1c4a1a<_0x2c3499['length'];_0x1c4a1a++){let _0x3ee8d1=_0x2c3499[_0x1c4a1a];(_0x3ee8d1['from']>_0x542ae4['from']||_0x3ee8d1['to']<_0x542ae4['to'])&&(_0x542ae4=_0x3ee8d1,_0x59bfb0=_0x1c4a1a);}let _0x551216=_0x542ae4 instanceof _0x84b446&&_0x542ae4['index']<0x0?null:_0x542ae4['parent'],_0x296f07=_0x2c3499['slice']();return _0x551216?_0x296f07[_0x59bfb0]=_0x551216:_0x296f07['splice'](_0x59bfb0,0x1),new StackIterator(_0x296f07,_0x542ae4);}class StackIterator{constructor(_0x35aff8,_0x2344b5){this['heads']=_0x35aff8,this['node']=_0x2344b5;}get['next'](){return iterStack(this['heads']);}}function stackIterator(_0x345073,_0x280aee,_0x434c9e){let _0x4745b0=_0x345073['resolveInner'](_0x280aee,_0x434c9e),_0x407fa1=null;for(let _0x567c60=_0x4745b0 instanceof _0x84b446?_0x4745b0:_0x4745b0['context']['parent'];_0x567c60;_0x567c60=_0x567c60['parent'])if(_0x567c60['index']<0x0){let _0x496813=_0x567c60['parent'];(_0x407fa1||(_0x407fa1=[_0x4745b0]))['push'](_0x496813['resolve'](_0x280aee,_0x434c9e)),_0x567c60=_0x496813;}else{let _0x291ed8=MountedTree['get'](_0x567c60['tree']);if(_0x291ed8&&_0x291ed8['overlay']&&_0x291ed8['overlay'][0x0]['from']<=_0x280aee&&_0x291ed8['overlay'][_0x291ed8['overlay']['length']-0x1]['to']>=_0x280aee){let _0x5be8eb=new _0x84b446(_0x291ed8['tree'],_0x291ed8['overlay'][0x0]['from']+_0x567c60['from'],-0x1,_0x567c60);(_0x407fa1||(_0x407fa1=[_0x4745b0]))['push'](_0x1a8444(_0x5be8eb,_0x280aee,_0x434c9e,!0x1));}}return _0x407fa1?iterStack(_0x407fa1):_0x4745b0;}class _0x15ce8e{get['name'](){return this['type']['name'];}constructor(_0x3efbef,_0x39686f=0x0){if(this['mode']=_0x39686f,this['buffer']=null,this['stack']=[],this['index']=0x0,this['bufferNode']=null,_0x3efbef instanceof _0x84b446)this['yieldNode'](_0x3efbef);else{this['_tree']=_0x3efbef['context']['parent'],this['buffer']=_0x3efbef['context'];for(let _0x2c7b77=_0x3efbef['_parent'];_0x2c7b77;_0x2c7b77=_0x2c7b77['_parent'])this['stack']['unshift'](_0x2c7b77['index']);this['bufferNode']=_0x3efbef,this['yieldBuf'](_0x3efbef['index']);}}['yieldNode'](_0xac9fde){return!!_0xac9fde&&(this['_tree']=_0xac9fde,this['type']=_0xac9fde['type'],this['from']=_0xac9fde['from'],this['to']=_0xac9fde['to'],!0x0);}['yieldBuf'](_0x291e8c,_0x5dbc27){this['index']=_0x291e8c;let {start:_0xb67342,buffer:_0x1c10a3}=this['buffer'];return this['type']=_0x5dbc27||_0x1c10a3['set']['types'][_0x1c10a3['buffer'][_0x291e8c]],this['from']=_0xb67342+_0x1c10a3['buffer'][_0x291e8c+0x1],this['to']=_0xb67342+_0x1c10a3['buffer'][_0x291e8c+0x2],!0x0;}['yield'](_0x39632d){return!!_0x39632d&&(_0x39632d instanceof _0x84b446?(this['buffer']=null,this['yieldNode'](_0x39632d)):(this['buffer']=_0x39632d['context'],this['yieldBuf'](_0x39632d['index'],_0x39632d['type'])));}['toString'](){return this['buffer']?this['buffer']['buffer']['childString'](this['index']):this['_tree']['toString']();}['enterChild'](_0x1f5942,_0x1518d9,_0x448908){if(!this['buffer'])return this['yield'](this['_tree']['nextChild'](_0x1f5942<0x0?this['_tree']['_tree']['children']['length']-0x1:0x0,_0x1f5942,_0x1518d9,_0x448908,this['mode']));let {buffer:_0x165b65}=this['buffer'],_0x232b16=_0x165b65['findChild'](this['index']+0x4,_0x165b65['buffer'][this['index']+0x3],_0x1f5942,_0x1518d9-this['buffer']['start'],_0x448908);return!(_0x232b16<0x0)&&(this['stack']['push'](this['index']),this['yieldBuf'](_0x232b16));}['firstChild'](){return this['enterChild'](0x1,0x0,0x4);}['lastChild'](){return this['enterChild'](-0x1,0x0,0x4);}['childAfter'](_0x451d40){return this['enterChild'](0x1,_0x451d40,0x2);}['childBefore'](_0x4882ff){return this['enterChild'](-0x1,_0x4882ff,-0x2);}['enter'](_0x3d080b,_0x5b96b1,_0x4118f3=this['mode']){return this['buffer']?!(_0x4118f3&IterMode['ExcludeBuffers'])&&this['enterChild'](0x1,_0x3d080b,_0x5b96b1):this['yield'](this['_tree']['enter'](_0x3d080b,_0x5b96b1,_0x4118f3));}['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 _0x528e1a=this['mode']&IterMode['IncludeAnonymous']?this['buffer']['parent']:this['buffer']['parent']['nextSignificantParent']();return this['buffer']=null,this['yieldNode'](_0x528e1a);}['sibling'](_0x4f2265){if(!this['buffer'])return!!this['_tree']['_parent']&&this['yield'](this['_tree']['index']<0x0?null:this['_tree']['_parent']['nextChild'](this['_tree']['index']+_0x4f2265,_0x4f2265,0x0,0x4,this['mode']));let {buffer:_0x49a011}=this['buffer'],_0x2d2eed=this['stack']['length']-0x1;if(_0x4f2265<0x0){let _0x278d3c=_0x2d2eed<0x0?0x0:this['stack'][_0x2d2eed]+0x4;if(this['index']!=_0x278d3c)return this['yieldBuf'](_0x49a011['findChild'](_0x278d3c,this['index'],-0x1,0x0,0x4));}else{let _0x5b6ece=_0x49a011['buffer'][this['index']+0x3];if(_0x5b6ece<(_0x2d2eed<0x0?_0x49a011['buffer']['length']:_0x49a011['buffer'][this['stack'][_0x2d2eed]+0x3]))return this['yieldBuf'](_0x5b6ece);}return _0x2d2eed<0x0&&this['yield'](this['buffer']['parent']['nextChild'](this['buffer']['index']+_0x4f2265,_0x4f2265,0x0,0x4,this['mode']));}['nextSibling'](){return this['sibling'](0x1);}['prevSibling'](){return this['sibling'](-0x1);}['atLastNode'](_0x1a4896){let _0x5799e5,_0x1bbe96,{buffer:_0x407595}=this;if(_0x407595){if(_0x1a4896>0x0){if(this['index']<_0x407595['buffer']['buffer']['length'])return!0x1;}else{for(let _0xe29803=0x0;_0xe29803<this['index'];_0xe29803++)if(_0x407595['buffer']['buffer'][_0xe29803+0x3]<this['index'])return!0x1;}({index:_0x5799e5,parent:_0x1bbe96}=_0x407595);}else({index:_0x5799e5,_parent:_0x1bbe96}=this['_tree']);for(;_0x1bbe96;{index:_0x5799e5,_parent:_0x1bbe96}=_0x1bbe96)if(_0x5799e5>-0x1)for(let _0x29e2d9=_0x5799e5+_0x1a4896,_0xfed73a=_0x1a4896<0x0?-0x1:_0x1bbe96['_tree']['children']['length'];_0x29e2d9!=_0xfed73a;_0x29e2d9+=_0x1a4896){let _0x165a77=_0x1bbe96['_tree']['children'][_0x29e2d9];if(this['mode']&IterMode['IncludeAnonymous']||_0x165a77 instanceof _0x1ea31b||!_0x165a77['type']['isAnonymous']||_0x21f76e(_0x165a77))return!0x1;}return!0x0;}['move'](_0x1e2b0c,_0x3be7bd){if(_0x3be7bd&&this['enterChild'](_0x1e2b0c,0x0,0x4))return!0x0;for(;;){if(this['sibling'](_0x1e2b0c))return!0x0;if(this['atLastNode'](_0x1e2b0c)||!this['parent']())return!0x1;}}['next'](_0xfbdc2=!0x0){return this['move'](0x1,_0xfbdc2);}['prev'](_0x46d03b=!0x0){return this['move'](-0x1,_0x46d03b);}['moveTo'](_0x56987c,_0x17ce2e=0x0){for(;(this['from']==this['to']||(_0x17ce2e<0x1?this['from']>=_0x56987c:this['from']>_0x56987c)||(_0x17ce2e>-0x1?this['to']<=_0x56987c:this['to']<_0x56987c))&&this['parent'](););for(;this['enterChild'](0x1,_0x56987c,_0x17ce2e););return this;}get['node'](){if(!this['buffer'])return this['_tree'];let _0x3e4fdb=this['bufferNode'],_0x58ca5e=null,_0x4048d8=0x0;if(_0x3e4fdb&&_0x3e4fdb['context']==this['buffer']){t:for(let _0x4b2064=this['index'],_0x31b3f7=this['stack']['length'];_0x31b3f7>=0x0;){for(let _0x2e81a4=_0x3e4fdb;_0x2e81a4;_0x2e81a4=_0x2e81a4['_parent'])if(_0x2e81a4['index']==_0x4b2064){if(_0x4b2064==this['index'])return _0x2e81a4;_0x58ca5e=_0x2e81a4,_0x4048d8=_0x31b3f7+0x1;break t;}_0x4b2064=this['stack'][--_0x31b3f7];}}for(let _0x40addc=_0x4048d8;_0x40addc<this['stack']['length'];_0x40addc++)_0x58ca5e=new _0x22c591(this['buffer'],_0x58ca5e,this['stack'][_0x40addc]);return this['bufferNode']=new _0x22c591(this['buffer'],_0x58ca5e,this['index']);}get['tree'](){return this['buffer']?null:this['_tree']['_tree'];}['iterate'](_0xd707fa,_0x262b12){for(let _0x17e2a3=0x0;;){let _0x112255=!0x1;if(this['type']['isAnonymous']||!0x1!==_0xd707fa(this)){if(this['firstChild']()){_0x17e2a3++;continue;}this['type']['isAnonymous']||(_0x112255=!0x0);}for(;;){if(_0x112255&&_0x262b12&&_0x262b12(this),_0x112255=this['type']['isAnonymous'],!_0x17e2a3)return;if(this['nextSibling']())break;this['parent'](),_0x17e2a3--,_0x112255=!0x0;}}}['matchContext'](_0x284f4a){if(!this['buffer'])return matchNodeContext(this['node']['parent'],_0x284f4a);let {buffer:_0x2bb566}=this['buffer'],{types:_0x4a957b}=_0x2bb566['set'];for(let _0x2bea7f=_0x284f4a['length']-0x1,_0x17866f=this['stack']['length']-0x1;_0x2bea7f>=0x0;_0x17866f--){if(_0x17866f<0x0)return matchNodeContext(this['_tree'],_0x284f4a,_0x2bea7f);let _0x2b03d1=_0x4a957b[_0x2bb566['buffer'][this['stack'][_0x17866f]]];if(!_0x2b03d1['isAnonymous']){if(_0x284f4a[_0x2bea7f]&&_0x284f4a[_0x2bea7f]!=_0x2b03d1['name'])return!0x1;_0x2bea7f--;}}return!0x0;}}function _0x21f76e(_0x447b3c){return _0x447b3c['children']['some'](_0x4a397d=>_0x4a397d instanceof _0x1ea31b||!_0x4a397d['type']['isAnonymous']||_0x21f76e(_0x4a397d));}function _0x146cf2(_0x14713c){var _0x256047;let {buffer:_0x2280b3,nodeSet:_0x1ac23e,maxBufferLength:_0x5a3c6c=DefaultBufferLength,reused:_0x275f81=[],minRepeatType:_0x4e414f=_0x1ac23e['types']['length']}=_0x14713c,_0x4f9ffc=Array['isArray'](_0x2280b3)?new FlatBufferCursor(_0x2280b3,_0x2280b3['length']):_0x2280b3,_0x21e7fa=_0x1ac23e['types'],_0x144f77=0x0,_0x7c1225=0x0;function _0x2e209c(_0x39af29,_0x57138c,_0x39053d,_0x14400a,_0x1178d7,_0x8f5b81){let {id:_0x5dee3b,start:_0x1ea853,end:_0x182e3f,size:_0x2ee089}=_0x4f9ffc,_0xe8aea4=_0x7c1225,_0xd46ed2=_0x144f77;for(;_0x2ee089<0x0;){if(_0x4f9ffc['next'](),-0x1==_0x2ee089){let _0x34db3e=_0x275f81[_0x5dee3b];return _0x39053d['push'](_0x34db3e),void _0x14400a['push'](_0x1ea853-_0x39af29);}if(-0x3==_0x2ee089)return void(_0x144f77=_0x5dee3b);if(-0x4==_0x2ee089)return void(_0x7c1225=_0x5dee3b);throw new RangeError('Unrecognized\x20record\x20size:\x20'+_0x2ee089);}let _0x4bc712,_0x472a2b,_0x1dd5fd=_0x21e7fa[_0x5dee3b],_0x3f5c20=_0x1ea853-_0x39af29;if(_0x182e3f-_0x1ea853<=_0x5a3c6c&&(_0x472a2b=function(_0x390f46,_0x1e09a4){let _0x380d00=_0x4f9ffc['fork'](),_0x41ed74=0x0,_0x180450=0x0,_0x1c93c3=0x0,_0x3bf3f6=_0x380d00['end']-_0x5a3c6c,_0x5926c6={'size':0x0,'start':0x0,'skip':0x0};t:for(let _0xe5fec7=_0x380d00['pos']-_0x390f46;_0x380d00['pos']>_0xe5fec7;){let _0x411777=_0x380d00['size'];if(_0x380d00['id']==_0x1e09a4&&_0x411777>=0x0){_0x5926c6['size']=_0x41ed74,_0x5926c6['start']=_0x180450,_0x5926c6['skip']=_0x1c93c3,_0x1c93c3+=0x4,_0x41ed74+=0x4,_0x380d00['next']();continue;}let _0x53ad5d=_0x380d00['pos']-_0x411777;if(_0x411777<0x0||_0x53ad5d<_0xe5fec7||_0x380d00['start']<_0x3bf3f6)break;let _0x4e04e1=_0x380d00['id']>=_0x4e414f?0x4:0x0,_0x5183f1=_0x380d00['start'];for(_0x380d00['next']();_0x380d00['pos']>_0x53ad5d;){if(_0x380d00['size']<0x0){if(-0x3!=_0x380d00['size'])break t;_0x4e04e1+=0x4;}else _0x380d00['id']>=_0x4e414f&&(_0x4e04e1+=0x4);_0x380d00['next']();}_0x180450=_0x5183f1,_0x41ed74+=_0x411777,_0x1c93c3+=_0x4e04e1;}return(_0x1e09a4<0x0||_0x41ed74==_0x390f46)&&(_0x5926c6['size']=_0x41ed74,_0x5926c6['start']=_0x180450,_0x5926c6['skip']=_0x1c93c3),_0x5926c6['size']>0x4?_0x5926c6:void 0x0;}(_0x4f9ffc['pos']-_0x57138c,_0x1178d7))){let _0x5e244b=new Uint16Array(_0x472a2b['size']-_0x472a2b['skip']),_0x1e9a68=_0x4f9ffc['pos']-_0x472a2b['size'],_0x3bbd2e=_0x5e244b['length'];for(;_0x4f9ffc['pos']>_0x1e9a68;)_0x3bbd2e=_0xc1780c(_0x472a2b['start'],_0x5e244b,_0x3bbd2e);_0x4bc712=new _0x1ea31b(_0x5e244b,_0x182e3f-_0x472a2b['start'],_0x1ac23e),_0x3f5c20=_0x472a2b['start']-_0x39af29;}else{let _0x22fdb3=_0x4f9ffc['pos']-_0x2ee089;_0x4f9ffc['next']();let _0x132619=[],_0x2659a8=[],_0x595f71=_0x5dee3b>=_0x4e414f?_0x5dee3b:-0x1,_0x21d577=0x0,_0x59d315=_0x182e3f;for(;_0x4f9ffc['pos']>_0x22fdb3;)_0x595f71>=0x0&&_0x4f9ffc['id']==_0x595f71&&_0x4f9ffc['size']>=0x0?(_0x4f9ffc['end']<=_0x59d315-_0x5a3c6c&&(_0x18d7fb(_0x132619,_0x2659a8,_0x1ea853,_0x21d577,_0x4f9ffc['end'],_0x59d315,_0x595f71,_0xe8aea4,_0xd46ed2),_0x21d577=_0x132619['length'],_0x59d315=_0x4f9ffc['end']),_0x4f9ffc['next']()):_0x8f5b81>0x9c4?_0x14f8ba(_0x1ea853,_0x22fdb3,_0x132619,_0x2659a8):_0x2e209c(_0x1ea853,_0x22fdb3,_0x132619,_0x2659a8,_0x595f71,_0x8f5b81+0x1);if(_0x595f71>=0x0&&_0x21d577>0x0&&_0x21d577<_0x132619['length']&&_0x18d7fb(_0x132619,_0x2659a8,_0x1ea853,_0x21d577,_0x1ea853,_0x59d315,_0x595f71,_0xe8aea4,_0xd46ed2),_0x132619['reverse'](),_0x2659a8['reverse'](),_0x595f71>-0x1&&_0x21d577>0x0){let _0x42e33f=function(_0x3020fa,_0x1c995f){return(_0x223ed6,_0x241c8e,_0xa13030)=>{let _0x48609d,_0x340145,_0x29cf10=0x0,_0x31c9d4=_0x223ed6['length']-0x1;if(_0x31c9d4>=0x0&&(_0x48609d=_0x223ed6[_0x31c9d4])instanceof _0x17cdb3){if(!_0x31c9d4&&_0x48609d['type']==_0x3020fa&&_0x48609d['length']==_0xa13030)return _0x48609d;(_0x340145=_0x48609d['prop'](_0x519268['lookAhead']))&&(_0x29cf10=_0x241c8e[_0x31c9d4]+_0x48609d['length']+_0x340145);}return _0x9bc97b(_0x3020fa,_0x223ed6,_0x241c8e,_0xa13030,_0x29cf10,_0x1c995f);};}(_0x1dd5fd,_0xd46ed2);_0x4bc712=_0x357df4(_0x1dd5fd,_0x132619,_0x2659a8,0x0,_0x132619['length'],0x0,_0x182e3f-_0x1ea853,_0x42e33f,_0x42e33f);}else _0x4bc712=_0x9bc97b(_0x1dd5fd,_0x132619,_0x2659a8,_0x182e3f-_0x1ea853,_0xe8aea4-_0x182e3f,_0xd46ed2);}_0x39053d['push'](_0x4bc712),_0x14400a['push'](_0x3f5c20);}function _0x14f8ba(_0x5cc594,_0x53413a,_0x7acef9,_0x501537){let _0x3eb0d8=[],_0x4dae1d=0x0,_0x226170=-0x1;for(;_0x4f9ffc['pos']>_0x53413a;){let {id:_0x411437,start:_0x5c6d84,end:_0x36885d,size:_0x52df8b}=_0x4f9ffc;if(_0x52df8b>0x4)_0x4f9ffc['next']();else{if(_0x226170>-0x1&&_0x5c6d84<_0x226170)break;_0x226170<0x0&&(_0x226170=_0x36885d-_0x5a3c6c),_0x3eb0d8['push'](_0x411437,_0x5c6d84,_0x36885d),_0x4dae1d++,_0x4f9ffc['next']();}}if(_0x4dae1d){let _0x4340dd=new Uint16Array(0x4*_0x4dae1d),_0x37a07d=_0x3eb0d8[_0x3eb0d8['length']-0x2];for(let _0x498314=_0x3eb0d8['length']-0x3,_0x31f9d7=0x0;_0x498314>=0x0;_0x498314-=0x3)_0x4340dd[_0x31f9d7++]=_0x3eb0d8[_0x498314],_0x4340dd[_0x31f9d7++]=_0x3eb0d8[_0x498314+0x1]-_0x37a07d,_0x4340dd[_0x31f9d7++]=_0x3eb0d8[_0x498314+0x2]-_0x37a07d,_0x4340dd[_0x31f9d7++]=_0x31f9d7;_0x7acef9['push'](new _0x1ea31b(_0x4340dd,_0x3eb0d8[0x2]-_0x37a07d,_0x1ac23e)),_0x501537['push'](_0x37a07d-_0x5cc594);}}function _0x18d7fb(_0x1636b1,_0xe34a97,_0x1c994a,_0x4d2705,_0x354882,_0x3661ff,_0x247e8d,_0x12fe5b,_0x588843){let _0x377510=[],_0x294233=[];for(;_0x1636b1['length']>_0x4d2705;)_0x377510['push'](_0x1636b1['pop']()),_0x294233['push'](_0xe34a97['pop']()+_0x1c994a-_0x354882);_0x1636b1['push'](_0x9bc97b(_0x1ac23e['types'][_0x247e8d],_0x377510,_0x294233,_0x3661ff-_0x354882,_0x12fe5b-_0x3661ff,_0x588843)),_0xe34a97['push'](_0x354882-_0x1c994a);}function _0x9bc97b(_0x1c67a9,_0x25241e,_0x4e2af,_0x2b9939,_0x408bcb,_0xf43dab,_0x263328){if(_0xf43dab){let _0x532ad9=[_0x519268['contextHash'],_0xf43dab];_0x263328=_0x263328?[_0x532ad9]['concat'](_0x263328):[_0x532ad9];}if(_0x408bcb>0x19){let _0x9dafd7=[_0x519268['lookAhead'],_0x408bcb];_0x263328=_0x263328?[_0x9dafd7]['concat'](_0x263328):[_0x9dafd7];}return new _0x17cdb3(_0x1c67a9,_0x25241e,_0x4e2af,_0x2b9939,_0x263328);}function _0xc1780c(_0xf2f1a8,_0x143a86,_0x4a72b7){let {id:_0x1cec03,start:_0x3a4cea,end:_0x47f2aa,size:_0x2ef595}=_0x4f9ffc;if(_0x4f9ffc['next'](),_0x2ef595>=0x0&&_0x1cec03<_0x4e414f){let _0x21fad7=_0x4a72b7;if(_0x2ef595>0x4){let _0x57a0ae=_0x4f9ffc['pos']-(_0x2ef595-0x4);for(;_0x4f9ffc['pos']>_0x57a0ae;)_0x4a72b7=_0xc1780c(_0xf2f1a8,_0x143a86,_0x4a72b7);}_0x143a86[--_0x4a72b7]=_0x21fad7,_0x143a86[--_0x4a72b7]=_0x47f2aa-_0xf2f1a8,_0x143a86[--_0x4a72b7]=_0x3a4cea-_0xf2f1a8,_0x143a86[--_0x4a72b7]=_0x1cec03;}else-0x3==_0x2ef595?_0x144f77=_0x1cec03:-0x4==_0x2ef595&&(_0x7c1225=_0x1cec03);return _0x4a72b7;}let _0x5a4958=[],_0x515199=[];for(;_0x4f9ffc['pos']>0x0;)_0x2e209c(_0x14713c['start']||0x0,_0x14713c['bufferStart']||0x0,_0x5a4958,_0x515199,-0x1,0x0);let _0x9bf2c6=null!==(_0x256047=_0x14713c['length'])&&void 0x0!==_0x256047?_0x256047:_0x5a4958['length']?_0x515199[0x0]+_0x5a4958[0x0]['length']:0x0;return new _0x17cdb3(_0x21e7fa[_0x14713c['topID']],_0x5a4958['reverse'](),_0x515199['reverse'](),_0x9bf2c6);}const _0x5abc0d=new WeakMap();function _0x5f06f9(_0x24a6ca,_0x4b3358){if(!_0x24a6ca['isAnonymous']||_0x4b3358 instanceof _0x1ea31b||_0x4b3358['type']!=_0x24a6ca)return 0x1;let _0x1a21bb=_0x5abc0d['get'](_0x4b3358);if(null==_0x1a21bb){_0x1a21bb=0x1;for(let _0x54bd02 of _0x4b3358['children']){if(_0x54bd02['type']!=_0x24a6ca||!(_0x54bd02 instanceof _0x17cdb3)){_0x1a21bb=0x1;break;}_0x1a21bb+=_0x5f06f9(_0x24a6ca,_0x54bd02);}_0x5abc0d['set'](_0x4b3358,_0x1a21bb);}return _0x1a21bb;}function _0x357df4(_0x491b18,_0x3d5471,_0x3f9b89,_0x3b30f8,_0x173669,_0x3cc09b,_0x5cfb77,_0x13ff71,_0x1fbb5c){let _0x19c289=0x0;for(let _0x367589=_0x3b30f8;_0x367589<_0x173669;_0x367589++)_0x19c289+=_0x5f06f9(_0x491b18,_0x3d5471[_0x367589]);let _0x84fd20=Math['ceil'](1.5*_0x19c289/0x8),_0xdb80b2=[],_0x5881fc=[];return function _0x1d97c1(_0x66b196,_0x2bc4fe,_0x12df45,_0x5407ae,_0x336bbb){for(let _0x4fe8a3=_0x12df45;_0x4fe8a3<_0x5407ae;){let _0x50dc74=_0x4fe8a3,_0xa0e895=_0x2bc4fe[_0x4fe8a3],_0x5dfec9=_0x5f06f9(_0x491b18,_0x66b196[_0x4fe8a3]);for(_0x4fe8a3++;_0x4fe8a3<_0x5407ae;_0x4fe8a3++){let _0x3859ce=_0x5f06f9(_0x491b18,_0x66b196[_0x4fe8a3]);if(_0x5dfec9+_0x3859ce>=_0x84fd20)break;_0x5dfec9+=_0x3859ce;}if(_0x4fe8a3==_0x50dc74+0x1){if(_0x5dfec9>_0x84fd20){let _0x13a21e=_0x66b196[_0x50dc74];_0x1d97c1(_0x13a21e['children'],_0x13a21e['positions'],0x0,_0x13a21e['children']['length'],_0x2bc4fe[_0x50dc74]+_0x336bbb);continue;}_0xdb80b2['push'](_0x66b196[_0x50dc74]);}else{let _0x5aa39e=_0x2bc4fe[_0x4fe8a3-0x1]+_0x66b196[_0x4fe8a3-0x1]['length']-_0xa0e895;_0xdb80b2['push'](_0x357df4(_0x491b18,_0x66b196,_0x2bc4fe,_0x50dc74,_0x4fe8a3,_0xa0e895,_0x5aa39e,null,_0x1fbb5c));}_0x5881fc['push'](_0xa0e895+_0x336bbb-_0x3cc09b);}}(_0x3d5471,_0x3f9b89,_0x3b30f8,_0x173669,0x0),(_0x13ff71||_0x1fbb5c)(_0xdb80b2,_0x5881fc,_0x5cfb77);}class _0x1274fe{constructor(){this['map']=new WeakMap();}['setBuffer'](_0x54d8a4,_0x3f887d,_0x5ec0c7){let _0x14e2ee=this['map']['get'](_0x54d8a4);_0x14e2ee||this['map']['set'](_0x54d8a4,_0x14e2ee=new Map()),_0x14e2ee['set'](_0x3f887d,_0x5ec0c7);}['getBuffer'](_0x32a404,_0x85763a){let _0x574d7d=this['map']['get'](_0x32a404);return _0x574d7d&&_0x574d7d['get'](_0x85763a);}['set'](_0x5de2d2,_0x2155e9){_0x5de2d2 instanceof _0x22c591?this['setBuffer'](_0x5de2d2['context']['buffer'],_0x5de2d2['index'],_0x2155e9):_0x5de2d2 instanceof _0x84b446&&this['map']['set'](_0x5de2d2['tree'],_0x2155e9);}['get'](_0x34b1ee){return _0x34b1ee instanceof _0x22c591?this['getBuffer'](_0x34b1ee['context']['buffer'],_0x34b1ee['index']):_0x34b1ee instanceof _0x84b446?this['map']['get'](_0x34b1ee['tree']):void 0x0;}['cursorSet'](_0x302192,_0x2d9b3a){_0x302192['buffer']?this['setBuffer'](_0x302192['buffer']['buffer'],_0x302192['index'],_0x2d9b3a):this['map']['set'](_0x302192['tree'],_0x2d9b3a);}['cursorGet'](_0x137198){return _0x137198['buffer']?this['getBuffer'](_0x137198['buffer']['buffer'],_0x137198['index']):this['map']['get'](_0x137198['tree']);}}class TreeFragment{constructor(_0x12475c,_0x3dd15a,_0xbea886,_0x105a03,_0x413851=!0x1,_0x55e650=!0x1){this['from']=_0x12475c,this['to']=_0x3dd15a,this['tree']=_0xbea886,this['offset']=_0x105a03,this['open']=(_0x413851?0x1:0x0)|(_0x55e650?0x2:0x0);}get['openStart'](){return(0x1&this['open'])>0x0;}get['openEnd'](){return(0x2&this['open'])>0x0;}static['addTree'](_0x11cd77,_0x1b924f=[],_0x554023=!0x1){let _0x1dede9=[new TreeFragment(0x0,_0x11cd77['length'],_0x11cd77,0x0,!0x1,_0x554023)];for(let _0x4e34f0 of _0x1b924f)_0x4e34f0['to']>_0x11cd77['length']&&_0x1dede9['push'](_0x4e34f0);return _0x1dede9;}static['applyChanges'](_0x51295b,_0x1acc3b,_0x1d5ef7=0x80){if(!_0x1acc3b['length'])return _0x51295b;let _0x598312=[],_0x1d5cb6=0x1,_0x1f43f6=_0x51295b['length']?_0x51295b[0x0]:null;for(let _0x231e9c=0x0,_0x47b5a3=0x0,_0x55de68=0x0;;_0x231e9c++){let _0x1d0e50=_0x231e9c<_0x1acc3b['length']?_0x1acc3b[_0x231e9c]:null,_0x30fa7d=_0x1d0e50?_0x1d0e50['fromA']:0x3b9aca00;if(_0x30fa7d-_0x47b5a3>=_0x1d5ef7)for(;_0x1f43f6&&_0x1f43f6['from']<_0x30fa7d;){let _0x44fa9b=_0x1f43f6;if(_0x47b5a3>=_0x44fa9b['from']||_0x30fa7d<=_0x44fa9b['to']||_0x55de68){let _0x4f8914=Math['max'](_0x44fa9b['from'],_0x47b5a3)-_0x55de68,_0x5ec4bd=Math['min'](_0x44fa9b['to'],_0x30fa7d)-_0x55de68;_0x44fa9b=_0x4f8914>=_0x5ec4bd?null:new TreeFragment(_0x4f8914,_0x5ec4bd,_0x44fa9b['tree'],_0x44fa9b['offset']+_0x55de68,_0x231e9c>0x0,!!_0x1d0e50);}if(_0x44fa9b&&_0x598312['push'](_0x44fa9b),_0x1f43f6['to']>_0x30fa7d)break;_0x1f43f6=_0x1d5cb6<_0x51295b['length']?_0x51295b[_0x1d5cb6++]:null;}if(!_0x1d0e50)break;_0x47b5a3=_0x1d0e50['toA'],_0x55de68=_0x1d0e50['toA']-_0x1d0e50['toB'];}return _0x598312;}}class _0x24741a{['startParse'](_0x46a556,_0x560f8b,_0x106473){return'string'==typeof _0x46a556&&(_0x46a556=new StringInput(_0x46a556)),_0x106473=_0x106473?_0x106473['length']?_0x106473['map'](_0x18b800=>new _0x38ff06(_0x18b800['from'],_0x18b800['to'])):[new _0x38ff06(0x0,0x0)]:[new _0x38ff06(0x0,_0x46a556['length'])],this['createParse'](_0x46a556,_0x560f8b||[],_0x106473);}['parse'](_0x4cf66f,_0x573ad1,_0x458821){let _0x2d93c7=this['startParse'](_0x4cf66f,_0x573ad1,_0x458821);for(;;){let _0x241bfa=_0x2d93c7['advance']();if(_0x241bfa)return _0x241bfa;}}}class StringInput{constructor(_0x3d2003){this['string']=_0x3d2003;}get['length'](){return this['string']['length'];}['chunk'](_0x8dd609){return this['string']['slice'](_0x8dd609);}get['lineChunks'](){return!0x1;}['read'](_0x5e0bff,_0x2e897b){return this['string']['slice'](_0x5e0bff,_0x2e897b);}}function _0x57488a(_0x3d30bd){return(_0x5725e8,_0x2ae64f,_0x27539a,_0x35ca2c)=>new _0x15d6af(_0x5725e8,_0x3d30bd,_0x2ae64f,_0x27539a,_0x35ca2c);}class _0x748f42{constructor(_0x3bcea6,_0x4ceb53,_0x16ac99,_0xe00a29,_0x560440){this['parser']=_0x3bcea6,this['parse']=_0x4ceb53,this['overlay']=_0x16ac99,this['target']=_0xe00a29,this['from']=_0x560440;}}function _0x228836(_0x3c4e35){if(!_0x3c4e35['length']||_0x3c4e35['some'](_0x59ff48=>_0x59ff48['from']>=_0x59ff48['to']))throw new RangeError('Invalid\x20inner\x20parse\x20ranges\x20given:\x20'+JSON['stringify'](_0x3c4e35));}class ActiveOverlay{constructor(_0x4b5f75,_0x7c0300,_0x3d255c,_0x51bea9,_0xfd4c36,_0x47520b,_0x295b54){this['parser']=_0x4b5f75,this['predicate']=_0x7c0300,this['mounts']=_0x3d255c,this['index']=_0x51bea9,this['start']=_0xfd4c36,this['target']=_0x47520b,this['prev']=_0x295b54,this['depth']=0x0,this['ranges']=[];}}const stoppedInner=new _0x519268({'perNode':!0x0});class _0x15d6af{constructor(_0x4dee46,_0x4cc078,_0xe66647,_0x3f4964,_0xc39f5a){this['nest']=_0x4cc078,this['input']=_0xe66647,this['fragments']=_0x3f4964,this['ranges']=_0xc39f5a,this['inner']=[],this['innerDone']=0x0,this['baseTree']=null,this['stoppedAt']=null,this['baseParse']=_0x4dee46;}['advance'](){if(this['baseParse']){let _0x5c5aaf=this['baseParse']['advance']();if(!_0x5c5aaf)return null;if(this['baseParse']=null,this['baseTree']=_0x5c5aaf,this['startInner'](),null!=this['stoppedAt']){for(let _0x489764 of this['inner'])_0x489764['parse']['stopAt'](this['stoppedAt']);}}if(this['innerDone']==this['inner']['length']){let _0x5f0f17=this['baseTree'];return null!=this['stoppedAt']&&(_0x5f0f17=new _0x17cdb3(_0x5f0f17['type'],_0x5f0f17['children'],_0x5f0f17['positions'],_0x5f0f17['length'],_0x5f0f17['propValues']['concat']([[stoppedInner,this['stoppedAt']]]))),_0x5f0f17;}let _0xd87f28=this['inner'][this['innerDone']],_0xd95a63=_0xd87f28['parse']['advance']();if(_0xd95a63){this['innerDone']++;let _0x16b814=Object['assign'](Object['create'](null),_0xd87f28['target']['props']);_0x16b814[_0x519268['mounted']['id']]=new MountedTree(_0xd95a63,_0xd87f28['overlay'],_0xd87f28['parser']),_0xd87f28['target']['props']=_0x16b814;}return null;}get['parsedPos'](){if(this['baseParse'])return 0x0;let _0x4b270d=this['input']['length'];for(let _0x2a2a29=this['innerDone'];_0x2a2a29<this['inner']['length'];_0x2a2a29++)this['inner'][_0x2a2a29]['from']<_0x4b270d&&(_0x4b270d=Math['min'](_0x4b270d,this['inner'][_0x2a2a29]['parse']['parsedPos']));return _0x4b270d;}['stopAt'](_0xb93900){if(this['stoppedAt']=_0xb93900,this['baseParse'])this['baseParse']['stopAt'](_0xb93900);else{for(let _0x12ebe3=this['innerDone'];_0x12ebe3<this['inner']['length'];_0x12ebe3++)this['inner'][_0x12ebe3]['parse']['stopAt'](_0xb93900);}}['startInner'](){let _0xb9b425=new FragmentCursor$2(this['fragments']),_0x40bb76=null,_0x40e156=null,_0x365c1d=new _0x15ce8e(new _0x84b446(this['baseTree'],this['ranges'][0x0]['from'],0x0,null),IterMode['IncludeAnonymous']|IterMode['IgnoreMounts']);t:for(let _0x413317,_0x24235f;;){let _0x6b42f2,_0x3228cf=!0x0;if(null!=this['stoppedAt']&&_0x365c1d['from']>=this['stoppedAt'])_0x3228cf=!0x1;else{if(_0xb9b425['hasNode'](_0x365c1d)){if(_0x40bb76){let _0x46df11=_0x40bb76['mounts']['find'](_0x4f0a12=>_0x4f0a12['frag']['from']<=_0x365c1d['from']&&_0x4f0a12['frag']['to']>=_0x365c1d['to']&&_0x4f0a12['mount']['overlay']);if(_0x46df11)for(let _0x1b103e of _0x46df11['mount']['overlay']){let _0x18fee0=_0x1b103e['from']+_0x46df11['pos'],_0x7357f3=_0x1b103e['to']+_0x46df11['pos'];_0x18fee0>=_0x365c1d['from']&&_0x7357f3<=_0x365c1d['to']&&!_0x40bb76['ranges']['some'](_0x24385d=>_0x24385d['from']<_0x7357f3&&_0x24385d['to']>_0x18fee0)&&_0x40bb76['ranges']['push']({'from':_0x18fee0,'to':_0x7357f3});}}_0x3228cf=!0x1;}else{if(_0x40e156&&(_0x24235f=_0x239689(_0x40e156['ranges'],_0x365c1d['from'],_0x365c1d['to'])))_0x3228cf=0x2!=_0x24235f;else{if(!_0x365c1d['type']['isAnonymous']&&(_0x413317=this['nest'](_0x365c1d,this['input']))&&(_0x365c1d['from']<_0x365c1d['to']||!_0x413317['overlay'])){_0x365c1d['tree']||materialize(_0x365c1d);let _0x1671c6=_0xb9b425['findMounts'](_0x365c1d['from'],_0x413317['parser']);if('function'==typeof _0x413317['overlay'])_0x40bb76=new ActiveOverlay(_0x413317['parser'],_0x413317['overlay'],_0x1671c6,this['inner']['length'],_0x365c1d['from'],_0x365c1d['tree'],_0x40bb76);else{let _0x2e0a46=_0x15b475(this['ranges'],_0x413317['overlay']||(_0x365c1d['from']<_0x365c1d['to']?[new _0x38ff06(_0x365c1d['from'],_0x365c1d['to'])]:[]));_0x2e0a46['length']&&_0x228836(_0x2e0a46),!_0x2e0a46['length']&&_0x413317['overlay']||this['inner']['push'](new _0x748f42(_0x413317['parser'],_0x2e0a46['length']?_0x413317['parser']['startParse'](this['input'],enterFragments(_0x1671c6,_0x2e0a46),_0x2e0a46):_0x413317['parser']['startParse'](''),_0x413317['overlay']?_0x413317['overlay']['map'](_0x845de5=>new _0x38ff06(_0x845de5['from']-_0x365c1d['from'],_0x845de5['to']-_0x365c1d['from'])):null,_0x365c1d['tree'],_0x2e0a46['length']?_0x2e0a46[0x0]['from']:_0x365c1d['from'])),_0x413317['overlay']?_0x2e0a46['length']&&(_0x40e156={'ranges':_0x2e0a46,'depth':0x0,'prev':_0x40e156}):_0x3228cf=!0x1;}}else{if(_0x40bb76&&(_0x6b42f2=_0x40bb76['predicate'](_0x365c1d))&&(!0x0===_0x6b42f2&&(_0x6b42f2=new _0x38ff06(_0x365c1d['from'],_0x365c1d['to'])),_0x6b42f2['from']<_0x6b42f2['to'])){let _0x29c5fd=_0x40bb76['ranges']['length']-0x1;_0x29c5fd>=0x0&&_0x40bb76['ranges'][_0x29c5fd]['to']==_0x6b42f2['from']?_0x40bb76['ranges'][_0x29c5fd]={'from':_0x40bb76['ranges'][_0x29c5fd]['from'],'to':_0x6b42f2['to']}:_0x40bb76['ranges']['push'](_0x6b42f2);}}}}}if(_0x3228cf&&_0x365c1d['firstChild']())_0x40bb76&&_0x40bb76['depth']++,_0x40e156&&_0x40e156['depth']++;else for(;!_0x365c1d['nextSibling']();){if(!_0x365c1d['parent']())break t;if(_0x40bb76&&!--_0x40bb76['depth']){let _0x22a461=_0x15b475(this['ranges'],_0x40bb76['ranges']);_0x22a461['length']&&(_0x228836(_0x22a461),this['inner']['splice'](_0x40bb76['index'],0x0,new _0x748f42(_0x40bb76['parser'],_0x40bb76['parser']['startParse'](this['input'],enterFragments(_0x40bb76['mounts'],_0x22a461),_0x22a461),_0x40bb76['ranges']['map'](_0x4a0587=>new _0x38ff06(_0x4a0587['from']-_0x40bb76['start'],_0x4a0587['to']-_0x40bb76['start'])),_0x40bb76['target'],_0x22a461[0x0]['from']))),_0x40bb76=_0x40bb76['prev'];}_0x40e156&&!--_0x40e156['depth']&&(_0x40e156=_0x40e156['prev']);}}}}function _0x239689(_0x574c14,_0x3a6644,_0x3abc2e){for(let _0x4e6722 of _0x574c14){if(_0x4e6722['from']>=_0x3abc2e)break;if(_0x4e6722['to']>_0x3a6644)return _0x4e6722['from']<=_0x3a6644&&_0x4e6722['to']>=_0x3abc2e?0x2:0x1;}return 0x0;}function _0x55e8e2(_0x52745f,_0x1970cc,_0x43ed68,_0xd73fdd,_0x5413cc,_0xc11f45){if(_0x1970cc<_0x43ed68){let _0x438312=_0x52745f['buffer'][_0x1970cc+0x1];_0xd73fdd['push'](_0x52745f['slice'](_0x1970cc,_0x43ed68,_0x438312)),_0x5413cc['push'](_0x438312-_0xc11f45);}}function materialize(_0x591740){let {node:_0x49969c}=_0x591740,_0x19b33d=[],_0x12d180=_0x49969c['context']['buffer'];do{_0x19b33d['push'](_0x591740['index']),_0x591740['parent']();}while(!_0x591740['tree']);let _0x488966=_0x591740['tree'],_0x439d76=_0x488966['children']['indexOf'](_0x12d180),_0xe05119=_0x488966['children'][_0x439d76],_0x3b7fd7=_0xe05119['buffer'],_0x10edfe=[_0x439d76];_0x488966['children'][_0x439d76]=function _0x4b03fb(_0x264522,_0x12e62e,_0x58e898,_0x485f80,_0x24bcda,_0x170a34){let _0x42f602=_0x19b33d[_0x170a34],_0x25965b=[],_0x5819dd=[];_0x55e8e2(_0xe05119,_0x264522,_0x42f602,_0x25965b,_0x5819dd,_0x485f80);let _0x2dc56e=_0x3b7fd7[_0x42f602+0x1],_0x25bb1e=_0x3b7fd7[_0x42f602+0x2];_0x10edfe['push'](_0x25965b['length']);let _0x357e36=_0x170a34?_0x4b03fb(_0x42f602+0x4,_0x3b7fd7[_0x42f602+0x3],_0xe05119['set']['types'][_0x3b7fd7[_0x42f602]],_0x2dc56e,_0x25bb1e-_0x2dc56e,_0x170a34-0x1):_0x49969c['toTree']();return _0x25965b['push'](_0x357e36),_0x5819dd['push'](_0x2dc56e-_0x485f80),_0x55e8e2(_0xe05119,_0x3b7fd7[_0x42f602+0x3],_0x12e62e,_0x25965b,_0x5819dd,_0x485f80),new _0x17cdb3(_0x58e898,_0x25965b,_0x5819dd,_0x24bcda);}(0x0,_0x3b7fd7['length'],_0x23061a['none'],0x0,_0xe05119['length'],_0x19b33d['length']-0x1);for(let _0x4c37c9 of _0x10edfe){let _0x52938b=_0x591740['tree']['children'][_0x4c37c9],_0xb7ac17=_0x591740['tree']['positions'][_0x4c37c9];_0x591740['yield'](new _0x84b446(_0x52938b,_0xb7ac17+_0x591740['from'],_0x4c37c9,_0x591740['_tree']));}}class StructureCursor{constructor(_0x51bbe4,_0x6c2fc5){this['offset']=_0x6c2fc5,this['done']=!0x1,this['cursor']=_0x51bbe4['cursor'](IterMode['IncludeAnonymous']|IterMode['IgnoreMounts']);}['moveTo'](_0x171712){let {cursor:_0xaf0545}=this,_0x323c2d=_0x171712-this['offset'];for(;!this['done']&&_0xaf0545['from']<_0x323c2d;)_0xaf0545['to']>=_0x171712&&_0xaf0545['enter'](_0x323c2d,0x1,IterMode['IgnoreOverlays']|IterMode['ExcludeBuffers'])||_0xaf0545['next'](!0x1)||(this['done']=!0x0);}['hasNode'](_0xe41545){if(this['moveTo'](_0xe41545['from']),!this['done']&&this['cursor']['from']+this['offset']==_0xe41545['from']&&this['cursor']['tree'])for(let _0x211c46=this['cursor']['tree'];;){if(_0x211c46==_0xe41545['tree'])return!0x0;if(!(_0x211c46['children']['length']&&0x0==_0x211c46['positions'][0x0]&&_0x211c46['children'][0x0]instanceof _0x17cdb3))break;_0x211c46=_0x211c46['children'][0x0];}return!0x1;}}let FragmentCursor$2=class{constructor(_0x2e03b0){var _0x3face7;if(this['fragments']=_0x2e03b0,this['curTo']=0x0,this['fragI']=0x0,_0x2e03b0['length']){let _0x56a764=this['curFrag']=_0x2e03b0[0x0];this['curTo']=null!==(_0x3face7=_0x56a764['tree']['prop'](stoppedInner))&&void 0x0!==_0x3face7?_0x3face7:_0x56a764['to'],this['inner']=new StructureCursor(_0x56a764['tree'],-_0x56a764['offset']);}else this['curFrag']=this['inner']=null;}['hasNode'](_0x53af79){for(;this['curFrag']&&_0x53af79['from']>=this['curTo'];)this['nextFrag']();return this['curFrag']&&this['curFrag']['from']<=_0x53af79['from']&&this['curTo']>=_0x53af79['to']&&this['inner']['hasNode'](_0x53af79);}['nextFrag'](){var _0x2d12b4;if(this['fragI']++,this['fragI']==this['fragments']['length'])this['curFrag']=this['inner']=null;else{let _0x493d3b=this['curFrag']=this['fragments'][this['fragI']];this['curTo']=null!==(_0x2d12b4=_0x493d3b['tree']['prop'](stoppedInner))&&void 0x0!==_0x2d12b4?_0x2d12b4:_0x493d3b['to'],this['inner']=new StructureCursor(_0x493d3b['tree'],-_0x493d3b['offset']);}}['findMounts'](_0x5f0c3f,_0x287ac7){var _0x4a2f08;let _0x596c36=[];if(this['inner']){this['inner']['cursor']['moveTo'](_0x5f0c3f,0x1);for(let _0x3c1e02=this['inner']['cursor']['node'];_0x3c1e02;_0x3c1e02=_0x3c1e02['parent']){let _0x72f3ed=null===(_0x4a2f08=_0x3c1e02['tree'])||void 0x0===_0x4a2f08?void 0x0:_0x4a2f08['prop'](_0x519268['mounted']);if(_0x72f3ed&&_0x72f3ed['parser']==_0x287ac7)for(let _0x22ffaa=this['fragI'];_0x22ffaa<this['fragments']['length'];_0x22ffaa++){let _0x5eb256=this['fragments'][_0x22ffaa];if(_0x5eb256['from']>=_0x3c1e02['to'])break;_0x5eb256['tree']==this['curFrag']['tree']&&_0x596c36['push']({'frag':_0x5eb256,'pos':_0x3c1e02['from']-_0x5eb256['offset'],'mount':_0x72f3ed});}}}return _0x596c36;}};function _0x15b475(_0x3aad81,_0xbd5ed2){let _0x191130=null,_0x35c4b8=_0xbd5ed2;for(let _0x55756e=0x1,_0x2143f6=0x0;_0x55756e<_0x3aad81['length'];_0x55756e++){let _0x5eb4db=_0x3aad81[_0x55756e-0x1]['to'],_0x2eee87=_0x3aad81[_0x55756e]['from'];for(;_0x2143f6<_0x35c4b8['length'];_0x2143f6++){let _0x4ea2e1=_0x35c4b8[_0x2143f6];if(_0x4ea2e1['from']>=_0x2eee87)break;_0x4ea2e1['to']<=_0x5eb4db||(_0x191130||(_0x35c4b8=_0x191130=_0xbd5ed2['slice']()),_0x4ea2e1['from']<_0x5eb4db?(_0x191130[_0x2143f6]=new _0x38ff06(_0x4ea2e1['from'],_0x5eb4db),_0x4ea2e1['to']>_0x2eee87&&_0x191130['splice'](_0x2143f6+0x1,0x0,new _0x38ff06(_0x2eee87,_0x4ea2e1['to']))):_0x4ea2e1['to']>_0x2eee87?_0x191130[_0x2143f6--]=new _0x38ff06(_0x2eee87,_0x4ea2e1['to']):_0x191130['splice'](_0x2143f6--,0x1));}}return _0x35c4b8;}function _0x391abe(_0x412f84,_0x2b9186,_0x2d9a2d,_0x5f35ba){let _0x55948e=0x0,_0x154df4=0x0,_0xc77556=!0x1,_0x5d289e=!0x1,_0x174cbf=-0x3b9aca00,_0x30f5e7=[];for(;;){let _0x41dc43=_0x55948e==_0x412f84['length']?0x3b9aca00:_0xc77556?_0x412f84[_0x55948e]['to']:_0x412f84[_0x55948e]['from'],_0x5755eb=_0x154df4==_0x2b9186['length']?0x3b9aca00:_0x5d289e?_0x2b9186[_0x154df4]['to']:_0x2b9186[_0x154df4]['from'];if(_0xc77556!=_0x5d289e){let _0x4f73a8=Math['max'](_0x174cbf,_0x2d9a2d),_0x36d39a=Math['min'](_0x41dc43,_0x5755eb,_0x5f35ba);_0x4f73a8<_0x36d39a&&_0x30f5e7['push'](new _0x38ff06(_0x4f73a8,_0x36d39a));}if(_0x174cbf=Math['min'](_0x41dc43,_0x5755eb),0x3b9aca00==_0x174cbf)break;_0x41dc43==_0x174cbf&&(_0xc77556?(_0xc77556=!0x1,_0x55948e++):_0xc77556=!0x0),_0x5755eb==_0x174cbf&&(_0x5d289e?(_0x5d289e=!0x1,_0x154df4++):_0x5d289e=!0x0);}return _0x30f5e7;}function enterFragments(_0x2ba74b,_0x5175cd){let _0x18b268=[];for(let {pos:_0x4d4297,mount:_0x1d774e,frag:_0x307dac}of _0x2ba74b){let _0x954378=_0x4d4297+(_0x1d774e['overlay']?_0x1d774e['overlay'][0x0]['from']:0x0),_0x3246c4=_0x954378+_0x1d774e['tree']['length'],_0x57b89f=Math['max'](_0x307dac['from'],_0x954378),_0x152177=Math['min'](_0x307dac['to'],_0x3246c4);if(_0x1d774e['overlay']){let _0x44198d=_0x1d774e['overlay']['map'](_0x5083ff=>new _0x38ff06(_0x5083ff['from']+_0x4d4297,_0x5083ff['to']+_0x4d4297)),_0x4587e3=_0x391abe(_0x5175cd,_0x44198d,_0x57b89f,_0x152177);for(let _0x452ce1=0x0,_0x3ec865=_0x57b89f;;_0x452ce1++){let _0x4333e1=_0x452ce1==_0x4587e3['length'],_0x123616=_0x4333e1?_0x152177:_0x4587e3[_0x452ce1]['from'];if(_0x123616>_0x3ec865&&_0x18b268['push'](new TreeFragment(_0x3ec865,_0x123616,_0x1d774e['tree'],-_0x954378,_0x307dac['from']>=_0x3ec865||_0x307dac['openStart'],_0x307dac['to']<=_0x123616||_0x307dac['openEnd'])),_0x4333e1)break;_0x3ec865=_0x4587e3[_0x452ce1]['to'];}}else _0x18b268['push'](new TreeFragment(_0x57b89f,_0x152177,_0x1d774e['tree'],-_0x954378,_0x307dac['from']>=_0x954378||_0x307dac['openStart'],_0x307dac['to']<=_0x3246c4||_0x307dac['openEnd']));}return _0x18b268;}let nextTagID=0x0;class _0x2b95e6{constructor(_0x305f2c,_0x1ade29,_0x5f46ea,_0x385c55){this['name']=_0x305f2c,this['set']=_0x1ade29,this['base']=_0x5f46ea,this['modified']=_0x385c55,this['id']=nextTagID++;}['toString'](){let {name:_0x36e758}=this;for(let _0x3d71b4 of this['modified'])_0x3d71b4['name']&&(_0x36e758=_0x3d71b4['name']+'('+_0x36e758+')');return _0x36e758;}static['define'](_0x1af42e,_0x4e3c69){let _0xa12e06='string'==typeof _0x1af42e?_0x1af42e:'?';if(_0x1af42e instanceof _0x2b95e6&&(_0x4e3c69=_0x1af42e),null==_0x4e3c69?void 0x0:_0x4e3c69['base'])throw new Error('Can\x20not\x20derive\x20from\x20a\x20modified\x20tag');let _0x479e71=new _0x2b95e6(_0xa12e06,[],null,[]);if(_0x479e71['set']['push'](_0x479e71),_0x4e3c69){for(let t of _0x4e3c69['set'])_0x479e71['set']['push'](t);}return _0x479e71;}static['defineModifier'](_0x483fc9){let _0xe74f95=new _0x45fd2d(_0x483fc9);return _0x36a46f=>_0x36a46f['modified']['indexOf'](_0xe74f95)>-0x1?_0x36a46f:_0x45fd2d['get'](_0x36a46f['base']||_0x36a46f,_0x36a46f['modified']['concat'](_0xe74f95)['sort']((_0x4117b0,_0x5adce0)=>_0x4117b0['id']-_0x5adce0['id']));}}let nextModifierID=0x0;class _0x45fd2d{constructor(_0x177b10){this['name']=_0x177b10,this['instances']=[],this['id']=nextModifierID++;}static['get'](_0x5dae64,_0x3f3dce){if(!_0x3f3dce['length'])return _0x5dae64;let _0x3cf637=_0x3f3dce[0x0]['instances']['find'](t=>t['base']==_0x5dae64&&_0x41830e(_0x3f3dce,t['modified']));if(_0x3cf637)return _0x3cf637;let _0x3ff43b=[],_0x23d6ba=new _0x2b95e6(_0x5dae64['name'],_0x3ff43b,_0x5dae64,_0x3f3dce);for(let _0x516b38 of _0x3f3dce)_0x516b38['instances']['push'](_0x23d6ba);let _0x5ecb3d=powerSet(_0x3f3dce);for(let _0x32fc9e of _0x5dae64['set'])if(!_0x32fc9e['modified']['length']){for(let _0x5445bc of _0x5ecb3d)_0x3ff43b['push'](_0x45fd2d['get'](_0x32fc9e,_0x5445bc));}return _0x23d6ba;}}function _0x41830e(_0x26aed9,_0x7220f5){return _0x26aed9['length']==_0x7220f5['length']&&_0x26aed9['every']((_0x2a6939,_0x20bf02)=>_0x2a6939==_0x7220f5[_0x20bf02]);}function powerSet(_0x4559c6){let _0x5650e7=[[]];for(let _0x7fb89d=0x0;_0x7fb89d<_0x4559c6['length'];_0x7fb89d++)for(let _0x2e1e89=0x0,_0x59e1a0=_0x5650e7['length'];_0x2e1e89<_0x59e1a0;_0x2e1e89++)_0x5650e7['push'](_0x5650e7[_0x2e1e89]['concat'](_0x4559c6[_0x7fb89d]));return _0x5650e7['sort']((_0x470889,_0x2010b9)=>_0x2010b9['length']-_0x470889['length']);}function styleTags(_0xdbf9dd){let _0x363eb1=Object['create'](null);for(let _0x1ad409 in _0xdbf9dd){let _0x2ef123=_0xdbf9dd[_0x1ad409];Array['isArray'](_0x2ef123)||(_0x2ef123=[_0x2ef123]);for(let _0xa14d71 of _0x1ad409['split']('\x20'))if(_0xa14d71){let _0x22171e=[],_0x24ef35=0x2,_0x3edf67=_0xa14d71;for(let _0x38d0fb=0x0;;){if('...'==_0x3edf67&&_0x38d0fb>0x0&&_0x38d0fb+0x3==_0xa14d71['length']){_0x24ef35=0x1;break;}let _0x1ed23b=/^"(?:[^"\\]|\\.)*?"|[^\/!]+/['exec'](_0x3edf67);if(!_0x1ed23b)throw new RangeError('Invalid\x20path:\x20'+_0xa14d71);if(_0x22171e['push']('*'==_0x1ed23b[0x0]?'':'\x22'==_0x1ed23b[0x0][0x0]?JSON['parse'](_0x1ed23b[0x0]):_0x1ed23b[0x0]),_0x38d0fb+=_0x1ed23b[0x0]['length'],_0x38d0fb==_0xa14d71['length'])break;let _0x524943=_0xa14d71[_0x38d0fb++];if(_0x38d0fb==_0xa14d71['length']&&'!'==_0x524943){_0x24ef35=0x0;break;}if('/'!=_0x524943)throw new RangeError('Invalid\x20path:\x20'+_0xa14d71);_0x3edf67=_0xa14d71['slice'](_0x38d0fb);}let _0x23c82e=_0x22171e['length']-0x1,_0x16c6b6=_0x22171e[_0x23c82e];if(!_0x16c6b6)throw new RangeError('Invalid\x20path:\x20'+_0xa14d71);let _0xf72bef=new _0x218a9b(_0x2ef123,_0x24ef35,_0x23c82e>0x0?_0x22171e['slice'](0x0,_0x23c82e):null);_0x363eb1[_0x16c6b6]=_0xf72bef['sort'](_0x363eb1[_0x16c6b6]);}}return _0x5c1917['add'](_0x363eb1);}const _0x5c1917=new _0x519268();class _0x218a9b{constructor(_0x590a68,_0x3acce2,_0x1d89c6,_0x13ab62){this['tags']=_0x590a68,this['mode']=_0x3acce2,this['context']=_0x1d89c6,this['next']=_0x13ab62;}get['opaque'](){return 0x0==this['mode'];}get['inherit'](){return 0x1==this['mode'];}['sort'](_0x1853e9){return!_0x1853e9||_0x1853e9['depth']<this['depth']?(this['next']=_0x1853e9,this):(_0x1853e9['next']=this['sort'](_0x1853e9['next']),_0x1853e9);}get['depth'](){return this['context']?this['context']['length']:0x0;}}function tagHighlighter(_0x339624,_0x3fe0f5){let _0x59ffd0=Object['create'](null);for(let _0x5b9fe5 of _0x339624)if(Array['isArray'](_0x5b9fe5['tag'])){for(let _0x173047 of _0x5b9fe5['tag'])_0x59ffd0[_0x173047['id']]=_0x5b9fe5['class'];}else _0x59ffd0[_0x5b9fe5['tag']['id']]=_0x5b9fe5['class'];let {scope:_0x43ec69,all:_0xd1f3fe=null}=_0x3fe0f5||{};return{'style':_0x595498=>{let _0x44113a=_0xd1f3fe;for(let _0x1f7e32 of _0x595498)for(let _0x21f108 of _0x1f7e32['set']){let _0x36be77=_0x59ffd0[_0x21f108['id']];if(_0x36be77){_0x44113a=_0x44113a?_0x44113a+'\x20'+_0x36be77:_0x36be77;break;}}return _0x44113a;},'scope':_0x43ec69};}function highlightTags(_0x3003a5,_0x484a40){let _0x209464=null;for(let _0x6860 of _0x3003a5){let _0xfe0dd8=_0x6860['style'](_0x484a40);_0xfe0dd8&&(_0x209464=_0x209464?_0x209464+'\x20'+_0xfe0dd8:_0xfe0dd8);}return _0x209464;}function highlightTree(_0xd49582,_0x1fa049,_0x17e012,_0x4d93f3=0x0,_0x17ca6e=_0xd49582['length']){let _0x8abee9=new HighlightBuilder(_0x4d93f3,Array['isArray'](_0x1fa049)?_0x1fa049:[_0x1fa049],_0x17e012);_0x8abee9['highlightRange'](_0xd49582['cursor'](),_0x4d93f3,_0x17ca6e,'',_0x8abee9['highlighters']),_0x8abee9['flush'](_0x17ca6e);}_0x218a9b['empty']=new _0x218a9b([],0x2,null);class HighlightBuilder{constructor(_0x2a9881,_0x384c98,_0x4c8655){this['at']=_0x2a9881,this['highlighters']=_0x384c98,this['span']=_0x4c8655,this['class']='';}['startSpan'](_0x5380d0,_0x54719b){_0x54719b!=this['class']&&(this['flush'](_0x5380d0),_0x5380d0>this['at']&&(this['at']=_0x5380d0),this['class']=_0x54719b);}['flush'](_0x4f47b2){_0x4f47b2>this['at']&&this['class']&&this['span'](this['at'],_0x4f47b2,this['class']);}['highlightRange'](_0x1c823e,_0x5aeb90,_0x223708,_0x5e9c09,_0x24b39d){let {type:_0x17a6c3,from:_0xab4280,to:_0xcd83c9}=_0x1c823e;if(_0xab4280>=_0x223708||_0xcd83c9<=_0x5aeb90)return;_0x17a6c3['isTop']&&(_0x24b39d=this['highlighters']['filter'](_0x20aa11=>!_0x20aa11['scope']||_0x20aa11['scope'](_0x17a6c3)));let _0x4973be=_0x5e9c09,_0x9ff3c6=getStyleTags(_0x1c823e)||_0x218a9b['empty'],_0x150ff1=highlightTags(_0x24b39d,_0x9ff3c6['tags']);if(_0x150ff1&&(_0x4973be&&(_0x4973be+='\x20'),_0x4973be+=_0x150ff1,0x1==_0x9ff3c6['mode']&&(_0x5e9c09+=(_0x5e9c09?'\x20':'')+_0x150ff1)),this['startSpan'](Math['max'](_0x5aeb90,_0xab4280),_0x4973be),_0x9ff3c6['opaque'])return;let _0x43550c=_0x1c823e['tree']&&_0x1c823e['tree']['prop'](_0x519268['mounted']);if(_0x43550c&&_0x43550c['overlay']){let _0x59278b=_0x1c823e['node']['enter'](_0x43550c['overlay'][0x0]['from']+_0xab4280,0x1),_0x436f27=this['highlighters']['filter'](_0x2891ec=>!_0x2891ec['scope']||_0x2891ec['scope'](_0x43550c['tree']['type'])),_0x7b4fcd=_0x1c823e['firstChild']();for(let _0x303053=0x0,_0x46356a=_0xab4280;;_0x303053++){let _0x226395=_0x303053<_0x43550c['overlay']['length']?_0x43550c['overlay'][_0x303053]:null,_0x23c0d9=_0x226395?_0x226395['from']+_0xab4280:_0xcd83c9,_0x437333=Math['max'](_0x5aeb90,_0x46356a),_0x7ff27a=Math['min'](_0x223708,_0x23c0d9);if(_0x437333<_0x7ff27a&&_0x7b4fcd){for(;_0x1c823e['from']<_0x7ff27a&&(this['highlightRange'](_0x1c823e,_0x437333,_0x7ff27a,_0x5e9c09,_0x24b39d),this['startSpan'](Math['min'](_0x7ff27a,_0x1c823e['to']),_0x4973be),!(_0x1c823e['to']>=_0x23c0d9)&&_0x1c823e['nextSibling']()););}if(!_0x226395||_0x23c0d9>_0x223708)break;_0x46356a=_0x226395['to']+_0xab4280,_0x46356a>_0x5aeb90&&(this['highlightRange'](_0x59278b['cursor'](),Math['max'](_0x5aeb90,_0x226395['from']+_0xab4280),Math['min'](_0x223708,_0x46356a),'',_0x436f27),this['startSpan'](Math['min'](_0x223708,_0x46356a),_0x4973be));}_0x7b4fcd&&_0x1c823e['parent']();}else{if(_0x1c823e['firstChild']()){_0x43550c&&(_0x5e9c09='');do{if(!(_0x1c823e['to']<=_0x5aeb90)){if(_0x1c823e['from']>=_0x223708)break;this['highlightRange'](_0x1c823e,_0x5aeb90,_0x223708,_0x5e9c09,_0x24b39d),this['startSpan'](Math['min'](_0x223708,_0x1c823e['to']),_0x4973be);}}while(_0x1c823e['nextSibling']());_0x1c823e['parent']();}}}}function getStyleTags(_0x53ec23){let _0x25a841=_0x53ec23['type']['prop'](_0x5c1917);for(;_0x25a841&&_0x25a841['context']&&!_0x53ec23['matchContext'](_0x25a841['context']);)_0x25a841=_0x25a841['next'];return _0x25a841||null;}const t=_0x2b95e6['define'],comment=t(),_0x1b84a8=t(),typeName=t(_0x1b84a8),propertyName=t(_0x1b84a8),literal=t(),string=t(literal),_0x3c73b5=t(literal),content=t(),_0x256a92=t(content),_0x433f26=t(),operator=t(),punctuation=t(),bracket=t(punctuation),meta=t(),tags$1={'comment':comment,'lineComment':t(comment),'blockComment':t(comment),'docComment':t(comment),'name':_0x1b84a8,'variableName':t(_0x1b84a8),'typeName':typeName,'tagName':t(typeName),'propertyName':propertyName,'attributeName':t(propertyName),'className':t(_0x1b84a8),'labelName':t(_0x1b84a8),'namespace':t(_0x1b84a8),'macroName':t(_0x1b84a8),'literal':literal,'string':string,'docString':t(string),'character':t(string),'attributeValue':t(string),'number':_0x3c73b5,'integer':t(_0x3c73b5),'float':t(_0x3c73b5),'bool':t(literal),'regexp':t(literal),'escape':t(literal),'color':t(literal),'url':t(literal),'keyword':_0x433f26,'self':t(_0x433f26),'null':t(_0x433f26),'atom':t(_0x433f26),'unit':t(_0x433f26),'modifier':t(_0x433f26),'operatorKeyword':t(_0x433f26),'controlKeyword':t(_0x433f26),'definitionKeyword':t(_0x433f26),'moduleKeyword':t(_0x433f26),'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':_0x256a92,'heading1':t(_0x256a92),'heading2':t(_0x256a92),'heading3':t(_0x256a92),'heading4':t(_0x256a92),'heading5':t(_0x256a92),'heading6':t(_0x256a92),'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':_0x2b95e6['defineModifier']('definition'),'constant':_0x2b95e6['defineModifier']('constant'),'function':_0x2b95e6['defineModifier']('function'),'standard':_0x2b95e6['defineModifier']('standard'),'local':_0x2b95e6['defineModifier']('local'),'special':_0x2b95e6['defineModifier']('special')};for(let _0x1aec96 in tags$1){let _0x547a0e=tags$1[_0x1aec96];_0x547a0e instanceof _0x2b95e6&&(_0x547a0e['name']=_0x1aec96);}var _0x5e36b5;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 _0x519268();function defineLanguageFacet(_0x4184b4){return Facet['define']({'combine':_0x4184b4?_0x4573f7=>_0x4573f7['concat'](_0x4184b4):void 0x0});}const _0xe264ce=new _0x519268();class _0x47c225{constructor(_0x44a319,_0x367c74,_0x48d8d1=[],_0x5e5569=''){this['data']=_0x44a319,this['name']=_0x5e5569,EditorState['prototype']['hasOwnProperty']('tree')||Object['defineProperty'](EditorState['prototype'],'tree',{'get'(){return syntaxTree(this);}}),this['parser']=_0x367c74,this['extension']=[_0x55438e['of'](this),EditorState['languageData']['of']((_0x205ca0,_0x2f654e,_0x3d7cee)=>{let _0x1efe39=topNodeAt(_0x205ca0,_0x2f654e,_0x3d7cee),_0x39c60f=_0x1efe39['type']['prop'](languageDataProp);if(!_0x39c60f)return[];let _0x269fef=_0x205ca0['facet'](_0x39c60f),_0x4966d0=_0x1efe39['type']['prop'](_0xe264ce);if(_0x4966d0){let _0x137dad=_0x1efe39['resolve'](_0x2f654e-_0x1efe39['from'],_0x3d7cee);for(let _0x4542d4 of _0x4966d0)if(_0x4542d4['test'](_0x137dad,_0x205ca0)){let _0x1db1db=_0x205ca0['facet'](_0x4542d4['facet']);return'replace'==_0x4542d4['type']?_0x1db1db:_0x1db1db['concat'](_0x269fef);}}return _0x269fef;})]['concat'](_0x48d8d1);}['isActiveAt'](_0x1f86bf,_0x17cb6c,_0x1eb530=-0x1){return topNodeAt(_0x1f86bf,_0x17cb6c,_0x1eb530)['type']['prop'](languageDataProp)==this['data'];}['findRegions'](_0x14e6c3){let _0x275902=_0x14e6c3['facet'](_0x55438e);if((null==_0x275902?void 0x0:_0x275902['data'])==this['data'])return[{'from':0x0,'to':_0x14e6c3['doc']['length']}];if(!_0x275902||!_0x275902['allowsNesting'])return[];let _0x4bdca1=[],_0x4d90a0=(_0x486de7,_0xe99dff)=>{if(_0x486de7['prop'](languageDataProp)==this['data'])return void _0x4bdca1['push']({'from':_0xe99dff,'to':_0xe99dff+_0x486de7['length']});let _0x5e1b52=_0x486de7['prop'](_0x519268['mounted']);if(_0x5e1b52){if(_0x5e1b52['tree']['prop'](languageDataProp)==this['data']){if(_0x5e1b52['overlay']){for(let _0xbc8bcb of _0x5e1b52['overlay'])_0x4bdca1['push']({'from':_0xbc8bcb['from']+_0xe99dff,'to':_0xbc8bcb['to']+_0xe99dff});}else _0x4bdca1['push']({'from':_0xe99dff,'to':_0xe99dff+_0x486de7['length']});return;}if(_0x5e1b52['overlay']){let _0x5a60e1=_0x4bdca1['length'];if(_0x4d90a0(_0x5e1b52['tree'],_0x5e1b52['overlay'][0x0]['from']+_0xe99dff),_0x4bdca1['length']>_0x5a60e1)return;}}for(let _0x58d602=0x0;_0x58d602<_0x486de7['children']['length'];_0x58d602++){let _0xf66f59=_0x486de7['children'][_0x58d602];_0xf66f59 instanceof _0x17cdb3&&_0x4d90a0(_0xf66f59,_0x486de7['positions'][_0x58d602]+_0xe99dff);}};return _0x4d90a0(syntaxTree(_0x14e6c3),0x0),_0x4bdca1;}get['allowsNesting'](){return!0x0;}}function topNodeAt(_0x27af59,_0x4f17ee,_0x21ea0d){let _0x31124c=_0x27af59['facet'](_0x55438e),_0x2e2e73=syntaxTree(_0x27af59)['topNode'];if(!_0x31124c||_0x31124c['allowsNesting']){for(let _0x29abf9=_0x2e2e73;_0x29abf9;_0x29abf9=_0x29abf9['enter'](_0x4f17ee,_0x21ea0d,IterMode['ExcludeBuffers']))_0x29abf9['type']['isTop']&&(_0x2e2e73=_0x29abf9);}return _0x2e2e73;}_0x47c225['setState']=StateEffect['define']();class _0x159d04 extends _0x47c225{constructor(_0x583ad2,_0xa865d8,_0xc596c0){super(_0x583ad2,_0xa865d8,[],_0xc596c0),this['parser']=_0xa865d8;}static['define'](_0x296a00){let _0x5ddd56=defineLanguageFacet(_0x296a00['languageData']);return new _0x159d04(_0x5ddd56,_0x296a00['parser']['configure']({'props':[languageDataProp['add'](_0x256885=>_0x256885['isTop']?_0x5ddd56:void 0x0)]}),_0x296a00['name']);}['configure'](_0xf08d28,_0xe5c09d){return new _0x159d04(this['data'],this['parser']['configure'](_0xf08d28),_0xe5c09d||this['name']);}get['allowsNesting'](){return this['parser']['hasWrappers']();}}function syntaxTree(_0x3bb3e7){let _0x1b18c2=_0x3bb3e7['field'](_0x47c225['state'],!0x1);return _0x1b18c2?_0x1b18c2['tree']:_0x17cdb3['empty'];}class DocInput{constructor(_0x48adf6){this['doc']=_0x48adf6,this['cursorPos']=0x0,this['string']='',this['cursor']=_0x48adf6['iter']();}get['length'](){return this['doc']['length'];}['syncTo'](_0x565955){return this['string']=this['cursor']['next'](_0x565955-this['cursorPos'])['value'],this['cursorPos']=_0x565955+this['string']['length'],this['cursorPos']-this['string']['length'];}['chunk'](_0x3ab915){return this['syncTo'](_0x3ab915),this['string'];}get['lineChunks'](){return!0x0;}['read'](_0x33f8ee,_0x4907f7){let _0x549a02=this['cursorPos']-this['string']['length'];return _0x33f8ee<_0x549a02||_0x4907f7>=this['cursorPos']?this['doc']['sliceString'](_0x33f8ee,_0x4907f7):this['string']['slice'](_0x33f8ee-_0x549a02,_0x4907f7-_0x549a02);}}let currentContext=null;class ParseContext{constructor(_0x5c4cfe,_0x315f84,_0x437a13=[],_0xbe96c4,_0x231f78,_0x26b98b,_0x3cac53,_0xf77f9){this['parser']=_0x5c4cfe,this['state']=_0x315f84,this['fragments']=_0x437a13,this['tree']=_0xbe96c4,this['treeLen']=_0x231f78,this['viewport']=_0x26b98b,this['skipped']=_0x3cac53,this['scheduleOn']=_0xf77f9,this['parse']=null,this['tempSkipped']=[];}static['create'](_0x104d85,_0x51167b,_0x21d99c){return new ParseContext(_0x104d85,_0x51167b,[],_0x17cdb3['empty'],0x0,_0x21d99c,[],null);}['startParse'](){return this['parser']['startParse'](new DocInput(this['state']['doc']),this['fragments']);}['work'](_0x35e55f,_0x1bf1c7){return null!=_0x1bf1c7&&_0x1bf1c7>=this['state']['doc']['length']&&(_0x1bf1c7=void 0x0),this['tree']!=_0x17cdb3['empty']&&this['isDone'](null!=_0x1bf1c7?_0x1bf1c7:this['state']['doc']['length'])?(this['takeTree'](),!0x0):this['withContext'](()=>{var _0x126c0d;if('number'==typeof _0x35e55f){let _0x1d3afb=Date['now']()+_0x35e55f;_0x35e55f=()=>Date['now']()>_0x1d3afb;}for(this['parse']||(this['parse']=this['startParse']()),null!=_0x1bf1c7&&(null==this['parse']['stoppedAt']||this['parse']['stoppedAt']>_0x1bf1c7)&&_0x1bf1c7<this['state']['doc']['length']&&this['parse']['stopAt'](_0x1bf1c7);;){let _0x38ebbb=this['parse']['advance']();if(_0x38ebbb){if(this['fragments']=this['withoutTempSkipped'](TreeFragment['addTree'](_0x38ebbb,this['fragments'],null!=this['parse']['stoppedAt'])),this['treeLen']=null!==(_0x126c0d=this['parse']['stoppedAt'])&&void 0x0!==_0x126c0d?_0x126c0d:this['state']['doc']['length'],this['tree']=_0x38ebbb,this['parse']=null,!(this['treeLen']<(null!=_0x1bf1c7?_0x1bf1c7:this['state']['doc']['length'])))return!0x0;this['parse']=this['startParse']();}if(_0x35e55f())return!0x1;}});}['takeTree'](){let _0x2ec63b,_0x9c43fd;this['parse']&&(_0x2ec63b=this['parse']['parsedPos'])>=this['treeLen']&&((null==this['parse']['stoppedAt']||this['parse']['stoppedAt']>_0x2ec63b)&&this['parse']['stopAt'](_0x2ec63b),this['withContext'](()=>{for(;!(_0x9c43fd=this['parse']['advance']()););}),this['treeLen']=_0x2ec63b,this['tree']=_0x9c43fd,this['fragments']=this['withoutTempSkipped'](TreeFragment['addTree'](this['tree'],this['fragments'],!0x0)),this['parse']=null);}['withContext'](_0x5238e8){let _0x313068=currentContext;currentContext=this;try{return _0x5238e8();}finally{currentContext=_0x313068;}}['withoutTempSkipped'](_0x3b28db){for(let _0x5db95c;_0x5db95c=this['tempSkipped']['pop']();)_0x3b28db=cutFragments(_0x3b28db,_0x5db95c['from'],_0x5db95c['to']);return _0x3b28db;}['changes'](_0x540818,_0x4c6b15){let {fragments:_0x3de924,tree:_0x1d3ad4,treeLen:_0x5d1fc0,viewport:_0x2815a0,skipped:_0x4da79c}=this;if(this['takeTree'](),!_0x540818['empty']){let _0x2028d6=[];if(_0x540818['iterChangedRanges']((_0x13982d,_0x50780a,_0x2bf31e,_0x24a735)=>_0x2028d6['push']({'fromA':_0x13982d,'toA':_0x50780a,'fromB':_0x2bf31e,'toB':_0x24a735})),_0x3de924=TreeFragment['applyChanges'](_0x3de924,_0x2028d6),_0x1d3ad4=_0x17cdb3['empty'],_0x5d1fc0=0x0,_0x2815a0={'from':_0x540818['mapPos'](_0x2815a0['from'],-0x1),'to':_0x540818['mapPos'](_0x2815a0['to'],0x1)},this['skipped']['length']){_0x4da79c=[];for(let _0x34094d of this['skipped']){let _0x24d7b2=_0x540818['mapPos'](_0x34094d['from'],0x1),_0x373f5a=_0x540818['mapPos'](_0x34094d['to'],-0x1);_0x24d7b2<_0x373f5a&&_0x4da79c['push']({'from':_0x24d7b2,'to':_0x373f5a});}}}return new ParseContext(this['parser'],_0x4c6b15,_0x3de924,_0x1d3ad4,_0x5d1fc0,_0x2815a0,_0x4da79c,this['scheduleOn']);}['updateViewport'](_0x4b3571){if(this['viewport']['from']==_0x4b3571['from']&&this['viewport']['to']==_0x4b3571['to'])return!0x1;this['viewport']=_0x4b3571;let _0x4e5bb2=this['skipped']['length'];for(let _0x4a5a57=0x0;_0x4a5a57<this['skipped']['length'];_0x4a5a57++){let {from:_0x10b34b,to:_0x35537d}=this['skipped'][_0x4a5a57];_0x10b34b<_0x4b3571['to']&&_0x35537d>_0x4b3571['from']&&(this['fragments']=cutFragments(this['fragments'],_0x10b34b,_0x35537d),this['skipped']['splice'](_0x4a5a57--,0x1));}return!(this['skipped']['length']>=_0x4e5bb2)&&(this['reset'](),!0x0);}['reset'](){this['parse']&&(this['takeTree'](),this['parse']=null);}['skipUntilInView'](_0x2a332a,_0x4e7914){this['skipped']['push']({'from':_0x2a332a,'to':_0x4e7914});}static['getSkippingParser'](_0x5cbb90){return new class extends _0x24741a{['createParse'](_0x2bbbde,_0x23a0e2,_0x54c689){let _0x2f102d=_0x54c689[0x0]['from'],_0x54d84b=_0x54c689[_0x54c689['length']-0x1]['to'],_0x4b5484={'parsedPos':_0x2f102d,'advance'(){let _0x239f3f=currentContext;if(_0x239f3f){for(let _0x4fbb33 of _0x54c689)_0x239f3f['tempSkipped']['push'](_0x4fbb33);_0x5cbb90&&(_0x239f3f['scheduleOn']=_0x239f3f['scheduleOn']?Promise['all']([_0x239f3f['scheduleOn'],_0x5cbb90]):_0x5cbb90);}return this['parsedPos']=_0x54d84b,new _0x17cdb3(_0x23061a['none'],[],[],_0x54d84b-_0x2f102d);},'stoppedAt':null,'stopAt'(){}};return _0x4b5484;}}();}['isDone'](_0x108110){_0x108110=Math['min'](_0x108110,this['state']['doc']['length']);let _0x4bd917=this['fragments'];return this['treeLen']>=_0x108110&&_0x4bd917['length']&&0x0==_0x4bd917[0x0]['from']&&_0x4bd917[0x0]['to']>=_0x108110;}static['get'](){return currentContext;}}function cutFragments(_0x248670,_0x2beb78,_0x58a96d){return TreeFragment['applyChanges'](_0x248670,[{'fromA':_0x2beb78,'toA':_0x58a96d,'fromB':_0x2beb78,'toB':_0x58a96d}]);}class LanguageState{constructor(_0x1a9bda){this['context']=_0x1a9bda,this['tree']=_0x1a9bda['tree'];}['apply'](_0x5b7e55){if(!_0x5b7e55['docChanged']&&this['tree']==this['context']['tree'])return this;let _0x27d1b0=this['context']['changes'](_0x5b7e55['changes'],_0x5b7e55['state']),_0x1cf5b1=this['context']['treeLen']==_0x5b7e55['startState']['doc']['length']?void 0x0:Math['max'](_0x5b7e55['changes']['mapPos'](this['context']['treeLen']),_0x27d1b0['viewport']['to']);return _0x27d1b0['work'](0x14,_0x1cf5b1)||_0x27d1b0['takeTree'](),new LanguageState(_0x27d1b0);}static['init'](_0x59edf5){let _0x130094=Math['min'](0xbb8,_0x59edf5['doc']['length']),_0x341ff1=ParseContext['create'](_0x59edf5['facet'](_0x55438e)['parser'],_0x59edf5,{'from':0x0,'to':_0x130094});return _0x341ff1['work'](0x14,_0x130094)||_0x341ff1['takeTree'](),new LanguageState(_0x341ff1);}}_0x47c225['state']=StateField['define']({'create':LanguageState['init'],'update'(_0x40e5a3,_0x1a1c6e){for(let _0xa477d8 of _0x1a1c6e['effects'])if(_0xa477d8['is'](_0x47c225['setState']))return _0xa477d8['value'];return _0x1a1c6e['startState']['facet'](_0x55438e)!=_0x1a1c6e['state']['facet'](_0x55438e)?LanguageState['init'](_0x1a1c6e['state']):_0x40e5a3['apply'](_0x1a1c6e);}});let requestIdle=_0x216280=>{let _0x5befc3=setTimeout(()=>_0x216280(),0x1f4);return()=>clearTimeout(_0x5befc3);};'undefined'!=typeof requestIdleCallback&&(requestIdle=_0x1b5c89=>{let _0x5f59e2=-0x1,_0x1547c7=setTimeout(()=>{_0x5f59e2=requestIdleCallback(_0x1b5c89,{'timeout':0x190});},0x64);return()=>_0x5f59e2<0x0?clearTimeout(_0x1547c7):cancelIdleCallback(_0x5f59e2);});const isInputPending='undefined'!=typeof navigator&&(null===(_0x5e36b5=navigator['scheduling'])||void 0x0===_0x5e36b5?void 0x0:_0x5e36b5['isInputPending'])?()=>navigator['scheduling']['isInputPending']():null,_0x33772c=_0x19aa80['fromClass'](class{constructor(_0x470e28){this['view']=_0x470e28,this['working']=null,this['workScheduled']=0x0,this['chunkEnd']=-0x1,this['chunkBudget']=-0x1,this['work']=this['work']['bind'](this),this['scheduleWork']();}['update'](_0x5673b6){let _0x145276=this['view']['state']['field'](_0x47c225['state'])['context'];(_0x145276['updateViewport'](_0x5673b6['view']['viewport'])||this['view']['viewport']['to']>_0x145276['treeLen'])&&this['scheduleWork'](),(_0x5673b6['docChanged']||_0x5673b6['selectionSet'])&&(this['view']['hasFocus']&&(this['chunkBudget']+=0x32),this['scheduleWork']()),this['checkAsyncSchedule'](_0x145276);}['scheduleWork'](){if(this['working'])return;let {state:_0x867355}=this['view'],_0xfe68f4=_0x867355['field'](_0x47c225['state']);_0xfe68f4['tree']==_0xfe68f4['context']['tree']&&_0xfe68f4['context']['isDone'](_0x867355['doc']['length'])||(this['working']=requestIdle(this['work']));}['work'](_0x9a7f7d){this['working']=null;let _0x5ecc78=Date['now']();if(this['chunkEnd']<_0x5ecc78&&(this['chunkEnd']<0x0||this['view']['hasFocus'])&&(this['chunkEnd']=_0x5ecc78+0x7530,this['chunkBudget']=0xbb8),this['chunkBudget']<=0x0)return;let {state:_0x29e645,viewport:{to:_0x2fdf44}}=this['view'],_0x43dfb4=_0x29e645['field'](_0x47c225['state']);if(_0x43dfb4['tree']==_0x43dfb4['context']['tree']&&_0x43dfb4['context']['isDone'](_0x2fdf44+0x186a0))return;let _0x5bb54a=Date['now']()+Math['min'](this['chunkBudget'],0x64,_0x9a7f7d&&!isInputPending?Math['max'](0x19,_0x9a7f7d['timeRemaining']()-0x5):0x3b9aca00),_0x3e4840=_0x43dfb4['context']['treeLen']<_0x2fdf44&&_0x29e645['doc']['length']>_0x2fdf44+0x3e8,_0x55aa47=_0x43dfb4['context']['work'](()=>isInputPending&&isInputPending()||Date['now']()>_0x5bb54a,_0x2fdf44+(_0x3e4840?0x0:0x186a0));this['chunkBudget']-=Date['now']()-_0x5ecc78,(_0x55aa47||this['chunkBudget']<=0x0)&&(_0x43dfb4['context']['takeTree'](),this['view']['dispatch']({'effects':_0x47c225['setState']['of'](new LanguageState(_0x43dfb4['context']))})),this['chunkBudget']>0x0&&(!_0x55aa47||_0x3e4840)&&this['scheduleWork'](),this['checkAsyncSchedule'](_0x43dfb4['context']);}['checkAsyncSchedule'](_0x3567ce){_0x3567ce['scheduleOn']&&(this['workScheduled']++,_0x3567ce['scheduleOn']['then'](()=>this['scheduleWork']())['catch'](_0x301263=>logException(this['view']['state'],_0x301263))['then'](()=>this['workScheduled']--),_0x3567ce['scheduleOn']=null);}['destroy'](){this['working']&&this['working']();}['isWorking'](){return!!(this['working']||this['workScheduled']>0x0);}},{'eventHandlers':{'focus'(){this['scheduleWork']();}}}),_0x55438e=Facet['define']({'combine':_0x199c57=>_0x199c57['length']?_0x199c57[0x0]:null,'enables':_0x439c13=>[_0x47c225['state'],_0x33772c,EditorView['contentAttributes']['compute']([_0x439c13],_0x1c9698=>{let _0x1a4f0d=_0x1c9698['facet'](_0x439c13);return _0x1a4f0d&&_0x1a4f0d['name']?{'data-language':_0x1a4f0d['name']}:{};})]});class LanguageSupport{constructor(_0x42d335,_0x4f69dc=[]){this['language']=_0x42d335,this['support']=_0x4f69dc,this['extension']=[_0x42d335,_0x4f69dc];}}class LanguageDescription{constructor(_0x584146,_0x746588,_0x5ba7ff,_0x2ae300,_0x318298,_0x4a11af=void 0x0){this['name']=_0x584146,this['alias']=_0x746588,this['extensions']=_0x5ba7ff,this['filename']=_0x2ae300,this['loadFunc']=_0x318298,this['support']=_0x4a11af,this['loading']=null;}['load'](){return this['loading']||(this['loading']=this['loadFunc']()['then'](_0xc6609a=>this['support']=_0xc6609a,_0x539d8c=>{throw this['loading']=null,_0x539d8c;}));}static['of'](_0x39f602){let {load:_0x12d352,support:_0x360099}=_0x39f602;if(!_0x12d352){if(!_0x360099)throw new RangeError('Must\x20pass\x20either\x20\x27load\x27\x20or\x20\x27support\x27\x20to\x20LanguageDescription.of');_0x12d352=()=>Promise['resolve'](_0x360099);}return new LanguageDescription(_0x39f602['name'],(_0x39f602['alias']||[])['concat'](_0x39f602['name'])['map'](_0x12d60a=>_0x12d60a['toLowerCase']()),_0x39f602['extensions']||[],_0x39f602['filename'],_0x12d352,_0x360099);}static['matchFilename'](_0x3a3f71,_0x35b843){for(let _0x26c67f of _0x3a3f71)if(_0x26c67f['filename']&&_0x26c67f['filename']['test'](_0x35b843))return _0x26c67f;let _0x82861e=/\.([^.]+)$/['exec'](_0x35b843);if(_0x82861e){for(let _0x35ad9a of _0x3a3f71)if(_0x35ad9a['extensions']['indexOf'](_0x82861e[0x1])>-0x1)return _0x35ad9a;}return null;}static['matchLanguageName'](_0x3a1f31,_0x27e368,_0x526329=!0x0){_0x27e368=_0x27e368['toLowerCase']();for(let _0x56d120 of _0x3a1f31)if(_0x56d120['alias']['some'](_0x330ca3=>_0x330ca3==_0x27e368))return _0x56d120;if(_0x526329){for(let _0x2891b5 of _0x3a1f31)for(let _0x125bcb of _0x2891b5['alias']){let _0x2c9cd9=_0x27e368['indexOf'](_0x125bcb);if(_0x2c9cd9>-0x1&&(_0x125bcb['length']>0x2||!/\w/['test'](_0x27e368[_0x2c9cd9-0x1])&&!/\w/['test'](_0x27e368[_0x2c9cd9+_0x125bcb['length']])))return _0x2891b5;}}return null;}}const indentService=Facet['define'](),indentUnit=Facet['define']({'combine':_0x28f895=>{if(!_0x28f895['length'])return'\x20\x20';let _0x4831fa=_0x28f895[0x0];if(!_0x4831fa||/\S/['test'](_0x4831fa)||Array['from'](_0x4831fa)['some'](_0x2017c2=>_0x2017c2!=_0x4831fa[0x0]))throw new Error('Invalid\x20indent\x20unit:\x20'+JSON['stringify'](_0x28f895[0x0]));return _0x4831fa;}});function getIndentUnit(_0x3355c7){let _0x6f159d=_0x3355c7['facet'](indentUnit);return 0x9==_0x6f159d['charCodeAt'](0x0)?_0x3355c7['tabSize']*_0x6f159d['length']:_0x6f159d['length'];}function indentString(_0xf1df5c,_0x4798ec){let _0x401842='',_0x5ac1e9=_0xf1df5c['tabSize'],_0x3b3ce8=_0xf1df5c['facet'](indentUnit)[0x0];if('\x09'==_0x3b3ce8){for(;_0x4798ec>=_0x5ac1e9;)_0x401842+='\x09',_0x4798ec-=_0x5ac1e9;_0x3b3ce8='\x20';}for(let _0x3f47b0=0x0;_0x3f47b0<_0x4798ec;_0x3f47b0++)_0x401842+=_0x3b3ce8;return _0x401842;}function getIndentation(_0x36e1e7,_0x562dec){_0x36e1e7 instanceof EditorState&&(_0x36e1e7=new IndentContext(_0x36e1e7));for(let _0x1fb033 of _0x36e1e7['state']['facet'](indentService)){let _0x5aa2f8=_0x1fb033(_0x36e1e7,_0x562dec);if(void 0x0!==_0x5aa2f8)return _0x5aa2f8;}let _0x1a6d80=syntaxTree(_0x36e1e7['state']);return _0x1a6d80['length']>=_0x562dec?syntaxIndentation(_0x36e1e7,_0x1a6d80,_0x562dec):null;}class IndentContext{constructor(_0x4f4ee,_0x59ac20={}){this['state']=_0x4f4ee,this['options']=_0x59ac20,this['unit']=getIndentUnit(_0x4f4ee);}['lineAt'](_0xfea301,_0x25cf15=0x1){let _0x5a59b0=this['state']['doc']['lineAt'](_0xfea301),{simulateBreak:_0x22a5b7,simulateDoubleBreak:_0x1674ed}=this['options'];return null!=_0x22a5b7&&_0x22a5b7>=_0x5a59b0['from']&&_0x22a5b7<=_0x5a59b0['to']?_0x1674ed&&_0x22a5b7==_0xfea301?{'text':'','from':_0xfea301}:(_0x25cf15<0x0?_0x22a5b7<_0xfea301:_0x22a5b7<=_0xfea301)?{'text':_0x5a59b0['text']['slice'](_0x22a5b7-_0x5a59b0['from']),'from':_0x22a5b7}:{'text':_0x5a59b0['text']['slice'](0x0,_0x22a5b7-_0x5a59b0['from']),'from':_0x5a59b0['from']}:_0x5a59b0;}['textAfterPos'](_0x3ee9ee,_0x422f04=0x1){if(this['options']['simulateDoubleBreak']&&_0x3ee9ee==this['options']['simulateBreak'])return'';let {text:_0x3a71af,from:_0x26dd65}=this['lineAt'](_0x3ee9ee,_0x422f04);return _0x3a71af['slice'](_0x3ee9ee-_0x26dd65,Math['min'](_0x3a71af['length'],_0x3ee9ee+0x64-_0x26dd65));}['column'](_0x1ede95,_0xe2ccc4=0x1){let {text:_0x38ea1a,from:_0x3a5276}=this['lineAt'](_0x1ede95,_0xe2ccc4),_0x2b27f8=this['countColumn'](_0x38ea1a,_0x1ede95-_0x3a5276),_0x1d5655=this['options']['overrideIndentation']?this['options']['overrideIndentation'](_0x3a5276):-0x1;return _0x1d5655>-0x1&&(_0x2b27f8+=_0x1d5655-this['countColumn'](_0x38ea1a,_0x38ea1a['search'](/\S|$/))),_0x2b27f8;}['countColumn'](_0x11bf04,_0x5747a6=_0x11bf04['length']){return countColumn(_0x11bf04,this['state']['tabSize'],_0x5747a6);}['lineIndent'](_0x3ff210,_0xdb9dfb=0x1){let {text:_0x308d52,from:_0x3c893a}=this['lineAt'](_0x3ff210,_0xdb9dfb),_0x436f64=this['options']['overrideIndentation'];if(_0x436f64){let _0x14e312=_0x436f64(_0x3c893a);if(_0x14e312>-0x1)return _0x14e312;}return this['countColumn'](_0x308d52,_0x308d52['search'](/\S|$/));}get['simulatedBreak'](){return this['options']['simulateBreak']||null;}}const indentNodeProp=new _0x519268();function syntaxIndentation(_0x48bc93,_0x4b7993,_0x1681cb){let _0x357f79=_0x4b7993['resolveStack'](_0x1681cb),_0x2606fa=_0x4b7993['resolveInner'](_0x1681cb,-0x1)['resolve'](_0x1681cb,0x0)['enterUnfinishedNodesBefore'](_0x1681cb);if(_0x2606fa!=_0x357f79['node']){let _0x260313=[];for(let _0xc21f55=_0x2606fa;_0xc21f55&&!(_0xc21f55['from']<_0x357f79['node']['from']||_0xc21f55['to']>_0x357f79['node']['to']||_0xc21f55['from']==_0x357f79['node']['from']&&_0xc21f55['type']==_0x357f79['node']['type']);_0xc21f55=_0xc21f55['parent'])_0x260313['push'](_0xc21f55);for(let _0x46cc0e=_0x260313['length']-0x1;_0x46cc0e>=0x0;_0x46cc0e--)_0x357f79={'node':_0x260313[_0x46cc0e],'next':_0x357f79};}return indentFor(_0x357f79,_0x48bc93,_0x1681cb);}function indentFor(_0x16fad7,_0x4c176d,_0x3eac41){for(let _0x3c6ddd=_0x16fad7;_0x3c6ddd;_0x3c6ddd=_0x3c6ddd['next']){let _0x33c8fd=indentStrategy(_0x3c6ddd['node']);if(_0x33c8fd)return _0x33c8fd(TreeIndentContext['create'](_0x4c176d,_0x3eac41,_0x3c6ddd));}return 0x0;}function _0x10d24e(_0x3951ff){return _0x3951ff['pos']==_0x3951ff['options']['simulateBreak']&&_0x3951ff['options']['simulateDoubleBreak'];}function indentStrategy(_0x5adfec){let _0x5ae696=_0x5adfec['type']['prop'](indentNodeProp);if(_0x5ae696)return _0x5ae696;let _0xf1a1a8,_0x240c6c=_0x5adfec['firstChild'];if(_0x240c6c&&(_0xf1a1a8=_0x240c6c['type']['prop'](_0x519268['closedBy']))){let _0x2d20ba=_0x5adfec['lastChild'],_0x5394c7=_0x2d20ba&&_0xf1a1a8['indexOf'](_0x2d20ba['name'])>-0x1;return _0xa0f87c=>delimitedStrategy(_0xa0f87c,!0x0,0x1,void 0x0,_0x5394c7&&!_0x10d24e(_0xa0f87c)?_0x2d20ba['from']:void 0x0);}return null==_0x5adfec['parent']?topIndent:null;}function topIndent(){return 0x0;}class TreeIndentContext extends IndentContext{constructor(_0x207619,_0x52c5aa,_0x1fb190){super(_0x207619['state'],_0x207619['options']),this['base']=_0x207619,this['pos']=_0x52c5aa,this['context']=_0x1fb190;}get['node'](){return this['context']['node'];}static['create'](_0x56d527,_0x566837,_0x117093){return new TreeIndentContext(_0x56d527,_0x566837,_0x117093);}get['textAfter'](){return this['textAfterPos'](this['pos']);}get['baseIndent'](){return this['baseIndentFor'](this['node']);}['baseIndentFor'](_0x2bc142){let _0xef12e=this['state']['doc']['lineAt'](_0x2bc142['from']);for(;;){let _0x3ddfd7=_0x2bc142['resolve'](_0xef12e['from']);for(;_0x3ddfd7['parent']&&_0x3ddfd7['parent']['from']==_0x3ddfd7['from'];)_0x3ddfd7=_0x3ddfd7['parent'];if(isParent(_0x3ddfd7,_0x2bc142))break;_0xef12e=this['state']['doc']['lineAt'](_0x3ddfd7['from']);}return this['lineIndent'](_0xef12e['from']);}['continue'](){return indentFor(this['context']['next'],this['base'],this['pos']);}}function isParent(_0x2d8b0d,_0x2a8d28){for(let _0x584331=_0x2a8d28;_0x584331;_0x584331=_0x584331['parent'])if(_0x2d8b0d==_0x584331)return!0x0;return!0x1;}function bracketedAligned(_0x5a07fe){let _0x174a3a=_0x5a07fe['node'],_0x36d027=_0x174a3a['childAfter'](_0x174a3a['from']),_0x1da38f=_0x174a3a['lastChild'];if(!_0x36d027)return null;let _0x34167f=_0x5a07fe['options']['simulateBreak'],_0x51994c=_0x5a07fe['state']['doc']['lineAt'](_0x36d027['from']),_0x4b61d8=null==_0x34167f||_0x34167f<=_0x51994c['from']?_0x51994c['to']:Math['min'](_0x51994c['to'],_0x34167f);for(let _0x265324=_0x36d027['to'];;){let _0x18560c=_0x174a3a['childAfter'](_0x265324);if(!_0x18560c||_0x18560c==_0x1da38f)return null;if(!_0x18560c['type']['isSkipped']){if(_0x18560c['from']>=_0x4b61d8)return null;let _0x47fe22=/^ */['exec'](_0x51994c['text']['slice'](_0x36d027['to']-_0x51994c['from']))[0x0]['length'];return{'from':_0x36d027['from'],'to':_0x36d027['to']+_0x47fe22};}_0x265324=_0x18560c['to'];}}function delimitedIndent({closing:_0x40af7c,align:_0x48fbcd=!0x0,units:_0x3f01c5=0x1}){return _0x17de24=>delimitedStrategy(_0x17de24,_0x48fbcd,_0x3f01c5,_0x40af7c);}function delimitedStrategy(_0x1641f6,_0xfa1073,_0x4e9720,_0x4d5e47,_0xb1e229){let _0x2a21cb=_0x1641f6['textAfter'],_0x578a88=_0x2a21cb['match'](/^\s*/)[0x0]['length'],_0xe60d95=_0x4d5e47&&_0x2a21cb['slice'](_0x578a88,_0x578a88+_0x4d5e47['length'])==_0x4d5e47||_0xb1e229==_0x1641f6['pos']+_0x578a88,_0x845fc2=_0xfa1073?bracketedAligned(_0x1641f6):null;return _0x845fc2?_0xe60d95?_0x1641f6['column'](_0x845fc2['from']):_0x1641f6['column'](_0x845fc2['to']):_0x1641f6['baseIndent']+(_0xe60d95?0x0:_0x1641f6['unit']*_0x4e9720);}const flatIndent=_0x29c89c=>_0x29c89c['baseIndent'];function continuedIndent({except:_0x49ce2d,units:_0x2dfff1=0x1}={}){return _0x2954ea=>{let _0x4b9349=_0x49ce2d&&_0x49ce2d['test'](_0x2954ea['textAfter']);return _0x2954ea['baseIndent']+(_0x4b9349?0x0:_0x2dfff1*_0x2954ea['unit']);};}const DontIndentBeyond=0xc8;function indentOnInput(){return EditorState['transactionFilter']['of'](_0x4d4416=>{if(!_0x4d4416['docChanged']||!_0x4d4416['isUserEvent']('input.type')&&!_0x4d4416['isUserEvent']('input.complete'))return _0x4d4416;let _0x204154=_0x4d4416['startState']['languageDataAt']('indentOnInput',_0x4d4416['startState']['selection']['main']['head']);if(!_0x204154['length'])return _0x4d4416;let _0x7218c=_0x4d4416['newDoc'],{head:_0x927da4}=_0x4d4416['newSelection']['main'],_0x32f94f=_0x7218c['lineAt'](_0x927da4);if(_0x927da4>_0x32f94f['from']+DontIndentBeyond)return _0x4d4416;let _0x46bbba=_0x7218c['sliceString'](_0x32f94f['from'],_0x927da4);if(!_0x204154['some'](_0x258c20=>_0x258c20['test'](_0x46bbba)))return _0x4d4416;let {state:_0x49f953}=_0x4d4416,_0x476890=-0x1,_0x2e46e9=[];for(let {head:_0x479ea8}of _0x49f953['selection']['ranges']){let _0x14ff22=_0x49f953['doc']['lineAt'](_0x479ea8);if(_0x14ff22['from']==_0x476890)continue;_0x476890=_0x14ff22['from'];let _0x10babd=getIndentation(_0x49f953,_0x14ff22['from']);if(null==_0x10babd)continue;let _0x5f3cb4=/^\s*/['exec'](_0x14ff22['text'])[0x0],_0x31c2ac=indentString(_0x49f953,_0x10babd);_0x5f3cb4!=_0x31c2ac&&_0x2e46e9['push']({'from':_0x14ff22['from'],'to':_0x14ff22['from']+_0x5f3cb4['length'],'insert':_0x31c2ac});}return _0x2e46e9['length']?[_0x4d4416,{'changes':_0x2e46e9,'sequential':!0x0}]:_0x4d4416;});}const _0x4050eb=Facet['define'](),_0x110e88=new _0x519268();function _0x112143(_0x517473){let _0x887f35=_0x517473['firstChild'],_0x228730=_0x517473['lastChild'];return _0x887f35&&_0x887f35['to']<_0x228730['from']?{'from':_0x887f35['to'],'to':_0x228730['type']['isError']?_0x517473['to']:_0x228730['from']}:null;}function syntaxFolding(_0x5a276f,_0x1db034,_0x1e0237){let _0x21d9b9=syntaxTree(_0x5a276f);if(_0x21d9b9['length']<_0x1e0237)return null;let _0x9df6ef=null;for(let _0x1d7941=_0x21d9b9['resolveStack'](_0x1e0237,0x1);_0x1d7941;_0x1d7941=_0x1d7941['next']){let _0x589cc7=_0x1d7941['node'];if(_0x589cc7['to']<=_0x1e0237||_0x589cc7['from']>_0x1e0237)continue;if(_0x9df6ef&&_0x589cc7['from']<_0x1db034)break;let _0x533fe9=_0x589cc7['type']['prop'](_0x110e88);if(_0x533fe9&&(_0x589cc7['to']<_0x21d9b9['length']-0x32||_0x21d9b9['length']==_0x5a276f['doc']['length']||!_0x457776(_0x589cc7))){let _0xdf8852=_0x533fe9(_0x589cc7,_0x5a276f);_0xdf8852&&_0xdf8852['from']<=_0x1e0237&&_0xdf8852['from']>=_0x1db034&&_0xdf8852['to']>_0x1e0237&&(_0x9df6ef=_0xdf8852);}}return _0x9df6ef;}function _0x457776(_0x43fa6a){let _0x3cde72=_0x43fa6a['lastChild'];return _0x3cde72&&_0x3cde72['to']==_0x43fa6a['to']&&_0x3cde72['type']['isError'];}function _0x545879(_0x54ad2d,_0x3e705e,_0x1ea0c6){for(let _0x444bf8 of _0x54ad2d['facet'](_0x4050eb)){let _0x1591c7=_0x444bf8(_0x54ad2d,_0x3e705e,_0x1ea0c6);if(_0x1591c7)return _0x1591c7;}return syntaxFolding(_0x54ad2d,_0x3e705e,_0x1ea0c6);}function _0x866351(_0x234401,_0x42f805){let _0x25941b=_0x42f805['mapPos'](_0x234401['from'],0x1),_0x2fd123=_0x42f805['mapPos'](_0x234401['to'],-0x1);return _0x25941b>=_0x2fd123?void 0x0:{'from':_0x25941b,'to':_0x2fd123};}const foldEffect=StateEffect['define']({'map':_0x866351}),unfoldEffect=StateEffect['define']({'map':_0x866351});function selectedLines(_0x466d98){let _0x69e20b=[];for(let {head:_0x5b41cd}of _0x466d98['state']['selection']['ranges'])_0x69e20b['some'](_0x15d658=>_0x15d658['from']<=_0x5b41cd&&_0x15d658['to']>=_0x5b41cd)||_0x69e20b['push'](_0x466d98['lineBlockAt'](_0x5b41cd));return _0x69e20b;}const foldState=StateField['define']({'create':()=>Decoration['none'],'update'(_0x425105,_0x16fa7a){_0x16fa7a['isUserEvent']('delete')&&_0x16fa7a['changes']['iterChangedRanges']((_0x315602,_0x521171)=>_0x425105=_0x2f0c48(_0x425105,_0x315602,_0x521171)),_0x425105=_0x425105['map'](_0x16fa7a['changes']);for(let _0x102d1a of _0x16fa7a['effects'])if(_0x102d1a['is'](foldEffect)&&!foldExists(_0x425105,_0x102d1a['value']['from'],_0x102d1a['value']['to'])){let {preparePlaceholder:_0x13485a}=_0x16fa7a['state']['facet'](_0x27826a),_0x3409a3=_0x13485a?Decoration['replace']({'widget':new PreparedFoldWidget(_0x13485a(_0x16fa7a['state'],_0x102d1a['value']))}):foldWidget;_0x425105=_0x425105['update']({'add':[_0x3409a3['range'](_0x102d1a['value']['from'],_0x102d1a['value']['to'])]});}else _0x102d1a['is'](unfoldEffect)&&(_0x425105=_0x425105['update']({'filter':(_0x2b9960,_0x2a9050)=>_0x102d1a['value']['from']!=_0x2b9960||_0x102d1a['value']['to']!=_0x2a9050,'filterFrom':_0x102d1a['value']['from'],'filterTo':_0x102d1a['value']['to']}));return _0x16fa7a['selection']&&(_0x425105=_0x2f0c48(_0x425105,_0x16fa7a['selection']['main']['head'])),_0x425105;},'provide':_0x3f1956=>EditorView['decorations']['from'](_0x3f1956),'toJSON'(_0x141799,_0x23b28f){let _0x566f00=[];return _0x141799['between'](0x0,_0x23b28f['doc']['length'],(_0x43fe39,_0xb27510)=>{_0x566f00['push'](_0x43fe39,_0xb27510);}),_0x566f00;},'fromJSON'(_0x44dcd7){if(!Array['isArray'](_0x44dcd7)||_0x44dcd7['length']%0x2)throw new RangeError('Invalid\x20JSON\x20for\x20fold\x20state');let _0x1f7b44=[];for(let _0x45c906=0x0;_0x45c906<_0x44dcd7['length'];){let _0x1fb2ef=_0x44dcd7[_0x45c906++],_0x3218ce=_0x44dcd7[_0x45c906++];if('number'!=typeof _0x1fb2ef||'number'!=typeof _0x3218ce)throw new RangeError('Invalid\x20JSON\x20for\x20fold\x20state');_0x1f7b44['push'](foldWidget['range'](_0x1fb2ef,_0x3218ce));}return Decoration['set'](_0x1f7b44,!0x0);}});function _0x2f0c48(_0x10a32c,_0x5d00a3,_0xd4202=_0x5d00a3){let _0xdffb08=!0x1;return _0x10a32c['between'](_0x5d00a3,_0xd4202,(_0x25eefc,_0x5c0311)=>{_0x25eefc<_0xd4202&&_0x5c0311>_0x5d00a3&&(_0xdffb08=!0x0);}),_0xdffb08?_0x10a32c['update']({'filterFrom':_0x5d00a3,'filterTo':_0xd4202,'filter':(_0x3b44e5,_0x347c1b)=>_0x3b44e5>=_0xd4202||_0x347c1b<=_0x5d00a3}):_0x10a32c;}function _0x3675b2(_0x5e0128,_0x2b4ef6,_0x182554){var _0xafc636;let _0xc0627e=null;return null===(_0xafc636=_0x5e0128['field'](foldState,!0x1))||void 0x0===_0xafc636||_0xafc636['between'](_0x2b4ef6,_0x182554,(_0x13f67a,_0x31254f)=>{(!_0xc0627e||_0xc0627e['from']>_0x13f67a)&&(_0xc0627e={'from':_0x13f67a,'to':_0x31254f});}),_0xc0627e;}function foldExists(_0x43f86d,_0x4bd48d,_0x20b20d){let _0x4f91b5=!0x1;return _0x43f86d['between'](_0x4bd48d,_0x4bd48d,(_0x5a85f3,_0x3ce689)=>{_0x5a85f3==_0x4bd48d&&_0x3ce689==_0x20b20d&&(_0x4f91b5=!0x0);}),_0x4f91b5;}function _0x129600(_0x446956,_0x356c16){return _0x446956['field'](foldState,!0x1)?_0x356c16:_0x356c16['concat'](StateEffect['appendConfig']['of'](_0x5a1844()));}const _0x587c64=_0x2824fb=>{for(let _0x288387 of selectedLines(_0x2824fb)){let _0x35492b=_0x545879(_0x2824fb['state'],_0x288387['from'],_0x288387['to']);if(_0x35492b)return _0x2824fb['dispatch']({'effects':_0x129600(_0x2824fb['state'],[foldEffect['of'](_0x35492b),_0x5154ee(_0x2824fb,_0x35492b)])}),!0x0;}return!0x1;},_0x41ff59=_0x4802c5=>{if(!_0x4802c5['state']['field'](foldState,!0x1))return!0x1;let _0x43f465=[];for(let _0x126b32 of selectedLines(_0x4802c5)){let _0x2f24f9=_0x3675b2(_0x4802c5['state'],_0x126b32['from'],_0x126b32['to']);_0x2f24f9&&_0x43f465['push'](unfoldEffect['of'](_0x2f24f9),_0x5154ee(_0x4802c5,_0x2f24f9,!0x1));}return _0x43f465['length']&&_0x4802c5['dispatch']({'effects':_0x43f465}),_0x43f465['length']>0x0;};function _0x5154ee(_0x1d23b9,_0xd17b4d,_0x1b0d29=!0x0){let _0x5d435d=_0x1d23b9['state']['doc']['lineAt'](_0xd17b4d['from'])['number'],_0x4bceb7=_0x1d23b9['state']['doc']['lineAt'](_0xd17b4d['to'])['number'];return EditorView['announce']['of'](_0x1d23b9['state']['phrase'](_0x1b0d29?'Folded\x20lines':'Unfolded\x20lines')+'\x20'+_0x5d435d+'\x20'+_0x1d23b9['state']['phrase']('to')+'\x20'+_0x4bceb7+'.');}const _0x260e69=_0x1cb46c=>{let {state:_0x1210b3}=_0x1cb46c,_0xaa7d12=[];for(let _0x1b2d8e=0x0;_0x1b2d8e<_0x1210b3['doc']['length'];){let _0x18c4ff=_0x1cb46c['lineBlockAt'](_0x1b2d8e),_0x20b2aa=_0x545879(_0x1210b3,_0x18c4ff['from'],_0x18c4ff['to']);_0x20b2aa&&_0xaa7d12['push'](foldEffect['of'](_0x20b2aa)),_0x1b2d8e=(_0x20b2aa?_0x1cb46c['lineBlockAt'](_0x20b2aa['to']):_0x18c4ff)['to']+0x1;}return _0xaa7d12['length']&&_0x1cb46c['dispatch']({'effects':_0x129600(_0x1cb46c['state'],_0xaa7d12)}),!!_0xaa7d12['length'];},_0x3803a6=_0x241b7b=>{let _0x36e5cb=_0x241b7b['state']['field'](foldState,!0x1);if(!_0x36e5cb||!_0x36e5cb['size'])return!0x1;let _0x4b6d8d=[];return _0x36e5cb['between'](0x0,_0x241b7b['state']['doc']['length'],(_0x291241,_0x9376c9)=>{_0x4b6d8d['push'](unfoldEffect['of']({'from':_0x291241,'to':_0x9376c9}));}),_0x241b7b['dispatch']({'effects':_0x4b6d8d}),!0x0;},_0x2235c7=[{'key':'Ctrl-Shift-[','mac':'Cmd-Alt-[','run':_0x587c64},{'key':'Ctrl-Shift-]','mac':'Cmd-Alt-]','run':_0x41ff59},{'key':'Ctrl-Alt-[','run':_0x260e69},{'key':'Ctrl-Alt-]','run':_0x3803a6}],defaultConfig={'placeholderDOM':null,'preparePlaceholder':null,'placeholderText':'…'},_0x27826a=Facet['define']({'combine':_0x401375=>_0x1f6110(_0x401375,defaultConfig)});function _0x5a1844(_0x3e2c36){return[foldState,_0x355d78];}function widgetToDOM(_0xfd35be,_0x4a1064){let {state:_0x2ebda4}=_0xfd35be,_0x368562=_0x2ebda4['facet'](_0x27826a),_0x252fce=_0x3d5c72=>{let _0x3d88d8=_0xfd35be['lineBlockAt'](_0xfd35be['posAtDOM'](_0x3d5c72['target'])),_0x3a9c87=_0x3675b2(_0xfd35be['state'],_0x3d88d8['from'],_0x3d88d8['to']);_0x3a9c87&&_0xfd35be['dispatch']({'effects':unfoldEffect['of'](_0x3a9c87)}),_0x3d5c72['preventDefault']();};if(_0x368562['placeholderDOM'])return _0x368562['placeholderDOM'](_0xfd35be,_0x252fce,_0x4a1064);let _0x12ccff=document['createElement']('span');return _0x12ccff['textContent']=_0x368562['placeholderText'],_0x12ccff['setAttribute']('aria-label',_0x2ebda4['phrase']('folded\x20code')),_0x12ccff['title']=_0x2ebda4['phrase']('unfold'),_0x12ccff['className']='cm-foldPlaceholder',_0x12ccff['onclick']=_0x252fce,_0x12ccff;}const foldWidget=Decoration['replace']({'widget':new class extends WidgetType{['toDOM'](_0x1e9df6){return widgetToDOM(_0x1e9df6,null);}}()});class PreparedFoldWidget extends WidgetType{constructor(_0x34718f){super(),this['value']=_0x34718f;}['eq'](_0x1b8fea){return this['value']==_0x1b8fea['value'];}['toDOM'](_0x33b506){return widgetToDOM(_0x33b506,this['value']);}}const foldGutterDefaults={'openText':'⌄','closedText':'›','markerDOM':null,'domEventHandlers':{},'foldingChanged':()=>!0x1};class _0x47c8a9 extends GutterMarker{constructor(_0x82e9ca,_0x5f3d50){super(),this['config']=_0x82e9ca,this['open']=_0x5f3d50;}['eq'](_0x404a9c){return this['config']==_0x404a9c['config']&&this['open']==_0x404a9c['open'];}['toDOM'](_0x3d5ef8){if(this['config']['markerDOM'])return this['config']['markerDOM'](this['open']);let _0xc524a5=document['createElement']('span');return _0xc524a5['textContent']=this['open']?this['config']['openText']:this['config']['closedText'],_0xc524a5['title']=_0x3d5ef8['state']['phrase'](this['open']?'Fold\x20line':'Unfold\x20line'),_0xc524a5;}}function foldGutter(_0x2bbe59={}){let _0x3c5802={...foldGutterDefaults,..._0x2bbe59},_0x5b62e4=new _0x47c8a9(_0x3c5802,!0x0),_0x2e5f28=new _0x47c8a9(_0x3c5802,!0x1),_0x37d383=_0x19aa80['fromClass'](class{constructor(_0x570833){this['from']=_0x570833['viewport']['from'],this['markers']=this['buildMarkers'](_0x570833);}['update'](_0x48ead9){(_0x48ead9['docChanged']||_0x48ead9['viewportChanged']||_0x48ead9['startState']['facet'](_0x55438e)!=_0x48ead9['state']['facet'](_0x55438e)||_0x48ead9['startState']['field'](foldState,!0x1)!=_0x48ead9['state']['field'](foldState,!0x1)||syntaxTree(_0x48ead9['startState'])!=syntaxTree(_0x48ead9['state'])||_0x3c5802['foldingChanged'](_0x48ead9))&&(this['markers']=this['buildMarkers'](_0x48ead9['view']));}['buildMarkers'](_0x4b33ce){let _0x5abb85=new RangeSetBuilder();for(let _0x2c779c of _0x4b33ce['viewportLineBlocks']){let _0x276eba=_0x3675b2(_0x4b33ce['state'],_0x2c779c['from'],_0x2c779c['to'])?_0x2e5f28:_0x545879(_0x4b33ce['state'],_0x2c779c['from'],_0x2c779c['to'])?_0x5b62e4:null;_0x276eba&&_0x5abb85['add'](_0x2c779c['from'],_0x2c779c['from'],_0x276eba);}return _0x5abb85['finish']();}}),{domEventHandlers:_0xdbdc80}=_0x3c5802;return[_0x37d383,gutter({'class':'cm-foldGutter','markers'(_0x12b0e2){var _0x105162;return(null===(_0x105162=_0x12b0e2['plugin'](_0x37d383))||void 0x0===_0x105162?void 0x0:_0x105162['markers'])||RangeSet['empty'];},'initialSpacer':()=>new _0x47c8a9(_0x3c5802,!0x1),'domEventHandlers':{..._0xdbdc80,'click':(_0x1a10b5,_0x1e5dd6,_0x19753e)=>{if(_0xdbdc80['click']&&_0xdbdc80['click'](_0x1a10b5,_0x1e5dd6,_0x19753e))return!0x0;let _0x53af24=_0x3675b2(_0x1a10b5['state'],_0x1e5dd6['from'],_0x1e5dd6['to']);if(_0x53af24)return _0x1a10b5['dispatch']({'effects':unfoldEffect['of'](_0x53af24)}),!0x0;let _0x263d3c=_0x545879(_0x1a10b5['state'],_0x1e5dd6['from'],_0x1e5dd6['to']);return!!_0x263d3c&&(_0x1a10b5['dispatch']({'effects':foldEffect['of'](_0x263d3c)}),!0x0);}}}),_0x5a1844()];}const _0x355d78=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(_0x209b92,_0x2af3db){let _0x2f84a7;function _0x353cf(_0x45caf3){let _0x208469=StyleModule['newName']();return(_0x2f84a7||(_0x2f84a7=Object['create'](null)))['.'+_0x208469]=_0x45caf3,_0x208469;}this['specs']=_0x209b92;const _0x2b92d9='string'==typeof _0x2af3db['all']?_0x2af3db['all']:_0x2af3db['all']?_0x353cf(_0x2af3db['all']):void 0x0,_0x242787=_0x2af3db['scope'];this['scope']=_0x242787 instanceof _0x47c225?_0x22107d=>_0x22107d['prop'](languageDataProp)==_0x242787['data']:_0x242787?_0x52cbda=>_0x52cbda==_0x242787:void 0x0,this['style']=tagHighlighter(_0x209b92['map'](_0x373635=>({'tag':_0x373635['tag'],'class':_0x373635['class']||_0x353cf(Object['assign']({},_0x373635,{'tag':null}))})),{'all':_0x2b92d9})['style'],this['module']=_0x2f84a7?new StyleModule(_0x2f84a7):null,this['themeType']=_0x2af3db['themeType'];}static['define'](_0xb50fb3,_0x58fa43){return new HighlightStyle(_0xb50fb3,_0x58fa43||{});}}const highlighterFacet=Facet['define'](),fallbackHighlighter=Facet['define']({'combine':_0x4ccdbb=>_0x4ccdbb['length']?[_0x4ccdbb[0x0]]:null});function getHighlighters(_0x53ddbd){let _0x46959d=_0x53ddbd['facet'](highlighterFacet);return _0x46959d['length']?_0x46959d:_0x53ddbd['facet'](fallbackHighlighter);}function syntaxHighlighting(_0x5e0805,_0x3bd8ee){let _0x407eb6,_0x4fa4b9=[treeHighlighter];return _0x5e0805 instanceof HighlightStyle&&(_0x5e0805['module']&&_0x4fa4b9['push'](EditorView['styleModule']['of'](_0x5e0805['module'])),_0x407eb6=_0x5e0805['themeType']),(null==_0x3bd8ee?void 0x0:_0x3bd8ee['fallback'])?_0x4fa4b9['push'](fallbackHighlighter['of'](_0x5e0805)):_0x407eb6?_0x4fa4b9['push'](highlighterFacet['computeN']([EditorView['darkTheme']],_0x34bbdc=>_0x34bbdc['facet'](EditorView['darkTheme'])==('dark'==_0x407eb6)?[_0x5e0805]:[])):_0x4fa4b9['push'](highlighterFacet['of'](_0x5e0805)),_0x4fa4b9;}class TreeHighlighter{constructor(_0x20171f){this['markCache']=Object['create'](null),this['tree']=syntaxTree(_0x20171f['state']),this['decorations']=this['buildDeco'](_0x20171f,getHighlighters(_0x20171f['state'])),this['decoratedTo']=_0x20171f['viewport']['to'];}['update'](_0x4bc218){let _0x51c0de=syntaxTree(_0x4bc218['state']),_0x1995c2=getHighlighters(_0x4bc218['state']),_0x30d27a=_0x1995c2!=getHighlighters(_0x4bc218['startState']),{viewport:_0x17fff7}=_0x4bc218['view'],_0x5d68c8=_0x4bc218['changes']['mapPos'](this['decoratedTo'],0x1);_0x51c0de['length']<_0x17fff7['to']&&!_0x30d27a&&_0x51c0de['type']==this['tree']['type']&&_0x5d68c8>=_0x17fff7['to']?(this['decorations']=this['decorations']['map'](_0x4bc218['changes']),this['decoratedTo']=_0x5d68c8):(_0x51c0de!=this['tree']||_0x4bc218['viewportChanged']||_0x30d27a)&&(this['tree']=_0x51c0de,this['decorations']=this['buildDeco'](_0x4bc218['view'],_0x1995c2),this['decoratedTo']=_0x17fff7['to']);}['buildDeco'](_0x5a778a,_0x323f04){if(!_0x323f04||!this['tree']['length'])return Decoration['none'];let _0xc1b8b6=new RangeSetBuilder();for(let {from:_0x4b7829,to:_0x4bc0f4}of _0x5a778a['visibleRanges'])highlightTree(this['tree'],_0x323f04,(_0x411f92,_0x23cfd6,_0x511b19)=>{_0xc1b8b6['add'](_0x411f92,_0x23cfd6,this['markCache'][_0x511b19]||(this['markCache'][_0x511b19]=Decoration['mark']({'class':_0x511b19})));},_0x4b7829,_0x4bc0f4);return _0xc1b8b6['finish']();}}const treeHighlighter=_0x4ee962['high'](_0x19aa80['fromClass'](TreeHighlighter,{'decorations':_0x4409d0=>_0x4409d0['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'}]),_0x28e4e2=EditorView['baseTheme']({'&.cm-focused\x20.cm-matchingBracket':{'backgroundColor':'#328c8252'},'&.cm-focused\x20.cm-nonmatchingBracket':{'backgroundColor':'#bb555544'}}),DefaultScanDist=0x2710,DefaultBrackets='()[]{}',bracketMatchingConfig=Facet['define']({'combine':_0x177d04=>_0x1f6110(_0x177d04,{'afterCursor':!0x0,'brackets':DefaultBrackets,'maxScanDistance':DefaultScanDist,'renderMatch':defaultRenderMatch})}),matchingMark=Decoration['mark']({'class':'cm-matchingBracket'}),nonmatchingMark=Decoration['mark']({'class':'cm-nonmatchingBracket'});function defaultRenderMatch(_0x3819de){let _0x5281b1=[],_0x35ebae=_0x3819de['matched']?matchingMark:nonmatchingMark;return _0x5281b1['push'](_0x35ebae['range'](_0x3819de['start']['from'],_0x3819de['start']['to'])),_0x3819de['end']&&_0x5281b1['push'](_0x35ebae['range'](_0x3819de['end']['from'],_0x3819de['end']['to'])),_0x5281b1;}const bracketMatchingState=StateField['define']({'create':()=>Decoration['none'],'update'(_0x1e9b9c,_0x414d44){if(!_0x414d44['docChanged']&&!_0x414d44['selection'])return _0x1e9b9c;let _0xfe16e1=[],_0x5d900e=_0x414d44['state']['facet'](bracketMatchingConfig);for(let _0x59ea93 of _0x414d44['state']['selection']['ranges']){if(!_0x59ea93['empty'])continue;let _0x41a095=matchBrackets(_0x414d44['state'],_0x59ea93['head'],-0x1,_0x5d900e)||_0x59ea93['head']>0x0&&matchBrackets(_0x414d44['state'],_0x59ea93['head']-0x1,0x1,_0x5d900e)||_0x5d900e['afterCursor']&&(matchBrackets(_0x414d44['state'],_0x59ea93['head'],0x1,_0x5d900e)||_0x59ea93['head']<_0x414d44['state']['doc']['length']&&matchBrackets(_0x414d44['state'],_0x59ea93['head']+0x1,-0x1,_0x5d900e));_0x41a095&&(_0xfe16e1=_0xfe16e1['concat'](_0x5d900e['renderMatch'](_0x41a095,_0x414d44['state'])));}return Decoration['set'](_0xfe16e1,!0x0);},'provide':_0x2dd8c8=>EditorView['decorations']['from'](_0x2dd8c8)}),bracketMatchingUnique=[bracketMatchingState,_0x28e4e2];function bracketMatching(_0x42d296={}){return[bracketMatchingConfig['of'](_0x42d296),bracketMatchingUnique];}const bracketMatchingHandle=new _0x519268();function matchingNodes(_0x275b50,_0x3aa16a,_0x47fb14){let _0x34fa3d=_0x275b50['prop'](_0x3aa16a<0x0?_0x519268['openedBy']:_0x519268['closedBy']);if(_0x34fa3d)return _0x34fa3d;if(0x1==_0x275b50['name']['length']){let _0x31beaa=_0x47fb14['indexOf'](_0x275b50['name']);if(_0x31beaa>-0x1&&_0x31beaa%0x2==(_0x3aa16a<0x0?0x1:0x0))return[_0x47fb14[_0x31beaa+_0x3aa16a]];}return null;}function _0x5d7cee(_0x4e382f){let _0x763188=_0x4e382f['type']['prop'](bracketMatchingHandle);return _0x763188?_0x763188(_0x4e382f['node']):_0x4e382f;}function matchBrackets(_0x40e16b,_0x3613e5,_0x296c2b,_0x4dc2ad={}){let _0x20481d=_0x4dc2ad['maxScanDistance']||DefaultScanDist,_0xecd772=_0x4dc2ad['brackets']||DefaultBrackets,_0x114877=syntaxTree(_0x40e16b),_0x4d6b4c=_0x114877['resolveInner'](_0x3613e5,_0x296c2b);for(let _0x19cd31=_0x4d6b4c;_0x19cd31;_0x19cd31=_0x19cd31['parent']){let _0x53436f=matchingNodes(_0x19cd31['type'],_0x296c2b,_0xecd772);if(_0x53436f&&_0x19cd31['from']<_0x19cd31['to']){let _0xc36d3c=_0x5d7cee(_0x19cd31);if(_0xc36d3c&&(_0x296c2b>0x0?_0x3613e5>=_0xc36d3c['from']&&_0x3613e5<_0xc36d3c['to']:_0x3613e5>_0xc36d3c['from']&&_0x3613e5<=_0xc36d3c['to']))return matchMarkedBrackets(_0x40e16b,_0x3613e5,_0x296c2b,_0x19cd31,_0xc36d3c,_0x53436f,_0xecd772);}}return matchPlainBrackets(_0x40e16b,_0x3613e5,_0x296c2b,_0x114877,_0x4d6b4c['type'],_0x20481d,_0xecd772);}function matchMarkedBrackets(_0x22d197,_0x34e994,_0x3e5df2,_0x27c2a9,_0xd13f38,_0x394f29,_0x36fa1f){let _0x40dd10=_0x27c2a9['parent'],_0x20651b={'from':_0xd13f38['from'],'to':_0xd13f38['to']},_0x1553c3=0x0,_0x39965e=null==_0x40dd10?void 0x0:_0x40dd10['cursor']();if(_0x39965e&&(_0x3e5df2<0x0?_0x39965e['childBefore'](_0x27c2a9['from']):_0x39965e['childAfter'](_0x27c2a9['to'])))do{if(_0x3e5df2<0x0?_0x39965e['to']<=_0x27c2a9['from']:_0x39965e['from']>=_0x27c2a9['to']){if(0x0==_0x1553c3&&_0x394f29['indexOf'](_0x39965e['type']['name'])>-0x1&&_0x39965e['from']<_0x39965e['to']){let _0x146e36=_0x5d7cee(_0x39965e);return{'start':_0x20651b,'end':_0x146e36?{'from':_0x146e36['from'],'to':_0x146e36['to']}:void 0x0,'matched':!0x0};}if(matchingNodes(_0x39965e['type'],_0x3e5df2,_0x36fa1f))_0x1553c3++;else{if(matchingNodes(_0x39965e['type'],-_0x3e5df2,_0x36fa1f)){if(0x0==_0x1553c3){let _0x51d78d=_0x5d7cee(_0x39965e);return{'start':_0x20651b,'end':_0x51d78d&&_0x51d78d['from']<_0x51d78d['to']?{'from':_0x51d78d['from'],'to':_0x51d78d['to']}:void 0x0,'matched':!0x1};}_0x1553c3--;}}}}while(_0x3e5df2<0x0?_0x39965e['prevSibling']():_0x39965e['nextSibling']());return{'start':_0x20651b,'matched':!0x1};}function matchPlainBrackets(_0x184c6e,_0x33d522,_0x33f4b5,_0x54d562,_0x3a6480,_0x1236f6,_0x3e0d5f){let _0x1bec2a=_0x33f4b5<0x0?_0x184c6e['sliceDoc'](_0x33d522-0x1,_0x33d522):_0x184c6e['sliceDoc'](_0x33d522,_0x33d522+0x1),_0x394058=_0x3e0d5f['indexOf'](_0x1bec2a);if(_0x394058<0x0||_0x394058%0x2==0x0!=_0x33f4b5>0x0)return null;let _0x1e5744={'from':_0x33f4b5<0x0?_0x33d522-0x1:_0x33d522,'to':_0x33f4b5>0x0?_0x33d522+0x1:_0x33d522},_0x194907=_0x184c6e['doc']['iterRange'](_0x33d522,_0x33f4b5>0x0?_0x184c6e['doc']['length']:0x0),_0x4434c5=0x0;for(let _0x2e4d12=0x0;!_0x194907['next']()['done']&&_0x2e4d12<=_0x1236f6;){let _0xb118e=_0x194907['value'];_0x33f4b5<0x0&&(_0x2e4d12+=_0xb118e['length']);let _0x166fa4=_0x33d522+_0x2e4d12*_0x33f4b5;for(let _0x24bd86=_0x33f4b5>0x0?0x0:_0xb118e['length']-0x1,_0x374fed=_0x33f4b5>0x0?_0xb118e['length']:-0x1;_0x24bd86!=_0x374fed;_0x24bd86+=_0x33f4b5){let _0x4227c1=_0x3e0d5f['indexOf'](_0xb118e[_0x24bd86]);if(!(_0x4227c1<0x0||_0x54d562['resolveInner'](_0x166fa4+_0x24bd86,0x1)['type']!=_0x3a6480)){if(_0x4227c1%0x2==0x0==_0x33f4b5>0x0)_0x4434c5++;else{if(0x1==_0x4434c5)return{'start':_0x1e5744,'end':{'from':_0x166fa4+_0x24bd86,'to':_0x166fa4+_0x24bd86+0x1},'matched':_0x4227c1>>0x1==_0x394058>>0x1};_0x4434c5--;}}}_0x33f4b5>0x0&&(_0x2e4d12+=_0xb118e['length']);}return _0x194907['done']?{'start':_0x1e5744,'matched':!0x1}:null;}const _0xe13944=Object['create'](null),typeArray=[_0x23061a['none']],_0xbf7510=[],_0x36eca7=Object['create'](null),defaultTable=Object['create'](null);for(let [_0x4f07db,_0xc64763]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[_0x4f07db]=createTokenType(_0xe13944,_0xc64763);function warnForPart(_0x3d5f77,_0x51f048){_0xbf7510['indexOf'](_0x3d5f77)>-0x1||(_0xbf7510['push'](_0x3d5f77),console['warn'](_0x51f048));}function createTokenType(_0x125450,_0x4055cf){let _0xeb084c=[];for(let _0xe436f8 of _0x4055cf['split']('\x20')){let _0x14a2b1=[];for(let _0x2d3508 of _0xe436f8['split']('.')){let _0x15ae90=_0x125450[_0x2d3508]||tags$1[_0x2d3508];_0x15ae90?'function'==typeof _0x15ae90?_0x14a2b1['length']?_0x14a2b1=_0x14a2b1['map'](_0x15ae90):warnForPart(_0x2d3508,'Modifier\x20'+_0x2d3508+'\x20used\x20at\x20start\x20of\x20tag'):_0x14a2b1['length']?warnForPart(_0x2d3508,'Tag\x20'+_0x2d3508+'\x20used\x20as\x20modifier'):_0x14a2b1=Array['isArray'](_0x15ae90)?_0x15ae90:[_0x15ae90]:warnForPart(_0x2d3508,'Unknown\x20highlighting\x20tag\x20'+_0x2d3508);}for(let _0x491435 of _0x14a2b1)_0xeb084c['push'](_0x491435);}if(!_0xeb084c['length'])return 0x0;let _0x26b8c4=_0x4055cf['replace'](/ /g,'_'),_0x43e289=_0x26b8c4+'\x20'+_0xeb084c['map'](t=>t['id']),_0x184dc8=_0x36eca7[_0x43e289];if(_0x184dc8)return _0x184dc8['id'];let _0x28ff73=_0x36eca7[_0x43e289]=_0x23061a['define']({'id':typeArray['length'],'name':_0x26b8c4,'props':[styleTags({[_0x26b8c4]:_0xeb084c})]});return typeArray['push'](_0x28ff73),_0x28ff73['id'];}Direction['RTL'],Direction['LTR'];const toggleComment=_0x5d5986=>{let {state:_0x391d42}=_0x5d5986,_0x50f83f=_0x391d42['doc']['lineAt'](_0x391d42['selection']['main']['from']),_0x485d94=getConfig(_0x5d5986['state'],_0x50f83f['from']);return _0x485d94['line']?toggleLineComment(_0x5d5986):!!_0x485d94['block']&&toggleBlockCommentByLine(_0x5d5986);};function _0xc0b44c(_0x4ac74b,_0x39a8cc){return({state:_0x534a2b,dispatch:_0x206b5e})=>{if(_0x534a2b['readOnly'])return!0x1;let _0x17cfc4=_0x4ac74b(_0x39a8cc,_0x534a2b);return!!_0x17cfc4&&(_0x206b5e(_0x534a2b['update'](_0x17cfc4)),!0x0);};}const toggleLineComment=_0xc0b44c(changeLineComment,0x0),toggleBlockComment=_0xc0b44c(changeBlockComment,0x0),toggleBlockCommentByLine=_0xc0b44c((_0x4a6064,_0xc6fc20)=>changeBlockComment(_0x4a6064,_0xc6fc20,selectedLineRanges(_0xc6fc20)),0x0);function getConfig(_0x41e488,_0x837475){let _0x48c1fe=_0x41e488['languageDataAt']('commentTokens',_0x837475,0x1);return _0x48c1fe['length']?_0x48c1fe[0x0]:{};}const _0x2ae17e=0x32;function findBlockComment(_0x300f6c,{open:_0x2680ff,close:_0x1b59aa},_0x2c42fe,_0x1cc271){let _0x104a94,_0x1327bc,_0x1f585c=_0x300f6c['sliceDoc'](_0x2c42fe-_0x2ae17e,_0x2c42fe),_0x263e15=_0x300f6c['sliceDoc'](_0x1cc271,_0x1cc271+_0x2ae17e),_0x4315bd=/\s*$/['exec'](_0x1f585c)[0x0]['length'],_0xb38bba=/^\s*/['exec'](_0x263e15)[0x0]['length'],_0x187978=_0x1f585c['length']-_0x4315bd;if(_0x1f585c['slice'](_0x187978-_0x2680ff['length'],_0x187978)==_0x2680ff&&_0x263e15['slice'](_0xb38bba,_0xb38bba+_0x1b59aa['length'])==_0x1b59aa)return{'open':{'pos':_0x2c42fe-_0x4315bd,'margin':_0x4315bd&&0x1},'close':{'pos':_0x1cc271+_0xb38bba,'margin':_0xb38bba&&0x1}};_0x1cc271-_0x2c42fe<=0x2*_0x2ae17e?_0x104a94=_0x1327bc=_0x300f6c['sliceDoc'](_0x2c42fe,_0x1cc271):(_0x104a94=_0x300f6c['sliceDoc'](_0x2c42fe,_0x2c42fe+_0x2ae17e),_0x1327bc=_0x300f6c['sliceDoc'](_0x1cc271-_0x2ae17e,_0x1cc271));let _0x1f3c33=/^\s*/['exec'](_0x104a94)[0x0]['length'],_0x154c3c=/\s*$/['exec'](_0x1327bc)[0x0]['length'],_0x2c5e59=_0x1327bc['length']-_0x154c3c-_0x1b59aa['length'];return _0x104a94['slice'](_0x1f3c33,_0x1f3c33+_0x2680ff['length'])==_0x2680ff&&_0x1327bc['slice'](_0x2c5e59,_0x2c5e59+_0x1b59aa['length'])==_0x1b59aa?{'open':{'pos':_0x2c42fe+_0x1f3c33+_0x2680ff['length'],'margin':/\s/['test'](_0x104a94['charAt'](_0x1f3c33+_0x2680ff['length']))?0x1:0x0},'close':{'pos':_0x1cc271-_0x154c3c-_0x1b59aa['length'],'margin':/\s/['test'](_0x1327bc['charAt'](_0x2c5e59-0x1))?0x1:0x0}}:null;}function selectedLineRanges(_0x3415e4){let _0x3843c1=[];for(let _0x5df874 of _0x3415e4['selection']['ranges']){let _0x1df259=_0x3415e4['doc']['lineAt'](_0x5df874['from']),_0x1b7f3f=_0x5df874['to']<=_0x1df259['to']?_0x1df259:_0x3415e4['doc']['lineAt'](_0x5df874['to']);_0x1b7f3f['from']>_0x1df259['from']&&_0x1b7f3f['from']==_0x5df874['to']&&(_0x1b7f3f=_0x5df874['to']==_0x1df259['to']+0x1?_0x1df259:_0x3415e4['doc']['lineAt'](_0x5df874['to']-0x1));let _0x17b0be=_0x3843c1['length']-0x1;_0x17b0be>=0x0&&_0x3843c1[_0x17b0be]['to']>_0x1df259['from']?_0x3843c1[_0x17b0be]['to']=_0x1b7f3f['to']:_0x3843c1['push']({'from':_0x1df259['from']+/^\s*/['exec'](_0x1df259['text'])[0x0]['length'],'to':_0x1b7f3f['to']});}return _0x3843c1;}function changeBlockComment(_0x360ae5,_0x37d361,_0x203497=_0x37d361['selection']['ranges']){let _0x1dcd49=_0x203497['map'](_0x2e7459=>getConfig(_0x37d361,_0x2e7459['from'])['block']);if(!_0x1dcd49['every'](_0x11d116=>_0x11d116))return null;let _0x554e39=_0x203497['map']((_0x20462d,_0xbfd7f1)=>findBlockComment(_0x37d361,_0x1dcd49[_0xbfd7f1],_0x20462d['from'],_0x20462d['to']));if(0x2!=_0x360ae5&&!_0x554e39['every'](_0x4a7399=>_0x4a7399))return{'changes':_0x37d361['changes'](_0x203497['map']((_0x29bbfc,_0x23cc17)=>_0x554e39[_0x23cc17]?[]:[{'from':_0x29bbfc['from'],'insert':_0x1dcd49[_0x23cc17]['open']+'\x20'},{'from':_0x29bbfc['to'],'insert':'\x20'+_0x1dcd49[_0x23cc17]['close']}]))};if(0x1!=_0x360ae5&&_0x554e39['some'](_0x3d58db=>_0x3d58db)){let _0x30dc1b=[];for(let _0x3f9cb5,_0x56ca04=0x0;_0x56ca04<_0x554e39['length'];_0x56ca04++)if(_0x3f9cb5=_0x554e39[_0x56ca04]){let _0x4e27b7=_0x1dcd49[_0x56ca04],{open:_0x3bcbe6,close:_0x3aaaea}=_0x3f9cb5;_0x30dc1b['push']({'from':_0x3bcbe6['pos']-_0x4e27b7['open']['length'],'to':_0x3bcbe6['pos']+_0x3bcbe6['margin']},{'from':_0x3aaaea['pos']-_0x3aaaea['margin'],'to':_0x3aaaea['pos']+_0x4e27b7['close']['length']});}return{'changes':_0x30dc1b};}return null;}function changeLineComment(_0x4fa410,_0xb0087c,_0x3346dc=_0xb0087c['selection']['ranges']){let _0x27e2f5=[],_0x42d84d=-0x1;for(let {from:_0x16183a,to:_0x43e026}of _0x3346dc){let _0x3a2e18=_0x27e2f5['length'],_0x1c7a83=0x3b9aca00,_0x51fa5b=getConfig(_0xb0087c,_0x16183a)['line'];if(_0x51fa5b){for(let _0x254e49=_0x16183a;_0x254e49<=_0x43e026;){let _0x2a1cf1=_0xb0087c['doc']['lineAt'](_0x254e49);if(_0x2a1cf1['from']>_0x42d84d&&(_0x16183a==_0x43e026||_0x43e026>_0x2a1cf1['from'])){_0x42d84d=_0x2a1cf1['from'];let _0x4b0133=/^\s*/['exec'](_0x2a1cf1['text'])[0x0]['length'],_0x2ac433=_0x4b0133==_0x2a1cf1['length'],_0x2b5c38=_0x2a1cf1['text']['slice'](_0x4b0133,_0x4b0133+_0x51fa5b['length'])==_0x51fa5b?_0x4b0133:-0x1;_0x4b0133<_0x2a1cf1['text']['length']&&_0x4b0133<_0x1c7a83&&(_0x1c7a83=_0x4b0133),_0x27e2f5['push']({'line':_0x2a1cf1,'comment':_0x2b5c38,'token':_0x51fa5b,'indent':_0x4b0133,'empty':_0x2ac433,'single':!0x1});}_0x254e49=_0x2a1cf1['to']+0x1;}if(_0x1c7a83<0x3b9aca00){for(let _0x13c2d0=_0x3a2e18;_0x13c2d0<_0x27e2f5['length'];_0x13c2d0++)_0x27e2f5[_0x13c2d0]['indent']<_0x27e2f5[_0x13c2d0]['line']['text']['length']&&(_0x27e2f5[_0x13c2d0]['indent']=_0x1c7a83);}_0x27e2f5['length']==_0x3a2e18+0x1&&(_0x27e2f5[_0x3a2e18]['single']=!0x0);}}if(0x2!=_0x4fa410&&_0x27e2f5['some'](_0x73d4ce=>_0x73d4ce['comment']<0x0&&(!_0x73d4ce['empty']||_0x73d4ce['single']))){let _0x1f0740=[];for(let {line:_0x88555f,token:_0x162c27,indent:_0x48a2e4,empty:_0x39440e,single:_0x2c3dc8}of _0x27e2f5)!_0x2c3dc8&&_0x39440e||_0x1f0740['push']({'from':_0x88555f['from']+_0x48a2e4,'insert':_0x162c27+'\x20'});let _0x3df7e0=_0xb0087c['changes'](_0x1f0740);return{'changes':_0x3df7e0,'selection':_0xb0087c['selection']['map'](_0x3df7e0,0x1)};}if(0x1!=_0x4fa410&&_0x27e2f5['some'](_0x3cfcd8=>_0x3cfcd8['comment']>=0x0)){let _0x2b69ab=[];for(let {line:_0x2247e6,comment:_0x58c45c,token:_0x148337}of _0x27e2f5)if(_0x58c45c>=0x0){let _0x5494df=_0x2247e6['from']+_0x58c45c,_0x3dcc6b=_0x5494df+_0x148337['length'];'\x20'==_0x2247e6['text'][_0x3dcc6b-_0x2247e6['from']]&&_0x3dcc6b++,_0x2b69ab['push']({'from':_0x5494df,'to':_0x3dcc6b});}return{'changes':_0x2b69ab};}return null;}const fromHistory=Annotation['define'](),isolateHistory=Annotation['define'](),invertedEffects=Facet['define'](),historyConfig=Facet['define']({'combine':_0x31cf9e=>_0x1f6110(_0x31cf9e,{'minDepth':0x64,'newGroupDelay':0x1f4,'joinToEvent':(_0xaa1ef8,_0xad5542)=>_0xad5542},{'minDepth':Math['max'],'newGroupDelay':Math['min'],'joinToEvent':(_0x19b11d,_0xf46220)=>(_0x5ddf3a,_0x1a65af)=>_0x19b11d(_0x5ddf3a,_0x1a65af)||_0xf46220(_0x5ddf3a,_0x1a65af)})}),historyField_=StateField['define']({'create':()=>HistoryState['empty'],'update'(_0x3dee2b,_0x15394d){let _0x1b21b2=_0x15394d['state']['facet'](historyConfig),_0x4225f5=_0x15394d['annotation'](fromHistory);if(_0x4225f5){let _0x269089=HistEvent['fromTransaction'](_0x15394d,_0x4225f5['selection']),_0x1b0fa3=_0x4225f5['side'],_0x18e39d=0x0==_0x1b0fa3?_0x3dee2b['undone']:_0x3dee2b['done'];return _0x18e39d=_0x269089?updateBranch(_0x18e39d,_0x18e39d['length'],_0x1b21b2['minDepth'],_0x269089):addSelection(_0x18e39d,_0x15394d['startState']['selection']),new HistoryState(0x0==_0x1b0fa3?_0x4225f5['rest']:_0x18e39d,0x0==_0x1b0fa3?_0x18e39d:_0x4225f5['rest']);}let _0x1ea113=_0x15394d['annotation'](isolateHistory);if('full'!=_0x1ea113&&'before'!=_0x1ea113||(_0x3dee2b=_0x3dee2b['isolate']()),!0x1===_0x15394d['annotation'](Transaction['addToHistory']))return _0x15394d['changes']['empty']?_0x3dee2b:_0x3dee2b['addMapping'](_0x15394d['changes']['desc']);let _0x193156=HistEvent['fromTransaction'](_0x15394d),_0x58e0b3=_0x15394d['annotation'](Transaction['time']),_0x2ea697=_0x15394d['annotation'](Transaction['userEvent']);return _0x193156?_0x3dee2b=_0x3dee2b['addChanges'](_0x193156,_0x58e0b3,_0x2ea697,_0x1b21b2,_0x15394d):_0x15394d['selection']&&(_0x3dee2b=_0x3dee2b['addSelection'](_0x15394d['startState']['selection'],_0x58e0b3,_0x2ea697,_0x1b21b2['newGroupDelay'])),'full'!=_0x1ea113&&'after'!=_0x1ea113||(_0x3dee2b=_0x3dee2b['isolate']()),_0x3dee2b;},'toJSON':_0x5cf959=>({'done':_0x5cf959['done']['map'](_0x7386f5=>_0x7386f5['toJSON']()),'undone':_0x5cf959['undone']['map'](_0x23d7b6=>_0x23d7b6['toJSON']())}),'fromJSON':_0x2c9cb5=>new HistoryState(_0x2c9cb5['done']['map'](HistEvent['fromJSON']),_0x2c9cb5['undone']['map'](HistEvent['fromJSON']))});function history(_0x5ae558={}){return[historyField_,historyConfig['of'](_0x5ae558),EditorView['domEventHandlers']({'beforeinput'(_0x3f5bdb,_0x2d23b6){let _0x59b13f='historyUndo'==_0x3f5bdb['inputType']?_0x16cf9f:'historyRedo'==_0x3f5bdb['inputType']?_0x229db7:null;return!!_0x59b13f&&(_0x3f5bdb['preventDefault'](),_0x59b13f(_0x2d23b6));}})];}function _0x1fadb0(_0x3aa4ee,_0x516a8b){return function({state:_0x1f9988,dispatch:_0x364fb8}){if(!_0x516a8b&&_0x1f9988['readOnly'])return!0x1;let _0xe22a85=_0x1f9988['field'](historyField_,!0x1);if(!_0xe22a85)return!0x1;let _0x562db0=_0xe22a85['pop'](_0x3aa4ee,_0x1f9988,_0x516a8b);return!!_0x562db0&&(_0x364fb8(_0x562db0),!0x0);};}const _0x16cf9f=_0x1fadb0(0x0,!0x1),_0x229db7=_0x1fadb0(0x1,!0x1),undoSelection=_0x1fadb0(0x0,!0x0),redoSelection=_0x1fadb0(0x1,!0x0);class HistEvent{constructor(_0x192916,_0xc65fd9,_0x11d9ed,_0x20f9b2,_0x40699d){this['changes']=_0x192916,this['effects']=_0xc65fd9,this['mapped']=_0x11d9ed,this['startSelection']=_0x20f9b2,this['selectionsAfter']=_0x40699d;}['setSelAfter'](_0x121212){return new HistEvent(this['changes'],this['effects'],this['mapped'],this['startSelection'],_0x121212);}['toJSON'](){var _0x4193f5,_0x2ba81a,_0x11f077;return{'changes':null===(_0x4193f5=this['changes'])||void 0x0===_0x4193f5?void 0x0:_0x4193f5['toJSON'](),'mapped':null===(_0x2ba81a=this['mapped'])||void 0x0===_0x2ba81a?void 0x0:_0x2ba81a['toJSON'](),'startSelection':null===(_0x11f077=this['startSelection'])||void 0x0===_0x11f077?void 0x0:_0x11f077['toJSON'](),'selectionsAfter':this['selectionsAfter']['map'](_0x4394c0=>_0x4394c0['toJSON']())};}static['fromJSON'](_0x3df3d8){return new HistEvent(_0x3df3d8['changes']&&ChangeSet['fromJSON'](_0x3df3d8['changes']),[],_0x3df3d8['mapped']&&_0x4a9b75['fromJSON'](_0x3df3d8['mapped']),_0x3df3d8['startSelection']&&EditorSelection['fromJSON'](_0x3df3d8['startSelection']),_0x3df3d8['selectionsAfter']['map'](EditorSelection['fromJSON']));}static['fromTransaction'](_0x80c155,_0x4b5b9f){let _0x699f5a=_0x455197;for(let _0x10dfa8 of _0x80c155['startState']['facet'](invertedEffects)){let _0x4c73bb=_0x10dfa8(_0x80c155);_0x4c73bb['length']&&(_0x699f5a=_0x699f5a['concat'](_0x4c73bb));}return!_0x699f5a['length']&&_0x80c155['changes']['empty']?null:new HistEvent(_0x80c155['changes']['invert'](_0x80c155['startState']['doc']),_0x699f5a,void 0x0,_0x4b5b9f||_0x80c155['startState']['selection'],_0x455197);}static['selection'](_0x192749){return new HistEvent(void 0x0,_0x455197,void 0x0,void 0x0,_0x192749);}}function updateBranch(_0x85c323,_0x1c85e6,_0x54189c,_0x33248b){let _0x4493fb=_0x1c85e6+0x1>_0x54189c+0x14?_0x1c85e6-_0x54189c-0x1:0x0,_0x1cb5b0=_0x85c323['slice'](_0x4493fb,_0x1c85e6);return _0x1cb5b0['push'](_0x33248b),_0x1cb5b0;}function isAdjacent(_0x417672,_0x27d8d8){let _0x5ceb2d=[],_0x3fa17c=!0x1;return _0x417672['iterChangedRanges']((_0x323540,t)=>_0x5ceb2d['push'](_0x323540,t)),_0x27d8d8['iterChangedRanges']((_0x117c16,_0x27107f,_0x208efc,t)=>{for(let _0x41a2c6=0x0;_0x41a2c6<_0x5ceb2d['length'];){let _0x152906=_0x5ceb2d[_0x41a2c6++],_0x4bae30=_0x5ceb2d[_0x41a2c6++];t>=_0x152906&&_0x208efc<=_0x4bae30&&(_0x3fa17c=!0x0);}}),_0x3fa17c;}function eqSelectionShape(_0x5e8dc8,_0x751437){return _0x5e8dc8['ranges']['length']==_0x751437['ranges']['length']&&0x0===_0x5e8dc8['ranges']['filter']((_0x56390d,_0x404005)=>_0x56390d['empty']!=_0x751437['ranges'][_0x404005]['empty'])['length'];}function _0x4b4744(_0x122a1b,_0x548b19){return _0x122a1b['length']?_0x548b19['length']?_0x122a1b['concat'](_0x548b19):_0x122a1b:_0x548b19;}const _0x455197=[],MaxSelectionsPerEvent=0xc8;function addSelection(_0x334566,_0x2b2bb0){if(_0x334566['length']){let _0x22d562=_0x334566[_0x334566['length']-0x1],_0xee5147=_0x22d562['selectionsAfter']['slice'](Math['max'](0x0,_0x22d562['selectionsAfter']['length']-MaxSelectionsPerEvent));return _0xee5147['length']&&_0xee5147[_0xee5147['length']-0x1]['eq'](_0x2b2bb0)?_0x334566:(_0xee5147['push'](_0x2b2bb0),updateBranch(_0x334566,_0x334566['length']-0x1,0x3b9aca00,_0x22d562['setSelAfter'](_0xee5147)));}return[HistEvent['selection']([_0x2b2bb0])];}function popSelection(_0x40fadd){let _0x218b9b=_0x40fadd[_0x40fadd['length']-0x1],_0x489d51=_0x40fadd['slice']();return _0x489d51[_0x40fadd['length']-0x1]=_0x218b9b['setSelAfter'](_0x218b9b['selectionsAfter']['slice'](0x0,_0x218b9b['selectionsAfter']['length']-0x1)),_0x489d51;}function _0x38e8e4(_0x37d3fd,_0x17bb20){if(!_0x37d3fd['length'])return _0x37d3fd;let _0x5bbf5c=_0x37d3fd['length'],_0x5d3535=_0x455197;for(;_0x5bbf5c;){let _0x50304c=mapEvent(_0x37d3fd[_0x5bbf5c-0x1],_0x17bb20,_0x5d3535);if(_0x50304c['changes']&&!_0x50304c['changes']['empty']||_0x50304c['effects']['length']){let _0x1c4a87=_0x37d3fd['slice'](0x0,_0x5bbf5c);return _0x1c4a87[_0x5bbf5c-0x1]=_0x50304c,_0x1c4a87;}_0x17bb20=_0x50304c['mapped'],_0x5bbf5c--,_0x5d3535=_0x50304c['selectionsAfter'];}return _0x5d3535['length']?[HistEvent['selection'](_0x5d3535)]:_0x455197;}function mapEvent(_0x56a683,_0x3d0073,_0xc60c52){let _0x468a57=_0x4b4744(_0x56a683['selectionsAfter']['length']?_0x56a683['selectionsAfter']['map'](_0x817e53=>_0x817e53['map'](_0x3d0073)):_0x455197,_0xc60c52);if(!_0x56a683['changes'])return HistEvent['selection'](_0x468a57);let _0x1d7374=_0x56a683['changes']['map'](_0x3d0073),_0x41bb76=_0x3d0073['mapDesc'](_0x56a683['changes'],!0x0),_0x4c1436=_0x56a683['mapped']?_0x56a683['mapped']['composeDesc'](_0x41bb76):_0x41bb76;return new HistEvent(_0x1d7374,StateEffect['mapEffects'](_0x56a683['effects'],_0x3d0073),_0x4c1436,_0x56a683['startSelection']['map'](_0x41bb76),_0x468a57);}const joinableUserEvent=/^(input\.type|delete)($|\.)/;class HistoryState{constructor(_0x2eae3b,_0x4f7cf5,_0x283e1d=0x0,_0x102219=void 0x0){this['done']=_0x2eae3b,this['undone']=_0x4f7cf5,this['prevTime']=_0x283e1d,this['prevUserEvent']=_0x102219;}['isolate'](){return this['prevTime']?new HistoryState(this['done'],this['undone']):this;}['addChanges'](_0x4dbc01,_0x54bbd2,_0x7572b0,_0x30b9bb,_0x48d53e){let _0x404077=this['done'],_0x14f838=_0x404077[_0x404077['length']-0x1];return _0x404077=_0x14f838&&_0x14f838['changes']&&!_0x14f838['changes']['empty']&&_0x4dbc01['changes']&&(!_0x7572b0||joinableUserEvent['test'](_0x7572b0))&&(!_0x14f838['selectionsAfter']['length']&&_0x54bbd2-this['prevTime']<_0x30b9bb['newGroupDelay']&&_0x30b9bb['joinToEvent'](_0x48d53e,isAdjacent(_0x14f838['changes'],_0x4dbc01['changes']))||'input.type.compose'==_0x7572b0)?updateBranch(_0x404077,_0x404077['length']-0x1,_0x30b9bb['minDepth'],new HistEvent(_0x4dbc01['changes']['compose'](_0x14f838['changes']),_0x4b4744(StateEffect['mapEffects'](_0x4dbc01['effects'],_0x14f838['changes']),_0x14f838['effects']),_0x14f838['mapped'],_0x14f838['startSelection'],_0x455197)):updateBranch(_0x404077,_0x404077['length'],_0x30b9bb['minDepth'],_0x4dbc01),new HistoryState(_0x404077,_0x455197,_0x54bbd2,_0x7572b0);}['addSelection'](_0x363830,_0x1a66a0,_0x5d389e,_0x470659){let _0x42b661=this['done']['length']?this['done'][this['done']['length']-0x1]['selectionsAfter']:_0x455197;return _0x42b661['length']>0x0&&_0x1a66a0-this['prevTime']<_0x470659&&_0x5d389e==this['prevUserEvent']&&_0x5d389e&&/^select($|\.)/['test'](_0x5d389e)&&eqSelectionShape(_0x42b661[_0x42b661['length']-0x1],_0x363830)?this:new HistoryState(addSelection(this['done'],_0x363830),this['undone'],_0x1a66a0,_0x5d389e);}['addMapping'](_0x5598c5){return new HistoryState(_0x38e8e4(this['done'],_0x5598c5),_0x38e8e4(this['undone'],_0x5598c5),this['prevTime'],this['prevUserEvent']);}['pop'](_0x4700a8,_0x127658,_0x21296e){let _0x171c45=0x0==_0x4700a8?this['done']:this['undone'];if(0x0==_0x171c45['length'])return null;let _0x5eb102=_0x171c45[_0x171c45['length']-0x1],_0x408516=_0x5eb102['selectionsAfter'][0x0]||_0x127658['selection'];if(_0x21296e&&_0x5eb102['selectionsAfter']['length'])return _0x127658['update']({'selection':_0x5eb102['selectionsAfter'][_0x5eb102['selectionsAfter']['length']-0x1],'annotations':fromHistory['of']({'side':_0x4700a8,'rest':popSelection(_0x171c45),'selection':_0x408516}),'userEvent':0x0==_0x4700a8?'select.undo':'select.redo','scrollIntoView':!0x0});if(_0x5eb102['changes']){let _0x327ade=0x1==_0x171c45['length']?_0x455197:_0x171c45['slice'](0x0,_0x171c45['length']-0x1);return _0x5eb102['mapped']&&(_0x327ade=_0x38e8e4(_0x327ade,_0x5eb102['mapped'])),_0x127658['update']({'changes':_0x5eb102['changes'],'selection':_0x5eb102['startSelection'],'effects':_0x5eb102['effects'],'annotations':fromHistory['of']({'side':_0x4700a8,'rest':_0x327ade,'selection':_0x408516}),'filter':!0x1,'userEvent':0x0==_0x4700a8?'undo':'redo','scrollIntoView':!0x0});}return null;}}HistoryState['empty']=new HistoryState(_0x455197,_0x455197);const historyKeymap=[{'key':'Mod-z','run':_0x16cf9f,'preventDefault':!0x0},{'key':'Mod-y','mac':'Mod-Shift-z','run':_0x229db7,'preventDefault':!0x0},{'linux':'Ctrl-Shift-z','run':_0x229db7,'preventDefault':!0x0},{'key':'Mod-u','run':undoSelection,'preventDefault':!0x0},{'key':'Alt-u','mac':'Mod-Shift-u','run':redoSelection,'preventDefault':!0x0}];function updateSel(_0x1b03ab,_0x44d0dd){return EditorSelection['create'](_0x1b03ab['ranges']['map'](_0x44d0dd),_0x1b03ab['mainIndex']);}function setSel(_0x5ef4f9,_0x994fd6){return _0x5ef4f9['update']({'selection':_0x994fd6,'scrollIntoView':!0x0,'userEvent':'select'});}function _0x19a333({state:_0x9192a8,dispatch:_0x2dc1d4},_0x4cdc02){let _0xdc5cc2=updateSel(_0x9192a8['selection'],_0x4cdc02);return!_0xdc5cc2['eq'](_0x9192a8['selection'],!0x0)&&(_0x2dc1d4(setSel(_0x9192a8,_0xdc5cc2)),!0x0);}function _0x340425(_0xb2279e,_0x2ec8e3){return EditorSelection['cursor'](_0x2ec8e3?_0xb2279e['to']:_0xb2279e['from']);}function _0x47e42a(_0x113801,_0x41a376){return _0x19a333(_0x113801,_0x19a16f=>_0x19a16f['empty']?_0x113801['moveByChar'](_0x19a16f,_0x41a376):_0x340425(_0x19a16f,_0x41a376));}function ltrAtCursor(_0x15d2d4){return _0x15d2d4['textDirectionAt'](_0x15d2d4['state']['selection']['main']['head'])==Direction['LTR'];}const cursorCharLeft=_0x3935da=>_0x47e42a(_0x3935da,!ltrAtCursor(_0x3935da)),cursorCharRight=_0x273aad=>_0x47e42a(_0x273aad,ltrAtCursor(_0x273aad));function _0x304e7f(_0x145d61,_0x316016){return _0x19a333(_0x145d61,_0x19a793=>_0x19a793['empty']?_0x145d61['moveByGroup'](_0x19a793,_0x316016):_0x340425(_0x19a793,_0x316016));}const cursorGroupLeft=_0x49ca14=>_0x304e7f(_0x49ca14,!ltrAtCursor(_0x49ca14)),cursorGroupRight=_0x4c19bd=>_0x304e7f(_0x4c19bd,ltrAtCursor(_0x4c19bd));function interestingNode(_0x2bbb59,_0x29076d,_0x1020ec){if(_0x29076d['type']['prop'](_0x1020ec))return!0x0;let _0x2cd773=_0x29076d['to']-_0x29076d['from'];return _0x2cd773&&(_0x2cd773>0x2||/[^\s,.;:]/['test'](_0x2bbb59['sliceDoc'](_0x29076d['from'],_0x29076d['to'])))||_0x29076d['firstChild'];}function moveBySyntax(_0x11a6f,_0x5d8854,_0x104965){let _0x2795c3,_0x4f6a12,_0x4369c6=syntaxTree(_0x11a6f)['resolveInner'](_0x5d8854['head']),_0x2ed89f=_0x104965?_0x519268['closedBy']:_0x519268['openedBy'];for(let _0xd08f4e=_0x5d8854['head'];;){let _0x9b1ba3=_0x104965?_0x4369c6['childAfter'](_0xd08f4e):_0x4369c6['childBefore'](_0xd08f4e);if(!_0x9b1ba3)break;interestingNode(_0x11a6f,_0x9b1ba3,_0x2ed89f)?_0x4369c6=_0x9b1ba3:_0xd08f4e=_0x104965?_0x9b1ba3['to']:_0x9b1ba3['from'];}return _0x4f6a12=_0x4369c6['type']['prop'](_0x2ed89f)&&(_0x2795c3=_0x104965?matchBrackets(_0x11a6f,_0x4369c6['from'],0x1):matchBrackets(_0x11a6f,_0x4369c6['to'],-0x1))&&_0x2795c3['matched']?_0x104965?_0x2795c3['end']['to']:_0x2795c3['end']['from']:_0x104965?_0x4369c6['to']:_0x4369c6['from'],EditorSelection['cursor'](_0x4f6a12,_0x104965?-0x1:0x1);}const cursorSyntaxLeft=_0x3aaeb4=>_0x19a333(_0x3aaeb4,_0x122c02=>moveBySyntax(_0x3aaeb4['state'],_0x122c02,!ltrAtCursor(_0x3aaeb4))),cursorSyntaxRight=_0x32eb9f=>_0x19a333(_0x32eb9f,_0x461bcc=>moveBySyntax(_0x32eb9f['state'],_0x461bcc,ltrAtCursor(_0x32eb9f)));function _0x2c8be7(_0x3c8b5d,_0x4dcdc0){return _0x19a333(_0x3c8b5d,_0x560012=>{if(!_0x560012['empty'])return _0x340425(_0x560012,_0x4dcdc0);let _0x5e2adc=_0x3c8b5d['moveVertically'](_0x560012,_0x4dcdc0);return _0x5e2adc['head']!=_0x560012['head']?_0x5e2adc:_0x3c8b5d['moveToLineBoundary'](_0x560012,_0x4dcdc0);});}const _0x4189c9=_0x2d036=>_0x2c8be7(_0x2d036,!0x1),_0x653ac0=_0x219fa7=>_0x2c8be7(_0x219fa7,!0x0);function _0x4c2d39(_0x2d7edd){let _0x46a099,_0x304e84=_0x2d7edd['scrollDOM']['clientHeight']<_0x2d7edd['scrollDOM']['scrollHeight']-0x2,_0x2bcf42=0x0,_0x35f41e=0x0;if(_0x304e84){for(let _0xfd3e4 of _0x2d7edd['state']['facet'](EditorView['scrollMargins'])){let _0x25d2d9=_0xfd3e4(_0x2d7edd);(null==_0x25d2d9?void 0x0:_0x25d2d9['top'])&&(_0x2bcf42=Math['max'](null==_0x25d2d9?void 0x0:_0x25d2d9['top'],_0x2bcf42)),(null==_0x25d2d9?void 0x0:_0x25d2d9['bottom'])&&(_0x35f41e=Math['max'](null==_0x25d2d9?void 0x0:_0x25d2d9['bottom'],_0x35f41e));}_0x46a099=_0x2d7edd['scrollDOM']['clientHeight']-_0x2bcf42-_0x35f41e;}else _0x46a099=(_0x2d7edd['dom']['ownerDocument']['defaultView']||window)['innerHeight'];return{'marginTop':_0x2bcf42,'marginBottom':_0x35f41e,'selfScroll':_0x304e84,'height':Math['max'](_0x2d7edd['defaultLineHeight'],_0x46a099-0x5)};}function _0x2b213b(_0x3758d7,_0x278c9b){let _0x59f18b,_0x50910d=_0x4c2d39(_0x3758d7),{state:_0x244601}=_0x3758d7,_0x217c41=updateSel(_0x244601['selection'],_0x24341c=>_0x24341c['empty']?_0x3758d7['moveVertically'](_0x24341c,_0x278c9b,_0x50910d['height']):_0x340425(_0x24341c,_0x278c9b));if(_0x217c41['eq'](_0x244601['selection']))return!0x1;if(_0x50910d['selfScroll']){let _0x2952d4=_0x3758d7['coordsAtPos'](_0x244601['selection']['main']['head']),_0x98ef13=_0x3758d7['scrollDOM']['getBoundingClientRect'](),_0x127f48=_0x98ef13['top']+_0x50910d['marginTop'],_0xc12e98=_0x98ef13['bottom']-_0x50910d['marginBottom'];_0x2952d4&&_0x2952d4['top']>_0x127f48&&_0x2952d4['bottom']<_0xc12e98&&(_0x59f18b=EditorView['scrollIntoView'](_0x217c41['main']['head'],{'y':'start','yMargin':_0x2952d4['top']-_0x127f48}));}return _0x3758d7['dispatch'](setSel(_0x244601,_0x217c41),{'effects':_0x59f18b}),!0x0;}const _0x24e764=_0x62e0d2=>_0x2b213b(_0x62e0d2,!0x1),_0x6bb86f=_0x518983=>_0x2b213b(_0x518983,!0x0);function _0x59175f(_0x2b2dfb,_0x3e5755,_0x4832ee){let _0x15d638=_0x2b2dfb['lineBlockAt'](_0x3e5755['head']),_0x3ba5d1=_0x2b2dfb['moveToLineBoundary'](_0x3e5755,_0x4832ee);if(_0x3ba5d1['head']==_0x3e5755['head']&&_0x3ba5d1['head']!=(_0x4832ee?_0x15d638['to']:_0x15d638['from'])&&(_0x3ba5d1=_0x2b2dfb['moveToLineBoundary'](_0x3e5755,_0x4832ee,!0x1)),!_0x4832ee&&_0x3ba5d1['head']==_0x15d638['from']&&_0x15d638['length']){let _0x1c97df=/^\s*/['exec'](_0x2b2dfb['state']['sliceDoc'](_0x15d638['from'],Math['min'](_0x15d638['from']+0x64,_0x15d638['to'])))[0x0]['length'];_0x1c97df&&_0x3e5755['head']!=_0x15d638['from']+_0x1c97df&&(_0x3ba5d1=EditorSelection['cursor'](_0x15d638['from']+_0x1c97df));}return _0x3ba5d1;}const _0x4363cc=_0x26652e=>_0x19a333(_0x26652e,_0xf5956c=>_0x59175f(_0x26652e,_0xf5956c,!0x0)),_0x3011c8=_0x2985e7=>_0x19a333(_0x2985e7,_0x2569bc=>_0x59175f(_0x2985e7,_0x2569bc,!0x1)),cursorLineBoundaryLeft=_0x6e5a75=>_0x19a333(_0x6e5a75,_0xb2e8c=>_0x59175f(_0x6e5a75,_0xb2e8c,!ltrAtCursor(_0x6e5a75))),cursorLineBoundaryRight=_0x52ce99=>_0x19a333(_0x52ce99,_0x1577aa=>_0x59175f(_0x52ce99,_0x1577aa,ltrAtCursor(_0x52ce99))),cursorLineStart=_0x3bc2cb=>_0x19a333(_0x3bc2cb,_0x55a217=>EditorSelection['cursor'](_0x3bc2cb['lineBlockAt'](_0x55a217['head'])['from'],0x1)),_0x4b2b1b=_0x17a81f=>_0x19a333(_0x17a81f,_0x484a6b=>EditorSelection['cursor'](_0x17a81f['lineBlockAt'](_0x484a6b['head'])['to'],-0x1));function toMatchingBracket(_0x3c8282,_0x1bab9b,_0x14fda4){let _0x38064a=!0x1,_0x19c0c1=updateSel(_0x3c8282['selection'],_0x390dd5=>{let _0x4085f5=matchBrackets(_0x3c8282,_0x390dd5['head'],-0x1)||matchBrackets(_0x3c8282,_0x390dd5['head'],0x1)||_0x390dd5['head']>0x0&&matchBrackets(_0x3c8282,_0x390dd5['head']-0x1,0x1)||_0x390dd5['head']<_0x3c8282['doc']['length']&&matchBrackets(_0x3c8282,_0x390dd5['head']+0x1,-0x1);if(!_0x4085f5||!_0x4085f5['end'])return _0x390dd5;_0x38064a=!0x0;let _0x24bc51=_0x4085f5['start']['from']==_0x390dd5['head']?_0x4085f5['end']['to']:_0x4085f5['end']['from'];return EditorSelection['cursor'](_0x24bc51);});return!!_0x38064a&&(_0x1bab9b(setSel(_0x3c8282,_0x19c0c1)),!0x0);}const cursorMatchingBracket=({state:_0x40db39,dispatch:_0x2db9f5})=>toMatchingBracket(_0x40db39,_0x2db9f5);function extendSel(_0x95f690,_0x1256a6){let _0x22ce1f=updateSel(_0x95f690['state']['selection'],_0x2b6f87=>{let _0xad2ae7=_0x1256a6(_0x2b6f87);return EditorSelection['range'](_0x2b6f87['anchor'],_0xad2ae7['head'],_0xad2ae7['goalColumn'],_0xad2ae7['bidiLevel']||void 0x0);});return!_0x22ce1f['eq'](_0x95f690['state']['selection'])&&(_0x95f690['dispatch'](setSel(_0x95f690['state'],_0x22ce1f)),!0x0);}function selectByChar(_0x420281,_0x20a13e){return extendSel(_0x420281,_0x503064=>_0x420281['moveByChar'](_0x503064,_0x20a13e));}const selectCharLeft=_0x23a3eb=>selectByChar(_0x23a3eb,!ltrAtCursor(_0x23a3eb)),selectCharRight=_0x14dcd7=>selectByChar(_0x14dcd7,ltrAtCursor(_0x14dcd7));function selectByGroup(_0x333122,_0x527b97){return extendSel(_0x333122,_0x265daf=>_0x333122['moveByGroup'](_0x265daf,_0x527b97));}const selectGroupLeft=_0x17515f=>selectByGroup(_0x17515f,!ltrAtCursor(_0x17515f)),selectGroupRight=_0x5b7e27=>selectByGroup(_0x5b7e27,ltrAtCursor(_0x5b7e27)),selectSyntaxLeft=_0x42c9f4=>extendSel(_0x42c9f4,_0x5e7a9d=>moveBySyntax(_0x42c9f4['state'],_0x5e7a9d,!ltrAtCursor(_0x42c9f4))),selectSyntaxRight=_0x146452=>extendSel(_0x146452,_0x2a7906=>moveBySyntax(_0x146452['state'],_0x2a7906,ltrAtCursor(_0x146452)));function selectByLine(_0x48dc71,_0x3382db){return extendSel(_0x48dc71,_0x2237fc=>_0x48dc71['moveVertically'](_0x2237fc,_0x3382db));}const selectLineUp=_0x5515d6=>selectByLine(_0x5515d6,!0x1),selectLineDown=_0xf49786=>selectByLine(_0xf49786,!0x0);function selectByPage(_0x17ac49,_0x39dd19){return extendSel(_0x17ac49,_0x1ea86f=>_0x17ac49['moveVertically'](_0x1ea86f,_0x39dd19,_0x4c2d39(_0x17ac49)['height']));}const selectPageUp=_0x3cf64b=>selectByPage(_0x3cf64b,!0x1),selectPageDown=_0x307132=>selectByPage(_0x307132,!0x0),selectLineBoundaryForward=_0x40d652=>extendSel(_0x40d652,_0x1b0f49=>_0x59175f(_0x40d652,_0x1b0f49,!0x0)),selectLineBoundaryBackward=_0x4d706e=>extendSel(_0x4d706e,_0x402aab=>_0x59175f(_0x4d706e,_0x402aab,!0x1)),selectLineBoundaryLeft=_0xe79db0=>extendSel(_0xe79db0,_0x5460d4=>_0x59175f(_0xe79db0,_0x5460d4,!ltrAtCursor(_0xe79db0))),selectLineBoundaryRight=_0x21d94d=>extendSel(_0x21d94d,_0x1d2d6d=>_0x59175f(_0x21d94d,_0x1d2d6d,ltrAtCursor(_0x21d94d))),selectLineStart=_0x242510=>extendSel(_0x242510,_0xc0165a=>EditorSelection['cursor'](_0x242510['lineBlockAt'](_0xc0165a['head'])['from'])),selectLineEnd=_0x3e0bcb=>extendSel(_0x3e0bcb,_0x20d651=>EditorSelection['cursor'](_0x3e0bcb['lineBlockAt'](_0x20d651['head'])['to'])),cursorDocStart=({state:_0x452ca1,dispatch:_0x200650})=>(_0x200650(setSel(_0x452ca1,{'anchor':0x0})),!0x0),_0x27246e=({state:_0x1f500b,dispatch:_0x233a37})=>(_0x233a37(setSel(_0x1f500b,{'anchor':_0x1f500b['doc']['length']})),!0x0),selectDocStart=({state:_0x556f7f,dispatch:_0x2d2375})=>(_0x2d2375(setSel(_0x556f7f,{'anchor':_0x556f7f['selection']['main']['anchor'],'head':0x0})),!0x0),selectDocEnd=({state:_0x2cb2c6,dispatch:_0x43d972})=>(_0x43d972(setSel(_0x2cb2c6,{'anchor':_0x2cb2c6['selection']['main']['anchor'],'head':_0x2cb2c6['doc']['length']})),!0x0),selectAll=({state:_0x46a863,dispatch:_0x6d5599})=>(_0x6d5599(_0x46a863['update']({'selection':{'anchor':0x0,'head':_0x46a863['doc']['length']},'userEvent':'select'})),!0x0),selectLine=({state:_0x229628,dispatch:_0x401c2f})=>{let _0x42531b=selectedLineBlocks(_0x229628)['map'](({from:_0x24b5a8,to:_0x5b0a96})=>EditorSelection['range'](_0x24b5a8,Math['min'](_0x5b0a96+0x1,_0x229628['doc']['length'])));return _0x401c2f(_0x229628['update']({'selection':EditorSelection['create'](_0x42531b),'userEvent':'select'})),!0x0;},selectParentSyntax=({state:_0x1e9c6e,dispatch:_0x370db6})=>{let _0x33d279=updateSel(_0x1e9c6e['selection'],_0x3aacba=>{let _0x41d993=syntaxTree(_0x1e9c6e),_0x1d387c=_0x41d993['resolveStack'](_0x3aacba['from'],0x1);if(_0x3aacba['empty']){let _0x2987ad=_0x41d993['resolveStack'](_0x3aacba['from'],-0x1);_0x2987ad['node']['from']>=_0x1d387c['node']['from']&&_0x2987ad['node']['to']<=_0x1d387c['node']['to']&&(_0x1d387c=_0x2987ad);}for(let _0xb671db=_0x1d387c;_0xb671db;_0xb671db=_0xb671db['next']){let {node:_0x22041a}=_0xb671db;if((_0x22041a['from']<_0x3aacba['from']&&_0x22041a['to']>=_0x3aacba['to']||_0x22041a['to']>_0x3aacba['to']&&_0x22041a['from']<=_0x3aacba['from'])&&_0xb671db['next'])return EditorSelection['range'](_0x22041a['to'],_0x22041a['from']);}return _0x3aacba;});return!_0x33d279['eq'](_0x1e9c6e['selection'])&&(_0x370db6(setSel(_0x1e9c6e,_0x33d279)),!0x0);},simplifySelection=({state:_0x5bc4d3,dispatch:_0x1297aa})=>{let _0x2f6700=_0x5bc4d3['selection'],_0x2881d0=null;return _0x2f6700['ranges']['length']>0x1?_0x2881d0=EditorSelection['create']([_0x2f6700['main']]):_0x2f6700['main']['empty']||(_0x2881d0=EditorSelection['create']([EditorSelection['cursor'](_0x2f6700['main']['head'])])),!!_0x2881d0&&(_0x1297aa(setSel(_0x5bc4d3,_0x2881d0)),!0x0);};function deleteBy(_0x55eebb,_0x151f36){if(_0x55eebb['state']['readOnly'])return!0x1;let _0x4402e8='delete.selection',{state:_0x5a0188}=_0x55eebb,_0x38ef6c=_0x5a0188['changeByRange'](_0x570887=>{let {from:_0x29419c,to:_0xf9f893}=_0x570887;if(_0x29419c==_0xf9f893){let _0x2436c4=_0x151f36(_0x570887);_0x2436c4<_0x29419c?(_0x4402e8='delete.backward',_0x2436c4=skipAtomic(_0x55eebb,_0x2436c4,!0x1)):_0x2436c4>_0x29419c&&(_0x4402e8='delete.forward',_0x2436c4=skipAtomic(_0x55eebb,_0x2436c4,!0x0)),_0x29419c=Math['min'](_0x29419c,_0x2436c4),_0xf9f893=Math['max'](_0xf9f893,_0x2436c4);}else _0x29419c=skipAtomic(_0x55eebb,_0x29419c,!0x1),_0xf9f893=skipAtomic(_0x55eebb,_0xf9f893,!0x0);return _0x29419c==_0xf9f893?{'range':_0x570887}:{'changes':{'from':_0x29419c,'to':_0xf9f893},'range':EditorSelection['cursor'](_0x29419c,_0x29419c<_0x570887['head']?-0x1:0x1)};});return!_0x38ef6c['changes']['empty']&&(_0x55eebb['dispatch'](_0x5a0188['update'](_0x38ef6c,{'scrollIntoView':!0x0,'userEvent':_0x4402e8,'effects':'delete.selection'==_0x4402e8?EditorView['announce']['of'](_0x5a0188['phrase']('Selection\x20deleted')):void 0x0})),!0x0);}function skipAtomic(_0x1abd63,_0x1ad272,_0x36667f){if(_0x1abd63 instanceof EditorView){for(let _0x54ab41 of _0x1abd63['state']['facet'](EditorView['atomicRanges'])['map'](_0x1607dd=>_0x1607dd(_0x1abd63)))_0x54ab41['between'](_0x1ad272,_0x1ad272,(_0x521433,_0x32b3f0)=>{_0x521433<_0x1ad272&&_0x32b3f0>_0x1ad272&&(_0x1ad272=_0x36667f?_0x32b3f0:_0x521433);});}return _0x1ad272;}const deleteByChar=(_0x402f17,_0x5f1d1a,_0x508556)=>deleteBy(_0x402f17,_0x1b35f3=>{let _0x5df5a4,_0x22fcca,_0xb8bb39=_0x1b35f3['from'],{state:_0x1c0b30}=_0x402f17,_0x12e9af=_0x1c0b30['doc']['lineAt'](_0xb8bb39);if(_0x508556&&!_0x5f1d1a&&_0xb8bb39>_0x12e9af['from']&&_0xb8bb39<_0x12e9af['from']+0xc8&&!/[^ \t]/['test'](_0x5df5a4=_0x12e9af['text']['slice'](0x0,_0xb8bb39-_0x12e9af['from']))){if('\x09'==_0x5df5a4[_0x5df5a4['length']-0x1])return _0xb8bb39-0x1;let _0x2e9998=countColumn(_0x5df5a4,_0x1c0b30['tabSize'])%getIndentUnit(_0x1c0b30)||getIndentUnit(_0x1c0b30);for(let _0x4647f8=0x0;_0x4647f8<_0x2e9998&&'\x20'==_0x5df5a4[_0x5df5a4['length']-0x1-_0x4647f8];_0x4647f8++)_0xb8bb39--;_0x22fcca=_0xb8bb39;}else _0x22fcca=findClusterBreak(_0x12e9af['text'],_0xb8bb39-_0x12e9af['from'],_0x5f1d1a,_0x5f1d1a)+_0x12e9af['from'],_0x22fcca==_0xb8bb39&&_0x12e9af['number']!=(_0x5f1d1a?_0x1c0b30['doc']['lines']:0x1)?_0x22fcca+=_0x5f1d1a?0x1:-0x1:!_0x5f1d1a&&/[\ufe00-\ufe0f]/['test'](_0x12e9af['text']['slice'](_0x22fcca-_0x12e9af['from'],_0xb8bb39-_0x12e9af['from']))&&(_0x22fcca=findClusterBreak(_0x12e9af['text'],_0x22fcca-_0x12e9af['from'],!0x1,!0x1)+_0x12e9af['from']);return _0x22fcca;}),deleteCharBackward=_0x18d057=>deleteByChar(_0x18d057,!0x1,!0x0),deleteCharForward=_0x2b041a=>deleteByChar(_0x2b041a,!0x0,!0x1),deleteByGroup=(_0x3b5e2d,_0x4f7bc5)=>deleteBy(_0x3b5e2d,_0x433eea=>{let _0x5ef02a=_0x433eea['head'],{state:_0x2c3aed}=_0x3b5e2d,_0x17e9d8=_0x2c3aed['doc']['lineAt'](_0x5ef02a),_0x2498ad=_0x2c3aed['charCategorizer'](_0x5ef02a);for(let _0x5a0b01=null;;){if(_0x5ef02a==(_0x4f7bc5?_0x17e9d8['to']:_0x17e9d8['from'])){_0x5ef02a==_0x433eea['head']&&_0x17e9d8['number']!=(_0x4f7bc5?_0x2c3aed['doc']['lines']:0x1)&&(_0x5ef02a+=_0x4f7bc5?0x1:-0x1);break;}let _0x3445c8=findClusterBreak(_0x17e9d8['text'],_0x5ef02a-_0x17e9d8['from'],_0x4f7bc5)+_0x17e9d8['from'],_0xe7eedb=_0x17e9d8['text']['slice'](Math['min'](_0x5ef02a,_0x3445c8)-_0x17e9d8['from'],Math['max'](_0x5ef02a,_0x3445c8)-_0x17e9d8['from']),_0x16567a=_0x2498ad(_0xe7eedb);if(null!=_0x5a0b01&&_0x16567a!=_0x5a0b01)break;'\x20'==_0xe7eedb&&_0x5ef02a==_0x433eea['head']||(_0x5a0b01=_0x16567a),_0x5ef02a=_0x3445c8;}return _0x5ef02a;}),deleteGroupBackward=_0x13877b=>deleteByGroup(_0x13877b,!0x1),deleteGroupForward=_0x3dbb15=>deleteByGroup(_0x3dbb15,!0x0),deleteToLineEnd=_0x291cf6=>deleteBy(_0x291cf6,_0x157165=>{let _0x21c94f=_0x291cf6['lineBlockAt'](_0x157165['head'])['to'];return _0x157165['head']<_0x21c94f?_0x21c94f:Math['min'](_0x291cf6['state']['doc']['length'],_0x157165['head']+0x1);}),deleteLineBoundaryBackward=_0x599e63=>deleteBy(_0x599e63,_0x92a9f6=>{let _0x38702e=_0x599e63['moveToLineBoundary'](_0x92a9f6,!0x1)['head'];return _0x92a9f6['head']>_0x38702e?_0x38702e:Math['max'](0x0,_0x92a9f6['head']-0x1);}),deleteLineBoundaryForward=_0x469c2c=>deleteBy(_0x469c2c,_0x5c1a9a=>{let _0xdbbd64=_0x469c2c['moveToLineBoundary'](_0x5c1a9a,!0x0)['head'];return _0x5c1a9a['head']<_0xdbbd64?_0xdbbd64:Math['min'](_0x469c2c['state']['doc']['length'],_0x5c1a9a['head']+0x1);}),splitLine=({state:_0x53d462,dispatch:_0x2cfa00})=>{if(_0x53d462['readOnly'])return!0x1;let _0x4a91ad=_0x53d462['changeByRange'](_0x41e8be=>({'changes':{'from':_0x41e8be['from'],'to':_0x41e8be['to'],'insert':Text['of'](['',''])},'range':EditorSelection['cursor'](_0x41e8be['from'])}));return _0x2cfa00(_0x53d462['update'](_0x4a91ad,{'scrollIntoView':!0x0,'userEvent':'input'})),!0x0;},transposeChars=({state:_0x3ab7b3,dispatch:_0x4a520b})=>{if(_0x3ab7b3['readOnly'])return!0x1;let _0x14636f=_0x3ab7b3['changeByRange'](_0x251019=>{if(!_0x251019['empty']||0x0==_0x251019['from']||_0x251019['from']==_0x3ab7b3['doc']['length'])return{'range':_0x251019};let _0x2b9818=_0x251019['from'],_0x5d2a29=_0x3ab7b3['doc']['lineAt'](_0x2b9818),_0x19adae=_0x2b9818==_0x5d2a29['from']?_0x2b9818-0x1:findClusterBreak(_0x5d2a29['text'],_0x2b9818-_0x5d2a29['from'],!0x1)+_0x5d2a29['from'],_0x5bb979=_0x2b9818==_0x5d2a29['to']?_0x2b9818+0x1:findClusterBreak(_0x5d2a29['text'],_0x2b9818-_0x5d2a29['from'],!0x0)+_0x5d2a29['from'];return{'changes':{'from':_0x19adae,'to':_0x5bb979,'insert':_0x3ab7b3['doc']['slice'](_0x2b9818,_0x5bb979)['append'](_0x3ab7b3['doc']['slice'](_0x19adae,_0x2b9818))},'range':EditorSelection['cursor'](_0x5bb979)};});return!_0x14636f['changes']['empty']&&(_0x4a520b(_0x3ab7b3['update'](_0x14636f,{'scrollIntoView':!0x0,'userEvent':'move.character'})),!0x0);};function selectedLineBlocks(_0x4bc340){let _0x5c2ad7=[],_0x125fcb=-0x1;for(let _0x249f4b of _0x4bc340['selection']['ranges']){let _0xf437b6=_0x4bc340['doc']['lineAt'](_0x249f4b['from']),_0x2ba55a=_0x4bc340['doc']['lineAt'](_0x249f4b['to']);if(_0x249f4b['empty']||_0x249f4b['to']!=_0x2ba55a['from']||(_0x2ba55a=_0x4bc340['doc']['lineAt'](_0x249f4b['to']-0x1)),_0x125fcb>=_0xf437b6['number']){let _0x1b2677=_0x5c2ad7[_0x5c2ad7['length']-0x1];_0x1b2677['to']=_0x2ba55a['to'],_0x1b2677['ranges']['push'](_0x249f4b);}else _0x5c2ad7['push']({'from':_0xf437b6['from'],'to':_0x2ba55a['to'],'ranges':[_0x249f4b]});_0x125fcb=_0x2ba55a['number']+0x1;}return _0x5c2ad7;}function _0x420383(_0x4a3993,_0x4af5b8,_0x2215ea){if(_0x4a3993['readOnly'])return!0x1;let _0x1ec943=[],_0x174530=[];for(let _0x1392c2 of selectedLineBlocks(_0x4a3993)){if(_0x2215ea?_0x1392c2['to']==_0x4a3993['doc']['length']:0x0==_0x1392c2['from'])continue;let _0x283c1b=_0x4a3993['doc']['lineAt'](_0x2215ea?_0x1392c2['to']+0x1:_0x1392c2['from']-0x1),_0x2fa91f=_0x283c1b['length']+0x1;if(_0x2215ea){_0x1ec943['push']({'from':_0x1392c2['to'],'to':_0x283c1b['to']},{'from':_0x1392c2['from'],'insert':_0x283c1b['text']+_0x4a3993['lineBreak']});for(let _0x5eea57 of _0x1392c2['ranges'])_0x174530['push'](EditorSelection['range'](Math['min'](_0x4a3993['doc']['length'],_0x5eea57['anchor']+_0x2fa91f),Math['min'](_0x4a3993['doc']['length'],_0x5eea57['head']+_0x2fa91f)));}else{_0x1ec943['push']({'from':_0x283c1b['from'],'to':_0x1392c2['from']},{'from':_0x1392c2['to'],'insert':_0x4a3993['lineBreak']+_0x283c1b['text']});for(let _0x2a5711 of _0x1392c2['ranges'])_0x174530['push'](EditorSelection['range'](_0x2a5711['anchor']-_0x2fa91f,_0x2a5711['head']-_0x2fa91f));}}return!!_0x1ec943['length']&&(_0x4af5b8(_0x4a3993['update']({'changes':_0x1ec943,'scrollIntoView':!0x0,'selection':EditorSelection['create'](_0x174530,_0x4a3993['selection']['mainIndex']),'userEvent':'move.line'})),!0x0);}const _0x1d2eda=({state:_0x1b7f86,dispatch:_0x2c12a7})=>_0x420383(_0x1b7f86,_0x2c12a7,!0x1),_0x4508dd=({state:_0x5d8943,dispatch:_0xdad63d})=>_0x420383(_0x5d8943,_0xdad63d,!0x0);function _0x162ac7(_0x53dd95,_0x542c65,_0x187349){if(_0x53dd95['readOnly'])return!0x1;let _0x35cecd=[];for(let _0xae079e of selectedLineBlocks(_0x53dd95))_0x187349?_0x35cecd['push']({'from':_0xae079e['from'],'insert':_0x53dd95['doc']['slice'](_0xae079e['from'],_0xae079e['to'])+_0x53dd95['lineBreak']}):_0x35cecd['push']({'from':_0xae079e['to'],'insert':_0x53dd95['lineBreak']+_0x53dd95['doc']['slice'](_0xae079e['from'],_0xae079e['to'])});return _0x542c65(_0x53dd95['update']({'changes':_0x35cecd,'scrollIntoView':!0x0,'userEvent':'input.copyline'})),!0x0;}const _0x1ab619=({state:_0x11d9e9,dispatch:_0x172598})=>_0x162ac7(_0x11d9e9,_0x172598,!0x1),_0x4b71e6=({state:_0x3645dc,dispatch:_0x5a8f97})=>_0x162ac7(_0x3645dc,_0x5a8f97,!0x0),deleteLine=_0x2253fc=>{if(_0x2253fc['state']['readOnly'])return!0x1;let {state:_0x464882}=_0x2253fc,_0x15127e=_0x464882['changes'](selectedLineBlocks(_0x464882)['map'](({from:_0xf5c5a0,to:_0x44fdee})=>(_0xf5c5a0>0x0?_0xf5c5a0--:_0x44fdee<_0x464882['doc']['length']&&_0x44fdee++,{'from':_0xf5c5a0,'to':_0x44fdee}))),_0x4d1ee4=updateSel(_0x464882['selection'],_0x2a90dc=>{let _0x39ec8e;if(_0x2253fc['lineWrapping']){let _0x5c2621=_0x2253fc['lineBlockAt'](_0x2a90dc['head']),_0x16985c=_0x2253fc['coordsAtPos'](_0x2a90dc['head'],_0x2a90dc['assoc']||0x1);_0x16985c&&(_0x39ec8e=_0x5c2621['bottom']+_0x2253fc['documentTop']-_0x16985c['bottom']+_0x2253fc['defaultLineHeight']/0x2);}return _0x2253fc['moveVertically'](_0x2a90dc,!0x0,_0x39ec8e);})['map'](_0x15127e);return _0x2253fc['dispatch']({'changes':_0x15127e,'selection':_0x4d1ee4,'scrollIntoView':!0x0,'userEvent':'delete.line'}),!0x0;};function isBetweenBrackets(_0x4086f3,_0x29b6e0){if(/\(\)|\[\]|\{\}/['test'](_0x4086f3['sliceDoc'](_0x29b6e0-0x1,_0x29b6e0+0x1)))return{'from':_0x29b6e0,'to':_0x29b6e0};let _0x1c8ac3,_0x45ec4a=syntaxTree(_0x4086f3)['resolveInner'](_0x29b6e0),_0x279da3=_0x45ec4a['childBefore'](_0x29b6e0),_0x487491=_0x45ec4a['childAfter'](_0x29b6e0);return _0x279da3&&_0x487491&&_0x279da3['to']<=_0x29b6e0&&_0x487491['from']>=_0x29b6e0&&(_0x1c8ac3=_0x279da3['type']['prop'](_0x519268['closedBy']))&&_0x1c8ac3['indexOf'](_0x487491['name'])>-0x1&&_0x4086f3['doc']['lineAt'](_0x279da3['to'])['from']==_0x4086f3['doc']['lineAt'](_0x487491['from'])['from']&&!/\S/['test'](_0x4086f3['sliceDoc'](_0x279da3['to'],_0x487491['from']))?{'from':_0x279da3['to'],'to':_0x487491['from']}:null;}const insertNewlineAndIndent=newlineAndIndent(!0x1),insertBlankLine=newlineAndIndent(!0x0);function newlineAndIndent(_0x439e37){return({state:_0x21f073,dispatch:_0x4010de})=>{if(_0x21f073['readOnly'])return!0x1;let _0x559986=_0x21f073['changeByRange'](_0x5e5437=>{let {from:_0x492eb9,to:_0x387d80}=_0x5e5437,_0x49cb67=_0x21f073['doc']['lineAt'](_0x492eb9),_0x460634=!_0x439e37&&_0x492eb9==_0x387d80&&isBetweenBrackets(_0x21f073,_0x492eb9);_0x439e37&&(_0x492eb9=_0x387d80=(_0x387d80<=_0x49cb67['to']?_0x49cb67:_0x21f073['doc']['lineAt'](_0x387d80))['to']);let _0x151867=new IndentContext(_0x21f073,{'simulateBreak':_0x492eb9,'simulateDoubleBreak':!!_0x460634}),_0x4d70d9=getIndentation(_0x151867,_0x492eb9);for(null==_0x4d70d9&&(_0x4d70d9=countColumn(/^\s*/['exec'](_0x21f073['doc']['lineAt'](_0x492eb9)['text'])[0x0],_0x21f073['tabSize']));_0x387d80<_0x49cb67['to']&&/\s/['test'](_0x49cb67['text'][_0x387d80-_0x49cb67['from']]);)_0x387d80++;_0x460634?{from:_0x492eb9,to:_0x387d80}=_0x460634:_0x492eb9>_0x49cb67['from']&&_0x492eb9<_0x49cb67['from']+0x64&&!/\S/['test'](_0x49cb67['text']['slice'](0x0,_0x492eb9))&&(_0x492eb9=_0x49cb67['from']);let _0x407c5a=['',indentString(_0x21f073,_0x4d70d9)];return _0x460634&&_0x407c5a['push'](indentString(_0x21f073,_0x151867['lineIndent'](_0x49cb67['from'],-0x1))),{'changes':{'from':_0x492eb9,'to':_0x387d80,'insert':Text['of'](_0x407c5a)},'range':EditorSelection['cursor'](_0x492eb9+0x1+_0x407c5a[0x1]['length'])};});return _0x4010de(_0x21f073['update'](_0x559986,{'scrollIntoView':!0x0,'userEvent':'input'})),!0x0;};}function changeBySelectedLine(_0x27e63c,_0x4f6f3c){let _0x373cde=-0x1;return _0x27e63c['changeByRange'](_0x110c29=>{let _0x59736d=[];for(let _0x499263=_0x110c29['from'];_0x499263<=_0x110c29['to'];){let _0x39d5ae=_0x27e63c['doc']['lineAt'](_0x499263);_0x39d5ae['number']>_0x373cde&&(_0x110c29['empty']||_0x110c29['to']>_0x39d5ae['from'])&&(_0x4f6f3c(_0x39d5ae,_0x59736d,_0x110c29),_0x373cde=_0x39d5ae['number']),_0x499263=_0x39d5ae['to']+0x1;}let _0x3ba5cf=_0x27e63c['changes'](_0x59736d);return{'changes':_0x59736d,'range':EditorSelection['range'](_0x3ba5cf['mapPos'](_0x110c29['anchor'],0x1),_0x3ba5cf['mapPos'](_0x110c29['head'],0x1))};});}const indentSelection=({state:_0x918b60,dispatch:_0x34900d})=>{if(_0x918b60['readOnly'])return!0x1;let _0x58b6b2=Object['create'](null),_0x1b9ec2=new IndentContext(_0x918b60,{'overrideIndentation':_0x446167=>{let _0x51b1d8=_0x58b6b2[_0x446167];return null==_0x51b1d8?-0x1:_0x51b1d8;}}),_0x4860c6=changeBySelectedLine(_0x918b60,(_0x835886,_0xd9064c,_0x364178)=>{let _0x4960f4=getIndentation(_0x1b9ec2,_0x835886['from']);if(null==_0x4960f4)return;/\S/['test'](_0x835886['text'])||(_0x4960f4=0x0);let _0x1e4294=/^\s*/['exec'](_0x835886['text'])[0x0],_0xedeea=indentString(_0x918b60,_0x4960f4);(_0x1e4294!=_0xedeea||_0x364178['from']<_0x835886['from']+_0x1e4294['length'])&&(_0x58b6b2[_0x835886['from']]=_0x4960f4,_0xd9064c['push']({'from':_0x835886['from'],'to':_0x835886['from']+_0x1e4294['length'],'insert':_0xedeea}));});return _0x4860c6['changes']['empty']||_0x34900d(_0x918b60['update'](_0x4860c6,{'userEvent':'indent'})),!0x0;},indentMore=({state:_0xc0325f,dispatch:_0x467878})=>!_0xc0325f['readOnly']&&(_0x467878(_0xc0325f['update'](changeBySelectedLine(_0xc0325f,(_0x1d0f48,_0x10ba6c)=>{_0x10ba6c['push']({'from':_0x1d0f48['from'],'insert':_0xc0325f['facet'](indentUnit)});}),{'userEvent':'input.indent'})),!0x0),indentLess=({state:_0x49394d,dispatch:_0x10076a})=>!_0x49394d['readOnly']&&(_0x10076a(_0x49394d['update'](changeBySelectedLine(_0x49394d,(_0x7f567c,_0x39691a)=>{let _0x2fcae4=/^\s*/['exec'](_0x7f567c['text'])[0x0];if(!_0x2fcae4)return;let _0x116093=countColumn(_0x2fcae4,_0x49394d['tabSize']),_0x1b1607=0x0,_0x23751f=indentString(_0x49394d,Math['max'](0x0,_0x116093-getIndentUnit(_0x49394d)));for(;_0x1b1607<_0x2fcae4['length']&&_0x1b1607<_0x23751f['length']&&_0x2fcae4['charCodeAt'](_0x1b1607)==_0x23751f['charCodeAt'](_0x1b1607);)_0x1b1607++;_0x39691a['push']({'from':_0x7f567c['from']+_0x1b1607,'to':_0x7f567c['from']+_0x2fcae4['length'],'insert':_0x23751f['slice'](_0x1b1607)});}),{'userEvent':'delete.dedent'})),!0x0),toggleTabFocusMode=_0x4821f1=>(_0x4821f1['setTabFocusMode'](),!0x0),emacsStyleKeymap=[{'key':'Ctrl-b','run':cursorCharLeft,'shift':selectCharLeft,'preventDefault':!0x0},{'key':'Ctrl-f','run':cursorCharRight,'shift':selectCharRight},{'key':'Ctrl-p','run':_0x4189c9,'shift':selectLineUp},{'key':'Ctrl-n','run':_0x653ac0,'shift':selectLineDown},{'key':'Ctrl-a','run':cursorLineStart,'shift':selectLineStart},{'key':'Ctrl-e','run':_0x4b2b1b,'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':_0x6bb86f}],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':_0x4189c9,'shift':selectLineUp,'preventDefault':!0x0},{'mac':'Cmd-ArrowUp','run':cursorDocStart,'shift':selectDocStart},{'mac':'Ctrl-ArrowUp','run':_0x24e764,'shift':selectPageUp},{'key':'ArrowDown','run':_0x653ac0,'shift':selectLineDown,'preventDefault':!0x0},{'mac':'Cmd-ArrowDown','run':_0x27246e,'shift':selectDocEnd},{'mac':'Ctrl-ArrowDown','run':_0x6bb86f,'shift':selectPageDown},{'key':'PageUp','run':_0x24e764,'shift':selectPageUp},{'key':'PageDown','run':_0x6bb86f,'shift':selectPageDown},{'key':'Home','run':_0x3011c8,'shift':selectLineBoundaryBackward,'preventDefault':!0x0},{'key':'Mod-Home','run':cursorDocStart,'shift':selectDocStart},{'key':'End','run':_0x4363cc,'shift':selectLineBoundaryForward,'preventDefault':!0x0},{'key':'Mod-End','run':_0x27246e,'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'](_0x191a88=>({'mac':_0x191a88['key'],'run':_0x191a88['run'],'shift':_0x191a88['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':_0x1d2eda},{'key':'Shift-Alt-ArrowUp','run':_0x1ab619},{'key':'Alt-ArrowDown','run':_0x4508dd},{'key':'Shift-Alt-ArrowDown','run':_0x4b71e6},{'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(_0x5a2ea1,_0x4695d0,_0x36d71a,_0x2d9c23){this['state']=_0x5a2ea1,this['pos']=_0x4695d0,this['explicit']=_0x36d71a,this['view']=_0x2d9c23,this['abortListeners']=[],this['abortOnDocChange']=!0x1;}['tokenBefore'](_0x33334f){let _0xdb3c5b=syntaxTree(this['state'])['resolveInner'](this['pos'],-0x1);for(;_0xdb3c5b&&_0x33334f['indexOf'](_0xdb3c5b['name'])<0x0;)_0xdb3c5b=_0xdb3c5b['parent'];return _0xdb3c5b?{'from':_0xdb3c5b['from'],'to':this['pos'],'text':this['state']['sliceDoc'](_0xdb3c5b['from'],this['pos']),'type':_0xdb3c5b['type']}:null;}['matchBefore'](_0x3a31f9){let _0x1c8fac=this['state']['doc']['lineAt'](this['pos']),_0x4a763c=Math['max'](_0x1c8fac['from'],this['pos']-0xfa),_0x31b236=_0x1c8fac['text']['slice'](_0x4a763c-_0x1c8fac['from'],this['pos']-_0x1c8fac['from']),_0x28d839=_0x31b236['search'](_0x55dd05(_0x3a31f9,!0x1));return _0x28d839<0x0?null:{'from':_0x4a763c+_0x28d839,'to':this['pos'],'text':_0x31b236['slice'](_0x28d839)};}get['aborted'](){return null==this['abortListeners'];}['addEventListener'](_0x4336c8,_0x2dc59e,_0xc31174){'abort'==_0x4336c8&&this['abortListeners']&&(this['abortListeners']['push'](_0x2dc59e),_0xc31174&&_0xc31174['onDocChange']&&(this['abortOnDocChange']=!0x0));}}function toSet(_0x32480c){let _0x1d7bba=Object['keys'](_0x32480c)['join'](''),_0xb98ef=/\w/['test'](_0x1d7bba);return _0xb98ef&&(_0x1d7bba=_0x1d7bba['replace'](/\w/g,'')),'['+(_0xb98ef?'\x5cw':'')+_0x1d7bba['replace'](/[^\w\s]/g,'\x5c$&')+']';}function prefixMatch(_0x43598d){let _0x33e885=Object['create'](null),_0x11ebc3=Object['create'](null);for(let {label:_0x103251}of _0x43598d){_0x33e885[_0x103251[0x0]]=!0x0;for(let _0x4b42cf=0x1;_0x4b42cf<_0x103251['length'];_0x4b42cf++)_0x11ebc3[_0x103251[_0x4b42cf]]=!0x0;}let _0xea646c=toSet(_0x33e885)+toSet(_0x11ebc3)+'*$';return[new RegExp('^'+_0xea646c),new RegExp(_0xea646c)];}function completeFromList(_0x4cf7d3){let _0x821f0e=_0x4cf7d3['map'](_0x138ec0=>'string'==typeof _0x138ec0?{'label':_0x138ec0}:_0x138ec0),[_0xd6b27a,_0x2b2977]=_0x821f0e['every'](_0x461427=>/^\w+$/['test'](_0x461427['label']))?[/\w*$/,/\w+$/]:prefixMatch(_0x821f0e);return _0x5bd721=>{let _0x2e9053=_0x5bd721['matchBefore'](_0x2b2977);return _0x2e9053||_0x5bd721['explicit']?{'from':_0x2e9053?_0x2e9053['from']:_0x5bd721['pos'],'options':_0x821f0e,'validFor':_0xd6b27a}:null;};}function ifNotIn(_0x41b715,_0x1c671b){return _0xdd50be=>{for(let _0x3ba837=syntaxTree(_0xdd50be['state'])['resolveInner'](_0xdd50be['pos'],-0x1);_0x3ba837;_0x3ba837=_0x3ba837['parent']){if(_0x41b715['indexOf'](_0x3ba837['name'])>-0x1)return null;if(_0x3ba837['type']['isTop'])break;}return _0x1c671b(_0xdd50be);};}class Option{constructor(_0x1500bc,_0x31bdb2,_0x2e7bca,_0x5bf8d0){this['completion']=_0x1500bc,this['source']=_0x31bdb2,this['match']=_0x2e7bca,this['score']=_0x5bf8d0;}}function _0x595f1e(_0x3a980a){return _0x3a980a['selection']['main']['from'];}function _0x55dd05(_0x48fa81,_0x544887){var _0x30e5a3;let {source:_0x3d74a8}=_0x48fa81,_0x595f24=_0x544887&&'^'!=_0x3d74a8[0x0],_0x3f50db='$'!=_0x3d74a8[_0x3d74a8['length']-0x1];return _0x595f24||_0x3f50db?new RegExp((_0x595f24?'^':'')+'(?:'+_0x3d74a8+')'+(_0x3f50db?'$':''),null!==(_0x30e5a3=_0x48fa81['flags'])&&void 0x0!==_0x30e5a3?_0x30e5a3:_0x48fa81['ignoreCase']?'i':''):_0x48fa81;}const pickedCompletion=Annotation['define']();function insertCompletionText(_0x430b5d,_0x173e7a,_0xa1200b,_0x199f86){let {main:_0x3eb24f}=_0x430b5d['selection'],_0x35e467=_0xa1200b-_0x3eb24f['from'],_0x546001=_0x199f86-_0x3eb24f['from'];return{..._0x430b5d['changeByRange'](_0x5dcff1=>{if(_0x5dcff1!=_0x3eb24f&&_0xa1200b!=_0x199f86&&_0x430b5d['sliceDoc'](_0x5dcff1['from']+_0x35e467,_0x5dcff1['from']+_0x546001)!=_0x430b5d['sliceDoc'](_0xa1200b,_0x199f86))return{'range':_0x5dcff1};let _0x27287c=_0x430b5d['toText'](_0x173e7a);return{'changes':{'from':_0x5dcff1['from']+_0x35e467,'to':_0x199f86==_0x3eb24f['from']?_0x5dcff1['to']:_0x5dcff1['from']+_0x546001,'insert':_0x27287c},'range':EditorSelection['cursor'](_0x5dcff1['from']+_0x35e467+_0x27287c['length'])};}),'scrollIntoView':!0x0,'userEvent':'input.complete'};}const _0x1c5c4b=new WeakMap();function _0x135e57(_0x32bc1e){if(!Array['isArray'](_0x32bc1e))return _0x32bc1e;let _0x497527=_0x1c5c4b['get'](_0x32bc1e);return _0x497527||_0x1c5c4b['set'](_0x32bc1e,_0x497527=completeFromList(_0x32bc1e)),_0x497527;}const startCompletionEffect=StateEffect['define'](),closeCompletionEffect=StateEffect['define']();class FuzzyMatcher{constructor(_0x2abc0f){this['pattern']=_0x2abc0f,this['chars']=[],this['folded']=[],this['any']=[],this['precise']=[],this['byWord']=[],this['score']=0x0,this['matched']=[];for(let _0x4d2f6d=0x0;_0x4d2f6d<_0x2abc0f['length'];){let _0xaa9b7=codePointAt(_0x2abc0f,_0x4d2f6d),_0x50247f=codePointSize(_0xaa9b7);this['chars']['push'](_0xaa9b7);let _0x268c51=_0x2abc0f['slice'](_0x4d2f6d,_0x4d2f6d+_0x50247f),_0x2b32c3=_0x268c51['toUpperCase']();this['folded']['push'](codePointAt(_0x2b32c3==_0x268c51?_0x268c51['toLowerCase']():_0x2b32c3,0x0)),_0x4d2f6d+=_0x50247f;}this['astral']=_0x2abc0f['length']!=this['chars']['length'];}['ret'](_0x265e28,_0x128a23){return this['score']=_0x265e28,this['matched']=_0x128a23,this;}['match'](_0x273861){if(0x0==this['pattern']['length'])return this['ret'](-0x64,[]);if(_0x273861['length']<this['pattern']['length'])return null;let {chars:_0x1be946,folded:_0x56d9e2,any:_0xa31581,precise:_0xad03dd,byWord:_0x577dd6}=this;if(0x1==_0x1be946['length']){let _0x2fde31=codePointAt(_0x273861,0x0),_0x49047a=codePointSize(_0x2fde31),_0x478187=_0x49047a==_0x273861['length']?0x0:-0x64;if(_0x2fde31==_0x1be946[0x0]);else{if(_0x2fde31!=_0x56d9e2[0x0])return null;_0x478187+=-0xc8;}return this['ret'](_0x478187,[0x0,_0x49047a]);}let _0x5e0799=_0x273861['indexOf'](this['pattern']);if(0x0==_0x5e0799)return this['ret'](_0x273861['length']==this['pattern']['length']?0x0:-0x64,[0x0,this['pattern']['length']]);let _0x2c10aa=_0x1be946['length'],_0x262963=0x0;if(_0x5e0799<0x0){for(let _0x4ea879=0x0,_0x245dac=Math['min'](_0x273861['length'],0xc8);_0x4ea879<_0x245dac&&_0x262963<_0x2c10aa;){let _0x77cfe4=codePointAt(_0x273861,_0x4ea879);_0x77cfe4!=_0x1be946[_0x262963]&&_0x77cfe4!=_0x56d9e2[_0x262963]||(_0xa31581[_0x262963++]=_0x4ea879),_0x4ea879+=codePointSize(_0x77cfe4);}if(_0x262963<_0x2c10aa)return null;}let _0x5e24b8=0x0,_0x49c749=0x0,_0xc82d29=!0x1,_0x2e43a0=0x0,_0x3517fe=-0x1,_0x430f5b=-0x1,_0x1cddb4=/[a-z]/['test'](_0x273861),_0x1875aa=!0x0;for(let _0x256862=0x0,_0x1e3a75=Math['min'](_0x273861['length'],0xc8),_0x41c4b0=0x0;_0x256862<_0x1e3a75&&_0x49c749<_0x2c10aa;){let _0x443377=codePointAt(_0x273861,_0x256862);_0x5e0799<0x0&&(_0x5e24b8<_0x2c10aa&&_0x443377==_0x1be946[_0x5e24b8]&&(_0xad03dd[_0x5e24b8++]=_0x256862),_0x2e43a0<_0x2c10aa&&(_0x443377==_0x1be946[_0x2e43a0]||_0x443377==_0x56d9e2[_0x2e43a0]?(0x0==_0x2e43a0&&(_0x3517fe=_0x256862),_0x430f5b=_0x256862+0x1,_0x2e43a0++):_0x2e43a0=0x0));let _0x5be203,_0x255829=_0x443377<0xff?_0x443377>=0x30&&_0x443377<=0x39||_0x443377>=0x61&&_0x443377<=0x7a?0x2:_0x443377>=0x41&&_0x443377<=0x5a?0x1:0x0:(_0x5be203=fromCodePoint(_0x443377))!=_0x5be203['toLowerCase']()?0x1:_0x5be203!=_0x5be203['toUpperCase']()?0x2:0x0;(!_0x256862||0x1==_0x255829&&_0x1cddb4||0x0==_0x41c4b0&&0x0!=_0x255829)&&(_0x1be946[_0x49c749]==_0x443377||_0x56d9e2[_0x49c749]==_0x443377&&(_0xc82d29=!0x0)?_0x577dd6[_0x49c749++]=_0x256862:_0x577dd6['length']&&(_0x1875aa=!0x1)),_0x41c4b0=_0x255829,_0x256862+=codePointSize(_0x443377);}return _0x49c749==_0x2c10aa&&0x0==_0x577dd6[0x0]&&_0x1875aa?this['result']((_0xc82d29?-0xc8:0x0)-0x64,_0x577dd6,_0x273861):_0x2e43a0==_0x2c10aa&&0x0==_0x3517fe?this['ret'](-0xc8-_0x273861['length']+(_0x430f5b==_0x273861['length']?0x0:-0x64),[0x0,_0x430f5b]):_0x5e0799>-0x1?this['ret'](-0x2bc-_0x273861['length'],[_0x5e0799,_0x5e0799+this['pattern']['length']]):_0x2e43a0==_0x2c10aa?this['ret'](-0x384-_0x273861['length'],[_0x3517fe,_0x430f5b]):_0x49c749==_0x2c10aa?this['result']((_0xc82d29?-0xc8:0x0)-0x64-0x2bc+(_0x1875aa?0x0:-0x44c),_0x577dd6,_0x273861):0x2==_0x1be946['length']?null:this['result']((_0xa31581[0x0]?-0x2bc:0x0)-0xc8-0x44c,_0xa31581,_0x273861);}['result'](_0x1eee0a,_0x2a3354,_0x3aa42c){let _0x50a6f5=[],_0x153ca6=0x0;for(let _0x1fb082 of _0x2a3354){let _0x1d80ba=_0x1fb082+(this['astral']?codePointSize(codePointAt(_0x3aa42c,_0x1fb082)):0x1);_0x153ca6&&_0x50a6f5[_0x153ca6-0x1]==_0x1fb082?_0x50a6f5[_0x153ca6-0x1]=_0x1d80ba:(_0x50a6f5[_0x153ca6++]=_0x1fb082,_0x50a6f5[_0x153ca6++]=_0x1d80ba);}return this['ret'](_0x1eee0a-_0x3aa42c['length'],_0x50a6f5);}}class StrictMatcher{constructor(_0xfcd405){this['pattern']=_0xfcd405,this['matched']=[],this['score']=0x0,this['folded']=_0xfcd405['toLowerCase']();}['match'](_0x20f834){if(_0x20f834['length']<this['pattern']['length'])return null;let _0x3689fe=_0x20f834['slice'](0x0,this['pattern']['length']),_0x56cec4=_0x3689fe==this['pattern']?0x0:_0x3689fe['toLowerCase']()==this['folded']?-0xc8:null;return null==_0x56cec4?null:(this['matched']=[0x0,_0x3689fe['length']],this['score']=_0x56cec4+(_0x20f834['length']==this['pattern']['length']?0x0:-0x64),this);}}const completionConfig=Facet['define']({'combine':_0x42ba57=>_0x1f6110(_0x42ba57,{'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':(_0x3c0846,_0x33e58b)=>_0x3c0846['label']['localeCompare'](_0x33e58b['label']),'interactionDelay':0x4b,'updateSyncTime':0x64},{'defaultKeymap':(_0x5ba9b2,_0x30b141)=>_0x5ba9b2&&_0x30b141,'closeOnBlur':(_0x1c611c,_0x25c206)=>_0x1c611c&&_0x25c206,'icons':(_0x5b5087,_0x1f5912)=>_0x5b5087&&_0x1f5912,'tooltipClass':(_0x5c4929,_0x2279a7)=>_0x1ebb2d=>_0x136f34(_0x5c4929(_0x1ebb2d),_0x2279a7(_0x1ebb2d)),'optionClass':(_0x365d7a,_0x116e92)=>_0x4a94f9=>_0x136f34(_0x365d7a(_0x4a94f9),_0x116e92(_0x4a94f9)),'addToOptions':(_0x5b11ce,_0x264e2c)=>_0x5b11ce['concat'](_0x264e2c),'filterStrict':(_0x2b968a,_0x25bedb)=>_0x2b968a||_0x25bedb})});function _0x136f34(_0x3d5551,_0x4ee7e3){return _0x3d5551?_0x4ee7e3?_0x3d5551+'\x20'+_0x4ee7e3:_0x3d5551:_0x4ee7e3;}function defaultPositionInfo(_0x1a4158,_0x1fd48c,_0x49650c,_0x153bdd,_0x460f18,_0x54d1cf){let _0x332bc4,_0x1e0e01,_0x3731ed=_0x1a4158['textDirection']==Direction['RTL'],_0x49e0d0=_0x3731ed,_0x36d669=!0x1,_0x1f392f='top',_0x4110fe=_0x1fd48c['left']-_0x460f18['left'],_0xc39a30=_0x460f18['right']-_0x1fd48c['right'],_0x25dabe=_0x153bdd['right']-_0x153bdd['left'],_0x6c3d0b=_0x153bdd['bottom']-_0x153bdd['top'];if(_0x49e0d0&&_0x4110fe<Math['min'](_0x25dabe,_0xc39a30)?_0x49e0d0=!0x1:!_0x49e0d0&&_0xc39a30<Math['min'](_0x25dabe,_0x4110fe)&&(_0x49e0d0=!0x0),_0x25dabe<=(_0x49e0d0?_0x4110fe:_0xc39a30))_0x332bc4=Math['max'](_0x460f18['top'],Math['min'](_0x49650c['top'],_0x460f18['bottom']-_0x6c3d0b))-_0x1fd48c['top'],_0x1e0e01=Math['min'](0x190,_0x49e0d0?_0x4110fe:_0xc39a30);else{_0x36d669=!0x0,_0x1e0e01=Math['min'](0x190,(_0x3731ed?_0x1fd48c['right']:_0x460f18['right']-_0x1fd48c['left'])-0x1e);let _0x32fba9=_0x460f18['bottom']-_0x1fd48c['bottom'];_0x32fba9>=_0x6c3d0b||_0x32fba9>_0x1fd48c['top']?_0x332bc4=_0x49650c['bottom']-_0x1fd48c['top']:(_0x1f392f='bottom',_0x332bc4=_0x1fd48c['bottom']-_0x49650c['top']);}return{'style':_0x1f392f+':\x20'+_0x332bc4/((_0x1fd48c['bottom']-_0x1fd48c['top'])/_0x54d1cf['offsetHeight'])+'px;\x20max-width:\x20'+_0x1e0e01/((_0x1fd48c['right']-_0x1fd48c['left'])/_0x54d1cf['offsetWidth'])+'px','class':'cm-completionInfo-'+(_0x36d669?_0x3731ed?'left-narrow':'right-narrow':_0x49e0d0?'left':'right')};}function optionContent(_0x567990){let _0x2f5458=_0x567990['addToOptions']['slice']();return _0x567990['icons']&&_0x2f5458['push']({'render'(_0x37289e){let _0x3c7c96=document['createElement']('div');return _0x3c7c96['classList']['add']('cm-completionIcon'),_0x37289e['type']&&_0x3c7c96['classList']['add'](..._0x37289e['type']['split'](/\s+/g)['map'](_0x36e862=>'cm-completionIcon-'+_0x36e862)),_0x3c7c96['setAttribute']('aria-hidden','true'),_0x3c7c96;},'position':0x14}),_0x2f5458['push']({'render'(_0x2881f5,_0x11191f,_0x2b15b2,_0x3ad58e){let _0x264471=document['createElement']('span');_0x264471['className']='cm-completionLabel';let _0x120ffa=_0x2881f5['displayLabel']||_0x2881f5['label'],_0x26a5df=0x0;for(let _0x72a05a=0x0;_0x72a05a<_0x3ad58e['length'];){let _0x557734=_0x3ad58e[_0x72a05a++],_0x20e611=_0x3ad58e[_0x72a05a++];_0x557734>_0x26a5df&&_0x264471['appendChild'](document['createTextNode'](_0x120ffa['slice'](_0x26a5df,_0x557734)));let _0x174ad2=_0x264471['appendChild'](document['createElement']('span'));_0x174ad2['appendChild'](document['createTextNode'](_0x120ffa['slice'](_0x557734,_0x20e611))),_0x174ad2['className']='cm-completionMatchedText',_0x26a5df=_0x20e611;}return _0x26a5df<_0x120ffa['length']&&_0x264471['appendChild'](document['createTextNode'](_0x120ffa['slice'](_0x26a5df))),_0x264471;},'position':0x32},{'render'(_0x4b96bd){if(!_0x4b96bd['detail'])return null;let _0x1f479c=document['createElement']('span');return _0x1f479c['className']='cm-completionDetail',_0x1f479c['textContent']=_0x4b96bd['detail'],_0x1f479c;},'position':0x50}),_0x2f5458['sort']((_0x222c5c,_0x58ac48)=>_0x222c5c['position']-_0x58ac48['position'])['map'](_0x33f06b=>_0x33f06b['render']);}function rangeAroundSelected(_0x1ee89c,_0x9982c3,_0x2a114a){if(_0x1ee89c<=_0x2a114a)return{'from':0x0,'to':_0x1ee89c};if(_0x9982c3<0x0&&(_0x9982c3=0x0),_0x9982c3<=_0x1ee89c>>0x1){let _0x57779e=Math['floor'](_0x9982c3/_0x2a114a);return{'from':_0x57779e*_0x2a114a,'to':(_0x57779e+0x1)*_0x2a114a};}let _0x5e0d08=Math['floor']((_0x1ee89c-_0x9982c3)/_0x2a114a);return{'from':_0x1ee89c-(_0x5e0d08+0x1)*_0x2a114a,'to':_0x1ee89c-_0x5e0d08*_0x2a114a};}class CompletionTooltip{constructor(_0x28a90d,_0x127429,_0x5e77a3){this['view']=_0x28a90d,this['stateField']=_0x127429,this['applyCompletion']=_0x5e77a3,this['info']=null,this['infoDestroy']=null,this['placeInfoReq']={'read':()=>this['measureInfo'](),'write':_0x1ca7e0=>this['placeInfo'](_0x1ca7e0),'key':this},this['space']=null,this['currentClass']='';let _0x233e56=_0x28a90d['state']['field'](_0x127429),{options:_0x1ac7c5,selected:_0x1bef82}=_0x233e56['open'],_0x4f539d=_0x28a90d['state']['facet'](completionConfig);this['optionContent']=optionContent(_0x4f539d),this['optionClass']=_0x4f539d['optionClass'],this['tooltipClass']=_0x4f539d['tooltipClass'],this['range']=rangeAroundSelected(_0x1ac7c5['length'],_0x1bef82,_0x4f539d['maxRenderedOptions']),this['dom']=document['createElement']('div'),this['dom']['className']='cm-tooltip-autocomplete',this['updateTooltipClass'](_0x28a90d['state']),this['dom']['addEventListener']('mousedown',_0x43461f=>{let {options:_0x250971}=_0x28a90d['state']['field'](_0x127429)['open'];for(let _0x408c9b,_0x153b0f=_0x43461f['target'];_0x153b0f&&_0x153b0f!=this['dom'];_0x153b0f=_0x153b0f['parentNode'])if('LI'==_0x153b0f['nodeName']&&(_0x408c9b=/-(\d+)$/['exec'](_0x153b0f['id']))&&+_0x408c9b[0x1]<_0x250971['length'])return this['applyCompletion'](_0x28a90d,_0x250971[+_0x408c9b[0x1]]),void _0x43461f['preventDefault']();}),this['dom']['addEventListener']('focusout',_0x1cc84f=>{let _0x1221c8=_0x28a90d['state']['field'](this['stateField'],!0x1);_0x1221c8&&_0x1221c8['tooltip']&&_0x28a90d['state']['facet'](completionConfig)['closeOnBlur']&&_0x1cc84f['relatedTarget']!=_0x28a90d['contentDOM']&&_0x28a90d['dispatch']({'effects':closeCompletionEffect['of'](null)});}),this['showOptions'](_0x1ac7c5,_0x233e56['id']);}['mount'](){this['updateSel']();}['showOptions'](_0x2200bb,_0x405841){this['list']&&this['list']['remove'](),this['list']=this['dom']['appendChild'](this['createListBox'](_0x2200bb,_0x405841,this['range'])),this['list']['addEventListener']('scroll',()=>{this['info']&&this['view']['requestMeasure'](this['placeInfoReq']);});}['update'](_0x803d8){var _0x29c657;let _0xd4065e=_0x803d8['state']['field'](this['stateField']),_0x2daf07=_0x803d8['startState']['field'](this['stateField']);if(this['updateTooltipClass'](_0x803d8['state']),_0xd4065e!=_0x2daf07){let {options:_0x3023f0,selected:_0xd7fc3d,disabled:_0x8a7e5d}=_0xd4065e['open'];_0x2daf07['open']&&_0x2daf07['open']['options']==_0x3023f0||(this['range']=rangeAroundSelected(_0x3023f0['length'],_0xd7fc3d,_0x803d8['state']['facet'](completionConfig)['maxRenderedOptions']),this['showOptions'](_0x3023f0,_0xd4065e['id'])),this['updateSel'](),_0x8a7e5d!=(null===(_0x29c657=_0x2daf07['open'])||void 0x0===_0x29c657?void 0x0:_0x29c657['disabled'])&&this['dom']['classList']['toggle']('cm-tooltip-autocomplete-disabled',!!_0x8a7e5d);}}['updateTooltipClass'](_0x279d13){let _0x2a1dc0=this['tooltipClass'](_0x279d13);if(_0x2a1dc0!=this['currentClass']){for(let _0x3f7746 of this['currentClass']['split']('\x20'))_0x3f7746&&this['dom']['classList']['remove'](_0x3f7746);for(let _0x29d46c of _0x2a1dc0['split']('\x20'))_0x29d46c&&this['dom']['classList']['add'](_0x29d46c);this['currentClass']=_0x2a1dc0;}}['positioned'](_0x12c6ff){this['space']=_0x12c6ff,this['info']&&this['view']['requestMeasure'](this['placeInfoReq']);}['updateSel'](){let _0xf27159=this['view']['state']['field'](this['stateField']),_0x4b5820=_0xf27159['open'];if((_0x4b5820['selected']>-0x1&&_0x4b5820['selected']<this['range']['from']||_0x4b5820['selected']>=this['range']['to'])&&(this['range']=rangeAroundSelected(_0x4b5820['options']['length'],_0x4b5820['selected'],this['view']['state']['facet'](completionConfig)['maxRenderedOptions']),this['showOptions'](_0x4b5820['options'],_0xf27159['id'])),this['updateSelectedOption'](_0x4b5820['selected'])){this['destroyInfo']();let {completion:_0x4ed54f}=_0x4b5820['options'][_0x4b5820['selected']],{info:_0x45a956}=_0x4ed54f;if(!_0x45a956)return;let _0x467fe6='string'==typeof _0x45a956?document['createTextNode'](_0x45a956):_0x45a956(_0x4ed54f);if(!_0x467fe6)return;'then'in _0x467fe6?_0x467fe6['then'](_0x302949=>{_0x302949&&this['view']['state']['field'](this['stateField'],!0x1)==_0xf27159&&this['addInfoPane'](_0x302949,_0x4ed54f);})['catch'](_0x5560d7=>logException(this['view']['state'],_0x5560d7,'completion\x20info')):this['addInfoPane'](_0x467fe6,_0x4ed54f);}}['addInfoPane'](_0x4ce82f,_0x2a78e5){this['destroyInfo']();let _0x4d53af=this['info']=document['createElement']('div');if(_0x4d53af['className']='cm-tooltip\x20cm-completionInfo',null!=_0x4ce82f['nodeType'])_0x4d53af['appendChild'](_0x4ce82f),this['infoDestroy']=null;else{let {dom:_0x2820d2,destroy:_0x34267d}=_0x4ce82f;_0x4d53af['appendChild'](_0x2820d2),this['infoDestroy']=_0x34267d||null;}this['dom']['appendChild'](_0x4d53af),this['view']['requestMeasure'](this['placeInfoReq']);}['updateSelectedOption'](_0x33e269){let _0x55a583=null;for(let _0x49220a=this['list']['firstChild'],_0x161d3d=this['range']['from'];_0x49220a;_0x49220a=_0x49220a['nextSibling'],_0x161d3d++)'LI'==_0x49220a['nodeName']&&_0x49220a['id']?_0x161d3d==_0x33e269?_0x49220a['hasAttribute']('aria-selected')||(_0x49220a['setAttribute']('aria-selected','true'),_0x55a583=_0x49220a):_0x49220a['hasAttribute']('aria-selected')&&_0x49220a['removeAttribute']('aria-selected'):_0x161d3d--;return _0x55a583&&scrollIntoView(this['list'],_0x55a583),_0x55a583;}['measureInfo'](){let _0x2b33cf=this['dom']['querySelector']('[aria-selected]');if(!_0x2b33cf||!this['info'])return null;let _0x328146=this['dom']['getBoundingClientRect'](),_0x77cbf0=this['info']['getBoundingClientRect'](),_0x1cda94=_0x2b33cf['getBoundingClientRect'](),_0x14a99b=this['space'];if(!_0x14a99b){let _0x4916ef=this['dom']['ownerDocument']['documentElement'];_0x14a99b={'left':0x0,'top':0x0,'right':_0x4916ef['clientWidth'],'bottom':_0x4916ef['clientHeight']};}return _0x1cda94['top']>Math['min'](_0x14a99b['bottom'],_0x328146['bottom'])-0xa||_0x1cda94['bottom']<Math['max'](_0x14a99b['top'],_0x328146['top'])+0xa?null:this['view']['state']['facet'](completionConfig)['positionInfo'](this['view'],_0x328146,_0x1cda94,_0x77cbf0,_0x14a99b,this['dom']);}['placeInfo'](_0x353a57){this['info']&&(_0x353a57?(_0x353a57['style']&&(this['info']['style']['cssText']=_0x353a57['style']),this['info']['className']='cm-tooltip\x20cm-completionInfo\x20'+(_0x353a57['class']||'')):this['info']['style']['cssText']='top:\x20-1e6px');}['createListBox'](_0x210197,_0x522e9d,_0x4c961a){const _0x20f8fb=document['createElement']('ul');_0x20f8fb['id']=_0x522e9d,_0x20f8fb['setAttribute']('role','listbox'),_0x20f8fb['setAttribute']('aria-expanded','true'),_0x20f8fb['setAttribute']('aria-label',this['view']['state']['phrase']('Completions')),_0x20f8fb['addEventListener']('mousedown',_0x444073=>{_0x444073['target']==_0x20f8fb&&_0x444073['preventDefault']();});let _0x4c6f8a=null;for(let _0x804887=_0x4c961a['from'];_0x804887<_0x4c961a['to'];_0x804887++){let {completion:_0x35435d,match:_0x591322}=_0x210197[_0x804887],{section:_0x5bee52}=_0x35435d;if(_0x5bee52){let _0xbfcaee='string'==typeof _0x5bee52?_0x5bee52:_0x5bee52['name'];if(_0xbfcaee!=_0x4c6f8a&&(_0x804887>_0x4c961a['from']||0x0==_0x4c961a['from'])){if(_0x4c6f8a=_0xbfcaee,'string'!=typeof _0x5bee52&&_0x5bee52['header'])_0x20f8fb['appendChild'](_0x5bee52['header'](_0x5bee52));else _0x20f8fb['appendChild'](document['createElement']('completion-section'))['textContent']=_0xbfcaee;}}const _0x1095ec=_0x20f8fb['appendChild'](document['createElement']('li'));_0x1095ec['id']=_0x522e9d+'-'+_0x804887,_0x1095ec['setAttribute']('role','option');let _0x5c7a9f=this['optionClass'](_0x35435d);_0x5c7a9f&&(_0x1095ec['className']=_0x5c7a9f);for(let _0x50aa73 of this['optionContent']){let _0xaf9403=_0x50aa73(_0x35435d,this['view']['state'],this['view'],_0x591322);_0xaf9403&&_0x1095ec['appendChild'](_0xaf9403);}}return _0x4c961a['from']&&_0x20f8fb['classList']['add']('cm-completionListIncompleteTop'),_0x4c961a['to']<_0x210197['length']&&_0x20f8fb['classList']['add']('cm-completionListIncompleteBottom'),_0x20f8fb;}['destroyInfo'](){this['info']&&(this['infoDestroy']&&this['infoDestroy'](),this['info']['remove'](),this['info']=null);}['destroy'](){this['destroyInfo']();}}function completionTooltip(_0x1985b9,_0x9cf16e){return _0x405df7=>new CompletionTooltip(_0x405df7,_0x1985b9,_0x9cf16e);}function scrollIntoView(_0x1845e4,_0x550bd0){let _0x4fbe23=_0x1845e4['getBoundingClientRect'](),_0x511c31=_0x550bd0['getBoundingClientRect'](),_0x2848f6=_0x4fbe23['height']/_0x1845e4['offsetHeight'];_0x511c31['top']<_0x4fbe23['top']?_0x1845e4['scrollTop']-=(_0x4fbe23['top']-_0x511c31['top'])/_0x2848f6:_0x511c31['bottom']>_0x4fbe23['bottom']&&(_0x1845e4['scrollTop']+=(_0x511c31['bottom']-_0x4fbe23['bottom'])/_0x2848f6);}function _0x3a57e1(_0x47577a){return 0x64*(_0x47577a['boost']||0x0)+(_0x47577a['apply']?0xa:0x0)+(_0x47577a['info']?0x5:0x0)+(_0x47577a['type']?0x1:0x0);}function sortOptions(_0x11a3a1,_0xb58e66){let _0x2b69c3=[],_0x3b2b1e=null,_0x594b63=_0x4796c3=>{_0x2b69c3['push'](_0x4796c3);let {section:_0x58e219}=_0x4796c3['completion'];if(_0x58e219){_0x3b2b1e||(_0x3b2b1e=[]);let _0x136b49='string'==typeof _0x58e219?_0x58e219:_0x58e219['name'];_0x3b2b1e['some'](_0x4c4d42=>_0x4c4d42['name']==_0x136b49)||_0x3b2b1e['push']('string'==typeof _0x58e219?{'name':_0x136b49}:_0x58e219);}},_0x2a6d5c=_0xb58e66['facet'](completionConfig);for(let _0x107c10 of _0x11a3a1)if(_0x107c10['hasResult']()){let _0x7fe17a=_0x107c10['result']['getMatch'];if(!0x1===_0x107c10['result']['filter']){for(let _0x344b0c of _0x107c10['result']['options'])_0x594b63(new Option(_0x344b0c,_0x107c10['source'],_0x7fe17a?_0x7fe17a(_0x344b0c):[],0x3b9aca00-_0x2b69c3['length']));}else{let _0x23b507,_0x59bd46=_0xb58e66['sliceDoc'](_0x107c10['from'],_0x107c10['to']),_0x110b2b=_0x2a6d5c['filterStrict']?new StrictMatcher(_0x59bd46):new FuzzyMatcher(_0x59bd46);for(let _0x38f08d of _0x107c10['result']['options'])if(_0x23b507=_0x110b2b['match'](_0x38f08d['label'])){let _0x1accd5=_0x38f08d['displayLabel']?_0x7fe17a?_0x7fe17a(_0x38f08d,_0x23b507['matched']):[]:_0x23b507['matched'];_0x594b63(new Option(_0x38f08d,_0x107c10['source'],_0x1accd5,_0x23b507['score']+(_0x38f08d['boost']||0x0)));}}}if(_0x3b2b1e){let _0xab968e=Object['create'](null),_0x433a80=0x0,_0x31f485=(_0x59f530,_0x385c6a)=>{var _0x437079,_0x19d250;return(null!==(_0x437079=_0x59f530['rank'])&&void 0x0!==_0x437079?_0x437079:0x3b9aca00)-(null!==(_0x19d250=_0x385c6a['rank'])&&void 0x0!==_0x19d250?_0x19d250:0x3b9aca00)||(_0x59f530['name']<_0x385c6a['name']?-0x1:0x1);};for(let _0x12a24f of _0x3b2b1e['sort'](_0x31f485))_0x433a80-=0x186a0,_0xab968e[_0x12a24f['name']]=_0x433a80;for(let _0x51716f of _0x2b69c3){let {section:_0x32ae17}=_0x51716f['completion'];_0x32ae17&&(_0x51716f['score']+=_0xab968e['string'==typeof _0x32ae17?_0x32ae17:_0x32ae17['name']]);}}let _0x2c3af=[],_0x4811da=null,_0x17b066=_0x2a6d5c['compareCompletions'];for(let _0x426566 of _0x2b69c3['sort']((_0x38047a,_0x23a735)=>_0x23a735['score']-_0x38047a['score']||_0x17b066(_0x38047a['completion'],_0x23a735['completion']))){let _0xe3a94f=_0x426566['completion'];!_0x4811da||_0x4811da['label']!=_0xe3a94f['label']||_0x4811da['detail']!=_0xe3a94f['detail']||null!=_0x4811da['type']&&null!=_0xe3a94f['type']&&_0x4811da['type']!=_0xe3a94f['type']||_0x4811da['apply']!=_0xe3a94f['apply']||_0x4811da['boost']!=_0xe3a94f['boost']?_0x2c3af['push'](_0x426566):_0x3a57e1(_0x426566['completion'])>_0x3a57e1(_0x4811da)&&(_0x2c3af[_0x2c3af['length']-0x1]=_0x426566),_0x4811da=_0x426566['completion'];}return _0x2c3af;}class CompletionDialog{constructor(_0x5831c2,_0x51cab7,_0x5b6e09,_0x199205,_0x5b7ffb,_0x1182a4){this['options']=_0x5831c2,this['attrs']=_0x51cab7,this['tooltip']=_0x5b6e09,this['timestamp']=_0x199205,this['selected']=_0x5b7ffb,this['disabled']=_0x1182a4;}['setSelected'](_0x24b095,_0x122892){return _0x24b095==this['selected']||_0x24b095>=this['options']['length']?this:new CompletionDialog(this['options'],makeAttrs(_0x122892,_0x24b095),this['tooltip'],this['timestamp'],_0x24b095,this['disabled']);}static['build'](_0x308b05,_0x4b9329,_0x260330,_0x227a07,_0x3ed9a2,_0x57cd5e){if(_0x227a07&&!_0x57cd5e&&_0x308b05['some'](_0x12ffbc=>_0x12ffbc['isPending']))return _0x227a07['setDisabled']();let _0xc86f42=sortOptions(_0x308b05,_0x4b9329);if(!_0xc86f42['length'])return _0x227a07&&_0x308b05['some'](_0xeac304=>_0xeac304['isPending'])?_0x227a07['setDisabled']():null;let _0xa663e2=_0x4b9329['facet'](completionConfig)['selectOnOpen']?0x0:-0x1;if(_0x227a07&&_0x227a07['selected']!=_0xa663e2&&-0x1!=_0x227a07['selected']){let _0x153ffa=_0x227a07['options'][_0x227a07['selected']]['completion'];for(let _0x541c71=0x0;_0x541c71<_0xc86f42['length'];_0x541c71++)if(_0xc86f42[_0x541c71]['completion']==_0x153ffa){_0xa663e2=_0x541c71;break;}}return new CompletionDialog(_0xc86f42,makeAttrs(_0x260330,_0xa663e2),{'pos':_0x308b05['reduce']((_0x371bd4,_0x56345b)=>_0x56345b['hasResult']()?Math['min'](_0x371bd4,_0x56345b['from']):_0x371bd4,0x5f5e100),'create':createTooltip,'above':_0x3ed9a2['aboveCursor']},_0x227a07?_0x227a07['timestamp']:Date['now'](),_0xa663e2,!0x1);}['map'](_0x998e36){return new CompletionDialog(this['options'],this['attrs'],{...this['tooltip'],'pos':_0x998e36['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(_0x347185,_0x4a2f65,_0x665ae6){this['active']=_0x347185,this['id']=_0x4a2f65,this['open']=_0x665ae6;}static['start'](){return new CompletionState(_0x102cb9,'cm-ac-'+Math['floor'](0x1e8480*Math['random']())['toString'](0x24),null);}['update'](_0x1ffd15){let {state:_0x4638c0}=_0x1ffd15,_0xbe5818=_0x4638c0['facet'](completionConfig),_0x35d9f9=(_0xbe5818['override']||_0x4638c0['languageDataAt']('autocomplete',_0x595f1e(_0x4638c0))['map'](_0x135e57))['map'](_0x2cebca=>{let _0x2aa4ad=this['active']['find'](_0x356a0d=>_0x356a0d['source']==_0x2cebca)||new ActiveSource(_0x2cebca,this['active']['some'](_0x3d841b=>0x0!=_0x3d841b['state'])?0x1:0x0);return _0x2aa4ad['update'](_0x1ffd15,_0xbe5818);});_0x35d9f9['length']==this['active']['length']&&_0x35d9f9['every']((_0xa43dda,_0x114d77)=>_0xa43dda==this['active'][_0x114d77])&&(_0x35d9f9=this['active']);let _0x18283c=this['open'],_0x27e172=_0x1ffd15['effects']['some'](_0x17e513=>_0x17e513['is'](setActiveEffect));_0x18283c&&_0x1ffd15['docChanged']&&(_0x18283c=_0x18283c['map'](_0x1ffd15['changes'])),_0x1ffd15['selection']||_0x35d9f9['some'](_0x3c5cea=>_0x3c5cea['hasResult']()&&_0x1ffd15['changes']['touchesRange'](_0x3c5cea['from'],_0x3c5cea['to']))||!sameResults(_0x35d9f9,this['active'])||_0x27e172?_0x18283c=CompletionDialog['build'](_0x35d9f9,_0x4638c0,this['id'],_0x18283c,_0xbe5818,_0x27e172):_0x18283c&&_0x18283c['disabled']&&!_0x35d9f9['some'](_0x1bbb71=>_0x1bbb71['isPending'])&&(_0x18283c=null),!_0x18283c&&_0x35d9f9['every'](_0x73885b=>!_0x73885b['isPending'])&&_0x35d9f9['some'](_0x1d2e4c=>_0x1d2e4c['hasResult']())&&(_0x35d9f9=_0x35d9f9['map'](_0x1708b4=>_0x1708b4['hasResult']()?new ActiveSource(_0x1708b4['source'],0x0):_0x1708b4));for(let _0x2b9867 of _0x1ffd15['effects'])_0x2b9867['is'](setSelectedEffect)&&(_0x18283c=_0x18283c&&_0x18283c['setSelected'](_0x2b9867['value'],this['id']));return _0x35d9f9==this['active']&&_0x18283c==this['open']?this:new CompletionState(_0x35d9f9,this['id'],_0x18283c);}get['tooltip'](){return this['open']?this['open']['tooltip']:null;}get['attrs'](){return this['open']?this['open']['attrs']:this['active']['length']?baseAttrs:noAttrs;}}function sameResults(_0x292c8c,_0x1ca0fa){if(_0x292c8c==_0x1ca0fa)return!0x0;for(let _0x2a90d2=0x0,_0x57b0cb=0x0;;){for(;_0x2a90d2<_0x292c8c['length']&&!_0x292c8c[_0x2a90d2]['hasResult']();)_0x2a90d2++;for(;_0x57b0cb<_0x1ca0fa['length']&&!_0x1ca0fa[_0x57b0cb]['hasResult']();)_0x57b0cb++;let _0x312634=_0x2a90d2==_0x292c8c['length'],_0x296ad1=_0x57b0cb==_0x1ca0fa['length'];if(_0x312634||_0x296ad1)return _0x312634==_0x296ad1;if(_0x292c8c[_0x2a90d2++]['result']!=_0x1ca0fa[_0x57b0cb++]['result'])return!0x1;}}const baseAttrs={'aria-autocomplete':'list'},noAttrs={};function makeAttrs(_0x4ffb2a,_0x466d24){let _0xb375cd={'aria-autocomplete':'list','aria-haspopup':'listbox','aria-controls':_0x4ffb2a};return _0x466d24>-0x1&&(_0xb375cd['aria-activedescendant']=_0x4ffb2a+'-'+_0x466d24),_0xb375cd;}const _0x102cb9=[];function getUpdateType(_0x4e10d1,_0x215c31){if(_0x4e10d1['isUserEvent']('input.complete')){let _0x5aadda=_0x4e10d1['annotation'](pickedCompletion);if(_0x5aadda&&_0x215c31['activateOnCompletion'](_0x5aadda))return 0xc;}let _0x1eeb0a=_0x4e10d1['isUserEvent']('input.type');return _0x1eeb0a&&_0x215c31['activateOnTyping']?0x5:_0x1eeb0a?0x1:_0x4e10d1['isUserEvent']('delete.backward')?0x2:_0x4e10d1['selection']?0x8:_0x4e10d1['docChanged']?0x10:0x0;}class ActiveSource{constructor(_0x52a17e,_0x247785,_0xb962c0=!0x1){this['source']=_0x52a17e,this['state']=_0x247785,this['explicit']=_0xb962c0;}['hasResult'](){return!0x1;}get['isPending'](){return 0x1==this['state'];}['update'](_0x118889,_0x2ed658){let _0x301db3=getUpdateType(_0x118889,_0x2ed658),_0x5b6d97=this;(0x8&_0x301db3||0x10&_0x301db3&&this['touches'](_0x118889))&&(_0x5b6d97=new ActiveSource(_0x5b6d97['source'],0x0)),0x4&_0x301db3&&0x0==_0x5b6d97['state']&&(_0x5b6d97=new ActiveSource(this['source'],0x1)),_0x5b6d97=_0x5b6d97['updateFor'](_0x118889,_0x301db3);for(let _0x2ebb1a of _0x118889['effects'])if(_0x2ebb1a['is'](startCompletionEffect))_0x5b6d97=new ActiveSource(_0x5b6d97['source'],0x1,_0x2ebb1a['value']);else{if(_0x2ebb1a['is'](closeCompletionEffect))_0x5b6d97=new ActiveSource(_0x5b6d97['source'],0x0);else{if(_0x2ebb1a['is'](setActiveEffect)){for(let _0x5b1b6f of _0x2ebb1a['value'])_0x5b1b6f['source']==_0x5b6d97['source']&&(_0x5b6d97=_0x5b1b6f);}}}return _0x5b6d97;}['updateFor'](_0x34f874,_0x37986e){return this['map'](_0x34f874['changes']);}['map'](_0x254518){return this;}['touches'](_0xfd9915){return _0xfd9915['changes']['touchesRange'](_0x595f1e(_0xfd9915['state']));}}class ActiveResult extends ActiveSource{constructor(_0x1ba18e,_0x577daa,_0x1c0588,_0x48e177,_0x534feb,_0x40c07a){super(_0x1ba18e,0x3,_0x577daa),this['limit']=_0x1c0588,this['result']=_0x48e177,this['from']=_0x534feb,this['to']=_0x40c07a;}['hasResult'](){return!0x0;}['updateFor'](_0x4ee004,_0x49f0e1){var _0x1af03e;if(!(0x3&_0x49f0e1))return this['map'](_0x4ee004['changes']);let _0x547ac0=this['result'];_0x547ac0['map']&&!_0x4ee004['changes']['empty']&&(_0x547ac0=_0x547ac0['map'](_0x547ac0,_0x4ee004['changes']));let _0x1afe4e=_0x4ee004['changes']['mapPos'](this['from']),_0x270203=_0x4ee004['changes']['mapPos'](this['to'],0x1),_0x891397=_0x595f1e(_0x4ee004['state']);if(_0x891397>_0x270203||!_0x547ac0||0x2&_0x49f0e1&&(_0x595f1e(_0x4ee004['startState'])==this['from']||_0x891397<this['limit']))return new ActiveSource(this['source'],0x4&_0x49f0e1?0x1:0x0);let _0x4b3ee8=_0x4ee004['changes']['mapPos'](this['limit']);return _0x16fd07(_0x547ac0['validFor'],_0x4ee004['state'],_0x1afe4e,_0x270203)?new ActiveResult(this['source'],this['explicit'],_0x4b3ee8,_0x547ac0,_0x1afe4e,_0x270203):_0x547ac0['update']&&(_0x547ac0=_0x547ac0['update'](_0x547ac0,_0x1afe4e,_0x270203,new CompletionContext(_0x4ee004['state'],_0x891397,!0x1)))?new ActiveResult(this['source'],this['explicit'],_0x4b3ee8,_0x547ac0,_0x547ac0['from'],null!==(_0x1af03e=_0x547ac0['to'])&&void 0x0!==_0x1af03e?_0x1af03e:_0x595f1e(_0x4ee004['state'])):new ActiveSource(this['source'],0x1,this['explicit']);}['map'](_0x396ea6){if(_0x396ea6['empty'])return this;return(this['result']['map']?this['result']['map'](this['result'],_0x396ea6):this['result'])?new ActiveResult(this['source'],this['explicit'],_0x396ea6['mapPos'](this['limit']),this['result'],_0x396ea6['mapPos'](this['from']),_0x396ea6['mapPos'](this['to'],0x1)):new ActiveSource(this['source'],0x0);}['touches'](_0x3aa213){return _0x3aa213['changes']['touchesRange'](this['from'],this['to']);}}function _0x16fd07(_0x339164,_0x32d40c,_0x526bac,_0x3f2f6b){if(!_0x339164)return!0x1;let _0x3482ac=_0x32d40c['sliceDoc'](_0x526bac,_0x3f2f6b);return'function'==typeof _0x339164?_0x339164(_0x3482ac,_0x526bac,_0x3f2f6b,_0x32d40c):_0x55dd05(_0x339164,!0x0)['test'](_0x3482ac);}const setActiveEffect=StateEffect['define']({'map':(_0x43f6cf,_0x171181)=>_0x43f6cf['map'](_0x2f9dd7=>_0x2f9dd7['map'](_0x171181))}),setSelectedEffect=StateEffect['define'](),completionState=StateField['define']({'create':()=>CompletionState['start'](),'update':(_0x28b37e,_0xd78977)=>_0x28b37e['update'](_0xd78977),'provide':_0x109502=>[showTooltip['from'](_0x109502,_0x266683=>_0x266683['tooltip']),EditorView['contentAttributes']['from'](_0x109502,_0x472765=>_0x472765['attrs'])]});function applyCompletion(_0x1bf67d,_0x2e7a20){const _0x35f2d3=_0x2e7a20['completion']['apply']||_0x2e7a20['completion']['label'];let _0x1af8f7=_0x1bf67d['state']['field'](completionState)['active']['find'](_0x89c58e=>_0x89c58e['source']==_0x2e7a20['source']);return _0x1af8f7 instanceof ActiveResult&&('string'==typeof _0x35f2d3?_0x1bf67d['dispatch']({...insertCompletionText(_0x1bf67d['state'],_0x35f2d3,_0x1af8f7['from'],_0x1af8f7['to']),'annotations':pickedCompletion['of'](_0x2e7a20['completion'])}):_0x35f2d3(_0x1bf67d,_0x2e7a20['completion'],_0x1af8f7['from'],_0x1af8f7['to']),!0x0);}const createTooltip=completionTooltip(completionState,applyCompletion);function moveCompletionSelection(_0x5d9190,_0x5c50e3='option'){return _0x396879=>{let _0x36e186=_0x396879['state']['field'](completionState,!0x1);if(!_0x36e186||!_0x36e186['open']||_0x36e186['open']['disabled']||Date['now']()-_0x36e186['open']['timestamp']<_0x396879['state']['facet'](completionConfig)['interactionDelay'])return!0x1;let _0x24f3d7,_0x143e23=0x1;'page'==_0x5c50e3&&(_0x24f3d7=getTooltip(_0x396879,_0x36e186['open']['tooltip']))&&(_0x143e23=Math['max'](0x2,Math['floor'](_0x24f3d7['dom']['offsetHeight']/_0x24f3d7['dom']['querySelector']('li')['offsetHeight'])-0x1));let {length:_0x21ca6e}=_0x36e186['open']['options'],_0x56bb38=_0x36e186['open']['selected']>-0x1?_0x36e186['open']['selected']+_0x143e23*(_0x5d9190?0x1:-0x1):_0x5d9190?0x0:_0x21ca6e-0x1;return _0x56bb38<0x0?_0x56bb38='page'==_0x5c50e3?0x0:_0x21ca6e-0x1:_0x56bb38>=_0x21ca6e&&(_0x56bb38='page'==_0x5c50e3?_0x21ca6e-0x1:0x0),_0x396879['dispatch']({'effects':setSelectedEffect['of'](_0x56bb38)}),!0x0;};}const acceptCompletion=_0x2c7aae=>{let _0x5750fe=_0x2c7aae['state']['field'](completionState,!0x1);return!(_0x2c7aae['state']['readOnly']||!_0x5750fe||!_0x5750fe['open']||_0x5750fe['open']['selected']<0x0||_0x5750fe['open']['disabled']||Date['now']()-_0x5750fe['open']['timestamp']<_0x2c7aae['state']['facet'](completionConfig)['interactionDelay'])&&applyCompletion(_0x2c7aae,_0x5750fe['open']['options'][_0x5750fe['open']['selected']]);},startCompletion=_0x366ff0=>!!_0x366ff0['state']['field'](completionState,!0x1)&&(_0x366ff0['dispatch']({'effects':startCompletionEffect['of'](!0x0)}),!0x0),closeCompletion=_0x421785=>{let _0x479151=_0x421785['state']['field'](completionState,!0x1);return!(!_0x479151||!_0x479151['active']['some'](_0x49f656=>0x0!=_0x49f656['state']))&&(_0x421785['dispatch']({'effects':closeCompletionEffect['of'](null)}),!0x0);};class _0x2a2053{constructor(_0x263af3,_0x5f93c3){this['active']=_0x263af3,this['context']=_0x5f93c3,this['time']=Date['now'](),this['updates']=[],this['done']=void 0x0;}}const MaxUpdateCount=0x32,MinAbortTime=0x3e8,completionPlugin=_0x19aa80['fromClass'](class{constructor(_0x102e22){this['view']=_0x102e22,this['debounceUpdate']=-0x1,this['running']=[],this['debounceAccept']=-0x1,this['pendingStart']=!0x1,this['composing']=0x0;for(let _0x510f35 of _0x102e22['state']['field'](completionState)['active'])_0x510f35['isPending']&&this['startQuery'](_0x510f35);}['update'](_0x4c1894){let _0xe0571c=_0x4c1894['state']['field'](completionState),_0x12e195=_0x4c1894['state']['facet'](completionConfig);if(!_0x4c1894['selectionSet']&&!_0x4c1894['docChanged']&&_0x4c1894['startState']['field'](completionState)==_0xe0571c)return;let _0x44fbba=_0x4c1894['transactions']['some'](_0x5eb662=>{let _0x4b1374=getUpdateType(_0x5eb662,_0x12e195);return 0x8&_0x4b1374||(_0x5eb662['selection']||_0x5eb662['docChanged'])&&!(0x3&_0x4b1374);});for(let _0x5dfd0d=0x0;_0x5dfd0d<this['running']['length'];_0x5dfd0d++){let _0x29896e=this['running'][_0x5dfd0d];if(_0x44fbba||_0x29896e['context']['abortOnDocChange']&&_0x4c1894['docChanged']||_0x29896e['updates']['length']+_0x4c1894['transactions']['length']>MaxUpdateCount&&Date['now']()-_0x29896e['time']>MinAbortTime){for(let _0x3b82dd of _0x29896e['context']['abortListeners'])try{_0x3b82dd();}catch(_0x39e6b0){logException(this['view']['state'],_0x39e6b0);}_0x29896e['context']['abortListeners']=null,this['running']['splice'](_0x5dfd0d--,0x1);}else _0x29896e['updates']['push'](..._0x4c1894['transactions']);}this['debounceUpdate']>-0x1&&clearTimeout(this['debounceUpdate']),_0x4c1894['transactions']['some'](_0x444df2=>_0x444df2['effects']['some'](_0x5bfea1=>_0x5bfea1['is'](startCompletionEffect)))&&(this['pendingStart']=!0x0);let _0x35debf=this['pendingStart']?0x32:_0x12e195['activateOnTypingDelay'];if(this['debounceUpdate']=_0xe0571c['active']['some'](_0x72974b=>_0x72974b['isPending']&&!this['running']['some'](_0x1b10f0=>_0x1b10f0['active']['source']==_0x72974b['source']))?setTimeout(()=>this['startUpdate'](),_0x35debf):-0x1,0x0!=this['composing']){for(let _0xa6b76 of _0x4c1894['transactions'])_0xa6b76['isUserEvent']('input.type')?this['composing']=0x2:0x2==this['composing']&&_0xa6b76['selection']&&(this['composing']=0x3);}}['startUpdate'](){this['debounceUpdate']=-0x1,this['pendingStart']=!0x1;let {state:_0x4e03b7}=this['view'],_0x1d3274=_0x4e03b7['field'](completionState);for(let _0x17d6b8 of _0x1d3274['active'])_0x17d6b8['isPending']&&!this['running']['some'](_0x57d618=>_0x57d618['active']['source']==_0x17d6b8['source'])&&this['startQuery'](_0x17d6b8);this['running']['length']&&_0x1d3274['open']&&_0x1d3274['open']['disabled']&&(this['debounceAccept']=setTimeout(()=>this['accept'](),this['view']['state']['facet'](completionConfig)['updateSyncTime']));}['startQuery'](_0x1211f8){let {state:_0x3fab3b}=this['view'],_0x1e973a=_0x595f1e(_0x3fab3b),_0xd112af=new CompletionContext(_0x3fab3b,_0x1e973a,_0x1211f8['explicit'],this['view']),_0x38eab6=new _0x2a2053(_0x1211f8,_0xd112af);this['running']['push'](_0x38eab6),Promise['resolve'](_0x1211f8['source'](_0xd112af))['then'](_0x1d28b4=>{_0x38eab6['context']['aborted']||(_0x38eab6['done']=_0x1d28b4||null,this['scheduleAccept']());},_0x4213de=>{this['view']['dispatch']({'effects':closeCompletionEffect['of'](null)}),logException(this['view']['state'],_0x4213de);});}['scheduleAccept'](){this['running']['every'](_0x181c19=>void 0x0!==_0x181c19['done'])?this['accept']():this['debounceAccept']<0x0&&(this['debounceAccept']=setTimeout(()=>this['accept'](),this['view']['state']['facet'](completionConfig)['updateSyncTime']));}['accept'](){var _0x3b5790;this['debounceAccept']>-0x1&&clearTimeout(this['debounceAccept']),this['debounceAccept']=-0x1;let _0x2d8737=[],_0x1e50f5=this['view']['state']['facet'](completionConfig),_0x375bcb=this['view']['state']['field'](completionState);for(let _0x1c66cb=0x0;_0x1c66cb<this['running']['length'];_0x1c66cb++){let _0x5e6428=this['running'][_0x1c66cb];if(void 0x0===_0x5e6428['done'])continue;if(this['running']['splice'](_0x1c66cb--,0x1),_0x5e6428['done']){let _0x4c823c=_0x595f1e(_0x5e6428['updates']['length']?_0x5e6428['updates'][0x0]['startState']:this['view']['state']),_0x54d753=Math['min'](_0x4c823c,_0x5e6428['done']['from']+(_0x5e6428['active']['explicit']?0x0:0x1)),_0x21bca5=new ActiveResult(_0x5e6428['active']['source'],_0x5e6428['active']['explicit'],_0x54d753,_0x5e6428['done'],_0x5e6428['done']['from'],null!==(_0x3b5790=_0x5e6428['done']['to'])&&void 0x0!==_0x3b5790?_0x3b5790:_0x4c823c);for(let _0x37d561 of _0x5e6428['updates'])_0x21bca5=_0x21bca5['update'](_0x37d561,_0x1e50f5);if(_0x21bca5['hasResult']()){_0x2d8737['push'](_0x21bca5);continue;}}let _0x2bc625=_0x375bcb['active']['find'](_0x3260f8=>_0x3260f8['source']==_0x5e6428['active']['source']);if(_0x2bc625&&_0x2bc625['isPending']){if(null==_0x5e6428['done']){let _0x2e5540=new ActiveSource(_0x5e6428['active']['source'],0x0);for(let _0x17dd73 of _0x5e6428['updates'])_0x2e5540=_0x2e5540['update'](_0x17dd73,_0x1e50f5);_0x2e5540['isPending']||_0x2d8737['push'](_0x2e5540);}else this['startQuery'](_0x2bc625);}}(_0x2d8737['length']||_0x375bcb['open']&&_0x375bcb['open']['disabled'])&&this['view']['dispatch']({'effects':setActiveEffect['of'](_0x2d8737)});}},{'eventHandlers':{'blur'(_0x272cea){let _0x15fedd=this['view']['state']['field'](completionState,!0x1);if(_0x15fedd&&_0x15fedd['tooltip']&&this['view']['state']['facet'](completionConfig)['closeOnBlur']){let _0x3d313b=_0x15fedd['open']&&getTooltip(this['view'],_0x15fedd['open']['tooltip']);_0x3d313b&&_0x3d313b['dom']['contains'](_0x272cea['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;}}}),_0x442adf='object'==typeof navigator&&/Win/['test'](navigator['platform']),commitCharacters=_0x4ee962['highest'](EditorView['domEventHandlers']({'keydown'(_0x4e7a75,_0x18da78){let _0x4ea6d0=_0x18da78['state']['field'](completionState,!0x1);if(!_0x4ea6d0||!_0x4ea6d0['open']||_0x4ea6d0['open']['disabled']||_0x4ea6d0['open']['selected']<0x0||_0x4e7a75['key']['length']>0x1||_0x4e7a75['ctrlKey']&&(!_0x442adf||!_0x4e7a75['altKey'])||_0x4e7a75['metaKey'])return!0x1;let _0x42aea7=_0x4ea6d0['open']['options'][_0x4ea6d0['open']['selected']],_0x20f9ee=_0x4ea6d0['active']['find'](_0x2b163d=>_0x2b163d['source']==_0x42aea7['source']),_0x5f4044=_0x42aea7['completion']['commitCharacters']||_0x20f9ee['result']['commitCharacters'];return _0x5f4044&&_0x5f4044['indexOf'](_0x4e7a75['key'])>-0x1&&applyCompletion(_0x18da78,_0x42aea7),!0x1;}})),_0x153c06=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 _0x10f775{constructor(_0x55997e,_0x183713,_0x297287,_0x564c2a){this['field']=_0x55997e,this['line']=_0x183713,this['from']=_0x297287,this['to']=_0x564c2a;}}class _0x32c513{constructor(_0x4dcd52,_0x4cde48,_0x3acdc4){this['field']=_0x4dcd52,this['from']=_0x4cde48,this['to']=_0x3acdc4;}['map'](_0x14be3c){let _0xf7145a=_0x14be3c['mapPos'](this['from'],-0x1,_0x1fe232['TrackDel']),_0x4fd441=_0x14be3c['mapPos'](this['to'],0x1,_0x1fe232['TrackDel']);return null==_0xf7145a||null==_0x4fd441?null:new _0x32c513(this['field'],_0xf7145a,_0x4fd441);}}class Snippet{constructor(_0x22a597,_0x7d28a8){this['lines']=_0x22a597,this['fieldPositions']=_0x7d28a8;}['instantiate'](_0x24cc42,_0x4de418){let _0x4f5fc5=[],_0x5d1939=[_0x4de418],_0x1da0c2=_0x24cc42['doc']['lineAt'](_0x4de418),_0x4616cf=/^\s*/['exec'](_0x1da0c2['text'])[0x0];for(let _0x12e842 of this['lines']){if(_0x4f5fc5['length']){let _0xac43f=_0x4616cf,_0x485793=/^\t*/['exec'](_0x12e842)[0x0]['length'];for(let _0x426d1b=0x0;_0x426d1b<_0x485793;_0x426d1b++)_0xac43f+=_0x24cc42['facet'](indentUnit);_0x5d1939['push'](_0x4de418+_0xac43f['length']-_0x485793),_0x12e842=_0xac43f+_0x12e842['slice'](_0x485793);}_0x4f5fc5['push'](_0x12e842),_0x4de418+=_0x12e842['length']+0x1;}let _0x2c6d36=this['fieldPositions']['map'](_0x3905f1=>new _0x32c513(_0x3905f1['field'],_0x5d1939[_0x3905f1['line']]+_0x3905f1['from'],_0x5d1939[_0x3905f1['line']]+_0x3905f1['to']));return{'text':_0x4f5fc5,'ranges':_0x2c6d36};}static['parse'](_0x5d5716){let _0x20cd2d,_0x5211eb=[],_0x4a641e=[],_0x5b1745=[];for(let _0x379368 of _0x5d5716['split'](/\r\n?|\n/)){for(;_0x20cd2d=/[#$]\{(?:(\d+)(?::([^{}]*))?|((?:\\[{}]|[^{}])*))\}/['exec'](_0x379368);){let _0x4e03ca=_0x20cd2d[0x1]?+_0x20cd2d[0x1]:null,_0x45df7c=_0x20cd2d[0x2]||_0x20cd2d[0x3]||'',_0xf59b78=-0x1,_0x32fdf8=_0x45df7c['replace'](/\\[{}]/g,_0x4d2ce9=>_0x4d2ce9[0x1]);for(let _0x2ffc5c=0x0;_0x2ffc5c<_0x5211eb['length'];_0x2ffc5c++)(null!=_0x4e03ca?_0x5211eb[_0x2ffc5c]['seq']==_0x4e03ca:_0x32fdf8&&_0x5211eb[_0x2ffc5c]['name']==_0x32fdf8)&&(_0xf59b78=_0x2ffc5c);if(_0xf59b78<0x0){let _0x4ff1b2=0x0;for(;_0x4ff1b2<_0x5211eb['length']&&(null==_0x4e03ca||null!=_0x5211eb[_0x4ff1b2]['seq']&&_0x5211eb[_0x4ff1b2]['seq']<_0x4e03ca);)_0x4ff1b2++;_0x5211eb['splice'](_0x4ff1b2,0x0,{'seq':_0x4e03ca,'name':_0x32fdf8}),_0xf59b78=_0x4ff1b2;for(let _0x275a72 of _0x5b1745)_0x275a72['field']>=_0xf59b78&&_0x275a72['field']++;}for(let _0x321761 of _0x5b1745)if(_0x321761['line']==_0x4a641e['length']&&_0x321761['from']>_0x20cd2d['index']){let _0x463d8e=_0x20cd2d[0x2]?0x3+(_0x20cd2d[0x1]||'')['length']:0x2;_0x321761['from']-=_0x463d8e,_0x321761['to']-=_0x463d8e;}_0x5b1745['push'](new _0x10f775(_0xf59b78,_0x4a641e['length'],_0x20cd2d['index'],_0x20cd2d['index']+_0x32fdf8['length'])),_0x379368=_0x379368['slice'](0x0,_0x20cd2d['index'])+_0x45df7c+_0x379368['slice'](_0x20cd2d['index']+_0x20cd2d[0x0]['length']);}_0x379368=_0x379368['replace'](/\\([{}])/g,(_0x150d02,_0x1c8bde,_0x86a1f1)=>{for(let _0x32ca67 of _0x5b1745)_0x32ca67['line']==_0x4a641e['length']&&_0x32ca67['from']>_0x86a1f1&&(_0x32ca67['from']--,_0x32ca67['to']--);return _0x1c8bde;}),_0x4a641e['push'](_0x379368);}return new Snippet(_0x4a641e,_0x5b1745);}}let _0x15acb5=Decoration['widget']({'widget':new class extends WidgetType{['toDOM'](){let _0x3ab2d5=document['createElement']('span');return _0x3ab2d5['className']='cm-snippetFieldPosition',_0x3ab2d5;}['ignoreEvent'](){return!0x1;}}()}),_0x2e0c50=Decoration['mark']({'class':'cm-snippetField'});class ActiveSnippet{constructor(_0x15be95,_0x55f796){this['ranges']=_0x15be95,this['active']=_0x55f796,this['deco']=Decoration['set'](_0x15be95['map'](_0x45a730=>(_0x45a730['from']==_0x45a730['to']?_0x15acb5:_0x2e0c50)['range'](_0x45a730['from'],_0x45a730['to'])),!0x0);}['map'](_0x46e82b){let _0x31f49e=[];for(let _0x107242 of this['ranges']){let _0x7edcde=_0x107242['map'](_0x46e82b);if(!_0x7edcde)return null;_0x31f49e['push'](_0x7edcde);}return new ActiveSnippet(_0x31f49e,this['active']);}['selectionInsideField'](_0x40a3e7){return _0x40a3e7['ranges']['every'](_0x2fd02f=>this['ranges']['some'](_0x2ac291=>_0x2ac291['field']==this['active']&&_0x2ac291['from']<=_0x2fd02f['from']&&_0x2ac291['to']>=_0x2fd02f['to']));}}const setActive=StateEffect['define']({'map':(_0x412498,_0x570c37)=>_0x412498&&_0x412498['map'](_0x570c37)}),_0x2bcfe9=StateEffect['define'](),snippetState=StateField['define']({'create':()=>null,'update'(_0x377fdc,_0x5635d4){for(let _0x4635da of _0x5635d4['effects']){if(_0x4635da['is'](setActive))return _0x4635da['value'];if(_0x4635da['is'](_0x2bcfe9)&&_0x377fdc)return new ActiveSnippet(_0x377fdc['ranges'],_0x4635da['value']);}return _0x377fdc&&_0x5635d4['docChanged']&&(_0x377fdc=_0x377fdc['map'](_0x5635d4['changes'])),_0x377fdc&&_0x5635d4['selection']&&!_0x377fdc['selectionInsideField'](_0x5635d4['selection'])&&(_0x377fdc=null),_0x377fdc;},'provide':_0x1351d4=>EditorView['decorations']['from'](_0x1351d4,_0x45fa69=>_0x45fa69?_0x45fa69['deco']:Decoration['none'])});function fieldSelection(_0x1823a0,_0x10f452){return EditorSelection['create'](_0x1823a0['filter'](_0x236fd6=>_0x236fd6['field']==_0x10f452)['map'](_0x260e97=>EditorSelection['range'](_0x260e97['from'],_0x260e97['to'])));}function snippet(_0x428e5c){let _0x158f49=Snippet['parse'](_0x428e5c);return(_0x345d5f,_0x296000,_0x167380,_0x3b7b01)=>{let {text:_0x2a8a50,ranges:_0x57cddf}=_0x158f49['instantiate'](_0x345d5f['state'],_0x167380),{main:_0x341cde}=_0x345d5f['state']['selection'],_0x19c66c={'changes':{'from':_0x167380,'to':_0x3b7b01==_0x341cde['from']?_0x341cde['to']:_0x3b7b01,'insert':Text['of'](_0x2a8a50)},'scrollIntoView':!0x0,'annotations':_0x296000?[pickedCompletion['of'](_0x296000),Transaction['userEvent']['of']('input.complete')]:void 0x0};if(_0x57cddf['length']&&(_0x19c66c['selection']=fieldSelection(_0x57cddf,0x0)),_0x57cddf['some'](_0x6b2e82=>_0x6b2e82['field']>0x0)){let _0x2a988c=new ActiveSnippet(_0x57cddf,0x0),_0xba6b2c=_0x19c66c['effects']=[setActive['of'](_0x2a988c)];void 0x0===_0x345d5f['state']['field'](snippetState,!0x1)&&_0xba6b2c['push'](StateEffect['appendConfig']['of']([snippetState,addSnippetKeymap,snippetPointerHandler,_0x153c06]));}_0x345d5f['dispatch'](_0x345d5f['state']['update'](_0x19c66c));};}function _0x4c1f6d(_0x132bf6){return({state:_0xc10332,dispatch:_0x260939})=>{let _0x523ebd=_0xc10332['field'](snippetState,!0x1);if(!_0x523ebd||_0x132bf6<0x0&&0x0==_0x523ebd['active'])return!0x1;let _0x10d8ee=_0x523ebd['active']+_0x132bf6,_0x461cb5=_0x132bf6>0x0&&!_0x523ebd['ranges']['some'](_0x4efe14=>_0x4efe14['field']==_0x10d8ee+_0x132bf6);return _0x260939(_0xc10332['update']({'selection':fieldSelection(_0x523ebd['ranges'],_0x10d8ee),'effects':setActive['of'](_0x461cb5?null:new ActiveSnippet(_0x523ebd['ranges'],_0x10d8ee)),'scrollIntoView':!0x0})),!0x0;};}const clearSnippet=({state:_0x4bfa29,dispatch:_0x3b44b5})=>!!_0x4bfa29['field'](snippetState,!0x1)&&(_0x3b44b5(_0x4bfa29['update']({'effects':setActive['of'](null)})),!0x0),nextSnippetField=_0x4c1f6d(0x1),prevSnippetField=_0x4c1f6d(-0x1),defaultSnippetKeymap=[{'key':'Tab','run':nextSnippetField,'shift':prevSnippetField},{'key':'Escape','run':clearSnippet}],snippetKeymap=Facet['define']({'combine':_0x38f6af=>_0x38f6af['length']?_0x38f6af[0x0]:defaultSnippetKeymap}),addSnippetKeymap=_0x4ee962['highest'](_0x4a6f06['compute']([snippetKeymap],_0x3913ab=>_0x3913ab['facet'](snippetKeymap)));function snippetCompletion(_0x5f1f19,_0x440677){return{..._0x440677,'apply':snippet(_0x5f1f19)};}const snippetPointerHandler=EditorView['domEventHandlers']({'mousedown'(_0x39144d,_0x146b2f){let _0x1ec31a,_0x3142ad=_0x146b2f['state']['field'](snippetState,!0x1);if(!_0x3142ad||null==(_0x1ec31a=_0x146b2f['posAtCoords']({'x':_0x39144d['clientX'],'y':_0x39144d['clientY']})))return!0x1;let _0x26c40e=_0x3142ad['ranges']['find'](_0x3209c1=>_0x3209c1['from']<=_0x1ec31a&&_0x3209c1['to']>=_0x1ec31a);return!(!_0x26c40e||_0x26c40e['field']==_0x3142ad['active'])&&(_0x146b2f['dispatch']({'selection':fieldSelection(_0x3142ad['ranges'],_0x26c40e['field']),'effects':setActive['of'](_0x3142ad['ranges']['some'](_0x32d963=>_0x32d963['field']>_0x26c40e['field'])?new ActiveSnippet(_0x3142ad['ranges'],_0x26c40e['field']):null),'scrollIntoView':!0x0}),!0x0);}}),defaults={'brackets':['(','[','{','\x27','\x22'],'before':')]}:;>','stringPrefixes':[]},closeBracketEffect=StateEffect['define']({'map'(_0x3245ec,_0x34dde0){let _0x2fb13d=_0x34dde0['mapPos'](_0x3245ec,-0x1,_0x1fe232['TrackAfter']);return null==_0x2fb13d?void 0x0:_0x2fb13d;}}),closedBracket=new class extends _0x450183{}();closedBracket['startSide']=0x1,closedBracket['endSide']=-0x1;const bracketState=StateField['define']({'create':()=>RangeSet['empty'],'update'(_0x3da8e2,_0x21082e){if(_0x3da8e2=_0x3da8e2['map'](_0x21082e['changes']),_0x21082e['selection']){let _0x123ee6=_0x21082e['state']['doc']['lineAt'](_0x21082e['selection']['main']['head']);_0x3da8e2=_0x3da8e2['update']({'filter':_0x31fff8=>_0x31fff8>=_0x123ee6['from']&&_0x31fff8<=_0x123ee6['to']});}for(let _0x3a9923 of _0x21082e['effects'])_0x3a9923['is'](closeBracketEffect)&&(_0x3da8e2=_0x3da8e2['update']({'add':[closedBracket['range'](_0x3a9923['value'],_0x3a9923['value']+0x1)]}));return _0x3da8e2;}});function closeBrackets(){return[inputHandler,bracketState];}const _0x4d7c3d='()[]{}<>«»»«［］｛｝';function _0x504454(_0x2233af){for(let _0x2201cf=0x0;_0x2201cf<_0x4d7c3d['length'];_0x2201cf+=0x2)if(_0x4d7c3d['charCodeAt'](_0x2201cf)==_0x2233af)return _0x4d7c3d['charAt'](_0x2201cf+0x1);return fromCodePoint(_0x2233af<0x80?_0x2233af:_0x2233af+0x1);}function _0x5cda5f(_0xe93d68,_0xb6ee52){return _0xe93d68['languageDataAt']('closeBrackets',_0xb6ee52)[0x0]||defaults;}const _0x5ea8ba='object'==typeof navigator&&/Android\b/['test'](navigator['userAgent']),inputHandler=EditorView['inputHandler']['of']((_0x1f2f23,_0x561146,_0x4cc7b5,_0x246de2)=>{if((_0x5ea8ba?_0x1f2f23['composing']:_0x1f2f23['compositionStarted'])||_0x1f2f23['state']['readOnly'])return!0x1;let _0x319609=_0x1f2f23['state']['selection']['main'];if(_0x246de2['length']>0x2||0x2==_0x246de2['length']&&0x1==codePointSize(codePointAt(_0x246de2,0x0))||_0x561146!=_0x319609['from']||_0x4cc7b5!=_0x319609['to'])return!0x1;let _0x20de03=insertBracket(_0x1f2f23['state'],_0x246de2);return!!_0x20de03&&(_0x1f2f23['dispatch'](_0x20de03),!0x0);}),deleteBracketPair=({state:_0x1fd95,dispatch:_0xbf2932})=>{if(_0x1fd95['readOnly'])return!0x1;let _0x11bd58=_0x5cda5f(_0x1fd95,_0x1fd95['selection']['main']['head'])['brackets']||defaults['brackets'],_0xfd93e7=null,_0x3fccee=_0x1fd95['changeByRange'](_0x1ae737=>{if(_0x1ae737['empty']){let _0x4d51a1=_0x2531f9(_0x1fd95['doc'],_0x1ae737['head']);for(let _0x497397 of _0x11bd58)if(_0x497397==_0x4d51a1&&nextChar(_0x1fd95['doc'],_0x1ae737['head'])==_0x504454(codePointAt(_0x497397,0x0)))return{'changes':{'from':_0x1ae737['head']-_0x497397['length'],'to':_0x1ae737['head']+_0x497397['length']},'range':EditorSelection['cursor'](_0x1ae737['head']-_0x497397['length'])};}return{'range':_0xfd93e7=_0x1ae737};});return _0xfd93e7||_0xbf2932(_0x1fd95['update'](_0x3fccee,{'scrollIntoView':!0x0,'userEvent':'delete.backward'})),!_0xfd93e7;},closeBracketsKeymap=[{'key':'Backspace','run':deleteBracketPair}];function insertBracket(_0x97e4ed,_0x45e920){let _0x1f222c=_0x5cda5f(_0x97e4ed,_0x97e4ed['selection']['main']['head']),_0x2b20f2=_0x1f222c['brackets']||defaults['brackets'];for(let _0x41543d of _0x2b20f2){let _0x2a4078=_0x504454(codePointAt(_0x41543d,0x0));if(_0x45e920==_0x41543d)return _0x2a4078==_0x41543d?_0x1bbb54(_0x97e4ed,_0x41543d,_0x2b20f2['indexOf'](_0x41543d+_0x41543d+_0x41543d)>-0x1,_0x1f222c):_0x4d39fd(_0x97e4ed,_0x41543d,_0x2a4078,_0x1f222c['before']||defaults['before']);if(_0x45e920==_0x2a4078&&closedBracketAt(_0x97e4ed,_0x97e4ed['selection']['main']['from']))return _0x1574ac(_0x97e4ed,_0x41543d,_0x2a4078);}return null;}function closedBracketAt(_0x339cb4,_0x78fab5){let _0x1435c8=!0x1;return _0x339cb4['field'](bracketState)['between'](0x0,_0x339cb4['doc']['length'],_0x33594a=>{_0x33594a==_0x78fab5&&(_0x1435c8=!0x0);}),_0x1435c8;}function nextChar(_0x242ad1,_0x108521){let _0x28f27c=_0x242ad1['sliceString'](_0x108521,_0x108521+0x2);return _0x28f27c['slice'](0x0,codePointSize(codePointAt(_0x28f27c,0x0)));}function _0x2531f9(_0x5825f5,_0x30b857){let _0x4af32c=_0x5825f5['sliceString'](_0x30b857-0x2,_0x30b857);return codePointSize(codePointAt(_0x4af32c,0x0))==_0x4af32c['length']?_0x4af32c:_0x4af32c['slice'](0x1);}function _0x4d39fd(_0xd92deb,_0x457c5e,_0x419a76,_0x3360fb){let _0x23eb18=null,_0x43bd5d=_0xd92deb['changeByRange'](_0xcfb9d9=>{if(!_0xcfb9d9['empty'])return{'changes':[{'insert':_0x457c5e,'from':_0xcfb9d9['from']},{'insert':_0x419a76,'from':_0xcfb9d9['to']}],'effects':closeBracketEffect['of'](_0xcfb9d9['to']+_0x457c5e['length']),'range':EditorSelection['range'](_0xcfb9d9['anchor']+_0x457c5e['length'],_0xcfb9d9['head']+_0x457c5e['length'])};let _0x531d9f=nextChar(_0xd92deb['doc'],_0xcfb9d9['head']);return!_0x531d9f||/\s/['test'](_0x531d9f)||_0x3360fb['indexOf'](_0x531d9f)>-0x1?{'changes':{'insert':_0x457c5e+_0x419a76,'from':_0xcfb9d9['head']},'effects':closeBracketEffect['of'](_0xcfb9d9['head']+_0x457c5e['length']),'range':EditorSelection['cursor'](_0xcfb9d9['head']+_0x457c5e['length'])}:{'range':_0x23eb18=_0xcfb9d9};});return _0x23eb18?null:_0xd92deb['update'](_0x43bd5d,{'scrollIntoView':!0x0,'userEvent':'input.type'});}function _0x1574ac(_0x5c8042,_0x4bf954,_0x4827eb){let _0x218a15=null,_0x133cfc=_0x5c8042['changeByRange'](_0x206d8a=>_0x206d8a['empty']&&nextChar(_0x5c8042['doc'],_0x206d8a['head'])==_0x4827eb?{'changes':{'from':_0x206d8a['head'],'to':_0x206d8a['head']+_0x4827eb['length'],'insert':_0x4827eb},'range':EditorSelection['cursor'](_0x206d8a['head']+_0x4827eb['length'])}:_0x218a15={'range':_0x206d8a});return _0x218a15?null:_0x5c8042['update'](_0x133cfc,{'scrollIntoView':!0x0,'userEvent':'input.type'});}function _0x1bbb54(_0x49e7a7,_0x1df17a,_0xdf9a87,_0x26b3c7){let _0x1bcae0=_0x26b3c7['stringPrefixes']||defaults['stringPrefixes'],_0x121ac5=null,_0x30e74e=_0x49e7a7['changeByRange'](_0x27d04c=>{if(!_0x27d04c['empty'])return{'changes':[{'insert':_0x1df17a,'from':_0x27d04c['from']},{'insert':_0x1df17a,'from':_0x27d04c['to']}],'effects':closeBracketEffect['of'](_0x27d04c['to']+_0x1df17a['length']),'range':EditorSelection['range'](_0x27d04c['anchor']+_0x1df17a['length'],_0x27d04c['head']+_0x1df17a['length'])};let _0x52bcb9,_0x4ad65a=_0x27d04c['head'],_0x43f496=nextChar(_0x49e7a7['doc'],_0x4ad65a);if(_0x43f496==_0x1df17a){if(nodeStart(_0x49e7a7,_0x4ad65a))return{'changes':{'insert':_0x1df17a+_0x1df17a,'from':_0x4ad65a},'effects':closeBracketEffect['of'](_0x4ad65a+_0x1df17a['length']),'range':EditorSelection['cursor'](_0x4ad65a+_0x1df17a['length'])};if(closedBracketAt(_0x49e7a7,_0x4ad65a)){let _0x51a8d6=_0xdf9a87&&_0x49e7a7['sliceDoc'](_0x4ad65a,_0x4ad65a+0x3*_0x1df17a['length'])==_0x1df17a+_0x1df17a+_0x1df17a?_0x1df17a+_0x1df17a+_0x1df17a:_0x1df17a;return{'changes':{'from':_0x4ad65a,'to':_0x4ad65a+_0x51a8d6['length'],'insert':_0x51a8d6},'range':EditorSelection['cursor'](_0x4ad65a+_0x51a8d6['length'])};}}else{if(_0xdf9a87&&_0x49e7a7['sliceDoc'](_0x4ad65a-0x2*_0x1df17a['length'],_0x4ad65a)==_0x1df17a+_0x1df17a&&(_0x52bcb9=canStartStringAt(_0x49e7a7,_0x4ad65a-0x2*_0x1df17a['length'],_0x1bcae0))>-0x1&&nodeStart(_0x49e7a7,_0x52bcb9))return{'changes':{'insert':_0x1df17a+_0x1df17a+_0x1df17a+_0x1df17a,'from':_0x4ad65a},'effects':closeBracketEffect['of'](_0x4ad65a+_0x1df17a['length']),'range':EditorSelection['cursor'](_0x4ad65a+_0x1df17a['length'])};if(_0x49e7a7['charCategorizer'](_0x4ad65a)(_0x43f496)!=CharCategory['Word']&&canStartStringAt(_0x49e7a7,_0x4ad65a,_0x1bcae0)>-0x1&&!probablyInString(_0x49e7a7,_0x4ad65a,_0x1df17a,_0x1bcae0))return{'changes':{'insert':_0x1df17a+_0x1df17a,'from':_0x4ad65a},'effects':closeBracketEffect['of'](_0x4ad65a+_0x1df17a['length']),'range':EditorSelection['cursor'](_0x4ad65a+_0x1df17a['length'])};}return{'range':_0x121ac5=_0x27d04c};});return _0x121ac5?null:_0x49e7a7['update'](_0x30e74e,{'scrollIntoView':!0x0,'userEvent':'input.type'});}function nodeStart(_0xa1ffd4,_0x30310f){let _0x17d7d7=syntaxTree(_0xa1ffd4)['resolveInner'](_0x30310f+0x1);return _0x17d7d7['parent']&&_0x17d7d7['from']==_0x30310f;}function probablyInString(_0x275d71,_0x56b523,_0x183ffb,_0x5a12aa){let _0x5e5d8f=syntaxTree(_0x275d71)['resolveInner'](_0x56b523,-0x1),_0x50a46a=_0x5a12aa['reduce']((_0x514702,_0xc418ce)=>Math['max'](_0x514702,_0xc418ce['length']),0x0);for(let _0x5c4dc1=0x0;_0x5c4dc1<0x5;_0x5c4dc1++){let _0x2149df=_0x275d71['sliceDoc'](_0x5e5d8f['from'],Math['min'](_0x5e5d8f['to'],_0x5e5d8f['from']+_0x183ffb['length']+_0x50a46a)),_0x2fecbc=_0x2149df['indexOf'](_0x183ffb);if(!_0x2fecbc||_0x2fecbc>-0x1&&_0x5a12aa['indexOf'](_0x2149df['slice'](0x0,_0x2fecbc))>-0x1){let _0x1f5720=_0x5e5d8f['firstChild'];for(;_0x1f5720&&_0x1f5720['from']==_0x5e5d8f['from']&&_0x1f5720['to']-_0x1f5720['from']>_0x183ffb['length']+_0x2fecbc;){if(_0x275d71['sliceDoc'](_0x1f5720['to']-_0x183ffb['length'],_0x1f5720['to'])==_0x183ffb)return!0x1;_0x1f5720=_0x1f5720['firstChild'];}return!0x0;}let _0x46f8a6=_0x5e5d8f['to']==_0x56b523&&_0x5e5d8f['parent'];if(!_0x46f8a6)break;_0x5e5d8f=_0x46f8a6;}return!0x1;}function canStartStringAt(_0xd77a6e,_0x14b3fa,_0x4aa244){let _0x1cb09b=_0xd77a6e['charCategorizer'](_0x14b3fa);if(_0x1cb09b(_0xd77a6e['sliceDoc'](_0x14b3fa-0x1,_0x14b3fa))!=CharCategory['Word'])return _0x14b3fa;for(let _0xeb109d of _0x4aa244){let _0x19e054=_0x14b3fa-_0xeb109d['length'];if(_0xd77a6e['sliceDoc'](_0x19e054,_0x14b3fa)==_0xeb109d&&_0x1cb09b(_0xd77a6e['sliceDoc'](_0x19e054-0x1,_0x19e054))!=CharCategory['Word'])return _0x19e054;}return-0x1;}function autocompletion(_0x278a9b={}){return[commitCharacters,completionState,completionConfig['of'](_0x278a9b),completionPlugin,completionKeymapExt,_0x153c06];}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=_0x4ee962['highest'](_0x4a6f06['computeN']([completionConfig],_0x2bbe7c=>_0x2bbe7c['facet'](completionConfig)['defaultKeymap']?[completionKeymap]:[]));class Stack{constructor(_0x480aca,_0x2f2b92,_0x2078e0,_0x4019a5,_0x382447,_0x292788,_0x4fb5a1,_0x8a7a18,_0x2070cd,_0x5120fe=0x0,_0x53e4e0){this['p']=_0x480aca,this['stack']=_0x2f2b92,this['state']=_0x2078e0,this['reducePos']=_0x4019a5,this['pos']=_0x382447,this['score']=_0x292788,this['buffer']=_0x4fb5a1,this['bufferBase']=_0x8a7a18,this['curContext']=_0x2070cd,this['lookAhead']=_0x5120fe,this['parent']=_0x53e4e0;}['toString'](){return'['+this['stack']['filter']((_0xd00c6a,_0xa039db)=>_0xa039db%0x3==0x0)['concat'](this['state'])+']@'+this['pos']+(this['score']?'!'+this['score']:'');}static['start'](_0x5ba8d1,_0x51cc1c,_0x47809b=0x0){let _0x2b9a4b=_0x5ba8d1['parser']['context'];return new Stack(_0x5ba8d1,[],_0x51cc1c,_0x47809b,_0x47809b,0x0,[],0x0,_0x2b9a4b?new StackContext(_0x2b9a4b,_0x2b9a4b['start']):null,0x0,null);}get['context'](){return this['curContext']?this['curContext']['context']:null;}['pushState'](_0x491f52,_0x5c55e6){this['stack']['push'](this['state'],_0x5c55e6,this['bufferBase']+this['buffer']['length']),this['state']=_0x491f52;}['reduce'](_0x33c2ec){var _0x26801f;let _0x5a55d6=_0x33c2ec>>0x13,_0xc4c163=0xffff&_0x33c2ec,{parser:_0x594e1f}=this['p'],_0x255e87=this['reducePos']<this['pos']-0x19;_0x255e87&&this['setLookAhead'](this['pos']);let _0x10b70b=_0x594e1f['dynamicPrecedence'](_0xc4c163);if(_0x10b70b&&(this['score']+=_0x10b70b),0x0==_0x5a55d6)return this['pushState'](_0x594e1f['getGoto'](this['state'],_0xc4c163,!0x0),this['reducePos']),_0xc4c163<_0x594e1f['minRepeatTerm']&&this['storeNode'](_0xc4c163,this['reducePos'],this['reducePos'],_0x255e87?0x8:0x4,!0x0),void this['reduceContext'](_0xc4c163,this['reducePos']);let _0x25f78f=this['stack']['length']-0x3*(_0x5a55d6-0x1)-(0x40000&_0x33c2ec?0x6:0x0),_0x35cd58=_0x25f78f?this['stack'][_0x25f78f-0x2]:this['p']['ranges'][0x0]['from'],_0x409883=this['reducePos']-_0x35cd58;_0x409883>=0x7d0&&!(null===(_0x26801f=this['p']['parser']['nodeSet']['types'][_0xc4c163])||void 0x0===_0x26801f?void 0x0:_0x26801f['isAnonymous'])&&(_0x35cd58==this['p']['lastBigReductionStart']?(this['p']['bigReductionCount']++,this['p']['lastBigReductionSize']=_0x409883):this['p']['lastBigReductionSize']<_0x409883&&(this['p']['bigReductionCount']=0x1,this['p']['lastBigReductionStart']=_0x35cd58,this['p']['lastBigReductionSize']=_0x409883));let _0x1e7a44=_0x25f78f?this['stack'][_0x25f78f-0x1]:0x0,_0x3fe745=this['bufferBase']+this['buffer']['length']-_0x1e7a44;if(_0xc4c163<_0x594e1f['minRepeatTerm']||0x20000&_0x33c2ec){let _0x46c4a9=_0x594e1f['stateFlag'](this['state'],0x1)?this['pos']:this['reducePos'];this['storeNode'](_0xc4c163,_0x35cd58,_0x46c4a9,_0x3fe745+0x4,!0x0);}if(0x40000&_0x33c2ec)this['state']=this['stack'][_0x25f78f];else{let _0x2f2c5a=this['stack'][_0x25f78f-0x3];this['state']=_0x594e1f['getGoto'](_0x2f2c5a,_0xc4c163,!0x0);}for(;this['stack']['length']>_0x25f78f;)this['stack']['pop']();this['reduceContext'](_0xc4c163,_0x35cd58);}['storeNode'](_0x47a6a5,_0x462d19,_0x3abeb4,_0x4aa0ce=0x4,_0x47a001=!0x1){if(0x0==_0x47a6a5&&(!this['stack']['length']||this['stack'][this['stack']['length']-0x1]<this['buffer']['length']+this['bufferBase'])){let _0x3f25a9=this,_0x3e3273=this['buffer']['length'];if(0x0==_0x3e3273&&_0x3f25a9['parent']&&(_0x3e3273=_0x3f25a9['bufferBase']-_0x3f25a9['parent']['bufferBase'],_0x3f25a9=_0x3f25a9['parent']),_0x3e3273>0x0&&0x0==_0x3f25a9['buffer'][_0x3e3273-0x4]&&_0x3f25a9['buffer'][_0x3e3273-0x1]>-0x1){if(_0x462d19==_0x3abeb4)return;if(_0x3f25a9['buffer'][_0x3e3273-0x2]>=_0x462d19)return void(_0x3f25a9['buffer'][_0x3e3273-0x2]=_0x3abeb4);}}if(_0x47a001&&this['pos']!=_0x3abeb4){let _0x31fa14=this['buffer']['length'];if(_0x31fa14>0x0&&0x0!=this['buffer'][_0x31fa14-0x4]){let _0x597ce8=!0x1;for(let _0x1ccb9c=_0x31fa14;_0x1ccb9c>0x0&&this['buffer'][_0x1ccb9c-0x2]>_0x3abeb4;_0x1ccb9c-=0x4)if(this['buffer'][_0x1ccb9c-0x1]>=0x0){_0x597ce8=!0x0;break;}if(_0x597ce8){for(;_0x31fa14>0x0&&this['buffer'][_0x31fa14-0x2]>_0x3abeb4;)this['buffer'][_0x31fa14]=this['buffer'][_0x31fa14-0x4],this['buffer'][_0x31fa14+0x1]=this['buffer'][_0x31fa14-0x3],this['buffer'][_0x31fa14+0x2]=this['buffer'][_0x31fa14-0x2],this['buffer'][_0x31fa14+0x3]=this['buffer'][_0x31fa14-0x1],_0x31fa14-=0x4,_0x4aa0ce>0x4&&(_0x4aa0ce-=0x4);}}this['buffer'][_0x31fa14]=_0x47a6a5,this['buffer'][_0x31fa14+0x1]=_0x462d19,this['buffer'][_0x31fa14+0x2]=_0x3abeb4,this['buffer'][_0x31fa14+0x3]=_0x4aa0ce;}else this['buffer']['push'](_0x47a6a5,_0x462d19,_0x3abeb4,_0x4aa0ce);}['shift'](_0x1b2848,_0x460715,_0x3d6b68,_0x1d5462){if(0x20000&_0x1b2848)this['pushState'](0xffff&_0x1b2848,this['pos']);else{if(0x40000&_0x1b2848)this['pos']=_0x1d5462,this['shiftContext'](_0x460715,_0x3d6b68),_0x460715<=this['p']['parser']['maxNode']&&this['buffer']['push'](_0x460715,_0x3d6b68,_0x1d5462,0x4);else{let _0x380df1=_0x1b2848,{parser:_0x25b88d}=this['p'];(_0x1d5462>this['pos']||_0x460715<=_0x25b88d['maxNode'])&&(this['pos']=_0x1d5462,_0x25b88d['stateFlag'](_0x380df1,0x1)||(this['reducePos']=_0x1d5462)),this['pushState'](_0x380df1,_0x3d6b68),this['shiftContext'](_0x460715,_0x3d6b68),_0x460715<=_0x25b88d['maxNode']&&this['buffer']['push'](_0x460715,_0x3d6b68,_0x1d5462,0x4);}}}['apply'](_0x88b9ef,_0x3c3a66,_0x2e8e98,_0x2a1c1c){0x10000&_0x88b9ef?this['reduce'](_0x88b9ef):this['shift'](_0x88b9ef,_0x3c3a66,_0x2e8e98,_0x2a1c1c);}['useNode'](_0xb2cab,_0x517fdb){let _0x382afc=this['p']['reused']['length']-0x1;(_0x382afc<0x0||this['p']['reused'][_0x382afc]!=_0xb2cab)&&(this['p']['reused']['push'](_0xb2cab),_0x382afc++);let _0xf3b16a=this['pos'];this['reducePos']=this['pos']=_0xf3b16a+_0xb2cab['length'],this['pushState'](_0x517fdb,_0xf3b16a),this['buffer']['push'](_0x382afc,_0xf3b16a,this['reducePos'],-0x1),this['curContext']&&this['updateContext'](this['curContext']['tracker']['reuse'](this['curContext']['context'],_0xb2cab,this,this['p']['stream']['reset'](this['pos']-_0xb2cab['length'])));}['split'](){let _0x1815ca=this,_0x46d916=_0x1815ca['buffer']['length'];for(;_0x46d916>0x0&&_0x1815ca['buffer'][_0x46d916-0x2]>_0x1815ca['reducePos'];)_0x46d916-=0x4;let _0x4f4108=_0x1815ca['buffer']['slice'](_0x46d916),_0x3020e7=_0x1815ca['bufferBase']+_0x46d916;for(;_0x1815ca&&_0x3020e7==_0x1815ca['bufferBase'];)_0x1815ca=_0x1815ca['parent'];return new Stack(this['p'],this['stack']['slice'](),this['state'],this['reducePos'],this['pos'],this['score'],_0x4f4108,_0x3020e7,this['curContext'],this['lookAhead'],_0x1815ca);}['recoverByDelete'](_0x141838,_0x317ea7){let _0x34e440=_0x141838<=this['p']['parser']['maxNode'];_0x34e440&&this['storeNode'](_0x141838,this['pos'],_0x317ea7,0x4),this['storeNode'](0x0,this['pos'],_0x317ea7,_0x34e440?0x8:0x4),this['pos']=this['reducePos']=_0x317ea7,this['score']-=0xbe;}['canShift'](_0x20f097){for(let _0x46e597=new SimulatedStack(this);;){let _0x4e8a50=this['p']['parser']['stateSlot'](_0x46e597['state'],0x4)||this['p']['parser']['hasAction'](_0x46e597['state'],_0x20f097);if(0x0==_0x4e8a50)return!0x1;if(!(0x10000&_0x4e8a50))return!0x0;_0x46e597['reduce'](_0x4e8a50);}}['recoverByInsert'](_0x5edd65){if(this['stack']['length']>=0x12c)return[];let _0x4f4bb4=this['p']['parser']['nextStates'](this['state']);if(_0x4f4bb4['length']>0x8||this['stack']['length']>=0x78){let _0x3625ce=[];for(let _0x212f31,_0x58c83d=0x0;_0x58c83d<_0x4f4bb4['length'];_0x58c83d+=0x2)(_0x212f31=_0x4f4bb4[_0x58c83d+0x1])!=this['state']&&this['p']['parser']['hasAction'](_0x212f31,_0x5edd65)&&_0x3625ce['push'](_0x4f4bb4[_0x58c83d],_0x212f31);if(this['stack']['length']<0x78)for(let _0x3ac1d1=0x0;_0x3625ce['length']<0x8&&_0x3ac1d1<_0x4f4bb4['length'];_0x3ac1d1+=0x2){let _0x14e8bc=_0x4f4bb4[_0x3ac1d1+0x1];_0x3625ce['some']((_0x29fa68,_0x1a2033)=>0x1&_0x1a2033&&_0x29fa68==_0x14e8bc)||_0x3625ce['push'](_0x4f4bb4[_0x3ac1d1],_0x14e8bc);}_0x4f4bb4=_0x3625ce;}let _0x56c9c7=[];for(let _0x221777=0x0;_0x221777<_0x4f4bb4['length']&&_0x56c9c7['length']<0x4;_0x221777+=0x2){let _0x136ec1=_0x4f4bb4[_0x221777+0x1];if(_0x136ec1==this['state'])continue;let _0x168ce8=this['split']();_0x168ce8['pushState'](_0x136ec1,this['pos']),_0x168ce8['storeNode'](0x0,_0x168ce8['pos'],_0x168ce8['pos'],0x4,!0x0),_0x168ce8['shiftContext'](_0x4f4bb4[_0x221777],this['pos']),_0x168ce8['reducePos']=this['pos'],_0x168ce8['score']-=0xc8,_0x56c9c7['push'](_0x168ce8);}return _0x56c9c7;}['forceReduce'](){let {parser:_0x5c5c5e}=this['p'],_0x599ebe=_0x5c5c5e['stateSlot'](this['state'],0x5);if(!(0x10000&_0x599ebe))return!0x1;if(!_0x5c5c5e['validAction'](this['state'],_0x599ebe)){let _0x104322=_0x599ebe>>0x13,_0x4a597c=0xffff&_0x599ebe,_0x23f3a7=this['stack']['length']-0x3*_0x104322;if(_0x23f3a7<0x0||_0x5c5c5e['getGoto'](this['stack'][_0x23f3a7],_0x4a597c,!0x1)<0x0){let _0x5ad216=this['findForcedReduction']();if(null==_0x5ad216)return!0x1;_0x599ebe=_0x5ad216;}this['storeNode'](0x0,this['pos'],this['pos'],0x4,!0x0),this['score']-=0x64;}return this['reducePos']=this['pos'],this['reduce'](_0x599ebe),!0x0;}['findForcedReduction'](){let {parser:_0x4aa65c}=this['p'],_0x4fe202=[],_0x11fc05=(_0x5cc4c9,_0x491c42)=>{if(!_0x4fe202['includes'](_0x5cc4c9))return _0x4fe202['push'](_0x5cc4c9),_0x4aa65c['allActions'](_0x5cc4c9,_0x472bf1=>{if(0x60000&_0x472bf1);else{if(0x10000&_0x472bf1){let _0x1b102b=(_0x472bf1>>0x13)-_0x491c42;if(_0x1b102b>0x1){let _0x18b072=0xffff&_0x472bf1,_0x168b0d=this['stack']['length']-0x3*_0x1b102b;if(_0x168b0d>=0x0&&_0x4aa65c['getGoto'](this['stack'][_0x168b0d],_0x18b072,!0x1)>=0x0)return _0x1b102b<<0x13|0x10000|_0x18b072;}}else{let _0x1794c1=_0x11fc05(_0x472bf1,_0x491c42+0x1);if(null!=_0x1794c1)return _0x1794c1;}}});};return _0x11fc05(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:_0x3459cc}=this['p'];return 0xffff==_0x3459cc['data'][_0x3459cc['stateSlot'](this['state'],0x1)]&&!_0x3459cc['stateSlot'](this['state'],0x4);}['restart'](){this['storeNode'](0x0,this['pos'],this['pos'],0x4,!0x0),this['state']=this['stack'][0x0],this['stack']['length']=0x0;}['sameState'](_0x357784){if(this['state']!=_0x357784['state']||this['stack']['length']!=_0x357784['stack']['length'])return!0x1;for(let _0x3415a5=0x0;_0x3415a5<this['stack']['length'];_0x3415a5+=0x3)if(this['stack'][_0x3415a5]!=_0x357784['stack'][_0x3415a5])return!0x1;return!0x0;}get['parser'](){return this['p']['parser'];}['dialectEnabled'](_0x35fec1){return this['p']['parser']['dialect']['flags'][_0x35fec1];}['shiftContext'](_0x1999bc,_0x26085b){this['curContext']&&this['updateContext'](this['curContext']['tracker']['shift'](this['curContext']['context'],_0x1999bc,this,this['p']['stream']['reset'](_0x26085b)));}['reduceContext'](_0x3aa17d,_0x5f50d2){this['curContext']&&this['updateContext'](this['curContext']['tracker']['reduce'](this['curContext']['context'],_0x3aa17d,this,this['p']['stream']['reset'](_0x5f50d2)));}['emitContext'](){let _0x34b61f=this['buffer']['length']-0x1;(_0x34b61f<0x0||-0x3!=this['buffer'][_0x34b61f])&&this['buffer']['push'](this['curContext']['hash'],this['pos'],this['pos'],-0x3);}['emitLookAhead'](){let _0x4072f7=this['buffer']['length']-0x1;(_0x4072f7<0x0||-0x4!=this['buffer'][_0x4072f7])&&this['buffer']['push'](this['lookAhead'],this['pos'],this['pos'],-0x4);}['updateContext'](_0x9605a){if(_0x9605a!=this['curContext']['context']){let _0x5522ed=new StackContext(this['curContext']['tracker'],_0x9605a);_0x5522ed['hash']!=this['curContext']['hash']&&this['emitContext'](),this['curContext']=_0x5522ed;}}['setLookAhead'](_0x20e6d1){_0x20e6d1>this['lookAhead']&&(this['emitLookAhead'](),this['lookAhead']=_0x20e6d1);}['close'](){this['curContext']&&this['curContext']['tracker']['strict']&&this['emitContext'](),this['lookAhead']>0x0&&this['emitLookAhead']();}}class StackContext{constructor(_0x306936,_0x4091e8){this['tracker']=_0x306936,this['context']=_0x4091e8,this['hash']=_0x306936['strict']?_0x306936['hash'](_0x4091e8):0x0;}}class SimulatedStack{constructor(_0x4411d5){this['start']=_0x4411d5,this['state']=_0x4411d5['state'],this['stack']=_0x4411d5['stack'],this['base']=this['stack']['length'];}['reduce'](_0x5b6bed){let _0x3d7421=0xffff&_0x5b6bed,_0x3f0f25=_0x5b6bed>>0x13;0x0==_0x3f0f25?(this['stack']==this['start']['stack']&&(this['stack']=this['stack']['slice']()),this['stack']['push'](this['state'],0x0,0x0),this['base']+=0x3):this['base']-=0x3*(_0x3f0f25-0x1);let _0x57e827=this['start']['p']['parser']['getGoto'](this['stack'][this['base']-0x3],_0x3d7421,!0x0);this['state']=_0x57e827;}}class StackBufferCursor{constructor(_0xdce30c,_0x4446e6,_0x2db68d){this['stack']=_0xdce30c,this['pos']=_0x4446e6,this['index']=_0x2db68d,this['buffer']=_0xdce30c['buffer'],0x0==this['index']&&this['maybeNext']();}static['create'](_0x49d46e,_0x5d6828=_0x49d46e['bufferBase']+_0x49d46e['buffer']['length']){return new StackBufferCursor(_0x49d46e,_0x5d6828,_0x5d6828-_0x49d46e['bufferBase']);}['maybeNext'](){let _0x38aaaa=this['stack']['parent'];null!=_0x38aaaa&&(this['index']=this['stack']['bufferBase']-_0x38aaaa['bufferBase'],this['stack']=_0x38aaaa,this['buffer']=_0x38aaaa['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 _0x35760f(_0x4118c4,_0x5d7a8c=Uint16Array){if('string'!=typeof _0x4118c4)return _0x4118c4;let _0x5c56a2=null;for(let _0x1deb05=0x0,_0x5228e2=0x0;_0x1deb05<_0x4118c4['length'];){let _0x26f0e6=0x0;for(;;){let _0x1ce3b7=_0x4118c4['charCodeAt'](_0x1deb05++),_0x404167=!0x1;if(0x7e==_0x1ce3b7){_0x26f0e6=0xffff;break;}_0x1ce3b7>=0x5c&&_0x1ce3b7--,_0x1ce3b7>=0x22&&_0x1ce3b7--;let _0x1bbc6f=_0x1ce3b7-0x20;if(_0x1bbc6f>=0x2e&&(_0x1bbc6f-=0x2e,_0x404167=!0x0),_0x26f0e6+=_0x1bbc6f,_0x404167)break;_0x26f0e6*=0x2e;}_0x5c56a2?_0x5c56a2[_0x5228e2++]=_0x26f0e6:_0x5c56a2=new _0x5d7a8c(_0x26f0e6);}return _0x5c56a2;}class _0x4e166e{constructor(){this['start']=-0x1,this['value']=-0x1,this['end']=-0x1,this['extended']=-0x1,this['lookAhead']=0x0,this['mask']=0x0,this['context']=0x0;}}const _0x3f09b0=new _0x4e166e();class InputStream{constructor(_0x14b1c5,_0x257b1b){this['input']=_0x14b1c5,this['ranges']=_0x257b1b,this['chunk']='',this['chunkOff']=0x0,this['chunk2']='',this['chunk2Pos']=0x0,this['next']=-0x1,this['token']=_0x3f09b0,this['rangeIndex']=0x0,this['pos']=this['chunkPos']=_0x257b1b[0x0]['from'],this['range']=_0x257b1b[0x0],this['end']=_0x257b1b[_0x257b1b['length']-0x1]['to'],this['readNext']();}['resolveOffset'](_0xa6db12,_0xb2fabc){let _0x4d046c=this['range'],_0x3c7a62=this['rangeIndex'],_0x505255=this['pos']+_0xa6db12;for(;_0x505255<_0x4d046c['from'];){if(!_0x3c7a62)return null;let _0x4b9dbd=this['ranges'][--_0x3c7a62];_0x505255-=_0x4d046c['from']-_0x4b9dbd['to'],_0x4d046c=_0x4b9dbd;}for(;_0xb2fabc<0x0?_0x505255>_0x4d046c['to']:_0x505255>=_0x4d046c['to'];){if(_0x3c7a62==this['ranges']['length']-0x1)return null;let _0x14a446=this['ranges'][++_0x3c7a62];_0x505255+=_0x14a446['from']-_0x4d046c['to'],_0x4d046c=_0x14a446;}return _0x505255;}['clipPos'](_0x54da15){if(_0x54da15>=this['range']['from']&&_0x54da15<this['range']['to'])return _0x54da15;for(let _0xb9af20 of this['ranges'])if(_0xb9af20['to']>_0x54da15)return Math['max'](_0x54da15,_0xb9af20['from']);return this['end'];}['peek'](_0x13b439){let _0x4fbb2d,_0x3a1a6a,_0x842049=this['chunkOff']+_0x13b439;if(_0x842049>=0x0&&_0x842049<this['chunk']['length'])_0x4fbb2d=this['pos']+_0x13b439,_0x3a1a6a=this['chunk']['charCodeAt'](_0x842049);else{let _0x5731fd=this['resolveOffset'](_0x13b439,0x1);if(null==_0x5731fd)return-0x1;if(_0x4fbb2d=_0x5731fd,_0x4fbb2d>=this['chunk2Pos']&&_0x4fbb2d<this['chunk2Pos']+this['chunk2']['length'])_0x3a1a6a=this['chunk2']['charCodeAt'](_0x4fbb2d-this['chunk2Pos']);else{let _0x2bde14=this['rangeIndex'],_0x25bef6=this['range'];for(;_0x25bef6['to']<=_0x4fbb2d;)_0x25bef6=this['ranges'][++_0x2bde14];this['chunk2']=this['input']['chunk'](this['chunk2Pos']=_0x4fbb2d),_0x4fbb2d+this['chunk2']['length']>_0x25bef6['to']&&(this['chunk2']=this['chunk2']['slice'](0x0,_0x25bef6['to']-_0x4fbb2d)),_0x3a1a6a=this['chunk2']['charCodeAt'](0x0);}}return _0x4fbb2d>=this['token']['lookAhead']&&(this['token']['lookAhead']=_0x4fbb2d+0x1),_0x3a1a6a;}['acceptToken'](_0x2750eb,_0x4e1232=0x0){let _0x4589be=_0x4e1232?this['resolveOffset'](_0x4e1232,-0x1):this['pos'];if(null==_0x4589be||_0x4589be<this['token']['start'])throw new RangeError('Token\x20end\x20out\x20of\x20bounds');this['token']['value']=_0x2750eb,this['token']['end']=_0x4589be;}['acceptTokenTo'](_0x4402b1,_0x532e84){this['token']['value']=_0x4402b1,this['token']['end']=_0x532e84;}['getChunk'](){if(this['pos']>=this['chunk2Pos']&&this['pos']<this['chunk2Pos']+this['chunk2']['length']){let {chunk:_0x419d4c,chunkPos:_0x1f1a02}=this;this['chunk']=this['chunk2'],this['chunkPos']=this['chunk2Pos'],this['chunk2']=_0x419d4c,this['chunk2Pos']=_0x1f1a02,this['chunkOff']=this['pos']-this['chunkPos'];}else{this['chunk2']=this['chunk'],this['chunk2Pos']=this['chunkPos'];let _0x237bb1=this['input']['chunk'](this['pos']),_0x2d223a=this['pos']+_0x237bb1['length'];this['chunk']=_0x2d223a>this['range']['to']?_0x237bb1['slice'](0x0,this['range']['to']-this['pos']):_0x237bb1,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'](_0x25333b=0x1){for(this['chunkOff']+=_0x25333b;this['pos']+_0x25333b>=this['range']['to'];){if(this['rangeIndex']==this['ranges']['length']-0x1)return this['setDone']();_0x25333b-=this['range']['to']-this['pos'],this['range']=this['ranges'][++this['rangeIndex']],this['pos']=this['range']['from'];}return this['pos']+=_0x25333b,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'](_0x4c259f,_0xa0a2aa){if(_0xa0a2aa?(this['token']=_0xa0a2aa,_0xa0a2aa['start']=_0x4c259f,_0xa0a2aa['lookAhead']=_0x4c259f+0x1,_0xa0a2aa['value']=_0xa0a2aa['extended']=-0x1):this['token']=_0x3f09b0,this['pos']!=_0x4c259f){if(this['pos']=_0x4c259f,_0x4c259f==this['end'])return this['setDone'](),this;for(;_0x4c259f<this['range']['from'];)this['range']=this['ranges'][--this['rangeIndex']];for(;_0x4c259f>=this['range']['to'];)this['range']=this['ranges'][++this['rangeIndex']];_0x4c259f>=this['chunkPos']&&_0x4c259f<this['chunkPos']+this['chunk']['length']?this['chunkOff']=_0x4c259f-this['chunkPos']:(this['chunk']='',this['chunkOff']=0x0),this['readNext']();}return this;}['read'](_0x33911d,_0x2a8f00){if(_0x33911d>=this['chunkPos']&&_0x2a8f00<=this['chunkPos']+this['chunk']['length'])return this['chunk']['slice'](_0x33911d-this['chunkPos'],_0x2a8f00-this['chunkPos']);if(_0x33911d>=this['chunk2Pos']&&_0x2a8f00<=this['chunk2Pos']+this['chunk2']['length'])return this['chunk2']['slice'](_0x33911d-this['chunk2Pos'],_0x2a8f00-this['chunk2Pos']);if(_0x33911d>=this['range']['from']&&_0x2a8f00<=this['range']['to'])return this['input']['read'](_0x33911d,_0x2a8f00);let _0xddd994='';for(let _0x3fb07f of this['ranges']){if(_0x3fb07f['from']>=_0x2a8f00)break;_0x3fb07f['to']>_0x33911d&&(_0xddd994+=this['input']['read'](Math['max'](_0x3fb07f['from'],_0x33911d),Math['min'](_0x3fb07f['to'],_0x2a8f00)));}return _0xddd994;}}class _0x25f95b{constructor(_0x759d6b,_0x2ff019){this['data']=_0x759d6b,this['id']=_0x2ff019;}['token'](_0x476571,_0x3c2280){let {parser:_0x5134a2}=_0x3c2280['p'];_0x3cac1a(this['data'],_0x476571,_0x3c2280,this['id'],_0x5134a2['data'],_0x5134a2['tokenPrecTable']);}}_0x25f95b['prototype']['contextual']=_0x25f95b['prototype']['fallback']=_0x25f95b['prototype']['extend']=!0x1;class _0x555634{constructor(_0x4b50cd,_0x34bd26,_0xd5e68d){this['precTable']=_0x34bd26,this['elseToken']=_0xd5e68d,this['data']='string'==typeof _0x4b50cd?_0x35760f(_0x4b50cd):_0x4b50cd;}['token'](_0x25d4ad,_0x46ecd8){let _0x18935d=_0x25d4ad['pos'],_0x4d26ab=0x0;for(;;){let _0x10b490=_0x25d4ad['next']<0x0,_0x26d736=_0x25d4ad['resolveOffset'](0x1,0x1);if(_0x3cac1a(this['data'],_0x25d4ad,_0x46ecd8,0x0,this['data'],this['precTable']),_0x25d4ad['token']['value']>-0x1)break;if(null==this['elseToken'])return;if(_0x10b490||_0x4d26ab++,null==_0x26d736)break;_0x25d4ad['reset'](_0x26d736,_0x25d4ad['token']);}_0x4d26ab&&(_0x25d4ad['reset'](_0x18935d,_0x25d4ad['token']),_0x25d4ad['acceptToken'](this['elseToken'],_0x4d26ab));}}_0x555634['prototype']['contextual']=_0x25f95b['prototype']['fallback']=_0x25f95b['prototype']['extend']=!0x1;class ExternalTokenizer{constructor(_0x5a8d80,_0x499f4b={}){this['token']=_0x5a8d80,this['contextual']=!!_0x499f4b['contextual'],this['fallback']=!!_0x499f4b['fallback'],this['extend']=!!_0x499f4b['extend'];}}function _0x3cac1a(_0x1570be,_0x681ec2,_0x293ec9,_0x533c19,_0xedc565,_0x4bbef2){let _0x3b1f47=0x0,_0x2e892a=0x1<<_0x533c19,{dialect:_0x4442c5}=_0x293ec9['p']['parser'];t:for(;0x0!=(_0x2e892a&_0x1570be[_0x3b1f47]);){let _0x23b737=_0x1570be[_0x3b1f47+0x1];for(let _0x3bfa81=_0x3b1f47+0x3;_0x3bfa81<_0x23b737;_0x3bfa81+=0x2)if((_0x1570be[_0x3bfa81+0x1]&_0x2e892a)>0x0){let _0x487122=_0x1570be[_0x3bfa81];if(_0x4442c5['allows'](_0x487122)&&(-0x1==_0x681ec2['token']['value']||_0x681ec2['token']['value']==_0x487122||_0x307a0d(_0x487122,_0x681ec2['token']['value'],_0xedc565,_0x4bbef2))){_0x681ec2['acceptToken'](_0x487122);break;}}let _0x4a2122=_0x681ec2['next'],_0x3368c6=0x0,_0x575c9e=_0x1570be[_0x3b1f47+0x2];if(!(_0x681ec2['next']<0x0&&_0x575c9e>_0x3368c6&&0xffff==_0x1570be[_0x23b737+0x3*_0x575c9e-0x3])){for(;_0x3368c6<_0x575c9e;){let _0x4f1212=_0x3368c6+_0x575c9e>>0x1,_0x317e45=_0x23b737+_0x4f1212+(_0x4f1212<<0x1),_0x5d558d=_0x1570be[_0x317e45],_0x293511=_0x1570be[_0x317e45+0x1]||0x10000;if(_0x4a2122<_0x5d558d)_0x575c9e=_0x4f1212;else{if(!(_0x4a2122>=_0x293511)){_0x3b1f47=_0x1570be[_0x317e45+0x2],_0x681ec2['advance']();continue t;}_0x3368c6=_0x4f1212+0x1;}}break;}_0x3b1f47=_0x1570be[_0x23b737+0x3*_0x575c9e-0x1];}}function findOffset(_0x1f4a8b,_0x1562d7,_0x3d199c){for(let _0x29eb3d,_0x26d9e4=_0x1562d7;0xffff!=(_0x29eb3d=_0x1f4a8b[_0x26d9e4]);_0x26d9e4++)if(_0x29eb3d==_0x3d199c)return _0x26d9e4-_0x1562d7;return-0x1;}function _0x307a0d(_0x51c27a,_0x13a9b2,_0x3b3bfc,_0x1426db){let _0x14ed3c=findOffset(_0x3b3bfc,_0x1426db,_0x13a9b2);return _0x14ed3c<0x0||findOffset(_0x3b3bfc,_0x1426db,_0x51c27a)<_0x14ed3c;}const _0x4d4a7c='undefined'!=typeof process&&process['env']&&/\bparse\b/['test'](process['env']['LOG']);let stackIDs=null;function cutAt(_0x1ce8ba,_0x14850e,_0x345b39){let _0x1f335f=_0x1ce8ba['cursor'](IterMode['IncludeAnonymous']);for(_0x1f335f['moveTo'](_0x14850e);;)if(!(_0x345b39<0x0?_0x1f335f['childBefore'](_0x14850e):_0x1f335f['childAfter'](_0x14850e)))for(;;){if((_0x345b39<0x0?_0x1f335f['to']<_0x14850e:_0x1f335f['from']>_0x14850e)&&!_0x1f335f['type']['isError'])return _0x345b39<0x0?Math['max'](0x0,Math['min'](_0x1f335f['to']-0x1,_0x14850e-0x19)):Math['min'](_0x1ce8ba['length'],Math['max'](_0x1f335f['from']+0x1,_0x14850e+0x19));if(_0x345b39<0x0?_0x1f335f['prevSibling']():_0x1f335f['nextSibling']())break;if(!_0x1f335f['parent']())return _0x345b39<0x0?0x0:_0x1ce8ba['length'];}}let FragmentCursor$1=class{constructor(_0x1dfda0,_0x28bd8c){this['fragments']=_0x1dfda0,this['nodeSet']=_0x28bd8c,this['i']=0x0,this['fragment']=null,this['safeFrom']=-0x1,this['safeTo']=-0x1,this['trees']=[],this['start']=[],this['index']=[],this['nextFragment']();}['nextFragment'](){let _0x42a0c7=this['fragment']=this['i']==this['fragments']['length']?null:this['fragments'][this['i']++];if(_0x42a0c7){for(this['safeFrom']=_0x42a0c7['openStart']?cutAt(_0x42a0c7['tree'],_0x42a0c7['from']+_0x42a0c7['offset'],0x1)-_0x42a0c7['offset']:_0x42a0c7['from'],this['safeTo']=_0x42a0c7['openEnd']?cutAt(_0x42a0c7['tree'],_0x42a0c7['to']+_0x42a0c7['offset'],-0x1)-_0x42a0c7['offset']:_0x42a0c7['to'];this['trees']['length'];)this['trees']['pop'](),this['start']['pop'](),this['index']['pop']();this['trees']['push'](_0x42a0c7['tree']),this['start']['push'](-_0x42a0c7['offset']),this['index']['push'](0x0),this['nextStart']=this['safeFrom'];}else this['nextStart']=0x3b9aca00;}['nodeAt'](_0x319269){if(_0x319269<this['nextStart'])return null;for(;this['fragment']&&this['safeTo']<=_0x319269;)this['nextFragment']();if(!this['fragment'])return null;for(;;){let _0x5a7d86=this['trees']['length']-0x1;if(_0x5a7d86<0x0)return this['nextFragment'](),null;let _0x2255fa=this['trees'][_0x5a7d86],_0x205362=this['index'][_0x5a7d86];if(_0x205362==_0x2255fa['children']['length']){this['trees']['pop'](),this['start']['pop'](),this['index']['pop']();continue;}let _0xafb421=_0x2255fa['children'][_0x205362],_0x1c8205=this['start'][_0x5a7d86]+_0x2255fa['positions'][_0x205362];if(_0x1c8205>_0x319269)return this['nextStart']=_0x1c8205,null;if(_0xafb421 instanceof _0x17cdb3){if(_0x1c8205==_0x319269){if(_0x1c8205<this['safeFrom'])return null;let _0x3505d0=_0x1c8205+_0xafb421['length'];if(_0x3505d0<=this['safeTo']){let _0x1cf94b=_0xafb421['prop'](_0x519268['lookAhead']);if(!_0x1cf94b||_0x3505d0+_0x1cf94b<this['fragment']['to'])return _0xafb421;}}this['index'][_0x5a7d86]++,_0x1c8205+_0xafb421['length']>=Math['max'](this['safeFrom'],_0x319269)&&(this['trees']['push'](_0xafb421),this['start']['push'](_0x1c8205),this['index']['push'](0x0));}else this['index'][_0x5a7d86]++,this['nextStart']=_0x1c8205+_0xafb421['length'];}}};class _0x5b6d38{constructor(_0x457aa2,_0xf35073){this['stream']=_0xf35073,this['tokens']=[],this['mainToken']=null,this['actions']=[],this['tokens']=_0x457aa2['tokenizers']['map'](_0x5804fa=>new _0x4e166e());}['getActions'](_0x40e49c){let _0x577a99=0x0,_0x3e0457=null,{parser:_0x217155}=_0x40e49c['p'],{tokenizers:_0x967c5d}=_0x217155,_0x15b963=_0x217155['stateSlot'](_0x40e49c['state'],0x3),_0x2d203c=_0x40e49c['curContext']?_0x40e49c['curContext']['hash']:0x0,_0x388546=0x0;for(let _0x116864=0x0;_0x116864<_0x967c5d['length'];_0x116864++){if(!(0x1<<_0x116864&_0x15b963))continue;let _0x42c6cc=_0x967c5d[_0x116864],_0x1e2ab6=this['tokens'][_0x116864];if((!_0x3e0457||_0x42c6cc['fallback'])&&((_0x42c6cc['contextual']||_0x1e2ab6['start']!=_0x40e49c['pos']||_0x1e2ab6['mask']!=_0x15b963||_0x1e2ab6['context']!=_0x2d203c)&&(this['updateCachedToken'](_0x1e2ab6,_0x42c6cc,_0x40e49c),_0x1e2ab6['mask']=_0x15b963,_0x1e2ab6['context']=_0x2d203c),_0x1e2ab6['lookAhead']>_0x1e2ab6['end']+0x19&&(_0x388546=Math['max'](_0x1e2ab6['lookAhead'],_0x388546)),0x0!=_0x1e2ab6['value'])){let _0x3ec00e=_0x577a99;if(_0x1e2ab6['extended']>-0x1&&(_0x577a99=this['addActions'](_0x40e49c,_0x1e2ab6['extended'],_0x1e2ab6['end'],_0x577a99)),_0x577a99=this['addActions'](_0x40e49c,_0x1e2ab6['value'],_0x1e2ab6['end'],_0x577a99),!_0x42c6cc['extend']&&(_0x3e0457=_0x1e2ab6,_0x577a99>_0x3ec00e))break;}}for(;this['actions']['length']>_0x577a99;)this['actions']['pop']();return _0x388546&&_0x40e49c['setLookAhead'](_0x388546),_0x3e0457||_0x40e49c['pos']!=this['stream']['end']||(_0x3e0457=new _0x4e166e(),_0x3e0457['value']=_0x40e49c['p']['parser']['eofTerm'],_0x3e0457['start']=_0x3e0457['end']=_0x40e49c['pos'],_0x577a99=this['addActions'](_0x40e49c,_0x3e0457['value'],_0x3e0457['end'],_0x577a99)),this['mainToken']=_0x3e0457,this['actions'];}['getMainToken'](_0x1b6d25){if(this['mainToken'])return this['mainToken'];let _0x556d01=new _0x4e166e(),{pos:_0x124724,p:_0x15c366}=_0x1b6d25;return _0x556d01['start']=_0x124724,_0x556d01['end']=Math['min'](_0x124724+0x1,_0x15c366['stream']['end']),_0x556d01['value']=_0x124724==_0x15c366['stream']['end']?_0x15c366['parser']['eofTerm']:0x0,_0x556d01;}['updateCachedToken'](_0xb9fb70,_0x22c10c,_0x25d6a3){let _0x71865=this['stream']['clipPos'](_0x25d6a3['pos']);if(_0x22c10c['token'](this['stream']['reset'](_0x71865,_0xb9fb70),_0x25d6a3),_0xb9fb70['value']>-0x1){let {parser:_0x4db35e}=_0x25d6a3['p'];for(let _0x448be6=0x0;_0x448be6<_0x4db35e['specialized']['length'];_0x448be6++)if(_0x4db35e['specialized'][_0x448be6]==_0xb9fb70['value']){let _0xd41ece=_0x4db35e['specializers'][_0x448be6](this['stream']['read'](_0xb9fb70['start'],_0xb9fb70['end']),_0x25d6a3);if(_0xd41ece>=0x0&&_0x25d6a3['p']['parser']['dialect']['allows'](_0xd41ece>>0x1)){0x1&_0xd41ece?_0xb9fb70['extended']=_0xd41ece>>0x1:_0xb9fb70['value']=_0xd41ece>>0x1;break;}}}else _0xb9fb70['value']=0x0,_0xb9fb70['end']=this['stream']['clipPos'](_0x71865+0x1);}['putAction'](_0xf811f9,_0x3673cb,_0x52c7df,_0x41481a){for(let _0x416de9=0x0;_0x416de9<_0x41481a;_0x416de9+=0x3)if(this['actions'][_0x416de9]==_0xf811f9)return _0x41481a;return this['actions'][_0x41481a++]=_0xf811f9,this['actions'][_0x41481a++]=_0x3673cb,this['actions'][_0x41481a++]=_0x52c7df,_0x41481a;}['addActions'](_0xc5a0f2,_0x3e45c6,_0x131b9d,_0x478b24){let {state:_0x2136ab}=_0xc5a0f2,{parser:_0xbc96a5}=_0xc5a0f2['p'],{data:_0x5d19ec}=_0xbc96a5;for(let _0x3a654a=0x0;_0x3a654a<0x2;_0x3a654a++)for(let _0x57f424=_0xbc96a5['stateSlot'](_0x2136ab,_0x3a654a?0x2:0x1);;_0x57f424+=0x3){if(0xffff==_0x5d19ec[_0x57f424]){if(0x1!=_0x5d19ec[_0x57f424+0x1]){0x0==_0x478b24&&0x2==_0x5d19ec[_0x57f424+0x1]&&(_0x478b24=this['putAction'](_0x3ef361(_0x5d19ec,_0x57f424+0x2),_0x3e45c6,_0x131b9d,_0x478b24));break;}_0x57f424=_0x3ef361(_0x5d19ec,_0x57f424+0x2);}_0x5d19ec[_0x57f424]==_0x3e45c6&&(_0x478b24=this['putAction'](_0x3ef361(_0x5d19ec,_0x57f424+0x1),_0x3e45c6,_0x131b9d,_0x478b24));}return _0x478b24;}}class _0x2dc800{constructor(_0x989f1f,_0x5a47b8,_0x46c73e,_0x5f4935){this['parser']=_0x989f1f,this['input']=_0x5a47b8,this['ranges']=_0x5f4935,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(_0x5a47b8,_0x5f4935),this['tokens']=new _0x5b6d38(_0x989f1f,this['stream']),this['topTerm']=_0x989f1f['top'][0x1];let {from:_0x484135}=_0x5f4935[0x0];this['stacks']=[Stack['start'](this,_0x989f1f['top'][0x0],_0x484135)],this['fragments']=_0x46c73e['length']&&this['stream']['end']-_0x484135>0x4*_0x989f1f['bufferLength']?new FragmentCursor$1(_0x46c73e,_0x989f1f['nodeSet']):null;}get['parsedPos'](){return this['minStackPos'];}['advance'](){let _0x1ebed6,_0x4437c8,_0x21f962=this['stacks'],_0x1339ea=this['minStackPos'],_0x3be4c3=this['stacks']=[];if(this['bigReductionCount']>0x12c&&0x1==_0x21f962['length']){let [_0x31a59c]=_0x21f962;for(;_0x31a59c['forceReduce']()&&_0x31a59c['stack']['length']&&_0x31a59c['stack'][_0x31a59c['stack']['length']-0x2]>=this['lastBigReductionStart'];);this['bigReductionCount']=this['lastBigReductionSize']=0x0;}for(let _0x8e49ac=0x0;_0x8e49ac<_0x21f962['length'];_0x8e49ac++){let _0x23db6a=_0x21f962[_0x8e49ac];for(;;){if(this['tokens']['mainToken']=null,_0x23db6a['pos']>_0x1339ea)_0x3be4c3['push'](_0x23db6a);else{if(this['advanceStack'](_0x23db6a,_0x3be4c3,_0x21f962))continue;{_0x1ebed6||(_0x1ebed6=[],_0x4437c8=[]),_0x1ebed6['push'](_0x23db6a);let _0x1ee21d=this['tokens']['getMainToken'](_0x23db6a);_0x4437c8['push'](_0x1ee21d['value'],_0x1ee21d['end']);}}break;}}if(!_0x3be4c3['length']){let _0x46f149=_0x1ebed6&&_0x441aaa(_0x1ebed6);if(_0x46f149)return _0x4d4a7c&&console['log']('Finish\x20with\x20'+this['stackID'](_0x46f149)),this['stackToTree'](_0x46f149);if(this['parser']['strict'])throw _0x4d4a7c&&_0x1ebed6&&console['log']('Stuck\x20with\x20token\x20'+(this['tokens']['mainToken']?this['parser']['getName'](this['tokens']['mainToken']['value']):'none')),new SyntaxError('No\x20parse\x20at\x20'+_0x1339ea);this['recovering']||(this['recovering']=0x5);}if(this['recovering']&&_0x1ebed6){let _0x13cf98=null!=this['stoppedAt']&&_0x1ebed6[0x0]['pos']>this['stoppedAt']?_0x1ebed6[0x0]:this['runRecovery'](_0x1ebed6,_0x4437c8,_0x3be4c3);if(_0x13cf98)return _0x4d4a7c&&console['log']('Force-finish\x20'+this['stackID'](_0x13cf98)),this['stackToTree'](_0x13cf98['forceAll']());}if(this['recovering']){let _0x40e7a1=0x1==this['recovering']?0x1:0x3*this['recovering'];if(_0x3be4c3['length']>_0x40e7a1){for(_0x3be4c3['sort']((_0x35d905,_0x329e93)=>_0x329e93['score']-_0x35d905['score']);_0x3be4c3['length']>_0x40e7a1;)_0x3be4c3['pop']();}_0x3be4c3['some'](_0x270d57=>_0x270d57['reducePos']>_0x1339ea)&&this['recovering']--;}else{if(_0x3be4c3['length']>0x1){t:for(let _0x5e9fa8=0x0;_0x5e9fa8<_0x3be4c3['length']-0x1;_0x5e9fa8++){let _0x21eac2=_0x3be4c3[_0x5e9fa8];for(let _0x57d88e=_0x5e9fa8+0x1;_0x57d88e<_0x3be4c3['length'];_0x57d88e++){let _0x3e29e0=_0x3be4c3[_0x57d88e];if(_0x21eac2['sameState'](_0x3e29e0)||_0x21eac2['buffer']['length']>0x1f4&&_0x3e29e0['buffer']['length']>0x1f4){if(!((_0x21eac2['score']-_0x3e29e0['score']||_0x21eac2['buffer']['length']-_0x3e29e0['buffer']['length'])>0x0)){_0x3be4c3['splice'](_0x5e9fa8--,0x1);continue t;}_0x3be4c3['splice'](_0x57d88e--,0x1);}}}_0x3be4c3['length']>0xc&&_0x3be4c3['splice'](0xc,_0x3be4c3['length']-0xc);}}this['minStackPos']=_0x3be4c3[0x0]['pos'];for(let _0x573712=0x1;_0x573712<_0x3be4c3['length'];_0x573712++)_0x3be4c3[_0x573712]['pos']<this['minStackPos']&&(this['minStackPos']=_0x3be4c3[_0x573712]['pos']);return null;}['stopAt'](_0x1f84ea){if(null!=this['stoppedAt']&&this['stoppedAt']<_0x1f84ea)throw new RangeError('Can\x27t\x20move\x20stoppedAt\x20forward');this['stoppedAt']=_0x1f84ea;}['advanceStack'](_0x1a116b,_0x598026,_0x3c36fb){let _0x280b8a=_0x1a116b['pos'],{parser:_0x1ffa15}=this,_0xab67ec=_0x4d4a7c?this['stackID'](_0x1a116b)+'\x20->\x20':'';if(null!=this['stoppedAt']&&_0x280b8a>this['stoppedAt'])return _0x1a116b['forceReduce']()?_0x1a116b:null;if(this['fragments']){let _0x5b3c9e=_0x1a116b['curContext']&&_0x1a116b['curContext']['tracker']['strict'],_0x22914f=_0x5b3c9e?_0x1a116b['curContext']['hash']:0x0;for(let _0x2461e3=this['fragments']['nodeAt'](_0x280b8a);_0x2461e3;){let _0x4a1ddc=this['parser']['nodeSet']['types'][_0x2461e3['type']['id']]==_0x2461e3['type']?_0x1ffa15['getGoto'](_0x1a116b['state'],_0x2461e3['type']['id']):-0x1;if(_0x4a1ddc>-0x1&&_0x2461e3['length']&&(!_0x5b3c9e||(_0x2461e3['prop'](_0x519268['contextHash'])||0x0)==_0x22914f))return _0x1a116b['useNode'](_0x2461e3,_0x4a1ddc),_0x4d4a7c&&console['log'](_0xab67ec+this['stackID'](_0x1a116b)+('\x20(via\x20reuse\x20of\x20'+_0x1ffa15['getName'](_0x2461e3['type']['id'])+')')),!0x0;if(!(_0x2461e3 instanceof _0x17cdb3)||0x0==_0x2461e3['children']['length']||_0x2461e3['positions'][0x0]>0x0)break;let _0x1d97e9=_0x2461e3['children'][0x0];if(!(_0x1d97e9 instanceof _0x17cdb3&&0x0==_0x2461e3['positions'][0x0]))break;_0x2461e3=_0x1d97e9;}}let _0xb496fe=_0x1ffa15['stateSlot'](_0x1a116b['state'],0x4);if(_0xb496fe>0x0)return _0x1a116b['reduce'](_0xb496fe),_0x4d4a7c&&console['log'](_0xab67ec+this['stackID'](_0x1a116b)+('\x20(via\x20always-reduce\x20'+_0x1ffa15['getName'](0xffff&_0xb496fe)+')')),!0x0;if(_0x1a116b['stack']['length']>=0x20d0){for(;_0x1a116b['stack']['length']>0x1770&&_0x1a116b['forceReduce'](););}let _0x252b1c=this['tokens']['getActions'](_0x1a116b);for(let _0x11fcc7=0x0;_0x11fcc7<_0x252b1c['length'];){let _0x276022=_0x252b1c[_0x11fcc7++],_0x3482ec=_0x252b1c[_0x11fcc7++],_0x45fe11=_0x252b1c[_0x11fcc7++],_0x23f0e1=_0x11fcc7==_0x252b1c['length']||!_0x3c36fb,_0x3d6143=_0x23f0e1?_0x1a116b:_0x1a116b['split'](),_0x347fe4=this['tokens']['mainToken'];if(_0x3d6143['apply'](_0x276022,_0x3482ec,_0x347fe4?_0x347fe4['start']:_0x3d6143['pos'],_0x45fe11),_0x4d4a7c&&console['log'](_0xab67ec+this['stackID'](_0x3d6143)+('\x20(via\x20'+(0x10000&_0x276022?'reduce\x20of\x20'+_0x1ffa15['getName'](0xffff&_0x276022):'shift')+'\x20for\x20'+_0x1ffa15['getName'](_0x3482ec)+'\x20@\x20'+_0x280b8a+(_0x3d6143==_0x1a116b?'':',\x20split')+')')),_0x23f0e1)return!0x0;_0x3d6143['pos']>_0x280b8a?_0x598026['push'](_0x3d6143):_0x3c36fb['push'](_0x3d6143);}return!0x1;}['advanceFully'](_0x49427c,_0x3667e6){let _0xaea0d1=_0x49427c['pos'];for(;;){if(!this['advanceStack'](_0x49427c,null,null))return!0x1;if(_0x49427c['pos']>_0xaea0d1)return pushStackDedup(_0x49427c,_0x3667e6),!0x0;}}['runRecovery'](_0x55c23e,_0x19530b,_0xff4c83){let _0x210e36=null,_0x193ee6=!0x1;for(let _0x5adac3=0x0;_0x5adac3<_0x55c23e['length'];_0x5adac3++){let _0x14ef01=_0x55c23e[_0x5adac3],_0x41676f=_0x19530b[_0x5adac3<<0x1],_0x28b965=_0x19530b[0x1+(_0x5adac3<<0x1)],_0x85ee8a=_0x4d4a7c?this['stackID'](_0x14ef01)+'\x20->\x20':'';if(_0x14ef01['deadEnd']){if(_0x193ee6)continue;if(_0x193ee6=!0x0,_0x14ef01['restart'](),_0x4d4a7c&&console['log'](_0x85ee8a+this['stackID'](_0x14ef01)+'\x20(restarted)'),this['advanceFully'](_0x14ef01,_0xff4c83))continue;}let _0x31f356=_0x14ef01['split'](),_0x247085=_0x85ee8a;for(let _0x158256=0x0;_0x31f356['forceReduce']()&&_0x158256<0xa;_0x158256++){if(_0x4d4a7c&&console['log'](_0x247085+this['stackID'](_0x31f356)+'\x20(via\x20force-reduce)'),this['advanceFully'](_0x31f356,_0xff4c83))break;_0x4d4a7c&&(_0x247085=this['stackID'](_0x31f356)+'\x20->\x20');}for(let _0x7098e5 of _0x14ef01['recoverByInsert'](_0x41676f))_0x4d4a7c&&console['log'](_0x85ee8a+this['stackID'](_0x7098e5)+'\x20(via\x20recover-insert)'),this['advanceFully'](_0x7098e5,_0xff4c83);this['stream']['end']>_0x14ef01['pos']?(_0x28b965==_0x14ef01['pos']&&(_0x28b965++,_0x41676f=0x0),_0x14ef01['recoverByDelete'](_0x41676f,_0x28b965),_0x4d4a7c&&console['log'](_0x85ee8a+this['stackID'](_0x14ef01)+('\x20(via\x20recover-delete\x20'+this['parser']['getName'](_0x41676f)+')')),pushStackDedup(_0x14ef01,_0xff4c83)):(!_0x210e36||_0x210e36['score']<_0x14ef01['score'])&&(_0x210e36=_0x14ef01);}return _0x210e36;}['stackToTree'](_0x449d5b){return _0x449d5b['close'](),_0x17cdb3['build']({'buffer':StackBufferCursor['create'](_0x449d5b),'nodeSet':this['parser']['nodeSet'],'topID':this['topTerm'],'maxBufferLength':this['parser']['bufferLength'],'reused':this['reused'],'start':this['ranges'][0x0]['from'],'length':_0x449d5b['pos']-this['ranges'][0x0]['from'],'minRepeatType':this['parser']['minRepeatTerm']});}['stackID'](_0x55a76d){let _0x2545ea=(stackIDs||(stackIDs=new WeakMap()))['get'](_0x55a76d);return _0x2545ea||stackIDs['set'](_0x55a76d,_0x2545ea=String['fromCodePoint'](this['nextStackID']++)),_0x2545ea+_0x55a76d;}}function pushStackDedup(_0x46f2c2,_0x419205){for(let _0x103d85=0x0;_0x103d85<_0x419205['length'];_0x103d85++){let _0x2767db=_0x419205[_0x103d85];if(_0x2767db['pos']==_0x46f2c2['pos']&&_0x2767db['sameState'](_0x46f2c2))return void(_0x419205[_0x103d85]['score']<_0x46f2c2['score']&&(_0x419205[_0x103d85]=_0x46f2c2));}_0x419205['push'](_0x46f2c2);}class Dialect{constructor(_0x1b78a3,_0x44975b,_0x4195a9){this['source']=_0x1b78a3,this['flags']=_0x44975b,this['disabled']=_0x4195a9;}['allows'](_0x3a262f){return!this['disabled']||0x0==this['disabled'][_0x3a262f];}}const _0x3f07bc=_0x16d538=>_0x16d538;class ContextTracker{constructor(_0x5754d8){this['start']=_0x5754d8['start'],this['shift']=_0x5754d8['shift']||_0x3f07bc,this['reduce']=_0x5754d8['reduce']||_0x3f07bc,this['reuse']=_0x5754d8['reuse']||_0x3f07bc,this['hash']=_0x5754d8['hash']||(()=>0x0),this['strict']=!0x1!==_0x5754d8['strict'];}}class _0x4757b6 extends _0x24741a{constructor(_0x4395b0){if(super(),this['wrappers']=[],0xe!=_0x4395b0['version'])throw new RangeError('Parser\x20version\x20('+_0x4395b0['version']+')\x20doesn\x27t\x20match\x20runtime\x20version\x20(14)');let _0xd01702=_0x4395b0['nodeNames']['split']('\x20');this['minRepeatTerm']=_0xd01702['length'];for(let _0x479d3a=0x0;_0x479d3a<_0x4395b0['repeatNodeCount'];_0x479d3a++)_0xd01702['push']('');let _0x19ee1b=Object['keys'](_0x4395b0['topRules'])['map'](_0x1e697b=>_0x4395b0['topRules'][_0x1e697b][0x1]),_0x585936=[];for(let _0x941f62=0x0;_0x941f62<_0xd01702['length'];_0x941f62++)_0x585936['push']([]);function _0x2b88b6(_0x10bafe,_0x56133e,_0xd17227){_0x585936[_0x10bafe]['push']([_0x56133e,_0x56133e['deserialize'](String(_0xd17227))]);}if(_0x4395b0['nodeProps'])for(let _0x321dc3 of _0x4395b0['nodeProps']){let _0x1c2f89=_0x321dc3[0x0];'string'==typeof _0x1c2f89&&(_0x1c2f89=_0x519268[_0x1c2f89]);for(let _0x40e463=0x1;_0x40e463<_0x321dc3['length'];){let _0x3966fc=_0x321dc3[_0x40e463++];if(_0x3966fc>=0x0)_0x2b88b6(_0x3966fc,_0x1c2f89,_0x321dc3[_0x40e463++]);else{let _0x26ac15=_0x321dc3[_0x40e463+-_0x3966fc];for(let _0x191c33=-_0x3966fc;_0x191c33>0x0;_0x191c33--)_0x2b88b6(_0x321dc3[_0x40e463++],_0x1c2f89,_0x26ac15);_0x40e463++;}}}this['nodeSet']=new NodeSet(_0xd01702['map']((_0x120efd,_0x886266)=>_0x23061a['define']({'name':_0x886266>=this['minRepeatTerm']?void 0x0:_0x120efd,'id':_0x886266,'props':_0x585936[_0x886266],'top':_0x19ee1b['indexOf'](_0x886266)>-0x1,'error':0x0==_0x886266,'skipped':_0x4395b0['skippedNodes']&&_0x4395b0['skippedNodes']['indexOf'](_0x886266)>-0x1}))),_0x4395b0['propSources']&&(this['nodeSet']=this['nodeSet']['extend'](..._0x4395b0['propSources'])),this['strict']=!0x1,this['bufferLength']=DefaultBufferLength;let _0x4a3368=_0x35760f(_0x4395b0['tokenData']);this['context']=_0x4395b0['context'],this['specializerSpecs']=_0x4395b0['specialized']||[],this['specialized']=new Uint16Array(this['specializerSpecs']['length']);for(let _0xafa829=0x0;_0xafa829<this['specializerSpecs']['length'];_0xafa829++)this['specialized'][_0xafa829]=this['specializerSpecs'][_0xafa829]['term'];this['specializers']=this['specializerSpecs']['map'](getSpecializer),this['states']=_0x35760f(_0x4395b0['states'],Uint32Array),this['data']=_0x35760f(_0x4395b0['stateData']),this['goto']=_0x35760f(_0x4395b0['goto']),this['maxTerm']=_0x4395b0['maxTerm'],this['tokenizers']=_0x4395b0['tokenizers']['map'](_0x4efc73=>'number'==typeof _0x4efc73?new _0x25f95b(_0x4a3368,_0x4efc73):_0x4efc73),this['topRules']=_0x4395b0['topRules'],this['dialects']=_0x4395b0['dialects']||{},this['dynamicPrecedences']=_0x4395b0['dynamicPrecedences']||null,this['tokenPrecTable']=_0x4395b0['tokenPrec'],this['termNames']=_0x4395b0['termNames']||null,this['maxNode']=this['nodeSet']['types']['length']-0x1,this['dialect']=this['parseDialect'](),this['top']=this['topRules'][Object['keys'](this['topRules'])[0x0]];}['createParse'](_0x51262c,_0x57fc28,_0x5ad85c){let _0x3dfc48=new _0x2dc800(this,_0x51262c,_0x57fc28,_0x5ad85c);for(let _0x235703 of this['wrappers'])_0x3dfc48=_0x235703(_0x3dfc48,_0x51262c,_0x57fc28,_0x5ad85c);return _0x3dfc48;}['getGoto'](_0x5bbd87,_0x140f91,_0x197f89=!0x1){let _0x29b18e=this['goto'];if(_0x140f91>=_0x29b18e[0x0])return-0x1;for(let _0x25d0c2=_0x29b18e[_0x140f91+0x1];;){let _0x52deaa=_0x29b18e[_0x25d0c2++],_0x2592b8=0x1&_0x52deaa,_0x465a8b=_0x29b18e[_0x25d0c2++];if(_0x2592b8&&_0x197f89)return _0x465a8b;for(let _0x5a62a5=_0x25d0c2+(_0x52deaa>>0x1);_0x25d0c2<_0x5a62a5;_0x25d0c2++)if(_0x29b18e[_0x25d0c2]==_0x5bbd87)return _0x465a8b;if(_0x2592b8)return-0x1;}}['hasAction'](_0x504abe,_0x274f89){let _0x10c55a=this['data'];for(let _0x3acd6b=0x0;_0x3acd6b<0x2;_0x3acd6b++)for(let _0x44e78e,_0x30b75d=this['stateSlot'](_0x504abe,_0x3acd6b?0x2:0x1);;_0x30b75d+=0x3){if(0xffff==(_0x44e78e=_0x10c55a[_0x30b75d])){if(0x1!=_0x10c55a[_0x30b75d+0x1]){if(0x2==_0x10c55a[_0x30b75d+0x1])return _0x3ef361(_0x10c55a,_0x30b75d+0x2);break;}_0x44e78e=_0x10c55a[_0x30b75d=_0x3ef361(_0x10c55a,_0x30b75d+0x2)];}if(_0x44e78e==_0x274f89||0x0==_0x44e78e)return _0x3ef361(_0x10c55a,_0x30b75d+0x1);}return 0x0;}['stateSlot'](_0x1b8ba9,_0x2b1455){return this['states'][0x6*_0x1b8ba9+_0x2b1455];}['stateFlag'](_0x27c683,_0x19cca){return(this['stateSlot'](_0x27c683,0x0)&_0x19cca)>0x0;}['validAction'](_0x1e3e62,_0x552ed0){return!!this['allActions'](_0x1e3e62,_0x524edc=>_0x524edc==_0x552ed0||null);}['allActions'](_0x28da52,_0x335ed){let _0x223d60=this['stateSlot'](_0x28da52,0x4),_0x4bc8dd=_0x223d60?_0x335ed(_0x223d60):void 0x0;for(let _0x3f8d64=this['stateSlot'](_0x28da52,0x1);null==_0x4bc8dd;_0x3f8d64+=0x3){if(0xffff==this['data'][_0x3f8d64]){if(0x1!=this['data'][_0x3f8d64+0x1])break;_0x3f8d64=_0x3ef361(this['data'],_0x3f8d64+0x2);}_0x4bc8dd=_0x335ed(_0x3ef361(this['data'],_0x3f8d64+0x1));}return _0x4bc8dd;}['nextStates'](_0x2d12dd){let _0x4f0674=[];for(let _0x5f2ef6=this['stateSlot'](_0x2d12dd,0x1);;_0x5f2ef6+=0x3){if(0xffff==this['data'][_0x5f2ef6]){if(0x1!=this['data'][_0x5f2ef6+0x1])break;_0x5f2ef6=_0x3ef361(this['data'],_0x5f2ef6+0x2);}if(!(0x1&this['data'][_0x5f2ef6+0x2])){let _0x5a1d86=this['data'][_0x5f2ef6+0x1];_0x4f0674['some']((_0x202f7f,_0x33cff2)=>0x1&_0x33cff2&&_0x202f7f==_0x5a1d86)||_0x4f0674['push'](this['data'][_0x5f2ef6],_0x5a1d86);}}return _0x4f0674;}['configure'](_0x51e94c){let _0x20b295=Object['assign'](Object['create'](_0x4757b6['prototype']),this);if(_0x51e94c['props']&&(_0x20b295['nodeSet']=this['nodeSet']['extend'](..._0x51e94c['props'])),_0x51e94c['top']){let _0x1ec83e=this['topRules'][_0x51e94c['top']];if(!_0x1ec83e)throw new RangeError('Invalid\x20top\x20rule\x20name\x20'+_0x51e94c['top']);_0x20b295['top']=_0x1ec83e;}return _0x51e94c['tokenizers']&&(_0x20b295['tokenizers']=this['tokenizers']['map'](t=>{let _0x12327f=_0x51e94c['tokenizers']['find'](_0x16d37e=>_0x16d37e['from']==t);return _0x12327f?_0x12327f['to']:t;})),_0x51e94c['specializers']&&(_0x20b295['specializers']=this['specializers']['slice'](),_0x20b295['specializerSpecs']=this['specializerSpecs']['map']((_0x310cdc,_0x197181)=>{let _0xa23e71=_0x51e94c['specializers']['find'](_0xc030a0=>_0xc030a0['from']==_0x310cdc['external']);if(!_0xa23e71)return _0x310cdc;let _0x2c9465=Object['assign'](Object['assign']({},_0x310cdc),{'external':_0xa23e71['to']});return _0x20b295['specializers'][_0x197181]=getSpecializer(_0x2c9465),_0x2c9465;})),_0x51e94c['contextTracker']&&(_0x20b295['context']=_0x51e94c['contextTracker']),_0x51e94c['dialect']&&(_0x20b295['dialect']=this['parseDialect'](_0x51e94c['dialect'])),null!=_0x51e94c['strict']&&(_0x20b295['strict']=_0x51e94c['strict']),_0x51e94c['wrap']&&(_0x20b295['wrappers']=_0x20b295['wrappers']['concat'](_0x51e94c['wrap'])),null!=_0x51e94c['bufferLength']&&(_0x20b295['bufferLength']=_0x51e94c['bufferLength']),_0x20b295;}['hasWrappers'](){return this['wrappers']['length']>0x0;}['getName'](_0xa585b5){return this['termNames']?this['termNames'][_0xa585b5]:String(_0xa585b5<=this['maxNode']&&this['nodeSet']['types'][_0xa585b5]['name']||_0xa585b5);}get['eofTerm'](){return this['maxNode']+0x1;}get['topNode'](){return this['nodeSet']['types'][this['top'][0x1]];}['dynamicPrecedence'](_0x17272d){let _0x5e0b81=this['dynamicPrecedences'];return null==_0x5e0b81?0x0:_0x5e0b81[_0x17272d]||0x0;}['parseDialect'](_0x7df798){let _0x1edee8=Object['keys'](this['dialects']),_0x58e16e=_0x1edee8['map'](()=>!0x1);if(_0x7df798)for(let _0x2ea929 of _0x7df798['split']('\x20')){let _0x1089b7=_0x1edee8['indexOf'](_0x2ea929);_0x1089b7>=0x0&&(_0x58e16e[_0x1089b7]=!0x0);}let _0x8feeca=null;for(let _0x3f07f0=0x0;_0x3f07f0<_0x1edee8['length'];_0x3f07f0++)if(!_0x58e16e[_0x3f07f0]){for(let _0x3fbc93,_0x581eec=this['dialects'][_0x1edee8[_0x3f07f0]];0xffff!=(_0x3fbc93=this['data'][_0x581eec++]);)(_0x8feeca||(_0x8feeca=new Uint8Array(this['maxTerm']+0x1)))[_0x3fbc93]=0x1;}return new Dialect(_0x7df798,_0x58e16e,_0x8feeca);}static['deserialize'](_0x1fdc01){return new _0x4757b6(_0x1fdc01);}}function _0x3ef361(_0x2bb99d,_0x29ae4f){return _0x2bb99d[_0x29ae4f]|_0x2bb99d[_0x29ae4f+0x1]<<0x10;}function _0x441aaa(_0x228a6e){let _0x290b99=null;for(let _0x263cd3 of _0x228a6e){let _0x358090=_0x263cd3['p']['stoppedAt'];(_0x263cd3['pos']==_0x263cd3['p']['stream']['end']||null!=_0x358090&&_0x263cd3['pos']>_0x358090)&&_0x263cd3['p']['parser']['stateFlag'](_0x263cd3['state'],0x2)&&(!_0x290b99||_0x290b99['score']<_0x263cd3['score'])&&(_0x290b99=_0x263cd3);}return _0x290b99;}function getSpecializer(_0x3fb398){if(_0x3fb398['external']){let _0x2dee83=_0x3fb398['extend']?0x1:0x0;return(_0x5ad59c,_0x353b7e)=>_0x3fb398['external'](_0x5ad59c,_0x353b7e)<<0x1|_0x2dee83;}return _0x3fb398['get'];}const scriptText=0x36,StartCloseScriptTag=0x1,styleText=0x37,StartCloseStyleTag=0x2,textareaText=0x38,StartCloseTextareaTag=0x3,_0x57fc1f=0x4,_0x6acae=0x5,StartTag=0x6,StartScriptTag=0x7,StartStyleTag=0x8,StartTextareaTag=0x9,StartSelfClosingTag=0xa,StartCloseTag=0xb,NoMatchStartCloseTag=0xc,MismatchedStartCloseTag=0xd,_0x2e99ca=0x39,IncompleteCloseTag=0xe,commentContent$1=0x3a,Element$2=0x14,_0x3d7fd2=0x16,Attribute=0x17,AttributeName=0x18,AttributeValue=0x1a,UnquotedAttributeValue=0x1b,ScriptText=0x1c,StyleText=0x1f,TextareaText=0x22,_0xcfa131=0x24,_0x335e6d=0x25,Dialect_noMatch=0x0,Dialect_selfClosing=0x1,_0x48270a={'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},_0x5b0a49={'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 _0x55c2e4(_0x3bc01c){return 0x2d==_0x3bc01c||0x2e==_0x3bc01c||0x3a==_0x3bc01c||_0x3bc01c>=0x41&&_0x3bc01c<=0x5a||0x5f==_0x3bc01c||_0x3bc01c>=0x61&&_0x3bc01c<=0x7a||_0x3bc01c>=0xa1;}function _0x190807(_0x3ec92f){return 0x9==_0x3ec92f||0xa==_0x3ec92f||0xd==_0x3ec92f||0x20==_0x3ec92f;}let _0x196591=null,cachedInput=null,_0x4c23e7=0x0;function tagNameAfter(_0x2147fa,_0x3c318e){let _0x4a07fa=_0x2147fa['pos']+_0x3c318e;if(_0x4c23e7==_0x4a07fa&&cachedInput==_0x2147fa)return _0x196591;let _0x41edec=_0x2147fa['peek'](_0x3c318e);for(;_0x190807(_0x41edec);)_0x41edec=_0x2147fa['peek'](++_0x3c318e);let _0x30bf33='';for(;_0x55c2e4(_0x41edec);)_0x30bf33+=String['fromCharCode'](_0x41edec),_0x41edec=_0x2147fa['peek'](++_0x3c318e);return cachedInput=_0x2147fa,_0x4c23e7=_0x4a07fa,_0x196591=_0x30bf33?_0x30bf33['toLowerCase']():_0x41edec==question$1||_0x41edec==_0x3826ca?void 0x0:null;}const _0x31e5dd=0x3c,greaterThan=0x3e,_0x4f6003=0x2f,question$1=0x3f,_0x3826ca=0x21,_0x456858=0x2d;function ElementContext(_0x14d1b0,_0x65caff){this['name']=_0x14d1b0,this['parent']=_0x65caff;}const startTagTerms=[StartTag,StartSelfClosingTag,StartScriptTag,StartStyleTag,StartTextareaTag],elementContext=new ContextTracker({'start':null,'shift':(_0x445a16,_0x174aa0,_0x857180,_0x21346b)=>startTagTerms['indexOf'](_0x174aa0)>-0x1?new ElementContext(tagNameAfter(_0x21346b,0x1)||'',_0x445a16):_0x445a16,'reduce':(_0x1c7cb7,_0x2e9f56)=>_0x2e9f56==Element$2&&_0x1c7cb7?_0x1c7cb7['parent']:_0x1c7cb7,'reuse'(_0x21f3a6,_0x4629da,_0x8ad330,_0x3ceec5){let _0x304ae5=_0x4629da['type']['id'];return _0x304ae5==StartTag||_0x304ae5==_0xcfa131?new ElementContext(tagNameAfter(_0x3ceec5,0x1)||'',_0x21f3a6):_0x21f3a6;},'strict':!0x1}),tagStart=new ExternalTokenizer((_0xb5ac0b,_0x3c41c0)=>{if(_0xb5ac0b['next']!=_0x31e5dd)return void(_0xb5ac0b['next']<0x0&&_0x3c41c0['context']&&_0xb5ac0b['acceptToken'](_0x2e99ca));_0xb5ac0b['advance']();let _0x3e743e=_0xb5ac0b['next']==_0x4f6003;_0x3e743e&&_0xb5ac0b['advance']();let _0xe479c7=tagNameAfter(_0xb5ac0b,0x0);if(void 0x0===_0xe479c7)return;if(!_0xe479c7)return _0xb5ac0b['acceptToken'](_0x3e743e?IncompleteCloseTag:StartTag);let _0x5ef825=_0x3c41c0['context']?_0x3c41c0['context']['name']:null;if(_0x3e743e){if(_0xe479c7==_0x5ef825)return _0xb5ac0b['acceptToken'](StartCloseTag);if(_0x5ef825&&implicitlyClosed[_0x5ef825])return _0xb5ac0b['acceptToken'](_0x2e99ca,-0x2);if(_0x3c41c0['dialectEnabled'](Dialect_noMatch))return _0xb5ac0b['acceptToken'](NoMatchStartCloseTag);for(let _0x103857=_0x3c41c0['context'];_0x103857;_0x103857=_0x103857['parent'])if(_0x103857['name']==_0xe479c7)return;_0xb5ac0b['acceptToken'](MismatchedStartCloseTag);}else{if('script'==_0xe479c7)return _0xb5ac0b['acceptToken'](StartScriptTag);if('style'==_0xe479c7)return _0xb5ac0b['acceptToken'](StartStyleTag);if('textarea'==_0xe479c7)return _0xb5ac0b['acceptToken'](StartTextareaTag);if(_0x48270a['hasOwnProperty'](_0xe479c7))return _0xb5ac0b['acceptToken'](StartSelfClosingTag);_0x5ef825&&_0x5b0a49[_0x5ef825]&&_0x5b0a49[_0x5ef825][_0xe479c7]?_0xb5ac0b['acceptToken'](_0x2e99ca,-0x1):_0xb5ac0b['acceptToken'](StartTag);}},{'contextual':!0x0}),commentContent=new ExternalTokenizer(_0x472c10=>{for(let _0x146c3f=0x0,_0x1f4946=0x0;;_0x1f4946++){if(_0x472c10['next']<0x0){_0x1f4946&&_0x472c10['acceptToken'](commentContent$1);break;}if(_0x472c10['next']==_0x456858)_0x146c3f++;else{if(_0x472c10['next']==greaterThan&&_0x146c3f>=0x2){_0x1f4946>=0x3&&_0x472c10['acceptToken'](commentContent$1,-0x2);break;}_0x146c3f=0x0;}_0x472c10['advance']();}});function inForeignElement(_0x1a63d9){for(;_0x1a63d9;_0x1a63d9=_0x1a63d9['parent'])if('svg'==_0x1a63d9['name']||'math'==_0x1a63d9['name'])return!0x0;return!0x1;}const _0x221eb2=new ExternalTokenizer((_0x51f5d7,_0x476c13)=>{if(_0x51f5d7['next']==_0x4f6003&&_0x51f5d7['peek'](0x1)==greaterThan){let _0x2f2907=_0x476c13['dialectEnabled'](Dialect_selfClosing)||inForeignElement(_0x476c13['context']);_0x51f5d7['acceptToken'](_0x2f2907?_0x6acae:_0x57fc1f,0x2);}else _0x51f5d7['next']==greaterThan&&_0x51f5d7['acceptToken'](_0x57fc1f,0x1);});function contentTokenizer(_0x437c8a,_0x359543,_0x9d1d55){let _0x1f3696=0x2+_0x437c8a['length'];return new ExternalTokenizer(_0x584990=>{for(let _0x69ea15=0x0,_0x1e9b44=0x0,_0x5453bf=0x0;;_0x5453bf++){if(_0x584990['next']<0x0){_0x5453bf&&_0x584990['acceptToken'](_0x359543);break;}if(0x0==_0x69ea15&&_0x584990['next']==_0x31e5dd||0x1==_0x69ea15&&_0x584990['next']==_0x4f6003||_0x69ea15>=0x2&&_0x69ea15<_0x1f3696&&_0x584990['next']==_0x437c8a['charCodeAt'](_0x69ea15-0x2))_0x69ea15++,_0x1e9b44++;else{if(0x2!=_0x69ea15&&_0x69ea15!=_0x1f3696||!_0x190807(_0x584990['next'])){if(_0x69ea15==_0x1f3696&&_0x584990['next']==greaterThan){_0x5453bf>_0x1e9b44?_0x584990['acceptToken'](_0x359543,-_0x1e9b44):_0x584990['acceptToken'](_0x9d1d55,-(_0x1e9b44-0x2));break;}if((0xa==_0x584990['next']||0xd==_0x584990['next'])&&_0x5453bf){_0x584990['acceptToken'](_0x359543,0x1);break;}_0x69ea15=_0x1e9b44=0x0;}else _0x1e9b44++;}_0x584990['advance']();}});}const scriptTokens=contentTokenizer('script',scriptText,StartCloseScriptTag),styleTokens=contentTokenizer('style',styleText,StartCloseStyleTag),textareaTokens=contentTokenizer('textarea',textareaText,StartCloseTextareaTag),htmlHighlighting=styleTags({'Text\x20RawText':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']}),_0x40d778=_0x4757b6['deserialize']({'version':0xe,'states':',xOVO!rOOO!WQ#tO\x27#CqO!]Q#tO\x27#CzO!bQ#tO\x27#C}O!gQ#tO\x27#DQO!lQ#tO\x27#DSO!qOaO\x27#CpO!|ObO\x27#CpO#XOdO\x27#CpO$eO!rO\x27#CpOOO`\x27#Cp\x27#CpO$lO$fO\x27#DTO$tQ#tO\x27#DVO$yQ#tO\x27#DWOOO`\x27#Dk\x27#DkOOO`\x27#DY\x27#DYQVO!rOOO%OQ&rO,59]O%ZQ&rO,59fO%fQ&rO,59iO%qQ&rO,59lO%|Q&rO,59nOOOa\x27#D^\x27#D^O&XOaO\x27#CxO&dOaO,59[OOOb\x27#D_\x27#D_O&lObO\x27#C{O&wObO,59[OOOd\x27#D`\x27#D`O\x27POdO\x27#DOO\x27[OdO,59[OOO`\x27#Da\x27#DaO\x27dO!rO,59[O\x27kQ#tO\x27#DROOO`,59[,59[OOOp\x27#Db\x27#DbO\x27pO$fO,59oOOO`,59o,59oO\x27xQ#|O,59qO\x27}Q#|O,59rOOO`-E7W-E7WO(SQ&rO\x27#CsOOQW\x27#DZ\x27#DZO(bQ&rO1G.wOOOa1G.w1G.wOOO`1G/Y1G/YO(mQ&rO1G/QOOOb1G/Q1G/QO(xQ&rO1G/TOOOd1G/T1G/TO)TQ&rO1G/WOOO`1G/W1G/WO)`Q&rO1G/YOOOa-E7[-E7[O)kQ#tO\x27#CyOOO`1G.v1G.vOOOb-E7]-E7]O)pQ#tO\x27#C|OOOd-E7^-E7^O)uQ#tO\x27#DPOOO`-E7_-E7_O)zQ#|O,59mOOOp-E7`-E7`OOO`1G/Z1G/ZOOO`1G/]1G/]OOO`1G/^1G/^O*PQ,UO,59_OOQW-E7X-E7XOOOa7+$c7+$cOOO`7+$t7+$tOOOb7+$l7+$lOOOd7+$o7+$oOOO`7+$r7+$rO*[Q#|O,59eO*aQ#|O,59hO*fQ#|O,59kOOO`1G/X1G/XO*kO7[O\x27#CvO*|OMhO\x27#CvOOQW1G.y1G.yOOO`1G/P1G/POOO`1G/S1G/SOOO`1G/V1G/VOOOO\x27#D[\x27#D[O+_O7[O,59bOOQW,59b,59bOOOO\x27#D]\x27#D]O+pOMhO,59bOOOO-E7Y-E7YOOQW1G.|1G.|OOOO-E7Z-E7Z','stateData':',]~O!^OS~OUSOVPOWQOXROYTO[]O][O^^O`^Oa^Ob^Oc^Ox^O{_O!dZO~OfaO~OfbO~OfcO~OfdO~OfeO~O!WfOPlP!ZlP~O!XiOQoP!ZoP~O!YlORrP!ZrP~OUSOVPOWQOXROYTOZqO[]O][O^^O`^Oa^Ob^Oc^Ox^O!dZO~O!ZrO~P#dO![sO!euO~OfvO~OfwO~OS|OT}OhyO~OS!POT}OhyO~OS!ROT}OhyO~OS!TOT}OhyO~OS}OT}OhyO~O!WfOPlX!ZlX~OP!WO!Z!XO~O!XiOQoX!ZoX~OQ!ZO!Z!XO~O!YlORrX!ZrX~OR!]O!Z!XO~O!Z!XO~P#dOf!_O~O![sO!e!aO~OS!bO~OS!cO~Oi!dOSgXTgXhgX~OS!fOT!gOhyO~OS!hOT!gOhyO~OS!iOT!gOhyO~OS!jOT!gOhyO~OS!gOT!gOhyO~Of!kO~Of!lO~Of!mO~OS!nO~Ok!qO!`!oO!b!pO~OS!rO~OS!sO~OS!tO~Oa!uOb!uOc!uO!`!wO!a!uO~Oa!xOb!xOc!xO!b!wO!c!xO~Oa!uOb!uOc!uO!`!{O!a!uO~Oa!xOb!xOc!xO!b!{O!c!xO~OT~bac!dx{!d~','goto':'%p!`PPPPPPPPPPPPPPPPPPPP!a!gP!mPP!yP!|#P#S#Y#]#`#f#i#l#r#x!aP!a!aP$O$U$l$r$x%O%U%[%bPPPPPPPP%hX^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\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':0x43,'context':elementContext,'nodeProps':[['closedBy',-0xa,0x1,0x2,0x3,0x7,0x8,0x9,0xa,0xb,0xc,0xd,'EndTag',0x6,'EndTag\x20SelfClosingEndTag',-0x4,0x15,0x1e,0x21,0x24,'CloseTag'],['openedBy',0x4,'StartTag\x20StartCloseTag',0x5,'StartTag',-0x4,0x1d,0x20,0x23,0x25,'OpenTag'],['group',-0x9,0xe,0x11,0x12,0x13,0x14,0x27,0x28,0x29,0x2a,'Entity',0x10,'Entity\x20TextContent',-0x3,0x1c,0x1f,0x22,'TextContent\x20Entity'],['isolate',-0xb,0x15,0x1d,0x1e,0x20,0x21,0x23,0x24,0x25,0x26,0x29,0x2a,'ltr',-0x3,0x1a,0x1b,0x27,'']],'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$|c`PkW!a`!cpOX$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&bX`P!a`!cpOr&Xrs&}sv&Xwx(tx!^&X!^!_*V!_;\x27S&X;\x27S;=`*y<%lO&Xq\x27UV`P!cpOv&}wx\x27kx!^&}!^!_(V!_;\x27S&};\x27S;=`(n<%lO&}P\x27pT`POv\x27kw!^\x27k!_;\x27S\x27k;\x27S;=`(P<%lO\x27kP(SP;=`<%l\x27kp([S!cpOv(Vx;\x27S(V;\x27S;=`(h<%lO(Vp(kP;=`<%l(Vq(qP;=`<%l&}a({W`P!a`Or(trs\x27ksv(tw!^(t!^!_)e!_;\x27S(t;\x27S;=`*P<%lO(t`)jT!a`Or)esv)ew;\x27S)e;\x27S;=`)y<%lO)e`)|P;=`<%l)ea*SP;=`<%l(t!Q*^V!a`!cpOr*Vrs(Vsv*Vwx)ex;\x27S*V;\x27S;=`*s<%lO*V!Q*vP;=`<%l*V!R*|P;=`<%l&XW+UYkWOX+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,]``P!a`!cp!^^OX&XXY,QYZ,QZ]&X]^,Q^p&Xpq,Qqr&Xrs&}sv&Xwx(tx!^&X!^!_*V!_;\x27S&X;\x27S;=`*y<%lO&X!_-ljhS`PkW!a`!cpOX$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[/ebhSkWOX+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+PS0rXhSqr0msw0mx!P0m!Q!^0m!a#s0m$f;\x27S0m;\x27S;=`1_<%l?Ah0m?BY?Mn0mS1bP;=`<%l0m[1hP;=`<%l/^!V1vchS`P!a`!cpOq&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!`h`P!cpOv&}wx\x27kx!^&}!^!_(V!_;\x27S&};\x27S;=`(n<%lO&}!_4WihSkWc!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!Z5zbkWOX5uXZ7SZ[5u[^7S^p5uqr5urs7Sst+Ptw5uwx7Sx!]5u!]!^7w!^!a7S!a#S5u#S#T7S#T;\x27S5u;\x27S;=`8n<%lO5u!R7VVOp7Sqs7St!]7S!]!^7l!^;\x27S7S;\x27S;=`7q<%lO7S!R7qOa!R!R7tP;=`<%l7S!Z8OYkWa!ROX+PZ[+P^p+Pqr+Psw+Px!^+P!a#S+P#T;\x27S+P;\x27S;=`+t<%lO+P!Z8qP;=`<%l5u!_8{ihSkWOX5uXZ7SZ[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!_:sbhSkWa!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<QchSOp7Sqr;{rs7Sst0mtw;{wx7Sx!P;{!P!Q7S!Q!];{!]!^=]!^!a7S!a#s;{#s$f7S$f;\x27S;{;\x27S;=`>P<%l?Ah;{?Ah?BY7S?BY?Mn;{?MnO7S!V=dXhSa!Rqr0msw0mx!P0m!Q!^0m!a#s0m$f;\x27S0m;\x27S;=`1_<%l?Ah0m?BY?Mn0m!V>SP;=`<%l;{!_>YP;=`<%l8t!_>dhhSkWOX@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@TakWOX@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!RAtOb!R!RAwP;=`<%lAY!ZBRYkWb!ROX+PZ[+P^p+Pqr+Psw+Px!^+P!a#S+P#T;\x27S+P;\x27S;=`+t<%lO+P!ZBtP;=`<%l@O!_COhhSkWOX@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!_DsbhSkWb!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!VFQbhSOpAYqrE{rsAYswE{wxAYx!PE{!P!QAY!Q!]E{!]!^GY!^!aAY!a#sE{#s$fAY$f;\x27SE{;\x27S;=`G|<%l?AhE{?Ah?BYAY?BY?MnE{?MnOAY!VGaXhSb!Rqr0msw0mx!P0m!Q!^0m!a#s0m$f;\x27S0m;\x27S;=`1_<%l?Ah0m?BY?Mn0m!VHPP;=`<%lE{!_HVP;=`<%lBw!ZHcW!bx`P!a`Or(trs\x27ksv(tw!^(t!^!_)e!_;\x27S(t;\x27S;=`*P<%lO(t!aIYlhS`PkW!a`!cpOX$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_khS`PkW!a`!cpOX$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_X`P!a`!cp!eQOr&Xrs&}sv&Xwx(tx!^&X!^!_*V!_;\x27S&X;\x27S;=`*y<%lO&X!aNZ!ZhSfQ`PkW!a`!cpOX$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!a`!cpOq*Vqr!$yrs(Vsv*Vwx)ex!a*V!a!b!4t!b;\x27S*V;\x27S;=`*s<%lO*V!R!%Q]!a`!cpOr*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!a`!cpOr*Vrs(Vsv*Vwx)ex}*V}!O!&m!O;\x27S*V;\x27S;=`*s<%lO*V!R!&vV!a`!cp!dPOr*Vrs(Vsv*Vwx)ex;\x27S*V;\x27S;=`*s<%lO*V!R!\x27dX!a`!cpOr*Vrs(Vsv*Vwx)ex!q*V!q!r!(P!r;\x27S*V;\x27S;=`*s<%lO*V!R!(WX!a`!cpOr*Vrs(Vsv*Vwx)ex!e*V!e!f!(s!f;\x27S*V;\x27S;=`*s<%lO*V!R!(zX!a`!cpOr*Vrs(Vsv*Vwx)ex!v*V!v!w!)g!w;\x27S*V;\x27S;=`*s<%lO*V!R!)nX!a`!cpOr*Vrs(Vsv*Vwx)ex!{*V!{!|!*Z!|;\x27S*V;\x27S;=`*s<%lO*V!R!*bX!a`!cpOr*Vrs(Vsv*Vwx)ex!r*V!r!s!*}!s;\x27S*V;\x27S;=`*s<%lO*V!R!+UX!a`!cpOr*Vrs(Vsv*Vwx)ex!g*V!g!h!+q!h;\x27S*V;\x27S;=`*s<%lO*V!R!+xY!a`!cpOr!+qrs!,hsv!+qvw!-Swx!.[x!`!+q!`!a!/j!a;\x27S!+q;\x27S;=`!0Y<%lO!+qq!,mV!cpOv!,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!cp{POv(Vx;\x27S(V;\x27S;=`(h<%lO(Vq!.XP;=`<%l!,ha!.aX!a`Or!.[rs!-Ssv!.[vw!-Sw!`!.[!`!a!.|!a;\x27S!.[;\x27S;=`!/d<%lO!.[a!/TT!a`{POr)esv)ew;\x27S)e;\x27S;=`)y<%lO)ea!/gP;=`<%l!.[!R!/sV!a`!cp{POr*Vrs(Vsv*Vwx)ex;\x27S*V;\x27S;=`*s<%lO*V!R!0]P;=`<%l!+q!R!0gX!a`!cpOr*Vrs(Vsv*Vwx)ex#c*V#c#d!1S#d;\x27S*V;\x27S;=`*s<%lO*V!R!1ZX!a`!cpOr*Vrs(Vsv*Vwx)ex#V*V#V#W!1v#W;\x27S*V;\x27S;=`*s<%lO*V!R!1}X!a`!cpOr*Vrs(Vsv*Vwx)ex#h*V#h#i!2j#i;\x27S*V;\x27S;=`*s<%lO*V!R!2qX!a`!cpOr*Vrs(Vsv*Vwx)ex#m*V#m#n!3^#n;\x27S*V;\x27S;=`*s<%lO*V!R!3eX!a`!cpOr*Vrs(Vsv*Vwx)ex#d*V#d#e!4Q#e;\x27S*V;\x27S;=`*s<%lO*V!R!4XX!a`!cpOr*Vrs(Vsv*Vwx)ex#X*V#X#Y!+q#Y;\x27S*V;\x27S;=`*s<%lO*V!R!4{Y!a`!cpOr!4trs!5ksv!4tvw!6Vwx!8]x!a!4t!a!b!:]!b;\x27S!4t;\x27S;=`!;r<%lO!4tq!5pV!cpOv!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!7QOxPP!7TP;=`<%l!6Vq!7]V!cpOv!5kvx!6Vx!`!5k!`!a!7r!a;\x27S!5k;\x27S;=`!8V<%lO!5kq!7yS!cpxPOv(Vx;\x27S(V;\x27S;=`(h<%lO(Vq!8YP;=`<%l!5ka!8bX!a`Or!8]rs!6Vsv!8]vw!6Vw!a!8]!a!b!8}!b;\x27S!8];\x27S;=`!:V<%lO!8]a!9SX!a`Or!8]rs!6Vsv!8]vw!6Vw!`!8]!`!a!9o!a;\x27S!8];\x27S;=`!:V<%lO!8]a!9vT!a`xPOr)esv)ew;\x27S)e;\x27S;=`)y<%lO)ea!:YP;=`<%l!8]!R!:dY!a`!cpOr!4trs!5ksv!4tvw!6Vwx!8]x!`!4t!`!a!;S!a;\x27S!4t;\x27S;=`!;r<%lO!4t!R!;]V!a`!cpxPOr*Vrs(Vsv*Vwx)ex;\x27S*V;\x27S;=`*s<%lO*V!R!;uP;=`<%l!4t!V!<TXiS`P!a`!cpOr&Xrs&}sv&Xwx(tx!^&X!^!_*V!_;\x27S&X;\x27S;=`*y<%lO&X','tokenizers':[scriptTokens,styleTokens,textareaTokens,_0x221eb2,tagStart,commentContent,0x0,0x1,0x2,0x3,0x4,0x5],'topRules':{'Document':[0x0,0xf]},'dialects':{'noMatch':0x0,'selfClosing':0x1fd},'tokenPrec':0x1ff});function getAttrs(_0x1cac5c,_0x4b1e63){let _0x58b78b=Object['create'](null);for(let _0x500932 of _0x1cac5c['getChildren'](Attribute)){let _0x564bee=_0x500932['getChild'](AttributeName),_0x4cd801=_0x500932['getChild'](AttributeValue)||_0x500932['getChild'](UnquotedAttributeValue);_0x564bee&&(_0x58b78b[_0x4b1e63['read'](_0x564bee['from'],_0x564bee['to'])]=_0x4cd801?_0x4cd801['type']['id']==AttributeValue?_0x4b1e63['read'](_0x4cd801['from']+0x1,_0x4cd801['to']-0x1):_0x4b1e63['read'](_0x4cd801['from'],_0x4cd801['to']):'');}return _0x58b78b;}function _0x164b3b(_0x61031c,_0x24cdf0){let _0x31bc00=_0x61031c['getChild'](_0x3d7fd2);return _0x31bc00?_0x24cdf0['read'](_0x31bc00['from'],_0x31bc00['to']):'\x20';}function maybeNest(_0x6307ca,_0x1e003f,_0x3f0ec8){let _0x4fb828;for(let _0xfc2dc8 of _0x3f0ec8)if(!_0xfc2dc8['attrs']||_0xfc2dc8['attrs'](_0x4fb828||(_0x4fb828=getAttrs(_0x6307ca['node']['parent']['firstChild'],_0x1e003f))))return{'parser':_0xfc2dc8['parser']};return null;}function configureNesting(_0x36293c=[],_0x552d35=[]){let _0x383a66=[],_0x11af7b=[],_0x27475c=[],_0x52fe24=[];for(let _0x532aab of _0x36293c){('script'==_0x532aab['tag']?_0x383a66:'style'==_0x532aab['tag']?_0x11af7b:'textarea'==_0x532aab['tag']?_0x27475c:_0x52fe24)['push'](_0x532aab);}let _0x216072=_0x552d35['length']?Object['create'](null):null;for(let _0x22a8f0 of _0x552d35)(_0x216072[_0x22a8f0['name']]||(_0x216072[_0x22a8f0['name']]=[]))['push'](_0x22a8f0);return _0x57488a((_0x4332c2,_0x46cdc2)=>{let _0x3e94ee=_0x4332c2['type']['id'];if(_0x3e94ee==ScriptText)return maybeNest(_0x4332c2,_0x46cdc2,_0x383a66);if(_0x3e94ee==StyleText)return maybeNest(_0x4332c2,_0x46cdc2,_0x11af7b);if(_0x3e94ee==TextareaText)return maybeNest(_0x4332c2,_0x46cdc2,_0x27475c);if(_0x3e94ee==Element$2&&_0x52fe24['length']){let _0x463fa5,_0x39b312=_0x4332c2['node'],_0x263010=_0x39b312['firstChild'],_0x4825cc=_0x263010&&_0x164b3b(_0x263010,_0x46cdc2);if(_0x4825cc){for(let _0x989454 of _0x52fe24)if(_0x989454['tag']==_0x4825cc&&(!_0x989454['attrs']||_0x989454['attrs'](_0x463fa5||(_0x463fa5=getAttrs(_0x263010,_0x46cdc2))))){let _0x31c33b=_0x39b312['lastChild'],_0x48a7d7=_0x31c33b['type']['id']==_0x335e6d?_0x31c33b['from']:_0x39b312['to'];if(_0x48a7d7>_0x263010['to'])return{'parser':_0x989454['parser'],'overlay':[{'from':_0x263010['to'],'to':_0x48a7d7}]};}}}if(_0x216072&&_0x3e94ee==Attribute){let _0x521511,_0x3a8a94=_0x4332c2['node'];if(_0x521511=_0x3a8a94['firstChild']){let _0x2a011a=_0x216072[_0x46cdc2['read'](_0x521511['from'],_0x521511['to'])];if(_0x2a011a)for(let _0x283c95 of _0x2a011a){if(_0x283c95['tagName']&&_0x283c95['tagName']!=_0x164b3b(_0x3a8a94['parent'],_0x46cdc2))continue;let _0x71547e=_0x3a8a94['lastChild'];if(_0x71547e['type']['id']==AttributeValue){let _0x2f345d=_0x71547e['from']+0x1,_0x400d4a=_0x71547e['lastChild'],_0x16b64a=_0x71547e['to']-(_0x400d4a&&_0x400d4a['isError']?0x0:0x1);if(_0x16b64a>_0x2f345d)return{'parser':_0x283c95['parser'],'overlay':[{'from':_0x2f345d,'to':_0x16b64a}]};}else{if(_0x71547e['type']['id']==UnquotedAttributeValue)return{'parser':_0x283c95['parser'],'overlay':[{'from':_0x71547e['from'],'to':_0x71547e['to']}]};}}}}return null;});}const descendantOp=0x7a,Unit=0x1,identifier$2=0x7b,_0x20ea8d=0x7c,_0x41b6de=0x2,queryIdentifier=0x7d,_0x46988e=0x3,_0x45dd19=0x4,_0x3a33d1=[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],_0x2deef0=0x3a,_0x192999=0x28,_0x4e8df0=0x5f,bracketL$1=0x5b,_0x422b49=0x2d,_0x4f4bf2=0x2e,_0x323266=0x23,percent=0x25,_0x110773=0x26,_0x540682=0x5c,_0x5e3dbb=0xa,asterisk=0x2a;function _0x32704c(_0x509721){return _0x509721>=0x41&&_0x509721<=0x5a||_0x509721>=0x61&&_0x509721<=0x7a||_0x509721>=0xa1;}function isDigit(_0x4534f5){return _0x4534f5>=0x30&&_0x4534f5<=0x39;}function _0x58fb70(_0x14a9b2){return isDigit(_0x14a9b2)||_0x14a9b2>=0x61&&_0x14a9b2<=0x66||_0x14a9b2>=0x41&&_0x14a9b2<=0x46;}const identifierTokens=(_0x115401,_0x360fac,_0x25180c)=>(_0x3aaac6,_0xf9edc3)=>{for(let _0x4d998e=!0x1,_0x46e6cf=0x0,_0x38acb4=0x0;;_0x38acb4++){let {next:_0x51c4e9}=_0x3aaac6;if(_0x32704c(_0x51c4e9)||_0x51c4e9==_0x422b49||_0x51c4e9==_0x4e8df0||_0x4d998e&&isDigit(_0x51c4e9))!_0x4d998e&&(_0x51c4e9!=_0x422b49||_0x38acb4>0x0)&&(_0x4d998e=!0x0),_0x46e6cf===_0x38acb4&&_0x51c4e9==_0x422b49&&_0x46e6cf++,_0x3aaac6['advance']();else{if(_0x51c4e9!=_0x540682||_0x3aaac6['peek'](0x1)==_0x5e3dbb){_0x4d998e&&_0x3aaac6['acceptToken'](0x2==_0x46e6cf&&_0xf9edc3['canShift'](_0x41b6de)?_0x360fac:_0x51c4e9==_0x192999?_0x25180c:_0x115401);break;}if(_0x3aaac6['advance'](),_0x58fb70(_0x3aaac6['next'])){do{_0x3aaac6['advance']();}while(_0x58fb70(_0x3aaac6['next']));0x20==_0x3aaac6['next']&&_0x3aaac6['advance']();}else _0x3aaac6['next']>-0x1&&_0x3aaac6['advance']();_0x4d998e=!0x0;}}},identifiers=new ExternalTokenizer(identifierTokens(identifier$2,_0x41b6de,_0x20ea8d)),queryIdentifiers=new ExternalTokenizer(identifierTokens(queryIdentifier,_0x46988e,_0x45dd19)),descendant=new ExternalTokenizer(_0x38d2ca=>{if(_0x3a33d1['includes'](_0x38d2ca['peek'](-0x1))){let {next:_0x6156af}=_0x38d2ca;(_0x32704c(_0x6156af)||_0x6156af==_0x4e8df0||_0x6156af==_0x323266||_0x6156af==_0x4f4bf2||_0x6156af==asterisk||_0x6156af==bracketL$1||_0x6156af==_0x2deef0&&_0x32704c(_0x38d2ca['peek'](0x1))||_0x6156af==_0x422b49||_0x6156af==_0x110773)&&_0x38d2ca['acceptToken'](descendantOp);}}),unitToken=new ExternalTokenizer(_0x19036d=>{if(!_0x3a33d1['includes'](_0x19036d['peek'](-0x1))){let {next:_0x166ea1}=_0x19036d;if(_0x166ea1==percent&&(_0x19036d['advance'](),_0x19036d['acceptToken'](Unit)),_0x32704c(_0x166ea1)){do{_0x19036d['advance']();}while(_0x32704c(_0x19036d['next'])||isDigit(_0x19036d['next']));_0x19036d['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']}),_0x4d0afa={'__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},_0x5e820e={'__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},_0x4806ac=_0x4757b6['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 _0x555634('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':_0x1137ea=>_0x4d0afa[_0x1137ea]||-0x1},{'term':0x7d,'get':_0x195be9=>spec_queryIdentifier[_0x195be9]||-0x1},{'term':0x4,'get':_0x3032b9=>_0x5e820e[_0x3032b9]||-0x1},{'term':0x19,'get':_0x3fb1fd=>spec_AtKeyword[_0x3fb1fd]||-0x1},{'term':0x7b,'get':_0x510a09=>spec_identifier$1[_0x510a09]||-0x1}],'tokenPrec':0x7ab});let _properties=null;function properties(){if(!_properties&&'object'==typeof document&&document['body']){let {style:_0x16178b}=document['body'],_0x47818a=[],_0x5724fe=new Set();for(let _0x2f2cf8 in _0x16178b)'cssText'!=_0x2f2cf8&&'cssFloat'!=_0x2f2cf8&&'string'==typeof _0x16178b[_0x2f2cf8]&&(/[A-Z]/['test'](_0x2f2cf8)&&(_0x2f2cf8=_0x2f2cf8['replace'](/[A-Z]/g,_0x1a231f=>'-'+_0x1a231f['toLowerCase']())),_0x5724fe['has'](_0x2f2cf8)||(_0x47818a['push'](_0x2f2cf8),_0x5724fe['add'](_0x2f2cf8)));_properties=_0x47818a['sort']()['map'](_0x473aab=>({'type':'property','label':_0x473aab,'apply':_0x473aab+':\x20'}));}return _properties||[];}const _0x27601d=['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'](_0x2ffef1=>({'type':'class','label':_0x2ffef1})),_0x26196c=['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'](_0x1006d5=>({'type':'keyword','label':_0x1006d5}))['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'](_0x57bb88=>({'type':'constant','label':_0x57bb88}))),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'](_0x58f6c7=>({'type':'type','label':_0x58f6c7})),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'](_0x515672=>({'type':'keyword','label':_0x515672})),identifier$1=/^(\w[\w-]*|-\w[\w-]*|)$/,_0x9c6a21=/^-(-[\w-]*)?$/;function _0x2252db(_0xa9a170,_0x1027e5){var _0x4d7b6d;if(('('==_0xa9a170['name']||_0xa9a170['type']['isError'])&&(_0xa9a170=_0xa9a170['parent']||_0xa9a170),'ArgList'!=_0xa9a170['name'])return!0x1;let _0x5d985d=null===(_0x4d7b6d=_0xa9a170['parent'])||void 0x0===_0x4d7b6d?void 0x0:_0x4d7b6d['firstChild'];return'Callee'==(null==_0x5d985d?void 0x0:_0x5d985d['name'])&&'var'==_0x1027e5['sliceString'](_0x5d985d['from'],_0x5d985d['to']);}const _0x36793=new _0x1274fe(),declSelector=['Declaration'];function astTop(_0x16bb9a){for(let _0x3515e9=_0x16bb9a;;){if(_0x3515e9['type']['isTop'])return _0x3515e9;if(!(_0x3515e9=_0x3515e9['parent']))return _0x16bb9a;}}function _0x2b1589(_0x4bdb71,_0x52cecd,_0x520f29){if(_0x52cecd['to']-_0x52cecd['from']>0x1000){let _0x145c4a=_0x36793['get'](_0x52cecd);if(_0x145c4a)return _0x145c4a;let _0x771076=[],_0x3538d5=new Set(),_0x4cf22b=_0x52cecd['cursor'](IterMode['IncludeAnonymous']);if(_0x4cf22b['firstChild']())do{for(let _0x1b3643 of _0x2b1589(_0x4bdb71,_0x4cf22b['node'],_0x520f29))_0x3538d5['has'](_0x1b3643['label'])||(_0x3538d5['add'](_0x1b3643['label']),_0x771076['push'](_0x1b3643));}while(_0x4cf22b['nextSibling']());return _0x36793['set'](_0x52cecd,_0x771076),_0x771076;}{let _0x53aa46=[],_0x1ef969=new Set();return _0x52cecd['cursor']()['iterate'](_0x146556=>{var _0x1072ac;if(_0x520f29(_0x146556)&&_0x146556['matchContext'](declSelector)&&':'==(null===(_0x1072ac=_0x146556['node']['nextSibling'])||void 0x0===_0x1072ac?void 0x0:_0x1072ac['name'])){let _0xd142eb=_0x4bdb71['sliceString'](_0x146556['from'],_0x146556['to']);_0x1ef969['has'](_0xd142eb)||(_0x1ef969['add'](_0xd142eb),_0x53aa46['push']({'label':_0xd142eb,'type':'variable'}));}}),_0x53aa46;}}const defineCSSCompletionSource=_0x301bee=>_0x354204=>{let {state:_0x47fdc2,pos:_0x72f800}=_0x354204,_0x4a039b=syntaxTree(_0x47fdc2)['resolveInner'](_0x72f800,-0x1),_0x35d52e=_0x4a039b['type']['isError']&&_0x4a039b['from']==_0x4a039b['to']-0x1&&'-'==_0x47fdc2['doc']['sliceString'](_0x4a039b['from'],_0x4a039b['to']);if('PropertyName'==_0x4a039b['name']||(_0x35d52e||'TagName'==_0x4a039b['name'])&&/^(Block|Styles)$/['test'](_0x4a039b['resolve'](_0x4a039b['to'])['name']))return{'from':_0x4a039b['from'],'options':properties(),'validFor':identifier$1};if('ValueName'==_0x4a039b['name'])return{'from':_0x4a039b['from'],'options':_0x26196c,'validFor':identifier$1};if('PseudoClassName'==_0x4a039b['name'])return{'from':_0x4a039b['from'],'options':_0x27601d,'validFor':identifier$1};if(_0x301bee(_0x4a039b)||(_0x354204['explicit']||_0x35d52e)&&_0x2252db(_0x4a039b,_0x47fdc2['doc']))return{'from':_0x301bee(_0x4a039b)||_0x35d52e?_0x4a039b['from']:_0x72f800,'options':_0x2b1589(_0x47fdc2['doc'],astTop(_0x4a039b),_0x301bee),'validFor':_0x9c6a21};if('TagName'==_0x4a039b['name']){for(let {parent:_0x4495d2}=_0x4a039b;_0x4495d2;_0x4495d2=_0x4495d2['parent'])if('Block'==_0x4495d2['name'])return{'from':_0x4a039b['from'],'options':properties(),'validFor':identifier$1};return{'from':_0x4a039b['from'],'options':tags,'validFor':identifier$1};}if('AtKeyword'==_0x4a039b['name'])return{'from':_0x4a039b['from'],'options':atRules,'validFor':identifier$1};if(!_0x354204['explicit'])return null;let _0xe80e85=_0x4a039b['resolve'](_0x72f800),_0x2e26c7=_0xe80e85['childBefore'](_0x72f800);return _0x2e26c7&&':'==_0x2e26c7['name']&&'PseudoClassSelector'==_0xe80e85['name']?{'from':_0x72f800,'options':_0x27601d,'validFor':identifier$1}:_0x2e26c7&&':'==_0x2e26c7['name']&&'Declaration'==_0xe80e85['name']||'ArgList'==_0xe80e85['name']?{'from':_0x72f800,'options':_0x26196c,'validFor':identifier$1}:'Block'==_0xe80e85['name']||'Styles'==_0xe80e85['name']?{'from':_0x72f800,'options':properties(),'validFor':identifier$1}:null;},cssCompletionSource=defineCSSCompletionSource(_0x5b658a=>'VariableName'==_0x5b658a['name']),_0x180fd3=_0x159d04['define']({'name':'css','parser':_0x4806ac['configure']({'props':[indentNodeProp['add']({'Declaration':continuedIndent()}),_0x110e88['add']({'Block\x20KeyframeList':_0x112143})]}),'languageData':{'commentTokens':{'block':{'open':'/*','close':'*/'}},'indentOnInput':/^\s*\}$/,'wordChars':'-'}});function _0x2e7ba4(){return new LanguageSupport(_0x180fd3,_0x180fd3['data']['of']({'autocomplete':cssCompletionSource}));}const _0x25071b=0x13c,_0x25169b=0x13d,_0x4c4002=0x1,_0x129796=0x2,questionDot=0x3,JSXStartTag=0x4,insertSemi=0x13e,_0x245a96=0x140,_0x18a53c=0x141,LineComment=0x5,BlockComment=0x6,Dialect_jsx=0x0,_0x371948=[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],_0x46579b=0x7d,_0x2a358e=0x3b,_0x290213=0x2f,star=0x2a,_0x2c8c5b=0x2b,_0x2209a9=0x2d,lt=0x3c,_0x18e297=0x2c,question=0x3f,dot=0x2e,bracketL=0x5b,trackNewline=new ContextTracker({'start':!0x1,'shift':(_0x555221,_0x3e364a)=>_0x3e364a==LineComment||_0x3e364a==BlockComment||_0x3e364a==_0x245a96?_0x555221:_0x3e364a==_0x18a53c,'strict':!0x1}),insertSemicolon=new ExternalTokenizer((_0x7c5002,_0x32e34a)=>{let {next:_0x267e97}=_0x7c5002;(_0x267e97==_0x46579b||-0x1==_0x267e97||_0x32e34a['context'])&&_0x7c5002['acceptToken'](insertSemi);},{'contextual':!0x0,'fallback':!0x0}),_0x2ca8ee=new ExternalTokenizer((_0x3d15a1,_0x49daca)=>{let _0x22cb3d,{next:_0x2ecec7}=_0x3d15a1;_0x371948['indexOf'](_0x2ecec7)>-0x1||(_0x2ecec7!=_0x290213||(_0x22cb3d=_0x3d15a1['peek'](0x1))!=_0x290213&&_0x22cb3d!=star)&&(_0x2ecec7==_0x46579b||_0x2ecec7==_0x2a358e||-0x1==_0x2ecec7||_0x49daca['context']||_0x3d15a1['acceptToken'](_0x25071b));},{'contextual':!0x0}),_0x282bb4=new ExternalTokenizer((_0x481c63,_0x45794a)=>{_0x481c63['next']!=bracketL||_0x45794a['context']||_0x481c63['acceptToken'](_0x25169b);},{'contextual':!0x0}),operatorToken=new ExternalTokenizer((_0x522ac9,_0x159867)=>{let {next:_0x517b69}=_0x522ac9;if(_0x517b69==_0x2c8c5b||_0x517b69==_0x2209a9){if(_0x522ac9['advance'](),_0x517b69==_0x522ac9['next']){_0x522ac9['advance']();let _0x57a9f3=!_0x159867['context']&&_0x159867['canShift'](_0x4c4002);_0x522ac9['acceptToken'](_0x57a9f3?_0x4c4002:_0x129796);}}else _0x517b69==question&&_0x522ac9['peek'](0x1)==dot&&(_0x522ac9['advance'](),_0x522ac9['advance'](),(_0x522ac9['next']<0x30||_0x522ac9['next']>0x39)&&_0x522ac9['acceptToken'](questionDot));},{'contextual':!0x0});function identifierChar(_0x379c60,_0x48a109){return _0x379c60>=0x41&&_0x379c60<=0x5a||_0x379c60>=0x61&&_0x379c60<=0x7a||0x5f==_0x379c60||_0x379c60>=0xc0||!_0x48a109&&_0x379c60>=0x30&&_0x379c60<=0x39;}const _0x50fda5=new ExternalTokenizer((_0x309f4c,_0x3c5898)=>{if(_0x309f4c['next']!=lt||!_0x3c5898['dialectEnabled'](Dialect_jsx))return;if(_0x309f4c['advance'](),_0x309f4c['next']==_0x290213)return;let _0x5969d2=0x0;for(;_0x371948['indexOf'](_0x309f4c['next'])>-0x1;)_0x309f4c['advance'](),_0x5969d2++;if(identifierChar(_0x309f4c['next'],!0x0)){for(_0x309f4c['advance'](),_0x5969d2++;identifierChar(_0x309f4c['next'],!0x1);)_0x309f4c['advance'](),_0x5969d2++;for(;_0x371948['indexOf'](_0x309f4c['next'])>-0x1;)_0x309f4c['advance'](),_0x5969d2++;if(_0x309f4c['next']==_0x18e297)return;for(let _0x54a77d=0x0;;_0x54a77d++){if(0x7==_0x54a77d){if(!identifierChar(_0x309f4c['next'],!0x0))return;break;}if(_0x309f4c['next']!='extends'['charCodeAt'](_0x54a77d))break;_0x309f4c['advance'](),_0x5969d2++;}}_0x309f4c['acceptToken'](JSXStartTag,-_0x5969d2);}),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},_0x269d89={'__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},_0x288baf={'__proto__':null,'<':0xc1},_0x2e843f=_0x4757b6['deserialize']({'version':0xe,'states':'$FjQ%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!3]Q(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$\x20yQpO\x27#GbO$!aQ!dO,5<sO$!hQ`O\x27#K[O9eQ`O\x27#K[O$!vQ`O,5<uO!,TQMhO,5<tO$!{Q`O\x27#GZO$#^Q`O,5<tO$#cQ!dO\x27#GWO$#pQ!dO\x27#K]O$#zQ`O\x27#K]O!&zQMhO\x27#K]O$$PQ`O,5<xO$$UQlO\x27#JvO$$`QpO\x27#GcO#$`QpO\x27#GcO$$qQ`O\x27#GgO!3oQ`O\x27#GkO$$vQ!0LrO\x27#ItO$%RQpO,5<|OOQ!0Lp,5<|,5<|O$%YQpO\x27#GcO$%gQpO\x27#GdO$%xQpO\x27#GdO$%}QMjO,5=XO$&_QMjO,5=ZOOQ!0Lh,5=^,5=^O!,TQMhO,5@VO!,TQMhO,5@VO$&oQ`O\x27#IyO$\x27TQ`O,5@UO$\x27]Q`O,59aOOQ!0Lh,59i,59iO$\x27bQ`O,5@VO$(bQ$IYO,59uOOQ!0Lh\x27#Jp\x27#JpO$)TQMjO,5<kO$)vQMjO,5<mO@zQ`O,5<oOOQ!0Lh,5<p,5<pO$*QQ`O,5<vO$*VQMjO,5<{O$*gQ`O\x27#KPO!$wQlO1G2RO$*lQ`O1G2RO9eQ`O\x27#KSO9eQ`O\x27#EtO%[QlO\x27#EtO9eQ`O\x27#I{O$*qQ!0LrO,5@{OOQ[1G2}1G2}OOQ[1G4`1G4`OOQ!0Lf1G/|1G/|OOQ!0Lf1G/z1G/zO$,sQ!0MxO1G0UOOQ[1G2y1G2yO!&zQMhO1G2yO%[QlO1G2yO#.tQ`O1G2yO$.wQMhO\x27#EkOOQ!0Lb,5@T,5@TO$/UQ!0LrO,5@TOOQ[1G.u1G.uO!ByQ!0LrO1G.uO!CUQpO1G.uO!C^QMhO1G.uO$/gQ`O1G0uO$/lQ`O\x27#CiO$/wQ`O\x27#KeO$0PQ`O,5=|O$0UQ`O\x27#KeO$0ZQ`O\x27#KeO$0iQ`O\x27#JRO$0wQ`O,5AOO$1PQ!fO1G1iOOQ!0Lf1G1k1G1kO9kQ`O1G3fO@zQ`O1G3fO$1WQ`O1G3fO$1]Q`O1G3fO!DiQ`O1G3fO9uQ!0LrO1G3fOOQ[1G3f1G3fO!EcQ`O1G3UO!&zQMhO1G3RO$1bQ`O1G3ROOQ[1G3S1G3SO!&zQMhO1G3SO$1gQ`O1G3SO$1oQpO\x27#HQOOQ[1G3U1G3UO!6_QpO\x27#I}O!EhQ!bO1G3XOOQ[1G3X1G3XOOQ[,5=r,5=rO$1wQMhO,5=tO9kQ`O,5=tO$$qQ`O,5=vO9`Q`O,5=vO!CUQpO,5=vO!C^QMhO,5=vO:dQMhO,5=vO$2VQ`O\x27#KcO$2bQ`O,5=wOOQ[1G.k1G.kO$2gQ!0LrO1G.kO@zQ`O1G.kO$2rQ`O1G.kO9uQ!0LrO1G.kO$4zQ!fO,5AQO$5XQ`O,5AQO9eQ`O,5AQO$5dQlO,5>PO$5kQ`O,5>POOQ[1G3i1G3iO`QlO1G3iOOQ[1G3o1G3oOOQ[1G3q1G3qO?TQ`O1G3sO$5pQlO1G3uO$9tQlO\x27#HtOOQ[1G3x1G3xO$:RQ`O\x27#HzO?YQ`O\x27#H|OOQ[1G4O1G4OO$:ZQlO1G4OO9uQ!0LrO1G4UOOQ[1G4W1G4WOOQ!0Lb\x27#G_\x27#G_O9uQ!0LrO1G4YO9uQ!0LrO1G4[O$>bQ`O,5@bO!)[QlO,5;`O9eQ`O,5;`O?YQ`O,5:XO!)[QlO,5:XO!CUQpO,5:XO$>gQ?MtO,5:XOOQO,5;`,5;`O$>qQpO\x27#IeO$?XQ`O,5@aOOQ!0Lf1G/r1G/rO$?aQpO\x27#IkO$?kQ`O,5@pOOQ!0Lb1G0y1G0yO#$`QpO,5:XOOQO\x27#Ig\x27#IgO$?sQpO,5:qOOQ!0Ln,5:q,5:qO#(ZQ`O1G0ZOOQ!0Lf1G0Z1G0ZO%[QlO1G0ZOOQ!0Lf1G0t1G0tO?YQ`O1G0tO!CUQpO1G0tO!C^QMhO1G0tOOQ!0Lb1G5|1G5|O!ByQ!0LrO1G0^OOQO1G0m1G0mO%[QlO1G0mO$?zQ!0LrO1G0mO$@VQ!0LrO1G0mO!CUQpO1G0^ODWQpO1G0^O$@eQ!0LrO1G0mOOQO1G0^1G0^O$@yQ!0MxO1G0mPOOO-E<[-E<[POOO1G.h1G.hOOOO1G/i1G/iO$ATQ!bO,5<iO$A]Q!fO1G4jOOQO1G4p1G4pO%[QlO,5?OO$AgQ`O1G5zO$AoQ`O1G6YO$AwQ!fO1G6ZO9eQ`O,5?UO$BRQ!0MxO1G6WO%[QlO1G6WO$BcQ!0LrO1G6WO$BtQ`O1G6VO$BtQ`O1G6VO9eQ`O1G6VO$B|Q`O,5?XO9eQ`O,5?XOOQO,5?X,5?XO$CbQ`O,5?XO$*gQ`O,5?XOOQO-E<k-E<kOOQS1G0a1G0aOOQS1G0c1G0cO#.lQ`O1G0cOOQ[7+(e7+(eO!&zQMhO7+(eO%[QlO7+(eO$CpQ`O7+(eO$C{QMhO7+(eO$DZQ!0MzO,5=XO$FfQ!0MzO,5=ZO$HqQ!0MzO,5=XO$KSQ!0MzO,5=ZO$MeQ!0MzO,59uO%\x20jQ!0MzO,5<kO%#uQ!0MzO,5<mO%&QQ!0MzO,5<{OOQ!0Lf7+&a7+&aO%(cQ!0MxO7+&aO%)VQlO\x27#IfO%)dQ`O,5@cO%)lQ!fO,5@cOOQ!0Lf1G0P1G0PO%)vQ`O7+&jOOQ!0Lf7+&j7+&jO%){Q?MtO,5:fO%[QlO7+&zO%*VQ?MtO,5:bO%*dQ?MtO,5:jO%*nQ?MtO,5:lO%*xQMhO\x27#IiO%+SQ`O,5@hOOQ!0Lh1G0d1G0dOOQO1G1r1G1rOOQO1G1s1G1sO%+[Q!jO,5<ZO!)[QlO,5<YOOQO-E<l-E<lOOQ!0Lf7+\x27Y7+\x27YOOOW7+\x27e7+\x27eOOOW1G1|1G1|O%+gQ`O1G1|OOQ!0Lf1G2O1G2OOOOO,59o,59oO%+lQ!dO,59oOOOO-E<`-E<`OOQ!0Lh1G/X1G/XO%+sQ!0MxO7+\x27kOOQ!0Lh,5?^,5?^O%,gQMhO1G2fP%,nQ`O\x27#IrPOQ!0Lh-E<p-E<pO%-[QMjO,5?aOOQ!0Lh-E<s-E<sO%-}QMjO,5?cOOQ!0Lh-E<u-E<uO%.XQ!dO1G2wO%.`Q!dO\x27#CrO%.vQMhO\x27#KSO$$UQlO\x27#JvOOQ!0Lh1G2_1G2_O%.}Q`O\x27#IqO%/cQ`O,5@vO%/cQ`O,5@vO%/kQ`O,5@vO%/vQ`O,5@vOOQO1G2a1G2aO%0UQMjO1G2`O!,TQMhO1G2`O%0fQ(CWO\x27#IsO%0sQ`O,5@wO!&zQMhO,5@wO%0{Q!dO,5@wOOQ!0Lh1G2d1G2dO%3]Q!fO\x27#CiO%3gQ`O,5=POOQ!0Lb,5<},5<}O%3oQpO,5<}OOQ!0Lb,5=O,5=OOCwQ`O,5<}O%3zQpO,5<}OOQ!0Lb,5=R,5=RO$*gQ`O,5=VOOQO,5?`,5?`OOQO-E<r-E<rOOQ!0Lp1G2h1G2hO#$`QpO,5<}O$$UQlO,5=PO%4YQ`O,5=OO%4eQpO,5=OO!,TQMhO\x27#IuO%5_QMjO1G2sO!,TQMhO\x27#IwO%6QQMjO1G2uO%6[QMjO1G5qO%6fQMjO1G5qOOQO,5?e,5?eOOQO-E<w-E<wOOQO1G.{1G.{O!,TQMhO1G5qO!,TQMhO1G5qO!:]QpO,59wO%[QlO,59wOOQ!0Lh,5<j,5<jO%6sQ`O1G2ZO!,TQMhO1G2bO%6xQ!0MxO7+\x27mOOQ!0Lf7+\x27m7+\x27mO!$wQlO7+\x27mO%7lQ`O,5;`OOQ!0Lb,5?g,5?gOOQ!0Lb-E<y-E<yO%7qQ!dO\x27#K^O#(ZQ`O7+(eO4UQ!fO7+(eO$CsQ`O7+(eO%7{Q!0MvO\x27#CiO%8`Q!0MvO,5=SO%9QQ`O,5=SO%9YQ`O,5=SOOQ!0Lb1G5o1G5oOOQ[7+$a7+$aO!ByQ!0LrO7+$aO!CUQpO7+$aO!$wQlO7+&aO%9_Q`O\x27#JQO%9vQ`O,5APOOQO1G3h1G3hO9kQ`O,5APO%9vQ`O,5APO%:OQ`O,5APOOQO,5?m,5?mOOQO-E=P-E=POOQ!0Lf7+\x27T7+\x27TO%:TQ`O7+)QO9uQ!0LrO7+)QO9kQ`O7+)QO@zQ`O7+)QO%:YQ`O7+)QOOQ[7+)Q7+)QOOQ[7+(p7+(pO%:_Q!0MvO7+(mO!&zQMhO7+(mO!E^Q`O7+(nOOQ[7+(n7+(nO!&zQMhO7+(nO%:iQ`O\x27#KbO%:tQ`O,5=lOOQO,5?i,5?iOOQO-E<{-E<{OOQ[7+(s7+(sO%<WQpO\x27#HZOOQ[1G3`1G3`O!&zQMhO1G3`O%[QlO1G3`O%<_Q`O1G3`O%<jQMhO1G3`O9uQ!0LrO1G3bO$$qQ`O1G3bO9`Q`O1G3bO!CUQpO1G3bO!C^QMhO1G3bO%<xQ`O\x27#JPO%=^Q`O,5@}O%=fQpO,5@}OOQ!0Lb1G3c1G3cOOQ[7+$V7+$VO@zQ`O7+$VO9uQ!0LrO7+$VO%=qQ`O7+$VO%[QlO1G6lO%[QlO1G6mO%=vQ!0LrO1G6lO%>QQlO1G3kO%>XQ`O1G3kO%>^QlO1G3kOOQ[7+)T7+)TO9uQ!0LrO7+)_O`QlO7+)aOOQ[\x27#Kh\x27#KhOOQ[\x27#JS\x27#JSO%>eQlO,5>`OOQ[,5>`,5>`O%[QlO\x27#HuO%>rQ`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%>wQpO1G5|O%?cQ?MtO1G0zO%?mQ`O1G0zOOQO1G/s1G/sO%?xQ?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$@yQ!0MxO7+&XOOQO7+&X7+&XO%[QlO7+&XO%@SQ!0LrO7+&XO!ByQ!0LrO7+%xO!CUQpO7+%xO%@_Q!0LrO7+&XO%@mQ!0MxO7++rO%[QlO7++rO%@}Q`O7++qO%@}Q`O7++qOOQO1G4s1G4sO9eQ`O1G4sO%AVQ`O1G4sOOQS7+%}7+%}O#(ZQ`O<<LPO4UQ!fO<<LPO%AeQ`O<<LPOOQ[<<LP<<LPO!&zQMhO<<LPO%[QlO<<LPO%AmQ`O<<LPO%AxQ!0MzO,5?aO%DTQ!0MzO,5?cO%F`Q!0MzO1G2`O%HqQ!0MzO1G2sO%J|Q!0MzO1G2uO%MXQ!fO,5?QO%[QlO,5?QOOQO-E<d-E<dO%McQ`O1G5}OOQ!0Lf<<JU<<JUO%MkQ?MtO1G0uO&\x20rQ?MtO1G1PO&\x20yQ?MtO1G1PO&#zQ?MtO1G1PO&$RQ?MtO1G1PO&&SQ?MtO1G1PO&(TQ?MtO1G1PO&([Q?MtO1G1PO&(cQ?MtO1G1PO&*dQ?MtO1G1PO&*kQ?MtO1G1PO&*rQ!0MxO<<JfO&,jQ?MtO1G1PO&-gQ?MvO1G1PO&.jQ?MvO\x27#JlO&0pQ?MtO1G1cO&0}Q?MtO1G0UO&1XQMjO,5?TOOQO-E<g-E<gO!)[QlO\x27#FqOOQO\x27#KZ\x27#KZOOQO1G1u1G1uO&1cQ`O1G1tO&1hQ?MtO,5?[OOOW7+\x27h7+\x27hOOOO1G/Z1G/ZO&1rQ!dO1G4xOOQ!0Lh7+(Q7+(QP!&zQMhO,5?^O!,TQMhO7+(cO&1yQ`O,5?]O9eQ`O,5?]OOQO-E<o-E<oO&2XQ`O1G6bO&2XQ`O1G6bO&2aQ`O1G6bO&2lQMjO7+\x27zO&2|Q!dO,5?_O&3WQ`O,5?_O!&zQMhO,5?_OOQO-E<q-E<qO&3]Q!dO1G6cO&3gQ`O1G6cO&3oQ`O1G2kO!&zQMhO1G2kOOQ!0Lb1G2i1G2iOOQ!0Lb1G2j1G2jO%3oQpO1G2iO!CUQpO1G2iOCwQ`O1G2iOOQ!0Lb1G2q1G2qO&3tQpO1G2iO&4SQ`O1G2kO$*gQ`O1G2jOCwQ`O1G2jO$$UQlO1G2kO&4[Q`O1G2jO&5OQMjO,5?aOOQ!0Lh-E<t-E<tO&5qQMjO,5?cOOQ!0Lh-E<v-E<vO!,TQMhO7++]O&5{QMjO7++]O&6VQMjO7++]OOQ!0Lh1G/c1G/cO&6dQ`O1G/cOOQ!0Lh7+\x27u7+\x27uO&6iQMjO7+\x27|O&6yQ!0MxO<<KXOOQ!0Lf<<KX<<KXO&7mQ`O1G0zO!&zQMhO\x27#IzO&7rQ`O,5@xO&9tQ!fO<<LPO!&zQMhO1G2nO&9{Q!0LrO1G2nOOQ[<<G{<<G{O!ByQ!0LrO<<G{O&:^Q!0MxO<<I{OOQ!0Lf<<I{<<I{OOQO,5?l,5?lO&;QQ`O,5?lO&;VQ`O,5?lOOQO-E=O-E=OO&;eQ`O1G6kO&;eQ`O1G6kO9kQ`O1G6kO@zQ`O<<LlOOQ[<<Ll<<LlO&;mQ`O<<LlO9uQ!0LrO<<LlO9kQ`O<<LlOOQ[<<LX<<LXO%:_Q!0MvO<<LXOOQ[<<LY<<LYO!E^Q`O<<LYO&;rQpO\x27#I|O&;}Q`O,5@|O!)[QlO,5@|OOQ[1G3W1G3WOOQO\x27#JO\x27#JOO9uQ!0LrO\x27#JOO&<VQpO,5=uOOQ[,5=u,5=uO&<^QpO\x27#EgO&<eQpO\x27#GeO&<jQ`O7+(zO&<oQ`O7+(zOOQ[7+(z7+(zO!&zQMhO7+(zO%[QlO7+(zO&<wQ`O7+(zOOQ[7+(|7+(|O9uQ!0LrO7+(|O$$qQ`O7+(|O9`Q`O7+(|O!CUQpO7+(|O&=SQ`O,5?kOOQO-E<}-E<}OOQO\x27#H^\x27#H^O&=_Q`O1G6iO9uQ!0LrO<<GqOOQ[<<Gq<<GqO@zQ`O<<GqO&=gQ`O7+,WO&=lQ`O7+,XO%[QlO7+,WO%[QlO7+,XOOQ[7+)V7+)VO&=qQ`O7+)VO&=vQlO7+)VO&=}Q`O7+)VOOQ[<<Ly<<LyOOQ[<<L{<<L{OOQ[-E=Q-E=QOOQ[1G3z1G3zO&>SQ`O,5>aOOQ[,5>c,5>cO&>XQ`O1G4QO9eQ`O7+&fO!)[QlO7+&fOOQO7+%_7+%_O&>^Q?MtO1G6ZO?YQ`O7+%_OOQ!0Lf<<Ia<<IaOOQ!0Lf<<Iz<<IzO?YQ`O<<IzOOQO<<Is<<IsO$@yQ!0MxO<<IsO%[QlO<<IsOOQO<<Id<<IdO!ByQ!0LrO<<IdO&>hQ!0LrO<<IsO&>sQ!0MxO<=\x20^O&?TQ`O<=\x20]OOQO7+*_7+*_O9eQ`O7+*_OOQ[ANAkANAkO&?]Q!fOANAkO!&zQMhOANAkO#(ZQ`OANAkO4UQ!fOANAkO&?dQ`OANAkO%[QlOANAkO&?lQ!0MzO7+\x27zO&A}Q!0MzO,5?aO&DYQ!0MzO,5?cO&FeQ!0MzO7+\x27|O&HvQ!fO1G4lO&IQQ?MtO7+&aO&KUQ?MvO,5=XO&M]Q?MvO,5=ZO&MmQ?MvO,5=XO&M}Q?MvO,5=ZO&N_Q?MvO,59uO\x27!eQ?MvO,5<kO\x27$hQ?MvO,5<mO\x27&|Q?MvO,5<{O\x27(rQ?MtO7+\x27kO\x27)PQ?MtO7+\x27mO\x27)^Q`O,5<]OOQO7+\x27`7+\x27`OOQ!0Lh7+*d7+*dO\x27)cQMjO<<K}OOQO1G4w1G4wO\x27)jQ`O1G4wO\x27)uQ`O1G4wO\x27*TQ`O7++|O\x27*TQ`O7++|O!&zQMhO1G4yO\x27*]Q!dO1G4yO\x27*gQ`O7++}O\x27*oQ`O7+(VO\x27*zQ!dO7+(VOOQ!0Lb7+(T7+(TOOQ!0Lb7+(U7+(UO!CUQpO7+(TOCwQ`O7+(TO\x27+UQ`O7+(VO!&zQMhO7+(VO$*gQ`O7+(UO\x27+ZQ`O7+(VOCwQ`O7+(UO\x27+cQMjO<<NwO!,TQMhO<<NwOOQ!0Lh7+$}7+$}O\x27+mQ!dO,5?fOOQO-E<x-E<xO\x27+wQ!0MvO7+(YO!&zQMhO7+(YOOQ[AN=gAN=gO9kQ`O1G5WOOQO1G5W1G5WO\x27,XQ`O1G5WO\x27,^Q`O7+,VO\x27,^Q`O7+,VO9uQ!0LrOANBWO@zQ`OANBWOOQ[ANBWANBWO\x27,fQ`OANBWOOQ[ANAsANAsOOQ[ANAtANAtO\x27,kQ`O,5?hOOQO-E<z-E<zO\x27,vQ?MtO1G6hOOQO,5?j,5?jOOQO-E<|-E<|OOQ[1G3a1G3aO\x27-QQ`O,5=POOQ[<<Lf<<LfO!&zQMhO<<LfO&<jQ`O<<LfO\x27-VQ`O<<LfO%[QlO<<LfOOQ[<<Lh<<LhO9uQ!0LrO<<LhO$$qQ`O<<LhO9`Q`O<<LhO\x27-_QpO1G5VO\x27-jQ`O7+,TOOQ[AN=]AN=]O9uQ!0LrOAN=]OOQ[<=\x20r<=\x20rOOQ[<=\x20s<=\x20sO\x27-rQ`O<=\x20rO\x27-wQ`O<=\x20sOOQ[<<Lq<<LqO\x27-|Q`O<<LqO\x27.RQlO<<LqOOQ[1G3{1G3{O?YQ`O7+)lO\x27.YQ`O<<JQO\x27.eQ?MtO<<JQOOQO<<Hy<<HyOOQ!0LfAN?fAN?fOOQOAN?_AN?_O$@yQ!0MxOAN?_OOQOAN?OAN?OO%[QlOAN?_OOQO<<My<<MyOOQ[G27VG27VO!&zQMhOG27VO#(ZQ`OG27VO\x27.oQ!fOG27VO4UQ!fOG27VO\x27.vQ`OG27VO\x27/OQ?MtO<<JfO\x27/]Q?MvO1G2`O\x271RQ?MvO,5?aO\x273UQ?MvO,5?cO\x275XQ?MvO1G2sO\x277[Q?MvO1G2uO\x279_Q?MtO<<KXO\x279lQ?MtO<<I{OOQO1G1w1G1wO!,TQMhOANAiOOQO7+*c7+*cO\x279yQ`O7+*cO\x27:UQ`O<=\x20hO\x27:^Q!dO7+*eOOQ!0Lb<<Kq<<KqO$*gQ`O<<KqOCwQ`O<<KqO\x27:hQ`O<<KqO!&zQMhO<<KqOOQ!0Lb<<Ko<<KoO!CUQpO<<KoO\x27:sQ!dO<<KqOOQ!0Lb<<Kp<<KpO\x27:}Q`O<<KqO!&zQMhO<<KqO$*gQ`O<<KpO\x27;SQMjOANDcO\x27;^Q!0MvO<<KtOOQO7+*r7+*rO9kQ`O7+*rO\x27;nQ`O<=\x20qOOQ[G27rG27rO9uQ!0LrOG27rO@zQ`OG27rO!)[QlO1G5SO\x27;vQ`O7+,SO\x27<OQ`O1G2kO&<jQ`OANBQOOQ[ANBQANBQO!&zQMhOANBQO\x27<TQ`OANBQOOQ[ANBSANBSO9uQ!0LrOANBSO$$qQ`OANBSOOQO\x27#H_\x27#H_OOQO7+*q7+*qOOQ[G22wG22wOOQ[ANE^ANE^OOQ[ANE_ANE_OOQ[ANB]ANB]O\x27<]Q`OANB]OOQ[<<MW<<MWO!)[QlOAN?lOOQOG24yG24yO$@yQ!0MxOG24yO#(ZQ`OLD,qOOQ[LD,qLD,qO!&zQMhOLD,qO\x27<bQ!fOLD,qO\x27<iQ?MvO7+\x27zO\x27>_Q?MvO,5?aO\x27@bQ?MvO,5?cO\x27BeQ?MvO7+\x27|O\x27DZQMjOG27TOOQO<<M}<<M}OOQ!0LbANA]ANA]O$*gQ`OANA]OCwQ`OANA]O\x27DkQ!dOANA]OOQ!0LbANAZANAZO\x27DrQ`OANA]O!&zQMhOANA]O\x27D}Q!dOANA]OOQ!0LbANA[ANA[OOQO<<N^<<N^OOQ[LD-^LD-^O9uQ!0LrOLD-^O\x27EXQ?MtO7+*nOOQO\x27#Gf\x27#GfOOQ[G27lG27lO&<jQ`OG27lO!&zQMhOG27lOOQ[G27nG27nO9uQ!0LrOG27nOOQ[G27wG27wO\x27EcQ?MtOG25WOOQOLD*eLD*eOOQ[!$(!]!$(!]O#(ZQ`O!$(!]O!&zQMhO!$(!]O\x27EmQ!0MzOG27TOOQ!0LbG26wG26wO$*gQ`OG26wO\x27HOQ`OG26wOCwQ`OG26wO\x27HZQ!dOG26wO!&zQMhOG26wOOQ[!$(!x!$(!xOOQ[LD-WLD-WO&<jQ`OLD-WOOQ[LD-YLD-YOOQ[!)9Ew!)9EwO#(ZQ`O!)9EwOOQ!0LbLD,cLD,cO$*gQ`OLD,cOCwQ`OLD,cO\x27HbQ`OLD,cO\x27HmQ!dOLD,cOOQ[!$(!r!$(!rOOQ[!.K;c!.K;cO\x27HtQ?MvOG27TOOQ!0Lb!$(\x20}!$(\x20}O$*gQ`O!$(\x20}OCwQ`O!$(\x20}O\x27JjQ`O!$(\x20}OOQ!0Lb!)9Ei!)9EiO$*gQ`O!)9EiOCwQ`O!)9EiOOQ!0Lb!.K;T!.K;TO$*gQ`O!.K;TOOQ!0Lb!4/0o!4/0oO!)[QlO\x27#DzO1PQ`O\x27#EXO\x27JuQ!fO\x27#JrO\x27J|Q!L^O\x27#DvO\x27KTQlO\x27#EOO\x27K[Q!fO\x27#CiO\x27MrQ!fO\x27#CiO!)[QlO\x27#EQO\x27NSQlO,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(!VQ`O,5<iO!)[QlO,5;eO(!_QMhO,5;eO(#xQMhO,5;eO!)[QlO,5;wO!&zQMhO\x27#GmO(!_QMhO\x27#GmO!&zQMhO\x27#GoO(!_QMhO\x27#GoO1SQ`O\x27#DZO1SQ`O\x27#DZO!&zQMhO\x27#GPO(!_QMhO\x27#GPO!&zQMhO\x27#GRO(!_QMhO\x27#GRO!&zQMhO\x27#GaO(!_QMhO\x27#GaO!)[QlO,5:jO($PQpO\x27#D_O($ZQpO\x27#JvO!)[QlO,5@oO\x27NSQlO1G0uO($eQ?MtO\x27#CiO!)[QlO1G2PO!&zQMhO\x27#IuO(!_QMhO\x27#IuO!&zQMhO\x27#IwO(!_QMhO\x27#IwO($oQ!dO\x27#CrO!&zQMhO,5<tO(!_QMhO,5<tO\x27NSQlO1G2RO!)[QlO7+&zO!&zQMhO1G2`O(!_QMhO1G2`O!&zQMhO\x27#IuO(!_QMhO\x27#IuO!&zQMhO\x27#IwO(!_QMhO\x27#IwO!&zQMhO1G2bO(!_QMhO1G2bO\x27NSQlO7+\x27mO\x27NSQlO7+&aO!&zQMhOANAiO(!_QMhOANAiO(%SQ`O\x27#EoO(%XQ`O\x27#EoO(%aQ`O\x27#F]O(%fQ`O\x27#EyO(%kQ`O\x27#KTO(%vQ`O\x27#KRO(&RQ`O,5;ZO(&WQMjO,5<eO(&_Q`O\x27#GYO(&dQ`O\x27#GYO(&iQ`O,5<eO(&qQ`O,5<gO(&yQ`O,5;ZO(\x27RQ?MtO1G1`O(\x27YQ`O,5<tO(\x27_Q`O,5<tO(\x27dQ`O,5<vO(\x27iQ`O,5<vO(\x27nQ`O1G2RO(\x27sQ`O1G0uO(\x27xQMjO<<K}O((PQMjO<<K}O((WQMhO\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%.XQ!dO1G2wO%.XQ!dO1G2wO!&zQMhO,5=]O!&zQMhO,5=]','stateData':'()^~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!|<SO#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<WO(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<XO!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!|<SO#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<pO!S${O!_$|O!i>SO!l$xO#j<vO$W%`O$t<rO$v<tO$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<ROQ<ROSfOd>OOe!iOpkOr<ROskOtkOzkO|<RO!O<RO!SWO!WkO!XkO!_!eO!i<UO!lZO!o<RO!p<RO!q<RO!s<VO!u<YO!x!hO$W!kO$n=|O(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%VOp%WOr%XOs$tOt$tOz%YO|%ZO!O<pO!S*YO!_*ZO!i>SO!l$xO#j<vO$W%`O$t<rO$v<tO$y%aO(VTO(YUO(a$uO(y$}O(z%PO~O![*^O(T*XO!k)OP~P!1uO#k*`O~O!l*aO~Oh%VOp%WOr%XOs$tOt$tOz%YO|%ZO!O<pO!S${O!_$|O!i>SO!l$xO#j<vO$W%`O$t<rO$v<tO$y%aO(T*cO(VTO(YUO(a$uO(y$}O(z%PO~O![*fO!Y)PP~P!3tOr*rOs!nO!S*hO!b*pO!c*jO!d*jO!l*aO#[*qO%`*lO(U!lO(VTO(YUO(e!mO~O!^*oO~P!5iO#S$dOn(`X!Q(`X\x27y(`X(y(`X(z(`X!](`X#`(`X~Og(`X$O(`X~P!6kOn*wO#`*vOg(_X!](_X~O!]*xOg(^X~Oj%dOk%dOl%dO(T&ZOg(^P~Os*{O~Og)}O(T&ZO~O!l+RO~O(T(vO~Op+VO!S%hO![#iO!_%iO!|]O#i#lO#j#iO(T%gO!k(sP~O!g#vO#k+WO~O!S%hO![+YO!](^O!_%iO(T%gO!Y(vP~Os\x27[O!S+[O![+ZO(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+fO!_\x27`O%i+eO~O!g+hOa(]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+sO%j+tO(T+pO(VTO(YUO!^)XP~O!]+uO`)WX~O[+yO~O`+zO~O!_&PO(T%gO(U!lO`)WP~O%j+}O~P;SOh%VO#`,RO~Oh%VOn,UO!_$|O~O!_,WO~O!Q,YO!_XO~O%n%vO~O!x,_O~Oe,dO~Ob,eO(T#nO(VTO(YUO!^)VP~Oe%}O~O%j!QO(T&ZO~P=gO[,jO`,iO~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`,iOa%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,oOl!OO!uwO%l!OO%m!OO%n!OO~P!IcO!l&oO~O&^,uO~O!_,wO~O&o,yO&q,zOP&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-PO~Oh!eX!]!RX!^!RX!g!RX!g!eX!l!eX#`!RX~O!]!eX!^!eX~P#!iO!g-UO#`-TOh(jX!]#hX!^#hX!g(jX!l(jX~O!](jX!^(jX~P##[Oh%VO!g-WO!l%eO!]!aX!^!aX~Os!nO!S!oO(VTO(YUO(e!mO~OP<ROQ<ROSfOd>OOe!iOpkOr<ROskOtkOzkO|<RO!O<RO!SWO!WkO!XkO!_!eO!i<UO!lZO!o<RO!p<RO!q<RO!s<VO!u<YO!x!hO$W!kO$n=|O(VTO(YUO(aVO(o[O~O(T<}O~P#$qO!]-[O!^(iX~O!^-^O~O!g-UO#`-TO!]#hX!^#hX~O!]-_O!^(xX~O!^-aO~O!c-bO!d-bO(U!lO~P#$`O!^-eO~P\x27_On-hO!_\x27`O~O!Y-mO~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-rO#`-pO~PChO!c-tO!d-tO(U!lO~PDWOa%nO#`-pO\x27z%nO~Oa%nO!g#vO#`-pO\x27z%nO~Oa%nO!g#vO!p-rO#`-pO\x27z%nO(r\x27pO~O(P\x27xO(Q\x27xO(R-yO~Ov-zO~O!Y\x27Wa!]\x27Wa~P!:tO![.OO!Y\x27WX!]\x27WX~P%[O!](VO!Y(ha~O!Y(ha~PHRO!](^O!Y(va~O!S%hO![.SO!_%iO(T%gO!Y\x27^X!]\x27^X~O#`.UO!](ta!k(taa(ta\x27z(ta~O!g#vO~P#,wO!](jO!k(sa~O!S%hO!_%iO#j.YO(T%gO~Op._O!S%hO![.[O!_%iO!|]O#i.^O#j.[O(T%gO!]\x27aX!k\x27aX~OR.cO!l#xO~Oh%VOn.fO!_\x27`O%i.eO~Oa#ci!]#ci\x27z#ci\x27w#ci!Y#ci!k#civ#ci!_#ci%i#ci!g#ci~P!:tOn>YO!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!].sO!k(kX~P!:tO!k.vO~O!Y.xO~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[<jOj<_Or<hO!Q#yO!S#{O!l#xO!p$[O#R<_O#n<[O#o<]O#p<]O#q<]O#r<^O#s<_O#t<_O#u<iO#v<`O#x<bO#z<dO#{<eO(aVO(r$YO(y#|O(z#}O~O$O.zO~P#BwO#S$dO#`<kO$Q<kO$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>YO!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!]/OOg(pX~P!1WOg/QO~Oa$Pi!]$Pi\x27z$Pi\x27w$Pi!Y$Pi!k$Piv$Pi!_$Pi%i$Pi!g$Pi~P!:tO$]/RO$_/RO~O$]/SO$_/SO~O!g)hO#`/TO!_$cX$Z$cX$]$cX$_$cX$f$cX~O![/UO~O!_)kO$Z/WO$])jO$_)jO$f/XO~O!]<fO!^(fX~P#BwO!^/YO~O!g)hO$f({X~O$f/[O~Ov/]O~P!&zOx)yO(b)zO(c/`O~O!S/cO~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!0SO![/lO!](^O(T/kO!Y(vP!Y)PP~P!1uOr*rO!b*pO!c*jO!d*jO!l*aO#[*qO%`*lO(U!lO(VTO(YUO~Os<zO!S/mO![+ZO!^*oO(e<yO!^(xP~P$\x20XO!k/nO~P#/sO!]/oO!g#vO(r\x27pO!k)OX~O!k/tO~O!S%hO![*^O!_%iO(T%gO!k)OP~O#k/vO~O!Y$zX!]$zX!g%RX~P!0SO!]/wO!Y)PX~P#/sO!g/yO~O!Y/{O~OpkO(T/|O~P.iOh%VOr0RO!g#vO!l%eO(r\x27pO~O!g+hO~Oa%nO!]0VO\x27z%nO~O!^0XO~P!5iO!c0YO!d0YO(U!lO~P#$`Os!nO!S0ZO(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!]*xOg(^a~Og0fO~On0hO#`0gOg(_a!](_a~OR0iO!Q0iO!S0jO#S$dOn}a\x27y}a(y}a(z}a!]}a#`}a~Og}a$O}a~P$\x27pO!Q*OO\x27y*POn$sa(y$sa(z$sa!]$sa#`$sa~Og$sa$O$sa~P$(lO!Q*OO\x27y*POn$ua(y$ua(z$ua!]$ua#`$ua~Og$ua$O$ua~P$)_O#k0mO~Og%Ta!]%Ta#`%Ta$O%Ta~P!1WO!g#vO~O#k0pO~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$*|Oh%VOr%XOs$tOt$tOz%YO|%ZO!O<pO!S${O!_$|O!i>SO!l$xO#j<vO$W%`O$t<rO$v<tO$y%aO(VTO(YUO(a$uO(y$}O(z%PO~Op0yO%]0zO(T0xO~P$-dO!g+hOa(]a!_(]a\x27z(]a!](]a~O#k1QO~O[]X!]fX!^fX~O!]1RO!^)XX~O!^1TO~O[1UO~Ob1WO(T+pO(VTO(YUO~O!_&PO(T%gO`\x27uX!]\x27uX~O!]+uO`)Wa~O!k1ZO~P!:tO[1^O~O`1_O~O#`1dO~On1gO!_$|O~O(e(|O!^)UP~Oh%VOn1pO!_1mO%i1oO~O[1zO!]1xO!^)VX~O!^1{O~O`1}Oa%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~Oj2QO&[2ROa(gX~P$2}Oj2QO#`$eO&[2RO~Oa2TO~P%[Oa2VO~O&e2YOP&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~Ob2`O!^2^O&j2_O~P`O!_XO!l2bO~O&q,zOP&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!Y2hO~O!]!aa!^!aa~P#BwOs!nO!S!oO![2nO(e!mO!]\x27XX!^\x27XX~P@nO!]-[O!^(ia~O!]\x27_X!^\x27_X~P!9|O!]-_O!^(xa~O!^2uO~P\x27_Oa%nO#`3OO\x27z%nO~Oa%nO!g#vO#`3OO\x27z%nO~Oa%nO!g#vO!p3SO#`3OO\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#`3UO!](ti!k(tia(ti\x27z(ti~O!](jO!k(si~O!S%hO!_%iO!|]O#i3ZO#j3YO(T%gO~O!S%hO!_%iO#j3YO(T%gO~On3bO!_\x27`O%i3aO~Oh%VOn3bO!_\x27`O%i3aO~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$\x27pO#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$(lO#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$)_O#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![3jO!]\x27YX!k\x27YX~P%[O!].sO!k(ka~O!].sO!k(ka~P!:tO!Y3mO~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!]/OOg(pa~OSfO!_4RO$d4SO~O!^4WO~Ov4XO~P#/sOa$mq!]$mq\x27z$mq\x27w$mq!Y$mq!k$mqv$mq!_$mq%i$mq!g$mq~P!:tO!Y4ZO~P!&zO!S4[O~O!Q*OO\x27y*PO(z%POn\x27ia(y\x27ia!]\x27ia#`\x27ia~Og\x27ia$O\x27ia~P%,sO!Q*OO\x27y*POn\x27ka(y\x27ka(z\x27ka!]\x27ka#`\x27ka~Og\x27ka$O\x27ka~P%-fO(r$YO~P#/sO!YfX!Y$zX!]fX!]$zX!g%RX#`fX~P!0SO(T=TO~P!1uO!S%hO![4_O!_%iO(T%gO!]\x27eX!k\x27eX~O!]/oO!k)Oa~O!]/oO!g#vO!k)Oa~O!]/oO!g#vO(r\x27pO!k)Oa~Og$|i!]$|i#`$|i$O$|i~P!1WO![4gO!Y\x27gX!]\x27gX~P!3tO!]/wO!Y)Pa~O!]/wO!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%1VOj4lO!g#vO~Oh%VO!g#vO!l%eO~Oh%VOr4qO!l%eO(r\x27pO~Or4vO!g#vO(r\x27pO~Os!nO!S4wO(VTO(YUO(e!mO~O(y$}On%ai!Q%ai\x27y%ai(z%ai!]%ai#`%ai~Og%ai$O%ai~P%4vO(z%POn%ci!Q%ci\x27y%ci(y%ci!]%ci#`%ci~Og%ci$O%ci~P%5iOg(_i!](_i~P!1WO#`4}Og(_i!](_i~P!1WO!k5SO~Oa$oq!]$oq\x27z$oq\x27w$oq!Y$oq!k$oqv$oq!_$oq%i$oq!g$oq~P!:tO!Y5WO~O!]5XO!_)QX~P#/sOa$zX!_$zX%^]X\x27z$zX!]$zX~P!0SO%^5[OaoXnoX!QoX!_oX\x27yoX\x27zoX(yoX(zoX!]oX~Op5]O(T#nO~O%^5[O~Ob5cO%j5dO(T+pO(VTO(YUO!]\x27tX!^\x27tX~O!]1RO!^)Xa~O[5hO~O`5iO~O[5mO~Oa%nO\x27z%nO~P#/sO!]5rO#`5tO!^)UX~O!^5uO~Or5{Os!nO!S*hO!b!yO!c!vO!d!vO!|<SO#T!pO#U!pO#V!pO#W!pO#X!pO#[5zO#]!zO(U!lO(VTO(YUO(e!mO(o!sO~O!^5yO~P%:yOn6QO!_1mO%i6PO~Oh%VOn6QO!_1mO%i6PO~Ob6XO(T#nO(VTO(YUO!]\x27sX!^\x27sX~O!]1xO!^)Va~O(VTO(YUO(e6ZO~O`6_O~Oj6bO&[6cO~PNXO!k6dO~P%[Oa6fO~Oa6fO~P%[Ob2`O!^6kO&j2_O~P`O!g6mO~O!g6oOh(ji!](ji!^(ji!g(ji!l(jir(ji(r(ji~O!]#hi!^#hi~P#BwO#`6pO!]#hi!^#hi~O!]!ai!^!ai~P#BwOa%nO#`6yO\x27z%nO~Oa%nO!g#vO#`6yO\x27z%nO~O!](tq!k(tqa(tq\x27z(tq~P!:tO!](jO!k(sq~O!S%hO!_%iO#j7QO(T%gO~O!_\x27`O%i7TO~On7XO!_\x27`O%i7TO~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%,sO#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%-fO#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%4vO#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%5iO!]\x27Ya!k\x27Ya~P!:tO!].sO!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%MxO#n<[O~P%MxOP$[OR#zOr<hO!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&!QO#r<^O~P&!QOP$[OR#zO[<jOj<_Or<hO!Q#yO!S#{O!l#xO!p$[O#R<_O#n<[O#o<]O#p<]O#q<]O#r<^O#s<_O#t<_O#u<iO(aVO#x#mi#z#mi#{#mi$O#mi(r#mi(y#mi(z#mi!]#mi!^#mi~O#v#mi~P&$YOP$[OR#zO[<jOj<_Or<hO!Q#yO!S#{O!l#xO!p$[O#R<_O#n<[O#o<]O#p<]O#q<]O#r<^O#s<_O#t<_O#u<iO#v<`O(aVO(z#}O#z#mi#{#mi$O#mi(r#mi(y#mi!]#mi!^#mi~O#x<bO~P&&ZO#x#mi~P&&ZO#v<`O~P&$YOP$[OR#zO[<jOj<_Or<hO!Q#yO!S#{O!l#xO!p$[O#R<_O#n<[O#o<]O#p<]O#q<]O#r<^O#s<_O#t<_O#u<iO#v<`O#x<bO(aVO(y#|O(z#}O#{#mi$O#mi(r#mi!]#mi!^#mi~O#z#mi~P&(jO#z<dO~P&(jOa#|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&+fOn>ZO!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&+fO#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$*|Og\x27]a!]\x27]a~P!1WO!^7kO~O!]\x27da!^\x27da~P#BwO!Y7lO~P#/sO!g#vO(r\x27pO!]\x27ea!k\x27ea~O!]/oO!k)Oi~O!]/oO!g#vO!k)Oi~Og$|q!]$|q#`$|q$O$|q~P!1WO!Y\x27ga!]\x27ga~P#/sO!g7sO~O!]/wO!Y)Pi~P#/sO!]/wO!Y)Pi~O!Y7vO~Oh%VOr7{O!l%eO(r\x27pO~Oj7}O!g#vO~Or8QO!g#vO(r\x27pO~O!Q*OO\x27y*PO(z%POn\x27ja(y\x27ja!]\x27ja#`\x27ja~Og\x27ja$O\x27ja~P&4gO!Q*OO\x27y*POn\x27la(y\x27la(z\x27la!]\x27la#`\x27la~Og\x27la$O\x27la~P&5YOg(_q!](_q~P!1WO#`8SOg(_q!](_q~P!1WO!Y8TO~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!g6oO~O!]5XO!_)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%i7TO~P&7zO%^8XOa%[i!_%[i\x27z%[i!]%[i~Oa#cy!]#cy\x27z#cy\x27w#cy!Y#cy!k#cyv#cy!_#cy%i#cy!g#cy~P!:tO[8ZO~Ob8]O(T+pO(VTO(YUO~O!]1RO!^)Xi~O`8aO~O(e(|O!]\x27pX!^\x27pX~O!]5rO!^)Ua~O!^8kO~P%:yO(o!sO~P$%gO#[8lO~O!_1mO~O!_1mO%i8nO~On8qO!_1mO%i8nO~O[8vO!]\x27sa!^\x27sa~O!]1xO!^)Vi~O!k8zO~O!k8{O~O!k9OO~O!k9OO~P%[Oa9QO~O!g9RO~O!k9SO~O!](wi!^(wi~P#BwOa%nO#`9[O\x27z%nO~O!](ty!k(tya(ty\x27z(ty~P!:tO!](jO!k(sy~O%i9_O~P&7zO!_\x27`O%i9_O~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&4gO#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&5YO#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&I_O(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&KfOn>ZO!Q*OO\x27y*PO(z%PO~P&I_On>ZO!Q*OO\x27y*PO(y$}O~P&KfOR0iO!Q0iO!S0jO#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>ZO!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&kO$O$mq!]$mq!^$mq~P#BwO$O$oq!]$oq!^$oq~P#BwO!^9lO~O$O9mO~P!1WO!g#vO!]\x27ei!k\x27ei~O!g#vO(r\x27pO!]\x27ei!k\x27ei~O!]/oO!k)Oq~O!Y\x27gi!]\x27gi~P#/sO!]/wO!Y)Pq~Or9tO!g#vO(r\x27pO~O[9vO!Y9uO~P#/sO!Y9uO~Oj9|O!g#vO~Og(_y!](_y~P!1WO!]\x27na!_\x27na~P#/sOa%[q!_%[q\x27z%[q!]%[q~P#/sO[:RO~O!]1RO!^)Xq~O`:VO~O#`:WO!]\x27pa!^\x27pa~O!]5rO!^)Ui~P#BwO!S:YO~O!_1mO%i:]O~O(VTO(YUO(e:bO~O!]1xO!^)Vq~O!k:eO~O!k:fO~O!k:gO~O!k:gO~P%[O#`:jO!]#hy!^#hy~O!]#hy!^#hy~P#BwO%i:oO~P&7zO!_\x27`O%i:oO~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&kO!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!]/oO!k)Oy~O!Y\x27gq!]\x27gq~P#/sOr:yO!g#vO(r\x27pO~O[:}O!Y:|O~P#/sO!Y:|O~Og(_!R!](_!R~P!1WOa%[y!_%[y\x27z%[y!]%[y~P#/sO!]1RO!^)Xy~O!]5rO!^)Uq~O(T;UO~O!_1mO%i;XO~O!k;[O~O%i;aO~P&7zOP$|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&kO!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&kOg%e!Z!]%e!Z#`%e!Z$O%e!Z~P!1WO!Y;eO~P#/sOr;fO!g#vO(r\x27pO~O[;hO!Y;eO~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;qO!g#vO(r\x27pO~O!Y;rO~P#/sOr;yO!g#vO(r\x27pO~O!Y;zO~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&kOr;}O!g#vO(r\x27pO~Ov(fX~P1qO!Q%rO~P!)[O(U!lO~P!)[O!YfX!]fX#`fX~P%1VOP]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\x27KiOP<ROQ<ROSfOd>OOe!iOpkOr<ROskOtkOzkO|<RO!O<RO!SWO!WkO!XkO!_XO!i<UO!lZO!o<RO!p<RO!q<RO!s<VO!u<YO!x!hO$W!kO$n=|O(T)]O(VTO(YUO(aVO(o[O~O!]<fO!^$qa~Oh%VOp%WOr%XOs$tOt$tOz%YO|%ZO!O<qO!S${O!_$|O!i>TO!l$xO#j<wO$W%`O$t<sO$v<uO$y%aO(T(vO(VTO(YUO(a$uO(y$}O(z%PO~Ol)dO~P(!_Or!eX(r!eX~P#!iOr(jX(r(jX~P##[O!^]X!^fX~P\x27KiO!YfX!Y$zX!]fX!]$zX#`fX~P!0SO#k<ZO~O!g#vO#k<ZO~O#`<kO~Oj<_O~O#`<{O!](wX!^(wX~O#`<kO!](uX!^(uX~O#k<|O~Og=OO~P!1WO#k=UO~O#k=VO~Og=OO(T&ZO~O!g#vO#k=WO~O!g#vO#k<|O~O$O=XO~P#BwO#k=YO~O#k=ZO~O#k=`O~O#k=aO~O#k=bO~O#k=cO~O$O=dO~P!1WO$O=eO~P!1WOl=pO~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':'$9V)]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!2fI[I[!2k!5w!:e!:e!>dPPP!>lI[PPPPPPPPP!A{P!CYPPI[!DkPI[PI[I[I[I[I[PI[!E}P!IXP!L_P!Lc!Lm!Lq!LqP!IUP!Lu!LuP#\x20{P#!PI[PI[#!V#%[CjA^PA^PA^A^P#&iA^A^#({A^#+sA^#.PA^A^#.o#1T#1T#1Y#1c#1T#1nPP#1TPA^#2WA^#6VA^A^6mPPP#:[PPP#:u#:uP#:uP#;]#:uPP#;cP#;YP#;Y#;v#;Y#<b#<h#<k)aP#<n)aP#<w#<w#<wP)aP)aP)aP)aPP)aP#<}#=QP#=Q)aP#=UP#=XP)aP)aP)aP)aP)aP)a)aPP#=_#=e#=p#=v#=|#>S#>Y#>h#>n#>x#?O#?Y#?`#?p#?v#@h#@z#AQ#AW#Af#A{#Cp#DO#DV#Eq#FP#Gq#HP#HV#H]#Hc#Hm#Hs#Hy#IT#Ig#ImPPPPPPPPPPP#IsPPPPPPP#Jh#Mu$\x20_$\x20f$\x20nPPP$\x27YP$\x27c$*[$0u$0x$0{$1z$1}$2U$2^P$2d$2gP$3T$3X$4P$5_$5d$5zPP$6P$6V$6Z$6^$6b$6f$7b$7y$8b$8f$8i$8l$8v$8y$8}$9RR!|RoqOXst!Z#d%m&r&t&u&w,r,w2Y2]Y!vQ\x27`-d1m5xQ%tvQ%|yQ&T|Q&j!VS\x27W!e-[Q\x27f!iS\x27l!r!yU*j$|*Z*nQ+n%}S+{&V&WQ,c&dQ-b\x27_Q-l\x27gQ-t\x27mQ0Y*pQ1`+}Q1w,dR<x<V%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)}*h+W+[,o,r,w-h-p.O.U.s.z/m0Z0j0p1Q1p2Q2R2T2V2Y2]2_3O3U3j4w6Q6b6c6f6y8q9Q9[S#q]<S!r)_$Z$n\x27X)s-T-W/U2n4R5t6p:W:j<R<U<V<Y<Z<[<]<^<_<`<a<b<c<d<e<f<h<k<x<{<|=O=W=X=b=c>PU+O%]<p<qQ+s&PQ,e&gQ,l&oQ0v+fQ0{+hQ1W+tQ2P,jQ3^.fQ5]0zQ5c1RQ6X1xQ7V3bQ8]5dR9b7X\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)}*h+W+[+f,o,r,w-T-W-h-p.O.U.f.s.z/U/m0Z0j0p1Q1p2Q2R2T2V2Y2]2_2n3O3U3b3j4R4w5t6Q6b6c6f6p6y7X8q9Q9[:W:j<R<U<V<Y<Z<[<]<^<_<`<a<b<c<d<e<f<h<k<x<{<|=O=W=X=b=c>P!S!nQ!r!v!y!z$|\x27W\x27_\x27`\x27l\x27m\x27n*j*n*p*q-[-b-d-t0Y0]1m5x5z%[$ti#v$b$c$d$x${%O%Q%^%_%c)y*R*T*V*Y*`*f*v*w+e+h,R,U.e/O/c/l/v/w/y0^0`0g0h0m1d1g1o3a4[4]4g4l4}5X5[6P7T7s7}8S8X8n9_9m9v9|:]:o:};X;a;h<i<j<l<m<n<o<r<s<t<u<v<w=P=Q=R=S=U=V=Y=Z=[=]=^=_=`=a=d=e=|>U>V>Y>ZQ&X|Q\x27U!eS\x27[%i-_Q+s&PQ,O&WQ,e&gQ0l+RQ1W+tQ1]+zQ2O,iQ2P,jQ5c1RQ5l1_Q6X1xQ6[1zQ6]1}Q8]5dQ8`5iQ8y6_Q:U8aQ:c8vQ;S:VR<z*ZrnOXst!V!Z#d%m&i&r&t&u&w,r,w2Y2]R,g&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)}*h+W+[+f,o,r,w-T-W-h-p.O.U.f.s.z/U/m0Z0j0p1Q1p2Q2R2T2V2Y2]2_2n3O3U3b3j4R4w5t6Q6b6c6f6p6y7X8q9Q9[:W:j<R<U<V<Y<Z<[<]<^<_<`<a<b<c<d<e<f<h<k<x<{<|=O=W=X=b=c>O>P[#]WZ#W#Z\x27X(T!b%jm#h#i#l$x%e%h(^(h(i(j*Y*^*a+Y+Z+],n-U.S.Y.Z.[.^/l/o2b3Y3Z4_6o7QQ%wxQ%{yW&Q|&V&W+}Q&_!TQ\x27c!hQ\x27e!iQ(q#sS+m%|%}Q+q&PQ,^&bQ,b&dS-k\x27f\x27gQ.h(rQ1P+nQ1V+tQ1X+uQ1[+yQ1r,_S1v,c,dQ2z-lQ5b1RQ5f1UQ5k1^Q6W1wQ8[5dQ8_5hQ8c5mQ:Q8ZR;Q:R!U$zi$d%O%Q%^%_%c*R*T*`*v*w/O/v0^0`0g0h0m4]4}8S9m=|>U>V!^%yy!i!u%{%|%}\x27V\x27e\x27f\x27g\x27k\x27u*i+m+n-X-k-l-s0P0S1P2s2z3R4o4p4s7z9xQ+g%wQ,S&[Q,V&]Q,a&dQ.g(qQ1q,^U1u,b,c,dQ3c.hQ6R1rS6V1v1wQ8u6W#f>Q#v$b$c$x${)y*V*Y*f+e+h,R,U.e/c/l/w/y1d1g1o3a4[4g4l5X5[6P7T7s7}8X8n9_9v9|:]:o:};X;a;h<l<n<r<t<v=P=R=U=Y=[=^=`=d>Y>Zo>R<i<j<m<o<s<u<w=Q=S=V=Z=]=_=a=eW%Ti%V*x=|S&[!Q&iQ&]!RQ&^!SU*|%[%d=pR,Q&Y%]%Si#v$b$c$d$x${%O%Q%^%_%c)y*R*T*V*Y*`*f*v*w+e+h,R,U.e/O/c/l/v/w/y0^0`0g0h0m1d1g1o3a4[4]4g4l4}5X5[6P7T7s7}8S8X8n9_9m9v9|:]:o:};X;a;h<i<j<l<m<n<o<r<s<t<u<v<w=P=Q=R=S=U=V=Y=Z=[=]=^=_=`=a=d=e=|>U>V>Y>ZT)z$u){V+O%]<p<qW\x27[!e%i*Z-_S(}#y#zQ+b%rQ+x&SS.a(m(nQ1h,WQ5Q0iR8f5r\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)}*h+W+[+f,o,r,w-T-W-h-p.O.U.f.s.z/U/m0Z0j0p1Q1p2Q2R2T2V2Y2]2_2n3O3U3b3j4R4w5t6Q6b6c6f6p6y7X8q9Q9[:W:j<R<U<V<Y<Z<[<]<^<_<`<a<b<c<d<e<f<h<k<x<{<|=O=W=X=b=c>P$i$^c#Y#e%q%s%u(S(Y(t(y)R)S)T)U)V)W)X)Y)Z)[)^)`)b)g)q+c+w-Y-w-|.R.T.r.u.y.{.|.}/a0n2i2l2|3T3i3n3o3p3q3r3s3t3u3v3w3x3y3z3}4O4V5U5`6r6x6}7^7_7h7i8h9U9Y9d9j9k:l;T;]<T=sT#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)}*h+W+[+f,o,r,w-T-W-h-p.O.U.f.s.z/U/m0Z0j0p1Q1p2Q2R2T2V2Y2]2_2n3O3U3b3j4R4w5t6Q6b6c6f6p6y7X8q9Q9[:W:j<R<U<V<Y<Z<[<]<^<_<`<a<b<c<d<e<f<h<k<x<{<|=O=W=X=b=c>PQ\x27Y!eR2o-[!W!nQ!e!r!v!y!z$|\x27W\x27_\x27`\x27l\x27m\x27n*Z*j*n*p*q-[-b-d-t0Y0]1m5x5zR1j,YnqOXst!Z#d%m&r&t&u&w,r,w2Y2]Q&y!^Q\x27v!xS(s#u<ZQ+k%zQ,[&_Q,]&aQ-i\x27dQ-v\x27oS.q(x<|S0o+W=WQ0}+lQ1l,ZQ2a,yQ2c,zQ2k-VQ2x-jQ2{-nS5V0p=bQ5^1OS5a1Q=cQ6q2mQ6u2yQ6z3QQ8Y5_Q9V6sQ9W6vQ9Z6{R:i9S$d$]c#Y#e%s%u(S(Y(t(y)R)S)T)U)V)W)X)Y)Z)[)^)`)b)g)q+c+w-Y-w-|.R.T.r.u.y.|.}/a0n2i2l2|3T3i3n3o3p3q3r3s3t3u3v3w3x3y3z3}4O4V5U5`6r6x6}7^7_7h7i8h9U9Y9d9j9k:l;T;]<T=sS(o#p\x27iQ)P#zS+a%q.{S.b(n(pR3[.c\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)}*h+W+[+f,o,r,w-T-W-h-p.O.U.f.s.z/U/m0Z0j0p1Q1p2Q2R2T2V2Y2]2_2n3O3U3b3j4R4w5t6Q6b6c6f6p6y7X8q9Q9[:W:j<R<U<V<Y<Z<[<]<^<_<`<a<b<c<d<e<f<h<k<x<{<|=O=W=X=b=c>PS#q]<SQ&t!XQ&u!YQ&w![Q&x!]R2X,uQ\x27a!hQ+d%wQ-g\x27cS.d(q+gQ2v-fW3`.g.h0u0wQ6t2wW7R3]3_3c5ZU9^7S7U7WU:n9`9a9cS;_:m:pQ;m;`R;u;nU!wQ\x27`-dT5v1m5x!Q_OXZ`st!V!Z#d#h%e%m&i&k&r&t&u&w(j,r,w.Z2Y2]]!pQ!r\x27`-d1m5xT#q]<S%^{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)}*h+W+[+f,o,r,w-h-p.O.U.f.s.z/m0Z0j0p1Q1p2Q2R2T2V2Y2]2_3O3U3b3j4w6Q6b6c6f6y7X8q9Q9[S(}#y#zS.a(m(n!s=i$Z$n\x27X)s-T-W/U2n4R5t6p:W:j<R<U<V<Y<Z<[<]<^<_<`<a<b<c<d<e<f<h<k<x<{<|=O=W=X=b=c>PU$fd)_,lS(p#p\x27iU*u%R(w3|U0k*}.m7dQ5Z0vQ7S3^Q9a7VR:p9bm!tQ!r!v!y!z\x27`\x27l\x27m\x27n-d-t1m5x5zQ\x27t!uS(f#g2SS-r\x27k\x27wQ/r*]Q0P*iQ3S-uQ4c/sQ4o0RQ4p0SQ4u0[Q7o4^S7z4q4sS8O4v4xQ9o7pQ9s7vQ9x7{Q9}8QS:x9t9uS;d:y:|S;p;e;fS;x;q;rS;|;y;zR<P;}Q#wbQ\x27s!uS(e#g2SS(g#m+VQ+X%fQ+i%xQ+o&OU-q\x27k\x27t\x27wQ.V(fQ/q*]Q0Q*iQ0T*kQ0|+jQ1s,`S3P-r-uQ3X._S4b/r/sQ4k/}S4n0P0[Q4r0UQ6T1tQ6|3SQ7n4^Q7r4cU7y4o4u4xQ7|4tQ8s6US9n7o7pQ9r7vQ9z8OQ9{8PQ:`8tQ:v9oS:w9s9uQ;P9}Q;Z:aS;c:x:|S;o;d;eS;w;p;rS;{;x;zQ<O;|Q<Q<PQ=l=gQ=x=qR=y=rV!wQ\x27`-d%^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)}*h+W+[+f,o,r,w-h-p.O.U.f.s.z/m0Z0j0p1Q1p2Q2R2T2V2Y2]2_3O3U3b3j4w6Q6b6c6f6y7X8q9Q9[S#wz!j!r=f$Z$n\x27X)s-T-W/U2n4R5t6p:W:j<R<U<V<Y<Z<[<]<^<_<`<a<b<c<d<e<f<h<k<x<{<|=O=W=X=b=c>PR=l>O%^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)}*h+W+[+f,o,r,w-h-p.O.U.f.s.z/m0Z0j0p1Q1p2Q2R2T2V2Y2]2_3O3U3b3j4w6Q6b6c6f6y7X8q9Q9[Q%fj!^%xy!i!u%{%|%}\x27V\x27e\x27f\x27g\x27k\x27u*i+m+n-X-k-l-s0P0S1P2s2z3R4o4p4s7z9xS&Oz!jQ+j%yQ,`&dW1t,a,b,c,dU6U1u1v1wS8t6V6WQ:a8u!r=g$Z$n\x27X)s-T-W/U2n4R5t6p:W:j<R<U<V<Y<Z<[<]<^<_<`<a<b<c<d<e<f<h<k<x<{<|=O=W=X=b=c>PQ=q=}R=r>O%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)}*h+W+[+f,o,r,w-h-p.O.U.f.s.z/m0Z0j0p1Q1p2Q2R2T2V2Y2]2_3O3U3b3j4w6Q6b6c6f6y7X8q9Q9[Y#bWZ#W#Z(T!b%jm#h#i#l$x%e%h(^(h(i(j*Y*^*a+Y+Z+],n-U.S.Y.Z.[.^/l/o2b3Y3Z4_6o7QQ,m&o!p=h$Z$n)s-T-W/U2n4R5t6p:W:j<R<U<V<Y<Z<[<]<^<_<`<a<b<c<d<e<f<h<k<x<{<|=O=W=X=b=c>PR=k\x27XU\x27]!e%i*ZR2q-_%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)}*h+W+[,o,r,w-h-p.O.U.s.z/m0Z0j0p1Q1p2Q2R2T2V2Y2]2_3O3U3j4w6Q6b6c6f6y8q9Q9[!r)_$Z$n\x27X)s-T-W/U2n4R5t6p:W:j<R<U<V<Y<Z<[<]<^<_<`<a<b<c<d<e<f<h<k<x<{<|=O=W=X=b=c>PQ,l&oQ0v+fQ3^.fQ7V3bR9b7X!b$Tc#Y%q(S(Y(t(y)Z)[)`)g+w-w-|.R.T.r.u/a0n2|3T3i3y5U5`6x6}7^9Y:l<T!P<a)^)q-Y.{2i2l3n3w3x3}4V6r7_7h7i8h9U9d9j9k;T;]=s!f$Vc#Y%q(S(Y(t(y)W)X)Z)[)`)g+w-w-|.R.T.r.u/a0n2|3T3i3y5U5`6x6}7^9Y:l<T!T<c)^)q-Y.{2i2l3n3t3u3w3x3}4V6r7_7h7i8h9U9d9j9k;T;]=s!^$Zc#Y%q(S(Y(t(y)`)g+w-w-|.R.T.r.u/a0n2|3T3i3y5U5`6x6}7^9Y:l<TQ4]/jz>P)^)q-Y.{2i2l3n3}4V6r7_7h7i8h9U9d9j9k;T;]=sQ>U>WR>V>X\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)}*h+W+[+f,o,r,w-T-W-h-p.O.U.f.s.z/U/m0Z0j0p1Q1p2Q2R2T2V2Y2]2_2n3O3U3b3j4R4w5t6Q6b6c6f6p6y7X8q9Q9[:W:j<R<U<V<Y<Z<[<]<^<_<`<a<b<c<d<e<f<h<k<x<{<|=O=W=X=b=c>PS$oh$pR4S/T\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)}*h+W+[+f,o,r,w-T-W-h-p.O.U.f.s.z/T/U/m0Z0j0p1Q1p2Q2R2T2V2Y2]2_2n3O3U3b3j4R4w5t6Q6b6c6f6p6y7X8q9Q9[:W:j<R<U<V<Y<Z<[<]<^<_<`<a<b<c<d<e<f<h<k<x<{<|=O=W=X=b=c>PT$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)}*h+W+[+f,o,r,w-T-W-h-p.O.U.f.s.z/T/U/m0Z0j0p1Q1p2Q2R2T2V2Y2]2_2n3O3U3b3j4R4w5t6Q6b6c6f6p6y7X8q9Q9[:W:j<R<U<V<Y<Z<[<]<^<_<`<a<b<c<d<e<f<h<k<x<{<|=O=W=X=b=c>PT$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)}*h+W+[+f,o,r,w-h-p.O.U.f.s.z/m0Z0j0p1Q1p2Q2R2T2V2Y2]2_3O3U3b3j4w6Q6b6c6f6y7X8q9Q9[!s=}$Z$n\x27X)s-T-W/U2n4R5t6p:W:j<R<U<V<Y<Z<[<]<^<_<`<a<b<c<d<e<f<h<k<x<{<|=O=W=X=b=c>P#glOPXZst!Z!`!o#S#d#o#{$n%m&k&n&o&r&t&u&w&{\x27T\x27b)O)s*h+[+f,o,r,w-h.f/U/m0Z0j1p2Q2R2T2V2Y2]2_3b4R4w6Q6b6c6f7X8q9Q!U%Ri$d%O%Q%^%_%c*R*T*`*v*w/O/v0^0`0g0h0m4]4}8S9m=|>U>V#f(w#v$b$c$x${)y*V*Y*f+e+h,R,U.e/c/l/w/y1d1g1o3a4[4g4l5X5[6P7T7s7}8X8n9_9v9|:]:o:};X;a;h<l<n<r<t<v=P=R=U=Y=[=^=`=d>Y>ZQ+S%aQ/b*Oo3|<i<j<m<o<s<u<w=Q=S=V=Z=]=_=a=e!U$yi$d%O%Q%^%_%c*R*T*`*v*w/O/v0^0`0g0h0m4]4}8S9m=|>U>VQ*b$zU*k$|*Z*nQ+T%bQ0U*l#f=n#v$b$c$x${)y*V*Y*f+e+h,R,U.e/c/l/w/y1d1g1o3a4[4g4l5X5[6P7T7s7}8X8n9_9v9|:]:o:};X;a;h<l<n<r<t<v=P=R=U=Y=[=^=`=d>Y>Zn=o<i<j<m<o<s<u<w=Q=S=V=Z=]=_=a=eQ=t>QQ=u>RQ=v>SR=w>T!U%Ri$d%O%Q%^%_%c*R*T*`*v*w/O/v0^0`0g0h0m4]4}8S9m=|>U>V#f(w#v$b$c$x${)y*V*Y*f+e+h,R,U.e/c/l/w/y1d1g1o3a4[4g4l5X5[6P7T7s7}8X8n9_9v9|:]:o:};X;a;h<l<n<r<t<v=P=R=U=Y=[=^=`=d>Y>Zo3|<i<j<m<o<s<u<w=Q=S=V=Z=]=_=a=enoOXst!Z#d%m&r&t&u&w,r,w2Y2]S*e${*YQ-Q\x27OQ-R\x27QR4f/w%[%Si#v$b$c$d$x${%O%Q%^%_%c)y*R*T*V*Y*`*f*v*w+e+h,R,U.e/O/c/l/v/w/y0^0`0g0h0m1d1g1o3a4[4]4g4l4}5X5[6P7T7s7}8S8X8n9_9m9v9|:]:o:};X;a;h<i<j<l<m<n<o<r<s<t<u<v<w=P=Q=R=S=U=V=Y=Z=[=]=^=_=`=a=d=e=|>U>V>Y>ZQ,T&]Q1f,VQ5p1eR8e5qV*m$|*Z*nU*m$|*Z*nT5w1m5xS/}*h/mQ4t0ZT8P4w:YQ+i%xQ0T*kQ0|+jQ1s,`Q6T1tQ8s6UQ:`8tR;Z:a!U%Oi$d%O%Q%^%_%c*R*T*`*v*w/O/v0^0`0g0h0m4]4}8S9m=|>U>Vx*R$v)e*S*t+U/u0b0c4P4d5O5P5T7m8R:O:u=m=z={S0^*s0_#f<l#v$b$c$x${)y*V*Y*f+e+h,R,U.e/c/l/w/y1d1g1o3a4[4g4l5X5[6P7T7s7}8X8n9_9v9|:]:o:};X;a;h<l<n<r<t<v=P=R=U=Y=[=^=`=d>Y>Zn<m<i<j<m<o<s<u<w=Q=S=V=Z=]=_=a=e!d=P(u)c*[*d.i.l.p/^/j/z0t1c3f4Y4e4i5o7Y7]7t7w8U8W9q9y:P:z;O;b;g;s>W>X`=Q3{7`7c7g9e:q:t;vS=[.k3gT=]7b9h!U%Qi$d%O%Q%^%_%c*R*T*`*v*w/O/v0^0`0g0h0m4]4}8S9m=|>U>V|*T$v)e*U*s+U/f/u0b0c4P4d4y5O5P5T7m8R:O:u=m=z={S0`*t0a#f<n#v$b$c$x${)y*V*Y*f+e+h,R,U.e/c/l/w/y1d1g1o3a4[4g4l5X5[6P7T7s7}8X8n9_9v9|:]:o:};X;a;h<l<n<r<t<v=P=R=U=Y=[=^=`=d>Y>Zn<o<i<j<m<o<s<u<w=Q=S=V=Z=]=_=a=e!h=R(u)c*[*d.j.k.p/^/j/z0t1c3d3f4Y4e4i5o7Y7Z7]7t7w8U8W9q9y:P:z;O;b;g;s>W>Xd=S3{7a7b7g9e9f:q:r:t;vS=^.l3hT=_7c9irnOXst!V!Z#d%m&i&r&t&u&w,r,w2Y2]Q&f!UR,o&ornOXst!V!Z#d%m&i&r&t&u&w,r,w2Y2]R&f!UQ,X&^R1b,QsnOXst!V!Z#d%m&i&r&t&u&w,r,w2Y2]Q1n,^S6O1q1rU8m5|5}6RS:[8o8pS;V:Z:^Q;j;WR;t;kQ&m!VR,h&iR6[1zR:c8vW&Q|&V&W+}R1X+uQ&r!WR,r&sR,x&xT2Z,w2]R,|&yQ,{&yR2d,|Q\x27y!{R-x\x27ySsOtQ#dXT%ps#dQ#OTR\x27{#OQ#RUR\x27}#RQ){$uR/_){Q#UVR(Q#UQ#XWU(W#X(X.PQ(X#YR.P(YQ-]\x27YR2p-]Q.t(yS3k.t3lR3l.uQ-d\x27`R2t-dY!rQ\x27`-d1m5xR\x27j!rQ/P)eR4Q/PU#_W%h*YU(_#_(`.QQ(`#`R.Q(ZQ-`\x27]R2r-`t`OXst!V!Z#d%m&i&k&r&t&u&w,r,w2Y2]S#hZ%eU#r`#h.ZR.Z(jQ(k#jQ.W(gW.`(k.W3V7OQ3V.XR7O3WQ)n$lR/V)nQ$phR)t$pQ$`cU)a$`-{<gQ-{<TR<g)qQ/p*]W4`/p4a7q9pU4a/q/r/sS7q4b4cR9p7r$e*Q$v(u)c)e*[*d*s*t+P+Q+U.k.l.n.o.p/^/f/h/j/u/z0b0c0t1c3d3e3f3{4P4Y4d4e4i4y4{5O5P5T5o7Y7Z7[7]7b7c7e7f7g7m7t7w8R8U8W9e9f9g9q9y:O:P:q:r:s:t:u:z;O;b;g;s;v=m=z={>W>XQ/x*dU4h/x4j7uQ4j/zR7u4iS*n$|*ZR0W*nx*S$v)e*s*t+U/u0b0c4P4d5O5P5T7m8R:O:u=m=z={!d.i(u)c*[*d.k.l.p/^/j/z0t1c3f4Y4e4i5o7Y7]7t7w8U8W9q9y:P:z;O;b;g;s>W>XU/g*S.i7`a7`3{7b7c7g9e:q:t;vQ0_*sQ3g.kU4z0_3g9hR9h7b|*U$v)e*s*t+U/f/u0b0c4P4d4y5O5P5T7m8R:O:u=m=z={!h.j(u)c*[*d.k.l.p/^/j/z0t1c3d3f4Y4e4i5o7Y7Z7]7t7w8U8W9q9y:P:z;O;b;g;s>W>XU/i*U.j7ae7a3{7b7c7g9e9f:q:r:t;vQ0a*tQ3h.lU4|0a3h9iR9i7cQ*y%UR0e*yQ5Y0tR8V5YQ+^%kR0s+^Q5s1hS8g5s:XR:X8hQ,Z&_R1k,ZQ5x1mR8j5xQ1y,eS6Y1y8wR8w6[Q1S+qW5e1S5g8^:SQ5g1VQ8^5fR:S8_Q+v&QR1Y+vQ2],wR6j2]YrOXst#dQ&v!ZQ+`%mQ,q&rQ,s&tQ,t&uQ,v&wQ2W,rS2Z,w2]R6i2YQ%opQ&z!_Q&}!aQ\x27P!bQ\x27R!cQ\x27q!uQ+_%lQ+k%zQ,P&XQ,g&mQ-O&|W-o\x27k\x27s\x27t\x27wQ-v\x27oQ0V*mQ0}+lQ1a,OS1|,h,kQ2e,}Q2f-QQ2g-RQ2{-nW2}-q-r-u-wQ5^1OQ5j1]Q5n1cQ6S1sQ6^2OQ6h2XU6w2|3P3SQ6z3QQ8Y5_Q8b5lQ8d5oQ8i5wQ8r6TQ8x6]S9X6x6|Q9Z6{Q:T8`Q:_8sQ:d8yQ:k9YQ;R:UQ;Y:`Q;^:lQ;i;SR;l;ZQ%zyQ\x27d!iQ\x27o!uU+l%{%|%}Q-V\x27VU-j\x27e\x27f\x27gS-n\x27k\x27uQ0O*iS1O+m+nQ2m-XS2y-k-lQ3Q-sS4m0P0SQ5_1PQ6s2sQ6v2zQ6{3RU7x4o4p4sQ9w7zR:{9xS$wi=|R*z%VU%Ui%V=|R0d*xQ$viS(u#v+hS)c$b$cQ)e$dQ*[$xS*d${*YQ*s%OQ*t%QQ+P%^Q+Q%_Q+U%cQ.k<lQ.l<nQ.n<rQ.o<tQ.p<vQ/^)yQ/f*RQ/h*TQ/j*VQ/u*`S/z*f/lQ0b*vQ0c*wl0t+e,U.e1g1o3a6P7T8n9_:]:o;X;aQ1c,RQ3d=PQ3e=RQ3f=US3{<i<jQ4P/OS4Y/c4[Q4d/vQ4e/wQ4i/yQ4y0^Q4{0`Q5O0gQ5P0hQ5T0mQ5o1dQ7Y=YQ7Z=[Q7[=^Q7]=`Q7b<mQ7c<oQ7e<sQ7f<uQ7g<wQ7m4]Q7t4gQ7w4lQ8R4}Q8U5XQ8W5[Q9e=VQ9f=QQ9g=SQ9q7sQ9y7}Q:O8SQ:P8XQ:q=ZQ:r=]Q:s=_Q:t=aQ:u9mQ:z9vQ;O9|Q;b=dQ;g:}Q;s;hQ;v=eQ=m=|Q=z>UQ={>VQ>W>YR>X>ZQ*}%]Q.m<pR7d<qnpOXst!Z#d%m&r&t&u&w,r,w2Y2]Q!fPS#fZ#oQ&|!`W\x27h!o*h0Z4wQ(P#SQ)Q#{Q)r$nS,k&k&nQ,p&oQ,}&{S-S\x27T/mQ-f\x27bQ.w)OQ/Z)sQ0q+[Q0w+fQ2U,oQ2w-hQ3_.fQ4U/UQ5R0jQ5}1pQ6`2QQ6a2RQ6e2TQ6g2VQ6l2_Q7W3bQ7j4RQ8p6QQ8|6bQ8}6cQ9P6fQ9c7XQ:^8qR:h9Q#[cOPXZst!Z!`!o#d#o#{%m&k&n&o&r&t&u&w&{\x27T\x27b)O*h+[+f,o,r,w-h.f/m0Z0j1p2Q2R2T2V2Y2]2_3b4w6Q6b6c6f7X8q9QQ#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/U4RQ+c%tQ+w&RS-Y\x27X2nQ-w\x27rS-|(T.OQ.R(]Q.T(dQ.r(xQ.u(zQ.y<RQ.{<UQ.|<VQ.}<YQ/a)}Q0n+WQ2i-TQ2l-WQ2|-pQ3T.UQ3i.sQ3n<ZQ3o<[Q3p<]Q3q<^Q3r<_Q3s<`Q3t<aQ3u<bQ3v<cQ3w<dQ3x<eQ3y.zQ3z<hQ3}<kQ4O<xQ4V<fQ5U0pQ5`1QQ6r<{Q6x3OQ6}3UQ7^3jQ7_<|Q7h=OQ7i=WQ8h5tQ9U6pQ9Y6yQ9d=XQ9j=bQ9k=cQ:l9[Q;T:WQ;]:jQ<T#SR=s>PR#[WR\x27Z!el!tQ!r!v!y!z\x27`\x27l\x27m\x27n-d-t1m5x5zS\x27V!e-[U*i$|*Z*nS-X\x27W\x27_S0S*j*pQ0[*qQ2s-bQ4s0YR4x0]R({#xQ!fQT-c\x27`-d]!qQ!r\x27`-d1m5xQ#p]R\x27i<SR)f$dY!uQ\x27`-d1m5xQ\x27k!rS\x27u!v!yS\x27w!z5zS-s\x27l\x27mQ-u\x27nR3R-tT#kZ%eS#jZ%eS%km,nU(g#h#i#lS.X(h(iQ.](jQ0r+]Q3W.YU3X.Z.[.^S7P3Y3ZR9]7Qd#^W#W#Z%h(T(^*Y+Y.S/lr#gZm#h#i#l%e(h(i(j+].Y.Z.[.^3Y3Z7QS*]$x*aQ/s*^Q2S,nQ2j-UQ4^/oQ6n2bQ7p4_Q9T6oT=j\x27X+ZV#aW%h*YU#`W%h*YS(U#W(^U(Z#Z+Y/lS-Z\x27X+ZT-}(T.SV\x27^!e%i*ZQ$lfR)x$qT)m$l)nR4T/TT*_$x*aT*g${*YQ0u+eQ1e,UQ3].eQ5q1gQ5|1oQ7U3aQ8o6PQ9`7TQ:Z8nQ:m9_Q;W:]Q;`:oQ;k;XR;n;anqOXst!Z#d%m&r&t&u&w,r,w2Y2]Q&l!VR,g&itmOXst!U!V!Z#d%m&i&r&t&u&w,r,w2Y2]R,n&oT%lm,nR1i,WR,f&gQ&U|S+|&V&WR1[+}R+r&PT&p!W&sT&q!W&sT2[,w2]','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':[_0x2ca8ee,_0x282bb4,operatorToken,_0x50fda5,0x2,0x3,0x4,0x5,0x6,0x7,0x8,0x9,0xa,0xb,0xc,0xd,0xe,insertSemicolon,new _0x555634('$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 _0x555634('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':0x3b2d},'dynamicPrecedences':{0x50:0x1,0x52:0x1,0x5e:0x1,0xa9:0x1,0xc7:0x1},'specialized':[{'term':0x147,'get':_0x386b40=>spec_identifier[_0x386b40]||-0x1},{'term':0x157,'get':_0x3424bf=>_0x269d89[_0x3424bf]||-0x1},{'term':0x5f,'get':_0x2fe0b0=>_0x288baf[_0x2fe0b0]||-0x1}],'tokenPrec':0x3b47}),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'})]),_0x34ee52=new _0x1274fe(),_0x415308=new Set(['Script','Block','FunctionExpression','FunctionDeclaration','ArrowFunction','MethodDeclaration','ForStatement']);function _0x106eed(_0x450554){return(_0x3f7de6,_0x19fa4b)=>{let _0x22709b=_0x3f7de6['node']['getChild']('VariableDefinition');return _0x22709b&&_0x19fa4b(_0x22709b,_0x450554),!0x0;};}const functionContext=['FunctionDeclaration'],gatherCompletions={'FunctionDeclaration':_0x106eed('function'),'ClassDeclaration':_0x106eed('class'),'ClassExpression':()=>!0x0,'EnumDeclaration':_0x106eed('constant'),'TypeAliasDeclaration':_0x106eed('type'),'NamespaceDeclaration':_0x106eed('namespace'),'VariableDefinition'(_0x6b90fe,_0xec67e5){_0x6b90fe['matchContext'](functionContext)||_0xec67e5(_0x6b90fe,'variable');},'TypeDefinition'(_0x5d29dd,_0x702020){_0x702020(_0x5d29dd,'type');},'__proto__':null};function getScope(_0x2eb7c5,_0x36e60a){let _0x1e044f=_0x34ee52['get'](_0x36e60a);if(_0x1e044f)return _0x1e044f;let _0x197674=[],_0x3efc18=!0x0;function _0x3b68d7(_0xfbdaf7,_0x4efd16){let _0x374fa2=_0x2eb7c5['sliceString'](_0xfbdaf7['from'],_0xfbdaf7['to']);_0x197674['push']({'label':_0x374fa2,'type':_0x4efd16});}return _0x36e60a['cursor'](IterMode['IncludeAnonymous'])['iterate'](_0x508f27=>{if(_0x3efc18)_0x3efc18=!0x1;else{if(_0x508f27['name']){let _0x2e7813=gatherCompletions[_0x508f27['name']];if(_0x2e7813&&_0x2e7813(_0x508f27,_0x3b68d7)||_0x415308['has'](_0x508f27['name']))return!0x1;}else{if(_0x508f27['to']-_0x508f27['from']>0x2000){for(let _0x41f006 of getScope(_0x2eb7c5,_0x508f27['node']))_0x197674['push'](_0x41f006);return!0x1;}}}}),_0x34ee52['set'](_0x36e60a,_0x197674),_0x197674;}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(_0x30d48f){let _0x3972af=syntaxTree(_0x30d48f['state'])['resolveInner'](_0x30d48f['pos'],-0x1);if(dontComplete['indexOf'](_0x3972af['name'])>-0x1)return null;let _0xdc008d='VariableName'==_0x3972af['name']||_0x3972af['to']-_0x3972af['from']<0x14&&Identifier['test'](_0x30d48f['state']['sliceDoc'](_0x3972af['from'],_0x3972af['to']));if(!_0xdc008d&&!_0x30d48f['explicit'])return null;let _0x38961f=[];for(let _0x45e8c6=_0x3972af;_0x45e8c6;_0x45e8c6=_0x45e8c6['parent'])_0x415308['has'](_0x45e8c6['name'])&&(_0x38961f=_0x38961f['concat'](getScope(_0x30d48f['state']['doc'],_0x45e8c6)));return{'options':_0x38961f,'from':_0xdc008d?_0x3972af['from']:_0x30d48f['pos'],'validFor':Identifier};}const javascriptLanguage=_0x159d04['define']({'name':'javascript','parser':_0x2e843f['configure']({'props':[indentNodeProp['add']({'IfStatement':continuedIndent({'except':/^\s*({|else\b)/}),'TryStatement':continuedIndent({'except':/^\s*({|catch\b|finally\b)/}),'LabeledStatement':flatIndent,'SwitchBody':_0x3facaa=>{let _0x13f1c6=_0x3facaa['textAfter'],_0x11589f=/^\s*\}/['test'](_0x13f1c6),_0x49177a=/^\s*(case|default)\b/['test'](_0x13f1c6);return _0x3facaa['baseIndent']+(_0x11589f?0x0:_0x49177a?0x1:0x2)*_0x3facaa['unit'];},'Block':delimitedIndent({'closing':'}'}),'ArrowFunction':_0x2fd5ab=>_0x2fd5ab['baseIndent']+_0x2fd5ab['unit'],'TemplateString\x20BlockComment':()=>null,'Statement\x20Property':continuedIndent({'except':/^\s*{/}),'JSXElement'(_0x4b582c){let _0x9a2bbb=/^\s*<\//['test'](_0x4b582c['textAfter']);return _0x4b582c['lineIndent'](_0x4b582c['node']['from'])+(_0x9a2bbb?0x0:_0x4b582c['unit']);},'JSXEscape'(_0x2c5f1c){let _0x141c7c=/\s*\}/['test'](_0x2c5f1c['textAfter']);return _0x2c5f1c['lineIndent'](_0x2c5f1c['node']['from'])+(_0x141c7c?0x0:_0x2c5f1c['unit']);},'JSXOpenTag\x20JSXSelfClosingTag':_0x5eecba=>_0x5eecba['column'](_0x5eecba['node']['from'])+_0x5eecba['unit']}),_0x110e88['add']({'Block\x20ClassBody\x20SwitchBody\x20EnumBody\x20ObjectExpression\x20ArrayExpression\x20ObjectType':_0x112143,'BlockComment':_0x1432eb=>({'from':_0x1432eb['from']+0x2,'to':_0x1432eb['to']-0x2})})]}),'languageData':{'closeBrackets':{'brackets':['(','[','{','\x27','\x22','`']},'commentTokens':{'line':'//','block':{'open':'/*','close':'*/'}},'indentOnInput':/^\s*(?:case |default:|\{|\}|<\/)$/,'wordChars':'$'}}),_0x3d9816={'test':_0x5d71c9=>/^JSX/['test'](_0x5d71c9['name']),'facet':defineLanguageFacet({'commentTokens':{'block':{'open':'{/*','close':'*/}'}}})},typescriptLanguage=javascriptLanguage['configure']({'dialect':'ts'},'typescript'),_0x17cc6a=javascriptLanguage['configure']({'dialect':'jsx','props':[_0xe264ce['add'](_0x24e0ff=>_0x24e0ff['isTop']?[_0x3d9816]:void 0x0)]}),tsxLanguage=javascriptLanguage['configure']({'dialect':'jsx\x20ts','props':[_0xe264ce['add'](_0x3a09bd=>_0x3a09bd['isTop']?[_0x3d9816]:void 0x0)]},'typescript');let kwCompletion=_0x458d3b=>({'label':_0x458d3b,'type':'keyword'});const _0x264885='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=_0x264885['concat'](['declare','implements','private','protected','public']['map'](kwCompletion));function javascript(_0x3aeb2f={}){let _0x558382=_0x3aeb2f['jsx']?_0x3aeb2f['typescript']?tsxLanguage:_0x17cc6a:_0x3aeb2f['typescript']?typescriptLanguage:javascriptLanguage,_0x105ccc=_0x3aeb2f['typescript']?typescriptSnippets['concat'](typescriptKeywords):snippets['concat'](_0x264885);return new LanguageSupport(_0x558382,[javascriptLanguage['data']['of']({'autocomplete':ifNotIn(dontComplete,completeFromList(_0x105ccc))}),javascriptLanguage['data']['of']({'autocomplete':localCompletionSource}),_0x3aeb2f['jsx']?autoCloseTags$1:[]]);}function _0x4eb672(_0x460137){for(;;){if('JSXOpenTag'==_0x460137['name']||'JSXSelfClosingTag'==_0x460137['name']||'JSXFragmentTag'==_0x460137['name'])return _0x460137;if('JSXEscape'==_0x460137['name']||!_0x460137['parent'])return null;_0x460137=_0x460137['parent'];}}function elementName$1(_0x36cf5d,_0x3836e3,_0x13ad72=_0x36cf5d['length']){for(let _0x28d3aa=null==_0x3836e3?void 0x0:_0x3836e3['firstChild'];_0x28d3aa;_0x28d3aa=_0x28d3aa['nextSibling'])if('JSXIdentifier'==_0x28d3aa['name']||'JSXBuiltin'==_0x28d3aa['name']||'JSXNamespacedName'==_0x28d3aa['name']||'JSXMemberExpression'==_0x28d3aa['name'])return _0x36cf5d['sliceString'](_0x28d3aa['from'],Math['min'](_0x28d3aa['to'],_0x13ad72));return'';}const _0x2df6ae='object'==typeof navigator&&/Android\b/['test'](navigator['userAgent']),autoCloseTags$1=EditorView['inputHandler']['of']((_0x1dfa90,_0x468357,_0x3a957e,_0x827fe6,_0x187d46)=>{if((_0x2df6ae?_0x1dfa90['composing']:_0x1dfa90['compositionStarted'])||_0x1dfa90['state']['readOnly']||_0x468357!=_0x3a957e||'>'!=_0x827fe6&&'/'!=_0x827fe6||!javascriptLanguage['isActiveAt'](_0x1dfa90['state'],_0x468357,-0x1))return!0x1;let _0x46c822=_0x187d46(),{state:_0x26d162}=_0x46c822,_0x36158d=_0x26d162['changeByRange'](_0x2e7ea0=>{var _0xd986df;let _0x74497e,{head:_0xbcb080}=_0x2e7ea0,_0x5d1fd5=syntaxTree(_0x26d162)['resolveInner'](_0xbcb080-0x1,-0x1);if('JSXStartTag'==_0x5d1fd5['name']&&(_0x5d1fd5=_0x5d1fd5['parent']),_0x26d162['doc']['sliceString'](_0xbcb080-0x1,_0xbcb080)!=_0x827fe6||'JSXAttributeValue'==_0x5d1fd5['name']&&_0x5d1fd5['to']>_0xbcb080);else{if('>'==_0x827fe6&&'JSXFragmentTag'==_0x5d1fd5['name'])return{'range':_0x2e7ea0,'changes':{'from':_0xbcb080,'insert':'</>'}};if('/'==_0x827fe6&&'JSXStartCloseTag'==_0x5d1fd5['name']){let _0x42c13a=_0x5d1fd5['parent'],_0x3a4c64=_0x42c13a['parent'];if(_0x3a4c64&&_0x42c13a['from']==_0xbcb080-0x2&&((_0x74497e=elementName$1(_0x26d162['doc'],_0x3a4c64['firstChild'],_0xbcb080))||'JSXFragmentTag'==(null===(_0xd986df=_0x3a4c64['firstChild'])||void 0x0===_0xd986df?void 0x0:_0xd986df['name']))){let _0x13653b=_0x74497e+'>';return{'range':EditorSelection['cursor'](_0xbcb080+_0x13653b['length'],-0x1),'changes':{'from':_0xbcb080,'insert':_0x13653b}};}}else{if('>'==_0x827fe6){let _0x22a608=_0x4eb672(_0x5d1fd5);if(_0x22a608&&'JSXOpenTag'==_0x22a608['name']&&!/^\/?>|^<\//['test'](_0x26d162['doc']['sliceString'](_0xbcb080,_0xbcb080+0x2))&&(_0x74497e=elementName$1(_0x26d162['doc'],_0x22a608,_0xbcb080)))return{'range':_0x2e7ea0,'changes':{'from':_0xbcb080,'insert':'</'+_0x74497e+'>'}};}}}return{'range':_0x2e7ea0};});return!_0x36158d['changes']['empty']&&(_0x1dfa90['dispatch']([_0x46c822,_0x26d162['update'](_0x36158d,{'userEvent':'input.complete','scrollIntoView':!0x0})]),!0x0);}),Targets=['_blank','_self','_top','_parent'],Charsets=['ascii','utf-8','utf-16','latin1','latin1'],Methods=['get','post','put','delete'],_0x204e08=['application/x-www-form-urlencoded','multipart/form-data','text/plain'],_0x1c720d=['true','false'],_0x287e58={},_0xf4c83={'a':{'attrs':{'href':null,'ping':null,'type':null,'media':null,'target':Targets,'hreflang':null}},'abbr':_0x287e58,'address':_0x287e58,'area':{'attrs':{'alt':null,'coords':null,'href':null,'target':null,'ping':null,'media':null,'hreflang':null,'type':null,'shape':['default','rect','circle','poly']}},'article':_0x287e58,'aside':_0x287e58,'audio':{'attrs':{'src':null,'mediagroup':null,'crossorigin':['anonymous','use-credentials'],'preload':['none','metadata','auto'],'autoplay':['autoplay'],'loop':['loop'],'controls':['controls']}},'b':_0x287e58,'base':{'attrs':{'href':null,'target':Targets}},'bdi':_0x287e58,'bdo':_0x287e58,'blockquote':{'attrs':{'cite':null}},'body':_0x287e58,'br':_0x287e58,'button':{'attrs':{'form':null,'formaction':null,'name':null,'value':null,'autofocus':['autofocus'],'disabled':['autofocus'],'formenctype':_0x204e08,'formmethod':Methods,'formnovalidate':['novalidate'],'formtarget':Targets,'type':['submit','reset','button']}},'canvas':{'attrs':{'width':null,'height':null}},'caption':_0x287e58,'center':_0x287e58,'cite':_0x287e58,'code':_0x287e58,'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':_0x287e58,'del':{'attrs':{'cite':null,'datetime':null}},'details':{'attrs':{'open':['open']}},'dfn':_0x287e58,'div':_0x287e58,'dl':_0x287e58,'dt':_0x287e58,'em':_0x287e58,'embed':{'attrs':{'src':null,'type':null,'width':null,'height':null}},'eventsource':{'attrs':{'src':null}},'fieldset':{'attrs':{'disabled':['disabled'],'form':null,'name':null}},'figcaption':_0x287e58,'figure':_0x287e58,'footer':_0x287e58,'form':{'attrs':{'action':null,'name':null,'accept-charset':Charsets,'autocomplete':['on','off'],'enctype':_0x204e08,'method':Methods,'novalidate':['novalidate'],'target':Targets}},'h1':_0x287e58,'h2':_0x287e58,'h3':_0x287e58,'h4':_0x287e58,'h5':_0x287e58,'h6':_0x287e58,'head':{'children':['title','base','link','style','meta','script','noscript','command']},'header':_0x287e58,'hgroup':_0x287e58,'hr':_0x287e58,'html':{'attrs':{'manifest':null}},'i':_0x287e58,'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':_0x204e08,'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':_0x287e58,'keygen':{'attrs':{'challenge':null,'form':null,'name':null,'autofocus':['autofocus'],'disabled':['disabled'],'keytype':['RSA']}},'label':{'attrs':{'for':null,'form':null}},'legend':_0x287e58,'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':_0x287e58,'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':_0x287e58,'noscript':_0x287e58,'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':_0x287e58,'param':{'attrs':{'name':null,'value':null}},'pre':_0x287e58,'progress':{'attrs':{'value':null,'max':null}},'q':{'attrs':{'cite':null}},'rp':_0x287e58,'rt':_0x287e58,'ruby':_0x287e58,'samp':_0x287e58,'script':{'attrs':{'type':['text/javascript'],'src':null,'async':['async'],'defer':['defer'],'charset':Charsets}},'section':_0x287e58,'select':{'attrs':{'form':null,'name':null,'size':null,'autofocus':['autofocus'],'disabled':['disabled'],'multiple':['multiple']}},'slot':{'attrs':{'name':null}},'small':_0x287e58,'source':{'attrs':{'src':null,'type':null,'media':null}},'span':_0x287e58,'strong':_0x287e58,'style':{'attrs':{'type':['text/css'],'media':null,'scoped':null}},'sub':_0x287e58,'summary':_0x287e58,'sup':_0x287e58,'table':_0x287e58,'tbody':_0x287e58,'td':{'attrs':{'colspan':null,'rowspan':null,'headers':null}},'template':_0x287e58,'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':_0x287e58,'th':{'attrs':{'colspan':null,'rowspan':null,'headers':null,'scope':['row','col','rowgroup','colgroup']}},'thead':_0x287e58,'time':{'attrs':{'datetime':null}},'title':_0x287e58,'tr':_0x287e58,'track':{'attrs':{'src':null,'label':null,'default':null,'kind':['subtitles','captions','descriptions','chapters','metadata'],'srclang':null}},'ul':{'children':['li','script','template','ul','ol']},'var':_0x287e58,'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':_0x287e58},GlobalAttrs={'accesskey':null,'class':null,'contenteditable':_0x1c720d,'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':_0x1c720d,'autocorrect':_0x1c720d,'autocapitalize':_0x1c720d,'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':_0x1c720d,'aria-autocomplete':['inline','list','both','none'],'aria-busy':_0x1c720d,'aria-checked':['true','false','mixed','undefined'],'aria-controls':null,'aria-describedby':null,'aria-disabled':_0x1c720d,'aria-dropeffect':null,'aria-expanded':['true','false','undefined'],'aria-flowto':null,'aria-grabbed':['true','false','undefined'],'aria-haspopup':_0x1c720d,'aria-hidden':_0x1c720d,'aria-invalid':['true','false','grammar','spelling'],'aria-label':null,'aria-labelledby':null,'aria-level':null,'aria-live':['off','polite','assertive'],'aria-multiline':_0x1c720d,'aria-multiselectable':_0x1c720d,'aria-owns':null,'aria-posinset':null,'aria-pressed':['true','false','mixed','undefined'],'aria-readonly':_0x1c720d,'aria-relevant':null,'aria-required':_0x1c720d,'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'](_0x24b7fa=>'on'+_0x24b7fa);for(let _0x2b6311 of eventAttributes)GlobalAttrs[_0x2b6311]=null;class _0x42288d{constructor(_0x51796e,_0x213202){this['tags']={..._0xf4c83,..._0x51796e},this['globalAttrs']={...GlobalAttrs,..._0x213202},this['allTags']=Object['keys'](this['tags']),this['globalAttrNames']=Object['keys'](this['globalAttrs']);}}function elementName(_0x1db9d6,_0x30f6dd,_0x497366=_0x1db9d6['length']){if(!_0x30f6dd)return'';let _0x4aa97d=_0x30f6dd['firstChild'],_0x3c87e3=_0x4aa97d&&_0x4aa97d['getChild']('TagName');return _0x3c87e3?_0x1db9d6['sliceString'](_0x3c87e3['from'],Math['min'](_0x3c87e3['to'],_0x497366)):'';}function findParentElement(_0x3c36e9,_0x5994eb=!0x1){for(;_0x3c36e9;_0x3c36e9=_0x3c36e9['parent'])if('Element'==_0x3c36e9['name']){if(!_0x5994eb)return _0x3c36e9;_0x5994eb=!0x1;}return null;}function _0x3ca3d2(_0x1b240f,_0x476dd4,_0x20d750){let _0x2d22dc=_0x20d750['tags'][elementName(_0x1b240f,findParentElement(_0x476dd4))];return(null==_0x2d22dc?void 0x0:_0x2d22dc['children'])||_0x20d750['allTags'];}function _0x44c600(_0x3db509,_0x29f75e){let _0x50fb8a=[];for(let _0x2cbcc3=findParentElement(_0x29f75e);_0x2cbcc3&&!_0x2cbcc3['type']['isTop'];_0x2cbcc3=findParentElement(_0x2cbcc3['parent'])){let _0xf8eccf=elementName(_0x3db509,_0x2cbcc3);if(_0xf8eccf&&'CloseTag'==_0x2cbcc3['lastChild']['name'])break;_0xf8eccf&&_0x50fb8a['indexOf'](_0xf8eccf)<0x0&&('EndTag'==_0x29f75e['name']||_0x29f75e['from']>=_0x2cbcc3['firstChild']['to'])&&_0x50fb8a['push'](_0xf8eccf);}return _0x50fb8a;}_0x42288d['default']=new _0x42288d();const identifier=/^[:\-\.\w\u00b7-\uffff]*$/;function completeTag(_0x587b4f,_0x130dee,_0x57f455,_0x42ec39,_0x489470){let _0x2518c2=/\s*>/['test'](_0x587b4f['sliceDoc'](_0x489470,_0x489470+0x5))?'':'>',_0x13806c=findParentElement(_0x57f455,!0x0);return{'from':_0x42ec39,'to':_0x489470,'options':_0x3ca3d2(_0x587b4f['doc'],_0x13806c,_0x130dee)['map'](_0x3af4af=>({'label':_0x3af4af,'type':'type'}))['concat'](_0x44c600(_0x587b4f['doc'],_0x57f455)['map']((_0x3f7fd2,_0x1cf6ab)=>({'label':'/'+_0x3f7fd2,'apply':'/'+_0x3f7fd2+_0x2518c2,'type':'type','boost':0x63-_0x1cf6ab}))),'validFor':/^\/?[:\-\.\w\u00b7-\uffff]*$/};}function completeCloseTag(_0x4134d3,_0x3c92db,_0x3dee1c,_0x417092){let _0x321207=/\s*>/['test'](_0x4134d3['sliceDoc'](_0x417092,_0x417092+0x5))?'':'>';return{'from':_0x3dee1c,'to':_0x417092,'options':_0x44c600(_0x4134d3['doc'],_0x3c92db)['map']((_0x3bf52b,_0x1ec18d)=>({'label':_0x3bf52b,'apply':_0x3bf52b+_0x321207,'type':'type','boost':0x63-_0x1ec18d})),'validFor':identifier};}function completeStartTag(_0x5209de,_0x4b6460,_0x34945a,_0x360cf9){let _0x177d52=[],_0x32f46b=0x0;for(let _0x1c29be of _0x3ca3d2(_0x5209de['doc'],_0x34945a,_0x4b6460))_0x177d52['push']({'label':'<'+_0x1c29be,'type':'type'});for(let _0x2994d7 of _0x44c600(_0x5209de['doc'],_0x34945a))_0x177d52['push']({'label':'</'+_0x2994d7+'>','type':'type','boost':0x63-_0x32f46b++});return{'from':_0x360cf9,'to':_0x360cf9,'options':_0x177d52,'validFor':/^<\/?[:\-\.\w\u00b7-\uffff]*$/};}function completeAttrName(_0x1b195e,_0x3e3ddb,_0x3848b4,_0x494b2c,_0x228d98){let _0x597bbd=findParentElement(_0x3848b4),_0x30fbe9=_0x597bbd?_0x3e3ddb['tags'][elementName(_0x1b195e['doc'],_0x597bbd)]:null,_0x16bf01=_0x30fbe9&&_0x30fbe9['attrs']?Object['keys'](_0x30fbe9['attrs']):[];return{'from':_0x494b2c,'to':_0x228d98,'options':(_0x30fbe9&&!0x1===_0x30fbe9['globalAttrs']?_0x16bf01:_0x16bf01['length']?_0x16bf01['concat'](_0x3e3ddb['globalAttrNames']):_0x3e3ddb['globalAttrNames'])['map'](_0x1645b7=>({'label':_0x1645b7,'type':'property'})),'validFor':identifier};}function completeAttrValue(_0x3ab61e,_0x4c049b,_0x41113d,_0x3a6a45,_0x2ba4c7){var _0x39bc30;let _0x1072bc,_0x5ec0b8=null===(_0x39bc30=_0x41113d['parent'])||void 0x0===_0x39bc30?void 0x0:_0x39bc30['getChild']('AttributeName'),_0x33670a=[];if(_0x5ec0b8){let _0x58e8f0=_0x3ab61e['sliceDoc'](_0x5ec0b8['from'],_0x5ec0b8['to']),_0x34720f=_0x4c049b['globalAttrs'][_0x58e8f0];if(!_0x34720f){let _0x674600=findParentElement(_0x41113d),_0x243f2a=_0x674600?_0x4c049b['tags'][elementName(_0x3ab61e['doc'],_0x674600)]:null;_0x34720f=(null==_0x243f2a?void 0x0:_0x243f2a['attrs'])&&_0x243f2a['attrs'][_0x58e8f0];}if(_0x34720f){let _0x2a5c81=_0x3ab61e['sliceDoc'](_0x3a6a45,_0x2ba4c7)['toLowerCase'](),_0x387880='\x22',_0x58e104='\x22';/^['"]/['test'](_0x2a5c81)?(_0x1072bc='\x22'==_0x2a5c81[0x0]?/^[^"]*$/:/^[^']*$/,_0x387880='',_0x58e104=_0x3ab61e['sliceDoc'](_0x2ba4c7,_0x2ba4c7+0x1)==_0x2a5c81[0x0]?'':_0x2a5c81[0x0],_0x2a5c81=_0x2a5c81['slice'](0x1),_0x3a6a45++):_0x1072bc=/^[^\s<>='"]*$/;for(let _0x4bc3fb of _0x34720f)_0x33670a['push']({'label':_0x4bc3fb,'apply':_0x387880+_0x4bc3fb+_0x58e104,'type':'constant'});}}return{'from':_0x3a6a45,'to':_0x2ba4c7,'options':_0x33670a,'validFor':_0x1072bc};}function htmlCompletionFor(_0x390c60,_0x13843a){let {state:_0x4c3e4e,pos:_0x30ff54}=_0x13843a,_0x16ee46=syntaxTree(_0x4c3e4e)['resolveInner'](_0x30ff54,-0x1),_0x426e85=_0x16ee46['resolve'](_0x30ff54);for(let _0x2606ee,_0x565a45=_0x30ff54;_0x426e85==_0x16ee46&&(_0x2606ee=_0x16ee46['childBefore'](_0x565a45));){let _0x5da750=_0x2606ee['lastChild'];if(!_0x5da750||!_0x5da750['type']['isError']||_0x5da750['from']<_0x5da750['to'])break;_0x426e85=_0x16ee46=_0x2606ee,_0x565a45=_0x5da750['from'];}return'TagName'==_0x16ee46['name']?_0x16ee46['parent']&&/CloseTag$/['test'](_0x16ee46['parent']['name'])?completeCloseTag(_0x4c3e4e,_0x16ee46,_0x16ee46['from'],_0x30ff54):completeTag(_0x4c3e4e,_0x390c60,_0x16ee46,_0x16ee46['from'],_0x30ff54):'StartTag'==_0x16ee46['name']?completeTag(_0x4c3e4e,_0x390c60,_0x16ee46,_0x30ff54,_0x30ff54):'StartCloseTag'==_0x16ee46['name']||'IncompleteCloseTag'==_0x16ee46['name']?completeCloseTag(_0x4c3e4e,_0x16ee46,_0x30ff54,_0x30ff54):'OpenTag'==_0x16ee46['name']||'SelfClosingTag'==_0x16ee46['name']||'AttributeName'==_0x16ee46['name']?completeAttrName(_0x4c3e4e,_0x390c60,_0x16ee46,'AttributeName'==_0x16ee46['name']?_0x16ee46['from']:_0x30ff54,_0x30ff54):'Is'==_0x16ee46['name']||'AttributeValue'==_0x16ee46['name']||'UnquotedAttributeValue'==_0x16ee46['name']?completeAttrValue(_0x4c3e4e,_0x390c60,_0x16ee46,'Is'==_0x16ee46['name']?_0x30ff54:_0x16ee46['from'],_0x30ff54):!_0x13843a['explicit']||'Element'!=_0x426e85['name']&&'Text'!=_0x426e85['name']&&'Document'!=_0x426e85['name']?null:completeStartTag(_0x4c3e4e,_0x390c60,_0x16ee46,_0x30ff54);}function htmlCompletionSource(_0x2bbe1c){return htmlCompletionFor(_0x42288d['default'],_0x2bbe1c);}function htmlCompletionSourceWith(_0x55a95d){let {extraTags:_0x234d6b,extraGlobalAttributes:_0xc14d4b}=_0x55a95d,_0x1aa5c1=_0xc14d4b||_0x234d6b?new _0x42288d(_0x234d6b,_0xc14d4b):_0x42288d['default'];return _0x1b3edf=>htmlCompletionFor(_0x1aa5c1,_0x1b3edf);}const _0x4d133a=javascriptLanguage['parser']['configure']({'top':'SingleExpression'}),defaultNesting=[{'tag':'script','attrs':_0x19b2fe=>'text/typescript'==_0x19b2fe['type']||'ts'==_0x19b2fe['lang'],'parser':typescriptLanguage['parser']},{'tag':'script','attrs':_0x2ee7e9=>'text/babel'==_0x2ee7e9['type']||'text/jsx'==_0x2ee7e9['type'],'parser':_0x17cc6a['parser']},{'tag':'script','attrs':_0x3bf2aa=>'text/typescript-jsx'==_0x3bf2aa['type'],'parser':tsxLanguage['parser']},{'tag':'script','attrs':_0x5bf4e9=>/^(importmap|speculationrules|application\/(.+\+)?json)$/i['test'](_0x5bf4e9['type']),'parser':_0x4d133a},{'tag':'script','attrs':_0x41b63a=>!_0x41b63a['type']||/^(?:text|application)\/(?:x-)?(?:java|ecma)script$|^module$|^$/i['test'](_0x41b63a['type']),'parser':javascriptLanguage['parser']},{'tag':'style','attrs':_0x36ae39=>(!_0x36ae39['lang']||'css'==_0x36ae39['lang'])&&(!_0x36ae39['type']||/^(text\/)?(x-)?(stylesheet|css)$/i['test'](_0x36ae39['type'])),'parser':_0x180fd3['parser']}],defaultAttrs=[{'name':'style','parser':_0x180fd3['parser']['configure']({'top':'Styles'})}]['concat'](eventAttributes['map'](_0x2ed1f4=>({'name':_0x2ed1f4,'parser':javascriptLanguage['parser']}))),htmlPlain=_0x159d04['define']({'name':'html','parser':_0x40d778['configure']({'props':[indentNodeProp['add']({'Element'(_0xceae59){let _0x5b6c5a=/^(\s*)(<\/)?/['exec'](_0xceae59['textAfter']);return _0xceae59['node']['to']<=_0xceae59['pos']+_0x5b6c5a[0x0]['length']?_0xceae59['continue']():_0xceae59['lineIndent'](_0xceae59['node']['from'])+(_0x5b6c5a[0x2]?0x0:_0xceae59['unit']);},'OpenTag\x20CloseTag\x20SelfClosingTag':_0x1e5eb4=>_0x1e5eb4['column'](_0x1e5eb4['node']['from'])+_0x1e5eb4['unit'],'Document'(_0x4981c8){if(_0x4981c8['pos']+/\s*/['exec'](_0x4981c8['textAfter'])[0x0]['length']<_0x4981c8['node']['to'])return _0x4981c8['continue']();let _0x3160e7,_0x1edee7=null;for(let _0x71e986=_0x4981c8['node'];;){let _0x385425=_0x71e986['lastChild'];if(!_0x385425||'Element'!=_0x385425['name']||_0x385425['to']!=_0x71e986['to'])break;_0x1edee7=_0x71e986=_0x385425;}return _0x1edee7&&(!(_0x3160e7=_0x1edee7['lastChild'])||'CloseTag'!=_0x3160e7['name']&&'SelfClosingTag'!=_0x3160e7['name'])?_0x4981c8['lineIndent'](_0x1edee7['from'])+_0x4981c8['unit']:null;}}),_0x110e88['add']({'Element'(_0x15dd7f){let _0x4c6f75=_0x15dd7f['firstChild'],_0xd45c6f=_0x15dd7f['lastChild'];return _0x4c6f75&&'OpenTag'==_0x4c6f75['name']?{'from':_0x4c6f75['to'],'to':'CloseTag'==_0xd45c6f['name']?_0xd45c6f['from']:_0x15dd7f['to']}:null;}}),bracketMatchingHandle['add']({'OpenTag\x20CloseTag':_0x2130b3=>_0x2130b3['getChild']('TagName')})]}),'languageData':{'commentTokens':{'block':{'open':'<!--','close':'-->'}},'indentOnInput':/^\s*<\/\w+\W$/,'wordChars':'-_'}}),htmlLanguage=htmlPlain['configure']({'wrap':configureNesting(defaultNesting,defaultAttrs)});function html(_0x4ed77a={}){let _0x8f5782,_0x580e09='';!0x1===_0x4ed77a['matchClosingTags']&&(_0x580e09='noMatch'),!0x0===_0x4ed77a['selfClosingTags']&&(_0x580e09=(_0x580e09?_0x580e09+'\x20':'')+'selfClosing'),(_0x4ed77a['nestedLanguages']&&_0x4ed77a['nestedLanguages']['length']||_0x4ed77a['nestedAttributes']&&_0x4ed77a['nestedAttributes']['length'])&&(_0x8f5782=configureNesting((_0x4ed77a['nestedLanguages']||[])['concat'](defaultNesting),(_0x4ed77a['nestedAttributes']||[])['concat'](defaultAttrs)));let _0x4ecc91=_0x8f5782?htmlPlain['configure']({'wrap':_0x8f5782,'dialect':_0x580e09}):_0x580e09?htmlLanguage['configure']({'dialect':_0x580e09}):htmlLanguage;return new LanguageSupport(_0x4ecc91,[htmlLanguage['data']['of']({'autocomplete':htmlCompletionSourceWith(_0x4ed77a)}),!0x1!==_0x4ed77a['autoCloseTags']?autoCloseTags:[],javascript()['support'],_0x2e7ba4()['support']]);}const _0x2d0e7d=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']((_0x5103ac,_0x5e64e3,_0x5764c5,_0x3448c3,_0xc87b9b)=>{if(_0x5103ac['composing']||_0x5103ac['state']['readOnly']||_0x5e64e3!=_0x5764c5||'>'!=_0x3448c3&&'/'!=_0x3448c3||!htmlLanguage['isActiveAt'](_0x5103ac['state'],_0x5e64e3,-0x1))return!0x1;let _0x2135e6=_0xc87b9b(),{state:_0x594d05}=_0x2135e6,_0x3751e0=_0x594d05['changeByRange'](_0x15acff=>{var _0x38b6c8,_0x350002,_0xdecb0c;let _0x50ec62,_0x4038fe=_0x594d05['doc']['sliceString'](_0x15acff['from']-0x1,_0x15acff['to'])==_0x3448c3,{head:_0x27456c}=_0x15acff,_0x44050b=syntaxTree(_0x594d05)['resolveInner'](_0x27456c,-0x1);if(_0x4038fe&&'>'==_0x3448c3&&'EndTag'==_0x44050b['name']){let _0x461af0=_0x44050b['parent'];if('CloseTag'!=(null===(_0x350002=null===(_0x38b6c8=_0x461af0['parent'])||void 0x0===_0x38b6c8?void 0x0:_0x38b6c8['lastChild'])||void 0x0===_0x350002?void 0x0:_0x350002['name'])&&(_0x50ec62=elementName(_0x594d05['doc'],_0x461af0['parent'],_0x27456c))&&!_0x2d0e7d['has'](_0x50ec62))return{'range':_0x15acff,'changes':{'from':_0x27456c,'to':_0x27456c+('>'===_0x594d05['doc']['sliceString'](_0x27456c,_0x27456c+0x1)?0x1:0x0),'insert':'</'+_0x50ec62+'>'}};}else{if(_0x4038fe&&'/'==_0x3448c3&&'IncompleteCloseTag'==_0x44050b['name']){let _0x1c6666=_0x44050b['parent'];if(_0x44050b['from']==_0x27456c-0x2&&'CloseTag'!=(null===(_0xdecb0c=_0x1c6666['lastChild'])||void 0x0===_0xdecb0c?void 0x0:_0xdecb0c['name'])&&(_0x50ec62=elementName(_0x594d05['doc'],_0x1c6666,_0x27456c))&&!_0x2d0e7d['has'](_0x50ec62)){let _0x5c9f89=_0x27456c+('>'===_0x594d05['doc']['sliceString'](_0x27456c,_0x27456c+0x1)?0x1:0x0),_0x357070=_0x50ec62+'>';return{'range':EditorSelection['cursor'](_0x27456c+_0x357070['length'],-0x1),'changes':{'from':_0x27456c,'to':_0x5c9f89,'insert':_0x357070}};}}}return{'range':_0x15acff};});return!_0x3751e0['changes']['empty']&&(_0x5103ac['dispatch']([_0x2135e6,_0x594d05['update'](_0x3751e0,{'userEvent':'input.complete','scrollIntoView':!0x0})]),!0x0);});class CompositeBlock{static['create'](_0x12d924,_0x2031c9,_0x171ac3,_0x487ac8,_0x4c7e54){return new CompositeBlock(_0x12d924,_0x2031c9,_0x171ac3,_0x487ac8+(_0x487ac8<<0x8)+_0x12d924+(_0x2031c9<<0x4)|0x0,_0x4c7e54,[],[]);}constructor(_0x387d49,_0x331db7,_0x1d7446,_0x1d652a,_0x1d8ea4,_0x241bda,_0x79b2ed){this['type']=_0x387d49,this['value']=_0x331db7,this['from']=_0x1d7446,this['hash']=_0x1d652a,this['end']=_0x1d8ea4,this['children']=_0x241bda,this['positions']=_0x79b2ed,this['hashProp']=[[_0x519268['contextHash'],_0x1d652a]];}['addChild'](_0x38aa4d,_0x398cf1){_0x38aa4d['prop'](_0x519268['contextHash'])!=this['hash']&&(_0x38aa4d=new _0x17cdb3(_0x38aa4d['type'],_0x38aa4d['children'],_0x38aa4d['positions'],_0x38aa4d['length'],this['hashProp'])),this['children']['push'](_0x38aa4d),this['positions']['push'](_0x398cf1);}['toTree'](_0x5507eb,_0x1ef16b=this['end']){let _0xdd6ec7=this['children']['length']-0x1;return _0xdd6ec7>=0x0&&(_0x1ef16b=Math['max'](_0x1ef16b,this['positions'][_0xdd6ec7]+this['children'][_0xdd6ec7]['length']+this['from'])),new _0x17cdb3(_0x5507eb['types'][this['type']],this['children'],this['positions'],_0x1ef16b-this['from'])['balance']({'makeTree':(_0x5e0cfb,_0x1c33bb,_0x4f828b)=>new _0x17cdb3(_0x23061a['none'],_0x5e0cfb,_0x1c33bb,_0x4f828b,this['hashProp'])});}}var _0x5357a7;!function(_0x4496b6){_0x4496b6[_0x4496b6['Document']=0x1]='Document',_0x4496b6[_0x4496b6['CodeBlock']=0x2]='CodeBlock',_0x4496b6[_0x4496b6['FencedCode']=0x3]='FencedCode',_0x4496b6[_0x4496b6['Blockquote']=0x4]='Blockquote',_0x4496b6[_0x4496b6['HorizontalRule']=0x5]='HorizontalRule',_0x4496b6[_0x4496b6['BulletList']=0x6]='BulletList',_0x4496b6[_0x4496b6['OrderedList']=0x7]='OrderedList',_0x4496b6[_0x4496b6['ListItem']=0x8]='ListItem',_0x4496b6[_0x4496b6['ATXHeading1']=0x9]='ATXHeading1',_0x4496b6[_0x4496b6['ATXHeading2']=0xa]='ATXHeading2',_0x4496b6[_0x4496b6['ATXHeading3']=0xb]='ATXHeading3',_0x4496b6[_0x4496b6['ATXHeading4']=0xc]='ATXHeading4',_0x4496b6[_0x4496b6['ATXHeading5']=0xd]='ATXHeading5',_0x4496b6[_0x4496b6['ATXHeading6']=0xe]='ATXHeading6',_0x4496b6[_0x4496b6['SetextHeading1']=0xf]='SetextHeading1',_0x4496b6[_0x4496b6['SetextHeading2']=0x10]='SetextHeading2',_0x4496b6[_0x4496b6['HTMLBlock']=0x11]='HTMLBlock',_0x4496b6[_0x4496b6['LinkReference']=0x12]='LinkReference',_0x4496b6[_0x4496b6['Paragraph']=0x13]='Paragraph',_0x4496b6[_0x4496b6['CommentBlock']=0x14]='CommentBlock',_0x4496b6[_0x4496b6['ProcessingInstructionBlock']=0x15]='ProcessingInstructionBlock',_0x4496b6[_0x4496b6['Escape']=0x16]='Escape',_0x4496b6[_0x4496b6['Entity']=0x17]='Entity',_0x4496b6[_0x4496b6['HardBreak']=0x18]='HardBreak',_0x4496b6[_0x4496b6['Emphasis']=0x19]='Emphasis',_0x4496b6[_0x4496b6['StrongEmphasis']=0x1a]='StrongEmphasis',_0x4496b6[_0x4496b6['Link']=0x1b]='Link',_0x4496b6[_0x4496b6['Image']=0x1c]='Image',_0x4496b6[_0x4496b6['InlineCode']=0x1d]='InlineCode',_0x4496b6[_0x4496b6['HTMLTag']=0x1e]='HTMLTag',_0x4496b6[_0x4496b6['Comment']=0x1f]='Comment',_0x4496b6[_0x4496b6['ProcessingInstruction']=0x20]='ProcessingInstruction',_0x4496b6[_0x4496b6['Autolink']=0x21]='Autolink',_0x4496b6[_0x4496b6['HeaderMark']=0x22]='HeaderMark',_0x4496b6[_0x4496b6['QuoteMark']=0x23]='QuoteMark',_0x4496b6[_0x4496b6['ListMark']=0x24]='ListMark',_0x4496b6[_0x4496b6['LinkMark']=0x25]='LinkMark',_0x4496b6[_0x4496b6['EmphasisMark']=0x26]='EmphasisMark',_0x4496b6[_0x4496b6['CodeMark']=0x27]='CodeMark',_0x4496b6[_0x4496b6['CodeText']=0x28]='CodeText',_0x4496b6[_0x4496b6['CodeInfo']=0x29]='CodeInfo',_0x4496b6[_0x4496b6['LinkTitle']=0x2a]='LinkTitle',_0x4496b6[_0x4496b6['LinkLabel']=0x2b]='LinkLabel',_0x4496b6[_0x4496b6['URL']=0x2c]='URL';}(_0x5357a7||(_0x5357a7={}));class _0x566137{constructor(_0x44674f,_0x9d91d5){this['start']=_0x44674f,this['content']=_0x9d91d5,this['marks']=[],this['parsers']=[];}}class _0x1934c8{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 _0x4ad8b9=this['skipSpace'](this['basePos']);this['indent']=this['countIndent'](_0x4ad8b9,this['pos'],this['indent']),this['pos']=_0x4ad8b9,this['next']=_0x4ad8b9==this['text']['length']?-0x1:this['text']['charCodeAt'](_0x4ad8b9);}['skipSpace'](_0x1d8e32){return _0x1ac567(this['text'],_0x1d8e32);}['reset'](_0x9783ba){for(this['text']=_0x9783ba,this['baseIndent']=this['basePos']=this['pos']=this['indent']=0x0,this['forwardInner'](),this['depth']=0x1;this['markers']['length'];)this['markers']['pop']();}['moveBase'](_0x3e9d0a){this['basePos']=_0x3e9d0a,this['baseIndent']=this['countIndent'](_0x3e9d0a,this['pos'],this['indent']);}['moveBaseColumn'](_0x4e680d){this['baseIndent']=_0x4e680d,this['basePos']=this['findColumn'](_0x4e680d);}['addMarker'](_0x4bd0b6){this['markers']['push'](_0x4bd0b6);}['countIndent'](_0xf2dd4,_0x22b060=0x0,_0x179dfa=0x0){for(let _0xbfc07d=_0x22b060;_0xbfc07d<_0xf2dd4;_0xbfc07d++)_0x179dfa+=0x9==this['text']['charCodeAt'](_0xbfc07d)?0x4-_0x179dfa%0x4:0x1;return _0x179dfa;}['findColumn'](_0x1e9b68){let _0x27cac7=0x0;for(let _0x505676=0x0;_0x27cac7<this['text']['length']&&_0x505676<_0x1e9b68;_0x27cac7++)_0x505676+=0x9==this['text']['charCodeAt'](_0x27cac7)?0x4-_0x505676%0x4:0x1;return _0x27cac7;}['scrub'](){if(!this['baseIndent'])return this['text'];let _0x254d5d='';for(let _0x48ebe3=0x0;_0x48ebe3<this['basePos'];_0x48ebe3++)_0x254d5d+='\x20';return _0x254d5d+this['text']['slice'](this['basePos']);}}function skipForList(_0x160f05,_0x3d43c4,_0x6e9c51){if(_0x6e9c51['pos']==_0x6e9c51['text']['length']||_0x160f05!=_0x3d43c4['block']&&_0x6e9c51['indent']>=_0x3d43c4['stack'][_0x6e9c51['depth']+0x1]['value']+_0x6e9c51['baseIndent'])return!0x0;if(_0x6e9c51['indent']>=_0x6e9c51['baseIndent']+0x4)return!0x1;let _0x15ab7b=(_0x160f05['type']==_0x5357a7['OrderedList']?isOrderedList:isBulletList)(_0x6e9c51,_0x3d43c4,!0x1);return _0x15ab7b>0x0&&(_0x160f05['type']!=_0x5357a7['BulletList']||isHorizontalRule(_0x6e9c51,_0x3d43c4,!0x1)<0x0)&&_0x6e9c51['text']['charCodeAt'](_0x6e9c51['pos']+_0x15ab7b-0x1)==_0x160f05['value'];}const DefaultSkipMarkup={[_0x5357a7['Blockquote']]:(_0x586f9c,_0x196448,_0x134082)=>0x3e==_0x134082['next']&&(_0x134082['markers']['push'](elt(_0x5357a7['QuoteMark'],_0x196448['lineStart']+_0x134082['pos'],_0x196448['lineStart']+_0x134082['pos']+0x1)),_0x134082['moveBase'](_0x134082['pos']+(_0x291b60(_0x134082['text']['charCodeAt'](_0x134082['pos']+0x1))?0x2:0x1)),_0x586f9c['end']=_0x196448['lineStart']+_0x134082['text']['length'],!0x0),[_0x5357a7['ListItem']]:(_0x16b9e3,_0x25f1bb,_0x4a3028)=>!(_0x4a3028['indent']<_0x4a3028['baseIndent']+_0x16b9e3['value']&&_0x4a3028['next']>-0x1)&&(_0x4a3028['moveBaseColumn'](_0x4a3028['baseIndent']+_0x16b9e3['value']),!0x0),[_0x5357a7['OrderedList']]:skipForList,[_0x5357a7['BulletList']]:skipForList,[_0x5357a7['Document']]:()=>!0x0};function _0x291b60(_0x1321f9){return 0x20==_0x1321f9||0x9==_0x1321f9||0xa==_0x1321f9||0xd==_0x1321f9;}function _0x1ac567(_0x20366a,_0x136f84=0x0){for(;_0x136f84<_0x20366a['length']&&_0x291b60(_0x20366a['charCodeAt'](_0x136f84));)_0x136f84++;return _0x136f84;}function _0x255c05(_0x350be0,_0x271659,_0x2347e6){for(;_0x271659>_0x2347e6&&_0x291b60(_0x350be0['charCodeAt'](_0x271659-0x1));)_0x271659--;return _0x271659;}function _0x417ff4(_0x3a73ed){if(0x60!=_0x3a73ed['next']&&0x7e!=_0x3a73ed['next'])return-0x1;let _0x22045f=_0x3a73ed['pos']+0x1;for(;_0x22045f<_0x3a73ed['text']['length']&&_0x3a73ed['text']['charCodeAt'](_0x22045f)==_0x3a73ed['next'];)_0x22045f++;if(_0x22045f<_0x3a73ed['pos']+0x3)return-0x1;if(0x60==_0x3a73ed['next']){for(let _0x398a66=_0x22045f;_0x398a66<_0x3a73ed['text']['length'];_0x398a66++)if(0x60==_0x3a73ed['text']['charCodeAt'](_0x398a66))return-0x1;}return _0x22045f;}function isBlockquote(_0x38bb53){return 0x3e!=_0x38bb53['next']?-0x1:0x20==_0x38bb53['text']['charCodeAt'](_0x38bb53['pos']+0x1)?0x2:0x1;}function isHorizontalRule(_0x5cefaa,_0x2912b6,_0x40b066){if(0x2a!=_0x5cefaa['next']&&0x2d!=_0x5cefaa['next']&&0x5f!=_0x5cefaa['next'])return-0x1;let _0x5e59b0=0x1;for(let _0x2d2972=_0x5cefaa['pos']+0x1;_0x2d2972<_0x5cefaa['text']['length'];_0x2d2972++){let _0x391fac=_0x5cefaa['text']['charCodeAt'](_0x2d2972);if(_0x391fac==_0x5cefaa['next'])_0x5e59b0++;else{if(!_0x291b60(_0x391fac))return-0x1;}}return _0x40b066&&0x2d==_0x5cefaa['next']&&isSetextUnderline(_0x5cefaa)>-0x1&&_0x5cefaa['depth']==_0x2912b6['stack']['length']&&_0x2912b6['parser']['leafBlockParsers']['indexOf'](DefaultLeafBlocks['SetextHeading'])>-0x1||_0x5e59b0<0x3?-0x1:0x1;}function inList(_0x3741f3,_0x65987e){for(let _0xa49285=_0x3741f3['stack']['length']-0x1;_0xa49285>=0x0;_0xa49285--)if(_0x3741f3['stack'][_0xa49285]['type']==_0x65987e)return!0x0;return!0x1;}function isBulletList(_0x31682c,_0x40ac1f,_0x42f56b){return 0x2d!=_0x31682c['next']&&0x2b!=_0x31682c['next']&&0x2a!=_0x31682c['next']||_0x31682c['pos']!=_0x31682c['text']['length']-0x1&&!_0x291b60(_0x31682c['text']['charCodeAt'](_0x31682c['pos']+0x1))||!(!_0x42f56b||inList(_0x40ac1f,_0x5357a7['BulletList'])||_0x31682c['skipSpace'](_0x31682c['pos']+0x2)<_0x31682c['text']['length'])?-0x1:0x1;}function isOrderedList(_0x9a2aad,_0x5a4483,_0x2b8f54){let _0x13235c=_0x9a2aad['pos'],_0x2dcb1c=_0x9a2aad['next'];for(;_0x2dcb1c>=0x30&&_0x2dcb1c<=0x39;){if(_0x13235c++,_0x13235c==_0x9a2aad['text']['length'])return-0x1;_0x2dcb1c=_0x9a2aad['text']['charCodeAt'](_0x13235c);}return _0x13235c==_0x9a2aad['pos']||_0x13235c>_0x9a2aad['pos']+0x9||0x2e!=_0x2dcb1c&&0x29!=_0x2dcb1c||_0x13235c<_0x9a2aad['text']['length']-0x1&&!_0x291b60(_0x9a2aad['text']['charCodeAt'](_0x13235c+0x1))||_0x2b8f54&&!inList(_0x5a4483,_0x5357a7['OrderedList'])&&(_0x9a2aad['skipSpace'](_0x13235c+0x1)==_0x9a2aad['text']['length']||_0x13235c>_0x9a2aad['pos']+0x1||0x31!=_0x9a2aad['next'])?-0x1:_0x13235c+0x1-_0x9a2aad['pos'];}function isAtxHeading(_0xdeff30){if(0x23!=_0xdeff30['next'])return-0x1;let _0x3279fc=_0xdeff30['pos']+0x1;for(;_0x3279fc<_0xdeff30['text']['length']&&0x23==_0xdeff30['text']['charCodeAt'](_0x3279fc);)_0x3279fc++;if(_0x3279fc<_0xdeff30['text']['length']&&0x20!=_0xdeff30['text']['charCodeAt'](_0x3279fc))return-0x1;let _0x17be63=_0x3279fc-_0xdeff30['pos'];return _0x17be63>0x6?-0x1:_0x17be63;}function isSetextUnderline(_0x35b323){if(0x2d!=_0x35b323['next']&&0x3d!=_0x35b323['next']||_0x35b323['indent']>=_0x35b323['baseIndent']+0x4)return-0x1;let _0xd809ca=_0x35b323['pos']+0x1;for(;_0xd809ca<_0x35b323['text']['length']&&_0x35b323['text']['charCodeAt'](_0xd809ca)==_0x35b323['next'];)_0xd809ca++;let _0xd14fbb=_0xd809ca;for(;_0xd809ca<_0x35b323['text']['length']&&_0x291b60(_0x35b323['text']['charCodeAt'](_0xd809ca));)_0xd809ca++;return _0xd809ca==_0x35b323['text']['length']?_0xd14fbb:-0x1;}const EmptyLine=/^[ \t]*$/,CommentEnd=/-->/,_0x105d3f=/\?>/,HTMLBlockStyle=[[/^<(?:script|pre|style)(?:\s|>|$)/i,/<\/(?:script|pre|style)>/i],[/^\s*<!--/,CommentEnd],[/^\s*<\?/,_0x105d3f],[/^\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 _0x2adab3(_0x190acb,_0x2e5592,_0xc6fbd4){if(0x3c!=_0x190acb['next'])return-0x1;let _0x28cf88=_0x190acb['text']['slice'](_0x190acb['pos']);for(let _0x30bd53=0x0,_0x2fdd78=HTMLBlockStyle['length']-(_0xc6fbd4?0x1:0x0);_0x30bd53<_0x2fdd78;_0x30bd53++)if(HTMLBlockStyle[_0x30bd53][0x0]['test'](_0x28cf88))return _0x30bd53;return-0x1;}function getListIndent(_0x146c9f,_0x44553c){let _0x474711=_0x146c9f['countIndent'](_0x44553c,_0x146c9f['pos'],_0x146c9f['indent']),_0x212e42=_0x146c9f['countIndent'](_0x146c9f['skipSpace'](_0x44553c),_0x44553c,_0x474711);return _0x212e42>=_0x474711+0x5?_0x474711+0x1:_0x212e42;}function addCodeText(_0x4dadd9,_0xcee562,_0x2eccfc){let _0x223796=_0x4dadd9['length']-0x1;_0x223796>=0x0&&_0x4dadd9[_0x223796]['to']==_0xcee562&&_0x4dadd9[_0x223796]['type']==_0x5357a7['CodeText']?_0x4dadd9[_0x223796]['to']=_0x2eccfc:_0x4dadd9['push'](elt(_0x5357a7['CodeText'],_0xcee562,_0x2eccfc));}const DefaultBlockParsers={'LinkReference':void 0x0,'IndentedCode'(_0x3df18c,_0x134011){let _0x5398bf=_0x134011['baseIndent']+0x4;if(_0x134011['indent']<_0x5398bf)return!0x1;let _0x48cb21=_0x134011['findColumn'](_0x5398bf),_0x3a6606=_0x3df18c['lineStart']+_0x48cb21,_0xd2f682=_0x3df18c['lineStart']+_0x134011['text']['length'],_0x21d23e=[],_0x229af6=[];for(addCodeText(_0x21d23e,_0x3a6606,_0xd2f682);_0x3df18c['nextLine']()&&_0x134011['depth']>=_0x3df18c['stack']['length'];)if(_0x134011['pos']==_0x134011['text']['length']){addCodeText(_0x229af6,_0x3df18c['lineStart']-0x1,_0x3df18c['lineStart']);for(let _0xa6a73a of _0x134011['markers'])_0x229af6['push'](_0xa6a73a);}else{if(_0x134011['indent']<_0x5398bf)break;{if(_0x229af6['length']){for(let _0x109d1d of _0x229af6)_0x109d1d['type']==_0x5357a7['CodeText']?addCodeText(_0x21d23e,_0x109d1d['from'],_0x109d1d['to']):_0x21d23e['push'](_0x109d1d);_0x229af6=[];}addCodeText(_0x21d23e,_0x3df18c['lineStart']-0x1,_0x3df18c['lineStart']);for(let _0x58692a of _0x134011['markers'])_0x21d23e['push'](_0x58692a);_0xd2f682=_0x3df18c['lineStart']+_0x134011['text']['length'];let _0x4bd65b=_0x3df18c['lineStart']+_0x134011['findColumn'](_0x134011['baseIndent']+0x4);_0x4bd65b<_0xd2f682&&addCodeText(_0x21d23e,_0x4bd65b,_0xd2f682);}}return _0x229af6['length']&&(_0x229af6=_0x229af6['filter'](_0x14d441=>_0x14d441['type']!=_0x5357a7['CodeText']),_0x229af6['length']&&(_0x134011['markers']=_0x229af6['concat'](_0x134011['markers']))),_0x3df18c['addNode'](_0x3df18c['buffer']['writeElements'](_0x21d23e,-_0x3a6606)['finish'](_0x5357a7['CodeBlock'],_0xd2f682-_0x3a6606),_0x3a6606),!0x0;},'FencedCode'(_0x3f3169,_0x477a83){let _0x22e7c5=_0x417ff4(_0x477a83);if(_0x22e7c5<0x0)return!0x1;let _0x59a5f3=_0x3f3169['lineStart']+_0x477a83['pos'],_0x45ffc1=_0x477a83['next'],_0x13a31f=_0x22e7c5-_0x477a83['pos'],_0x3fc124=_0x477a83['skipSpace'](_0x22e7c5),_0x4a26ac=_0x255c05(_0x477a83['text'],_0x477a83['text']['length'],_0x3fc124),_0x5e4b7d=[elt(_0x5357a7['CodeMark'],_0x59a5f3,_0x59a5f3+_0x13a31f)];_0x3fc124<_0x4a26ac&&_0x5e4b7d['push'](elt(_0x5357a7['CodeInfo'],_0x3f3169['lineStart']+_0x3fc124,_0x3f3169['lineStart']+_0x4a26ac));for(let _0x578c07=!0x0;_0x3f3169['nextLine']()&&_0x477a83['depth']>=_0x3f3169['stack']['length'];_0x578c07=!0x1){let _0x5b8de2=_0x477a83['pos'];if(_0x477a83['indent']-_0x477a83['baseIndent']<0x4){for(;_0x5b8de2<_0x477a83['text']['length']&&_0x477a83['text']['charCodeAt'](_0x5b8de2)==_0x45ffc1;)_0x5b8de2++;}if(_0x5b8de2-_0x477a83['pos']>=_0x13a31f&&_0x477a83['skipSpace'](_0x5b8de2)==_0x477a83['text']['length']){for(let _0x27fc85 of _0x477a83['markers'])_0x5e4b7d['push'](_0x27fc85);_0x5e4b7d['push'](elt(_0x5357a7['CodeMark'],_0x3f3169['lineStart']+_0x477a83['pos'],_0x3f3169['lineStart']+_0x5b8de2)),_0x3f3169['nextLine']();break;}{_0x578c07||addCodeText(_0x5e4b7d,_0x3f3169['lineStart']-0x1,_0x3f3169['lineStart']);for(let _0x573ca4 of _0x477a83['markers'])_0x5e4b7d['push'](_0x573ca4);let _0x13eab5=_0x3f3169['lineStart']+_0x477a83['basePos'],_0x10baf5=_0x3f3169['lineStart']+_0x477a83['text']['length'];_0x13eab5<_0x10baf5&&addCodeText(_0x5e4b7d,_0x13eab5,_0x10baf5);}}return _0x3f3169['addNode'](_0x3f3169['buffer']['writeElements'](_0x5e4b7d,-_0x59a5f3)['finish'](_0x5357a7['FencedCode'],_0x3f3169['prevLineEnd']()-_0x59a5f3),_0x59a5f3),!0x0;},'Blockquote'(_0x223ee9,_0x1f5e9b){let _0x9c9177=isBlockquote(_0x1f5e9b);return!(_0x9c9177<0x0)&&(_0x223ee9['startContext'](_0x5357a7['Blockquote'],_0x1f5e9b['pos']),_0x223ee9['addNode'](_0x5357a7['QuoteMark'],_0x223ee9['lineStart']+_0x1f5e9b['pos'],_0x223ee9['lineStart']+_0x1f5e9b['pos']+0x1),_0x1f5e9b['moveBase'](_0x1f5e9b['pos']+_0x9c9177),null);},'HorizontalRule'(_0x40b1e5,_0x5bc4fd){if(isHorizontalRule(_0x5bc4fd,_0x40b1e5,!0x1)<0x0)return!0x1;let _0x43a257=_0x40b1e5['lineStart']+_0x5bc4fd['pos'];return _0x40b1e5['nextLine'](),_0x40b1e5['addNode'](_0x5357a7['HorizontalRule'],_0x43a257),!0x0;},'BulletList'(_0x4ef84d,_0x1f53b3){let _0xb3f3b1=isBulletList(_0x1f53b3,_0x4ef84d,!0x1);if(_0xb3f3b1<0x0)return!0x1;_0x4ef84d['block']['type']!=_0x5357a7['BulletList']&&_0x4ef84d['startContext'](_0x5357a7['BulletList'],_0x1f53b3['basePos'],_0x1f53b3['next']);let _0xb1a982=getListIndent(_0x1f53b3,_0x1f53b3['pos']+0x1);return _0x4ef84d['startContext'](_0x5357a7['ListItem'],_0x1f53b3['basePos'],_0xb1a982-_0x1f53b3['baseIndent']),_0x4ef84d['addNode'](_0x5357a7['ListMark'],_0x4ef84d['lineStart']+_0x1f53b3['pos'],_0x4ef84d['lineStart']+_0x1f53b3['pos']+_0xb3f3b1),_0x1f53b3['moveBaseColumn'](_0xb1a982),null;},'OrderedList'(_0x3ac613,_0xc87303){let _0x1de58e=isOrderedList(_0xc87303,_0x3ac613,!0x1);if(_0x1de58e<0x0)return!0x1;_0x3ac613['block']['type']!=_0x5357a7['OrderedList']&&_0x3ac613['startContext'](_0x5357a7['OrderedList'],_0xc87303['basePos'],_0xc87303['text']['charCodeAt'](_0xc87303['pos']+_0x1de58e-0x1));let _0x2beee8=getListIndent(_0xc87303,_0xc87303['pos']+_0x1de58e);return _0x3ac613['startContext'](_0x5357a7['ListItem'],_0xc87303['basePos'],_0x2beee8-_0xc87303['baseIndent']),_0x3ac613['addNode'](_0x5357a7['ListMark'],_0x3ac613['lineStart']+_0xc87303['pos'],_0x3ac613['lineStart']+_0xc87303['pos']+_0x1de58e),_0xc87303['moveBaseColumn'](_0x2beee8),null;},'ATXHeading'(_0x5c7a4d,_0x231c01){let _0x593299=isAtxHeading(_0x231c01);if(_0x593299<0x0)return!0x1;let _0xda4f89=_0x231c01['pos'],_0x32b354=_0x5c7a4d['lineStart']+_0xda4f89,_0x3c03fe=_0x255c05(_0x231c01['text'],_0x231c01['text']['length'],_0xda4f89),_0x416f2f=_0x3c03fe;for(;_0x416f2f>_0xda4f89&&_0x231c01['text']['charCodeAt'](_0x416f2f-0x1)==_0x231c01['next'];)_0x416f2f--;_0x416f2f!=_0x3c03fe&&_0x416f2f!=_0xda4f89&&_0x291b60(_0x231c01['text']['charCodeAt'](_0x416f2f-0x1))||(_0x416f2f=_0x231c01['text']['length']);let _0x2a7b79=_0x5c7a4d['buffer']['write'](_0x5357a7['HeaderMark'],0x0,_0x593299)['writeElements'](_0x5c7a4d['parser']['parseInline'](_0x231c01['text']['slice'](_0xda4f89+_0x593299+0x1,_0x416f2f),_0x32b354+_0x593299+0x1),-_0x32b354);_0x416f2f<_0x231c01['text']['length']&&_0x2a7b79['write'](_0x5357a7['HeaderMark'],_0x416f2f-_0xda4f89,_0x3c03fe-_0xda4f89);let _0x239437=_0x2a7b79['finish'](_0x5357a7['ATXHeading1']-0x1+_0x593299,_0x231c01['text']['length']-_0xda4f89);return _0x5c7a4d['nextLine'](),_0x5c7a4d['addNode'](_0x239437,_0x32b354),!0x0;},'HTMLBlock'(_0x576054,_0x22f50d){let _0x478d3c=_0x2adab3(_0x22f50d,_0x576054,!0x1);if(_0x478d3c<0x0)return!0x1;let _0x3b424a=_0x576054['lineStart']+_0x22f50d['pos'],_0x4696f3=HTMLBlockStyle[_0x478d3c][0x1],_0x4b85f5=[],_0x245cb8=_0x4696f3!=EmptyLine;for(;!_0x4696f3['test'](_0x22f50d['text'])&&_0x576054['nextLine']();){if(_0x22f50d['depth']<_0x576054['stack']['length']){_0x245cb8=!0x1;break;}for(let _0x2c5b16 of _0x22f50d['markers'])_0x4b85f5['push'](_0x2c5b16);}_0x245cb8&&_0x576054['nextLine']();let _0x30ac8c=_0x4696f3==CommentEnd?_0x5357a7['CommentBlock']:_0x4696f3==_0x105d3f?_0x5357a7['ProcessingInstructionBlock']:_0x5357a7['HTMLBlock'],_0x4bf021=_0x576054['prevLineEnd']();return _0x576054['addNode'](_0x576054['buffer']['writeElements'](_0x4b85f5,-_0x3b424a)['finish'](_0x30ac8c,_0x4bf021-_0x3b424a),_0x3b424a),!0x0;},'SetextHeading':void 0x0};class _0x1ef826{constructor(_0x964e58){this['stage']=0x0,this['elts']=[],this['pos']=0x0,this['start']=_0x964e58['start'],this['advance'](_0x964e58['content']);}['nextLine'](_0xb291be,_0x33fc6e,_0xe79601){if(-0x1==this['stage'])return!0x1;let _0x55719f=_0xe79601['content']+'\x0a'+_0x33fc6e['scrub'](),_0x29139d=this['advance'](_0x55719f);return _0x29139d>-0x1&&_0x29139d<_0x55719f['length']&&this['complete'](_0xb291be,_0xe79601,_0x29139d);}['finish'](_0x32d815,_0x280bc1){return(0x2==this['stage']||0x3==this['stage'])&&_0x1ac567(_0x280bc1['content'],this['pos'])==_0x280bc1['content']['length']&&this['complete'](_0x32d815,_0x280bc1,_0x280bc1['content']['length']);}['complete'](_0x22fc77,_0x4cd44c,_0x55cc1a){return _0x22fc77['addLeafElement'](_0x4cd44c,elt(_0x5357a7['LinkReference'],this['start'],this['start']+_0x55cc1a,this['elts'])),!0x0;}['nextStage'](_0x4c47f5){return _0x4c47f5?(this['pos']=_0x4c47f5['to']-this['start'],this['elts']['push'](_0x4c47f5),this['stage']++,!0x0):(!0x1===_0x4c47f5&&(this['stage']=-0x1),!0x1);}['advance'](_0x405eea){for(;;){if(-0x1==this['stage'])return-0x1;if(0x0==this['stage']){if(!this['nextStage'](_0x6cf0a7(_0x405eea,this['pos'],this['start'],!0x0)))return-0x1;if(0x3a!=_0x405eea['charCodeAt'](this['pos']))return this['stage']=-0x1;this['elts']['push'](elt(_0x5357a7['LinkMark'],this['pos']+this['start'],this['pos']+this['start']+0x1)),this['pos']++;}else{if(0x1!=this['stage']){if(0x2==this['stage']){let _0x10ba9b=_0x1ac567(_0x405eea,this['pos']),_0x596157=0x0;if(_0x10ba9b>this['pos']){let _0x3765f8=parseLinkTitle(_0x405eea,_0x10ba9b,this['start']);if(_0x3765f8){let _0x35a8d8=_0x2339e3(_0x405eea,_0x3765f8['to']-this['start']);_0x35a8d8>0x0&&(this['nextStage'](_0x3765f8),_0x596157=_0x35a8d8);}}return _0x596157||(_0x596157=_0x2339e3(_0x405eea,this['pos'])),_0x596157>0x0&&_0x596157<_0x405eea['length']?_0x596157:-0x1;}return _0x2339e3(_0x405eea,this['pos']);}if(!this['nextStage'](_0x302e82(_0x405eea,_0x1ac567(_0x405eea,this['pos']),this['start'])))return-0x1;}}}}function _0x2339e3(_0x442bf6,_0x1dc6e1){for(;_0x1dc6e1<_0x442bf6['length'];_0x1dc6e1++){let _0xc68aa3=_0x442bf6['charCodeAt'](_0x1dc6e1);if(0xa==_0xc68aa3)break;if(!_0x291b60(_0xc68aa3))return-0x1;}return _0x1dc6e1;}class SetextHeadingParser{['nextLine'](_0x29baab,_0x38b280,_0xc0b751){let _0x436e59=_0x38b280['depth']<_0x29baab['stack']['length']?-0x1:isSetextUnderline(_0x38b280),_0x50941c=_0x38b280['next'];if(_0x436e59<0x0)return!0x1;let _0x1350bc=elt(_0x5357a7['HeaderMark'],_0x29baab['lineStart']+_0x38b280['pos'],_0x29baab['lineStart']+_0x436e59);return _0x29baab['nextLine'](),_0x29baab['addLeafElement'](_0xc0b751,elt(0x3d==_0x50941c?_0x5357a7['SetextHeading1']:_0x5357a7['SetextHeading2'],_0xc0b751['start'],_0x29baab['prevLineEnd'](),[..._0x29baab['parser']['parseInline'](_0xc0b751['content'],_0xc0b751['start']),_0x1350bc])),!0x0;}['finish'](){return!0x1;}}const DefaultLeafBlocks={'LinkReference':(_0x673da9,_0x30ae07)=>0x5b==_0x30ae07['content']['charCodeAt'](0x0)?new _0x1ef826(_0x30ae07):null,'SetextHeading':()=>new SetextHeadingParser()},DefaultEndLeaf=[(_0x338a9a,_0x189118)=>isAtxHeading(_0x189118)>=0x0,(_0x11c48c,_0x234b7e)=>_0x417ff4(_0x234b7e)>=0x0,(_0x143e5b,_0x1170d6)=>isBlockquote(_0x1170d6)>=0x0,(_0x468c30,_0x2d5dd7)=>isBulletList(_0x2d5dd7,_0x468c30,!0x0)>=0x0,(_0x33e096,_0x598951)=>isOrderedList(_0x598951,_0x33e096,!0x0)>=0x0,(_0x2bf50d,_0x4f6af5)=>isHorizontalRule(_0x4f6af5,_0x2bf50d,!0x0)>=0x0,(_0x91f95d,_0x46aa6d)=>_0x2adab3(_0x46aa6d,_0x91f95d,!0x0)>=0x0],scanLineResult={'text':'','end':0x0};class BlockContext{constructor(_0x1982e5,_0x1d9326,_0x5ad75a,_0x447c71){this['parser']=_0x1982e5,this['input']=_0x1d9326,this['ranges']=_0x447c71,this['line']=new _0x1934c8(),this['atEnd']=!0x1,this['reusePlaceholders']=new Map(),this['stoppedAt']=null,this['rangeI']=0x0,this['to']=_0x447c71[_0x447c71['length']-0x1]['to'],this['lineStart']=this['absoluteLineStart']=this['absoluteLineEnd']=_0x447c71[0x0]['from'],this['block']=CompositeBlock['create'](_0x5357a7['Document'],0x0,this['lineStart'],0x0,0x0),this['stack']=[this['block']],this['fragments']=_0x5ad75a['length']?new FragmentCursor(_0x5ad75a,_0x1d9326):null,this['readLine']();}get['parsedPos'](){return this['absoluteLineStart'];}['advance'](){if(null!=this['stoppedAt']&&this['absoluteLineStart']>this['stoppedAt'])return this['finish']();let {line:_0x448907}=this;for(;;){for(let _0x55ac28=0x0;;){let _0x30a798=_0x448907['depth']<this['stack']['length']?this['stack'][this['stack']['length']-0x1]:null;for(;_0x55ac28<_0x448907['markers']['length']&&(!_0x30a798||_0x448907['markers'][_0x55ac28]['from']<_0x30a798['end']);){let _0x11c113=_0x448907['markers'][_0x55ac28++];this['addNode'](_0x11c113['type'],_0x11c113['from'],_0x11c113['to']);}if(!_0x30a798)break;this['finishContext']();}if(_0x448907['pos']<_0x448907['text']['length'])break;if(!this['nextLine']())return this['finish']();}if(this['fragments']&&this['reuseFragment'](_0x448907['basePos']))return null;t:for(;;){for(let _0x479e8b of this['parser']['blockParsers'])if(_0x479e8b){let _0x480a80=_0x479e8b(this,_0x448907);if(0x0!=_0x480a80){if(0x1==_0x480a80)return null;_0x448907['forward']();continue t;}}break;}let _0x34022b=new _0x566137(this['lineStart']+_0x448907['pos'],_0x448907['text']['slice'](_0x448907['pos']));for(let _0x3795b8 of this['parser']['leafBlockParsers'])if(_0x3795b8){let _0x346afc=_0x3795b8(this,_0x34022b);_0x346afc&&_0x34022b['parsers']['push'](_0x346afc);}t:for(;this['nextLine']()&&_0x448907['pos']!=_0x448907['text']['length'];){if(_0x448907['indent']<_0x448907['baseIndent']+0x4){for(let _0x1fd319 of this['parser']['endLeafBlock'])if(_0x1fd319(this,_0x448907,_0x34022b))break t;}for(let _0x2fb0dd of _0x34022b['parsers'])if(_0x2fb0dd['nextLine'](this,_0x448907,_0x34022b))return null;_0x34022b['content']+='\x0a'+_0x448907['scrub']();for(let _0x2a332b of _0x448907['markers'])_0x34022b['marks']['push'](_0x2a332b);}return this['finishLeaf'](_0x34022b),null;}['stopAt'](_0x174300){if(null!=this['stoppedAt']&&this['stoppedAt']<_0x174300)throw new RangeError('Can\x27t\x20move\x20stoppedAt\x20forward');this['stoppedAt']=_0x174300;}['reuseFragment'](_0x5e2f4d){if(!this['fragments']['moveTo'](this['absoluteLineStart']+_0x5e2f4d,this['absoluteLineStart'])||!this['fragments']['matches'](this['block']['hash']))return!0x1;let _0x259d63=this['fragments']['takeNodes'](this);return!!_0x259d63&&(this['absoluteLineStart']+=_0x259d63,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'](_0x3b545b=this['depth']-0x1){return this['parser']['nodeSet']['types'][this['stack'][_0x3b545b]['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'](_0x728304){let _0x7ebce8=scanLineResult;if(_0x7ebce8['end']=_0x728304,_0x728304>=this['to'])_0x7ebce8['text']='';else{if(_0x7ebce8['text']=this['lineChunkAt'](_0x728304),_0x7ebce8['end']+=_0x7ebce8['text']['length'],this['ranges']['length']>0x1){let _0x31d671=this['absoluteLineStart'],_0xa15eec=this['rangeI'];for(;this['ranges'][_0xa15eec]['to']<_0x7ebce8['end'];){_0xa15eec++;let _0x1a90b7=this['ranges'][_0xa15eec]['from'],_0x16f1d3=this['lineChunkAt'](_0x1a90b7);_0x7ebce8['end']=_0x1a90b7+_0x16f1d3['length'],_0x7ebce8['text']=_0x7ebce8['text']['slice'](0x0,this['ranges'][_0xa15eec-0x1]['to']-_0x31d671)+_0x16f1d3,_0x31d671=_0x7ebce8['end']-_0x7ebce8['text']['length'];}}}return _0x7ebce8;}['readLine'](){let {line:_0x221800}=this,{text:_0x28ce49,end:_0x321397}=this['scanLine'](this['absoluteLineStart']);for(this['absoluteLineEnd']=_0x321397,_0x221800['reset'](_0x28ce49);_0x221800['depth']<this['stack']['length'];_0x221800['depth']++){let _0x40c865=this['stack'][_0x221800['depth']],_0x3b1012=this['parser']['skipContextMarkup'][_0x40c865['type']];if(!_0x3b1012)throw new Error('Unhandled\x20block\x20context\x20'+_0x5357a7[_0x40c865['type']]);if(!_0x3b1012(_0x40c865,this,_0x221800))break;_0x221800['forward']();}}['lineChunkAt'](_0x3398bf){let _0x12da50,_0x656684=this['input']['chunk'](_0x3398bf);if(this['input']['lineChunks'])_0x12da50='\x0a'==_0x656684?'':_0x656684;else{let _0x2a1fc2=_0x656684['indexOf']('\x0a');_0x12da50=_0x2a1fc2<0x0?_0x656684:_0x656684['slice'](0x0,_0x2a1fc2);}return _0x3398bf+_0x12da50['length']>this['to']?_0x12da50['slice'](0x0,this['to']-_0x3398bf):_0x12da50;}['prevLineEnd'](){return this['atEnd']?this['lineStart']:this['lineStart']-0x1;}['startContext'](_0x489de5,_0x2f47df,_0x538a2e=0x0){this['block']=CompositeBlock['create'](_0x489de5,_0x538a2e,this['lineStart']+_0x2f47df,this['block']['hash'],this['lineStart']+this['line']['text']['length']),this['stack']['push'](this['block']);}['startComposite'](_0xd6e374,_0x5020d0,_0x2cc2fc=0x0){this['startContext'](this['parser']['getNodeType'](_0xd6e374),_0x5020d0,_0x2cc2fc);}['addNode'](_0x29e5e6,_0x287d7c,_0x2be76b){'number'==typeof _0x29e5e6&&(_0x29e5e6=new _0x17cdb3(this['parser']['nodeSet']['types'][_0x29e5e6],_0x93edf,_0x93edf,(null!=_0x2be76b?_0x2be76b:this['prevLineEnd']())-_0x287d7c)),this['block']['addChild'](_0x29e5e6,_0x287d7c-this['block']['from']);}['addElement'](_0x672b9a){this['block']['addChild'](_0x672b9a['toTree'](this['parser']['nodeSet']),_0x672b9a['from']-this['block']['from']);}['addLeafElement'](_0x5b4de6,_0xed2fcc){this['addNode'](this['buffer']['writeElements'](injectMarks(_0xed2fcc['children'],_0x5b4de6['marks']),-_0xed2fcc['from'])['finish'](_0xed2fcc['type'],_0xed2fcc['to']-_0xed2fcc['from']),_0xed2fcc['from']);}['finishContext'](){let _0x56f68c=this['stack']['pop'](),_0x5b7fc8=this['stack'][this['stack']['length']-0x1];_0x5b7fc8['addChild'](_0x56f68c['toTree'](this['parser']['nodeSet']),_0x56f68c['from']-_0x5b7fc8['from']),this['block']=_0x5b7fc8;}['finish'](){for(;this['stack']['length']>0x1;)this['finishContext']();return this['addGaps'](this['block']['toTree'](this['parser']['nodeSet'],this['lineStart']));}['addGaps'](_0xa5f83b){return this['ranges']['length']>0x1?injectGaps(this['ranges'],0x0,_0xa5f83b['topNode'],this['ranges'][0x0]['from'],this['reusePlaceholders']):_0xa5f83b;}['finishLeaf'](_0xb35c50){for(let _0x1bc7e5 of _0xb35c50['parsers'])if(_0x1bc7e5['finish'](this,_0xb35c50))return;let _0x15ccb2=injectMarks(this['parser']['parseInline'](_0xb35c50['content'],_0xb35c50['start']),_0xb35c50['marks']);this['addNode'](this['buffer']['writeElements'](_0x15ccb2,-_0xb35c50['start'])['finish'](_0x5357a7['Paragraph'],_0xb35c50['content']['length']),_0xb35c50['start']);}['elt'](_0x213a98,_0x382673,_0x768d47,_0x4a2a6a){return'string'==typeof _0x213a98?elt(this['parser']['getNodeType'](_0x213a98),_0x382673,_0x768d47,_0x4a2a6a):new TreeElement(_0x213a98,_0x382673);}get['buffer'](){return new _0x45e3e8(this['parser']['nodeSet']);}}function injectGaps(_0x1f8485,_0x3511f1,_0x77c0ae,_0x33c6da,_0x569583){let _0x2eb603=_0x1f8485[_0x3511f1]['to'],_0x5bf90b=[],_0x511159=[],_0x250824=_0x77c0ae['from']+_0x33c6da;function _0x53d52d(_0x3b9bca,_0x49875e){for(;_0x49875e?_0x3b9bca>=_0x2eb603:_0x3b9bca>_0x2eb603;){let _0x350042=_0x1f8485[_0x3511f1+0x1]['from']-_0x2eb603;_0x33c6da+=_0x350042,_0x3b9bca+=_0x350042,_0x3511f1++,_0x2eb603=_0x1f8485[_0x3511f1]['to'];}}for(let _0x17a2f6=_0x77c0ae['firstChild'];_0x17a2f6;_0x17a2f6=_0x17a2f6['nextSibling']){_0x53d52d(_0x17a2f6['from']+_0x33c6da,!0x0);let _0x469d99,_0x2fa9cf=_0x17a2f6['from']+_0x33c6da,_0x1645a4=_0x569583['get'](_0x17a2f6['tree']);_0x1645a4?_0x469d99=_0x1645a4:_0x17a2f6['to']+_0x33c6da>_0x2eb603?(_0x469d99=injectGaps(_0x1f8485,_0x3511f1,_0x17a2f6,_0x33c6da,_0x569583),_0x53d52d(_0x17a2f6['to']+_0x33c6da,!0x1)):_0x469d99=_0x17a2f6['toTree'](),_0x5bf90b['push'](_0x469d99),_0x511159['push'](_0x2fa9cf-_0x250824);}return _0x53d52d(_0x77c0ae['to']+_0x33c6da,!0x1),new _0x17cdb3(_0x77c0ae['type'],_0x5bf90b,_0x511159,_0x77c0ae['to']+_0x33c6da-_0x250824,_0x77c0ae['tree']?_0x77c0ae['tree']['propValues']:void 0x0);}class _0x3f7224 extends _0x24741a{constructor(_0x21bdd6,_0x4bf845,_0x21aa23,_0xe023c0,_0x3e26ae,_0x36478d,_0x52a67c,_0x147b63,_0x29abb0){super(),this['nodeSet']=_0x21bdd6,this['blockParsers']=_0x4bf845,this['leafBlockParsers']=_0x21aa23,this['blockNames']=_0xe023c0,this['endLeafBlock']=_0x3e26ae,this['skipContextMarkup']=_0x36478d,this['inlineParsers']=_0x52a67c,this['inlineNames']=_0x147b63,this['wrappers']=_0x29abb0,this['nodeTypes']=Object['create'](null);for(let t of _0x21bdd6['types'])this['nodeTypes'][t['name']]=t['id'];}['createParse'](_0x47f2f6,_0x4a20e5,_0x57a5dd){let _0x4023a6=new BlockContext(this,_0x47f2f6,_0x4a20e5,_0x57a5dd);for(let _0x3618a2 of this['wrappers'])_0x4023a6=_0x3618a2(_0x4023a6,_0x47f2f6,_0x4a20e5,_0x57a5dd);return _0x4023a6;}['configure'](_0x4190bd){let _0x1afbb4=_0x489289(_0x4190bd);if(!_0x1afbb4)return this;let {nodeSet:_0x240577,skipContextMarkup:_0x5dada8}=this,_0x18e508=this['blockParsers']['slice'](),_0x31fcbc=this['leafBlockParsers']['slice'](),_0x5af869=this['blockNames']['slice'](),_0x2efca1=this['inlineParsers']['slice'](),_0x123ba1=this['inlineNames']['slice'](),_0x30dc19=this['endLeafBlock']['slice'](),_0xae969b=this['wrappers'];if(nonEmpty(_0x1afbb4['defineNodes'])){_0x5dada8=Object['assign']({},_0x5dada8);let _0x57ecee,_0x3bcf47=_0x240577['types']['slice']();for(let _0x4ff5e8 of _0x1afbb4['defineNodes']){let {name:_0x4527f0,block:_0x32359d,composite:_0x41f2d0,style:_0x24b51b}='string'==typeof _0x4ff5e8?{'name':_0x4ff5e8}:_0x4ff5e8;if(_0x3bcf47['some'](t=>t['name']==_0x4527f0))continue;_0x41f2d0&&(_0x5dada8[_0x3bcf47['length']]=(_0xc6ab88,_0x18ef51,_0x334787)=>_0x41f2d0(_0x18ef51,_0x334787,_0xc6ab88['value']));let _0x34efa9=_0x3bcf47['length'],_0x4a443f=_0x41f2d0?['Block','BlockContext']:_0x32359d?_0x34efa9>=_0x5357a7['ATXHeading1']&&_0x34efa9<=_0x5357a7['SetextHeading2']?['Block','LeafBlock','Heading']:['Block','LeafBlock']:void 0x0;_0x3bcf47['push'](_0x23061a['define']({'id':_0x34efa9,'name':_0x4527f0,'props':_0x4a443f&&[[_0x519268['group'],_0x4a443f]]})),_0x24b51b&&(_0x57ecee||(_0x57ecee={}),Array['isArray'](_0x24b51b)||_0x24b51b instanceof _0x2b95e6?_0x57ecee[_0x4527f0]=_0x24b51b:Object['assign'](_0x57ecee,_0x24b51b));}_0x240577=new NodeSet(_0x3bcf47),_0x57ecee&&(_0x240577=_0x240577['extend'](styleTags(_0x57ecee)));}if(nonEmpty(_0x1afbb4['props'])&&(_0x240577=_0x240577['extend'](..._0x1afbb4['props'])),nonEmpty(_0x1afbb4['remove']))for(let _0x5a05fe of _0x1afbb4['remove']){let _0x5a0896=this['blockNames']['indexOf'](_0x5a05fe),_0x176bdd=this['inlineNames']['indexOf'](_0x5a05fe);_0x5a0896>-0x1&&(_0x18e508[_0x5a0896]=_0x31fcbc[_0x5a0896]=void 0x0),_0x176bdd>-0x1&&(_0x2efca1[_0x176bdd]=void 0x0);}if(nonEmpty(_0x1afbb4['parseBlock']))for(let _0x23285d of _0x1afbb4['parseBlock']){let _0x23d3e1=_0x5af869['indexOf'](_0x23285d['name']);if(_0x23d3e1>-0x1)_0x18e508[_0x23d3e1]=_0x23285d['parse'],_0x31fcbc[_0x23d3e1]=_0x23285d['leaf'];else{let _0x3983eb=_0x23285d['before']?_0x170458(_0x5af869,_0x23285d['before']):_0x23285d['after']?_0x170458(_0x5af869,_0x23285d['after'])+0x1:_0x5af869['length']-0x1;_0x18e508['splice'](_0x3983eb,0x0,_0x23285d['parse']),_0x31fcbc['splice'](_0x3983eb,0x0,_0x23285d['leaf']),_0x5af869['splice'](_0x3983eb,0x0,_0x23285d['name']);}_0x23285d['endLeaf']&&_0x30dc19['push'](_0x23285d['endLeaf']);}if(nonEmpty(_0x1afbb4['parseInline']))for(let _0x1990e6 of _0x1afbb4['parseInline']){let _0x4f59ad=_0x123ba1['indexOf'](_0x1990e6['name']);if(_0x4f59ad>-0x1)_0x2efca1[_0x4f59ad]=_0x1990e6['parse'];else{let _0x279662=_0x1990e6['before']?_0x170458(_0x123ba1,_0x1990e6['before']):_0x1990e6['after']?_0x170458(_0x123ba1,_0x1990e6['after'])+0x1:_0x123ba1['length']-0x1;_0x2efca1['splice'](_0x279662,0x0,_0x1990e6['parse']),_0x123ba1['splice'](_0x279662,0x0,_0x1990e6['name']);}}return _0x1afbb4['wrap']&&(_0xae969b=_0xae969b['concat'](_0x1afbb4['wrap'])),new _0x3f7224(_0x240577,_0x18e508,_0x31fcbc,_0x5af869,_0x30dc19,_0x5dada8,_0x2efca1,_0x123ba1,_0xae969b);}['getNodeType'](_0x5ce82c){let _0x3f5295=this['nodeTypes'][_0x5ce82c];if(null==_0x3f5295)throw new RangeError('Unknown\x20node\x20type\x20\x27'+_0x5ce82c+'\x27');return _0x3f5295;}['parseInline'](_0x17b6ed,_0x19bcfe){let _0x44cac2=new InlineContext(this,_0x17b6ed,_0x19bcfe);t:for(let _0x101d7f=_0x19bcfe;_0x101d7f<_0x44cac2['end'];){let _0x645e47=_0x44cac2['char'](_0x101d7f);for(let _0x499ddd of this['inlineParsers'])if(_0x499ddd){let _0x32deef=_0x499ddd(_0x44cac2,_0x645e47,_0x101d7f);if(_0x32deef>=0x0){_0x101d7f=_0x32deef;continue t;}}_0x101d7f++;}return _0x44cac2['resolveMarkers'](0x0);}}function nonEmpty(_0x4ac86f){return null!=_0x4ac86f&&_0x4ac86f['length']>0x0;}function _0x489289(_0x3a16cd){if(!Array['isArray'](_0x3a16cd))return _0x3a16cd;if(0x0==_0x3a16cd['length'])return null;let _0xf6d3bb=_0x489289(_0x3a16cd[0x0]);if(0x1==_0x3a16cd['length'])return _0xf6d3bb;let _0x23b594=_0x489289(_0x3a16cd['slice'](0x1));if(!_0x23b594||!_0xf6d3bb)return _0xf6d3bb||_0x23b594;let _0x4dab1b=(_0x101674,_0x193d2c)=>(_0x101674||_0x93edf)['concat'](_0x193d2c||_0x93edf),_0x4da885=_0xf6d3bb['wrap'],_0x5667a7=_0x23b594['wrap'];return{'props':_0x4dab1b(_0xf6d3bb['props'],_0x23b594['props']),'defineNodes':_0x4dab1b(_0xf6d3bb['defineNodes'],_0x23b594['defineNodes']),'parseBlock':_0x4dab1b(_0xf6d3bb['parseBlock'],_0x23b594['parseBlock']),'parseInline':_0x4dab1b(_0xf6d3bb['parseInline'],_0x23b594['parseInline']),'remove':_0x4dab1b(_0xf6d3bb['remove'],_0x23b594['remove']),'wrap':_0x4da885?_0x5667a7?(_0x1f0243,_0x384293,_0x130c1f,_0x590bab)=>_0x4da885(_0x5667a7(_0x1f0243,_0x384293,_0x130c1f,_0x590bab),_0x384293,_0x130c1f,_0x590bab):_0x4da885:_0x5667a7};}function _0x170458(_0x48a495,_0x558abd){let _0xe7ad41=_0x48a495['indexOf'](_0x558abd);if(_0xe7ad41<0x0)throw new RangeError('Position\x20specified\x20relative\x20to\x20unknown\x20parser\x20'+_0x558abd);return _0xe7ad41;}let _0x2f0b7c=[_0x23061a['none']];for(let _0x588ff8=0x1,_0x4c7a5e;_0x4c7a5e=_0x5357a7[_0x588ff8];_0x588ff8++)_0x2f0b7c[_0x588ff8]=_0x23061a['define']({'id':_0x588ff8,'name':_0x4c7a5e,'props':_0x588ff8>=_0x5357a7['Escape']?[]:[[_0x519268['group'],_0x588ff8 in DefaultSkipMarkup?['Block','BlockContext']:['Block','LeafBlock']]],'top':'Document'==_0x4c7a5e});const _0x93edf=[];let _0x45e3e8=class{constructor(_0x5c75d1){this['nodeSet']=_0x5c75d1,this['content']=[],this['nodes']=[];}['write'](_0x2ad576,_0xfa10d3,_0x3b57a8,_0x30075c=0x0){return this['content']['push'](_0x2ad576,_0xfa10d3,_0x3b57a8,0x4+0x4*_0x30075c),this;}['writeElements'](_0x3a3864,_0x185176=0x0){for(let _0x421c00 of _0x3a3864)_0x421c00['writeTo'](this,_0x185176);return this;}['finish'](_0x365c0a,_0x1212f2){return _0x17cdb3['build']({'buffer':this['content'],'nodeSet':this['nodeSet'],'reused':this['nodes'],'topID':_0x365c0a,'length':_0x1212f2});}},Element$1=class{constructor(_0x566952,_0xb2fd50,_0x302fe5,_0x5476c5=_0x93edf){this['type']=_0x566952,this['from']=_0xb2fd50,this['to']=_0x302fe5,this['children']=_0x5476c5;}['writeTo'](_0x4a0a57,_0x20a861){let _0xbc6599=_0x4a0a57['content']['length'];_0x4a0a57['writeElements'](this['children'],_0x20a861),_0x4a0a57['content']['push'](this['type'],this['from']+_0x20a861,this['to']+_0x20a861,_0x4a0a57['content']['length']+0x4-_0xbc6599);}['toTree'](_0x32da16){return new _0x45e3e8(_0x32da16)['writeElements'](this['children'],-this['from'])['finish'](this['type'],this['to']-this['from']);}};class TreeElement{constructor(_0x5a49c9,_0x329aa5){this['tree']=_0x5a49c9,this['from']=_0x329aa5;}get['to'](){return this['from']+this['tree']['length'];}get['type'](){return this['tree']['type']['id'];}get['children'](){return _0x93edf;}['writeTo'](_0x4452a8,_0x26e3e8){_0x4452a8['nodes']['push'](this['tree']),_0x4452a8['content']['push'](_0x4452a8['nodes']['length']-0x1,this['from']+_0x26e3e8,this['to']+_0x26e3e8,-0x1);}['toTree'](){return this['tree'];}}function elt(_0x594e93,_0x216937,_0x185199,_0x5b90a){return new Element$1(_0x594e93,_0x216937,_0x185199,_0x5b90a);}const _0x27f3d2={'resolve':'Emphasis','mark':'EmphasisMark'},EmphasisAsterisk={'resolve':'Emphasis','mark':'EmphasisMark'},LinkStart={},ImageStart={};class InlineDelimiter{constructor(_0x3885e2,_0x4f0c93,_0x1dd1c9,_0x47e828){this['type']=_0x3885e2,this['from']=_0x4f0c93,this['to']=_0x1dd1c9,this['side']=_0x47e828;}}const _0x42c8ae='!\x22#$%&\x27()*+,-./:;<=>?@[\x5c]^_`{|}~';let Punctuation=/[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~\xA1\u2010-\u2027]/;try{Punctuation=new RegExp('[\x5cp{S}|\x5cp{P}]','u');}catch(_0x5a86f0){}const DefaultInline={'Escape'(_0x46acd1,_0x934a48,_0x57954a){if(0x5c!=_0x934a48||_0x57954a==_0x46acd1['end']-0x1)return-0x1;let _0x184f5a=_0x46acd1['char'](_0x57954a+0x1);for(let _0x1ac3b2=0x0;_0x1ac3b2<_0x42c8ae['length'];_0x1ac3b2++)if(_0x42c8ae['charCodeAt'](_0x1ac3b2)==_0x184f5a)return _0x46acd1['append'](elt(_0x5357a7['Escape'],_0x57954a,_0x57954a+0x2));return-0x1;},'Entity'(_0xf7b7d0,_0x5030fa,_0x4701ca){if(0x26!=_0x5030fa)return-0x1;let _0x1992cd=/^(?:#\d+|#x[a-f\d]+|\w+);/i['exec'](_0xf7b7d0['slice'](_0x4701ca+0x1,_0x4701ca+0x1f));return _0x1992cd?_0xf7b7d0['append'](elt(_0x5357a7['Entity'],_0x4701ca,_0x4701ca+0x1+_0x1992cd[0x0]['length'])):-0x1;},'InlineCode'(_0xcb4457,_0x210992,_0x4a8014){if(0x60!=_0x210992||_0x4a8014&&0x60==_0xcb4457['char'](_0x4a8014-0x1))return-0x1;let _0x4a0de9=_0x4a8014+0x1;for(;_0x4a0de9<_0xcb4457['end']&&0x60==_0xcb4457['char'](_0x4a0de9);)_0x4a0de9++;let _0x58bb90=_0x4a0de9-_0x4a8014,_0x43979a=0x0;for(;_0x4a0de9<_0xcb4457['end'];_0x4a0de9++)if(0x60==_0xcb4457['char'](_0x4a0de9)){if(_0x43979a++,_0x43979a==_0x58bb90&&0x60!=_0xcb4457['char'](_0x4a0de9+0x1))return _0xcb4457['append'](elt(_0x5357a7['InlineCode'],_0x4a8014,_0x4a0de9+0x1,[elt(_0x5357a7['CodeMark'],_0x4a8014,_0x4a8014+_0x58bb90),elt(_0x5357a7['CodeMark'],_0x4a0de9+0x1-_0x58bb90,_0x4a0de9+0x1)]));}else _0x43979a=0x0;return-0x1;},'HTMLTag'(_0x46ce6e,_0x2d5725,_0x39bf1d){if(0x3c!=_0x2d5725||_0x39bf1d==_0x46ce6e['end']-0x1)return-0x1;let _0x592988=_0x46ce6e['slice'](_0x39bf1d+0x1,_0x46ce6e['end']),_0xa507fa=/^(?:[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'](_0x592988);if(_0xa507fa)return _0x46ce6e['append'](elt(_0x5357a7['Autolink'],_0x39bf1d,_0x39bf1d+0x1+_0xa507fa[0x0]['length'],[elt(_0x5357a7['LinkMark'],_0x39bf1d,_0x39bf1d+0x1),elt(_0x5357a7['URL'],_0x39bf1d+0x1,_0x39bf1d+_0xa507fa[0x0]['length']),elt(_0x5357a7['LinkMark'],_0x39bf1d+_0xa507fa[0x0]['length'],_0x39bf1d+0x1+_0xa507fa[0x0]['length'])]));let _0x587a4c=/^!--[^>](?:-[^-]|[^-])*?-->/i['exec'](_0x592988);if(_0x587a4c)return _0x46ce6e['append'](elt(_0x5357a7['Comment'],_0x39bf1d,_0x39bf1d+0x1+_0x587a4c[0x0]['length']));let _0x285fd6=/^\?[^]*?\?>/['exec'](_0x592988);if(_0x285fd6)return _0x46ce6e['append'](elt(_0x5357a7['ProcessingInstruction'],_0x39bf1d,_0x39bf1d+0x1+_0x285fd6[0x0]['length']));let _0x270d82=/^(?:![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'](_0x592988);return _0x270d82?_0x46ce6e['append'](elt(_0x5357a7['HTMLTag'],_0x39bf1d,_0x39bf1d+0x1+_0x270d82[0x0]['length'])):-0x1;},'Emphasis'(_0x51e724,_0x4d2200,_0x98ba0d){if(0x5f!=_0x4d2200&&0x2a!=_0x4d2200)return-0x1;let _0x86f017=_0x98ba0d+0x1;for(;_0x51e724['char'](_0x86f017)==_0x4d2200;)_0x86f017++;let _0xe421de=_0x51e724['slice'](_0x98ba0d-0x1,_0x98ba0d),_0x50254a=_0x51e724['slice'](_0x86f017,_0x86f017+0x1),_0x1a2f26=Punctuation['test'](_0xe421de),_0x432a57=Punctuation['test'](_0x50254a),_0x3d7b4e=/\s|^$/['test'](_0xe421de),_0x46d08e=/\s|^$/['test'](_0x50254a),_0xc60a17=!_0x46d08e&&(!_0x432a57||_0x3d7b4e||_0x1a2f26),_0x4cf1f3=!_0x3d7b4e&&(!_0x1a2f26||_0x46d08e||_0x432a57),_0x515a7f=_0xc60a17&&(0x2a==_0x4d2200||!_0x4cf1f3||_0x1a2f26),_0x568f5c=_0x4cf1f3&&(0x2a==_0x4d2200||!_0xc60a17||_0x432a57);return _0x51e724['append'](new InlineDelimiter(0x5f==_0x4d2200?_0x27f3d2:EmphasisAsterisk,_0x98ba0d,_0x86f017,(_0x515a7f?0x1:0x0)|(_0x568f5c?0x2:0x0)));},'HardBreak'(_0x3204f1,_0x4ff346,_0x465d0c){if(0x5c==_0x4ff346&&0xa==_0x3204f1['char'](_0x465d0c+0x1))return _0x3204f1['append'](elt(_0x5357a7['HardBreak'],_0x465d0c,_0x465d0c+0x2));if(0x20==_0x4ff346){let _0x398f11=_0x465d0c+0x1;for(;0x20==_0x3204f1['char'](_0x398f11);)_0x398f11++;if(0xa==_0x3204f1['char'](_0x398f11)&&_0x398f11>=_0x465d0c+0x2)return _0x3204f1['append'](elt(_0x5357a7['HardBreak'],_0x465d0c,_0x398f11+0x1));}return-0x1;},'Link':(_0x394420,_0x2b9ef8,_0x2242c9)=>0x5b==_0x2b9ef8?_0x394420['append'](new InlineDelimiter(LinkStart,_0x2242c9,_0x2242c9+0x1,0x1)):-0x1,'Image':(_0x278084,_0x33a9f6,_0x3b7c5f)=>0x21==_0x33a9f6&&0x5b==_0x278084['char'](_0x3b7c5f+0x1)?_0x278084['append'](new InlineDelimiter(ImageStart,_0x3b7c5f,_0x3b7c5f+0x2,0x1)):-0x1,'LinkEnd'(_0x3f6ef3,_0x2029ae,_0x33e7a8){if(0x5d!=_0x2029ae)return-0x1;for(let _0x3ae316=_0x3f6ef3['parts']['length']-0x1;_0x3ae316>=0x0;_0x3ae316--){let _0x7539b2=_0x3f6ef3['parts'][_0x3ae316];if(_0x7539b2 instanceof InlineDelimiter&&(_0x7539b2['type']==LinkStart||_0x7539b2['type']==ImageStart)){if(!_0x7539b2['side']||_0x3f6ef3['skipSpace'](_0x7539b2['to'])==_0x33e7a8&&!/[(\[]/['test'](_0x3f6ef3['slice'](_0x33e7a8+0x1,_0x33e7a8+0x2)))return _0x3f6ef3['parts'][_0x3ae316]=null,-0x1;let _0x1ed83c=_0x3f6ef3['takeContent'](_0x3ae316),_0x3dfaf3=_0x3f6ef3['parts'][_0x3ae316]=_0x210edc(_0x3f6ef3,_0x1ed83c,_0x7539b2['type']==LinkStart?_0x5357a7['Link']:_0x5357a7['Image'],_0x7539b2['from'],_0x33e7a8+0x1);if(_0x7539b2['type']==LinkStart)for(let _0x3447b=0x0;_0x3447b<_0x3ae316;_0x3447b++){let _0x27798b=_0x3f6ef3['parts'][_0x3447b];_0x27798b instanceof InlineDelimiter&&_0x27798b['type']==LinkStart&&(_0x27798b['side']=0x0);}return _0x3dfaf3['to'];}}return-0x1;}};function _0x210edc(_0x225190,_0x2df826,_0x5ccb29,_0x2b6954,_0x1eda73){let {text:_0x33082a}=_0x225190,_0x4e99f5=_0x225190['char'](_0x1eda73),_0x554645=_0x1eda73;if(_0x2df826['unshift'](elt(_0x5357a7['LinkMark'],_0x2b6954,_0x2b6954+(_0x5ccb29==_0x5357a7['Image']?0x2:0x1))),_0x2df826['push'](elt(_0x5357a7['LinkMark'],_0x1eda73-0x1,_0x1eda73)),0x28==_0x4e99f5){let _0x27e95c,_0x36e3f9=_0x225190['skipSpace'](_0x1eda73+0x1),_0x1d3f31=_0x302e82(_0x33082a,_0x36e3f9-_0x225190['offset'],_0x225190['offset']);_0x1d3f31&&(_0x36e3f9=_0x225190['skipSpace'](_0x1d3f31['to']),_0x36e3f9!=_0x1d3f31['to']&&(_0x27e95c=parseLinkTitle(_0x33082a,_0x36e3f9-_0x225190['offset'],_0x225190['offset']),_0x27e95c&&(_0x36e3f9=_0x225190['skipSpace'](_0x27e95c['to'])))),0x29==_0x225190['char'](_0x36e3f9)&&(_0x2df826['push'](elt(_0x5357a7['LinkMark'],_0x1eda73,_0x1eda73+0x1)),_0x554645=_0x36e3f9+0x1,_0x1d3f31&&_0x2df826['push'](_0x1d3f31),_0x27e95c&&_0x2df826['push'](_0x27e95c),_0x2df826['push'](elt(_0x5357a7['LinkMark'],_0x36e3f9,_0x554645)));}else{if(0x5b==_0x4e99f5){let _0x1fcb17=_0x6cf0a7(_0x33082a,_0x1eda73-_0x225190['offset'],_0x225190['offset'],!0x1);_0x1fcb17&&(_0x2df826['push'](_0x1fcb17),_0x554645=_0x1fcb17['to']);}}return elt(_0x5ccb29,_0x2b6954,_0x554645,_0x2df826);}function _0x302e82(_0x2d2b2,_0x5bc5eb,_0x6034fd){if(0x3c==_0x2d2b2['charCodeAt'](_0x5bc5eb)){for(let _0x40692b=_0x5bc5eb+0x1;_0x40692b<_0x2d2b2['length'];_0x40692b++){let _0x1807a0=_0x2d2b2['charCodeAt'](_0x40692b);if(0x3e==_0x1807a0)return elt(_0x5357a7['URL'],_0x5bc5eb+_0x6034fd,_0x40692b+0x1+_0x6034fd);if(0x3c==_0x1807a0||0xa==_0x1807a0)return!0x1;}return null;}{let _0x4a67bf=0x0,_0x108f85=_0x5bc5eb;for(let _0x488d2f=!0x1;_0x108f85<_0x2d2b2['length'];_0x108f85++){let _0x18af1f=_0x2d2b2['charCodeAt'](_0x108f85);if(_0x291b60(_0x18af1f))break;if(_0x488d2f)_0x488d2f=!0x1;else{if(0x28==_0x18af1f)_0x4a67bf++;else{if(0x29==_0x18af1f){if(!_0x4a67bf)break;_0x4a67bf--;}else 0x5c==_0x18af1f&&(_0x488d2f=!0x0);}}}return _0x108f85>_0x5bc5eb?elt(_0x5357a7['URL'],_0x5bc5eb+_0x6034fd,_0x108f85+_0x6034fd):_0x108f85==_0x2d2b2['length']&&null;}}function parseLinkTitle(_0x329314,_0x3a6263,_0x35dfb2){let _0x12a4fd=_0x329314['charCodeAt'](_0x3a6263);if(0x27!=_0x12a4fd&&0x22!=_0x12a4fd&&0x28!=_0x12a4fd)return!0x1;let _0x5cffc9=0x28==_0x12a4fd?0x29:_0x12a4fd;for(let _0xb778ce=_0x3a6263+0x1,_0x1de11d=!0x1;_0xb778ce<_0x329314['length'];_0xb778ce++){let _0x538806=_0x329314['charCodeAt'](_0xb778ce);if(_0x1de11d)_0x1de11d=!0x1;else{if(_0x538806==_0x5cffc9)return elt(_0x5357a7['LinkTitle'],_0x3a6263+_0x35dfb2,_0xb778ce+0x1+_0x35dfb2);0x5c==_0x538806&&(_0x1de11d=!0x0);}}return null;}function _0x6cf0a7(_0x9c3730,_0x38ed1a,_0xa8a5cb,_0x457a5e){for(let _0x467872=!0x1,_0x3ac2a2=_0x38ed1a+0x1,_0x357b46=Math['min'](_0x9c3730['length'],_0x3ac2a2+0x3e7);_0x3ac2a2<_0x357b46;_0x3ac2a2++){let _0x596f76=_0x9c3730['charCodeAt'](_0x3ac2a2);if(_0x467872)_0x467872=!0x1;else{if(0x5d==_0x596f76)return!_0x457a5e&&elt(_0x5357a7['LinkLabel'],_0x38ed1a+_0xa8a5cb,_0x3ac2a2+0x1+_0xa8a5cb);if(_0x457a5e&&!_0x291b60(_0x596f76)&&(_0x457a5e=!0x1),0x5b==_0x596f76)return!0x1;0x5c==_0x596f76&&(_0x467872=!0x0);}}return null;}class InlineContext{constructor(_0x10a375,_0x23533a,_0x309fc2){this['parser']=_0x10a375,this['text']=_0x23533a,this['offset']=_0x309fc2,this['parts']=[];}['char'](_0x4ba58f){return _0x4ba58f>=this['end']?-0x1:this['text']['charCodeAt'](_0x4ba58f-this['offset']);}get['end'](){return this['offset']+this['text']['length'];}['slice'](_0x58fd76,_0x340008){return this['text']['slice'](_0x58fd76-this['offset'],_0x340008-this['offset']);}['append'](_0x392125){return this['parts']['push'](_0x392125),_0x392125['to'];}['addDelimiter'](_0x4014a3,_0x2d0d72,_0x4a55d4,_0x46265f,_0x1cf965){return this['append'](new InlineDelimiter(_0x4014a3,_0x2d0d72,_0x4a55d4,(_0x46265f?0x1:0x0)|(_0x1cf965?0x2:0x0)));}get['hasOpenLink'](){for(let _0x173992=this['parts']['length']-0x1;_0x173992>=0x0;_0x173992--){let _0x27f0f4=this['parts'][_0x173992];if(_0x27f0f4 instanceof InlineDelimiter&&(_0x27f0f4['type']==LinkStart||_0x27f0f4['type']==ImageStart))return!0x0;}return!0x1;}['addElement'](_0x49a2dd){return this['append'](_0x49a2dd);}['resolveMarkers'](_0x17f8cc){for(let _0x378a1e=_0x17f8cc;_0x378a1e<this['parts']['length'];_0x378a1e++){let _0x4ebb7c=this['parts'][_0x378a1e];if(!(_0x4ebb7c instanceof InlineDelimiter&&_0x4ebb7c['type']['resolve']&&0x2&_0x4ebb7c['side']))continue;let _0x563cac,_0x2024db=_0x4ebb7c['type']==_0x27f3d2||_0x4ebb7c['type']==EmphasisAsterisk,_0x477536=_0x4ebb7c['to']-_0x4ebb7c['from'],_0x5ed3e4=_0x378a1e-0x1;for(;_0x5ed3e4>=_0x17f8cc;_0x5ed3e4--){let _0x30e3b1=this['parts'][_0x5ed3e4];if(_0x30e3b1 instanceof InlineDelimiter&&0x1&_0x30e3b1['side']&&_0x30e3b1['type']==_0x4ebb7c['type']&&!(_0x2024db&&(0x1&_0x4ebb7c['side']||0x2&_0x30e3b1['side'])&&(_0x30e3b1['to']-_0x30e3b1['from']+_0x477536)%0x3==0x0&&((_0x30e3b1['to']-_0x30e3b1['from'])%0x3||_0x477536%0x3))){_0x563cac=_0x30e3b1;break;}}if(!_0x563cac)continue;let _0x168d4e=_0x4ebb7c['type']['resolve'],_0x508055=[],_0x3b92a4=_0x563cac['from'],_0x3461e8=_0x4ebb7c['to'];if(_0x2024db){let _0x28f3bf=Math['min'](0x2,_0x563cac['to']-_0x563cac['from'],_0x477536);_0x3b92a4=_0x563cac['to']-_0x28f3bf,_0x3461e8=_0x4ebb7c['from']+_0x28f3bf,_0x168d4e=0x1==_0x28f3bf?'Emphasis':'StrongEmphasis';}_0x563cac['type']['mark']&&_0x508055['push'](this['elt'](_0x563cac['type']['mark'],_0x3b92a4,_0x563cac['to']));for(let _0x284505=_0x5ed3e4+0x1;_0x284505<_0x378a1e;_0x284505++)this['parts'][_0x284505]instanceof Element$1&&_0x508055['push'](this['parts'][_0x284505]),this['parts'][_0x284505]=null;_0x4ebb7c['type']['mark']&&_0x508055['push'](this['elt'](_0x4ebb7c['type']['mark'],_0x4ebb7c['from'],_0x3461e8));let _0x230cb8=this['elt'](_0x168d4e,_0x3b92a4,_0x3461e8,_0x508055);this['parts'][_0x5ed3e4]=_0x2024db&&_0x563cac['from']!=_0x3b92a4?new InlineDelimiter(_0x563cac['type'],_0x563cac['from'],_0x3b92a4,_0x563cac['side']):null,(this['parts'][_0x378a1e]=_0x2024db&&_0x4ebb7c['to']!=_0x3461e8?new InlineDelimiter(_0x4ebb7c['type'],_0x3461e8,_0x4ebb7c['to'],_0x4ebb7c['side']):null)?this['parts']['splice'](_0x378a1e,0x0,_0x230cb8):this['parts'][_0x378a1e]=_0x230cb8;}let _0x507c68=[];for(let _0x112205=_0x17f8cc;_0x112205<this['parts']['length'];_0x112205++){let _0x2812df=this['parts'][_0x112205];_0x2812df instanceof Element$1&&_0x507c68['push'](_0x2812df);}return _0x507c68;}['findOpeningDelimiter'](_0x36727c){for(let _0x4ba105=this['parts']['length']-0x1;_0x4ba105>=0x0;_0x4ba105--){let _0x40efe3=this['parts'][_0x4ba105];if(_0x40efe3 instanceof InlineDelimiter&&_0x40efe3['type']==_0x36727c)return _0x4ba105;}return null;}['takeContent'](_0x31cfd2){let _0x4a0130=this['resolveMarkers'](_0x31cfd2);return this['parts']['length']=_0x31cfd2,_0x4a0130;}['skipSpace'](_0x416469){return _0x1ac567(this['text'],_0x416469-this['offset'])+this['offset'];}['elt'](_0x1b6ce0,_0xb6b8bf,_0x69e6b6,_0x5b030e){return'string'==typeof _0x1b6ce0?elt(this['parser']['getNodeType'](_0x1b6ce0),_0xb6b8bf,_0x69e6b6,_0x5b030e):new TreeElement(_0x1b6ce0,_0xb6b8bf);}}function injectMarks(_0x412766,_0x1f9f7d){if(!_0x1f9f7d['length'])return _0x412766;if(!_0x412766['length'])return _0x1f9f7d;let _0x24b57d=_0x412766['slice'](),_0x1b18cd=0x0;for(let _0x4b2b5d of _0x1f9f7d){for(;_0x1b18cd<_0x24b57d['length']&&_0x24b57d[_0x1b18cd]['to']<_0x4b2b5d['to'];)_0x1b18cd++;if(_0x1b18cd<_0x24b57d['length']&&_0x24b57d[_0x1b18cd]['from']<_0x4b2b5d['from']){let _0x2020a9=_0x24b57d[_0x1b18cd];_0x2020a9 instanceof Element$1&&(_0x24b57d[_0x1b18cd]=new Element$1(_0x2020a9['type'],_0x2020a9['from'],_0x2020a9['to'],injectMarks(_0x2020a9['children'],[_0x4b2b5d])));}else _0x24b57d['splice'](_0x1b18cd++,0x0,_0x4b2b5d);}return _0x24b57d;}const NotLast=[_0x5357a7['CodeBlock'],_0x5357a7['ListItem'],_0x5357a7['OrderedList'],_0x5357a7['BulletList']];class FragmentCursor{constructor(_0x419eeb,_0x17738a){this['fragments']=_0x419eeb,this['input']=_0x17738a,this['i']=0x0,this['fragment']=null,this['fragmentEnd']=-0x1,this['cursor']=null,_0x419eeb['length']&&(this['fragment']=_0x419eeb[this['i']++]);}['nextFragment'](){this['fragment']=this['i']<this['fragments']['length']?this['fragments'][this['i']++]:null,this['cursor']=null,this['fragmentEnd']=-0x1;}['moveTo'](_0x1e8af8,_0x759e65){for(;this['fragment']&&this['fragment']['to']<=_0x1e8af8;)this['nextFragment']();if(!this['fragment']||this['fragment']['from']>(_0x1e8af8?_0x1e8af8-0x1:0x0))return!0x1;if(this['fragmentEnd']<0x0){let _0x3ac0f8=this['fragment']['to'];for(;_0x3ac0f8>0x0&&'\x0a'!=this['input']['read'](_0x3ac0f8-0x1,_0x3ac0f8);)_0x3ac0f8--;this['fragmentEnd']=_0x3ac0f8?_0x3ac0f8-0x1:0x0;}let _0x779c53=this['cursor'];_0x779c53||(_0x779c53=this['cursor']=this['fragment']['tree']['cursor'](),_0x779c53['firstChild']());let _0x719a9b=_0x1e8af8+this['fragment']['offset'];for(;_0x779c53['to']<=_0x719a9b;)if(!_0x779c53['parent']())return!0x1;for(;;){if(_0x779c53['from']>=_0x719a9b)return this['fragment']['from']<=_0x759e65;if(!_0x779c53['childAfter'](_0x719a9b))return!0x1;}}['matches'](_0x41d5a0){let _0x2f3b44=this['cursor']['tree'];return _0x2f3b44&&_0x2f3b44['prop'](_0x519268['contextHash'])==_0x41d5a0;}['takeNodes'](_0x792263){let _0x406b24=this['cursor'],_0x5ceed8=this['fragment']['offset'],_0x2eb339=this['fragmentEnd']-(this['fragment']['openEnd']?0x1:0x0),_0x3c02e1=_0x792263['absoluteLineStart'],_0x1f913=_0x3c02e1,_0x1dc7a4=_0x792263['block']['children']['length'],_0x150260=_0x1f913,_0x1953ac=_0x1dc7a4;for(;;){if(_0x406b24['to']-_0x5ceed8>_0x2eb339){if(_0x406b24['type']['isAnonymous']&&_0x406b24['firstChild']())continue;break;}let _0x20fd55=toRelative(_0x406b24['from']-_0x5ceed8,_0x792263['ranges']);if(_0x406b24['to']-_0x5ceed8<=_0x792263['ranges'][_0x792263['rangeI']]['to'])_0x792263['addNode'](_0x406b24['tree'],_0x20fd55);else{let _0x27ba5e=new _0x17cdb3(_0x792263['parser']['nodeSet']['types'][_0x5357a7['Paragraph']],[],[],0x0,_0x792263['block']['hashProp']);_0x792263['reusePlaceholders']['set'](_0x27ba5e,_0x406b24['tree']),_0x792263['addNode'](_0x27ba5e,_0x20fd55);}if(_0x406b24['type']['is']('Block')&&(NotLast['indexOf'](_0x406b24['type']['id'])<0x0?(_0x1f913=_0x406b24['to']-_0x5ceed8,_0x1dc7a4=_0x792263['block']['children']['length']):(_0x1f913=_0x150260,_0x1dc7a4=_0x1953ac,_0x150260=_0x406b24['to']-_0x5ceed8,_0x1953ac=_0x792263['block']['children']['length'])),!_0x406b24['nextSibling']())break;}for(;_0x792263['block']['children']['length']>_0x1dc7a4;)_0x792263['block']['children']['pop'](),_0x792263['block']['positions']['pop']();return _0x1f913-_0x3c02e1;}}function toRelative(_0x36ccf1,_0x194129){let _0x8f4beb=_0x36ccf1;for(let _0x426df7=0x1;_0x426df7<_0x194129['length'];_0x426df7++){let _0x19f835=_0x194129[_0x426df7-0x1]['to'],_0x217b8a=_0x194129[_0x426df7]['from'];_0x19f835<_0x36ccf1&&(_0x8f4beb-=_0x217b8a-_0x19f835);}return _0x8f4beb;}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']}),_0x342674=new _0x3f7224(new NodeSet(_0x2f0b7c)['extend'](markdownHighlighting),Object['keys'](DefaultBlockParsers)['map'](_0x6b53b4=>DefaultBlockParsers[_0x6b53b4]),Object['keys'](DefaultBlockParsers)['map'](_0x15fa11=>DefaultLeafBlocks[_0x15fa11]),Object['keys'](DefaultBlockParsers),DefaultEndLeaf,DefaultSkipMarkup,Object['keys'](DefaultInline)['map'](_0x365ecd=>DefaultInline[_0x365ecd]),Object['keys'](DefaultInline),[]);function leftOverSpace(_0xeded42,_0x32c7c3,_0x430762){let _0x254011=[];for(let _0x4036e2=_0xeded42['firstChild'],_0x2be247=_0x32c7c3;;_0x4036e2=_0x4036e2['nextSibling']){let _0x45efdc=_0x4036e2?_0x4036e2['from']:_0x430762;if(_0x45efdc>_0x2be247&&_0x254011['push']({'from':_0x2be247,'to':_0x45efdc}),!_0x4036e2)break;_0x2be247=_0x4036e2['to'];}return _0x254011;}function _0x42c8bb(_0x2d80f3){let {codeParser:_0x26274c,htmlParser:_0x4c619a}=_0x2d80f3,_0x28c23a=_0x57488a((_0x302f5b,_0x217dee)=>{let _0x208dce=_0x302f5b['type']['id'];if(!_0x26274c||_0x208dce!=_0x5357a7['CodeBlock']&&_0x208dce!=_0x5357a7['FencedCode']){if(_0x4c619a&&(_0x208dce==_0x5357a7['HTMLBlock']||_0x208dce==_0x5357a7['HTMLTag']||_0x208dce==_0x5357a7['CommentBlock']))return{'parser':_0x4c619a,'overlay':leftOverSpace(_0x302f5b['node'],_0x302f5b['from'],_0x302f5b['to'])};}else{let _0x22f128='';if(_0x208dce==_0x5357a7['FencedCode']){let _0x633ad3=_0x302f5b['node']['getChild'](_0x5357a7['CodeInfo']);_0x633ad3&&(_0x22f128=_0x217dee['read'](_0x633ad3['from'],_0x633ad3['to']));}let _0x53d93f=_0x26274c(_0x22f128);if(_0x53d93f)return{'parser':_0x53d93f,'overlay':_0x9f5baf=>_0x9f5baf['type']['id']==_0x5357a7['CodeText']};}return null;});return{'wrap':_0x28c23a};}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'(_0x586295,_0x1ecdc5,_0x4102b9){if(0x7e!=_0x1ecdc5||0x7e!=_0x586295['char'](_0x4102b9+0x1)||0x7e==_0x586295['char'](_0x4102b9+0x2))return-0x1;let _0x191f0b=_0x586295['slice'](_0x4102b9-0x1,_0x4102b9),_0x5985f3=_0x586295['slice'](_0x4102b9+0x2,_0x4102b9+0x3),_0x410283=/\s|^$/['test'](_0x191f0b),_0x5800b1=/\s|^$/['test'](_0x5985f3),_0x11eaf3=Punctuation['test'](_0x191f0b),_0xc9611c=Punctuation['test'](_0x5985f3);return _0x586295['addDelimiter'](StrikethroughDelim,_0x4102b9,_0x4102b9+0x2,!_0x5800b1&&(!_0xc9611c||_0x410283||_0x11eaf3),!_0x410283&&(!_0x11eaf3||_0x5800b1||_0xc9611c));},'after':'Emphasis'}]};function _0x293ad9(_0x253646,_0x573429,_0x18a160=0x0,_0x5c14d0,_0x222845=0x0){let _0x42a313=0x0,_0x32687c=!0x0,_0x646802=-0x1,_0xb21f68=-0x1,_0x4a12ea=!0x1,_0x165887=()=>{_0x5c14d0['push'](_0x253646['elt']('TableCell',_0x222845+_0x646802,_0x222845+_0xb21f68,_0x253646['parser']['parseInline'](_0x573429['slice'](_0x646802,_0xb21f68),_0x222845+_0x646802)));};for(let _0x2fe7ac=_0x18a160;_0x2fe7ac<_0x573429['length'];_0x2fe7ac++){let _0x484328=_0x573429['charCodeAt'](_0x2fe7ac);0x7c!=_0x484328||_0x4a12ea?(_0x4a12ea||0x20!=_0x484328&&0x9!=_0x484328)&&(_0x646802<0x0&&(_0x646802=_0x2fe7ac),_0xb21f68=_0x2fe7ac+0x1):((!_0x32687c||_0x646802>-0x1)&&_0x42a313++,_0x32687c=!0x1,_0x5c14d0&&(_0x646802>-0x1&&_0x165887(),_0x5c14d0['push'](_0x253646['elt']('TableDelimiter',_0x2fe7ac+_0x222845,_0x2fe7ac+_0x222845+0x1))),_0x646802=_0xb21f68=-0x1),_0x4a12ea=!_0x4a12ea&&0x5c==_0x484328;}return _0x646802>-0x1&&(_0x42a313++,_0x5c14d0&&_0x165887()),_0x42a313;}function _0x1cda8f(_0x555564,_0x30ae48){for(let _0x126e02=_0x30ae48;_0x126e02<_0x555564['length'];_0x126e02++){let _0x19fb81=_0x555564['charCodeAt'](_0x126e02);if(0x7c==_0x19fb81)return!0x0;0x5c==_0x19fb81&&_0x126e02++;}return!0x1;}const delimiterLine=/^\|?(\s*:?-+:?\s*\|)+(\s*:?-+:?\s*)?$/;class _0x182212{constructor(){this['rows']=null;}['nextLine'](_0x28670a,_0x379aa6,_0x1ca4e3){if(null==this['rows']){let _0x5a1148;if(this['rows']=!0x1,(0x2d==_0x379aa6['next']||0x3a==_0x379aa6['next']||0x7c==_0x379aa6['next'])&&delimiterLine['test'](_0x5a1148=_0x379aa6['text']['slice'](_0x379aa6['pos']))){let _0xc19c84=[];_0x293ad9(_0x28670a,_0x1ca4e3['content'],0x0,_0xc19c84,_0x1ca4e3['start'])==_0x293ad9(_0x28670a,_0x5a1148,_0x379aa6['pos'])&&(this['rows']=[_0x28670a['elt']('TableHeader',_0x1ca4e3['start'],_0x1ca4e3['start']+_0x1ca4e3['content']['length'],_0xc19c84),_0x28670a['elt']('TableDelimiter',_0x28670a['lineStart']+_0x379aa6['pos'],_0x28670a['lineStart']+_0x379aa6['text']['length'])]);}}else{if(this['rows']){let _0x349e62=[];_0x293ad9(_0x28670a,_0x379aa6['text'],_0x379aa6['pos'],_0x349e62,_0x28670a['lineStart']),this['rows']['push'](_0x28670a['elt']('TableRow',_0x28670a['lineStart']+_0x379aa6['pos'],_0x28670a['lineStart']+_0x379aa6['text']['length'],_0x349e62));}}return!0x1;}['finish'](_0x586cfd,_0x53c826){return!!this['rows']&&(_0x586cfd['addLeafElement'](_0x53c826,_0x586cfd['elt']('Table',_0x53c826['start'],_0x53c826['start']+_0x53c826['content']['length'],this['rows'])),!0x0);}}const _0x4f539f={'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':(_0x3e1381,_0x33c877)=>_0x1cda8f(_0x33c877['content'],0x0)?new _0x182212():null,'endLeaf'(_0xdfbc7f,_0x251e9c,_0x2ff6d1){if(_0x2ff6d1['parsers']['some'](_0x3ed354=>_0x3ed354 instanceof _0x182212)||!_0x1cda8f(_0x251e9c['text'],_0x251e9c['basePos']))return!0x1;let _0x39218a=_0xdfbc7f['peekLine']();return delimiterLine['test'](_0x39218a)&&_0x293ad9(_0xdfbc7f,_0x251e9c['text'],_0x251e9c['basePos'])==_0x293ad9(_0xdfbc7f,_0x39218a,_0x251e9c['basePos']);},'before':'SetextHeading'}]};class _0x3123ad{['nextLine'](){return!0x1;}['finish'](_0x36bdef,_0x16346b){return _0x36bdef['addLeafElement'](_0x16346b,_0x36bdef['elt']('Task',_0x16346b['start'],_0x16346b['start']+_0x16346b['content']['length'],[_0x36bdef['elt']('TaskMarker',_0x16346b['start'],_0x16346b['start']+0x3),..._0x36bdef['parser']['parseInline'](_0x16346b['content']['slice'](0x3),_0x16346b['start']+0x3)])),!0x0;}}const TaskList={'defineNodes':[{'name':'Task','block':!0x0,'style':tags$1['list']},{'name':'TaskMarker','style':tags$1['atom']}],'parseBlock':[{'name':'TaskList','leaf':(_0xaf0fd9,_0x10e58c)=>/^\[[ xX]\][ \t]/['test'](_0x10e58c['content'])&&'ListItem'==_0xaf0fd9['parentType']()['name']?new _0x3123ad():null,'after':'SetextHeading'}]},autolinkRE=/(www\.)|(https?:\/\/)|([\w.+-]{1,100}@)|(mailto:|xmpp:)/gy,_0x5570de=/[\w-]+(\.[\w-]+)+(\/[^\s<]*)?/gy,lastTwoDomainWords=/[\w-]+\.[\w-]+($|\/)/,_0x2bb6e1=/[\w.+-]+@[\w-]+(\.[\w.-]+)+/gy,_0x59f904=/\/[a-zA-Z\d@.]+/gy;function count(_0xdf9395,_0x1365e5,_0x1329f6,_0x272b34){let _0x575c93=0x0;for(let _0x2cfd24=_0x1365e5;_0x2cfd24<_0x1329f6;_0x2cfd24++)_0xdf9395[_0x2cfd24]==_0x272b34&&_0x575c93++;return _0x575c93;}function autolinkURLEnd(_0x548f6c,_0x2733fc){_0x5570de['lastIndex']=_0x2733fc;let _0x557b8f=_0x5570de['exec'](_0x548f6c);if(!_0x557b8f||lastTwoDomainWords['exec'](_0x557b8f[0x0])[0x0]['indexOf']('_')>-0x1)return-0x1;let _0x449172=_0x2733fc+_0x557b8f[0x0]['length'];for(;;){let _0x403d5d,_0x30065d=_0x548f6c[_0x449172-0x1];if(/[?!.,:*_~]/['test'](_0x30065d)||')'==_0x30065d&&count(_0x548f6c,_0x2733fc,_0x449172,')')>count(_0x548f6c,_0x2733fc,_0x449172,'('))_0x449172--;else{if(';'!=_0x30065d||!(_0x403d5d=/&(?:#\d+|#x[a-f\d]+|\w+);$/['exec'](_0x548f6c['slice'](_0x2733fc,_0x449172))))break;_0x449172=_0x2733fc+_0x403d5d['index'];}}return _0x449172;}function autolinkEmailEnd(_0x450ea2,_0x3d6aa1){_0x2bb6e1['lastIndex']=_0x3d6aa1;let _0x1ef702=_0x2bb6e1['exec'](_0x450ea2);if(!_0x1ef702)return-0x1;let _0x1eb3b2=_0x1ef702[0x0][_0x1ef702[0x0]['length']-0x1];return'_'==_0x1eb3b2||'-'==_0x1eb3b2?-0x1:_0x3d6aa1+_0x1ef702[0x0]['length']-('.'==_0x1eb3b2?0x1:0x0);}const Autolink={'parseInline':[{'name':'Autolink','parse'(_0x5008b3,_0x205394,_0x8aa3f8){let _0x3a9a43=_0x8aa3f8-_0x5008b3['offset'];if(_0x3a9a43&&/\w/['test'](_0x5008b3['text'][_0x3a9a43-0x1]))return-0x1;autolinkRE['lastIndex']=_0x3a9a43;let _0x1ccf19=autolinkRE['exec'](_0x5008b3['text']),_0x9062ba=-0x1;if(!_0x1ccf19)return-0x1;if(_0x1ccf19[0x1]||_0x1ccf19[0x2])(_0x9062ba=autolinkURLEnd(_0x5008b3['text'],_0x3a9a43+_0x1ccf19[0x0]['length']),_0x9062ba>-0x1&&_0x5008b3['hasOpenLink'])&&(_0x9062ba=_0x3a9a43+/([^\[\]]|\[[^\]]*\])*/['exec'](_0x5008b3['text']['slice'](_0x3a9a43,_0x9062ba))[0x0]['length']);else _0x1ccf19[0x3]?_0x9062ba=autolinkEmailEnd(_0x5008b3['text'],_0x3a9a43):(_0x9062ba=autolinkEmailEnd(_0x5008b3['text'],_0x3a9a43+_0x1ccf19[0x0]['length']),_0x9062ba>-0x1&&'xmpp:'==_0x1ccf19[0x0]&&(_0x59f904['lastIndex']=_0x9062ba,_0x1ccf19=_0x59f904['exec'](_0x5008b3['text']),_0x1ccf19&&(_0x9062ba=_0x1ccf19['index']+_0x1ccf19[0x0]['length'])));return _0x9062ba<0x0?-0x1:(_0x5008b3['addElement'](_0x5008b3['elt']('URL',_0x8aa3f8,_0x9062ba+_0x5008b3['offset'])),_0x9062ba+_0x5008b3['offset']);}}]},_0x6e8747=[_0x4f539f,TaskList,Strikethrough,Autolink];function _0x7f97dc(_0x52b3a3,_0x37c4df,_0x1e89a7){return(_0x18c2a8,_0x474d8a,_0x451216)=>{if(_0x474d8a!=_0x52b3a3||_0x18c2a8['char'](_0x451216+0x1)==_0x52b3a3)return-0x1;let _0x145131=[_0x18c2a8['elt'](_0x1e89a7,_0x451216,_0x451216+0x1)];for(let _0x29b0d7=_0x451216+0x1;_0x29b0d7<_0x18c2a8['end'];_0x29b0d7++){let _0x562133=_0x18c2a8['char'](_0x29b0d7);if(_0x562133==_0x52b3a3)return _0x18c2a8['addElement'](_0x18c2a8['elt'](_0x37c4df,_0x451216,_0x29b0d7+0x1,_0x145131['concat'](_0x18c2a8['elt'](_0x1e89a7,_0x29b0d7,_0x29b0d7+0x1))));if(0x5c==_0x562133&&_0x145131['push'](_0x18c2a8['elt']('Escape',_0x29b0d7,0x2+_0x29b0d7++)),_0x291b60(_0x562133))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':_0x7f97dc(0x5e,'Superscript','SuperscriptMark')}]},Subscript={'defineNodes':[{'name':'Subscript','style':tags$1['special'](tags$1['content'])},{'name':'SubscriptMark','style':tags$1['processingInstruction']}],'parseInline':[{'name':'Subscript','parse':_0x7f97dc(0x7e,'Subscript','SubscriptMark')}]},_0x375d88={'defineNodes':[{'name':'Emoji','style':tags$1['character']}],'parseInline':[{'name':'Emoji','parse'(_0x9fb99e,_0x550a35,_0x1eadef){let _0xb21952;return 0x3a==_0x550a35&&(_0xb21952=/^[a-zA-Z_0-9]+:/['exec'](_0x9fb99e['slice'](_0x1eadef+0x1,_0x9fb99e['end'])))?_0x9fb99e['addElement'](_0x9fb99e['elt']('Emoji',_0x1eadef,_0x1eadef+0x1+_0xb21952[0x0]['length'])):-0x1;}}]},data=defineLanguageFacet({'commentTokens':{'block':{'open':'<!--','close':'-->'}}}),_0x469b66=new _0x519268(),_0x261a38=_0x342674['configure']({'props':[_0x110e88['add'](_0x4133c4=>!_0x4133c4['is']('Block')||_0x4133c4['is']('Document')||null!=_0x36884e(_0x4133c4)||isList(_0x4133c4)?void 0x0:(_0x5dbbbf,_0x219ff0)=>({'from':_0x219ff0['doc']['lineAt'](_0x5dbbbf['from'])['to'],'to':_0x5dbbbf['to']})),_0x469b66['add'](_0x36884e),indentNodeProp['add']({'Document':()=>null}),languageDataProp['add']({'Document':data})]});function _0x36884e(_0x19607b){let _0x8fc62b=/^(?:ATX|Setext)Heading(\d)$/['exec'](_0x19607b['name']);return _0x8fc62b?+_0x8fc62b[0x1]:void 0x0;}function isList(_0x59183c){return'OrderedList'==_0x59183c['name']||'BulletList'==_0x59183c['name'];}function findSectionEnd(_0x25a3e4,_0x4c376c){let _0xf453b8=_0x25a3e4;for(;;){let _0x1108aa,_0x11ac80=_0xf453b8['nextSibling'];if(!_0x11ac80||null!=(_0x1108aa=_0x36884e(_0x11ac80['type']))&&_0x1108aa<=_0x4c376c)break;_0xf453b8=_0x11ac80;}return _0xf453b8['to'];}const headerIndent=_0x4050eb['of']((_0x4ab760,_0x8aa32e,_0x46b654)=>{for(let _0x1238c7=syntaxTree(_0x4ab760)['resolveInner'](_0x46b654,-0x1);_0x1238c7&&!(_0x1238c7['from']<_0x8aa32e);_0x1238c7=_0x1238c7['parent']){let _0x10b0e8=_0x1238c7['type']['prop'](_0x469b66);if(null==_0x10b0e8)continue;let _0x2b1139=findSectionEnd(_0x1238c7,_0x10b0e8);if(_0x2b1139>_0x46b654)return{'from':_0x46b654,'to':_0x2b1139};}return null;});function _0x2fa471(_0x396892){return new _0x47c225(data,_0x396892,[headerIndent],'markdown');}const _0x125ace=_0x2fa471(_0x261a38),extended=_0x261a38['configure']([_0x6e8747,Subscript,Superscript,_0x375d88,{'props':[_0x110e88['add']({'Table':(_0x379ba5,_0x4ddb82)=>({'from':_0x4ddb82['doc']['lineAt'](_0x379ba5['from'])['to'],'to':_0x379ba5['to']})})]}]),_0x2e86d1=_0x2fa471(extended);function getCodeParser(_0x24eaad,_0x58cf98){return _0x3b8b9e=>{if(_0x3b8b9e&&_0x24eaad){let _0xd00465=null;if(_0x3b8b9e=/\S*/['exec'](_0x3b8b9e)[0x0],_0xd00465='function'==typeof _0x24eaad?_0x24eaad(_0x3b8b9e):LanguageDescription['matchLanguageName'](_0x24eaad,_0x3b8b9e,!0x0),_0xd00465 instanceof LanguageDescription)return _0xd00465['support']?_0xd00465['support']['language']['parser']:ParseContext['getSkippingParser'](_0xd00465['load']());if(_0xd00465)return _0xd00465['parser'];}return _0x58cf98?_0x58cf98['parser']:null;};}class Context{constructor(_0x15c938,_0x3c4212,_0x4ba178,_0x33b683,_0x3e7c7a,_0x44f9dd,_0x121755){this['node']=_0x15c938,this['from']=_0x3c4212,this['to']=_0x4ba178,this['spaceBefore']=_0x33b683,this['spaceAfter']=_0x3e7c7a,this['type']=_0x44f9dd,this['item']=_0x121755;}['blank'](_0x17c701,_0x318a6b=!0x0){let _0x3b22d3=this['spaceBefore']+('Blockquote'==this['node']['name']?'>':'');if(null!=_0x17c701){for(;_0x3b22d3['length']<_0x17c701;)_0x3b22d3+='\x20';return _0x3b22d3;}for(let _0xd2f2d5=this['to']-this['from']-_0x3b22d3['length']-this['spaceAfter']['length'];_0xd2f2d5>0x0;_0xd2f2d5--)_0x3b22d3+='\x20';return _0x3b22d3+(_0x318a6b?this['spaceAfter']:'');}['marker'](_0x9a0484,_0xf1ee34){let _0x48b511='OrderedList'==this['node']['name']?String(+itemNumber(this['item'],_0x9a0484)[0x2]+_0xf1ee34):'';return this['spaceBefore']+_0x48b511+this['type']+this['spaceAfter'];}}function getContext(_0xbfca32,_0x30390a){let _0x2347b6=[],_0xcb2223=[];for(let _0x4a31a0=_0xbfca32;_0x4a31a0;_0x4a31a0=_0x4a31a0['parent']){if('FencedCode'==_0x4a31a0['name'])return _0xcb2223;'ListItem'!=_0x4a31a0['name']&&'Blockquote'!=_0x4a31a0['name']||_0x2347b6['push'](_0x4a31a0);}for(let _0x5e0c89=_0x2347b6['length']-0x1;_0x5e0c89>=0x0;_0x5e0c89--){let _0x8dee1f,_0x4d5d20=_0x2347b6[_0x5e0c89],_0x524551=_0x30390a['lineAt'](_0x4d5d20['from']),_0x192d12=_0x4d5d20['from']-_0x524551['from'];if('Blockquote'==_0x4d5d20['name']&&(_0x8dee1f=/^ *>( ?)/['exec'](_0x524551['text']['slice'](_0x192d12))))_0xcb2223['push'](new Context(_0x4d5d20,_0x192d12,_0x192d12+_0x8dee1f[0x0]['length'],'',_0x8dee1f[0x1],'>',null));else{if('ListItem'==_0x4d5d20['name']&&'OrderedList'==_0x4d5d20['parent']['name']&&(_0x8dee1f=/^( *)\d+([.)])( *)/['exec'](_0x524551['text']['slice'](_0x192d12)))){let _0x3e0c03=_0x8dee1f[0x3],_0x2b4560=_0x8dee1f[0x0]['length'];_0x3e0c03['length']>=0x4&&(_0x3e0c03=_0x3e0c03['slice'](0x0,_0x3e0c03['length']-0x4),_0x2b4560-=0x4),_0xcb2223['push'](new Context(_0x4d5d20['parent'],_0x192d12,_0x192d12+_0x2b4560,_0x8dee1f[0x1],_0x3e0c03,_0x8dee1f[0x2],_0x4d5d20));}else{if('ListItem'==_0x4d5d20['name']&&'BulletList'==_0x4d5d20['parent']['name']&&(_0x8dee1f=/^( *)([-+*])( {1,4}\[[ xX]\])?( +)/['exec'](_0x524551['text']['slice'](_0x192d12)))){let _0x32c7a9=_0x8dee1f[0x4],_0xaa7782=_0x8dee1f[0x0]['length'];_0x32c7a9['length']>0x4&&(_0x32c7a9=_0x32c7a9['slice'](0x0,_0x32c7a9['length']-0x4),_0xaa7782-=0x4);let _0x253ab2=_0x8dee1f[0x2];_0x8dee1f[0x3]&&(_0x253ab2+=_0x8dee1f[0x3]['replace'](/[xX]/,'\x20')),_0xcb2223['push'](new Context(_0x4d5d20['parent'],_0x192d12,_0x192d12+_0xaa7782,_0x8dee1f[0x1],_0x32c7a9,_0x253ab2,_0x4d5d20));}}}}return _0xcb2223;}function itemNumber(_0x1235a8,_0x5bf0ba){return/^(\s*)(\d+)(?=[.)])/['exec'](_0x5bf0ba['sliceString'](_0x1235a8['from'],_0x1235a8['from']+0xa));}function renumberList(_0x320968,_0x51e4ff,_0x3ad370,_0x71f9a3=0x0){for(let _0x18cc2f=-0x1,_0x4a8502=_0x320968;;){if('ListItem'==_0x4a8502['name']){let _0x3b81f6=itemNumber(_0x4a8502,_0x51e4ff),_0x39a054=+_0x3b81f6[0x2];if(_0x18cc2f>=0x0){if(_0x39a054!=_0x18cc2f+0x1)return;_0x3ad370['push']({'from':_0x4a8502['from']+_0x3b81f6[0x1]['length'],'to':_0x4a8502['from']+_0x3b81f6[0x0]['length'],'insert':String(_0x18cc2f+0x2+_0x71f9a3)});}_0x18cc2f=_0x39a054;}let _0x4b55f4=_0x4a8502['nextSibling'];if(!_0x4b55f4)break;_0x4a8502=_0x4b55f4;}}function normalizeIndent(_0x2f79e6,_0x505abe){let _0x2b67b6=/^[ \t]*/['exec'](_0x2f79e6)[0x0]['length'];if(!_0x2b67b6||'\x09'!=_0x505abe['facet'](indentUnit))return _0x2f79e6;let _0x21db54='';for(let _0x1477ba=countColumn(_0x2f79e6,0x4,_0x2b67b6);_0x1477ba>0x0;)_0x1477ba>=0x4?(_0x21db54+='\x09',_0x1477ba-=0x4):(_0x21db54+='\x20',_0x1477ba--);return _0x21db54+_0x2f79e6['slice'](_0x2b67b6);}const insertNewlineContinueMarkup=({state:_0x280209,dispatch:_0x4b6a51})=>{let _0x37b109=syntaxTree(_0x280209),{doc:_0x29cc82}=_0x280209,_0x6f4c9b=null,_0x1b248f=_0x280209['changeByRange'](_0x526713=>{if(!_0x526713['empty']||!_0x2e86d1['isActiveAt'](_0x280209,_0x526713['from'],0x0))return _0x6f4c9b={'range':_0x526713};let _0xd76436=_0x526713['from'],_0x2be286=_0x29cc82['lineAt'](_0xd76436),_0x1bfbb9=getContext(_0x37b109['resolveInner'](_0xd76436,-0x1),_0x29cc82);for(;_0x1bfbb9['length']&&_0x1bfbb9[_0x1bfbb9['length']-0x1]['from']>_0xd76436-_0x2be286['from'];)_0x1bfbb9['pop']();if(!_0x1bfbb9['length'])return _0x6f4c9b={'range':_0x526713};let _0x4a9e4b=_0x1bfbb9[_0x1bfbb9['length']-0x1];if(_0x4a9e4b['to']-_0x4a9e4b['spaceAfter']['length']>_0xd76436-_0x2be286['from'])return _0x6f4c9b={'range':_0x526713};let _0x1459c4=_0xd76436>=_0x4a9e4b['to']-_0x4a9e4b['spaceAfter']['length']&&!/\S/['test'](_0x2be286['text']['slice'](_0x4a9e4b['to']));if(_0x4a9e4b['item']&&_0x1459c4){let _0x1540c5=_0x4a9e4b['node']['firstChild'],_0x10c304=_0x4a9e4b['node']['getChild']('ListItem','ListItem');if(_0x1540c5['to']>=_0xd76436||_0x10c304&&_0x10c304['to']<_0xd76436||_0x2be286['from']>0x0&&!/[^\s>]/['test'](_0x29cc82['lineAt'](_0x2be286['from']-0x1)['text'])){let _0x54a24e,_0x321067=_0x1bfbb9['length']>0x1?_0x1bfbb9[_0x1bfbb9['length']-0x2]:null,_0xf0f42b='';_0x321067&&_0x321067['item']?(_0x54a24e=_0x2be286['from']+_0x321067['from'],_0xf0f42b=_0x321067['marker'](_0x29cc82,0x1)):_0x54a24e=_0x2be286['from']+(_0x321067?_0x321067['to']:0x0);let _0x299578=[{'from':_0x54a24e,'to':_0xd76436,'insert':_0xf0f42b}];return'OrderedList'==_0x4a9e4b['node']['name']&&renumberList(_0x4a9e4b['item'],_0x29cc82,_0x299578,-0x2),_0x321067&&'OrderedList'==_0x321067['node']['name']&&renumberList(_0x321067['item'],_0x29cc82,_0x299578),{'range':EditorSelection['cursor'](_0x54a24e+_0xf0f42b['length']),'changes':_0x299578};}{let _0x23a913=_0x2735f3(_0x1bfbb9,_0x280209,_0x2be286);return{'range':EditorSelection['cursor'](_0xd76436+_0x23a913['length']+0x1),'changes':{'from':_0x2be286['from'],'insert':_0x23a913+_0x280209['lineBreak']}};}}if('Blockquote'==_0x4a9e4b['node']['name']&&_0x1459c4&&_0x2be286['from']){let _0x53eb40=_0x29cc82['lineAt'](_0x2be286['from']-0x1),_0x28ca87=/>\s*$/['exec'](_0x53eb40['text']);if(_0x28ca87&&_0x28ca87['index']==_0x4a9e4b['from']){let _0x43d677=_0x280209['changes']([{'from':_0x53eb40['from']+_0x28ca87['index'],'to':_0x53eb40['to']},{'from':_0x2be286['from']+_0x4a9e4b['from'],'to':_0x2be286['to']}]);return{'range':_0x526713['map'](_0x43d677),'changes':_0x43d677};}}let _0x52093b=[];'OrderedList'==_0x4a9e4b['node']['name']&&renumberList(_0x4a9e4b['item'],_0x29cc82,_0x52093b);let _0x4b39ba=_0x4a9e4b['item']&&_0x4a9e4b['item']['from']<_0x2be286['from'],_0x5768c6='';if(!_0x4b39ba||/^[\s\d.)\-+*>]*/['exec'](_0x2be286['text'])[0x0]['length']>=_0x4a9e4b['to']){for(let _0x321fb4=0x0,_0x4af5df=_0x1bfbb9['length']-0x1;_0x321fb4<=_0x4af5df;_0x321fb4++)_0x5768c6+=_0x321fb4!=_0x4af5df||_0x4b39ba?_0x1bfbb9[_0x321fb4]['blank'](_0x321fb4<_0x4af5df?countColumn(_0x2be286['text'],0x4,_0x1bfbb9[_0x321fb4+0x1]['from'])-_0x5768c6['length']:null):_0x1bfbb9[_0x321fb4]['marker'](_0x29cc82,0x1);}let _0x22c5a9=_0xd76436;for(;_0x22c5a9>_0x2be286['from']&&/\s/['test'](_0x2be286['text']['charAt'](_0x22c5a9-_0x2be286['from']-0x1));)_0x22c5a9--;return _0x5768c6=normalizeIndent(_0x5768c6,_0x280209),nonTightList(_0x4a9e4b['node'],_0x280209['doc'])&&(_0x5768c6=_0x2735f3(_0x1bfbb9,_0x280209,_0x2be286)+_0x280209['lineBreak']+_0x5768c6),_0x52093b['push']({'from':_0x22c5a9,'to':_0xd76436,'insert':_0x280209['lineBreak']+_0x5768c6}),{'range':EditorSelection['cursor'](_0x22c5a9+_0x5768c6['length']+0x1),'changes':_0x52093b};});return!_0x6f4c9b&&(_0x4b6a51(_0x280209['update'](_0x1b248f,{'scrollIntoView':!0x0,'userEvent':'input'})),!0x0);};function _0x55a31b(_0x4345bb){return'QuoteMark'==_0x4345bb['name']||'ListMark'==_0x4345bb['name'];}function nonTightList(_0x195f40,_0x559995){if('OrderedList'!=_0x195f40['name']&&'BulletList'!=_0x195f40['name'])return!0x1;let _0x4d583a=_0x195f40['firstChild'],_0x1bdff0=_0x195f40['getChild']('ListItem','ListItem');if(!_0x1bdff0)return!0x1;let _0x5b5a35=_0x559995['lineAt'](_0x4d583a['to']),_0x327931=_0x559995['lineAt'](_0x1bdff0['from']),_0x3490c2=/^[\s>]*$/['test'](_0x5b5a35['text']);return _0x5b5a35['number']+(_0x3490c2?0x0:0x1)<_0x327931['number'];}function _0x2735f3(_0x1cf459,_0x35246f,_0x9c7598){let _0x482dfb='';for(let _0x25f8de=0x0,_0xd27be9=_0x1cf459['length']-0x2;_0x25f8de<=_0xd27be9;_0x25f8de++)_0x482dfb+=_0x1cf459[_0x25f8de]['blank'](_0x25f8de<_0xd27be9?countColumn(_0x9c7598['text'],0x4,Math['min'](_0x9c7598['text']['length'],_0x1cf459[_0x25f8de+0x1]['from']))-_0x482dfb['length']:null,_0x25f8de<_0xd27be9);return normalizeIndent(_0x482dfb,_0x35246f);}function contextNodeForDelete(_0x168069,_0x280edd){let _0x96aea5=_0x168069['resolveInner'](_0x280edd,-0x1),_0xa2a624=_0x280edd;_0x55a31b(_0x96aea5)&&(_0xa2a624=_0x96aea5['from'],_0x96aea5=_0x96aea5['parent']);for(let _0x2656d1;_0x2656d1=_0x96aea5['childBefore'](_0xa2a624);)if(_0x55a31b(_0x2656d1))_0xa2a624=_0x2656d1['from'];else{if('OrderedList'!=_0x2656d1['name']&&'BulletList'!=_0x2656d1['name'])break;_0x96aea5=_0x2656d1['lastChild'],_0xa2a624=_0x96aea5['to'];}return _0x96aea5;}const deleteMarkupBackward=({state:_0x5ce10a,dispatch:_0x527876})=>{let _0x593e9c=syntaxTree(_0x5ce10a),_0x292596=null,_0x2b0783=_0x5ce10a['changeByRange'](_0x12e385=>{let _0xf444ea=_0x12e385['from'],{doc:_0x4a9760}=_0x5ce10a;if(_0x12e385['empty']&&_0x2e86d1['isActiveAt'](_0x5ce10a,_0x12e385['from'])){let _0x2f1581=_0x4a9760['lineAt'](_0xf444ea),_0x4870b7=getContext(contextNodeForDelete(_0x593e9c,_0xf444ea),_0x4a9760);if(_0x4870b7['length']){let _0x2fb4e6=_0x4870b7[_0x4870b7['length']-0x1],_0x2dd4fa=_0x2fb4e6['to']-_0x2fb4e6['spaceAfter']['length']+(_0x2fb4e6['spaceAfter']?0x1:0x0);if(_0xf444ea-_0x2f1581['from']>_0x2dd4fa&&!/\S/['test'](_0x2f1581['text']['slice'](_0x2dd4fa,_0xf444ea-_0x2f1581['from'])))return{'range':EditorSelection['cursor'](_0x2f1581['from']+_0x2dd4fa),'changes':{'from':_0x2f1581['from']+_0x2dd4fa,'to':_0xf444ea}};if(_0xf444ea-_0x2f1581['from']==_0x2dd4fa&&(!_0x2fb4e6['item']||_0x2f1581['from']<=_0x2fb4e6['item']['from']||!/\S/['test'](_0x2f1581['text']['slice'](0x0,_0x2fb4e6['to'])))){let _0x25de3a=_0x2f1581['from']+_0x2fb4e6['from'];if(_0x2fb4e6['item']&&_0x2fb4e6['node']['from']<_0x2fb4e6['item']['from']&&/\S/['test'](_0x2f1581['text']['slice'](_0x2fb4e6['from'],_0x2fb4e6['to']))){let _0x4800a8=_0x2fb4e6['blank'](countColumn(_0x2f1581['text'],0x4,_0x2fb4e6['to'])-countColumn(_0x2f1581['text'],0x4,_0x2fb4e6['from']));return _0x25de3a==_0x2f1581['from']&&(_0x4800a8=normalizeIndent(_0x4800a8,_0x5ce10a)),{'range':EditorSelection['cursor'](_0x25de3a+_0x4800a8['length']),'changes':{'from':_0x25de3a,'to':_0x2f1581['from']+_0x2fb4e6['to'],'insert':_0x4800a8}};}if(_0x25de3a<_0xf444ea)return{'range':EditorSelection['cursor'](_0x25de3a),'changes':{'from':_0x25de3a,'to':_0xf444ea}};}}}return _0x292596={'range':_0x12e385};});return!_0x292596&&(_0x527876(_0x5ce10a['update'](_0x2b0783,{'scrollIntoView':!0x0,'userEvent':'delete'})),!0x0);},_0x44f8d3=[{'key':'Enter','run':insertNewlineContinueMarkup},{'key':'Backspace','run':deleteMarkupBackward}],htmlNoMatch=html({'matchClosingTags':!0x1});function _0x554be3(_0x23bf86={}){let {codeLanguages:_0x986fbf,defaultCodeLanguage:_0x553e40,addKeymap:_0x349d57=!0x0,base:{parser:_0x19cf74}=_0x125ace,completeHTMLTags:_0x522de2=!0x0,htmlTagLanguage:_0xa7cdcb=htmlNoMatch}=_0x23bf86;if(!(_0x19cf74 instanceof _0x3f7224))throw new RangeError('Base\x20parser\x20provided\x20to\x20`markdown`\x20should\x20be\x20a\x20Markdown\x20parser');let _0x9fd7ff,_0x3979e3=_0x23bf86['extensions']?[_0x23bf86['extensions']]:[],_0x37e284=[_0xa7cdcb['support']];_0x553e40 instanceof LanguageSupport?(_0x37e284['push'](_0x553e40['support']),_0x9fd7ff=_0x553e40['language']):_0x553e40&&(_0x9fd7ff=_0x553e40);let _0x2a7cf8=_0x986fbf||_0x9fd7ff?getCodeParser(_0x986fbf,_0x9fd7ff):void 0x0;_0x3979e3['push'](_0x42c8bb({'codeParser':_0x2a7cf8,'htmlParser':_0xa7cdcb['language']['parser']})),_0x349d57&&_0x37e284['push'](_0x4ee962['high'](_0x4a6f06['of'](_0x44f8d3)));let _0xe6de1=_0x2fa471(_0x19cf74['configure'](_0x3979e3));return _0x522de2&&_0x37e284['push'](_0xe6de1['data']['of']({'autocomplete':htmlTagCompletion})),new LanguageSupport(_0xe6de1,_0x37e284);}function htmlTagCompletion(_0x448b9f){let {state:_0x58cc72,pos:_0x20dd10}=_0x448b9f,_0x43e52a=/<[:\-\.\w\u00b7-\uffff]*$/['exec'](_0x58cc72['sliceDoc'](_0x20dd10-0x19,_0x20dd10));if(!_0x43e52a)return null;let _0x57e2d8=syntaxTree(_0x58cc72)['resolveInner'](_0x20dd10,-0x1);for(;_0x57e2d8&&!_0x57e2d8['type']['isTop'];){if('CodeBlock'==_0x57e2d8['name']||'FencedCode'==_0x57e2d8['name']||'ProcessingInstructionBlock'==_0x57e2d8['name']||'CommentBlock'==_0x57e2d8['name']||'Link'==_0x57e2d8['name']||'Image'==_0x57e2d8['name'])return null;_0x57e2d8=_0x57e2d8['parent'];}return{'from':_0x20dd10-_0x43e52a[0x0]['length'],'to':_0x20dd10,'options':htmlTagCompletions(),'validFor':/^<[:\-\.\w\u00b7-\uffff]*$/};}let _tagCompletions=null;function htmlTagCompletions(){if(_tagCompletions)return _tagCompletions;let _0x4a75db=htmlCompletionSource(new CompletionContext(EditorState['create']({'extensions':htmlNoMatch}),0x0,!0x0));return _tagCompletions=_0x4a75db?_0x4a75db['options']:[];}const _0xdb6fda='#e5c07b',_0xca77b='#e06c75',_0xd974dc='#56b6c2',_0xd3c69c='#ffffff',_0x19715d='#abb2bf',stone='#7d8799',_0x1340f5='#61afef',_0x52ca9f='#98c379',_0x51eeb6='#d19a66',violet='#c678dd',_0x469f80='#21252b',highlightBackground='#2c313a',_0x2c5abe='#282c34',tooltipBackground='#353a42',selection='#3E4451',_0x160bbc='#528bff',_0x1c5122=EditorView['theme']({'&':{'color':_0x19715d,'backgroundColor':_0x2c5abe},'.cm-content':{'caretColor':_0x160bbc},'.cm-cursor,\x20.cm-dropCursor':{'borderLeftColor':_0x160bbc},'&.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':_0x469f80,'color':_0x19715d},'.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':_0x2c5abe,'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':_0x19715d}}},{'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':_0xca77b},{'tag':[tags$1['function'](tags$1['variableName']),tags$1['labelName']],'color':_0x1340f5},{'tag':[tags$1['color'],tags$1['constant'](tags$1['name']),tags$1['standard'](tags$1['name'])],'color':_0x51eeb6},{'tag':[tags$1['definition'](tags$1['name']),tags$1['separator']],'color':_0x19715d},{'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':_0xdb6fda},{'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':_0xd974dc},{'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':_0xca77b},{'tag':[tags$1['atom'],tags$1['bool'],tags$1['special'](tags$1['variableName'])],'color':_0x51eeb6},{'tag':[tags$1['processingInstruction'],tags$1['string'],tags$1['inserted']],'color':_0x52ca9f},{'tag':tags$1['invalid'],'color':_0xd3c69c}]),_0x230775=[_0x1c5122,syntaxHighlighting(oneDarkHighlightStyle)];function createCodeMirrorEditor(_0x53a53b){const _0x1dc955=getDefaultExtensions(),_0x4ab550=new Compartment();_0x1dc955['push'](_0x4ab550['of'](EditorView['editable']['of'](!0x0))),'html'===_0x53a53b['syntaxLanguage']?_0x1dc955['push'](html()):_0x1dc955['push'](_0x554be3());const _0x346aba=_0x2991f8(_0x53a53b['theme']);_0x346aba&&_0x1dc955['push'](_0x346aba),_0x1dc955['push'](...getKeybindings());const _0x2bbf1=new EditorView({'extensions':_0x1dc955,'parent':_0x53a53b['parent']});return toggleTabFocusMode(_0x2bbf1),{'focus':()=>{_0x2bbf1['dispatch']({'selection':{'anchor':0x0},'scrollIntoView':!0x0}),_0x2bbf1['focus']();},'getData':()=>_0x2bbf1['state']['doc']['toString'](),'setData':_0x5379b4=>{_0x2bbf1['dispatch']({'changes':{'from':0x0,'to':_0x2bbf1['state']['doc']['length'],'insert':_0x5379b4},'annotations':Transaction['addToHistory']['of'](!0x1)});},'setReadOnly':_0x55c5c5=>{_0x2bbf1['dispatch']({'effects':[_0x4ab550['reconfigure'](EditorView['editable']['of'](!_0x55c5c5))]});},'destroy':()=>{_0x2bbf1['destroy']();},'instance':_0x2bbf1};}function _0x2991f8(_0x468cc7){return _0x468cc7&&'default'!==_0x468cc7?'dark'===_0x468cc7?_0x230775:_0x468cc7:null;}function getKeybindings(){return[_0x4a6f06['of']([...closeBracketsKeymap,...defaultKeymap,...historyKeymap,..._0x2235c7,...completionKeymap,{'key':'Tab','run':indentMore,'shift':indentLess,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-y','mac':'Cmd-y','run':_0x229db7,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-Shift-z','mac':'Cmd-Shift-z','run':_0x229db7,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-z','mac':'Cmd-z','run':_0x16cf9f,'preventDefault':!0x0,'stopPropagation':!0x0}])];}function getDefaultExtensions(){return[EditorView['lineWrapping'],autocompletion(),bracketMatching(),closeBrackets(),_0x43b90a(),drawSelection(),_0x4f06c2(),_0x3b0192(),foldGutter(),highlightActiveLine(),highlightActiveLineGutter(),highlightSpecialChars(),history(),indentOnInput(),rectangularSelection(),syntaxHighlighting(defaultHighlightStyle,{'fallback':!0x0})];}class CodeEditorView extends ckeditor5['View']{['_codeEditorApi']=null;['_options'];constructor(_0x348fbb,_0x21ec52){super(_0x348fbb),this['_options']=_0x21ec52,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',(_0x3d7c3a,_0x74645c,_0x503fbf)=>{this['setReadOnly'](_0x503fbf);});}['destroy'](){super['destroy'](),this['_codeEditorApi']['destroy'](),this['_codeEditorApi']=null;}['focus'](){this['isReadOnly']?this['element']['focus']():this['_codeEditorApi']['focus']();}['getData'](){return this['_codeEditorApi']['getData']();}['setData'](_0x37e622){this['_codeEditorApi']['setData'](_0x37e622);}['setReadOnly'](_0x3a18a3){this['_codeEditorApi']['setReadOnly'](_0x3a18a3);}}const _0x3322eb='SourceEditingEnhancedMode';class EditSourceCommand extends ckeditor5['Command']{constructor(_0x43d323){super(_0x43d323),this['affectsData']=!0x1,this['editor']['plugins']['get'](ckeditor5['PendingActions'])['on']('change:hasAny',(_0x5a0d68,_0x4a4cac,_0x157e75)=>{_0x157e75?this['forceDisabled']('pendingActions'):this['clearForceDisabled']('pendingActions');});}['_disableCommands'](){const _0x4dd925=this['editor'];for(const _0x492098 of _0x4dd925['commands']['names']())['replaceSource','editSource']['includes'](_0x492098)||_0x4dd925['commands']['get'](_0x492098)['forceDisabled'](_0x3322eb);}['_enableCommands'](){const _0x2c7a81=this['editor'];for(const _0x34df42 of _0x2c7a81['commands']['commands']())_0x34df42['clearForceDisabled'](_0x3322eb);}['refresh'](){this['isEnabled']=!0x0;}['execute'](){const _0x43f42a=this['editor'],_0x2c7d9e=_0x43f42a['locale'],_0x7a2638=_0x43f42a['plugins']['get']('Dialog'),_0x3b7e36=getActiveRootName(_0x43f42a),_0x472396=formatSource(_0x43f42a['data']['get']({'rootName':_0x3b7e36})),_0x2540dd=new CodeEditorView(_0x2c7d9e,{'syntaxLanguage':_0x43f42a['plugins']['has']('Markdown')?'markdown':'html','theme':_0x43f42a['config']['get']('sourceEditingEnhanced.theme')});let _0x521140=!0x0;const _0x480876=_0x5dd842=>{if(!_0x521140)return;return unformatSource(_0x2540dd['getData']())!==unformatSource(_0x472396)?window['confirm'](getTranslation$3(_0x2c7d9e,'Are\x20you\x20sure\x20you\x20want\x20to\x20discard\x20your\x20changes?\x20This\x20action\x20cannot\x20be\x20undone.'))?void 0x0:_0x5dd842['stop']():void 0x0;};_0x7a2638['show']({'id':'sourceEditingEnhanced','title':getTranslation$3(_0x2c7d9e,'Edit\x20source\x20modal\x20label'),'isModal':!0x0,'className':'ck-source-editing-enhanced-dialog','content':_0x2540dd,'actionButtons':[{'label':getTranslation$3(_0x2c7d9e,'Cancel'),'withText':!0x0,'onExecute':()=>{_0x7a2638['hide']();}},{'label':getTranslation$3(_0x2c7d9e,'Save'),'class':'ck-button-action','withText':!0x0,'onExecute':()=>{const _0x43c5c1=unformatSource(_0x2540dd['getData']())!==unformatSource(_0x472396);(_0x43c5c1&&_0x43f42a['execute']('replaceSource',_0x2540dd['getData']()),_0x521140=!0x1,_0x7a2638['hide'](),_0x43c5c1&&'editables'in _0x43f42a['ui']['view'])&&_0x43f42a['ui']['view']['editables'][_0x3b7e36]['element']['focus']();},'onCreate':_0x3745b1=>{_0x3745b1['set']('isEnabled',!_0x43f42a['isReadOnly']),_0x3745b1['bind']('isEnabled')['to'](_0x43f42a,'isReadOnly',this,'isEnabled',(_0x53527b,_0x34758f)=>!_0x53527b&&_0x34758f);}}],'onHide':()=>{this['_enableCommands'](),_0x7a2638['off']('hide',_0x480876),_0x2540dd['destroy']();},'onShow':()=>{_0x2540dd['bind']('isReadOnly')['to'](_0x43f42a,'isReadOnly',this,'isEnabled',(_0x52a7d9,_0x4d071d)=>_0x52a7d9||!_0x4d071d),_0x2540dd['setData'](_0x472396),_0x2540dd['focus'](),_0x7a2638['on']('hide',_0x480876,{'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 _0x5b9b14=this['editor'],_0xea3746=_0x5b9b14['locale'],_0x58fb00=new EditSourceCommand(_0x5b9b14);_0x5b9b14['commands']['add']('editSource',_0x58fb00),_0x5b9b14['ui']['componentFactory']['add']('sourceEditingEnhanced',()=>{const _0x589131=this['_createButton'](ckeditor5['ButtonView'],_0x58fb00);return _0x589131['set']({'label':getTranslation$3(_0xea3746,'Source'),'icon':ckeditor5['IconSource'],'tooltip':getTranslation$3(_0xea3746,'Edit\x20source\x20modal\x20label'),'class':'ck-source-editing-enhanced-button'}),_0x589131;}),_0x5b9b14['ui']['componentFactory']['add']('menuBar:sourceEditingEnhanced',()=>{const _0x421b24=this['_createButton'](ckeditor5['MenuBarMenuListItemButtonView'],_0x58fb00,!0x0);return _0x421b24['set']({'label':getTranslation$3(_0xea3746,'Edit\x20source\x20modal\x20label'),'icon':ckeditor5['IconSource'],'role':'menuitemcheckbox'}),_0x421b24;}),this['_registerKeybindings']();}['afterInit'](){_0x8a3139(this);}['_createButton'](_0x587242,_0x5e5e92,_0x583505=!0x1){const _0x14eb34=new _0x587242(this['editor']['locale']);return _0x14eb34['set']({'withText':_0x583505,'isToggleable':!0x1}),_0x14eb34['bind']('isEnabled')['to'](_0x5e5e92,'isEnabled'),this['listenTo'](_0x14eb34,'execute',()=>_0x5e5e92['execute']()),_0x14eb34;}['_registerKeybindings'](){const _0x5c0926=this['editor']['locale'];this['editor']['accessibility']['addKeystrokeInfoCategory']({'id':'sourceEditingEnhanced','label':getTranslation$3(_0x5c0926,'Source\x20Editing\x20Enhanced')});const _0x5cd286=ckeditor5['env']['isMac']||ckeditor5['env']['isiOS'];this['editor']['accessibility']['addKeystrokeInfos']({'categoryId':'sourceEditingEnhanced','keystrokes':[{'label':getTranslation$3(_0x5c0926,'Copy\x20line\x20down'),'keystroke':'Shift+Alt+ArrowDown'},{'label':getTranslation$3(_0x5c0926,'Copy\x20line\x20up'),'keystroke':'Shift+Alt+ArrowUp'},{'label':getTranslation$3(_0x5c0926,'Delete\x20line'),'keystroke':'Shift+Ctrl+K'},{'label':getTranslation$3(_0x5c0926,'Indent\x20less'),'keystroke':'Ctrl+['},{'label':getTranslation$3(_0x5c0926,'Indent\x20more'),'keystroke':'Ctrl+]'},{'label':getTranslation$3(_0x5c0926,'Fold\x20all'),'keystroke':'Ctrl!+Alt+['},{'label':getTranslation$3(_0x5c0926,'Fold\x20code\x20(current\x20level)'),'keystroke':_0x5cd286?'Cmd+Alt+[':'Ctrl+Shift+['},{'label':getTranslation$3(_0x5c0926,'Move\x20line\x20down'),'keystroke':'Alt+ArrowDown'},{'label':getTranslation$3(_0x5c0926,'Move\x20line\x20up'),'keystroke':'Alt+ArrowUp'},{'label':getTranslation$3(_0x5c0926,'Redo\x20(keystroke)'),'keystroke':[['Ctrl+Shift+Z'],['Ctrl+Y']]},{'label':getTranslation$3(_0x5c0926,'Select\x20line'),'keystroke':_0x5cd286?'Ctrl!+L':'Alt+L'},{'label':getTranslation$3(_0x5c0926,'Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode'),'keystroke':_0x5cd286?'Alt+Shift+M':'Ctrl+M'},{'label':getTranslation$3(_0x5c0926,'Toggle\x20block\x20comment'),'keystroke':'Shift+Alt+A'},{'label':getTranslation$3(_0x5c0926,'Toggle\x20comment'),'keystroke':'Ctrl+/'},{'label':getTranslation$3(_0x5c0926,'Undo\x20(keystroke)'),'keystroke':'Ctrl+Z'},{'label':getTranslation$3(_0x5c0926,'Unfold\x20all'),'keystroke':'Ctrl!+Alt+]'},{'label':getTranslation$3(_0x5c0926,'Unfold\x20code\x20(current\x20level)'),'keystroke':_0x5cd286?'Cmd+Alt+]':'Ctrl+Shift+]'}]});}}async function _0x8a3139(_0x5d8e63){const _0x5ca61c=_0x21b843([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]),_0x3b61ee=window[_0x21b843([0x44,0x61,0x74,0x65])][_0x21b843([0x6e,0x6f,0x77])](),_0x26d0a4=_0x5d8e63[_0x21b843([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x28c687=new window[(_0x21b843([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3fa317=>{_0x26d0a4[_0x21b843([0x6f,0x6e,0x63,0x65])](_0x21b843([0x72,0x65,0x61,0x64,0x79]),_0x3fa317);}),_0x40595a={[_0x21b843([0x6b,0x74,0x79])]:_0x21b843([0x45,0x43]),[_0x21b843([0x75,0x73,0x65])]:_0x21b843([0x73,0x69,0x67]),[_0x21b843([0x63,0x72,0x76])]:_0x21b843([0x50,0x2d,0x32,0x35,0x36]),[_0x21b843([0x78])]:_0x21b843([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]),[_0x21b843([0x79])]:_0x21b843([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]),[_0x21b843([0x61,0x6c,0x67])]:_0x21b843([0x45,0x53,0x32,0x35,0x36])},_0x3bf7de=_0x26d0a4[_0x21b843([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x21b843([0x67,0x65,0x74])](_0x21b843([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x2015b4=await(async function(){let _0x29dde0,_0x35610e=null,_0x56e3f1=null;try{if(_0x3bf7de==_0x21b843([0x47,0x50,0x4c]))return _0x21b843([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x29dde0=(function(){const _0x301f4f=_0x3bf7de[_0x21b843([0x73,0x70,0x6c,0x69,0x74])](_0x21b843([0x2e]));if(0x3!=_0x301f4f[_0x21b843([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;const _0xd38ffd=_0x301f4f[0x1];return _0x2b1ca8(_0xd38ffd);function _0x2b1ca8(_0x45d239){const _0x8dceca=_0x3f63e1(_0x45d239);return _0x8dceca&&_0x525369()?_0x8dceca:null;function _0x525369(){const _0x4d9d9f=_0x8dceca[_0x21b843([0x6a,0x74,0x69])],_0x398770=window[_0x21b843([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4d9d9f[_0x21b843([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4d9d9f[_0x21b843([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x1f0d2d={..._0x8dceca,[_0x21b843([0x6a,0x74,0x69])]:_0x4d9d9f[_0x21b843([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x4d9d9f[_0x21b843([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x1f0d2d[_0x21b843([0x76,0x63])],_0x4dd3d9(_0x1f0d2d)==_0x398770;}}}()),!_0x29dde0)return _0x21b843([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);_0x29dde0[_0x21b843([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x56e3f1=function(_0x27d07c,_0x2df296){return new window[(_0x21b843([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2051e9=>{if(_0x2790e3())return _0x2051e9(_0x21b843([0x56,0x61,0x6c,0x69,0x64]));_0xe21050(),_0x26d0a4[_0x21b843([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x21b843([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0xbb9c48=!0x1;const _0x27296b=ckeditor5['uid']();function _0x2ddf1f(_0x57b0f8){return!!_0x57b0f8&&(typeof _0x57b0f8===_0x21b843([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x57b0f8===_0x21b843([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x57b0f8[_0x21b843([0x74,0x68,0x65,0x6e])]===_0x21b843([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x57b0f8[_0x21b843([0x63,0x61,0x74,0x63,0x68])]===_0x21b843([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x557b19(_0x5e7235){_0x55e1f3(_0x5e7235)[_0x21b843([0x74,0x68,0x65,0x6e])](_0x8e0ef7=>{if(!_0x8e0ef7||_0x8e0ef7[_0x21b843([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x21b843([0x6f,0x6b]))return _0x21b843([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x484801(_0x4dd3d9(_0x27296b+_0x2df296))!=_0x8e0ef7[_0x21b843([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x21b843([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x21b843([0x56,0x61,0x6c,0x69,0x64]);})[_0x21b843([0x74,0x68,0x65,0x6e])](_0x44f764=>(_0x3b882f(),_0x44f764),()=>{const _0x23f219=_0x499b77();return null==_0x23f219?(_0x3b882f(),_0x21b843([0x56,0x61,0x6c,0x69,0x64])):_0x21b843(_0x3b61ee-_0x23f219>0x240c8400?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x21b843([0x74,0x68,0x65,0x6e])](_0x2051e9)[_0x21b843([0x63,0x61,0x74,0x63,0x68])](()=>{_0x2051e9(_0x21b843([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0xcbee14=0x36ee80;function _0x3b882f(){const _0x724ad9=_0x21b843([0x6c,0x6c,0x63,0x74,0x2d])+_0x484801(_0x4dd3d9(_0x27d07c)),_0x231410=_0x24d396(_0x484801(window[_0x21b843([0x4d,0x61,0x74,0x68])][_0x21b843([0x63,0x65,0x69,0x6c])](_0x3b61ee/_0xcbee14)));window[_0x21b843([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x21b843([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x724ad9,_0x231410);}function _0x499b77(){const _0x588741=_0x21b843([0x6c,0x6c,0x63,0x74,0x2d])+_0x484801(_0x4dd3d9(_0x27d07c)),_0x4d3006=window[_0x21b843([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x21b843([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x588741);return _0x4d3006?window[_0x21b843([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x24d396(_0x4d3006),0x10)*_0xcbee14:null;}function _0x55e1f3(_0x2ff498){return new window[(_0x21b843([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x19edc1,_0x2ae810)=>{_0x2ff498[_0x21b843([0x74,0x68,0x65,0x6e])](_0x19edc1,_0x2ae810),window[_0x21b843([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x2ae810,0x1d4c0);});}}_0x26d0a4[_0x21b843([0x6f,0x6e])](_0x21b843([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x50eb29,_0x1693f0)=>{if(_0x1693f0[0x0]!=_0x27d07c)return _0x2051e9(_0x21b843([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x1693f0[0x1]={..._0x1693f0[0x1],[_0x21b843([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x27296b};},{[_0x21b843([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x21b843([0x68,0x69,0x67,0x68])}),_0x26d0a4[_0x21b843([0x6f,0x6e])](_0x21b843([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x1d2ad9=>{_0x2ddf1f(_0x1d2ad9[_0x21b843([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0xbb9c48=!0x0,_0x557b19(_0x1d2ad9[_0x21b843([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x21b843([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x21b843([0x6c,0x6f,0x77])}),_0x28c687[_0x21b843([0x74,0x68,0x65,0x6e])](()=>{_0xbb9c48||_0x2051e9(_0x21b843([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x2790e3(){return _0x26d0a4[_0x21b843([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x21b843([0x76,0x69,0x65,0x77])][_0x21b843([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x21b843([0x61,0x75,0x74,0x6f]);}function _0xe21050(){_0x26d0a4[_0x21b843([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x21b843([0x76,0x69,0x65,0x77])][_0x21b843([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x21b843([0x61,0x75,0x74,0x6f]);}}(_0x29dde0[_0x21b843([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x29dde0[_0x21b843([0x6a,0x74,0x69])]));const _0x175cd8=await(async function(){let _0x490531=!0x0;try{const _0x4ed41a=_0x3bf7de[_0x21b843([0x73,0x70,0x6c,0x69,0x74])](_0x21b843([0x2e])),[_0x22546f,_0x2beccc,_0x10d0f2]=_0x4ed41a;return _0xce5628(_0x22546f),await _0x442345(_0x22546f,_0x2beccc,_0x10d0f2),_0x490531;}catch{return!0x1;}function _0xce5628(_0x2238ac){const _0x3901ca=_0x3f63e1(_0x2238ac);_0x3901ca&&_0x3901ca[_0x21b843([0x61,0x6c,0x67])]==_0x21b843([0x45,0x53,0x32,0x35,0x36])||(_0x490531=!0x1);}async function _0x442345(_0x22b9fa,_0xbda06a,_0x3fc85b){const _0x493a4d=window[_0x21b843([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x21b843([0x66,0x72,0x6f,0x6d])](_0x41903c(_0x3fc85b),_0x2868f3=>_0x2868f3[_0x21b843([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x265e0a=new window[(_0x21b843([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x21b843([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x22b9fa+_0x21b843([0x2e])+_0xbda06a),_0x4e5210=window[_0x21b843([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x21b843([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x4e5210)return;const _0x3fa3c0=await _0x4e5210[_0x21b843([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x21b843([0x6a,0x77,0x6b]),_0x40595a,{[_0x21b843([0x6e,0x61,0x6d,0x65])]:_0x21b843([0x45,0x43,0x44,0x53,0x41]),[_0x21b843([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x21b843([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x21b843([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x4e5210[_0x21b843([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x21b843([0x6e,0x61,0x6d,0x65])]:_0x21b843([0x45,0x43,0x44,0x53,0x41]),[_0x21b843([0x68,0x61,0x73,0x68])]:{[_0x21b843([0x6e,0x61,0x6d,0x65])]:_0x21b843([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x3fa3c0,_0x493a4d,_0x265e0a)||(_0x490531=!0x1);}}());return _0x175cd8?(function(){const _0x1a1a5c=_0x29dde0[_0x21b843([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];if(!_0x1a1a5c)return!0x1;if(_0x1a1a5c[_0x21b843([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x21b843([0x2a])))return!0x0;if(_0x1a1a5c[_0x21b843([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x21b843([0x53,0x45,0x45])))return!0x0;return!0x1;}())?(function(){const _0x432bf9=[_0x21b843([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x21b843([0x74,0x72,0x69,0x61,0x6c])][_0x21b843([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x29dde0[_0x21b843([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x3b61ee/0x3e8:0x68f03580;return _0x29dde0[_0x21b843([0x65,0x78,0x70])]<_0x432bf9;}())?_0x21b843([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):(function(){const _0x9a626a=_0x29dde0[_0x21b843([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x9a626a||0x0==_0x9a626a[_0x21b843([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x194246}=new URL(window[_0x21b843([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x9a626a[_0x21b843([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x194246))return!0x0;const _0x124815=_0x194246[_0x21b843([0x73,0x70,0x6c,0x69,0x74])](_0x21b843([0x2e]));return _0x9a626a[_0x21b843([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x29e600=>_0x29e600[_0x21b843([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x21b843([0x2a])))[_0x21b843([0x6d,0x61,0x70])](_0x3819eb=>_0x3819eb[_0x21b843([0x73,0x70,0x6c,0x69,0x74])](_0x21b843([0x2e])))[_0x21b843([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xd57cea=>_0xd57cea[_0x21b843([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x124815[_0x21b843([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x21b843([0x6d,0x61,0x70])](_0x50f6ac=>Array(_0x124815[_0x21b843([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x50f6ac[_0x21b843([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x21b843([0x66,0x69,0x6c,0x6c])](_0x50f6ac[0x0]===_0x21b843([0x2a])?_0x21b843([0x2a]):'')[_0x21b843([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x50f6ac))[_0x21b843([0x73,0x6f,0x6d,0x65])](_0x2cb40d=>_0x124815[_0x21b843([0x65,0x76,0x65,0x72,0x79])]((_0x346d4f,_0x3389a8)=>_0x2cb40d[_0x3389a8]===_0x346d4f||_0x2cb40d[_0x3389a8]===_0x21b843([0x2a])));}())?(_0x29dde0[_0x21b843([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x21b843([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x35610e=_0x570e2c(_0x21b843([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x29dde0[_0x21b843([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x21b843([0x74,0x72,0x69,0x61,0x6c])&&(_0x35610e=_0x570e2c(_0x21b843([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await(function(){if(_0x35610e&&_0x56e3f1)return new window[(_0x21b843([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5ab441,_0x230b97)=>{_0x35610e[_0x21b843([0x74,0x68,0x65,0x6e])](_0x5ab441,_0x230b97),_0x56e3f1[_0x21b843([0x74,0x68,0x65,0x6e])](_0x2c753b=>{_0x2c753b!=_0x21b843([0x56,0x61,0x6c,0x69,0x64])&&_0x5ab441(_0x2c753b);},_0x230b97);});return _0x35610e||_0x56e3f1||_0x21b843([0x56,0x61,0x6c,0x69,0x64]);}())):_0x21b843([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x21b843([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x21b843([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x21b843([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}}());function _0x570e2c(_0x100280){const _0x3892bb=[new window[(_0x21b843([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xc78a86=>setTimeout(_0xc78a86,0x93ecc)),_0x28c687[_0x21b843([0x74,0x68,0x65,0x6e])](()=>new window[(_0x21b843([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x440cde=>{let _0x35f530=0x0;_0x26d0a4[_0x21b843([0x6d,0x6f,0x64,0x65,0x6c])][_0x21b843([0x6f,0x6e])](_0x21b843([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x367165,_0x4f2bf2)=>{_0x4f2bf2[0x0][_0x21b843([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x35f530++,0x1f8==_0x35f530&&(_0x440cde(),_0x367165[_0x21b843([0x6f,0x66,0x66])]());});}))];return window[_0x21b843([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x21b843([0x72,0x61,0x63,0x65])](_0x3892bb)[_0x21b843([0x74,0x68,0x65,0x6e])](()=>_0x100280);}function _0x3f63e1(_0x24973c){return _0x24973c[_0x21b843([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x21b843([0x65,0x79]))?JSON[_0x21b843([0x70,0x61,0x72,0x73,0x65])](_0x41903c(_0x24973c)):null;}function _0x41903c(_0x395a6c){return window[_0x21b843([0x61,0x74,0x6f,0x62])](_0x395a6c[_0x21b843([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x21b843([0x2b]))[_0x21b843([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x21b843([0x2f])));}function _0x4dd3d9(_0x43d6d9){let _0x255364=0x1505;function _0x468e99(_0x42f623){for(let _0x522970=0x0;_0x522970<_0x42f623[_0x21b843([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x522970++){const _0x1c1f4b=_0x42f623[_0x21b843([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x522970);_0x255364=(_0x255364<<0x5)+_0x255364+_0x1c1f4b,_0x255364&=_0x255364;}}return function _0xb8d6db(_0x11b1e4){Array[_0x21b843([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x11b1e4)?_0x11b1e4[_0x21b843([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0xb8d6db):_0x11b1e4&&typeof _0x11b1e4==_0x21b843([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x21b843([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x11b1e4)[_0x21b843([0x73,0x6f,0x72,0x74])]()[_0x21b843([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x3683b1,_0x433a64])=>{_0x468e99(_0x3683b1),_0xb8d6db(_0x433a64);}):_0x468e99(window[_0x21b843([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x11b1e4));}(_0x43d6d9),_0x255364>>>0x0;}function _0x484801(_0x1d77f0){return _0x1d77f0[_0x21b843([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x21b843([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x21b843([0x30]));}function _0x24d396(_0x53a668){return _0x53a668[_0x21b843([0x73,0x70,0x6c,0x69,0x74])]('')[_0x21b843([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x21b843([0x6a,0x6f,0x69,0x6e])]('');}function _0x21129e(){}function _0x21b843(_0x46d726){return _0x46d726['map'](_0x37eedf=>String['fromCharCode'](_0x37eedf))['join']('');}!function(_0x3c29a5){const _0x58a708=(function(){const _0x47bd59=window[_0x21b843([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x21b843([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x21b843([0x6e,0x6f,0x77])]())[_0x21b843([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x21b843([0x2e]),'');let _0x436a77=_0x21b843([0x75]);for(let _0x9f8946=0x0;_0x9f8946<_0x47bd59[_0x21b843([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x9f8946+=0x2){let _0x23089f=window[_0x21b843([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x47bd59[_0x21b843([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x9f8946,_0x9f8946+0x2));_0x23089f>=_0x5ca61c[_0x21b843([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x23089f-=_0x5ca61c[_0x21b843([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x436a77+=_0x5ca61c[_0x23089f];}return _0x436a77;}());_0x26d0a4[_0x58a708]=_0x21b843([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])+_0x3c29a5,_0x3c29a5!=_0x21b843([0x56,0x61,0x6c,0x69,0x64])&&(async function(){await _0x28c687,_0x26d0a4[_0x21b843([0x6d,0x6f,0x64,0x65,0x6c])][_0x21b843([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x21129e,_0x26d0a4[_0x21b843([0x6d,0x6f,0x64,0x65,0x6c])][_0x21b843([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x21129e,_0x26d0a4[_0x21b843([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x21b843([0x6d,0x6f,0x64,0x65,0x6c]));}());}(_0x2015b4);}class _0x4beccc extends ckeditor5['Command']{constructor(_0x3f1509){super(_0x3f1509),this['refresh']();}['refresh'](){this['isEnabled']=!this['editor']['isReadOnly'];}['execute'](_0x5c9e31,_0xe7744){const _0x2f7f8b=this['editor'],_0x164678=_0xe7744?.['rootName']??getActiveRootName(_0x2f7f8b);_0x2f7f8b['data']['set']({[_0x164678]:_0x5c9e31},{'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(_0x504f0d){super(_0x504f0d),_0x504f0d['config']['define']('sourceEditingEnhanced.allowCollaborationFeatures',!0x1);}['init'](){this['_checkCompatibility'](),this['editor']['commands']['add']('replaceSource',new _0x4beccc(this['editor'])),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x57f1bb=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x36533b;for(const _0x56f61c in _0x57f1bb){const _0x152021=_0x56f61c,_0x49abf5=_0x57f1bb[_0x152021];if('sourceEditingEnhancedLicenseKeyValid'==_0x49abf5||'sourceEditingEnhancedLicenseKeyInvalid'==_0x49abf5||'sourceEditingEnhancedLicenseKeyExpired'==_0x49abf5||'sourceEditingEnhancedLicenseKeyDomainLimit'==_0x49abf5||'sourceEditingEnhancedLicenseKeyNotAllowed'==_0x49abf5||'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0x49abf5||'sourceEditingEnhancedLicenseKeyTrialLimit'==_0x49abf5||'sourceEditingEnhancedLicenseKeyUsageLimit'==_0x49abf5){delete _0x57f1bb[_0x152021],_0x36533b=_0x49abf5,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'sourceEditingEnhancedLicenseKeyInvalid'==_0x36533b&&_0x57f1bb['_showLicenseError']('invalid'),'sourceEditingEnhancedLicenseKeyExpired'==_0x36533b&&_0x57f1bb['_showLicenseError']('expired'),'sourceEditingEnhancedLicenseKeyDomainLimit'==_0x36533b&&_0x57f1bb['_showLicenseError']('domainLimit'),'sourceEditingEnhancedLicenseKeyNotAllowed'==_0x36533b&&_0x57f1bb['_showLicenseError']('featureNotAllowed','SourceEditingEnhanced'),'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0x36533b&&_0x57f1bb['_showLicenseError']('evaluationLimit'),'sourceEditingEnhancedLicenseKeyTrialLimit'==_0x36533b&&_0x57f1bb['_showLicenseError']('trialLimit'),'sourceEditingEnhancedLicenseKeyUsageLimit'==_0x36533b&&_0x57f1bb['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_checkCompatibility'](){const _0x5f4175=this['editor'],_0x4dc4d8=_0x5f4175['config']['get']('sourceEditingEnhanced.allowCollaborationFeatures');if(!_0x4dc4d8&&_0x5f4175['plugins']['has']('RealTimeCollaborativeEditing'))throw new ckeditor5['CKEditorError']('source-editing-enhanced-incompatible-with-real-time-collaboration',null);!_0x4dc4d8&&['CommentsEditing','TrackChangesEditing','RevisionHistory']['some'](_0x25f16c=>_0x5f4175['plugins']['has'](_0x25f16c))&&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.'),_0x5f4175['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'](_0x204a7c){const {model:_0x367fef}=this['editor'];let _0x2da315;switch(typeof _0x204a7c){case'string':_0x2da315=_0x204a7c;break;case'function':_0x2da315=_0x204a7c();}'string'==typeof _0x2da315&&_0x367fef['change'](()=>{const _0x46400d=this['editor']['data']['htmlProcessor']['toView'](_0x2da315),_0xa36bd4=this['editor']['data']['toModel'](_0x46400d);_0x367fef['insertContent'](_0xa36bd4);});}}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:_0x200b20}=this;_0x200b20['commands']['add']('insertTemplate',new TemplateCommand(_0x200b20)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0xf594e3=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x16ab16;for(const _0x1719e1 in _0xf594e3){const _0x104adc=_0x1719e1,_0x52c998=_0xf594e3[_0x104adc];if('templateLicenseKeyValid'==_0x52c998||'templateLicenseKeyInvalid'==_0x52c998||'templateLicenseKeyExpired'==_0x52c998||'templateLicenseKeyDomainLimit'==_0x52c998||'templateLicenseKeyNotAllowed'==_0x52c998||'templateLicenseKeyEvaluationLimit'==_0x52c998||'templateLicenseKeyTrialLimit'==_0x52c998||'templateLicenseKeyUsageLimit'==_0x52c998){delete _0xf594e3[_0x104adc],_0x16ab16=_0x52c998,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'templateLicenseKeyInvalid'==_0x16ab16&&_0xf594e3['_showLicenseError']('invalid'),'templateLicenseKeyExpired'==_0x16ab16&&_0xf594e3['_showLicenseError']('expired'),'templateLicenseKeyDomainLimit'==_0x16ab16&&_0xf594e3['_showLicenseError']('domainLimit'),'templateLicenseKeyNotAllowed'==_0x16ab16&&_0xf594e3['_showLicenseError']('featureNotAllowed','Template'),'templateLicenseKeyEvaluationLimit'==_0x16ab16&&_0xf594e3['_showLicenseError']('evaluationLimit'),'templateLicenseKeyTrialLimit'==_0x16ab16&&_0xf594e3['_showLicenseError']('trialLimit'),'templateLicenseKeyUsageLimit'==_0x16ab16&&_0xf594e3['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}class TemplateListView extends ckeditor5['ListView']{['filter'](_0x2cef11){if(!_0x2cef11)return this['_resetFiltering']();const _0x7414d8=new Map(),_0x150b2b=this['items']['map'](_0x25c690=>{const _0x26a227=_0x25c690['buttonView']['isMatching'](_0x2cef11);return _0x25c690['isVisible']=!!_0x26a227,_0x25c690['buttonView']['highlightText'](_0x26a227?_0x2cef11:null),_0x26a227&&_0x7414d8['set'](_0x25c690,_0x26a227),_0x25c690;})['sort'](unsortListItemsCallback)['sort'](getSortListItemsCallback(_0x7414d8));return this['items']['clear'](),this['items']['addMany'](_0x150b2b),{'resultsCount':_0x7414d8['size'],'totalItemsCount':this['items']['length']};}['_resetFiltering'](){const _0x41df50=this['items']['map'](_0x365df7=>_0x365df7)['sort'](unsortListItemsCallback);return _0x41df50['forEach'](_0x1c047d=>{_0x1c047d['isVisible']=!0x0,_0x1c047d['buttonView']['highlightText'](null);}),this['items']['clear'](),this['items']['addMany'](_0x41df50),{'resultsCount':_0x41df50['length'],'totalItemsCount':_0x41df50['length']};}}function getSortListItemsCallback(_0x64fd11){return function(_0x3daaef,_0x1f5cc8){const _0x353a71=_0x64fd11['get'](_0x3daaef),_0x4f9fee=_0x64fd11['get'](_0x1f5cc8);return _0x353a71&&!_0x4f9fee?-0x1:_0x4f9fee&&!_0x353a71?0x1:_0x353a71||_0x4f9fee?_0x353a71['title']&&!_0x4f9fee['title']?-0x1:!_0x353a71['title']&&_0x4f9fee['title']?0x1:0x0:0x0;};}function unsortListItemsCallback(_0x20715e,_0x2be8d7){return _0x20715e['originalIndex']-_0x2be8d7['originalIndex'];}class TemplateListItemView extends ckeditor5['ListItemView']{['originalIndex'];['buttonView'];constructor(_0x4b8d66,_0x253b95){super(_0x4b8d66),this['originalIndex']=_0x253b95,this['buttonView']=null;}}class TemplateListButtonView extends ckeditor5['ButtonView']{['templateDefinition'];['textPartView'];constructor(_0x7cb867,_0x361c3e){super(_0x7cb867),this['templateDefinition']=_0x361c3e,this['textPartView']=null;const {icon:_0x1c36f4=ckeditor5['IconTemplateGeneric']}=_0x361c3e;this['set']({'withText':!0x0,'class':'ck-template-button','role':'option','icon':_0x1c36f4}),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'](_0x49ea6e){const {title:_0xf4d62f,description:_0x4f9228}=this['templateDefinition'],_0xc955ed=!!_0xf4d62f['match'](_0x49ea6e),_0x317cc9=!(!_0x4f9228||!_0x4f9228['match'](_0x49ea6e));return _0xc955ed||_0x317cc9?{'title':_0xc955ed,'description':_0x317cc9}:null;}['highlightText'](_0x16175c){this['textPartView']['highlightText'](_0x16175c);}}class TextPartView extends ckeditor5['View']{constructor(_0x3fd531,_0x1128f0,_0x5a7374){super(_0x3fd531),this['title']=_0x1128f0['title'],this['description']=_0x1128f0['description'],this['titleView']=new ckeditor5['HighlightedTextView'](),this['titleView']['text']=this['title'],this['titleView']['extendTemplate']({'tag':'span','attributes':{'class':['ck-button__label'],'id':_0x5a7374}});const _0x4db15b=[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']}}),_0x4db15b['push'](this['descriptionView'])),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-template-form__text-part']},'children':_0x4db15b});}['highlightText'](_0x47df18){this['titleView']['highlightText'](_0x47df18),this['description']&&this['descriptionView']['highlightText'](_0x47df18);}}function getTranslation$2(_0xa439e0,_0x2e26ac,..._0x3c6dcf){const t=_0xa439e0['t'];switch(_0x2e26ac){case'No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.':return t('No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.',..._0x3c6dcf);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',..._0x3c6dcf);case'Search\x20template':return t('Search\x20template');case'Template':return t('Template');case'Insert\x20template':return t('Insert\x20template');default:return _0x2e26ac;}}class TemplateUI extends ckeditor5['Plugin']{static get['pluginName'](){return'TemplateUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0xf3a625}=this,_0x14ceb0=_0xf3a625['config']['get']('template.definitions')||[];_0xf3a625['ui']['componentFactory']['add']('insertTemplate',_0xcc53df=>{const _0x5d2f3c=ckeditor5['createDropdown'](_0xcc53df),_0x529aa4=this['_createTemplateListView'](_0xcc53df,_0x14ceb0),_0x523542=new ckeditor5['SearchTextView'](_0xcc53df,{'filteredView':_0x529aa4,'queryView':{'label':getTranslation$2(_0xcc53df,'Search\x20template')},'class':'ck-template-form','infoView':{'text':{'notFound':{'primary':_0x1cc9dc=>getTranslation$2(_0xcc53df,'No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.',_0x1cc9dc),'secondary':getTranslation$2(_0xcc53df,'Please\x20try\x20a\x20different\x20phrase\x20or\x20check\x20the\x20spelling.')},'noSearchableItems':{'primary':getTranslation$2(_0xcc53df,'No\x20templates\x20available.')}}}}),_0x238931=_0xf3a625['commands']['get']('insertTemplate');return _0x523542['on']('search',(_0x1c35eb,_0x395048)=>{_0x395048['query']&&_0x395048['query']['length']&&_0xf3a625['ui']['ariaLiveAnnouncer']['announce'](getTranslation$2(_0xcc53df,'%0\x20templates\x20found',_0x395048['resultsCount']));}),_0x5d2f3c['bind']('isEnabled')['to'](_0x238931),_0x5d2f3c['panelView']['children']['add'](_0x523542),_0x5d2f3c['buttonView']['set']({'label':getTranslation$2(_0xcc53df,'Insert\x20template'),'icon':ckeditor5['IconTemplate'],'tooltip':!0x0}),_0x5d2f3c['on']('change:isOpen',(_0x40efb6,_0x250b84,_0x1a0bb0)=>{_0x1a0bb0||_0x523542['reset']();}),_0x5d2f3c;}),_0xf3a625['ui']['componentFactory']['add']('menuBar:insertTemplate',_0x402dad=>{const _0x2b00e7=_0xf3a625['commands']['get']('insertTemplate'),_0x3cca47=new ckeditor5['MenuBarMenuView'](_0x402dad);_0x3cca47['buttonView']['set']({'label':getTranslation$2(_0x402dad,'Template'),'icon':ckeditor5['IconTemplate']});const _0x1d3d82=new ckeditor5['MenuBarMenuListView'](_0x402dad);if(!_0x14ceb0||!_0x14ceb0['length']){const _0x465b79=new ckeditor5['MenuBarMenuListItemView'](_0x402dad,_0x3cca47),_0x1f7d07=new ckeditor5['MenuBarMenuListItemButtonView'](_0x402dad);_0x1f7d07['set']({'label':getTranslation$2(_0x402dad,'No\x20templates\x20available.')}),_0x1f7d07['delegate']('execute')['to'](_0x3cca47),_0x1f7d07['on']('execute',()=>{_0xf3a625['editing']['view']['focus']();}),_0x465b79['children']['add'](_0x1f7d07),_0x1d3d82['items']['add'](_0x465b79);}for(const _0x6aeafd of _0x14ceb0){const _0x24b176=new ckeditor5['MenuBarMenuListItemView'](_0x402dad,_0x3cca47),_0x13dbb6=new ckeditor5['MenuBarMenuListItemButtonView'](_0x402dad);_0x13dbb6['set']({'class':'ck-template-button','label':_0x6aeafd['title'],'icon':_0x6aeafd['icon']||ckeditor5['IconTemplateGeneric']}),_0x13dbb6['delegate']('execute')['to'](_0x3cca47),_0x13dbb6['on']('execute',()=>{_0xf3a625['execute']('insertTemplate',_0x6aeafd['data']),_0xf3a625['editing']['view']['focus']();}),_0x24b176['children']['add'](_0x13dbb6),_0x1d3d82['items']['add'](_0x24b176);}return _0x3cca47['panelView']['children']['add'](_0x1d3d82),_0x3cca47['bind']('isEnabled')['to'](_0x2b00e7,'isEnabled'),_0x3cca47;});}['afterInit'](){_0x3a3b2a(this);}['_createTemplateListView'](_0x13141,_0x219939){const {editor:_0x46560a}=this,_0x5b12bc=new TemplateListView(_0x13141);return _0x5b12bc['extendTemplate']({'attributes':{'role':'listbox','class':['ck-template-list']}}),_0x5b12bc['items']['addMany'](_0x219939['map']((_0x2aed96,_0x255990)=>{const _0x59e559=new TemplateListItemView(_0x13141,_0x255990),_0x392595=new TemplateListButtonView(_0x13141,_0x2aed96);return _0x59e559['buttonView']=_0x392595,_0x59e559['children']['add'](_0x392595),_0x59e559['buttonView']['on']('execute',_0x578656=>{_0x46560a['execute']('insertTemplate',_0x578656['source']['templateDefinition']['data']),_0x46560a['editing']['view']['focus']();}),_0x59e559;})),_0x5b12bc;}}async function _0x3a3b2a(_0x482a9a){const _0x4ea119=_0x121652([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]),_0x343b1c=window[_0x121652([0x44,0x61,0x74,0x65])][_0x121652([0x6e,0x6f,0x77])](),_0xf434af=_0x482a9a[_0x121652([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x389778=new window[(_0x121652([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1d20ef=>{_0xf434af[_0x121652([0x6f,0x6e,0x63,0x65])](_0x121652([0x72,0x65,0x61,0x64,0x79]),_0x1d20ef);}),_0x2338ad={[_0x121652([0x6b,0x74,0x79])]:_0x121652([0x45,0x43]),[_0x121652([0x75,0x73,0x65])]:_0x121652([0x73,0x69,0x67]),[_0x121652([0x63,0x72,0x76])]:_0x121652([0x50,0x2d,0x32,0x35,0x36]),[_0x121652([0x78])]:_0x121652([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]),[_0x121652([0x79])]:_0x121652([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]),[_0x121652([0x61,0x6c,0x67])]:_0x121652([0x45,0x53,0x32,0x35,0x36])},_0x28417a=_0xf434af[_0x121652([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x121652([0x67,0x65,0x74])](_0x121652([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x1a9cbc=await(async function(){let _0x3c4991,_0x13863a=null,_0x48d768=null;try{if(_0x28417a==_0x121652([0x47,0x50,0x4c]))return _0x121652([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x3c4991=(function(){const _0x89b641=_0x28417a[_0x121652([0x73,0x70,0x6c,0x69,0x74])](_0x121652([0x2e]));if(0x3!=_0x89b641[_0x121652([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;const _0x481114=_0x89b641[0x1];return _0x59943d(_0x481114);function _0x59943d(_0x3f59e0){const _0x2210e3=_0x341a4d(_0x3f59e0);return _0x2210e3&&_0x5f08d5()?_0x2210e3:null;function _0x5f08d5(){const _0x25f793=_0x2210e3[_0x121652([0x6a,0x74,0x69])],_0x31e2ea=window[_0x121652([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x25f793[_0x121652([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x25f793[_0x121652([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x1974f5={..._0x2210e3,[_0x121652([0x6a,0x74,0x69])]:_0x25f793[_0x121652([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x25f793[_0x121652([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x1974f5[_0x121652([0x76,0x63])],_0x230fb6(_0x1974f5)==_0x31e2ea;}}}()),!_0x3c4991)return _0x121652([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);_0x3c4991[_0x121652([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x48d768=function(_0x3ef5d7,_0xcb306a){return new window[(_0x121652([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x11f503=>{if(_0x486131())return _0x11f503(_0x121652([0x56,0x61,0x6c,0x69,0x64]));_0x33d696(),_0xf434af[_0x121652([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x121652([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x353545=!0x1;const _0x5dd46a=ckeditor5['uid']();function _0x19054d(_0x1aa8d8){return!!_0x1aa8d8&&(typeof _0x1aa8d8===_0x121652([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x1aa8d8===_0x121652([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x1aa8d8[_0x121652([0x74,0x68,0x65,0x6e])]===_0x121652([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x1aa8d8[_0x121652([0x63,0x61,0x74,0x63,0x68])]===_0x121652([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x321afa(_0x34b9fa){_0x51bd7c(_0x34b9fa)[_0x121652([0x74,0x68,0x65,0x6e])](_0x1fd29c=>{if(!_0x1fd29c||_0x1fd29c[_0x121652([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x121652([0x6f,0x6b]))return _0x121652([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x5bda95(_0x230fb6(_0x5dd46a+_0xcb306a))!=_0x1fd29c[_0x121652([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x121652([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x121652([0x56,0x61,0x6c,0x69,0x64]);})[_0x121652([0x74,0x68,0x65,0x6e])](_0x54121c=>(_0x5c4080(),_0x54121c),()=>{const _0x4da06a=_0x30fe87();return null==_0x4da06a?(_0x5c4080(),_0x121652([0x56,0x61,0x6c,0x69,0x64])):_0x121652(_0x343b1c-_0x4da06a>0x240c8400?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x121652([0x74,0x68,0x65,0x6e])](_0x11f503)[_0x121652([0x63,0x61,0x74,0x63,0x68])](()=>{_0x11f503(_0x121652([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x9819f=0x36ee80;function _0x5c4080(){const _0x5e1eb8=_0x121652([0x6c,0x6c,0x63,0x74,0x2d])+_0x5bda95(_0x230fb6(_0x3ef5d7)),_0x1c7892=_0x4684c6(_0x5bda95(window[_0x121652([0x4d,0x61,0x74,0x68])][_0x121652([0x63,0x65,0x69,0x6c])](_0x343b1c/_0x9819f)));window[_0x121652([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x121652([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5e1eb8,_0x1c7892);}function _0x30fe87(){const _0x1d274e=_0x121652([0x6c,0x6c,0x63,0x74,0x2d])+_0x5bda95(_0x230fb6(_0x3ef5d7)),_0xe6588f=window[_0x121652([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x121652([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1d274e);return _0xe6588f?window[_0x121652([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4684c6(_0xe6588f),0x10)*_0x9819f:null;}function _0x51bd7c(_0x478a91){return new window[(_0x121652([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x26052b,_0x359f2a)=>{_0x478a91[_0x121652([0x74,0x68,0x65,0x6e])](_0x26052b,_0x359f2a),window[_0x121652([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x359f2a,0x1d4c0);});}}_0xf434af[_0x121652([0x6f,0x6e])](_0x121652([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x55a77c,_0xa43bdd)=>{if(_0xa43bdd[0x0]!=_0x3ef5d7)return _0x11f503(_0x121652([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0xa43bdd[0x1]={..._0xa43bdd[0x1],[_0x121652([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x5dd46a};},{[_0x121652([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x121652([0x68,0x69,0x67,0x68])}),_0xf434af[_0x121652([0x6f,0x6e])](_0x121652([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x39a92a=>{_0x19054d(_0x39a92a[_0x121652([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x353545=!0x0,_0x321afa(_0x39a92a[_0x121652([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x121652([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x121652([0x6c,0x6f,0x77])}),_0x389778[_0x121652([0x74,0x68,0x65,0x6e])](()=>{_0x353545||_0x11f503(_0x121652([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x486131(){return _0xf434af[_0x121652([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x121652([0x76,0x69,0x65,0x77])][_0x121652([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x121652([0x61,0x75,0x74,0x6f]);}function _0x33d696(){_0xf434af[_0x121652([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x121652([0x76,0x69,0x65,0x77])][_0x121652([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x121652([0x61,0x75,0x74,0x6f]);}}(_0x3c4991[_0x121652([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x3c4991[_0x121652([0x6a,0x74,0x69])]));const _0x4bfda1=await(async function(){let _0x5c0152=!0x0;try{const _0x41d4fd=_0x28417a[_0x121652([0x73,0x70,0x6c,0x69,0x74])](_0x121652([0x2e])),[_0x5d581d,_0x3a05ec,_0x10d26b]=_0x41d4fd;return _0x3c617f(_0x5d581d),await _0x2de5b0(_0x5d581d,_0x3a05ec,_0x10d26b),_0x5c0152;}catch{return!0x1;}function _0x3c617f(_0x45de9f){const _0x1e5174=_0x341a4d(_0x45de9f);_0x1e5174&&_0x1e5174[_0x121652([0x61,0x6c,0x67])]==_0x121652([0x45,0x53,0x32,0x35,0x36])||(_0x5c0152=!0x1);}async function _0x2de5b0(_0x5f0d4b,_0x1051b0,_0x15b85f){const _0x1a8154=window[_0x121652([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x121652([0x66,0x72,0x6f,0x6d])](_0xe12ca8(_0x15b85f),_0x4ee729=>_0x4ee729[_0x121652([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x37fb82=new window[(_0x121652([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x121652([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x5f0d4b+_0x121652([0x2e])+_0x1051b0),_0x35c275=window[_0x121652([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x121652([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x35c275)return;const _0x30282c=await _0x35c275[_0x121652([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x121652([0x6a,0x77,0x6b]),_0x2338ad,{[_0x121652([0x6e,0x61,0x6d,0x65])]:_0x121652([0x45,0x43,0x44,0x53,0x41]),[_0x121652([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x121652([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x121652([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x35c275[_0x121652([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x121652([0x6e,0x61,0x6d,0x65])]:_0x121652([0x45,0x43,0x44,0x53,0x41]),[_0x121652([0x68,0x61,0x73,0x68])]:{[_0x121652([0x6e,0x61,0x6d,0x65])]:_0x121652([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x30282c,_0x1a8154,_0x37fb82)||(_0x5c0152=!0x1);}}());return _0x4bfda1?(function(){const _0x6f3e62=_0x3c4991[_0x121652([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];if(!_0x6f3e62)return!0x1;if(_0x6f3e62[_0x121652([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x121652([0x2a])))return!0x0;if(_0x6f3e62[_0x121652([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x121652([0x54,0x50,0x4c])))return!0x0;if(_0x6f3e62[_0x121652([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x121652([0x50,0x50])))return!0x0;if(_0x6f3e62[_0x121652([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x121652([0x44,0x52,0x55,0x50]))&&window[_0x121652([0x44,0x72,0x75,0x70,0x61,0x6c])])return!0x0;if(_0x6f3e62[_0x121652([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x121652([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))&&window[_0x121652([0x67,0x6c,0x6f,0x62])]&&window[_0x121652([0x67,0x6c,0x6f,0x62])][_0x121652([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])])return!0x0;return!0x1;}())?(function(){const _0x15bdc9=[_0x121652([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x121652([0x74,0x72,0x69,0x61,0x6c])][_0x121652([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3c4991[_0x121652([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x343b1c/0x3e8:0x68f03580;return _0x3c4991[_0x121652([0x65,0x78,0x70])]<_0x15bdc9;}())?_0x121652([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):(function(){const _0x2ddaa5=_0x3c4991[_0x121652([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x2ddaa5||0x0==_0x2ddaa5[_0x121652([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x4bebe9}=new URL(window[_0x121652([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x2ddaa5[_0x121652([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4bebe9))return!0x0;const _0x264d2d=_0x4bebe9[_0x121652([0x73,0x70,0x6c,0x69,0x74])](_0x121652([0x2e]));return _0x2ddaa5[_0x121652([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x50ccf1=>_0x50ccf1[_0x121652([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x121652([0x2a])))[_0x121652([0x6d,0x61,0x70])](_0x383515=>_0x383515[_0x121652([0x73,0x70,0x6c,0x69,0x74])](_0x121652([0x2e])))[_0x121652([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5565f4=>_0x5565f4[_0x121652([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x264d2d[_0x121652([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x121652([0x6d,0x61,0x70])](_0x1c6718=>Array(_0x264d2d[_0x121652([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x1c6718[_0x121652([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x121652([0x66,0x69,0x6c,0x6c])](_0x1c6718[0x0]===_0x121652([0x2a])?_0x121652([0x2a]):'')[_0x121652([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x1c6718))[_0x121652([0x73,0x6f,0x6d,0x65])](_0x4a7fb6=>_0x264d2d[_0x121652([0x65,0x76,0x65,0x72,0x79])]((_0x5cbc92,_0x408fda)=>_0x4a7fb6[_0x408fda]===_0x5cbc92||_0x4a7fb6[_0x408fda]===_0x121652([0x2a])));}())?(_0x3c4991[_0x121652([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x121652([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x13863a=_0x5673f3(_0x121652([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x3c4991[_0x121652([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x121652([0x74,0x72,0x69,0x61,0x6c])&&(_0x13863a=_0x5673f3(_0x121652([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await(function(){if(_0x13863a&&_0x48d768)return new window[(_0x121652([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5de441,_0x10531f)=>{_0x13863a[_0x121652([0x74,0x68,0x65,0x6e])](_0x5de441,_0x10531f),_0x48d768[_0x121652([0x74,0x68,0x65,0x6e])](_0x2df197=>{_0x2df197!=_0x121652([0x56,0x61,0x6c,0x69,0x64])&&_0x5de441(_0x2df197);},_0x10531f);});return _0x13863a||_0x48d768||_0x121652([0x56,0x61,0x6c,0x69,0x64]);}())):_0x121652([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x121652([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x121652([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x121652([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}}());function _0x5673f3(_0x2fe9e9){const _0x5a13cd=[new window[(_0x121652([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x58261a=>setTimeout(_0x58261a,0x93ecc)),_0x389778[_0x121652([0x74,0x68,0x65,0x6e])](()=>new window[(_0x121652([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5d110c=>{let _0x188d2d=0x0;_0xf434af[_0x121652([0x6d,0x6f,0x64,0x65,0x6c])][_0x121652([0x6f,0x6e])](_0x121652([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x39ee37,_0xfafa38)=>{_0xfafa38[0x0][_0x121652([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x188d2d++,0x1f8==_0x188d2d&&(_0x5d110c(),_0x39ee37[_0x121652([0x6f,0x66,0x66])]());});}))];return window[_0x121652([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x121652([0x72,0x61,0x63,0x65])](_0x5a13cd)[_0x121652([0x74,0x68,0x65,0x6e])](()=>_0x2fe9e9);}function _0x341a4d(_0x39dace){return _0x39dace[_0x121652([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x121652([0x65,0x79]))?JSON[_0x121652([0x70,0x61,0x72,0x73,0x65])](_0xe12ca8(_0x39dace)):null;}function _0xe12ca8(_0x4e7d13){return window[_0x121652([0x61,0x74,0x6f,0x62])](_0x4e7d13[_0x121652([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x121652([0x2b]))[_0x121652([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x121652([0x2f])));}function _0x230fb6(_0x29d6fb){let _0x455afd=0x1505;function _0x53dca5(_0x478bea){for(let _0x23331d=0x0;_0x23331d<_0x478bea[_0x121652([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x23331d++){const _0x5ac4a7=_0x478bea[_0x121652([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x23331d);_0x455afd=(_0x455afd<<0x5)+_0x455afd+_0x5ac4a7,_0x455afd&=_0x455afd;}}return function _0xa2c242(_0x4d4d33){Array[_0x121652([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x4d4d33)?_0x4d4d33[_0x121652([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0xa2c242):_0x4d4d33&&typeof _0x4d4d33==_0x121652([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x121652([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x4d4d33)[_0x121652([0x73,0x6f,0x72,0x74])]()[_0x121652([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x1312f7,_0x39da01])=>{_0x53dca5(_0x1312f7),_0xa2c242(_0x39da01);}):_0x53dca5(window[_0x121652([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x4d4d33));}(_0x29d6fb),_0x455afd>>>0x0;}function _0x5bda95(_0x33d836){return _0x33d836[_0x121652([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x121652([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x121652([0x30]));}function _0x4684c6(_0x24a09d){return _0x24a09d[_0x121652([0x73,0x70,0x6c,0x69,0x74])]('')[_0x121652([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x121652([0x6a,0x6f,0x69,0x6e])]('');}function _0xcc388(){}function _0x121652(_0x209c06){return _0x209c06['map'](_0x19c8e5=>String['fromCharCode'](_0x19c8e5))['join']('');}!function(_0x45325c){const _0x5a11e8=(function(){const _0x474cc9=window[_0x121652([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x121652([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x121652([0x6e,0x6f,0x77])]())[_0x121652([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x121652([0x2e]),'');let _0x39538c=_0x121652([0x4e]);for(let _0x4101c2=0x0;_0x4101c2<_0x474cc9[_0x121652([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4101c2+=0x2){let _0x1bd619=window[_0x121652([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x474cc9[_0x121652([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4101c2,_0x4101c2+0x2));_0x1bd619>=_0x4ea119[_0x121652([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x1bd619-=_0x4ea119[_0x121652([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x39538c+=_0x4ea119[_0x1bd619];}return _0x39538c;}());_0xf434af[_0x5a11e8]=_0x121652([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x45325c,_0x45325c!=_0x121652([0x56,0x61,0x6c,0x69,0x64])&&(async function(){await _0x389778,_0xf434af[_0x121652([0x6d,0x6f,0x64,0x65,0x6c])][_0x121652([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0xcc388,_0xf434af[_0x121652([0x6d,0x6f,0x64,0x65,0x6c])][_0x121652([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0xcc388,_0xf434af[_0x121652([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x121652([0x6d,0x6f,0x64,0x65,0x6c]));}());}(_0x1a9cbc);}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 _0x5031ab extends ckeditor5['Command']{['_enabledCommands'];constructor(_0x3ccc3c,_0x4d2c13){super(_0x3ccc3c),this['_enabledCommands']=_0x4d2c13,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 _0x3143bc of this['editor']['commands']['commands']())_0x3143bc['affectsData']&&!this['_enabledCommands']['has'](_0x3143bc)&&_0x3143bc['forceDisabled']('TrackChangesCommand');}['_enableCommands'](){for(const _0x3852e4 of this['editor']['commands']['commands']())_0x3852e4['affectsData']&&!this['_enabledCommands']['has'](_0x3852e4)&&_0x3852e4['clearForceDisabled']('TrackChangesCommand');}}class AcceptSuggestionCommand extends ckeditor5['Command']{['_suggestions'];constructor(_0x53e4f9,_0x451cf3){super(_0x53e4f9),this['_suggestions']=_0x451cf3,this['refresh'](),this['_isEnabledBasedOnSelection']=!0x1;}['refresh'](){this['isEnabled']=!0x0;}['execute'](_0x55288c){const _0x25713f=this['_suggestions']['get'](_0x55288c);if(!_0x25713f)throw new ckeditor5['CKEditorError']('track-changes-accept-suggestion-not-found',this);const _0x2a0bde=_0x25713f['getRanges']();this['editor']['model']['canEditAt'](_0x2a0bde)&&this['editor']['plugins']['get']('TrackChangesEditing')['acceptSuggestion'](_0x25713f);}}class DiscardSuggestionCommand extends ckeditor5['Command']{['_suggestions'];constructor(_0x2adb37,_0x4671b1){super(_0x2adb37),this['_suggestions']=_0x4671b1,this['refresh'](),this['_isEnabledBasedOnSelection']=!0x1;}['refresh'](){this['isEnabled']=!0x0;}['execute'](_0x2b57d7){const _0x385ec4=this['_suggestions']['get'](_0x2b57d7);if(!_0x385ec4)throw new ckeditor5['CKEditorError']('track-changes-discard-suggestion-not-found',this);const _0x4024f8=_0x385ec4['getRanges']();this['editor']['model']['canEditAt'](_0x4024f8)&&this['editor']['plugins']['get']('TrackChangesEditing')['discardSuggestion'](_0x385ec4);}}function renderDescription(_0x3da6b5,_0x4835ef){let _0x4400fe='';return _0x4400fe+=_0x3da6b5['split']('*')['map']((_0x29726c,_0x4c29cf)=>_0x4c29cf%0x2!=0x0?'<span\x20class=\x22ck-suggestion-type\x22>'+sanitize(_0x29726c)+'</span>':sanitize(_0x29726c))['join'](''),_0x4835ef&&(_0x4400fe+='<span\x20class=\x22ck-suggestion-color\x22\x20style=\x22background-color:\x20'+_0x4835ef['value']+'\x22\x20title=\x22'+_0x4835ef['title']+'\x22></span>'),_0x4400fe;}function sanitize(_0x3eac79){const _0x1e1ac1=document['createElement']('span');return _0x1e1ac1['innerText']=_0x3eac79,_0x1e1ac1['innerHTML'];}function sortSuggestions(_0x495242){return _0x495242['sort']((_0x56c874,_0x1dcdf0)=>'attribute'===_0x56c874['type']&&'attribute'!==_0x1dcdf0['type']?-0x1:'attribute'!==_0x56c874['type']&&'attribute'===_0x1dcdf0['type']?0x1:'deletion'==_0x56c874['type']&&'deletion'!=_0x1dcdf0['type']?-0x1:'deletion'!=_0x56c874['type']&&'deletion'==_0x1dcdf0['type']?0x1:0x0);}function getSelectedSuggestions(_0x205218,_0x59e615){const _0x3da07d=Array['from'](_0x205218['getRanges']()),_0xc8a888=new Set();for(const _0xf5c06f of _0x59e615)if(_0xf5c06f['isInContent']){for(const _0x30a89b of _0x3da07d)for(const _0x39189c of _0xf5c06f['getRanges']())(_0x30a89b['isIntersecting'](_0x39189c)||_0x205218['isCollapsed']&&!_0xf5c06f['isMultiRange']&&_0xf5c06f['next']&&_0x39189c['end']['isTouching'](_0x30a89b['start']))&&_0xc8a888['add'](_0xf5c06f);}return _0xc8a888;}function getRangesOfBlockGroups(_0x28e9ea,_0xb7adac){let _0x296089,_0x217151=0x0;const _0x19f65b=[],_0x591a19=_0xb7adac['schema'];for(;_0x217151<_0x28e9ea['length'];){const _0x2ec57b=_0x28e9ea[_0x217151],_0x5235e6=_0x28e9ea[_0x217151+0x1];_0x296089||(_0x296089=_0xb7adac['createPositionBefore'](_0x2ec57b)),_0x14478f(_0xb7adac,_0x2ec57b,_0x5235e6)||(_0x19f65b['push'](_0xb7adac['createRange'](_0x296089,_0x591a19['isObject'](_0x2ec57b)?_0xb7adac['createPositionAfter'](_0x2ec57b):_0xb7adac['createPositionAt'](_0x2ec57b,'end'))),_0x296089=null),_0x217151++;}return _0x19f65b;}function _0x14478f(_0x4dcb44,_0x3e68c4,_0x15c559){if(!_0x15c559)return!0x1;const _0x1649c1=_0x4dcb44['createPositionAfter'](_0x3e68c4),_0x258702=_0x4dcb44['createPositionBefore'](_0x15c559);return _0x1649c1['isTouching'](_0x258702);}const _0x43c043=0x64;function executeCommandForSuggestions(_0x161280,_0x951823,_0x55c52a){for(;_0x55c52a['length'];){const _0x165a6a=_0x55c52a['splice'](0x0,_0x43c043);_0x161280['change'](()=>{for(const _0x164163 of _0x165a6a)_0x164163['isInContent']&&_0x951823['execute'](_0x164163['id']);});}}class ExecuteOnAllSuggestionsCommand extends ckeditor5['Command']{['_command'];['_suggestions'];constructor(_0x19f4f8,_0x72e549,_0x1b0b43){super(_0x19f4f8),this['_command']=_0x72e549,this['_suggestions']=_0x1b0b43,this['refresh'](),this['_isEnabledBasedOnSelection']=!0x1;}['refresh'](){const _0x3df59f=Array['from'](this['_suggestions']['values']())['some'](_0x396714=>_0x396714['isInContent']);this['isEnabled']=this['_command']['isEnabled']&&_0x3df59f;}['execute'](){const _0x2d390f=sortSuggestions(Array['from'](this['_suggestions']['values']()));for(const _0x4582ed of _0x2d390f){const _0x2d9f9b=_0x4582ed['getRanges']();if(!this['editor']['model']['canEditAt'](_0x2d9f9b))return;}executeCommandForSuggestions(this['editor']['model'],this['_command'],_0x2d390f);}}class ExecuteOnSelectedSuggestionsCommand extends ckeditor5['Command']{['_command'];['_suggestions'];['_selectedSuggestions'];constructor(_0x408bf6,_0x335d8b,_0x44d4b2){super(_0x408bf6),this['_command']=_0x335d8b,this['_suggestions']=_0x44d4b2,this['_selectedSuggestions']=new Set(),this['refresh'](),this['_isEnabledBasedOnSelection']=!0x1;}['refresh'](){const _0xe53cb0=this['editor']['model']['document']['selection'],_0x1c05df=Array['from'](this['_suggestions']['values']());this['_selectedSuggestions']=getSelectedSuggestions(_0xe53cb0,_0x1c05df),this['isEnabled']=this['_command']['isEnabled']&&!!this['_selectedSuggestions']['size'];}['execute'](){const _0x5914e0=sortSuggestions(Array['from'](this['_selectedSuggestions']));for(const _0x2d1a3c of _0x5914e0){const _0x50b96a=_0x2d1a3c['getRanges']();if(!this['editor']['model']['canEditAt'](_0x50b96a))return;}executeCommandForSuggestions(this['editor']['model'],this['_command'],_0x5914e0);}}class Suggestion extends/* #__PURE__ -- @preserve */
ckeditor5['ObservableMixin'](){['id'];['type'];['subType'];['author'];['creator'];['isExternal'];['data'];['createdAt'];['_originalSuggestionId'];['_isDataLoaded']=!0x1;['_model'];['_onAccept'];['_onDiscard'];['_onAttributesChange'];['_markerNames'];constructor(_0xecbd0d,_0x4f2a84){super(),this['id']=_0x4f2a84['id'],this['type']=_0x4f2a84['type'],this['subType']=_0x4f2a84['subType']||null,this['author']=_0x4f2a84['author'],this['creator']=_0x4f2a84['creator']||_0x4f2a84['author'],this['isExternal']=Boolean(_0x4f2a84['attributes']&&_0x4f2a84['attributes']['@external']),this['data']=null,this['_originalSuggestionId']=_0x4f2a84['originalSuggestionId']||null,this['_model']=_0xecbd0d,this['_onAccept']=_0x4f2a84['onAccept'],this['_onDiscard']=_0x4f2a84['onDiscard'],this['_onAttributesChange']=_0x4f2a84['onAttributesChange'],this['_markerNames']=new Set(),this['createdAt']=null,this['set']('authoredAt',null),this['set']('attributes',_0x4f2a84['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 _0x2f06ca=this;for(;_0x2f06ca['previous'];)_0x2f06ca=_0x2f06ca['previous'];return _0x2f06ca;}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'](_0x9b1fcf){this['_markerNames']['add'](_0x9b1fcf);}['getMarkerNames'](){return Array['from'](this['_markerNames']);}['getMarkers'](){return this['getMarkerNames']()['map'](_0x352d27=>this['_model']['markers']['get'](_0x352d27))['filter'](_0x5ea2c1=>_0x5ea2c1);}['getFirstMarker'](){return this['getMarkers']()[0x0]||null;}['removeMarkers'](){this['_model']['change'](_0x3bf171=>{for(const _0x218828 of this['getMarkers']())_0x3bf171['removeMarker'](_0x218828);}),this['_markerNames']['clear']();}['removeMarker'](_0x29ea62){this['_model']['change'](_0x26d262=>{_0x26d262['removeMarker'](_0x29ea62);}),this['_markerNames']['delete'](_0x29ea62);}['addRange'](_0x32b4b9){const _0x1381c2='suggestion:'+this['type']+':'+this['subType']+':'+this['id']+':'+this['creator']['id']+':'+Suggestion['getMultiRangeId']();this['addMarkerName'](_0x1381c2),this['_model']['change'](_0x4b86c8=>{_0x4b86c8['addMarker'](_0x1381c2,{'range':_0x32b4b9,'usingOperation':!0x0,'affectsData':!0x0});});}['isIntersectingWithRange'](_0x564390){for(const _0x2197e8 of this['getRanges']())if(_0x2197e8['isIntersecting'](_0x564390))return!0x0;return!0x1;}['getRanges'](){return this['getMarkers']()['map'](_0x4558d8=>_0x4558d8['getRange']());}['getItems'](){return this['getRanges']()['reduce']((_0x1ba851,_0x24c969)=>[..._0x1ba851,..._0x24c969['getItems']()],[]);}['getFirstRange'](){return this['getFirstMarker']()?.['getRange']()||null;}['getContainedElement'](){const _0x275ad8=this['getRanges']();if(0x1!=_0x275ad8['length'])return null;const _0x55c864=_0x275ad8[0x0],_0x1e481d=_0x55c864['start']['nodeAfter'],_0x597f72=_0x55c864['end']['nodeBefore'];return _0x1e481d instanceof ckeditor5['ModelElement']?_0x1e481d!=_0x597f72?null:_0x1e481d: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 _0x4062e4=[];let _0x4b3170=this['head'];for(;_0x4b3170;)_0x4062e4['push'](_0x4b3170),_0x4b3170=_0x4b3170['next'];return _0x4062e4;}['setAttribute'](_0x9b51fb,_0x539a35){const _0x2c8e3f=_0x3db43b(this['attributes']);set(_0x2c8e3f,_0x9b51fb,_0x539a35),_0x5d9d2a(_0x2c8e3f,this['attributes'])||(this['attributes']=_0x2c8e3f,this['_onAttributesChange'](_0x2c8e3f));}['removeAttribute'](_0x381ab7){const _0x44b1bc=_0x3db43b(this['attributes']);unset(_0x44b1bc,_0x381ab7),_0x5d9d2a(_0x44b1bc,this['attributes'])||(this['attributes']=_0x44b1bc,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(_0x379930,_0x3ee640,_0xdbcade){const _0x842d48=_0x379930['t'],t=_0x379930['t'];switch(_0x3ee640){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',_0xdbcade);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0xdbcade);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0xdbcade);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0xdbcade);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0xdbcade);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',_0xdbcade);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0xdbcade);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',_0xdbcade);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0xdbcade);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0xdbcade);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0xdbcade);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0xdbcade);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0xdbcade);case'*Set\x20bookmark:*\x20%0':return t('*Set\x20bookmark:*\x20%0',_0xdbcade);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0xdbcade);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0xdbcade);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0xdbcade);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0xdbcade);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0xdbcade);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0xdbcade);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0xdbcade);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0xdbcade);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0xdbcade);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0xdbcade);case'*Set\x20table\x20type:*\x20%0':return t('*Set\x20table\x20type:*\x20%0',_0xdbcade);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'},_0xdbcade);case'ELEMENT_CONTENT_TABLE':return t({'string':'content\x20table','plural':'%0\x20content\x20tables','id':'ELEMENT_CONTENT_TABLE'},_0xdbcade);case'ELEMENT_LAYOUT_TABLE':return t({'string':'layout\x20table','plural':'%0\x20layout\x20tables','id':'ELEMENT_LAYOUT_TABLE'},_0xdbcade);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0xdbcade);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0xdbcade);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0xdbcade);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0xdbcade);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0xdbcade);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'},_0xdbcade);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0xdbcade);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0xdbcade);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0xdbcade);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0xdbcade);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_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'},_0xdbcade);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0xdbcade);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'},_0xdbcade);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'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'},_0xdbcade);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0xdbcade);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'},_0xdbcade);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0xdbcade);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'},_0xdbcade);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0xdbcade);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0xdbcade);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'},_0xdbcade);case'ELEMENT_BOOKMARK':return t({'id':'ELEMENT_BOOKMARK','string':'bookmark','plural':'%0\x20bookmarks'},_0xdbcade);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 _0x842d48({'string':'Displayed\x20author\x20name\x20comes\x20from\x20external\x20source\x20(added\x20by\x20%0)','id':'EXTERNAL_AVATAR'},_0xdbcade);case'EXTERNAL_IMPORT_WORD_AVATAR':return _0x842d48({'string':'Displayed\x20author\x20name\x20comes\x20from\x20a\x20Word\x20document\x20imported\x20by\x20%0','id':'EXTERNAL_IMPORT_WORD_AVATAR'},_0xdbcade);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'},_0xdbcade);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'},_0xdbcade);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'},_0xdbcade);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'},_0xdbcade);case'SUGGESTION_THREAD_DESCRIPTION':return t({'string':'Press\x20Enter\x20for\x20more\x20options.\x20Press\x20Escape\x20to\x20exit.','id':'SUGGESTION_THREAD_DESCRIPTION'});default:return _0x3ee640;}}class SuggestionDescriptionFactory{['_customCallbacks'];['_itemLabels'];['_itemLabelsCallbacks'];['_attributeLabels'];['_schema'];['_locale'];constructor(_0x185149,_0x31202b){this['_customCallbacks']=[],this['_itemLabels']=new Map(),this['_itemLabelsCallbacks']=[],this['_attributeLabels']=new Map(),this['_schema']=_0x185149,this['_locale']=_0x31202b;}['getDescriptions'](_0x21b308){const _0x323bec=[],_0x515f8f=new Set(),_0x4a17f3=new Set();for(let _0x51cc47=0x0;_0x51cc47<_0x21b308['length'];_0x51cc47++){const _0x256fdc=_0x21b308[_0x51cc47];if(!_0x256fdc['isInContent'])continue;const _0x4ea7cd=this['_handleCustomCallbackDescription'](_0x256fdc);if(_0x4ea7cd){if(null!=_0x256fdc['subType']){if(_0x515f8f['has'](_0x256fdc['subType']))continue;_0x515f8f['add'](_0x256fdc['subType']);}_0x323bec['push'](_0x4ea7cd);}else{if('attribute'==_0x256fdc['type']){const _0x5567a4=_0x256fdc['data']['key'];if(_0x4a17f3['has'](_0x5567a4))continue;_0x4a17f3['add'](_0x256fdc['data']['key']),_0x5567a4==renameAttributeKey?this['_handleRenameSuggestionDescription'](_0x323bec,_0x256fdc):this['_handleAttributeSuggestionDescription'](_0x323bec,_0x256fdc);continue;}'insertion'!=_0x256fdc['type']&&'deletion'!=_0x256fdc['type']||this['_handleInsertRemoveSuggestionDescription'](_0x323bec,_0x256fdc,_0x21b308[_0x51cc47+0x1]);}}return this['_resolveDescriptionItems'](_0x323bec);}['registerDescriptionCallback'](_0x35825e){this['_customCallbacks']['push'](_0x35825e);}['registerElementLabel'](_0x3f9310,_0x2def10,_0xfc7d85=ckeditor5['priorities']['normal']){'function'==typeof _0x3f9310?ckeditor5['insertToPriorityArray'](this['_itemLabelsCallbacks'],{'matchingCallback':_0x3f9310,'label':_0x2def10,'priority':_0xfc7d85}):this['_itemLabels']['set'](_0x3f9310,_0x2def10);}['registerAttributeLabel'](_0x232097,_0xb9cc01){this['_attributeLabels']['set'](_0x232097,_0xb9cc01);}['getItemLabel'](_0x5d5ac2,_0xeae695=0x1){let _0x1068da;for(const _0x58fdf5 of this['_itemLabelsCallbacks'])if(_0x58fdf5['matchingCallback'](_0x5d5ac2)){_0x1068da=_0x58fdf5['label'];break;}return _0x1068da||(_0x1068da=this['_itemLabels']['get'](_0x5d5ac2['name'])),_0x1068da?_0x1068da(_0xeae695):0x1!==_0xeae695?_0xeae695+'\x20'+_0x5d5ac2['name']+'s':''+_0x5d5ac2['name'];}['_addDescriptionItems'](_0x47ae3c,_0xafa122){const _0x33e0b5=_0xafa122['getFirstRange']()['getWalker'](),_0x29a767='insertion'==_0xafa122['type']?'add':'remove';for(const _0x447bdc of _0x33e0b5){const _0xe2e130=_0x447bdc['item'],_0x1371e9=_0x47ae3c[_0x47ae3c['length']-0x1];if(_0xe2e130['is']('$textProxy'))_0x1371e9&&_0x1371e9['type']['indexOf']('Container')>-0x1&&_0x47ae3c['pop'](),_0x1371e9&&'text'==_0x1371e9['type']?_0x1371e9[_0x29a767]+=_0xe2e130['data']:_0x47ae3c['push']({'type':'text','add':'add'==_0x29a767?_0xe2e130['data']:'','remove':'remove'==_0x29a767?_0xe2e130['data']:''});else{if(this['_schema']['isObject'](_0xe2e130)){const _0x26941e=_0xe2e130;if(_0x1371e9&&_0x1371e9['type']['indexOf']('Container')>-0x1&&_0x47ae3c['pop'](),'elementEnd'==_0x447bdc['type'])continue;_0x1371e9&&_0x1371e9['type']==_0x29a767+'Object'&&_0x1371e9['element']['name']==_0x26941e['name']?_0x1371e9['quantity']++:_0x47ae3c['push']({'type':_0x29a767+'Object','element':_0x26941e,'quantity':0x1}),_0x33e0b5['skip'](_0x9f08c0=>!('elementEnd'==_0x9f08c0['type']&&_0x9f08c0['item']==_0xe2e130));}else{if(this['_schema']['checkChild'](_0xe2e130,'$text')||_0xe2e130['is']('element','softBreak')){const _0x458592=_0xe2e130;if('add'==_0x29a767&&'elementStart'==_0x447bdc['type']||'remove'==_0x29a767&&'elementEnd'==_0x447bdc['type'])continue;if(_0x1371e9&&-0x1==_0x1371e9['type']['indexOf']('Container')){'text'==_0x1371e9['type']&&(_0x1371e9[_0x29a767]+='\x0a');continue;}let _0x3d96b0;if(_0x3d96b0='add'==_0x29a767?_0x458592['nextSibling']&&!this['_schema']['isObject'](_0x458592['nextSibling'])?_0x458592['nextSibling']:null:_0x458592['previousSibling']&&!this['_schema']['isObject'](_0x458592['previousSibling'])?_0x458592['previousSibling']:null,_0x458592['isEmpty']||_0x3d96b0&&_0x3d96b0['isEmpty']){const _0x518230=_0x3d96b0&&_0x3d96b0['isEmpty']?_0x3d96b0:_0x458592;_0x1371e9&&_0x1371e9['type']==_0x29a767+'EmptyContainer'&&_0x1371e9['element']['name']==_0x518230['name']?_0x1371e9['quantity']++:_0x47ae3c['push']({'type':_0x29a767+'EmptyContainer','element':_0x518230,'quantity':0x1});}else _0x47ae3c['push']({'type':_0x29a767+'Container','element':_0x458592});}}}}}['_resolveDescriptionItems'](_0x70090){const _0x59ebcb=this['_locale'],_0x579749=[],_0xcf8619=[],_0x2cd7de=[];for(const _0x12626c of _0x70090)switch(_0x12626c['type']){case'text':if(_0x12626c['add']=_0x12626c['add']['replace'](/(\S)\u000A+(\S)/g,'$1\x20$2')['replace'](/\u000A/g,''),_0x12626c['remove']=_0x12626c['remove']['replace'](/(\S)\u000A+(\S)/g,'$1\x20$2')['replace'](/\u000A/g,''),''!=_0x12626c['add']&&''!=_0x12626c['remove']){_0x579749['push']({'type':'replace','content':getTranslation$1(_0x59ebcb,'REPLACE_TEXT',['\x22'+_0x12626c['remove']+'\x22','\x22'+_0x12626c['add']+'\x22'])});continue;}if(null!=_0x12626c['add']['match'](/^ +$/)){_0x579749['push']({'type':'insertion','content':getTranslation$1(_0x59ebcb,'*Insert:*\x20%0',getTranslation$1(_0x59ebcb,'ELEMENT_SPACE',_0x12626c['add']['length']))});continue;}if(null!=_0x12626c['remove']['match'](/^ +$/)){_0x579749['push']({'type':'deletion','content':getTranslation$1(_0x59ebcb,'*Remove:*\x20%0',getTranslation$1(_0x59ebcb,'ELEMENT_SPACE',_0x12626c['remove']['length']))});continue;}if(''!=_0x12626c['add']){_0x579749['push']({'type':'insertion','content':getTranslation$1(_0x59ebcb,'*Insert:*\x20%0','\x22'+_0x12626c['add']+'\x22')});continue;}_0x579749['push']({'type':'deletion','content':getTranslation$1(_0x59ebcb,'*Remove:*\x20%0','\x22'+_0x12626c['remove']+'\x22')});continue;case'addEmptyContainer':case'addObject':_0x579749['push']({'type':'insertion','content':getTranslation$1(_0x59ebcb,'*Insert:*\x20%0',this['getItemLabel'](_0x12626c['element'],_0x12626c['quantity']))});continue;case'removeEmptyContainer':case'removeObject':_0x579749['push']({'type':'deletion','content':getTranslation$1(_0x59ebcb,'*Remove:*\x20%0',this['getItemLabel'](_0x12626c['element'],_0x12626c['quantity']))});continue;case'addContainer':_0x579749['push']({'type':'insertion','content':getTranslation$1(_0x59ebcb,'*Split:*\x20%0',this['getItemLabel'](_0x12626c['element'],_0x12626c['quantity']))});continue;case'removeContainer':_0x579749['push']({'type':'deletion','content':getTranslation$1(_0x59ebcb,'*Merge:*\x20%0',this['getItemLabel'](_0x12626c['element'],_0x12626c['quantity']))});continue;case'addFormat':_0xcf8619['push'](_0x12626c['key']);continue;case'removeFormat':_0x2cd7de['push'](_0x12626c['key']);continue;default:_0x579749['push'](_0x12626c);}if(_0xcf8619['length']){const _0x9b2a0c=_0xcf8619['map'](_0x176663=>this['_attributeLabels']['has'](_0x176663)?this['_attributeLabels']['get'](_0x176663):_0x176663)['join'](',\x20');_0x579749['push']({'type':'format','content':getTranslation$1(this['_locale'],'*Set\x20format:*\x20%0',_0x9b2a0c)});}if(_0x2cd7de['length']){const _0x44af8f=_0x2cd7de['map'](_0x492361=>this['_attributeLabels']['has'](_0x492361)?this['_attributeLabels']['get'](_0x492361):_0x492361)['join'](',\x20');_0x579749['push']({'type':'format','content':getTranslation$1(this['_locale'],'*Remove\x20format:*\x20%0',_0x44af8f)});}return _0x579749;}['_handleCustomCallbackDescription'](_0x38bac1){for(const _0x442e06 of this['_customCallbacks']){const _0xc5d0f6=_0x442e06(_0x38bac1);if(_0xc5d0f6&&'type'in _0xc5d0f6)return _0xc5d0f6;}}['_handleAttributeSuggestionDescription'](_0x5575ca,_0xbfd244){const _0x56d502=_0xbfd244['data'],_0x4c875e=void 0x0===_0x56d502['newValue']?'removeFormat':'addFormat';_0x5575ca['push']({'type':_0x4c875e,'key':_0x56d502['key']});}['_handleRenameSuggestionDescription'](_0x22efb8,_0x13ecac){_0x22efb8['push']({'type':'format','content':getTranslation$1(this['_locale'],'*Change\x20to:*\x20%0',this['getItemLabel'](_0x13ecac['getFirstRange']()['start']['nodeAfter'],0x1))});}['_handleInsertRemoveSuggestionDescription'](_0x4ef31d,_0x5551f2,_0x33ae17){if(this['_addDescriptionItems'](_0x4ef31d,_0x5551f2),_0x33ae17&&_0x33ae17['getFirstRange']()&&!_0x5551f2['getFirstRange']()['end']['isEqual'](_0x33ae17['getFirstRange']()['start'])){const _0x266ace=_0x4ef31d[_0x4ef31d['length']-0x1],_0x4f3590='insertion'==_0x5551f2['type']?'add':'remove';_0x266ace&&'text'==_0x266ace['type']&&(_0x266ace[_0x4f3590]+='\x0a');}}}class TrackChangesAIAssistant extends ckeditor5['Plugin']{['afterInit'](){const _0x3fbcef=this['editor'],_0x3fbd3e=_0x3fbcef['plugins']['get']('TrackChangesEditing');_0x3fbcef['commands']['get']('showAIAssistant')&&_0x3fbd3e['enableCommand']('showAIAssistant');}}class _0xa7294d extends ckeditor5['Plugin']{['afterInit'](){const _0x43fef6=this['editor'],_0x4b807d=_0x43fef6['plugins']['get']('TrackChangesEditing');_0x43fef6['commands']['get']('toggleAi')&&_0x4b807d['enableCommand']('toggleAi');}}class TrackChangesAIQuickActions extends ckeditor5['Plugin']{['afterInit'](){const _0x4a36be=this['editor'],_0x429434=_0x4a36be['plugins']['get']('TrackChangesEditing');_0x4a36be['commands']['get']('aiQuickAction')&&_0x429434['enableCommand']('aiQuickAction');}}class TrackChangesAlignment extends ckeditor5['Plugin']{['afterInit'](){const _0x168ced=this['editor'],_0x1be73d=_0x168ced['locale'];if(!_0x168ced['plugins']['has']('AlignmentEditing'))return;const _0x4465bb=_0x168ced['plugins']['get']('TrackChangesEditing');_0x4465bb['enableDefaultAttributesIntegration']('alignment'),_0x4465bb['registerBlockAttribute']('alignment'),_0x4465bb['descriptionFactory']['registerAttributeLabel']('alignment',getTranslation$1(_0x1be73d,'FORMAT_ALIGNMENT')),this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0x5c6d00=this['editor'],_0x1e1940=_0x5c6d00['locale'];_0x5c6d00['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x963ded=>{if('formatBlock'!=_0x963ded['type'])return;const {data:_0x47f9da}=_0x963ded;if(_0x47f9da&&'alignment'==_0x47f9da['commandName']){const _0x5794c9=_0x47f9da['commandParams'][0x0]['value'];return{'type':'format','content':getTranslation$1(_0x1e1940,'*Format:*\x20%0',function(_0x2ebe39){switch(_0x2ebe39){case'left':return getTranslation$1(_0x1e1940,'FORMAT_ALIGN_TO_LEFT');case'right':return getTranslation$1(_0x1e1940,'FORMAT_ALIGN_TO_RIGHT');case'center':return getTranslation$1(_0x1e1940,'FORMAT_ALIGN_TO_CENTER');case'justify':return getTranslation$1(_0x1e1940,'FORMAT_JUSTIFY_TEXT');}}(_0x5794c9))};}});}}const basicStylesPlugins=['BoldEditing','ItalicEditing','UnderlineEditing','CodeEditing','StrikethroughEditing','SubscriptEditing','SuperscriptEditing'];class TrackChangesBasicStyles extends ckeditor5['Plugin']{['afterInit'](){const _0x54cdae=this['editor'],_0x52c30b=_0x54cdae['plugins']['get']('TrackChangesEditing'),_0x180f82=_0x54cdae['locale'];for(const _0x2a3267 of basicStylesPlugins){if(!_0x54cdae['plugins']['has'](_0x2a3267))continue;const _0x4eb300=_0x2a3267['slice'](0x0,-0x7)['toLowerCase'](),_0xb9c79f='FORMAT_'+_0x4eb300['toUpperCase']();_0x52c30b['enableDefaultAttributesIntegration'](_0x4eb300),_0x52c30b['registerInlineAttribute'](_0x4eb300),_0x52c30b['descriptionFactory']['registerAttributeLabel'](_0x4eb300,getTranslation$1(_0x180f82,_0xb9c79f));}this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0x486098=this['editor'],_0x445cb5=_0x486098['locale'],_0x2505bf=_0x486098['plugins']['get']('TrackChangesEditing');function _0x108fdf(_0x553127,_0x3941ae){_0x2505bf['descriptionFactory']['registerDescriptionCallback'](_0x3b058f=>{if('formatInline'!=_0x3b058f['type'])return;const {data:_0xfc9a6f}=_0x3b058f;return _0xfc9a6f&&_0xfc9a6f['commandName']===_0x553127?_0xfc9a6f['commandParams'][0x0]['forceValue']?{'type':'format','content':getTranslation$1(_0x445cb5,'*Format:*\x20%0',_0x3941ae)}:{'type':'format','content':getTranslation$1(_0x445cb5,'*Remove\x20format:*\x20%0',_0x3941ae)}:void 0x0;});}_0x108fdf('bold',getTranslation$1(_0x445cb5,'FORMAT_BOLD')),_0x108fdf('italic',getTranslation$1(_0x445cb5,'FORMAT_ITALIC')),_0x108fdf('underline',getTranslation$1(_0x445cb5,'FORMAT_UNDERLINE')),_0x108fdf('code',getTranslation$1(_0x445cb5,'FORMAT_CODE')),_0x108fdf('strikethrough',getTranslation$1(_0x445cb5,'FORMAT_STRIKETHROUGH')),_0x108fdf('subscript',getTranslation$1(_0x445cb5,'FORMAT_SUBSCRIPT')),_0x108fdf('superscript',getTranslation$1(_0x445cb5,'FORMAT_SUPERSCRIPT'));}}class TrackChangesBlockQuote extends ckeditor5['Plugin']{['afterInit'](){const _0x20fed6=this['editor'],_0x264a06=_0x20fed6['locale'];if(!_0x20fed6['plugins']['has']('BlockQuoteEditing'))return;const _0x3f0cb7=_0x20fed6['plugins']['get']('TrackChangesEditing'),_0x4ca531=this['editor']['commands']['get']('blockQuote');_0x3f0cb7['enableCommand']('blockQuote',(_0x45222f,_0x57c9a8={})=>{const _0x3a4e3e=this['editor']['model']['document']['selection'],_0x59bf6c=_0x57c9a8&&void 0x0!==_0x57c9a8['forceValue']?_0x57c9a8['forceValue']:!_0x4ca531['value'];let _0x120a19=[];if(_0x59bf6c){const _0x26476e=Array['from'](_0x3a4e3e['getSelectedBlocks']())['filter'](_0x3daa1e=>isInQuote(_0x3daa1e)||checkCanBeQuoted(_0x3daa1e,this['editor']['model']['schema']));_0x120a19=getRangesOfBlockGroups(_0x26476e,_0x20fed6['model']);}else{const _0x3114d4=Array['from'](_0x3a4e3e['getSelectedBlocks']())['filter'](_0x10f2fb=>isInQuote(_0x10f2fb));_0x120a19=getRangesOfBlockGroups(_0x3114d4,_0x20fed6['model']);}_0x20fed6['model']['change'](()=>{for(const _0x308812 of _0x120a19)_0x3f0cb7['markBlockFormat'](_0x308812,{'commandName':'blockQuote','commandParams':[{'forceValue':_0x59bf6c}]});});}),_0x3f0cb7['descriptionFactory']['registerDescriptionCallback'](_0x593433=>{const {data:_0x4e0e6d}=_0x593433;if(_0x4e0e6d&&'blockQuote'==_0x4e0e6d['commandName']){const _0x8b8668=getTranslation$1(_0x264a06,'ELEMENT_BLOCK_QUOTE');return _0x4e0e6d['commandParams'][0x0]['forceValue']?{'type':'format','content':getTranslation$1(_0x264a06,'*Set\x20format:*\x20%0',_0x8b8668)}:{'type':'format','content':getTranslation$1(_0x264a06,'*Remove\x20format:*\x20%0',_0x8b8668)};}});}}function checkCanBeQuoted(_0x9bc3dd,_0x1455f4){const _0x2e16ec=_0x1455f4['checkChild'](_0x9bc3dd['parent'],'blockQuote'),_0x5617c6=_0x1455f4['checkChild'](['$root','blockQuote'],_0x9bc3dd);return _0x2e16ec&&_0x5617c6;}function isInQuote(_0x460537){return'blockQuote'==_0x460537['parent']['name'];}class _0x27a5ae extends ckeditor5['Plugin']{['afterInit'](){const _0x25f4b8=this['editor'],_0x36cba2=_0x25f4b8['locale'],_0x247cdd=_0x25f4b8['plugins']['get']('TrackChangesEditing');_0x25f4b8['plugins']['has']('BookmarkEditing')&&(_0x247cdd['enableCommand']('insertBookmark'),_0x247cdd['enableDefaultAttributesIntegration']('updateBookmark'),_0x247cdd['registerBlockAttribute']('bookmarkId'),_0x247cdd['descriptionFactory']['registerDescriptionCallback'](_0x206127=>{if('insertion'!=_0x206127['type']&&'deletion'!=_0x206127['type']&&'attribute'!=_0x206127['type'])return;const _0x39c936=_0x206127['getContainedElement']();if(null==_0x39c936)return;if(!_0x39c936['is']('element','bookmark'))return;const _0x2dcf29=_0x39c936['getAttribute']('bookmarkId');if('insertion'==_0x206127['type'])return{'type':'insertion','content':getTranslation$1(_0x36cba2,'*Insert:*\x20%0','\x22'+_0x2dcf29+'\x22\x20'+getTranslation$1(_0x36cba2,'ELEMENT_BOOKMARK'))};if('deletion'==_0x206127['type'])return{'type':'deletion','content':getTranslation$1(_0x36cba2,'*Remove:*\x20%0','\x22'+_0x2dcf29+'\x22\x20'+getTranslation$1(_0x36cba2,'ELEMENT_BOOKMARK'))};const {data:_0x516150}=_0x206127;if(!_0x516150||'bookmarkId'!=_0x516150['key'])return;return{'type':'format','content':getTranslation$1(_0x36cba2,'*Set\x20bookmark:*\x20%0','\x22'+_0x516150['newValue']+'\x22')};}));}}class _0xe4f974 extends ckeditor5['Plugin']{['afterInit'](){const _0x530ac8=this['editor'];_0x530ac8['plugins']['has']('CaseChange')&&(_0x530ac8['plugins']['get']('TrackChangesEditing')['enableCommand']('changeCaseUpper'),_0x530ac8['plugins']['get']('TrackChangesEditing')['enableCommand']('changeCaseLower'),_0x530ac8['plugins']['get']('TrackChangesEditing')['enableCommand']('changeCaseTitle'));}}class _0xebd1c5 extends ckeditor5['Plugin']{['afterInit'](){const _0x4381cc=this['editor'];_0x4381cc['commands']['get']('ckbox')&&_0x4381cc['plugins']['get']('TrackChangesEditing')['enableCommand']('ckbox');}}class _0x504274 extends ckeditor5['Plugin']{['afterInit'](){const _0x3dd238=this['editor'];if(!_0x3dd238['plugins']['has']('CodeBlock'))return;const _0x56ced5=_0x3dd238['plugins']['get']('TrackChangesEditing'),_0xce935e=_0x3dd238['locale'],_0x481d13=_0x3dd238['config']['get']('codeBlock')['languages'],_0x35a016=_0x3dd238['commands']['get']('codeBlock');_0x56ced5['enableCommand']('indentCodeBlock'),_0x56ced5['enableCommand']('outdentCodeBlock'),_0x56ced5['enableCommand']('codeBlock',(_0x227d7b,_0x48c76c={})=>{const _0x1130e4=_0x3dd238['model'],_0x51feac=_0x3dd238['model']['document']['selection'],_0x4badc9=_0x48c76c&&void 0x0!==_0x48c76c['forceValue']?_0x48c76c['forceValue']:!_0x35a016['value'];let _0x487586;_0x48c76c['language']||(_0x48c76c['language']=_0x481d13[0x0]['language']),_0x487586=_0x4badc9?Array['from'](_0x51feac['getSelectedBlocks']())['filter'](_0x1ebf2d=>_0x1a18d5(_0x1ebf2d)||_0x188fdd(_0x1ebf2d,_0x1130e4['schema'])):Array['from'](_0x51feac['getSelectedBlocks']())['filter'](_0x7eafba=>_0x1a18d5(_0x7eafba));const _0xe41199=getRangesOfBlockGroups(_0x487586,_0x1130e4);_0x1130e4['change'](()=>{for(const _0xaedb8e of _0xe41199)_0x56ced5['markBlockFormat'](_0xaedb8e,{'commandName':'codeBlock','commandParams':[{..._0x48c76c,'forceValue':_0x4badc9}],'formatGroupId':'blockName'});});}),(_0x56ced5['descriptionFactory']['registerElementLabel']('codeBlock',_0x1603c7=>getTranslation$1(_0xce935e,'ELEMENT_CODE_BLOCK',_0x1603c7)),_0x56ced5['descriptionFactory']['registerDescriptionCallback'](_0x213b98=>{if('formatBlock'!=_0x213b98['type'])return;const _0x52f30e=_0xce935e['t'],{data:_0x51dfbd}=_0x213b98;if(!_0x51dfbd||'codeBlock'!=_0x51dfbd['commandName'])return;const _0xa5ccb5=_0x51dfbd['commandParams'][0x0]['language'],_0x3ea164=_0x481d13['find'](_0x3d878f=>_0x3d878f['language']===_0xa5ccb5)['label'],_0x4a54ad=_0x52f30e(_0x3ea164)['toLowerCase']();return _0x51dfbd['commandParams'][0x0]['forceValue']?{'type':'format','content':getTranslation$1(_0xce935e,'*Set\x20format:*\x20%0',getTranslation$1(_0xce935e,'ELEMENT_CODE_BLOCK',0x1)+'\x20('+_0x4a54ad+')')}:{'type':'format','content':getTranslation$1(_0xce935e,'*Remove\x20format:*\x20%0',getTranslation$1(_0xce935e,'ELEMENT_CODE_BLOCK',0x1))};}));}}function _0x188fdd(_0x2f949e,_0x57f46a){return!_0x2f949e['is']('rootElement')&&!_0x57f46a['isLimit'](_0x2f949e)&&_0x57f46a['checkChild'](_0x2f949e['parent'],'codeBlock');}function _0x1a18d5(_0x7b792a){return'codeBlock'==_0x7b792a['name'];}class TrackChangesComments extends ckeditor5['Plugin']{['afterInit'](){const _0x2c4a8b=this['editor'];if(!_0x2c4a8b['plugins']['has']('CommentsEditing'))return;_0x2c4a8b['plugins']['get']('TrackChangesEditing')['enableCommand']('addCommentThread');}}function getRangesWithAttribute(_0x4f967a,_0x5a056b,_0xbda6f6){const _0x438cc3=[];for(const _0x28842c of _0x5a056b['getItems']())_0x28842c['hasAttribute'](_0x4f967a)&&_0x438cc3['push'](_0xbda6f6['createRangeOn'](_0x28842c));return _0x438cc3;}function downcastSplitMergeMarker$1(_0x2963ae,_0x19c6e3,{showActiveMarker:_0xf0f150=!0x0}={}){const _0x243a6e=_0x2963ae['plugins']['get']('TrackChangesEditing');return(_0x3fb35f,_0x423ea5,_0x534f82)=>{if(!_0x534f82['consumable']['test'](_0x423ea5['markerRange'],_0x3fb35f['name']))return;const _0x42c332=_0x423ea5['markerRange']['getWalker'](),_0x4279aa=_0x423ea5['markerRange']['start'],_0x765821=_0x2963ae['model']['schema'];let _0x305e14=null,_0x1662a6=null,_0x5d0546=!0x1,_0x164d54=!0x1;for(const _0x5decb8 of _0x42c332){const _0x1f8b71=_0x5decb8['item'];_0x5d0546=_0x5d0546||_0x765821['isContent'](_0x1f8b71);const _0x3896a7=_0x534f82['mapper']['toViewElement'](_0x1f8b71);if(_0x3896a7&&_0x3896a7['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x5decb8['type']&&(_0x765821['isBlock'](_0x1f8b71)&&!_0x765821['isLimit'](_0x1f8b71)&&(_0x1f8b71['nextSibling']||_0x4279aa['isAtEnd']?_0x305e14&&_0x305e14['parent']==_0x1f8b71||(_0x305e14=_0x1f8b71,_0x71ed3b(_0x5decb8['previousPosition']),_0x164d54=!0x0):_0x1662a6=_0x1662a6||_0x5decb8['previousPosition']));}function _0x71ed3b(_0x5bc777){const {id:_0x498fcf,authorId:_0x6f416a}=_0x243a6e['_splitMarkerName'](_0x423ea5['markerName']),_0x6c0dd3=_0x534f82['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x19c6e3,'data-suggestion':_0x498fcf,'data-author-id':_0x6f416a}),_0x314b7d=_0x534f82['mapper']['toViewPosition'](_0x5bc777);_0xf0f150&&_0x243a6e['activeMarkers']['includes'](_0x423ea5['markerName'])&&_0x534f82['writer']['addClass']('ck-suggestion-marker--active',_0x6c0dd3),_0x534f82['writer']['insert'](_0x314b7d,_0x6c0dd3),_0x534f82['mapper']['bindElementToMarker'](_0x6c0dd3,_0x423ea5['markerName']);}_0x5d0546||_0x164d54||!_0x1662a6||_0x71ed3b(_0x1662a6);};}class TrackChangesDeleteCommand extends ckeditor5['Plugin']{static get['requires'](){return[ckeditor5['Delete']];}['init'](){const _0x1cb438=this['editor'],_0x26df84=_0x1cb438['plugins']['get']('TrackChangesEditing');_0x26df84['enableCommand']('delete');const _0x526f6b=_0x1cb438['commands']['get']('deleteForward');_0x26df84['enableCommand']('deleteForward',(_0x49e52f,_0x1b435c={})=>{const _0x4385e1=_0x1cb438['model']['createSelection'](_0x1cb438['model']['document']['selection']);_0x4385e1['isCollapsed']&&_0x1cb438['model']['modifySelection'](_0x4385e1,{'direction':'forward','unit':_0x1b435c['unit']});const _0x4a8147=_0x4385e1['getFirstRange'](),_0x410ebe=ckeditor5['ModelLiveRange']['fromRange'](_0x4a8147);let _0x43b75c;_0x49e52f(_0x1b435c),_0x43b75c='$graveyard'==_0x410ebe['root']['rootName']?_0x1cb438['model']['createRange'](_0x4a8147['start']):_0x1cb438['model']['createRange'](_0x410ebe['start'],_0x410ebe['end']),_0x410ebe['detach'](),_0x1cb438['model']['enqueueChange'](_0x526f6b['buffer']['batch'],_0x29ae37=>{_0x526f6b['buffer']['lock'](),_0x29ae37['setSelection'](_0x29ae37['createRange'](_0x43b75c['end'])),_0x526f6b['buffer']['unlock']();});}),_0x1cb438['editing']['downcastDispatcher']['on']('addMarker:suggestion:deletion',downcastSplitMergeMarker$1(_0x1cb438,'merge'),{'priority':'high'}),_0x1cb438['data']['downcastDispatcher']['on']('addMarker:suggestion:deletion',(_0x145284,_0x1b6a51,_0x5a0cc6)=>{_0x5a0cc6['options']['showSuggestionHighlights']&&downcastSplitMergeMarker$1(_0x1cb438,'merge',{'showActiveMarker':!0x1})['bind'](this)(_0x145284,_0x1b6a51,_0x5a0cc6);},{'priority':'high'}),_0x1cb438['editing']['downcastDispatcher']['on']('removeMarker:suggestion:deletion',(_0x4c2fc6,_0x1f0815,_0x5c82f7)=>{const _0x1044b3=_0x5c82f7['mapper']['markerNameToElements'](_0x1f0815['markerName']);if(_0x1044b3){for(const _0x1ebc20 of _0x1044b3)_0x1ebc20['is']('uiElement')&&(_0x5c82f7['mapper']['unbindElementFromMarkerName'](_0x1ebc20,_0x1f0815['markerName']),_0x5c82f7['writer']['remove'](_0x1ebc20));}},{'priority':'high'});}}class TrackChangesList extends ckeditor5['Plugin']{['afterInit'](){const _0x349060=this['editor'];if(!_0x349060['plugins']['has']('ListEditing'))return;const _0x1d3b58=_0x349060['locale'],_0x34913b=_0x349060['plugins']['get']('TrackChangesEditing'),_0x540290=_0x349060['plugins']['has']('TodoListEditing'),_0x2b5638=!!_0x349060['config']['get']('list.multiBlock');function _0x474060(_0x1208e3){return{'type':'format','content':''+getTranslation$1(_0x1d3b58,'*Set\x20format:*\x20%0',_0x1208e3)};}function _0x595905(_0x2ef922){return{'type':'format','content':''+getTranslation$1(_0x1d3b58,'*Remove\x20format:*\x20%0',_0x2ef922)};}_0x34913b['enableDefaultAttributesIntegration']('numberedList'),_0x34913b['enableDefaultAttributesIntegration']('bulletedList'),_0x34913b['enableDefaultAttributesIntegration']('customNumberedList'),_0x34913b['enableDefaultAttributesIntegration']('customBulletedList'),_0x34913b['enableDefaultAttributesIntegration']('indentList'),_0x34913b['enableDefaultAttributesIntegration']('outdentList'),_0x34913b['enableDefaultAttributesIntegration']('splitListItemAfter'),_0x34913b['enableDefaultAttributesIntegration']('splitListItemBefore'),_0x34913b['registerBlockAttribute']('listItemId'),_0x34913b['registerBlockAttribute']('listType'),_0x34913b['registerBlockAttribute']('listIndent'),_0x2b5638&&(_0x34913b['enableDefaultAttributesIntegration']('mergeListItemBackward'),_0x34913b['enableDefaultAttributesIntegration']('mergeListItemForward')),_0x540290&&(_0x34913b['enableDefaultAttributesIntegration']('todoList'),_0x34913b['enableDefaultAttributesIntegration']('checkTodoList'),_0x34913b['registerBlockAttribute']('todoListChecked'),_0x34913b['descriptionFactory']['registerDescriptionCallback'](_0x1e5770=>{const {data:_0x1a2e87}=_0x1e5770;if(_0x1a2e87&&'todoListChecked'==_0x1a2e87['key'])return{'type':'format','content':_0x1a2e87['newValue']?getTranslation$1(_0x1d3b58,'*Check\x20item*'):getTranslation$1(_0x1d3b58,'*Uncheck\x20item*')};}),this['editor']['model']['document']['registerPostFixer'](_0x1d7a04=>{if(_0x1d7a04['batch']['isUndo'])return!0x1;let _0x45545d=!0x1;const _0x4bed93=_0x34913b['getSuggestions']({'skipNotAttached':!0x0})['filter'](_0x479998=>'todoListChecked'===_0x34913b['_getAttributeKey'](_0x479998));for(const _0x1866f7 of _0x4bed93){'todo'!=_0x1866f7['getFirstRange']()['start']['nodeAfter']['getAttribute']('listType')&&(_0x34913b['_findSuggestions'](_0x1866f7['getFirstRange'](),'attribute')['find'](_0x553e50=>'listType'===_0x34913b['_getAttributeKey'](_0x553e50['suggestion']))||(_0x1d7a04['removeMarker'](_0x1866f7['getFirstMarker']()),_0x45545d=!0x0));}return _0x45545d;})),_0x34913b['descriptionFactory']['registerAttributeLabel']('listIndent',getTranslation$1(_0x1d3b58,'FORMAT_INDENT'));const _0x4da6cf={'type':'format','content':''};_0x34913b['descriptionFactory']['registerDescriptionCallback'](_0x21a1f5=>{const {data:_0x5e37b6}=_0x21a1f5;if(!_0x5e37b6||'listType'!=_0x5e37b6['key'])return;let _0x19cbdb=_0x21a1f5['head'];for(;_0x19cbdb;){if(_0x19cbdb['data']&&(('listStyle'==_0x19cbdb['data']['key']||'listMarkerStyle'==_0x19cbdb['data']['key'])&&(_0x19cbdb['data']['newValue']&&'default'!=_0x19cbdb['data']['newValue']||'default'!=_0x19cbdb['data']['oldValue']&&!_0x5e37b6['newValue'])||!_0x2b5638&&_0x19cbdb['data']['key']==renameAttributeKey))return _0x4da6cf;_0x19cbdb=_0x19cbdb['next'];}if(null==_0x5e37b6['newValue'])switch(_0x5e37b6['oldValue']){case'bulleted':return _0x595905(getTranslation$1(_0x1d3b58,'ELEMENT_BULLETED_LIST'));case'numbered':return _0x595905(getTranslation$1(_0x1d3b58,'ELEMENT_NUMBERED_LIST'));case'todo':return _0x595905(getTranslation$1(_0x1d3b58,'ELEMENT_TODO_LIST'));}switch(_0x5e37b6['newValue']){case'bulleted':return _0x474060(getTranslation$1(_0x1d3b58,'ELEMENT_BULLETED_LIST'));case'numbered':return _0x474060(getTranslation$1(_0x1d3b58,'ELEMENT_NUMBERED_LIST'));case'todo':return _0x474060(getTranslation$1(_0x1d3b58,'ELEMENT_TODO_LIST'));}}),_0x34913b['descriptionFactory']['registerDescriptionCallback'](_0x2347c9=>{const {data:_0xcd7290}=_0x2347c9;if(_0xcd7290&&'listIndent'==_0xcd7290['key'])return null==_0xcd7290['newValue']||null==_0xcd7290['oldValue']&&0x0==_0xcd7290['newValue']?_0x4da6cf:void 0x0;}),_0x34913b['descriptionFactory']['registerDescriptionCallback'](_0x31e291=>{if('attribute'!=_0x31e291['type'])return;const {data:_0xcc8924}=_0x31e291;if(!_0xcc8924||'listItemId'!=_0xcc8924['key'])return;const _0x5bcac4=checkSiblingsListItemId(_0x31e291);return'newValue'==_0x5bcac4?{'type':'format','content':getTranslation$1(_0x1d3b58,'*Merge:*\x20list\x20item')}:'oldValue'==_0x5bcac4?{'type':'format','content':getTranslation$1(_0x1d3b58,'*Split:*\x20list\x20item')}:_0x4da6cf;}),_0x349060['model']['document']['registerPostFixer'](_0x5a2f09=>this['listItemIdFixer'](_0x5a2f09)),_0x349060['model']['document']['registerPostFixer'](_0x5a7a89=>this['noTrackChangesFixer'](_0x5a7a89)),_0x349060['model']['document']['on']('change:data',(_0x4cc89b,_0x2223b9)=>{if(_0x2223b9['isUndo']||!_0x2223b9['isLocal'])return!0x1;this['assureChains']();},{'priority':'high'}),this['_supportLegacySuggestions']();}['listItemIdFixer'](_0x2ac7c8){if(_0x2ac7c8['batch']['isUndo']||!_0x2ac7c8['batch']['isLocal'])return!0x1;let _0x3e3da3=!0x1;const _0x39366f=this['editor']['plugins']['get']('TrackChangesEditing')['getSuggestions']({'skipNotAttached':!0x0})['filter'](_0x3f7901=>_0x3f7901['data']&&'listItemId'==_0x3f7901['data']['key'])['filter'](_0x432fd9=>_0x432fd9['data']['newValue']&&_0x432fd9['data']['oldValue']);for(const _0x4572d1 of _0x39366f)checkSiblingsListItemId(_0x4572d1)||(_0x2ac7c8['removeMarker'](_0x4572d1['getFirstMarker']()),_0x3e3da3=!0x0);return _0x3e3da3;}['noTrackChangesFixer'](_0x32b02d){if(_0x32b02d['batch']['isUndo']||!_0x32b02d['batch']['isLocal'])return!0x1;const _0x5bb784=this['editor']['plugins']['get']('TrackChangesEditing');if(_0x5bb784['trackChangesCommand']['value'])return!0x1;let _0x5a39d2=!0x1;const _0x20230e=['listType','listItemId','listIndent','listStyle','listStart','listReversed','todoListCheck','listMarker','listMarkerStyle'],_0x135ed0=this['editor']['model']['document']['differ']['getChanges']()['filter'](_0x3a72a7=>'attribute'==_0x3a72a7['type'])['filter'](_0x3de703=>_0x20230e['includes'](_0x3de703['attributeKey']));if(0x0==_0x135ed0['length'])return _0x5a39d2;for(const _0x4d4e22 of _0x135ed0){const _0x14d2ad=_0x5bb784['_findSuggestions'](_0x4d4e22['range'],'attribute')['filter'](_0x4ab531=>!_0x4ab531['meta']['isNextTo'])['map'](_0x51b677=>_0x51b677['suggestion'])['filter'](_0x2e7fb3=>{const _0x389636=_0x5bb784['_getAttributeKey'](_0x2e7fb3);return _0x20230e['includes'](_0x389636);});if(_0x14d2ad['length']){for(const _0x30be08 of _0x14d2ad)_0x32b02d['removeMarker'](_0x30be08['getFirstMarker']());_0x5a39d2=!0x0;}}return _0x5a39d2;}['assureChains'](){const _0x58e437=this['editor']['plugins']['get']('TrackChangesEditing'),_0x4e2553=['listType','listItemId','listIndent','listStyle','listStart','listReversed','todoListCheck','listMarker','listMarkerStyle'];let _0x16991e;const _0x20178f=new Set(this['editor']['model']['document']['differ']['getChangedMarkers']()['filter'](_0x7419fd=>{if(_0x7419fd['data']['oldRange']||!_0x7419fd['data']['newRange'])return null;if(!_0x7419fd['name']['startsWith']('suggestion:attribute:'))return null;const {id:_0x139db6}=_0x58e437['_splitMarkerName'](_0x7419fd['name']);if(!_0x58e437['hasSuggestion'](_0x139db6))return null;const _0x2436e8=_0x58e437['getSuggestion'](_0x139db6);return _0x4e2553['includes'](_0x2436e8['data']['key']);})['map'](_0x487fdc=>{const {id:_0x34b1d7}=_0x58e437['_splitMarkerName'](_0x487fdc['name']),_0x257260=_0x58e437['getSuggestion'](_0x34b1d7);return _0x16991e=_0x257260['attributes']['groupId'],_0x257260['getFirstRange']()['start']['nodeAfter'];}));if(0x0==_0x20178f['size'])return;const _0x4d68ff=_0x58e437['getSuggestions']({'skipNotAttached':!0x0})['filter'](_0x229718=>'attribute'==_0x229718['type']&&_0x229718['data']&&_0x4e2553['includes'](_0x229718['data']['key'])&&_0x229718['attributes']['groupId']!=_0x16991e)['map'](_0x299e00=>({'listItem':_0x299e00['getFirstRange']()['start']['nodeAfter'],'groupId':_0x299e00['attributes']['groupId']})),_0x1e2e06=new Set();for(const {groupId:_0x471a5a,listItem:_0x542da9}of _0x4d68ff)_0x20178f['has'](_0x542da9)&&_0x1e2e06['add'](_0x471a5a);for(const _0x37316a of _0x58e437['getSuggestions']())_0x1e2e06['has'](_0x37316a['attributes']['groupId'])&&_0x37316a['setAttribute']('groupId',_0x16991e);}['_supportLegacySuggestions'](){const _0x25fc00=this['editor'],_0x4a4fac=_0x25fc00['locale'],_0x3cae30=_0x25fc00['plugins']['get']('TrackChangesEditing');this['_registerLegacyDescription'](),_0x3cae30['_suggestionFactory']['registerCustomCallback']('formatBlock','documentList','accept',function(_0x1eb3c4,_0x47bcbf){const _0x2171f6=[];for(let _0xc8ced5 of _0x1eb3c4)_0xc8ced5['start']['nodeAfter']===_0xc8ced5['end']['parent']&&(_0xc8ced5=_0x25fc00['model']['createRange'](_0x25fc00['model']['createPositionAt'](_0xc8ced5['start']['nodeAfter'],0x0))),_0x2171f6['push'](_0xc8ced5);_0x25fc00['model']['change'](_0x13f475=>{const _0x1f2ec3=_0x25fc00['model']['document']['selection'],_0x90d7fb=Array['from'](_0x1f2ec3['getRanges']())['map'](_0x5964b0=>ckeditor5['ModelLiveRange']['fromRange'](_0x5964b0));_0x13f475['setSelection'](_0x2171f6),_0x25fc00['commands']['get'](_0x47bcbf['commandName'])['refresh'](),_0x47bcbf['commandParams']['push']({'forceDefaultExecution':!0x0}),_0x25fc00['execute'](_0x47bcbf['commandName'],..._0x47bcbf['commandParams']),_0x13f475['setSelection'](_0x90d7fb);for(const _0x5cefaf of _0x90d7fb)_0x5cefaf['detach']();});}),_0x3cae30['descriptionFactory']['registerElementLabel'](function(_0x3dc25f){const _0x2bf8e2=!_0x25fc00['model']['schema']['isObject'](_0x3dc25f),_0xf7554a=_0x3dc25f['previousSibling'],_0x4724ac=_0x3dc25f['nextSibling'],_0x1e54f6=_0x3dc25f['getAttribute']('listItemId'),_0x24ae78=!_0xf7554a||_0xf7554a['getAttribute']('listItemId')!==_0x1e54f6,_0x336cb4=!_0x4724ac||_0x4724ac['getAttribute']('listItemId')!==_0x1e54f6;return _0x2bf8e2&&Boolean(_0x1e54f6)&&_0x24ae78&&_0x336cb4;},_0x5bbec9=>getTranslation$1(_0x4a4fac,'ELEMENT_LIST_ITEM',_0x5bbec9));}['_registerLegacyDescription'](){const _0x1ade00=this['editor'],_0x18891c=_0x1ade00['locale'];function _0x3620ca(_0x72d57){const _0x52396c=_0x1ade00['commands']['get']('bulletedList')['value'],_0x109d63=_0x1ade00['commands']['get']('numberedList')['value'];return'numberedList'===_0x72d57?_0x52396c:_0x109d63;}_0x1ade00['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](function(_0x212016){if('formatBlock'!=_0x212016['type'])return;const {data:_0x30a94d}=_0x212016;if(!_0x30a94d)return;let _0x48b2cc,_0x16afa7,_0x501fb9,_0x1ef1a9;switch(_0x30a94d['commandName']){case'bulletedList':_0x501fb9=_0x30a94d['commandParams'][0x0]['forceValue'],_0x1ef1a9=_0x3620ca(_0x30a94d['commandName']),_0x48b2cc=_0x501fb9?'*Format:*\x20insert\x20into\x20%0':'*Format:*\x20remove\x20from\x20%0',!_0x1ef1a9&&_0x1ade00['config']['get']('list.multiBlock')||(_0x48b2cc='*Change\x20to:*\x20%0'),_0x16afa7={'type':'format','content':getTranslation$1(_0x18891c,_0x48b2cc,getTranslation$1(_0x18891c,'ELEMENT_BULLETED_LIST'))};break;case'numberedList':_0x501fb9=_0x30a94d['commandParams'][0x0]['forceValue'],_0x1ef1a9=_0x3620ca(_0x30a94d['commandName']),_0x48b2cc=_0x501fb9?'*Format:*\x20insert\x20into\x20%0':'*Format:*\x20remove\x20from\x20%0',!_0x1ef1a9&&_0x1ade00['config']['get']('list.multiBlock')||(_0x48b2cc='*Change\x20to:*\x20%0'),_0x16afa7={'type':'format','content':getTranslation$1(_0x18891c,_0x48b2cc,getTranslation$1(_0x18891c,'ELEMENT_NUMBERED_LIST'))};break;case'indentList':_0x48b2cc='*Indent:*\x20%0',_0x16afa7={'type':'format','content':getTranslation$1(_0x18891c,_0x48b2cc,getTranslation$1(_0x18891c,'ELEMENT_LIST_ITEM'))};break;case'outdentList':_0x48b2cc=function(_0x517acd){const _0x2fca46=_0x517acd['getFirstRange']();let _0xaea955=_0x2fca46['start']['nodeAfter'];for(;_0xaea955&&_0x2fca46['containsItem'](_0xaea955);){if(_0xaea955['getAttribute']('listIndent')>0x0)return!0x1;_0xaea955=_0xaea955['nextSibling'];}return!0x0;}(_0x212016)?getTranslation$1(_0x18891c,'*Format:*\x20remove\x20from\x20%0',getTranslation$1(_0x18891c,function(_0x329d5d){return'ELEMENT_'+_0x329d5d['getFirstRange']()['start']['nodeAfter']['getAttribute']('listType')['toUpperCase']()+'_LIST';}(_0x212016))):getTranslation$1(_0x18891c,'*Outdent:*\x20%0',getTranslation$1(_0x18891c,'ELEMENT_LIST_ITEM')),_0x16afa7={'type':'format','content':_0x48b2cc};break;case'mergeListItemBackward':case'mergeListItemForward':!0x1===_0x30a94d['multipleBlocks']&&(_0x48b2cc='*Merge:*\x20%0',_0x16afa7={'type':'deletion','content':getTranslation$1(_0x18891c,_0x48b2cc,getTranslation$1(_0x18891c,'ELEMENT_LIST_ITEM'))});}return _0x16afa7;});}}function checkSiblingsListItemId(_0x277e03){let _0x4c463e=_0x277e03['getFirstRange']()['start']['nodeAfter']['previousSibling'];for(;_0x4c463e;){const _0x316f93=_0x4c463e['getAttribute']('listItemId');if(!_0x316f93)return!0x1;if(_0x316f93==_0x277e03['data']['newValue'])return'newValue';if(_0x316f93==_0x277e03['data']['oldValue'])return'oldValue';_0x4c463e=_0x4c463e['previousSibling'];}return!0x1;}class TrackChangesDocumentListProperties extends ckeditor5['Plugin']{['afterInit'](){if(!this['editor']['plugins']['has']('ListPropertiesEditing'))return;const _0x193fc9=this['editor']['config']['get']('list.properties'),_0x48ea7f=this['editor']['plugins']['get']('TrackChangesEditing');_0x193fc9['styles']&&(_0x48ea7f['enableDefaultAttributesIntegration']('listStyle'),_0x48ea7f['registerBlockAttribute']('listStyle')),_0x193fc9['reversed']&&(_0x48ea7f['enableDefaultAttributesIntegration']('listReversed'),_0x48ea7f['registerBlockAttribute']('listReversed')),_0x193fc9['startIndex']&&(_0x48ea7f['enableDefaultAttributesIntegration']('listStart'),_0x48ea7f['registerBlockAttribute']('listStart'));const _0x3b7d44={'type':'format','content':''};_0x48ea7f['descriptionFactory']['registerDescriptionCallback'](this['handleDescriptions']['bind'](this));const _0x361160=this['editor']['locale'];_0x48ea7f['descriptionFactory']['registerAttributeLabel']('listReversed',getTranslation$1(_0x361160,'FORMAT_LIST_REVERSED')),_0x48ea7f['descriptionFactory']['registerDescriptionCallback'](_0x5ee029=>{const {data:_0x123e8b}=_0x5ee029;if(_0x123e8b&&'listReversed'==_0x123e8b['key'])return null==_0x123e8b['newValue']||0x0==_0x123e8b['newValue']&&null==_0x123e8b['oldValue']?_0x3b7d44:void 0x0;}),_0x48ea7f['descriptionFactory']['registerAttributeLabel']('listStart',getTranslation$1(_0x361160,'FORMAT_LIST_START')),_0x48ea7f['descriptionFactory']['registerDescriptionCallback'](_0x5c6341=>{const {data:_0x1240d4}=_0x5c6341;if(_0x1240d4&&'listStart'==_0x1240d4['key'])return null==_0x1240d4['newValue']||0x1==_0x1240d4['newValue']&&null==_0x1240d4['oldValue']?_0x3b7d44:void 0x0;}),this['editor']['model']['document']['registerPostFixer'](_0x3d609a=>{if(_0x3d609a['batch']['isUndo'])return!0x1;let _0x5948f9=!0x1;const _0x4ece12=_0x48ea7f['getSuggestions']({'skipNotAttached':!0x0})['filter'](_0x3faf1e=>{const _0x3ce096=_0x48ea7f['_getAttributeKey'](_0x3faf1e);return'listStart'==_0x3ce096||'listReversed'==_0x3ce096;});for(const _0x116225 of _0x4ece12){const _0x378136=_0x116225['getFirstRange']()['start']['nodeAfter']['getAttribute']('listType');if('numbered'==_0x378136||'customNumbered'==_0x378136)continue;_0x48ea7f['_findSuggestions'](_0x116225['getFirstRange'](),'attribute')['find'](_0x3eac31=>'listType'==_0x48ea7f['_getAttributeKey'](_0x3eac31['suggestion']))||(_0x3d609a['removeMarker'](_0x116225['getFirstMarker']()),_0x5948f9=!0x0);}return _0x5948f9;}),this['_registerLegacyDescription']();}['handleDescriptions'](_0x35da13){const _0x1a69d2=this['editor']['locale'],{data:_0x30b4b3}=_0x35da13,_0x349b14={'type':'format','content':''};if(!_0x30b4b3||'listStyle'!=_0x30b4b3['key'])return;if(!_0x30b4b3['oldValue'])return'default'==_0x30b4b3['newValue']?_0x349b14:{'type':'format','content':''+getTranslation$1(_0x1a69d2,'*Set\x20format:*\x20%0',getTranslation$1(_0x1a69d2,this['_getTranslationKeyForListStyle'](_0x30b4b3['newValue'])))};if(!_0x30b4b3['newValue']){if('default'==_0x30b4b3['oldValue'])return _0x349b14;let _0x2ac419=_0x35da13['head'];for(;_0x2ac419;){if(_0x2ac419['data']&&'listType'==_0x2ac419['data']['key']&&_0x2ac419['data']['newValue'])return _0x349b14;_0x2ac419=_0x2ac419['next'];}return{'type':'format','content':''+getTranslation$1(_0x1a69d2,'*Remove\x20format:*\x20%0',getTranslation$1(_0x1a69d2,this['_getTranslationKeyForListStyle'](_0x30b4b3['oldValue'])))};}if('default'!=_0x30b4b3['newValue'])return{'type':'format','content':''+getTranslation$1(_0x1a69d2,'*Set\x20format:*\x20%0',getTranslation$1(_0x1a69d2,this['_getTranslationKeyForListStyle'](_0x30b4b3['newValue'])))};let _0x186f3a=_0x35da13['head'];for(;_0x186f3a;){if(_0x186f3a['data']&&'listType'==_0x186f3a['data']['key']&&_0x186f3a['data']['newValue']&&_0x186f3a['data']['oldValue'])return _0x349b14;_0x186f3a=_0x186f3a['next'];}return{'type':'format','content':getTranslation$1(_0x1a69d2,'*Set\x20format:*\x20%0',getTranslation$1(_0x1a69d2,'ELEMENT_'+_0x35da13['getFirstRange']()['start']['nodeAfter']['getAttribute']('listType')['toUpperCase']()+'_LIST_DEFAULT'))};}['_registerLegacyDescription'](){const _0x4cabc0=this['editor'],_0x21b809=_0x4cabc0['locale'];_0x4cabc0['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x202a37=>{if('formatBlock'!=_0x202a37['type'])return;const {data:_0x23261f}=_0x202a37;if(!_0x23261f)return;let _0xf77522,_0xc4dfcb;switch(_0x23261f['commandName']){case'listStyle':_0xf77522='*Change\x20to:*\x20%0',_0xc4dfcb={'type':'format','content':getTranslation$1(_0x21b809,_0xf77522,getTranslation$1(_0x21b809,this['_getTranslationKeyForListStyle'](_0x23261f['commandParams'][0x0]['type'])))};break;case'listReversed':_0xf77522=_0x23261f['commandParams'][0x0]['reversed']?'*Format:*\x20set\x20order\x20to\x20reversed':'*Format:*\x20set\x20order\x20to\x20regular',_0xc4dfcb={'type':'format','content':getTranslation$1(_0x21b809,_0xf77522)};break;case'listStart':_0xf77522='*Format:*\x20set\x20start\x20index\x20to\x20%0',_0xc4dfcb={'type':'format','content':getTranslation$1(_0x21b809,_0xf77522,_0x23261f['commandParams'][0x0]['startIndex'])};}return _0xc4dfcb;});}['_getTranslationKeyForListStyle'](_0x5434cd){return'ELEMENT_'+getListTypeFromListStyleType(_0x5434cd)['toUpperCase']()+'_LIST_'+_0x5434cd['toUpperCase']()['replace'](/-/g,'_');}}const _0x324b86=['disc','circle','square'],_0x305433=['decimal','decimal-leading-zero','lower-roman','upper-roman','lower-latin','upper-latin'];function getListTypeFromListStyleType(_0x29d1e9){return _0x324b86['includes'](_0x29d1e9)?'bulleted':_0x305433['includes'](_0x29d1e9)?'numbered':null;}class _0x8f619d extends ckeditor5['Plugin']{['afterInit'](){const _0x22e1c2=this['editor'];_0x22e1c2['commands']['get']('emoji')&&_0x22e1c2['plugins']['get']('TrackChangesEditing')['enableCommand']('emoji');}}class TrackChangesEnterCommand extends ckeditor5['Plugin']{static get['requires'](){return[ckeditor5['Enter']];}['init'](){const _0x1c4bcd=this['editor'],_0x1b64c0=_0x1c4bcd['plugins']['get']('TrackChangesEditing'),_0xe8da6c=_0x1c4bcd['commands']['get']('enter');_0x1b64c0['enableCommand']('enter',()=>{_0x1c4bcd['model']['change'](_0x4888f5=>{const _0x39a0bb=_0x1c4bcd['model']['document']['selection'],_0x3b614e=_0x39a0bb['getFirstPosition'](),_0x43f45f=ckeditor5['ModelLiveRange']['fromRange'](_0x39a0bb['getFirstRange']());if(_0xe8da6c['enterBlock'](_0x4888f5)){const _0x13af89=_0x1c4bcd['model']['createPositionAt'](_0x3b614e['parent']['nextSibling'],0x0),_0x1255ef=_0x4888f5['createRange'](_0x3b614e,_0x13af89);_0x1b64c0['markInsertion'](_0x1255ef);}else _0x4888f5['setSelection'](_0x4888f5['createRange'](_0x43f45f['end']));_0x43f45f['detach'](),_0xe8da6c['fire']('afterExecute',{'writer':_0x4888f5});});}),_0x1c4bcd['editing']['downcastDispatcher']['on']('addMarker:suggestion:insertion',downcastSplitMergeMarker$1(_0x1c4bcd,'split'),{'priority':'high'}),_0x1c4bcd['editing']['downcastDispatcher']['on']('removeMarker:suggestion:insertion',(_0x26b096,_0x53714d,_0x464e1a)=>{const _0x20e67d=_0x464e1a['mapper']['markerNameToElements'](_0x53714d['markerName']);if(_0x20e67d){for(const _0x1d9552 of _0x20e67d)_0x1d9552['hasClass']('ck-suggestion-marker-split')&&(_0x464e1a['mapper']['unbindElementFromMarkerName'](_0x1d9552,_0x53714d['markerName']),_0x464e1a['writer']['remove'](_0x1d9552));}},{'priority':'high'}),_0x1c4bcd['data']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x16014f,_0x285e36,_0x51f80e)=>{_0x51f80e['options']['showSuggestionHighlights']&&downcastSplitMergeMarker$1(_0x1c4bcd,'split',{'showActiveMarker':!0x1})['bind'](this)(_0x16014f,_0x285e36,_0x51f80e);},{'priority':'high'});}}class _0x1b6086 extends ckeditor5['Plugin']{['afterInit'](){if(!this['editor']['plugins']['has']('FindAndReplaceEditing'))return;const _0x394ece=this['editor']['plugins']['get']('TrackChangesEditing');_0x394ece['enableCommand']('find',this['handleFindCommand']['bind'](this)),_0x394ece['enableCommand']('findNext'),_0x394ece['enableCommand']('findPrevious'),_0x394ece['enableCommand']('replace'),_0x394ece['enableCommand']('replaceAll');}['handleFindCommand'](_0x36801f,_0x480542,_0x133437={}){const _0x2a28fe=this['editor']['plugins']['get']('FindAndReplaceUtils');return _0x36801f(_0x4e473e=>{let _0x251d11=('string'==typeof _0x480542?_0x2a28fe['findByTextCallback'](_0x480542,_0x133437):_0x480542)(_0x4e473e);Array['isArray'](_0x251d11)&&(_0x251d11={'results':_0x251d11,'searchText':'string'==typeof _0x480542?_0x480542:''});const _0x4d8550=_0x251d11['results']['filter'](_0x4a8aed=>!0x1===this['_isInDeletionRange'](_0x4a8aed,_0x4e473e['item']));return{..._0x251d11,'results':_0x4d8550};},_0x133437);}['_isInDeletionRange'](_0x2190e9,_0x5a6b9b){const _0x5107aa=this['editor']['model']['createRange'](this['editor']['model']['createPositionAt'](_0x5a6b9b,_0x2190e9['start']),this['editor']['model']['createPositionAt'](_0x5a6b9b,_0x2190e9['end']));for(const _0x567df5 of this['editor']['model']['markers']['getMarkersGroup']('suggestion:deletion'))if(null!==_0x5107aa['getIntersection'](_0x567df5['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 _0x2dd64c=this['editor']['locale'],_0x80639c=this['editor']['plugins']['get']('TrackChangesEditing');for(const {pluginName:_0x1e0843,commandName:_0x2beaf8}of fontPlugins)this['editor']['plugins']['has'](_0x1e0843)&&(_0x80639c['enableDefaultAttributesIntegration'](_0x2beaf8),_0x80639c['registerInlineAttribute'](_0x2beaf8));_0x80639c['descriptionFactory']['registerAttributeLabel']('fontSize',getTranslation$1(_0x2dd64c,'FORMAT_FONT_SIZE')),_0x80639c['descriptionFactory']['registerAttributeLabel']('fontFamily',getTranslation$1(_0x2dd64c,'FORMAT_FONT_FAMILY')),_0x80639c['descriptionFactory']['registerAttributeLabel']('fontColor',getTranslation$1(_0x2dd64c,'FORMAT_FONT_COLOR')),_0x80639c['descriptionFactory']['registerAttributeLabel']('fontBackgroundColor',getTranslation$1(_0x2dd64c,'FORMAT_FONT_BACKGROUND')),this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0x49939b=this['editor'],_0x4a6cb3=_0x49939b['locale'];_0x49939b['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x3b519e=>{const _0x50bbfd=_0x4a6cb3['t'];if('formatInline'!=_0x3b519e['type'])return;const {data:_0x55fdbe}=_0x3b519e;if(null!=_0x55fdbe){if('fontSize'==_0x55fdbe['commandName']){const _0x43063a=_0x55fdbe['commandParams'][0x0]['value'];if(_0x43063a){const _0x2149f0=_0x50bbfd(this['editor']['plugins']['get']('FontSize')['normalizeSizeOptions'](this['editor']['config']['get']('fontSize.options'))['find'](_0x2322a9=>_0x2322a9['model']==_0x43063a)['title'])['toLowerCase']();return{'type':'format','content':getTranslation$1(_0x4a6cb3,'*Set\x20font\x20size:*\x20%0',_0x2149f0)};}return{'type':'format','content':getTranslation$1(_0x4a6cb3,'*Reset\x20font\x20size*')};}if('fontFamily'==_0x55fdbe['commandName']){const _0x5a1975=_0x55fdbe['commandParams'][0x0]['value'];return _0x5a1975?{'type':'format','content':getTranslation$1(_0x4a6cb3,'*Set\x20font\x20family:*\x20%0',_0x5a1975)}:{'type':'format','content':getTranslation$1(_0x4a6cb3,'*Reset\x20font\x20family*')};}if('fontColor'==_0x55fdbe['commandName']){const _0x11bd07=_0x55fdbe['commandParams'][0x0]['value'];if(_0x11bd07){const _0xc627a2=ckeditor5['normalizeColorOptions'](this['editor']['config']['get']('fontColor.colors'))['find'](_0x13c699=>_0x13c699['model']==_0x11bd07);let _0x1eaa1b=_0x11bd07,_0x4e09b0='';return _0xc627a2&&(_0x1eaa1b=_0xc627a2['label'],_0x4e09b0=_0x50bbfd(_0x1eaa1b)['toLowerCase']()),{'type':'format','content':getTranslation$1(_0x4a6cb3,'*Set\x20font\x20color:*\x20%0',_0x4e09b0)['trim'](),'color':{'value':_0x11bd07,'title':_0x4e09b0||_0x1eaa1b}};}return{'type':'format','content':getTranslation$1(_0x4a6cb3,'*Reset\x20font\x20color*')};}if('fontBackgroundColor'==_0x55fdbe['commandName']){const _0x908c65=_0x55fdbe['commandParams'][0x0]['value'];if(_0x908c65){const _0x29a854=ckeditor5['normalizeColorOptions'](this['editor']['config']['get']('fontBackgroundColor.colors'))['find'](_0x2d7cb9=>_0x2d7cb9['model']==_0x908c65);let _0x56053d=_0x908c65,_0x56f6cc='';return _0x29a854&&(_0x56053d=_0x29a854['label'],_0x56f6cc=_0x50bbfd(_0x56053d)['toLowerCase']()),{'type':'format','content':getTranslation$1(_0x4a6cb3,'*Set\x20font\x20background\x20color:*\x20%0',_0x56f6cc)['trim'](),'color':{'value':_0x908c65,'title':_0x56f6cc||_0x56053d}};}return{'type':'format','content':getTranslation$1(_0x4a6cb3,'*Reset\x20font\x20background\x20color*')};}}});}}class TrackChangesFormatPainter extends ckeditor5['Plugin']{['afterInit'](){const _0x34453a=this['editor'],_0x6f541f=_0x34453a['plugins']['get']('TrackChangesEditing'),_0x4ce851=_0x34453a['commands']['get']('copyFormat'),_0x30a235=_0x34453a['commands']['get']('pasteFormat');_0x4ce851&&_0x30a235&&(_0x6f541f['enableDefaultAttributesIntegration']('pasteFormat'),_0x6f541f['enableCommand']('copyFormat'),this['_registerLegacyDescription']());}['_registerLegacyDescription'](){const _0x3327ef=this['editor'],_0x4b7404=_0x3327ef['locale'];_0x3327ef['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x1bc218=>{if('formatBlock'!=_0x1bc218['type']&&'formatInline'!=_0x1bc218['type'])return;const {data:_0x1521ed}=_0x1bc218;if(_0x1521ed&&'pasteFormat'===_0x1521ed['commandName']){const _0x59e5ad=[],_0x3e76f7=_0x1521ed['commandParams'][0x0];for(const [_0x1d14a2,_0x463976]of Object['entries'](_0x3e76f7))_0x59e5ad['push'](translateFormatting(_0x3327ef,_0x1d14a2,_0x463976));return _0x59e5ad['length']?{'type':'format','content':getTranslation$1(_0x4b7404,'*Set\x20format\x20to:*\x20%0',_0x59e5ad['join'](',\x20'))}:{'type':'format','content':getTranslation$1(_0x4b7404,'*Remove\x20all\x20formatting*')};}});}}function translateFormatting(_0x2c21ba,_0x39333d,_0x1ab25d){const _0x4cef46=_0x2c21ba['locale']['t'],_0x185595=_0x39333d['split'](/(?=[A-Z])/)['join']('\x20'),_0x5b08ed=_0x4cef46(_0x185595['charAt'](0x0)['toUpperCase']()+_0x185595['slice'](0x1))['toLowerCase']();if('boolean'==typeof _0x1ab25d)return _0x5b08ed;if('fontColor'===_0x39333d||'fontBackgroundColor'===_0x39333d){const _0x1102cf=ckeditor5['normalizeColorOptions'](_0x2c21ba['config']['get']('fontColor.colors'))['find'](_0x1ff4cc=>_0x1ff4cc['model']==_0x1ab25d);return _0x5b08ed+'\x20('+(_0x1102cf?_0x4cef46(_0x1102cf['label'])['toLowerCase']():_0x1ab25d)+')';}if('fontSize'===_0x39333d&&isNaN(parseFloat(_0x1ab25d))){const _0x2b2fc5=_0x2c21ba['plugins']['get']('FontSize')['normalizeSizeOptions'](_0x2c21ba['config']['get']('fontSize.options'))['find'](_0x13cea9=>_0x13cea9['model']==_0x1ab25d);return _0x5b08ed+'\x20('+(_0x2b2fc5?_0x4cef46(_0x2b2fc5['title'])['toLowerCase']():_0x1ab25d)+')';}return _0x5b08ed+'\x20('+_0x1ab25d+')';}class _0x3d1288 extends ckeditor5['Plugin']{['_headingOptions'];['afterInit'](){const _0xbee960=this['editor'];if(!_0xbee960['plugins']['has']('HeadingEditing'))return;this['_headingOptions']=_0xbee960['config']['get']('heading.options');const _0x52db72=_0xbee960['locale'],_0x4a2859=_0xbee960['plugins']['get']('TrackChangesEditing');_0x4a2859['enableDefaultAttributesIntegration']('heading');for(const _0x33beb5 of this['_headingOptions'])'paragraph'!=_0x33beb5['model']&&_0x4a2859['descriptionFactory']['registerElementLabel'](_0x33beb5['model'],_0x2a8220=>{const _0x5ac528=this['_getHeadingLevel'](_0x33beb5['model']);return null!==_0x5ac528?_0x6d8cf8(_0x2a8220,_0x5ac528):_0x162169(_0x2a8220,_0x33beb5['title']);});function _0x6d8cf8(_0x17e8f7,_0x45baec){return getTranslation$1(_0x52db72,'ELEMENT_HEADING',[_0x17e8f7,_0x45baec]);}function _0x162169(_0xcc740,_0x2a4b42){return getTranslation$1(_0x52db72,'ELEMENT_HEADING_CUSTOM',[_0xcc740,_0x2a4b42]);}this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0xdbd00d=this['editor'],_0x132df4=_0xdbd00d['locale'];function _0x3b2baa(_0xe1c2c5,_0x20dccc){return getTranslation$1(_0x132df4,'ELEMENT_HEADING_CUSTOM',[_0xe1c2c5,_0x20dccc]);}_0xdbd00d['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x4cf9f8=>{if('formatBlock'!=_0x4cf9f8['type'])return;const {data:_0x19fd7b}=_0x4cf9f8;if(_0x19fd7b&&'heading'==_0x19fd7b['commandName']){const _0x46f39c=_0x19fd7b['commandParams'][0x0]['value'],_0x33e63d=this['_getHeadingLevel'](_0x46f39c);if(null!==_0x33e63d)return{'type':'format','content':getTranslation$1(_0x132df4,'*Change\x20to:*\x20%0',(_0x5b11dc=0x1,_0x32fee5=_0x33e63d,getTranslation$1(_0x132df4,'ELEMENT_HEADING',[_0x5b11dc,_0x32fee5])))};const _0x94eb76=this['_headingOptions']['find'](_0x2a41e8=>_0x2a41e8['model']===_0x46f39c)['title'];return{'type':'format','content':getTranslation$1(_0x132df4,'*Change\x20to:*\x20%0',_0x3b2baa(0x1,_0x94eb76))};}var _0x5b11dc,_0x32fee5;});}['_getHeadingLevel'](_0x3815f2){const _0x1be96d=_0x3815f2['match'](/^heading(\d+)/);if(_0x1be96d)return _0x1be96d[0x1];const _0x1312bf=this['_headingOptions']?.['find'](_0x33cb20=>_0x33cb20['model']==_0x3815f2);if(_0x1312bf&&_0x1312bf['view']){const _0x20646a=_0x1312bf['view'],_0x140217=(_0x20646a['name']??_0x20646a)['match'](/^h(\d+)/);if(_0x140217)return _0x140217[0x1];}return null;}}class TrackChangesHighlight extends ckeditor5['Plugin']{['afterInit'](){const _0x562718=this['editor'];if(!_0x562718['plugins']['has']('HighlightEditing'))return;const _0x3a92cb=_0x562718['plugins']['get']('TrackChangesEditing'),_0x4e5c1f=_0x562718['locale'];_0x3a92cb['enableDefaultAttributesIntegration']('highlight'),_0x3a92cb['registerInlineAttribute']('highlight'),_0x3a92cb['descriptionFactory']['registerAttributeLabel']('highlight',getTranslation$1(_0x4e5c1f,'FORMAT_HIGHLIGHT')),this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0x29d2ab=this['editor'],_0x55c98a=_0x29d2ab['locale'];_0x29d2ab['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x38997c=>{if('formatInline'!=_0x38997c['type'])return;const {data:_0x46565e}=_0x38997c;if(_0x46565e&&'highlight'==_0x46565e['commandName']){const _0x4055e7=_0x55c98a['t'],_0x254cf7=_0x46565e['commandParams'][0x0]['value'];if(_0x254cf7){const _0x332830=_0x29d2ab['config']['get']('highlight.options')['find'](_0x46ed94=>_0x46ed94['model']==_0x254cf7),_0x674bc5=_0x4055e7(_0x332830['title'])['toLowerCase']();return{'type':'format','content':getTranslation$1(_0x55c98a,'*Set\x20highlight:*\x20%0',_0x674bc5),'color':{'value':_0x332830['color'],'title':_0x332830['title']}};}return{'type':'format','content':getTranslation$1(_0x55c98a,'*Remove\x20highlight*',getTranslation$1(_0x55c98a,'FORMAT_HIGHLIGHT'))};}});}}class TrackChangesHorizontalLine extends ckeditor5['Plugin']{['afterInit'](){const _0x53d99a=this['editor'];if(!_0x53d99a['plugins']['has']('HorizontalLineEditing'))return;_0x53d99a['plugins']['get']('TrackChangesEditing')['enableCommand']('horizontalLine');const _0x31dc55=_0x53d99a['plugins']['get']('TrackChangesEditing'),_0x2555cb=_0x53d99a['locale'];_0x31dc55['descriptionFactory']['registerElementLabel']('horizontalLine',_0x527248=>getTranslation$1(_0x2555cb,'ELEMENT_HORIZONTAL_LINE',_0x527248)),_0x53d99a['conversion']['for']('dataDowncast')['elementToStructure']({'model':'horizontalLine','view':(_0x5e9c1e,{writer:_0x53a1b1,options:_0x46dbce})=>{if(!_0x46dbce['showSuggestionHighlights'])return null;const _0x4d3257=_0x53a1b1['createContainerElement']('div'),_0xcf9f8e=_0x53a1b1['createEmptyElement']('hr');return _0x53a1b1['addClass']('ck-horizontal-line',_0x4d3257),_0x53a1b1['insert'](_0x53a1b1['createPositionAt'](_0x4d3257,0x0),_0xcf9f8e),_0x4d3257;},'converterPriority':'high'});}}class TrackChangesHtmlEmbed extends ckeditor5['Plugin']{['afterInit'](){const _0x4d92e7=this['editor'];if(!_0x4d92e7['plugins']['has']('HtmlEmbed'))return;const _0x55f509=_0x4d92e7['plugins']['get']('TrackChangesEditing'),_0x212058=_0x4d92e7['locale'];_0x55f509['descriptionFactory']['registerElementLabel']('rawHtml',_0x53d190=>getTranslation$1(_0x212058,'ELEMENT_HTML_EMBED',_0x53d190)),_0x55f509['enableDefaultAttributesIntegration']('htmlEmbed'),_0x55f509['registerBlockAttribute']('value'),_0x55f509['descriptionFactory']['registerDescriptionCallback'](_0x22e8cb=>{if('attribute'!=_0x22e8cb['type'])return;const {data:_0x2aadf5}=_0x22e8cb;if(_0x2aadf5&&'value'==_0x2aadf5['key']&&_0x22e8cb['getFirstRange']()['start']['nodeAfter']['is']('element','rawHtml')){const _0x469de8=getTranslation$1(_0x212058,'ELEMENT_HTML_EMBED');return{'type':'format','content':getTranslation$1(_0x212058,'*Change\x20%0\x20content*',_0x469de8)};}}),this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0x47055f=this['editor'],_0x128b3a=_0x47055f['locale'];_0x47055f['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x434b07=>{if('formatBlock'!=_0x434b07['type'])return;const {data:_0xf3c0f}=_0x434b07;if(_0xf3c0f&&'htmlEmbed'==_0xf3c0f['commandName']){const _0x134b89=getTranslation$1(_0x128b3a,'ELEMENT_HTML_EMBED');return{'type':'format','content':getTranslation$1(_0x128b3a,'*Change\x20%0\x20content*',_0x134b89)};}});}}class _0x196528 extends ckeditor5['Plugin']{['afterInit'](){const _0x2140bb=this['editor'];if(!_0x2140bb['plugins']['has']('ImageEditing'))return;const _0x293f24=_0x2140bb['plugins']['get']('TrackChangesEditing'),_0x1ffe7c=_0x2140bb['plugins']['get']('ImageUtils'),_0x2c449b=_0x2140bb['locale'];_0x293f24['enableCommand']('insertImage'),_0x293f24['descriptionFactory']['registerElementLabel']('imageBlock',_0x4e3b9d=>getTranslation$1(_0x2c449b,'ELEMENT_IMAGE',_0x4e3b9d)),_0x293f24['descriptionFactory']['registerElementLabel']('imageInline',_0x22950b=>getTranslation$1(_0x2c449b,'ELEMENT_INLINE_IMAGE',_0x22950b)),_0x293f24['descriptionFactory']['registerElementLabel']('caption',()=>getTranslation$1(_0x2c449b,'ELEMENT_CAPTION')),_0x2140bb['plugins']['has']('ImageUploadEditing')&&_0x293f24['enableCommand']('uploadImage'),_0x2140bb['plugins']['has']('ImageBlockEditing')&&_0x2140bb['plugins']['has']('ImageInlineEditing')&&(_0x293f24['enableCommand']('imageTypeInline',(_0x429f22,_0x2db5f5)=>{const _0x3c816c=_0x1ffe7c['getClosestSelectedImageElement'](_0x2140bb['model']['document']['selection']);_0x2140bb['model']['change'](()=>{_0x293f24['markBlockFormat'](_0x3c816c,{'commandName':'imageTypeInline','commandParams':[_0x2db5f5]},[],'convertBlockImageToInline');});}),_0x293f24['enableCommand']('imageTypeBlock',(_0x357eef,_0x3b8992)=>{_0x2140bb['model']['change'](_0x353ba6=>{let _0x5b0a30=_0x1ffe7c['getClosestSelectedImageElement'](_0x2140bb['model']['document']['selection']),_0x148107=_0x353ba6['createRangeOn'](_0x5b0a30);const _0x1e1016=ckeditor5['ModelLivePosition']['fromPosition'](_0x148107['start'],'toPrevious'),_0x5b68e0=ckeditor5['ModelLivePosition']['fromPosition'](_0x148107['end'],'toNext');_0x293f24['forceDefaultExecution'](()=>_0x357eef(_0x3b8992)),_0x5b0a30=_0x1ffe7c['getClosestSelectedImageElement'](_0x2140bb['model']['document']['selection']),_0x148107=_0x353ba6['createRangeOn'](_0x5b0a30);const _0x2f02fc=_0x353ba6['createRange'](_0x1e1016,_0x5b68e0);_0x1e1016['detach'](),_0x5b68e0['detach'](),_0x293f24['markBlockFormat'](_0x5b0a30,{'commandName':'imageTypeInline','commandParams':[_0x3b8992]},[],'convertInlineImageToBlock'),_0x2f02fc['start']['isBefore'](_0x148107['start'])&&_0x293f24['markInsertion'](_0x353ba6['createRange'](_0x2f02fc['start'],_0x148107['start']),'convertInlineImageToBlock'),_0x148107['end']['isBefore'](_0x2f02fc['end'])&&_0x293f24['markInsertion'](_0x353ba6['createRange'](_0x148107['end'],_0x2f02fc['end']),'convertInlineImageToBlock');});}),_0x293f24['_suggestionFactory']['registerCustomCallback']('formatBlock','convertInlineImageToBlock','join',()=>!0x1),_0x293f24['_suggestionFactory']['registerCustomCallback']('formatBlock','convertInlineImageToBlock','accept',()=>!0x1),_0x293f24['_suggestionFactory']['registerCustomCallback']('formatBlock','convertInlineImageToBlock','discard',_0x293f24['_suggestionFactory']['getSuggestionCallback']('formatBlock','','accept')),_0x293f24['_suggestionFactory']['registerCustomCallback']('insertion','convertInlineImageToBlock','join',()=>!0x1),_0x293f24['_suggestionFactory']['registerCustomCallback']('insertion','convertInlineImageToBlock','discard',([_0x40d32c])=>{const _0x59926b=_0x293f24['_suggestionFactory']['getSuggestionCallback']('insertion','','discard');let _0x387f1b=_0x40d32c['start'],_0x463c0d=_0x40d32c['end'];const _0x2c11de=_0x2140bb['model']['schema']['getNearestSelectionRange'](_0x387f1b,'backward'),_0x1a4d13=_0x2140bb['model']['schema']['getNearestSelectionRange'](_0x463c0d,'forward');_0x2c11de['isCollapsed']&&(_0x387f1b=_0x2c11de['start']),_0x1a4d13['isCollapsed']&&(_0x463c0d=_0x1a4d13['end']),_0x59926b([_0x2140bb['model']['createRange'](_0x387f1b,_0x463c0d)]);}),_0x293f24['_suggestionFactory']['registerCustomCallback']('formatBlock','convertInlineImageToBlock','chain',_0x3f3c44),_0x293f24['_suggestionFactory']['registerCustomCallback']('insertion','convertInlineImageToBlock','chain',_0x3f3c44)),_0x2140bb['plugins']['has']('ImageCaptionEditing')&&(_0x293f24['enableCommand']('toggleImageCaption',(_0x571b5b,_0x470426)=>{const _0x176041=_0x2140bb['plugins']['get']('ImageCaptionUtils');let _0x46e9ef=_0x1ffe7c['getClosestSelectedImageElement'](_0x2140bb['model']['document']['selection']),_0x2670d8=_0x176041['getCaptionFromImageModelElement'](_0x46e9ef);_0x2140bb['model']['change'](()=>{if(_0x2670d8)return void _0x293f24['markDeletion'](_0x2140bb['model']['createRangeOn'](_0x2670d8));const _0x1a5210=_0x1ffe7c['isBlockImage'](_0x46e9ef);_0x571b5b(_0x470426),_0x46e9ef=_0x1ffe7c['getClosestSelectedImageElement'](_0x2140bb['model']['document']['selection']),_0x2670d8=_0x176041['getCaptionFromImageModelElement'](_0x46e9ef),_0x293f24['markInsertion'](_0x2140bb['model']['createRangeOn'](_0x2670d8),_0x1a5210?null:'imageCaption');});}),_0x293f24['_suggestionFactory']['registerCustomCallback']('insertion','imageCaption','chain',_0x3f3c44));const _0x1e9239=[{'type':'formatBlock','subType':'imageStylePreApply'},{'type':'insertion','subType':'imageCaption'},{'type':'formatBlock','subType':'convertInlineImageToBlock'},{'type':'insertion','subType':'convertInlineImageToBlock'}];function _0x5a7dc6(_0x2a778c,_0x24f270){const _0x4c1667=_0x1e9239['findIndex'](({type:_0x1682e6,subType:_0x420a6f})=>_0x2a778c['type']==_0x1682e6&&_0x2a778c['subType']==_0x420a6f),_0x1da5d1=_0x1e9239['findIndex'](({type:_0x5a371b,subType:_0x1199f0})=>_0x24f270['type']==_0x5a371b&&_0x24f270['subType']==_0x1199f0);if(_0x4c1667<0x0||_0x1da5d1<0x0)return!0x1;const _0x51deea=_0x2a778c['getFirstRange'](),_0x374d76=_0x24f270['getFirstRange']();if((0x0==_0x4c1667||0x1==_0x4c1667)&&0x2==_0x1da5d1&&_0x51deea['isIntersecting'](_0x374d76))return!0x0;if(0x2==_0x4c1667&&0x3==_0x1da5d1){const _0x4b8ac9=_0x293f24['_findSuggestions'](_0x51deea,'insertion')['filter'](({suggestion:_0x4ea152,meta:_0xfd9e25})=>_0xfd9e25['isOwn']&&'convertInlineImageToBlock'==_0x4ea152['subType']);if(_0x4b8ac9['length']>0x1&&_0x374d76['end']['isEqual'](_0x51deea['start']))return!0x0;if(0x1==_0x4b8ac9['length']&&(_0x51deea['start']['isEqual'](_0x374d76['end'])||_0x51deea['end']['isEqual'](_0x374d76['start'])))return!0x0;}if(0x3==_0x4c1667&&0x3==_0x1da5d1&&_0x51deea['start']['isBefore'](_0x374d76['start'])){const _0x5ae6c7=_0x51deea['end']['nodeAfter'],_0x40984e=_0x374d76['start']['nodeBefore'];return _0x1ffe7c['isBlockImage'](_0x5ae6c7)&&_0x5ae6c7===_0x40984e;}return!0x1;}function _0x3f3c44(_0x4e3725,_0x55eefa){return _0x5a7dc6(_0x4e3725,_0x55eefa)?[_0x4e3725,_0x55eefa]:_0x5a7dc6(_0x55eefa,_0x4e3725)?[_0x55eefa,_0x4e3725]:null;}_0x2140bb['plugins']['has']('ImageResize')&&(_0x293f24['enableDefaultAttributesIntegration']('resizeImage'),_0x293f24['registerBlockAttribute']('resizedWidth'),_0x293f24['descriptionFactory']['registerAttributeLabel']('resizedWidth',getTranslation$1(_0x2c449b,'FORMAT_IMAGE_SIZE'))),_0x2140bb['plugins']['has']('ImageTextAlternativeEditing')&&(_0x293f24['enableDefaultAttributesIntegration']('imageTextAlternative'),_0x293f24['registerBlockAttribute']('alt')),_0x2140bb['plugins']['has']('PictureEditing')&&(_0x293f24['registerBlockAttribute']('sources'),_0x293f24['descriptionFactory']['registerDescriptionCallback'](_0x40959f=>{if('attribute'!=_0x40959f['type'])return;const {data:_0x33e9fb}=_0x40959f;return _0x33e9fb&&'sources'==_0x33e9fb['key']?{'type':'format','content':''}:void 0x0;})),_0x2140bb['plugins']['has']('ImageSizeAttributes')&&(_0x293f24['registerBlockAttribute']('width'),_0x293f24['registerBlockAttribute']('height'),_0x293f24['descriptionFactory']['registerDescriptionCallback'](_0x143aae=>{if('attribute'!=_0x143aae['type'])return;const {data:_0x559620}=_0x143aae;return!_0x559620||'width'!=_0x559620['key']&&'height'!=_0x559620['key']?void 0x0:{'type':'format','content':''};})),_0x293f24['descriptionFactory']['registerDescriptionCallback'](_0x5b84cc=>{if(!!_0x1e9239['find'](({type:_0x5898c9,subType:_0x8041b5})=>_0x5b84cc['type']==_0x5898c9&&_0x5b84cc['subType']==_0x8041b5))return _0x5b84cc['previous']?{}:void 0x0;}),_0x293f24['descriptionFactory']['registerDescriptionCallback'](_0x4878fb=>{if('insertion'==_0x4878fb['type']||'deletion'==_0x4878fb['type']){const _0x909562=_0x4878fb['getContainedElement']();if(_0x909562&&_0x909562['is']('element','caption'))return{'type':'insertion'==_0x4878fb['type']?'addObject':'removeObject','element':_0x909562,'quantity':0x1};}}),_0x293f24['descriptionFactory']['registerDescriptionCallback'](_0x5538fb=>'formatBlock'==_0x5538fb['type']&&'convertInlineImageToBlock'==_0x5538fb['subType']?{'type':'format','content':'Inline\x20image\x20to\x20block\x20image'}:'formatBlock'==_0x5538fb['type']&&'convertBlockImageToInline'==_0x5538fb['subType']?{'type':'format','content':'Block\x20image\x20to\x20inline\x20image'}:void 0x0),_0x293f24['descriptionFactory']['registerDescriptionCallback'](_0x471235=>{if('attribute'!=_0x471235['type'])return;const {data:_0x2e42e3}=_0x471235;if(!_0x2e42e3||'alt'!=_0x2e42e3['key'])return;const _0x17a7d5=_0x2e42e3['newValue'];return _0x17a7d5?{'type':'format','content':getTranslation$1(_0x2c449b,'*Set\x20image\x20text\x20alternative:*\x20%0','\x22'+_0x17a7d5+'\x22')}:{'type':'format','content':getTranslation$1(_0x2c449b,'*Remove\x20image\x20text\x20alternative*')};}),this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0x18c348=this['editor'],_0x20708a=_0x18c348['locale'];_0x18c348['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x36641d=>{if('formatBlock'!=_0x36641d['type']&&'formatInline'!=_0x36641d['type'])return;const {data:_0x19c398}=_0x36641d;if(_0x19c398){if('imageTextAlternative'==_0x19c398['commandName']){const _0x3d0e26=_0x19c398['commandParams'][0x0]['newValue'];return _0x3d0e26?{'type':'format','content':getTranslation$1(_0x20708a,'*Set\x20image\x20text\x20alternative:*\x20%0','\x22'+_0x3d0e26+'\x22')}:{'type':'format','content':getTranslation$1(_0x20708a,'*Remove\x20image\x20text\x20alternative*')};}if('resizeImage'==_0x19c398['commandName']){const _0x1b74a0=_0x19c398['commandParams'][0x0]['width'];return _0x1b74a0?{'type':'format','content':getTranslation$1(_0x20708a,'*Set\x20image\x20width:*\x20%0',_0x1b74a0)}:{'type':'format','content':getTranslation$1(_0x20708a,'*Reset\x20image\x20width*')};}}});}}class _0x405f16 extends ckeditor5['Plugin']{['afterInit'](){if(!this['editor']['plugins']['has']('ImageEditing'))return;const _0x127e79=this['editor']['locale'],_0x2c0f81=this['editor']['plugins']['get']('TrackChangesEditing');_0x2c0f81['enableDefaultAttributesIntegration']('replaceImageSource'),_0x2c0f81['registerBlockAttribute']('src'),_0x2c0f81['descriptionFactory']['registerDescriptionCallback'](_0x427524=>{if('attribute'!=_0x427524['type'])return;const {data:_0x53c680}=_0x427524;return _0x53c680&&'src'==_0x53c680['key']?_0x53c680['newValue']&&_0x53c680['oldValue']?{'type':'format','content':getTranslation$1(_0x127e79,'*Replace\x20image*')}:{'type':'format','content':''}:void 0x0;}),this['_handleLegacySuggestions']();}['_handleLegacySuggestions'](){const _0x443ec2=this['editor']['plugins']['get']('TrackChangesEditing');_0x443ec2['_suggestionFactory']['registerCustomCallback']('formatBlock','replaceImageSource','accept',_0x443ec2['_suggestionFactory']['getSuggestionCallback']('formatBlock',null,'discard')),_0x443ec2['_suggestionFactory']['registerCustomCallback']('formatBlock','replaceImageSource','discard',_0x443ec2['_suggestionFactory']['getSuggestionCallback']('formatBlock',null,'accept')),this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0x1ded3f=this['editor'],_0x216c08=_0x1ded3f['locale'];_0x1ded3f['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x4d3bf5=>{if('formatBlock'!=_0x4d3bf5['type']&&'formatInline'!=_0x4d3bf5['type'])return;const {data:_0x11ec57}=_0x4d3bf5;if(!_0x11ec57||'replaceImageSource'!=_0x11ec57['commandName'])return;return{'type':'format','content':getTranslation$1(_0x216c08,'*Format:*\x20replace\x20image\x20URL')};});}}class TrackChangesImageStyle extends ckeditor5['Plugin']{['afterInit'](){const _0x2579de=this['editor'];if(!_0x2579de['plugins']['has']('ImageStyleEditing'))return;const _0x167824=_0x2579de['plugins']['get']('TrackChangesEditing'),_0x36f9fa=_0x2579de['plugins']['get']('ImageUtils'),_0x50089c={};_0x167824['enableCommand']('imageStyle',(_0x14b5e4,_0x29eeec)=>{const _0x53f312=_0x2579de['plugins']['get']('Users')['me'],_0x147851=_0x2579de['commands']['get']('imageStyle');let _0x3b499e=_0x36f9fa['getClosestSelectedImageElement'](_0x2579de['model']['document']['selection']),_0x8cedd3=_0x2579de['model']['createRangeOn'](_0x3b499e),_0x410156=_0x147851['value'];if(_0x410156==_0x29eeec['value'])return;const _0x2e3622={'commandName':'imageStyle','commandParams':[_0x29eeec],'formatGroupId':ckeditor5['uid']()};_0x2579de['model']['change'](()=>{if(_0x167824['getSuggestions']()['filter'](_0x495b3b=>_0x495b3b['isInContent']&&_0x53f312==_0x495b3b['author']&&('formatBlock'==_0x495b3b['type']||'formatInline'==_0x495b3b['type'])&&('imageStylePreApply'==_0x495b3b['subType']||'imageStylePostApply'==_0x495b3b['subType'])&&_0x495b3b['getFirstRange']()['isEqual'](_0x8cedd3))['forEach'](_0x30a0df=>_0x167824['discardSuggestion'](_0x30a0df['head'])),_0x3b499e=_0x36f9fa['getClosestSelectedImageElement'](_0x2579de['model']['document']['selection']),_0x8cedd3=_0x2579de['model']['createRangeOn'](_0x3b499e),_0x147851['refresh'](),_0x2579de['commands']['get']('imageTypeInline')['refresh'](),_0x2579de['commands']['get']('imageTypeBlock')['refresh'](),_0x410156=_0x147851['value'],_0x410156!=_0x29eeec['value'])return _0x36f9fa['isInlineImage'](_0x3b499e)&&_0x147851['shouldConvertImageType'](_0x29eeec['value'],_0x3b499e)?(_0x14b5e4({..._0x29eeec,'setImageSizes':!0x1}),_0x3b499e=_0x36f9fa['getClosestSelectedImageElement'](_0x2579de['model']['document']['selection']),void _0x167824['markBlockFormat'](_0x3b499e,{..._0x2e3622,'commandReversedParams':[{'value':_0x410156||null,'setImageSizes':!0x1}]},[],'imageStylePreApply')):void(_0x36f9fa['isBlockImage'](_0x3b499e)?_0x167824['markBlockFormat'](_0x3b499e,_0x2e3622,[],'imageStylePostApply'):_0x167824['markInlineFormat'](_0x8cedd3,_0x2e3622,'imageStylePostApply'));});});for(const _0x311d13 of _0x2579de['plugins']['get']('ImageStyleEditing')['normalizedStyles'])_0x50089c[_0x311d13['name']]=_0x311d13['title']['toLowerCase']();_0x167824['_suggestionFactory']['registerCustomCallback']('formatBlock','imageStylePreApply','join',()=>!0x1),_0x167824['_suggestionFactory']['registerCustomCallback']('formatBlock','imageStylePostApply','join',()=>!0x1),_0x167824['_suggestionFactory']['registerCustomCallback']('formatInline','imageStylePostApply','join',()=>!0x1),_0x167824['_suggestionFactory']['registerCustomCallback']('formatBlock','imageStylePreApply','accept',([_0x2a4e3c])=>{_0x36f9fa['setImageNaturalSizeAttributes'](_0x2a4e3c['getContainedElement']());}),_0x167824['_suggestionFactory']['registerCustomCallback']('formatBlock','imageStylePreApply','discard',(_0x3db274,_0x329882)=>{_0x167824['_suggestionFactory']['getSuggestionCallback']('formatBlock','','accept')(_0x3db274,{'commandName':_0x329882['commandName'],'commandParams':_0x329882['commandReversedParams']});}),_0x167824['_suggestionFactory']['registerCustomCallback']('formatBlock','imageStylePreApply','chain',function(_0x477de7,_0x331bdf){if(_0x3fe7e9(_0x477de7,_0x331bdf))return[_0x477de7,_0x331bdf];if(_0x3fe7e9(_0x331bdf,_0x477de7))return[_0x331bdf,_0x477de7];return null;});const _0x2fbffe=[{'type':'formatBlock','subType':'imageStylePreApply'},{'type':'insertion','subType':'imageCaption'},{'type':'formatBlock','subType':'convertInlineImageToBlock'},{'type':'insertion','subType':'convertInlineImageToBlock'}];function _0x3fe7e9(_0x39ce75,_0x1d7574){const _0x58272a=_0x2fbffe['findIndex'](({type:_0x5b78d2,subType:_0x1944f3})=>_0x39ce75['type']==_0x5b78d2&&_0x39ce75['subType']==_0x1944f3),_0x420d7f=_0x2fbffe['findIndex'](({type:_0x1046d6,subType:_0x57cc03})=>_0x1d7574['type']==_0x1046d6&&_0x1d7574['subType']==_0x57cc03);if(_0x58272a<0x0||_0x420d7f<0x0)return!0x1;const _0x2caa78=_0x39ce75['getFirstRange'](),_0x4da63d=_0x1d7574['getFirstRange']();if((0x0==_0x58272a||0x1==_0x58272a)&&0x2==_0x420d7f&&_0x2caa78['isIntersecting'](_0x4da63d))return!0x0;if(0x2==_0x58272a&&0x3==_0x420d7f){const _0x18b2ec=_0x167824['_findSuggestions'](_0x2caa78,'insertion')['filter'](({suggestion:_0x2c551d,meta:_0x5db1cf})=>_0x5db1cf['isOwn']&&'convertInlineImageToBlock'==_0x2c551d['subType']);if(_0x18b2ec['length']>0x1&&_0x4da63d['end']['isEqual'](_0x2caa78['start']))return!0x0;if(0x1==_0x18b2ec['length']&&(_0x2caa78['start']['isEqual'](_0x4da63d['end'])||_0x2caa78['end']['isEqual'](_0x4da63d['start'])))return!0x0;}if(0x3==_0x58272a&&0x3==_0x420d7f&&_0x2caa78['start']['isBefore'](_0x4da63d['start'])){const _0x2dd7cd=_0x2caa78['end']['nodeAfter'],_0xf2b51a=_0x4da63d['start']['nodeBefore'];return _0x36f9fa['isBlockImage'](_0x2dd7cd)&&_0x2dd7cd===_0xf2b51a;}return!0x1;}_0x2579de['model']['document']['registerPostFixer'](()=>{let _0x2418ee=!0x1;const _0xb4e634=Array['from'](_0x2579de['model']['document']['differ']['getChangedMarkers']());for(const {name:_0x274ae2,data:_0x28a1b4}of _0xb4e634){const {group:_0x47f290,type:_0x31b391,subType:_0x14b399,id:_0x511eaf}=_0x167824['_splitMarkerName'](_0x274ae2);if('suggestion'==_0x47f290&&_0x167824['hasSuggestion'](_0x511eaf)){if('formatBlock'==_0x31b391&&('imageStylePreApply'==_0x14b399||'imageStylePostApply'==_0x14b399)){const _0x2a19b4=_0x167824['getSuggestion'](_0x511eaf);if(_0x28a1b4['newRange']){const _0x1036ee=_0x2a19b4['getFirstRange']()['getContainedElement']();if(_0x36f9fa['isBlockImage'](_0x1036ee))continue;_0x167824['discardSuggestion'](_0x2a19b4),_0x2418ee=!0x0;}}if('insertion'==_0x31b391&&'imageCaption'==_0x14b399&&!_0x28a1b4['newRange']){const _0x3a50d1=_0x167824['getSuggestion'](_0x511eaf);_0x3a50d1['next']&&_0x3a50d1['next']['isInContent']&&(_0x167824['discardSuggestion'](_0x3a50d1['next']),_0x2418ee=!0x0);}}}return _0x2418ee;}),this['_registerLegacyDescription'](_0x50089c);}['_registerLegacyDescription'](_0x331bda){const _0x5f2683=this['editor'],_0x5a2657=_0x5f2683['locale'];_0x5f2683['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0xe744a6=>{if('formatBlock'!=_0xe744a6['type']&&'formatInline'!=_0xe744a6['type'])return;const {data:_0x4fb59b}=_0xe744a6;if(!_0x4fb59b||'imageStyle'!=_0x4fb59b['commandName'])return;const _0x17c0c2=_0x4fb59b['commandParams'][0x0]['value'];return _0x4f7ca7('side'===_0x17c0c2?getTranslation$1(_0x5a2657,'FORMAT_SIDE_IMAGE'):_0x331bda[_0x17c0c2]||_0x17c0c2);function _0x4f7ca7(_0x3dd842){return{'type':'format','content':getTranslation$1(_0x5a2657,'*Format:*\x20%0',_0x3dd842)};}});}}class TrackChangesImportWord extends ckeditor5['Plugin']{['_trackChangesValueDuringImport'];['_trackChangesExecuted'];constructor(_0x3a577b){super(_0x3a577b),this['_trackChangesValueDuringImport']=!0x1,this['_trackChangesExecuted']=!0x1;}['afterInit'](){const _0xba56eb=this['editor'],_0x4c832f=_0xba56eb['commands']['get']('importWord'),_0x399315=_0xba56eb['commands']['get']('trackChanges');_0x4c832f&&(_0x4c832f['on']('execute',(_0x56345d,[,_0x29185b])=>{this['_trackChangesValueDuringImport']=_0x399315['value'],_0x29185b['collaboration_features']['track_changes']=!this['_trackChangesValueDuringImport'];},{'priority':'high'}),this['listenTo'](_0x4c832f,'dataInsert',this['_handleImportedData']['bind'](this)),this['listenTo'](_0x4c832f,'dataInsert',()=>{this['_trackChangesExecuted']&&(_0x399315['execute'](),this['_trackChangesExecuted']=!0x1);},{'priority':'lowest'}),_0xba56eb['plugins']['get']('TrackChangesEditing')['enableCommand']('importWord'));}['_handleImportedData'](_0x2b0e4e,_0x1a81c0){const {suggestions:_0x38f9c5}=_0x1a81c0,_0x131de2=this['editor']['commands']['get']('trackChanges'),_0x19e504=_0x131de2['value'];this['_trackChangesValueDuringImport']!==_0x19e504&&(_0x131de2['execute'](),this['_trackChangesExecuted']=!0x0),_0x38f9c5&&_0x38f9c5['forEach'](({id:_0x23ccbb,type:_0x5a5401,author:_0x1f2922,created_at:_0x589efd})=>{const _0x1a7233={'id':_0x23ccbb,'type':_0x5a5401,'authorId':this['editor']['plugins']['get']('Users')['me']['id'],'createdAt':new Date(),'data':null,'hasComments':!0x1,'attributes':{'@external':{'authorName':_0x1f2922,'createdAt':_0x589efd?new Date(_0x589efd):new Date(),'source':'importWord'}}};this['editor']['plugins']['get']('TrackChangesEditing')['_setSuggestionData'](_0x1a7233);});}}class TrackChangesIndent extends ckeditor5['Plugin']{['afterInit'](){const _0x3ac2b2=this['editor'],_0x592df7=_0x3ac2b2['plugins']['get']('TrackChangesEditing');if(_0x3ac2b2['plugins']['has']('IndentEditing')&&(_0x592df7['enableCommand']('indent'),_0x592df7['enableCommand']('outdent')),_0x3ac2b2['plugins']['has']('IndentBlock')){for(const _0x458c06 of['indentBlock','outdentBlock'])_0x592df7['enableDefaultAttributesIntegration'](_0x458c06);}const _0x4e3e90=_0x3ac2b2['locale'];_0x592df7['registerBlockAttribute']('blockIndent'),_0x592df7['descriptionFactory']['registerAttributeLabel']('blockIndent',getTranslation$1(_0x4e3e90,'FORMAT_INDENT')),this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0x300a38=this['editor'],_0x3c63f2=_0x300a38['locale'],_0x48abb0=_0x300a38['plugins']['get']('TrackChangesEditing');_0x48abb0['descriptionFactory']['registerDescriptionCallback'](_0x3d99b5=>{if('formatBlock'!=_0x3d99b5['type'])return;const {data:_0xe8db50}=_0x3d99b5;if(!_0xe8db50)return;if('indentBlock'!=_0xe8db50['commandName']&&'outdentBlock'!=_0xe8db50['commandName'])return;const _0x4198df=_0x3d99b5['getItems']()[0x0],_0x4babd5=_0x48abb0['descriptionFactory']['getItemLabel'](_0x4198df);return'indentBlock'==_0xe8db50['commandName']?{'type':'format','content':getTranslation$1(_0x3c63f2,'*Indent:*\x20%0',_0x4babd5)}:'outdentBlock'==_0xe8db50['commandName']?{'type':'format','content':getTranslation$1(_0x3c63f2,'*Outdent:*\x20%0',_0x4babd5)}:void 0x0;});}}class TrackChangesInputCommand extends ckeditor5['Plugin']{static get['requires'](){return[ckeditor5['Input']];}['init'](){this['editor']['plugins']['get']('TrackChangesEditing')['enableCommand']('input');}}class _0x233b6d extends ckeditor5['Plugin']{['afterInit'](){const _0x478982=this['editor'];if(!_0x478982['plugins']['has']('LinkEditing'))return;const _0xfee4c=_0x478982['plugins']['get']('TrackChangesEditing'),_0x235dbb=_0x478982['commands']['get']('link');_0xfee4c['enableDefaultAttributesIntegration']('link'),_0xfee4c['enableDefaultAttributesIntegration']('unlink'),_0xfee4c['registerInlineAttribute']('linkHref');for(const _0x5f5d3e of _0x235dbb['manualDecorators'])_0xfee4c['registerInlineAttribute'](_0x5f5d3e['id']),_0xfee4c['descriptionFactory']['registerAttributeLabel'](_0x5f5d3e['id'],'link\x20('+_0x5f5d3e['label']['toLowerCase']()+')');_0xfee4c['descriptionFactory']['registerDescriptionCallback'](_0x21e22d=>{if('attribute'!=_0x21e22d['type'])return;const {data:_0x114d54}=_0x21e22d;if(!_0x114d54||'linkHref'!=_0x114d54['key'])return;const _0x3f4f33=_0x114d54['newValue'],_0x573f2c=_0x478982['locale'];return{'type':'format','content':null==_0x3f4f33?getTranslation$1(_0x573f2c,'*Remove\x20link*'):getTranslation$1(_0x573f2c,'*Set\x20link:*\x20%0','\x22'+_0x3f4f33+'\x22')};}),this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0x18669c=this['editor'],_0x4f1984=_0x18669c['locale'];_0x18669c['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x2f11d1=>{if('formatInline'!=_0x2f11d1['type'])return;const {data:_0x31e7ea}=_0x2f11d1;if(_0x31e7ea){if('link'==_0x31e7ea['commandName']){const _0x11f355=_0x31e7ea['commandParams'][0x0];return{'type':'format','content':getTranslation$1(_0x4f1984,'*Set\x20link:*\x20%0','\x22'+_0x11f355+'\x22')};}return'unlink'==_0x31e7ea['commandName']?{'type':'format','content':getTranslation$1(_0x4f1984,'*Remove\x20link*')}:void 0x0;}});}}class TrackChangesLegacyList extends ckeditor5['Plugin']{['afterInit'](){const _0xaafa4c=this['editor'],_0x3a5d0c=_0xaafa4c['locale'];if(!_0xaafa4c['plugins']['has']('LegacyListEditing'))return;const _0x28e5bd=_0xaafa4c['plugins']['get']('TrackChangesEditing'),_0x23ef1e=_0xaafa4c['plugins']['has']('LegacyTodoListEditing');function _0x1252cb(_0x3648af){return()=>{const _0x12c22f=_0xaafa4c['model']['document']['selection'],_0x1d0cf4=_0xaafa4c['commands']['get'](_0x3648af);if(_0x1d0cf4['value'])return void _0xaafa4c['execute']('paragraph',{});const _0x4534af=_0x3648af['slice'](0x0,-0x4),_0x43fb46=getBlocksToMarkForListTypeChange(_0x12c22f['getSelectedBlocks'](),_0x4534af,_0xaafa4c['model']['schema']);_0xaafa4c['model']['change'](()=>{for(const _0x139d4d of _0x43fb46)_0x28e5bd['markBlockFormat'](_0x139d4d,{'commandName':_0x3648af,'commandParams':[{'forceValue':!_0x1d0cf4['value']}],'formatGroupId':'blockName'},getBlocksAffectedByListTypeChange(_0x139d4d));});};}function _0xa13a77(_0x5cbc75){return()=>{const _0x321122=getBlocksToMarkForIndentChange(_0xaafa4c['model']['document']['selection']['getSelectedBlocks']()),_0x170653=_0xaafa4c['model']['createRange'](_0xaafa4c['model']['createPositionAt'](_0x321122[0x0],'before'),_0xaafa4c['model']['createPositionAt'](_0x321122[_0x321122['length']-0x1],'end'));_0xaafa4c['model']['change'](()=>{_0x28e5bd['markBlockFormat'](_0x170653,{'commandName':_0x5cbc75,'commandParams':[],'formatGroupId':'listIndent'},getBlocksAffectedByIndent(_0x321122));});};}_0x28e5bd['enableCommand']('numberedList',_0x1252cb('numberedList')),_0x28e5bd['enableCommand']('bulletedList',_0x1252cb('bulletedList')),_0x23ef1e&&_0x28e5bd['enableCommand']('todoList',_0x1252cb('todoList')),_0x28e5bd['enableCommand']('indentList',_0xa13a77('indentList')),_0x28e5bd['enableCommand']('outdentList',_0xa13a77('outdentList')),_0x23ef1e&&_0x28e5bd['enableCommand']('checkTodoList',()=>{const _0x41d17f=_0xaafa4c['commands']['get']('checkTodoList'),_0x18f80c=Array['from'](_0x41d17f['_selectedElements']);_0x18f80c['filter'](_0x181c2f=>_0x181c2f['getAttribute']('todoListChecked')!=_0x41d17f['value']),_0xaafa4c['model']['change'](()=>{for(const _0x474e32 of _0x18f80c)_0x28e5bd['markBlockFormat'](_0x474e32,{'commandName':'checkTodoList','commandParams':[{'forceValue':!_0x41d17f['value']}]});});}),_0x28e5bd['descriptionFactory']['registerElementLabel']('listItem',_0x1fba53=>getTranslation$1(_0x3a5d0c,'ELEMENT_LIST_ITEM',_0x1fba53)),_0x28e5bd['descriptionFactory']['registerDescriptionCallback'](_0x333f32=>{if('formatBlock'!=_0x333f32['type']&&'formatInline'!=_0x333f32['type'])return;const {data:_0x414c4c}=_0x333f32;if(_0x414c4c){if('numberedList'==_0x414c4c['commandName']||'bulletedList'==_0x414c4c['commandName']||'todoList'==_0x414c4c['commandName'])switch(_0x414c4c['commandName']['replace']('List','')){case'bulleted':return _0x450aec(getTranslation$1(_0x3a5d0c,'ELEMENT_BULLETED_LIST'));case'numbered':return _0x450aec(getTranslation$1(_0x3a5d0c,'ELEMENT_NUMBERED_LIST'));case'todo':return _0x450aec(getTranslation$1(_0x3a5d0c,'ELEMENT_TODO_LIST'));}if('indentList'==_0x414c4c['commandName'])return{'type':'format','content':getTranslation$1(_0x3a5d0c,'*Indent:*\x20%0',getTranslation$1(_0x3a5d0c,'ELEMENT_LIST_ITEM'))};if('outdentList'==_0x414c4c['commandName'])return{'type':'format','content':getTranslation$1(_0x3a5d0c,'*Outdent:*\x20%0',getTranslation$1(_0x3a5d0c,'ELEMENT_LIST_ITEM'))};if('checkTodoList'==_0x414c4c['commandName'])return _0x414c4c['commandParams'][0x0]['forceValue']?{'type':'format','content':getTranslation$1(_0x3a5d0c,'*Check\x20item*')}:{'type':'format','content':getTranslation$1(_0x3a5d0c,'*Uncheck\x20item*')};}function _0x450aec(_0x144152){return{'type':'format','content':getTranslation$1(_0x3a5d0c,'*Change\x20to:*\x20%0',_0x144152)};}});}}function getBlocksToMarkForListTypeChange(_0x48a98f,_0x4a045a,_0x3de4e0){let _0x39d2b8=Array['from'](_0x48a98f)['filter'](_0x51567a=>checkCanBecomeListItem(_0x51567a,_0x3de4e0));_0x39d2b8=_0x39d2b8['filter'](_0x5ce0eb=>!_0x5ce0eb['is']('element','listItem')||_0x5ce0eb['getAttribute']('listType')!=_0x4a045a);const _0x482e70=new Set();for(const _0x21b6da of _0x39d2b8)_0x21b6da['is']('element','listItem')?_0x482e70['add'](getListHead(_0x21b6da)):_0x482e70['add'](_0x21b6da);return Array['from'](_0x482e70);}function checkCanBecomeListItem(_0x54fcaa,_0x14d4bd){return _0x14d4bd['checkChild'](_0x54fcaa['parent'],'listItem')&&!_0x14d4bd['isObject'](_0x54fcaa);}function getBlocksToMarkForIndentChange(_0x3c6a47){let _0x1f2662=Array['from'](_0x3c6a47);const _0x2f550d=_0x1f2662['findIndex'](_0x5f0722=>'listItem'!=_0x5f0722['name']);return _0x2f550d>-0x1&&(_0x1f2662=_0x1f2662['slice'](0x0,_0x2f550d)),_0x1f2662;}function getListHead(_0x118663){const _0x2edcd3=_0x118663['getAttribute']('listIndent');if(0x0==_0x2edcd3)return _0x118663;let _0x5d777d=_0x118663;for(;_0x118663['previousSibling']&&_0x118663['previousSibling']['is']('element','listItem');){const _0x41cc15=_0x118663['previousSibling']['getAttribute']('listIndent');if(_0x41cc15==_0x2edcd3)_0x5d777d=_0x118663['previousSibling'];else{if(_0x41cc15<_0x2edcd3)break;}_0x118663=_0x118663['previousSibling'];}return _0x5d777d;}function getBlocksAffectedByListTypeChange(_0x39370f){const _0x3ae84b=[];if(_0x39370f['is']('element','listItem')&&_0x39370f['getAttribute']('listIndent')>0x0){let _0x40d1eb=_0x39370f['nextSibling'];for(;_0x40d1eb&&'listItem'==_0x40d1eb['name']&&_0x40d1eb['getAttribute']('listIndent')==_0x39370f['getAttribute']('listIndent');)_0x3ae84b['push'](_0x40d1eb),_0x40d1eb=_0x40d1eb['nextSibling'];}return _0x3ae84b;}function getBlocksAffectedByIndent(_0x5d4567){const _0x4d3c97=new Set();for(const _0x3e63c8 of _0x5d4567){let _0x25c309=_0x3e63c8['nextSibling'];for(;_0x25c309&&_0x25c309['getAttribute']('listIndent')>_0x3e63c8['getAttribute']('listIndent');)_0x4d3c97['add'](_0x25c309),_0x25c309=_0x25c309['nextSibling'];}return Array['from'](_0x4d3c97);}class TrackChangesLegacyListProperties extends ckeditor5['Plugin']{['afterInit'](){if(!this['editor']['plugins']['has']('LegacyListPropertiesEditing'))return;const _0x43c205=this['editor']['config']['get']('list.properties'),_0x21b7f2=this['editor']['plugins']['get']('TrackChangesEditing');_0x43c205['styles']&&_0x21b7f2['enableCommand']('listStyle',this['handleListStyleCommand']['bind'](this)),_0x43c205['reversed']&&_0x21b7f2['enableCommand']('listReversed',this['handleListReversedCommand']['bind'](this)),_0x43c205['startIndex']&&_0x21b7f2['enableCommand']('listStart',this['handleListStartCommand']['bind'](this)),_0x21b7f2['descriptionFactory']['registerDescriptionCallback'](this['handleDescriptions']['bind'](this));}['handleListStyleCommand'](_0x301c93,_0xdfc8d7={}){const _0x31aa7f=this['editor']['plugins']['get']('TrackChangesEditing'),_0xd12dd3=this['_getSuggestionBlocksForListStyle']();this['editor']['model']['change'](()=>{_0x31aa7f['markMultiRangeBlockFormat'](_0xd12dd3,{'commandName':'listStyle','commandParams':[{'type':_0xdfc8d7['type']}],'formatGroupId':'listStyle'});});}['handleListReversedCommand'](_0x1277e6,_0x22fcf2={}){const _0xf3e2c4=this['editor']['plugins']['get']('TrackChangesEditing'),_0x4757c7=this['_getSuggestionBlocks'](_0x447c0d=>_0x447c0d['is']('element','listItem')&&'numbered'===_0x447c0d['getAttribute']('listType'));if(_0x4757c7['length']<0x1)return;const _0x553ff6=_0x4757c7['map'](_0x509f4e=>this['editor']['model']['createRange'](this['editor']['model']['createPositionAt'](_0x509f4e,'before'),this['editor']['model']['createPositionAt'](_0x509f4e,0x0)));this['editor']['model']['change'](()=>{_0xf3e2c4['markMultiRangeBlockFormat'](_0x553ff6,{'commandName':'listReversed','commandParams':[{'reversed':_0x22fcf2['reversed']}],'formatGroupId':'listReversed'});});}['handleListStartCommand'](_0x50f62f,_0x3e1335={}){const _0x20b927=this['editor']['plugins']['get']('TrackChangesEditing'),_0x20e553=this['_getSuggestionBlocks'](_0x34347a=>_0x34347a['is']('element','listItem')&&'numbered'===_0x34347a['getAttribute']('listType'));if(_0x20e553['length']<0x1)return;const _0x2e64b7=_0x20e553['map'](_0x4fbcef=>this['editor']['model']['createRange'](this['editor']['model']['createPositionAt'](_0x4fbcef,'before'),this['editor']['model']['createPositionAt'](_0x4fbcef,0x0)));this['editor']['model']['change'](()=>{_0x20b927['markMultiRangeBlockFormat'](_0x2e64b7,{'commandName':'listStart','commandParams':[{'startIndex':_0x3e1335['startIndex']}],'formatGroupId':'listStart'});});}['handleDescriptions'](_0xe7002a){if('formatBlock'!=_0xe7002a['type']&&'formatInline'!=_0xe7002a['type'])return;const _0x9bb4d=this['editor']['locale'],{data:_0x4f7a2b}=_0xe7002a;if(!_0x4f7a2b)return;let _0x3e0ee0,_0x358ed1;switch(_0x4f7a2b['commandName']){case'listStyle':_0x3e0ee0='*Change\x20to:*\x20%0',_0x358ed1={'type':'format','content':getTranslation$1(_0x9bb4d,_0x3e0ee0,getTranslation$1(_0x9bb4d,this['_getTranslationKeyForListStyle'](_0x4f7a2b['commandParams'][0x0]['type'])))};break;case'listReversed':_0x3e0ee0=_0x4f7a2b['commandParams'][0x0]['reversed']?'*Format:*\x20set\x20order\x20to\x20reversed':'*Format:*\x20set\x20order\x20to\x20regular',_0x358ed1={'type':'format','content':getTranslation$1(_0x9bb4d,_0x3e0ee0)};break;case'listStart':_0x3e0ee0='*Format:*\x20set\x20start\x20index\x20to\x20%0',_0x358ed1={'type':'format','content':getTranslation$1(_0x9bb4d,_0x3e0ee0,_0x4f7a2b['commandParams'][0x0]['startIndex'])};}return _0x358ed1;}['_getSuggestionBlocksForListStyle'](){const _0x4356fa=this['editor']['plugins']['get']('LegacyListUtils');let _0x444437=Array['from'](this['editor']['model']['document']['selection']['getSelectedBlocks']());return _0x444437[0x0]?.['is']('element','listItem')&&_0x444437['unshift'](..._0x4356fa['getSiblingNodes'](this['editor']['model']['document']['selection']['getFirstPosition'](),'backward')),_0x444437[_0x444437['length']-0x1]?.['is']('element','listItem')&&_0x444437['push'](..._0x4356fa['getSiblingNodes'](this['editor']['model']['document']['selection']['getLastPosition'](),'forward')),_0x444437=[...new Set(_0x444437)],this['editor']['model']['document']['selection']['getFirstPosition']()?.['parent']?.['is']('element','listItem')&&(_0x444437=_0x444437['filter'](_0x3dc7d4=>_0x3dc7d4['is']('element','listItem'))),_0x444437;}['_getSuggestionBlocks'](_0x5e7718){const _0x21cc9c=this['editor']['plugins']['get']('LegacyListUtils');let _0xf0aa45=Array['from'](this['editor']['model']['document']['selection']['getSelectedBlocks']())['filter'](_0x5e7718)['map'](_0x4b437d=>{const _0x311b20=this['editor']['model']['createPositionAt'](_0x4b437d,0x0);return[..._0x21cc9c['getSiblingNodes'](_0x311b20,'backward'),..._0x21cc9c['getSiblingNodes'](_0x311b20,'forward')];})['flat']();return _0xf0aa45=[...new Set(_0xf0aa45)],_0xf0aa45;}['_getTranslationKeyForListStyle'](_0x1c7e87){return'ELEMENT_'+(this['editor']['plugins']['get']('LegacyListUtils')['getListTypeFromListStyleType'](_0x1c7e87)||'default')['toUpperCase']()+'_LIST_'+_0x1c7e87['toUpperCase']()['replace'](/-/g,'_');}}class _0xb804f0 extends ckeditor5['Plugin']{['afterInit'](){const _0x4a8d02=this['editor'];if(!_0x4a8d02['plugins']['has']('MediaEmbedEditing'))return;const _0x2e7613=_0x4a8d02['plugins']['get']('TrackChangesEditing'),_0x588a6c=_0x4a8d02['locale'];_0x2e7613['enableCommand']('mediaEmbed'),_0x2e7613['descriptionFactory']['registerElementLabel']('media',_0x5d0a4a=>getTranslation$1(_0x588a6c,'ELEMENT_MEDIA',_0x5d0a4a)),_0x4a8d02['conversion']['for']('dataDowncast')['elementToElement']({'model':'media','view':(_0x3bb0ac,{writer:_0x144192,options:_0x3b2d5d})=>{if(_0x3b2d5d['showSuggestionHighlights'])return _0x144192['createEmptyElement']('div');},'converterPriority':'high'}),_0x4a8d02['data']['downcastDispatcher']['on']('attribute:url:media',(_0x102ca2,_0x19647e,_0x3350f8)=>{_0x3350f8['options']['showSuggestionHighlights']&&_0x102ca2['stop']();},{'priority':'high'});}}class TrackChangesMention extends ckeditor5['Plugin']{['afterInit'](){const _0x221c6c=this['editor'];_0x221c6c['plugins']['has']('MentionEditing')&&_0x221c6c['plugins']['get']('TrackChangesEditing')['enableCommand']('mention');}}class _0x4c4f93 extends ckeditor5['Plugin']{['afterInit'](){const _0x34cd32=this['editor'];if(!_0x34cd32['plugins']['has']('MergeFieldsEditing'))return;const _0x1c4820=_0x34cd32['plugins']['get']('TrackChangesEditing'),_0x34aec4=_0x34cd32['locale'];_0x1c4820['enableCommand']('insertMergeField'),_0x1c4820['enableCommand']('insertMergeFieldBlock'),_0x1c4820['enableCommand']('insertMergeFieldImage'),_0x1c4820['descriptionFactory']['registerElementLabel']('mergeField',_0x1cb31d=>getTranslation$1(_0x34aec4,'ELEMENT_MERGE_FIELD',_0x1cb31d)),_0x1c4820['descriptionFactory']['registerElementLabel']('mergeFieldBlock',_0x134e34=>getTranslation$1(_0x34aec4,'ELEMENT_MERGE_FIELD',_0x134e34)),_0x1c4820['descriptionFactory']['registerDescriptionCallback'](_0x5d71ab=>{if('insertion'!=_0x5d71ab['type']&&'deletion'!=_0x5d71ab['type'])return;const _0x1130fc=_0x5d71ab['getContainedElement']();if(null==_0x1130fc)return;const _0x3dfcc6=_0x34cd32['plugins']['get']('MergeFieldsEditing');let _0x1ff66a;switch(_0x3dfcc6['getMergeFieldType'](_0x1130fc)){case null:return;case'image':{const _0x8100df=_0x3dfcc6['unwrapAffixes'](_0x1130fc['getAttribute']('src'));_0x1ff66a=_0x3dfcc6['getLabel'](_0x8100df)||_0x8100df;break;}default:{const _0x3ad9cf=_0x1130fc['getAttribute']('id');_0x1ff66a=_0x3dfcc6['getLabel'](_0x3ad9cf)||_0x3ad9cf;break;}}return'insertion'==_0x5d71ab['type']?{'type':'insertion','content':getTranslation$1(_0x34aec4,'*Insert:*\x20%0','\x22'+_0x1ff66a+'\x22\x20'+getTranslation$1(_0x34aec4,'ELEMENT_MERGE_FIELD'))}:{'type':'deletion','content':getTranslation$1(_0x34aec4,'*Remove:*\x20%0','\x22'+_0x1ff66a+'\x22\x20'+getTranslation$1(_0x34aec4,'ELEMENT_MERGE_FIELD'))};});}}class TrackChangesMultiLevelList extends ckeditor5['Plugin']{['afterInit'](){const _0x2cdafc=this['editor'],_0x4d5f4a=_0x2cdafc['plugins']['get']('TrackChangesEditing');_0x2cdafc['plugins']['has']('MultiLevelList')&&(_0x4d5f4a['enableDefaultAttributesIntegration']('multiLevelList'),_0x4d5f4a['registerBlockAttribute']('listMarkerStyle'),_0x4d5f4a['descriptionFactory']['registerDescriptionCallback'](_0x31fe12=>this['handleDescriptions'](_0x31fe12)));}['handleDescriptions'](_0x4aebb4){const _0xa98216=this['editor']['locale'],{data:_0x2b18c6}=_0x4aebb4,_0x4714a9={'type':'format','content':''};if(_0x2b18c6&&'listMarkerStyle'==_0x2b18c6['key']){if(!_0x2b18c6['oldValue'])return{'type':'format','content':getTranslation$1(_0xa98216,'*Set\x20format:*\x20%0',getTranslation$1(_0xa98216,'ELEMENT_MULTI_LEVEL_LIST'))+'\x20('+_0x2b18c6['newValue']+')'};if(!_0x2b18c6['newValue']){let _0x300389=_0x4aebb4['head'];for(;_0x300389;){if(_0x300389['data']&&'listType'==_0x300389['data']['key']&&_0x300389['data']['newValue'])return _0x4714a9;_0x300389=_0x300389['next'];}return{'type':'format','content':getTranslation$1(_0xa98216,'*Remove\x20format:*\x20%0',getTranslation$1(_0xa98216,'ELEMENT_MULTI_LEVEL_LIST'))+'\x20('+_0x2b18c6['oldValue']+')'};}}}}class _0x432530 extends ckeditor5['Plugin']{['afterInit'](){const _0x296ce4=this['editor'];if(!_0x296ce4['plugins']['has']('PageBreakEditing'))return;_0x296ce4['plugins']['get']('TrackChangesEditing')['enableCommand']('pageBreak');const _0x542bf5=_0x296ce4['plugins']['get']('TrackChangesEditing'),_0x157ec9=_0x296ce4['locale'];_0x542bf5['descriptionFactory']['registerElementLabel']('pageBreak',_0x492517=>getTranslation$1(_0x157ec9,'ELEMENT_PAGE_BREAK',_0x492517));}}class _0x1bd736 extends ckeditor5['Plugin']{['afterInit'](){const _0x286022=this['editor'];if(!_0x286022['plugins']['has']('Paragraph'))return;const _0x1990a5=_0x286022['locale'],_0x104ba7=_0x286022['plugins']['get']('TrackChangesEditing');_0x104ba7['descriptionFactory']['registerElementLabel']('paragraph',_0x310266=>getTranslation$1(_0x1990a5,'ELEMENT_PARAGRAPH',_0x310266)),_0x104ba7['enableDefaultAttributesIntegration']('paragraph'),_0x104ba7['enableCommand']('insertParagraph'),_0x286022['editing']['downcastDispatcher']['on']('addMarker:suggestion:insertion',downcastInsertSplitMarkerSuggestion(_0x286022),{'priority':'highest'}),_0x286022['data']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x2456e5,_0xdcc4de,_0x28c08e)=>{_0x28c08e['options']['showSuggestionHighlights']&&downcastInsertSplitMarkerSuggestion(_0x286022,{'showActiveMarker':!0x1})(_0x2456e5,_0xdcc4de,_0x28c08e);},{'priority':'highest'});const _0x2ee0db=_0x104ba7['descriptionFactory'];_0x2ee0db['registerDescriptionCallback'](_0x143e25=>{if('insertion'!==_0x143e25['type'])return;const {start:_0x126524,end:_0x45b901}=_0x143e25['getFirstRange']();if(!_0x126524['isTouching'](_0x45b901)||!_0x126524['nodeAfter'])return;const _0x249d5a=_0x286022['model']['schema'],_0x5eab69=_0x126524['nodeAfter'];return _0x249d5a['isBlock'](_0x5eab69)&&!_0x249d5a['isLimit'](_0x5eab69)&&_0x249d5a['checkChild'](_0x5eab69,'$text')?{'type':'insertion','content':getTranslation$1(_0x1990a5,'*Insert:*\x20%0',_0x2ee0db['getItemLabel'](_0x5eab69,0x1))}:void 0x0;}),this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0x42cbe4=this['editor'],_0x334dd1=_0x42cbe4['locale'];_0x42cbe4['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x6919e2=>{if('formatBlock'!=_0x6919e2['type'])return;const {data:_0xa13716}=_0x6919e2;return _0xa13716&&'paragraph'==_0xa13716['commandName']?{'type':'format','content':getTranslation$1(_0x334dd1,'*Change\x20to:*\x20%0',getTranslation$1(_0x334dd1,'ELEMENT_PARAGRAPH'))}:void 0x0;});}}function downcastInsertSplitMarkerSuggestion(_0x3bff8c,{showActiveMarker:_0x2d1d26=!0x0}={}){return(_0x13c544,_0x4db930,_0x441920)=>{const _0x49c0e9=_0x3bff8c['plugins']['get']('TrackChangesEditing'),_0x543f13=_0x4db930['markerRange']['start'],_0x323627=_0x4db930['markerRange']['end'],_0x15473f=_0x3bff8c['model']['schema'];if(!_0x543f13['isTouching'](_0x323627)||!_0x543f13['nodeAfter'])return;const _0x43be27=_0x543f13['nodeAfter'];if(_0x15473f['isBlock'](_0x43be27)&&!_0x15473f['isLimit'](_0x43be27)&&_0x15473f['checkChild'](_0x43be27,'$text')){if(!_0x441920['consumable']['consume'](_0x4db930['markerRange'],_0x13c544['name']))return;const {id:_0x532f59,authorId:_0x1e136c}=_0x49c0e9['_splitMarkerName'](_0x4db930['markerName']),_0x5d3d4d=_0x441920['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-split','data-suggestion':_0x532f59,'data-author-id':_0x1e136c}),_0x35b6dc=_0x441920['mapper']['toViewPosition'](_0x323627);_0x2d1d26&&_0x49c0e9['activeMarkers']['includes'](_0x4db930['markerName'])&&_0x441920['writer']['addClass']('ck-suggestion-marker--active',_0x5d3d4d),_0x441920['writer']['insert'](_0x35b6dc,_0x5d3d4d),_0x441920['mapper']['bindElementToMarker'](_0x5d3d4d,_0x4db930['markerName']);}};}class _0x24b87b extends ckeditor5['Plugin']{['afterInit'](){const _0x1208db=this['editor'];_0x1208db['commands']['get']('replaceSource')&&_0x1208db['plugins']['get']('TrackChangesEditing')['enableCommand']('replaceSource');}}class TrackChangesRemoveFormat extends ckeditor5['Plugin']{['afterInit'](){const _0x38c50d=this['editor'];if(!_0x38c50d['plugins']['has']('RemoveFormatEditing'))return;_0x38c50d['plugins']['get']('TrackChangesEditing')['enableDefaultAttributesIntegration']('removeFormat'),this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0x2e39de=this['editor'];_0x2e39de['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x2975c2=>{if('formatBlock'!=_0x2975c2['type']&&'formatInline'!=_0x2975c2['type'])return;const {data:_0x338318}=_0x2975c2;return _0x338318&&'removeFormat'==_0x338318['commandName']?{'type':'format','content':getTranslation$1(_0x2e39de['locale'],'*Remove\x20all\x20formatting*')}:void 0x0;});}}class TrackChangesRestrictedEditingMode extends ckeditor5['Plugin']{['afterInit'](){const _0x2833ea=this['editor'];if(!_0x2833ea['plugins']['has']('RestrictedEditingModeEditing'))return;const _0x11d7c2=_0x2833ea['plugins']['get']('TrackChangesEditing');_0x11d7c2['enableCommand']('goToPreviousRestrictedEditingException'),_0x11d7c2['enableCommand']('goToNextRestrictedEditingException');const _0x293a50=_0x2833ea['plugins']['get']('RestrictedEditingModeEditing');_0x293a50['enableCommand']('trackChanges'),_0x293a50['enableCommand']('acceptSuggestion'),_0x293a50['enableCommand']('discardSuggestion'),_0x293a50['enableCommand']('acceptAllSuggestions'),_0x293a50['enableCommand']('discardAllSuggestions'),_0x293a50['enableCommand']('acceptSelectedSuggestions'),_0x293a50['enableCommand']('discardSelectedSuggestions');}}class TrackChangesShiftEnterCommand extends ckeditor5['Plugin']{['afterInit'](){const _0x3dcdcc=this['editor'];if(!_0x3dcdcc['plugins']['has']('ShiftEnter'))return;const _0x1ad273=_0x3dcdcc['plugins']['get']('TrackChangesEditing');_0x1ad273['enableCommand']('shiftEnter'),_0x3dcdcc['editing']['downcastDispatcher']['on']('addMarker:suggestion:insertion',downcastSplitMergeMarker(_0x3dcdcc),{'priority':'high'}),_0x3dcdcc['editing']['downcastDispatcher']['on']('addMarker:suggestion:deletion',downcastSplitMergeMarker(_0x3dcdcc),{'priority':'high'}),_0x3dcdcc['data']['downcastDispatcher']['on']('addMarker:suggestion',(_0x473ea0,_0x541ab4,_0x4492af)=>{_0x4492af['options']['showSuggestionHighlights']&&downcastSplitMergeMarker(_0x3dcdcc,{'showActiveMarker':!0x1})(_0x473ea0,_0x541ab4,_0x4492af);}),_0x1ad273['descriptionFactory']['registerElementLabel']('softBreak',_0x1d377e=>getTranslation$1(_0x3dcdcc['locale'],'ELEMENT_LINE_BREAK',_0x1d377e));}}function downcastSplitMergeMarker(_0x53f55,{showActiveMarker:_0x23ef20=!0x0}={}){return(_0x4fff4a,_0xa084b9,_0x431397)=>{const _0x1222d4=_0x53f55['plugins']['get']('TrackChangesEditing');if(!_0x431397['consumable']['test'](_0xa084b9['markerRange'],_0x4fff4a['name']))return;const _0x41b821=_0x53f55['model'];for(const _0x3320e6 of _0xa084b9['markerRange']['getItems']()){if(!_0x3320e6['is']('element','softBreak'))continue;const _0x5a458d='deletion'==_0xa084b9['markerName']['split'](':')[0x1]?'merge':'split',{id:_0x36df41,authorId:_0x2a7bab}=_0x1222d4['_splitMarkerName'](_0xa084b9['markerName']),_0x4a7ba6=_0x431397['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x5a458d,'data-suggestion':_0x36df41,'data-author-id':_0x2a7bab}),_0xd7451=_0x431397['mapper']['toViewPosition'](_0x41b821['createPositionBefore'](_0x3320e6));_0x23ef20&&_0x1222d4['activeMarkers']['includes'](_0xa084b9['markerName'])&&_0x431397['writer']['addClass']('ck-suggestion-marker--active',_0x4a7ba6),_0x431397['writer']['insert'](_0xd7451,_0x4a7ba6),_0x431397['mapper']['bindElementToMarker'](_0x4a7ba6,_0xa084b9['markerName']);}};}class TrackChangesStandardEditingMode extends ckeditor5['Plugin']{['afterInit'](){const _0x43e233=this['editor'],_0x4e075f=_0x43e233['model'],_0x200575=_0x43e233['locale'];if(!_0x43e233['plugins']['has']('StandardEditingModeEditing'))return;const _0x33c28e=_0x43e233['plugins']['get']('TrackChangesEditing'),_0x2a4474='restrictedEditingException',_0xa34bf0=_0x43e233['commands']['get'](_0x2a4474);_0x33c28e['enableCommand'](_0x2a4474,(_0x2ea573,_0x384ed4={})=>{const _0x110a3c=_0x4e075f['document']['selection'];if(_0x110a3c['isCollapsed'])return void _0x2ea573(_0x384ed4);const _0x451e9c=void 0x0!==_0x384ed4['forceValue']?_0x384ed4['forceValue']:!_0xa34bf0['value'];_0x4e075f['change'](()=>{const _0x44aca0=Array['from'](_0x110a3c['getRanges']());for(const _0x559d4b of _0x44aca0){const _0x4f4894=_0x451e9c?[_0x559d4b]:getRangesWithAttribute(_0x2a4474,_0x559d4b,_0x4e075f);for(const _0x4889ae of _0x4f4894)_0x33c28e['markInlineFormat'](_0x4889ae,{'commandName':_0x2a4474,'commandParams':[{'forceValue':_0x451e9c}]});}});}),_0x33c28e['descriptionFactory']['registerDescriptionCallback'](_0x507332=>{if('formatBlock'!=_0x507332['type']&&'formatInline'!=_0x507332['type'])return;const {data:_0x356945}=_0x507332;return _0x356945&&_0x356945['commandName']==_0x2a4474?_0x356945['commandParams'][0x0]['forceValue']?{'type':'format','content':getTranslation$1(_0x200575,'FORMAT_RESTRICTED_ENABLED')}:{'type':'format','content':getTranslation$1(_0x200575,'FORMAT_RESTRICTED_DISABLED')}:void 0x0;});}}class TrackChangesStylesDropdown extends ckeditor5['Plugin']{['afterInit'](){const _0xb83cbe=this['editor'];if(!_0xb83cbe['plugins']['has']('Style')||!_0xb83cbe['plugins']['has']('DataSchema'))return;const _0x189517=_0xb83cbe['plugins']['get']('TrackChangesEditing'),_0x28f1a7=_0xb83cbe['locale'],_0x4be7a4=_0xb83cbe['config']['get']('style')||{},_0x50f1c4=_0xb83cbe['plugins']['get']('GeneralHtmlSupport'),_0x501023=_0xb83cbe['plugins']['get']('StyleUtils')['normalizeConfig'](_0xb83cbe['plugins']['get']('DataSchema'),_0x4be7a4['definitions']);_0x189517['enableDefaultAttributesIntegration']('style');const _0x23c637=new Set();for(const _0x12f4fb of _0x501023['block']){const _0x1a5fe0=_0x50f1c4['getGhsAttributeNameForElement'](_0x12f4fb['element']);_0x23c637['add'](_0x1a5fe0);}const _0x56c894=new Set();for(const _0x2db578 of _0x501023['inline']){const _0x43b786=_0x50f1c4['getGhsAttributeNameForElement'](_0x2db578['element']);_0x56c894['add'](_0x43b786);for(const _0x26e841 of _0x2db578['ghsAttributes'])_0x56c894['add'](_0x26e841);}for(const _0x4e364d of _0x23c637)_0x189517['registerBlockAttribute'](_0x4e364d),_0x189517['descriptionFactory']['registerAttributeLabel'](_0x4e364d,getTranslation$1(_0x28f1a7,'FORMAT_STYLE'));for(const _0x3f2fa1 of _0x56c894)_0x189517['registerInlineAttribute'](_0x3f2fa1),_0x189517['descriptionFactory']['registerAttributeLabel'](_0x3f2fa1,getTranslation$1(_0x28f1a7,'FORMAT_STYLE'));this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0x2b9cd2=this['editor'],_0x5cf39d=_0x2b9cd2['locale'];_0x2b9cd2['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x24d81f=>{if('formatBlock'!=_0x24d81f['type']&&'formatInline'!=_0x24d81f['type'])return;const {data:_0x814431}=_0x24d81f;return _0x814431&&'style'===_0x814431['commandName']?_0x814431['commandParams'][0x0]['forceValue']?{'type':'format','content':getTranslation$1(_0x5cf39d,'*Set\x20format:*\x20%0',_0x814431['commandParams'][0x0]['styleName']['toLowerCase']())}:{'type':'format','content':getTranslation$1(_0x5cf39d,'*Remove\x20format:*\x20%0',_0x814431['commandParams'][0x0]['styleName']['toLowerCase']())}:void 0x0;});}}class _0x24555e extends ckeditor5['Plugin']{['_tablePostFixingSubtypes'];['_tableSuggestions'];constructor(_0x4df010){super(_0x4df010),this['_tablePostFixingSubtypes']=['tableRow','tableColumn'],this['_tableSuggestions']=new Set();}['afterInit'](){const _0x4189d3=this['editor'],_0x276f78=_0x4189d3['model']['document']['selection'];if(!_0x4189d3['plugins']['has']('TableEditing'))return;const _0x5b28ff=_0x4189d3['locale'],_0x5c0d63=_0x4189d3['plugins']['get']('TrackChangesEditing'),_0x13c7bf=_0x4189d3['plugins']['get']('TableUtils');_0x5c0d63['descriptionFactory']['registerElementLabel']('table',_0x884db1=>getTranslation$1(_0x5b28ff,'ELEMENT_TABLE',_0x884db1)),this['_setupColumnsRowsFixing'](),_0x5c0d63['enableCommand']('insertTable'),_0x5c0d63['enableCommand']('selectTableRow'),_0x5c0d63['enableCommand']('selectTableColumn');for(const _0x441843 of['insertTableRowAbove','insertTableRowBelow']){const _0x5c5233=_0x4189d3['commands']['get'](_0x441843);_0x5c0d63['enableCommand'](_0x441843,_0x2f73a3=>{_0x4189d3['model']['change'](_0x54395e=>{_0x2f73a3();const _0x4ce8ee='above'===_0x5c5233['order'],_0x528bcb=_0x13c7bf['getSelectionAffectedTableCells'](_0x276f78),_0x5295e5=_0x13c7bf['getRowIndexes'](_0x528bcb),_0x5c0a39=_0x4ce8ee?_0x5295e5['first']-0x1:_0x5295e5['last']+0x1,_0x5b8bba=_0x528bcb[0x0]['findAncestor']('table'),_0x1e733e=_0x13c7bf['createTableWalker'](_0x5b8bba,{'startRow':_0x5c0a39,'endRow':_0x5c0a39}),_0x47f8b9=Array['from'](_0x1e733e)['map'](_0xf029a0=>_0x54395e['createRangeOn'](_0xf029a0['cell']));_0x5c0d63['markMultiRangeInsertion'](_0x47f8b9,'tableRow');});});}for(const _0x3683cc of['insertTableColumnLeft','insertTableColumnRight']){const _0x1f4164=_0x4189d3['commands']['get'](_0x3683cc);_0x5c0d63['enableCommand'](_0x3683cc,_0x5c6d70=>{_0x4189d3['model']['change'](_0xc1de24=>{_0x5c6d70();const _0x48fece='left'===_0x1f4164['order'],_0xc93107=_0x13c7bf['getSelectionAffectedTableCells'](_0x276f78),_0x43401a=_0x13c7bf['getColumnIndexes'](_0xc93107),_0x25239a=_0x48fece?_0x43401a['first']-0x1:_0x43401a['last']+0x1,_0x14f9ab=_0xc93107[0x0]['findAncestor']('table'),_0x2815ad=_0x13c7bf['createTableWalker'](_0x14f9ab,{'startRow':0x0,'column':_0x25239a,'includeAllSlots':!0x1}),_0x13255b=Array['from'](_0x2815ad)['map'](_0x12b74b=>_0xc1de24['createRangeOn'](_0x12b74b['cell']));_0x5c0d63['markMultiRangeInsertion'](_0x13255b,'tableColumn');});});}for(const _0x1c24f7 of['removeTableRow','removeTableColumn']){const _0x399c6c=_0x1c24f7['substr'](0xb),_0x35886c=_0x399c6c['toLowerCase'](),_0x1d570e=_0x35886c['substr'](0x0,0x3)+'span',_0x90dbf2='table'+_0x399c6c,_0x3f78ef='min'+_0x399c6c,_0x1c022e='max'+_0x399c6c;_0x5c0d63['enableCommand'](_0x1c24f7,()=>{_0x4189d3['model']['change'](_0x234731=>{const _0x4174f9=_0x13c7bf['getSelectionAffectedTableCells'](_0x276f78),_0xf98738=_0x4174f9[0x0]['findAncestor']('table');let _0x19273c;if('removeTableRow'==_0x1c24f7){const _0x37bce1=_0x13c7bf['getRowIndexes'](_0x4174f9);_0x19273c={'startRow':_0x37bce1['first'],'endRow':_0x37bce1['last'],'includeAllSlots':!0x0};}else{const _0x36cacd=_0x13c7bf['getColumnIndexes'](_0x4174f9);_0x19273c={'startColumn':_0x36cacd['first'],'endColumn':_0x36cacd['last'],'includeAllSlots':!0x0};}const _0x6df971=_0x13c7bf['createTableWalker'](_0xf98738,_0x19273c),_0x4b7c29=Array['from'](_0x6df971)['map'](({cell:_0x4021e4})=>_0x4021e4),_0x3b60b0=_0x887dcc(_0x4b7c29['filter'](_0x5d323a=>_0x5d323a['hasAttribute'](_0x1d570e))),_0x15f82a=_0x887dcc(_0x4b7c29['filter'](_0x457a1e=>!_0x457a1e['hasAttribute'](_0x1d570e)))['map'](_0x703f52=>_0x234731['createRangeOn'](_0x703f52)),_0x21e88b=_0x5c0d63['markMultiRangeDeletion'](_0x15f82a,_0x90dbf2);if(_0x21e88b&&('tableRow'==_0x21e88b['subType']||'tableColumn'==_0x21e88b['subType'])){const _0x1ed6ee=this['_getSuggestionCoords'](_0x21e88b);for(const _0x319a8e of _0x3b60b0){const _0x3fb90c=_0x234731['createRangeOn'](_0x319a8e),_0x10edb6=_0x13c7bf['getCellLocation'](_0x319a8e),_0x26b41f=_0x319a8e['getAttribute'](_0x1d570e)-0x1,_0x1639d2=_0x1ed6ee[_0x3f78ef],_0x56fc9b=_0x1ed6ee[_0x1c022e];_0x1639d2<=_0x10edb6[_0x35886c]&&_0x10edb6[_0x35886c]+_0x26b41f<=_0x56fc9b&&_0x21e88b['addRange'](_0x3fb90c);}}});});}function _0x2e5db3(_0x3aabe6){const _0x25c120=Array['from'](_0x276f78['getRanges']())['map'](_0x15e842=>ckeditor5['ModelLiveRange']['fromRange'](_0x15e842));_0x4189d3['model']['change'](_0x2924dd=>{const _0x1d311e=_0x2924dd['batch'];_0x3aabe6=_0x3aabe6['filter'](_0x12a5fe=>'$graveyard'!=_0x12a5fe['root']['rootName']),_0x2924dd['setSelection'](_0x3aabe6),_0x4189d3['commands']['get']('removeTableRow')['refresh'](),_0x4189d3['execute']('removeTableRow',{'forceDefaultExecution':!0x0}),_0x4189d3['model']['enqueueChange'](()=>{_0x4189d3['model']['enqueueChange'](_0x1d311e,_0x24f3f3=>{const _0x3eaba1=_0x25c120['filter'](_0x3cf2df=>'$graveyard'!=_0x3cf2df['root']['rootName']);_0x3eaba1['length']>0x0&&_0x24f3f3['setSelection'](_0x3eaba1);for(const _0x4c2894 of _0x25c120)_0x4c2894['detach']();});});});}function _0x55c739(_0xf43e4e){_0x4189d3['model']['change'](_0xf43c2=>{const _0x15d2d1=Array['from'](_0x276f78['getRanges']())['map'](_0x5017fd=>ckeditor5['ModelLiveRange']['fromRange'](_0x5017fd)),_0x530f5b=[];for(const _0x4a19e3 of _0xf43e4e)for(const _0x1609de of _0x4a19e3['getItems']({'shallow':!0x0}))_0x530f5b['push'](_0x1609de);for(const _0x33ccd4 of _0x530f5b)'$graveyard'!=_0x33ccd4['root']['rootName']&&(_0xf43c2['setSelection'](_0xf43c2['createPositionAt'](_0x33ccd4,0x0)),_0x4189d3['commands']['get']('removeTableColumn')['refresh'](),_0x4189d3['execute']('removeTableColumn',{'forceDefaultExecution':!0x0}));const _0x286075=_0x15d2d1['filter'](_0x317326=>'$graveyard'!=_0x317326['root']['rootName']);_0x286075['length']>0x0&&_0xf43c2['setSelection'](_0x286075);for(const _0x302e3a of _0x15d2d1)_0x302e3a['detach']();});}function _0x38ea37(_0x1eb82e,_0x3b4502){return _0x3b4502['every'](_0x1ab509=>_0x1eb82e['some'](_0x50e9ca=>_0x50e9ca['end']['isEqual'](_0x1ab509['start'])||_0x1ab509['end']['isEqual'](_0x50e9ca['start'])));}function _0x4ecabc(_0x439808,_0x15c764){return!_0x439808['some'](_0x57575f=>_0x15c764['some'](_0x413867=>_0x57575f['isIntersecting'](_0x413867)))&&_0x439808['some'](_0x5e398e=>_0x15c764['some'](_0x4ebb1c=>_0x5e398e['end']['isTouching'](_0x4ebb1c['start'])));}_0x4189d3['data']['downcastDispatcher']['on']('addMarker:suggestion',(_0x35ea11,_0x1f53e9,_0x803c47)=>{if(!_0x803c47['options']['showSuggestionHighlights'])return;const _0x150c5e=_0x1f53e9['item'];if(!_0x150c5e||!_0x150c5e['is']('element','tableCell'))return;const _0x14204a=_0x803c47['mapper']['toViewElement'](_0x150c5e);if(_0x14204a){const {id:_0x19fa66,authorId:_0x266408}=_0x5c0d63['_splitMarkerName'](_0x1f53e9['markerName']);ckeditor5['setHighlightHandling'](_0x14204a,_0x803c47['writer'],(_0x33c724,_0x3b42db,_0xe25472)=>{_0xe25472['addClass'](ckeditor5['toArray'](_0x3b42db['classes']),_0x33c724),_0xe25472['setAttribute']('data-suggestion-id',_0x19fa66,_0x33c724),_0xe25472['setAttribute']('data-author-id',_0x266408,_0x33c724);},(_0x2bbfea,_0x152cc4,_0xe16b73)=>{_0xe16b73['removeClass'](ckeditor5['toArray'](_0x152cc4['classes']),_0x2bbfea),_0xe16b73['removeAttribute']('data-suggestion-id',_0x2bbfea),_0xe16b73['removeAttribute']('data-author-id',_0x2bbfea);});}},{'priority':'highest'}),_0x5c0d63['descriptionFactory']['registerDescriptionCallback'](_0x3db438=>{if('insertion'!=_0x3db438['type']&&'deletion'!=_0x3db438['type'])return;const _0x196b92=_0x3db438['getContainedElement']();if(null!=_0x196b92&&_0x196b92['is']('element','table')){if('insertion'==_0x3db438['type']){const _0x410a5b=_0x3db438['getItems']()['filter'](_0x528d7b=>_0x528d7b['is']('$textProxy'))['map'](_0x31e58b=>_0x31e58b['data']);if(_0x410a5b['length'])return{'type':'insertion','content':getTranslation$1(_0x5b28ff,'*Insert:*\x20%0',getTranslation$1(_0x5b28ff,'ELEMENT_TABLE_WITH_TEXT','\x22'+_0x410a5b['join']('\x20')+'\x22'))};}if('deletion'==_0x3db438['type']){const _0x19ce86=_0x3db438['getItems']()['filter'](_0xc2f941=>_0xc2f941['is']('$textProxy'))['map'](_0x3df801=>_0x3df801['data']);if(_0x19ce86['length'])return{'type':'deletion','content':getTranslation$1(_0x5b28ff,'*Remove:*\x20%0',getTranslation$1(_0x5b28ff,'ELEMENT_TABLE_WITH_TEXT','\x22'+_0x19ce86['join']('\x20')+'\x22'))};}}}),_0x5c0d63['descriptionFactory']['registerDescriptionCallback'](_0x32db4f=>{if('tableRow'==_0x32db4f['subType']){const _0x3db653=_0x32db4f['getItems']()['filter'](_0x2a262f=>_0x2a262f['is']('$textProxy'))['map'](_0x31691b=>_0x31691b['data']),_0x1f6851=this['_getSuggestionCoords'](_0x32db4f),_0x3d86cb=_0x1f6851['maxRow']-_0x1f6851['minRow']+0x1;if('insertion'==_0x32db4f['type'])return _0x3db653['length']?{'type':'insertion','content':getTranslation$1(_0x5b28ff,'*Insert:*\x20%0',getTranslation$1(_0x5b28ff,'ELEMENT_TABLE_ROW_WITH_TEXT',[_0x3d86cb,'\x22'+_0x3db653['join']('\x20')+'\x22']))}:{'type':'insertion','content':getTranslation$1(_0x5b28ff,'*Insert:*\x20%0',getTranslation$1(_0x5b28ff,'ELEMENT_TABLE_ROW',_0x3d86cb))};if('deletion'==_0x32db4f['type'])return _0x3db653['length']?{'type':'deletion','content':getTranslation$1(_0x5b28ff,'*Remove:*\x20%0',getTranslation$1(_0x5b28ff,'ELEMENT_TABLE_ROW_WITH_TEXT',[_0x3d86cb,'\x22'+_0x3db653['join']('\x20')+'\x22']))}:{'type':'deletion','content':getTranslation$1(_0x5b28ff,'*Remove:*\x20%0',getTranslation$1(_0x5b28ff,'ELEMENT_TABLE_ROW',_0x3d86cb))};}if('tableColumn'==_0x32db4f['subType']){const _0x1f268=_0x32db4f['getItems']()['filter'](_0x215a1d=>_0x215a1d['is']('$textProxy'))['map'](_0x19445a=>_0x19445a['data']),_0x54c8ec=this['_getSuggestionCoords'](_0x32db4f),_0x24c956=_0x54c8ec['maxColumn']-_0x54c8ec['minColumn']+0x1;if('insertion'==_0x32db4f['type'])return _0x1f268['length']?{'type':'insertion','content':getTranslation$1(_0x5b28ff,'*Insert:*\x20%0',getTranslation$1(_0x5b28ff,'ELEMENT_TABLE_COLUMN_WITH_TEXT',[_0x24c956,'\x22'+_0x1f268['join']('\x20')+'\x22']))}:{'type':'insertion','content':getTranslation$1(_0x5b28ff,'*Insert:*\x20%0',getTranslation$1(_0x5b28ff,'ELEMENT_TABLE_COLUMN',_0x24c956))};if('deletion'==_0x32db4f['type'])return _0x1f268['length']?{'type':'deletion','content':getTranslation$1(_0x5b28ff,'*Remove:*\x20%0',getTranslation$1(_0x5b28ff,'ELEMENT_TABLE_COLUMN_WITH_TEXT',[_0x24c956,'\x22'+_0x1f268['join']('\x20')+'\x22']))}:{'type':'deletion','content':getTranslation$1(_0x5b28ff,'*Remove:*\x20%0',getTranslation$1(_0x5b28ff,'ELEMENT_TABLE_COLUMN',_0x24c956))};}}),_0x5c0d63['_suggestionFactory']['registerCustomCallback']('insertion','tableRow','discard',_0x2e5db3),_0x5c0d63['_suggestionFactory']['registerCustomCallback']('deletion','tableRow','accept',_0x2e5db3),_0x5c0d63['_suggestionFactory']['registerCustomCallback']('insertion','tableColumn','discard',_0x55c739),_0x5c0d63['_suggestionFactory']['registerCustomCallback']('deletion','tableColumn','accept',_0x55c739),_0x5c0d63['_suggestionFactory']['registerCustomCallback']('insertion','tableColumn','join',_0x38ea37),_0x5c0d63['_suggestionFactory']['registerCustomCallback']('deletion','tableColumn','join',_0x38ea37),_0x5c0d63['_suggestionFactory']['registerCustomCallback']('insertion','tableRow','join',_0x4ecabc),_0x5c0d63['_suggestionFactory']['registerCustomCallback']('deletion','tableRow','join',_0x4ecabc);}['_acceptFormatSuggestionCallbackFactory'](){const _0xf22e00=this['editor'],_0x2da49a=_0xf22e00['model']['document']['selection'];return(_0xa685bb,_0xcef1cc)=>{_0xf22e00['model']['change'](_0x3f6281=>{const {commandName:_0x2f11ba,commandParams:_0x4a0a67}=_0xcef1cc;let _0x431a7a=_0xa685bb[0x0]['end']['nodeBefore'];_0x4a0a67&&_0x4a0a67[0x0]&&!0x1===_0x4a0a67[0x0]['forceValue']&&(_0x431a7a=_0xa685bb[0x0]['start']['nodeAfter']);const _0x591096=_0x3f6281['createRangeIn'](_0x431a7a);if('$graveyard'==_0x591096['root']['rootName'])return;const _0x5633c8=Array['from'](_0x2da49a['getRanges']())['map'](_0x229853=>ckeditor5['ModelLiveRange']['fromRange'](_0x229853));_0x3f6281['setSelection'](_0x591096),_0xf22e00['commands']['get'](_0x2f11ba)['refresh'](),_0x4a0a67['push']({'forceDefaultExecution':!0x0}),_0xf22e00['execute'](_0x2f11ba,..._0x4a0a67);const _0x1bef2a=_0x5633c8['filter'](_0x5b1751=>'$graveyard'!=_0x5b1751['root']['rootName']);_0x1bef2a['length']>0x0&&_0x3f6281['setSelection'](_0x1bef2a);for(const _0x36975b of _0x5633c8)_0x36975b['detach']();});};}['_getCoordsForCells'](_0x451fbb){const _0x53b1ff=this['editor']['plugins']['get']('TableUtils');let _0xe5746f=Number['MAX_SAFE_INTEGER'],_0x5d886e=Number['MIN_SAFE_INTEGER'],_0x4deb9b=Number['MAX_SAFE_INTEGER'],_0x497264=Number['MIN_SAFE_INTEGER'];for(const _0x75bfe0 of _0x451fbb){if('$graveyard'==_0x75bfe0['root']['rootName'])continue;const {row:_0x44cf73,column:_0x2ba0c5}=_0x53b1ff['getCellLocation'](_0x75bfe0),_0x561334=_0x75bfe0['hasAttribute']('rowspan')?_0x75bfe0['getAttribute']('rowspan')-0x1:0x0,_0x2fd1d0=_0x75bfe0['hasAttribute']('colspan')?_0x75bfe0['getAttribute']('colspan')-0x1:0x0;_0xe5746f=_0x44cf73<_0xe5746f?_0x44cf73:_0xe5746f,_0x5d886e=_0x44cf73+_0x561334>_0x5d886e?_0x44cf73+_0x561334:_0x5d886e,_0x4deb9b=_0x2ba0c5<_0x4deb9b?_0x2ba0c5:_0x4deb9b,_0x497264=_0x2ba0c5+_0x2fd1d0>_0x497264?_0x2ba0c5+_0x2fd1d0:_0x497264;}return{'minRow':_0xe5746f,'maxRow':_0x5d886e,'minColumn':_0x4deb9b,'maxColumn':_0x497264};}['_setupColumnsRowsFixing'](){const _0x1b40e0=this['editor'],_0x14e357=_0x1b40e0['plugins']['get']('TrackChangesEditing'),_0x251cb9=_0x1b40e0['plugins']['get']('TableUtils');_0x1b40e0['model']['document']['on']('change:data',()=>{const _0x9a2ec8=Array['from'](_0x1b40e0['model']['document']['differ']['getChangedMarkers']());for(const {name:_0x4aa098,data:_0x52b750}of _0x9a2ec8){const {group:_0x597ae6,id:_0x3d43e6,subType:_0x10717b}=_0x14e357['_splitMarkerName'](_0x4aa098);if('suggestion'!=_0x597ae6)continue;if(null!=_0x52b750['oldRange'])continue;const _0x54e395=_0x14e357['getSuggestion'](_0x3d43e6);this['_tablePostFixingSubtypes']['includes'](_0x10717b)&&this['_tableSuggestions']['add'](_0x54e395);}},{'priority':'low'});const _0x5eb3a3=(_0xa59d7e,_0x350bbd)=>{let _0x897378=!0x1;const _0x558a86=_0x350bbd['createRangeOn'](_0xa59d7e),_0x19ce3e=_0xa59d7e['findAncestor']('table'),_0x32cd0e=_0x251cb9['getCellLocation'](_0xa59d7e);for(const _0x1d23ce of this['_tableSuggestions']){const _0x161caf=_0x1d23ce['subType'],_0x4dd051=_0x161caf['startsWith']('tablePaste'),_0x5f074e=_0x161caf['substr'](_0x4dd051?0xa:0x5),_0x488787=_0x5f074e['toLowerCase'](),_0x2acfa0=_0x488787['substr'](0x0,0x3)+'span',_0x417d5a='min'+_0x5f074e,_0x2c2131='max'+_0x5f074e;if(!_0x1d23ce['isInContent'])continue;if(_0x19ce3e!=_0x1d23ce['getFirstRange']()['start']['findAncestor']('table'))continue;if(_0x1d23ce['isIntersectingWithRange'](_0x558a86))continue;const _0x55c9ca=_0xa59d7e['hasAttribute'](_0x2acfa0)?_0xa59d7e['getAttribute'](_0x2acfa0)-0x1:0x0,_0x2ae734=this['_getSuggestionCoords'](_0x1d23ce),_0x19bda7=_0x2ae734[_0x417d5a],_0xda09cd=_0x2ae734[_0x2c2131];_0x19bda7<=_0x32cd0e[_0x488787]&&_0x32cd0e[_0x488787]+_0x55c9ca<=_0xda09cd&&(_0x1d23ce['addRange'](_0x558a86),_0x897378=!0x0);}return _0x897378;};_0x1b40e0['model']['document']['registerPostFixer'](_0x5203a4=>{let _0x55c22a=!0x1;for(const _0x1dccc2 of _0x1b40e0['model']['document']['differ']['getChanges']())if('insert'==_0x1dccc2['type']){if('tableRow'==_0x1dccc2['name']){for(const _0x3d0aa5 of _0x1dccc2['position']['nodeAfter']['getChildren']())_0x55c22a=_0x55c22a||_0x5eb3a3(_0x3d0aa5,_0x5203a4);}else'tableCell'==_0x1dccc2['name']&&(_0x55c22a=_0x55c22a||_0x5eb3a3(_0x1dccc2['position']['nodeAfter'],_0x5203a4));}return _0x55c22a;});}['_getSuggestionCoords'](_0x563612){return this['_getCoordsForCells'](_0x563612['getRanges']()['map'](_0x4980b7=>_0x4980b7['start']['nodeAfter']));}}function _0x887dcc(_0x354195){return Array['from'](new Set(_0x354195)['values']());}class TrackChangesTableMergeSplit extends ckeditor5['Plugin']{static get['requires'](){return[_0x24555e];}['afterInit'](){const _0x1a1701=this['editor'],_0x3a5ddc=_0x1a1701['model']['document']['selection'],_0x3b751a=_0x1a1701['locale'];if(!_0x1a1701['plugins']['has']('TableEditing'))return;const _0x34a8c9=_0x1a1701['plugins']['get']('TrackChangesEditing'),_0x5959f2=_0x1a1701['plugins']['get']('TableUtils'),_0x238280=_0x1a1701['plugins']['get'](_0x24555e);_0x238280['_tablePostFixingSubtypes']['push']('mergeTableCells'),_0x34a8c9['enableCommand']('mergeTableCells',()=>{const _0x50e3b8=_0x5959f2['getSelectionAffectedTableCells'](_0x1a1701['model']['document']['selection']);_0x1a1701['model']['change'](()=>{_0x34a8c9['markMultiRangeBlockFormat'](_0x50e3b8,{'commandName':'mergeTableCells','commandParams':[]},[],'mergeTableCells');});}),_0x1a1701['commands']['get']('mergeTableCells')['on']('execute',(_0x345c9b,_0x1b91ff)=>{_0x1a1701['commands']['get']('trackChanges')['value']&&(_0x1b91ff['length']>0x0&&_0x1b91ff[_0x1b91ff['length']-0x1]&&_0x1b91ff[_0x1b91ff['length']-0x1]['forceDefaultExecution']||_0x34a8c9['_isForcedDefaultExecutionBlock']||this['_areSelectedCellsMergable']()||_0x345c9b['stop']());},{'priority':'highest'});for(const _0x4f86d2 of['mergeTableCellUp','mergeTableCellRight','mergeTableCellDown','mergeTableCellLeft']){const _0x12288b=_0x1a1701['commands']['get'](_0x4f86d2);_0x34a8c9['enableCommand'](_0x4f86d2,()=>{const _0x2e0751=_0x1a1701['model']['document']['selection']['getFirstPosition']()['getAncestors']()['find'](_0x91e11c=>_0x91e11c['is']('element','tableCell')),_0x2f68e8=_0x12288b['value'];_0x1a1701['model']['change'](()=>{_0x34a8c9['markMultiRangeBlockFormat']([_0x2e0751,_0x2f68e8],{'commandName':'mergeTableCells','commandParams':[]},[],'mergeTableCells');});});}for(const _0x362121 of['splitTableCellVertically','splitTableCellHorizontally']){const _0x44cbf5=_0x1a1701['commands']['get'](_0x362121);_0x34a8c9['enableCommand'](_0x362121,()=>{const _0x274c80=_0x5959f2['getSelectionAffectedTableCells'](_0x1a1701['model']['document']['selection'])[0x0],_0x3c590b=_0x274c80['findAncestor']('table'),{column:_0x1d17e9,row:_0x42ff00}=_0x5959f2['getCellLocation'](_0x274c80);let _0x3b0321=[];if('horizontally'==_0x44cbf5['direction']){const _0x475756=_0x5959f2['createTableWalker'](_0x3c590b,{'startRow':_0x42ff00,'endRow':_0x42ff00,'includeAllSlots':!0x0});_0x3b0321=Array['from'](_0x475756)['map'](_0x920a54=>_0x920a54['cell']);}else{const _0x414ae4=_0x5959f2['createTableWalker'](_0x3c590b,{'column':_0x1d17e9,'includeAllSlots':!0x0});_0x3b0321=Array['from'](_0x414ae4)['map'](_0x1e5ff5=>_0x1e5ff5['cell']);}_0x1a1701['model']['change'](_0x3b6518=>{_0x34a8c9['markBlockFormat'](_0x3b6518['createRangeOn'](_0x274c80),{'commandName':_0x362121,'commandParams':[]},_0x3b0321,_0x362121);});});}_0x34a8c9['descriptionFactory']['registerDescriptionCallback'](_0x46e468=>{if('formatBlock'!=_0x46e468['type']&&'formatInline'!=_0x46e468['type'])return;const {data:_0x2c7386}=_0x46e468;return _0x2c7386&&'mergeTableCells'==_0x2c7386['commandName']?{'type':'format','content':getTranslation$1(_0x3b751a,'*Merge\x20cells*')}:void 0x0;}),_0x34a8c9['descriptionFactory']['registerDescriptionCallback'](_0x2ce3c5=>{if('formatBlock'!=_0x2ce3c5['type']&&'formatInline'!=_0x2ce3c5['type'])return;const {data:_0x2bc645}=_0x2ce3c5;return _0x2bc645?'splitTableCellVertically'==_0x2bc645['commandName']?{'type':'format','content':getTranslation$1(_0x3b751a,'*Split\x20cell:*\x20vertically')}:'splitTableCellHorizontally'==_0x2bc645['commandName']?{'type':'format','content':getTranslation$1(_0x3b751a,'*Split\x20cell:*\x20horizontally')}:void 0x0:void 0x0;});const _0x14a5a1=_0x238280['_acceptFormatSuggestionCallbackFactory']();for(const _0x5f2828 of['mergeTableCellUp','mergeTableCellRight','mergeTableCellDown','mergeTableCellLeft'])_0x34a8c9['_suggestionFactory']['registerCustomCallback']('formatBlock',_0x5f2828,'accept',_0x14a5a1);for(const _0x1bcc8a of['splitTableCellVertically','splitTableCellHorizontally'])_0x34a8c9['_suggestionFactory']['registerCustomCallback']('formatBlock',_0x1bcc8a,'accept',_0x14a5a1);_0x34a8c9['_suggestionFactory']['registerCustomCallback']('formatBlock','mergeTableCells','accept',_0xc61b4f=>{_0x1a1701['model']['change'](_0x19624d=>{const _0x27a5b1=Array['from'](_0x3a5ddc['getRanges']())['map'](_0x762e35=>ckeditor5['ModelLiveRange']['fromRange'](_0x762e35));_0x19624d['setSelection'](_0xc61b4f),_0x1a1701['commands']['get']('mergeTableCells')['refresh'](),_0x1a1701['execute']('mergeTableCells',{'forceDefaultExecution':!0x0});const _0xf6442a=_0x27a5b1['filter'](_0x3aad85=>'$graveyard'!=_0x3aad85['root']['rootName']);_0xf6442a['length']>0x0&&_0x19624d['setSelection'](_0xf6442a);for(const _0x2b0d1c of _0x27a5b1)_0x2b0d1c['detach']();});});for(const _0x14e970 of['mergeTableCellUp','mergeTableCellDown','mergeTableCellLeft','mergeTableCellRight']){const _0x36dc10=_0x1a1701['commands']['get'](_0x14e970);_0x36dc10['on']('set:isEnabled',(_0x206ef9,_0x3d0248,_0x4ebe13)=>{if(_0x4ebe13){const _0x46d993=_0x1a1701['model']['document']['selection']['getFirstPosition']()['getAncestors']()['find'](_0x471023=>_0x471023['is']('element','tableCell'));this['_areMergableCells'](_0x36dc10['value'],_0x46d993)||(_0x206ef9['return']=!0x1,_0x206ef9['stop']());}},{'priority':'low'});}}['_areSelectedCellsMergable'](){const _0x4b5a56=this['editor']['commands']['get']('mergeTableCells'),_0x1d496b=this['editor']['plugins']['get']('TableUtils');if(!_0x4b5a56['isEnabled'])return!0x1;const _0x4564aa=_0x1d496b['getSelectionAffectedTableCells'](this['editor']['model']['document']['selection']);for(const _0x1895ca of _0x4564aa)for(const _0x145c41 of _0x4564aa)if(_0x1895ca!=_0x145c41&&!this['_areMergableCells'](_0x1895ca,_0x145c41))return!0x1;return!0x0;}['_areMergableCells'](_0x578a87,_0x3a1526){const _0x18bbcf=this['editor']['plugins']['get']('TrackChangesEditing'),_0xce7da9=this['editor']['model']['createRangeOn'](_0x578a87),_0x4ff414=this['editor']['model']['createRangeOn'](_0x3a1526),_0x39c18d=new Set(),_0xee995d=new Set();for(const _0xb9ae06 of _0x18bbcf['getSuggestions']())if(('insertion'==_0xb9ae06['type']||'deletion'==_0xb9ae06['type']||'mergeTableCells'==_0xb9ae06['subType'])&&_0xb9ae06['isInContent']){for(const _0x17ea0d of _0xb9ae06['getRanges']())_0x17ea0d['containsRange'](_0xce7da9,!0x0)&&_0x39c18d['add'](_0xb9ae06['type']+':'+_0xb9ae06['author']['id']),_0x17ea0d['containsRange'](_0x4ff414,!0x0)&&_0xee995d['add'](_0xb9ae06['type']+':'+_0xb9ae06['author']['id']);}if(_0x39c18d['size']!=_0xee995d['size'])return!0x1;for(const _0x432302 of _0x39c18d)if(!_0xee995d['has'](_0x432302))return!0x1;return!0x0;}}class _0x39c403 extends ckeditor5['Plugin']{static get['requires'](){return[_0x24555e];}['afterInit'](){const _0x122109=this['editor'];if(!_0x122109['plugins']['has']('TableEditing'))return;const _0x13d027=_0x122109['locale'],_0x19df70=_0x122109['plugins']['get']('TrackChangesEditing');_0x19df70['enableDefaultAttributesIntegration']('setTableRowHeader'),_0x19df70['enableDefaultAttributesIntegration']('setTableColumnHeader'),_0x19df70['registerBlockAttribute']('headingRows'),_0x19df70['registerBlockAttribute']('headingColumns'),_0x19df70['descriptionFactory']['registerAttributeLabel']('headingRows',getTranslation$1(_0x13d027,'FORMAT_HEADER_ROW')),_0x19df70['descriptionFactory']['registerAttributeLabel']('headingColumns',getTranslation$1(_0x13d027,'FORMAT_HEADER_COLUMN')),this['_handleLegacySuggestions']();}['_handleLegacySuggestions'](){const _0x14484a=this['editor']['plugins']['get']('TrackChangesEditing'),_0x48288d=this['editor']['plugins']['get']('TableUtils'),_0x534c79=this['editor']['plugins']['get'](_0x24555e)['_acceptFormatSuggestionCallbackFactory']();function _0x32940c({showActiveMarker:_0x5a13da=!0x0,setDataAttribute:_0x2e63e6=!0x0}={}){return(_0x595eb2,_0x37651f,_0x28e269)=>{const {type:_0x554659,id:_0xa29c0c}=_0x14484a['_splitMarkerName'](_0x37651f['markerName']);if(!_0x14484a['hasSuggestion'](_0xa29c0c))return;const _0xbcfa5d=_0x14484a['getSuggestion'](_0xa29c0c),_0x1c7349=_0xbcfa5d['data'];if('formatBlock'!=_0xbcfa5d['type']||!_0x1c7349||'setTableColumnHeader'!=_0x1c7349['commandName'])return;if(_0x37651f['item'])return void _0x595eb2['stop']();if(!_0x28e269['consumable']['consume'](_0x37651f['markerRange'],_0x595eb2['name']))return;const _0xf7ff24=_0x37651f['markerRange']['start']['nodeAfter'],_0x3371d5=_0x37651f['markerRange']['end']['nodeBefore'],_0x59c966=_0xf7ff24['parent']['parent'],{column:_0x20806d}=_0x48288d['getCellLocation'](_0xf7ff24),{column:_0x1bfdff}=_0x48288d['getCellLocation'](_0x3371d5);for(let _0x1df88b=_0x20806d;_0x1df88b<=_0x1bfdff;_0x1df88b++){const _0x2c019d=_0x48288d['createTableWalker'](_0x59c966,{'column':_0x1df88b,'includeAllSlots':!0x1});for(const _0x2be4cd of _0x2c019d){const _0x3bbe8f=_0x2be4cd['cell'],_0x4d34d7=_0x28e269['mapper']['toViewElement'](_0x3bbe8f);_0x28e269['writer']['addClass']('ck-suggestion-marker-'+_0x554659,_0x4d34d7),_0x2e63e6&&_0x28e269['writer']['setAttribute']('data-suggestion',_0xa29c0c,_0x4d34d7),_0x28e269['mapper']['bindElementToMarker'](_0x4d34d7,_0x37651f['markerName']),_0x5a13da&&(_0x14484a['activeMarkers']['includes'](_0x37651f['markerName'])?_0x28e269['writer']['addClass']('ck-suggestion-marker--active',_0x4d34d7):_0x28e269['writer']['removeClass']('ck-suggestion-marker--active',_0x4d34d7));}}};}_0x14484a['_suggestionFactory']['registerCustomCallback']('formatBlock','setTableRowHeader','accept',_0x534c79),_0x14484a['_suggestionFactory']['registerCustomCallback']('formatBlock','setTableColumnHeader','accept',_0x534c79),this['editor']['editing']['downcastDispatcher']['on']('addMarker:suggestion',_0x32940c(),{'priority':'highest'}),this['editor']['data']['downcastDispatcher']['on']('addMarker:suggestion',(_0x432a61,_0x533bce,_0x4d8f34)=>{_0x4d8f34['options']['showSuggestionHighlights']&&_0x32940c({'showActiveMarker':!0x1,'setDataAttribute':!0x1})(_0x432a61,_0x533bce,_0x4d8f34);},{'priority':'highest'}),this['editor']['editing']['downcastDispatcher']['on']('removeMarker:suggestion',(_0x4e13cc,_0x5e44ba,_0x4e82a5)=>{const {type:_0x33ef79,id:_0x51f0af}=_0x14484a['_splitMarkerName'](_0x5e44ba['markerName']);if(!_0x14484a['hasSuggestion'](_0x51f0af))return;const _0x1ff965=_0x14484a['getSuggestion'](_0x51f0af),_0x4343c5=_0x1ff965['data'];if('formatBlock'!=_0x1ff965['type']||!_0x4343c5||'setTableColumnHeader'!=_0x4343c5['commandName'])return;const _0x173f2a=_0x4e82a5['mapper']['markerNameToElements'](_0x5e44ba['markerName']);if(_0x173f2a){for(const _0x1bdc49 of _0x173f2a)_0x4e82a5['writer']['removeClass']('ck-suggestion-marker-'+_0x33ef79,_0x1bdc49),_0x4e82a5['writer']['removeClass']('ck-suggestion-marker--active',_0x1bdc49),_0x4e82a5['writer']['removeAttribute']('data-suggestion',_0x1bdc49),_0x4e82a5['mapper']['unbindElementFromMarkerName'](_0x1bdc49,_0x5e44ba['markerName']);}},{'priority':'highest'}),this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0x126122=this['editor'],_0x51ffd0=_0x126122['locale'];function _0x4f164d(_0x5c6284){return{'type':'format','content':getTranslation$1(_0x51ffd0,'*Format:*\x20%0',_0x5c6284)};}_0x126122['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x3f18f8=>{if('formatBlock'!=_0x3f18f8['type'])return;const {data:_0x2550ba}=_0x3f18f8;if(_0x2550ba){if('setTableRowHeader'==_0x2550ba['commandName']){const _0x20e978=_0x2550ba['commandParams'][0x0]['forceValue'];return _0x4f164d(getTranslation$1(_0x51ffd0,_0x20e978?'FORMAT_HEADER_ROW':'FORMAT_REGULAR_ROW'));}if('setTableColumnHeader'==_0x2550ba['commandName']){const _0x1199c9=_0x2550ba['commandParams'][0x0]['forceValue'];return _0x4f164d(getTranslation$1(_0x51ffd0,_0x1199c9?'FORMAT_HEADER_COLUMN':'FORMAT_REGULAR_COLUMN'));}}});}}class TrackChangesTableLayout extends ckeditor5['Plugin']{['afterInit'](){const _0x2f1490=this['editor'],_0x5ca726=_0x2f1490['locale'],_0x27d5e9=_0x2f1490['plugins']['get']('TrackChangesEditing');function _0x2d0f21(_0x169e58){return{'type':'format','content':''+getTranslation$1(_0x5ca726,'*Set\x20table\x20type:*\x20%0',_0x169e58)};}_0x2f1490['plugins']['has']('TableLayout')&&(_0x27d5e9['enableCommand']('insertTableLayout'),_0x27d5e9['enableDefaultAttributesIntegration']('tableType'),_0x27d5e9['registerBlockAttribute']('tableType'),_0x27d5e9['descriptionFactory']['registerElementLabel'](_0x20df09=>_0x20df09['is']('element','table')&&'layout'===_0x20df09['getAttribute']('tableType'),_0x4b6c3b=>getTranslation$1(_0x5ca726,'ELEMENT_LAYOUT_TABLE',_0x4b6c3b)),_0x27d5e9['descriptionFactory']['registerDescriptionCallback'](_0x1b3fd9=>{const {data:_0x177f2b}=_0x1b3fd9;if(_0x177f2b&&'tableType'==_0x177f2b['key'])switch(_0x177f2b['newValue']){case'layout':return _0x2d0f21(getTranslation$1(_0x5ca726,'ELEMENT_LAYOUT_TABLE'));case'content':return _0x2d0f21(getTranslation$1(_0x5ca726,'ELEMENT_CONTENT_TABLE'));}}));}}const tableCellStyleAttributeNames=['tableCellBorderWidth','tableCellBorderColor','tableCellBorderStyle','tableCellHorizontalAlignment','tableCellVerticalAlignment','tableCellBackgroundColor','tableCellPadding'],tableCellStyleAttributesObject=/* #__PURE__ -- @preserve */
Object['fromEntries'](tableCellStyleAttributeNames['map'](_0x24f758=>[_0x24f758,null]));class _0x2bfa31 extends ckeditor5['Plugin']{static get['requires'](){return[_0x24555e];}['afterInit'](){const _0x40e499=this['editor'];if(!_0x40e499['plugins']['has']('TableClipboard'))return;const _0x57b1c1=_0x40e499['plugins']['get']('TrackChangesEditing'),_0x2a92ac=_0x40e499['plugins']['get']('TableUtils'),_0x103d31=_0x40e499['plugins']['get'](_0x24555e),_0x570a59=_0x40e499['plugins']['get']('TableClipboard'),_0x2a7b4d=_0x40e499['plugins']['get']('TableSelection'),_0x3a9aea=_0x40e499['plugins']['get'](ckeditor5['ClipboardPipeline']);_0x103d31['_tablePostFixingSubtypes']['push']('tablePasteRow','tablePasteColumn'),_0x40e499['model']['schema']['register']('tableCellSuggestion',{'allowIn':'tableCell','allowContentOf':'tableCell','isLimit':!0x0}),_0x40e499['conversion']['elementToElement']({'model':'tableCellSuggestion','view':'suggestion-td'});let _0xc9e210=null,_0x51b099=!0x1;_0x3a9aea['on']('contentInsertion',(_0x33fd25,_0x467334)=>{_0x51b099='paste'===_0x467334['method'];}),_0x40e499['model']['on']('insertContent',(_0x5e4964,_0x3ab390)=>{if(!_0x51b099&&null===_0x2a7b4d['getSelectedTableCells']())return;const [_0x3e0c2c,_0xd3af19]=_0x3ab390,_0x9d1e04=_0x3ab390[_0x3ab390['length']-0x1];_0x9d1e04&&_0x9d1e04['forceDefaultExecution']||_0x57b1c1['_isForcedDefaultExecutionBlock']||this['editor']['commands']['get']('trackChanges')['value']&&isPasteTableIntoTable(_0x3e0c2c,_0xd3af19,_0x40e499['model'],_0x2a92ac,_0x570a59)&&(_0x5e4964['stop'](),_0xc9e210={'cells':[],'insertionRanges':[],'deletionRanges':[],'rowInsertionRanges':[],'rowInsertionIndexes':[],'columnInsertionRanges':[],'columnInsertionIndexes':[]},_0x40e499['model']['change'](()=>{_0x40e499['model']['insertContent'](_0x3ab390[0x0],_0x3ab390[0x1],_0x3ab390[0x2],{'forceDefaultExecution':!0x0});const _0x122035=ckeditor5['uid'](),{rowInsertionRanges:_0x2432c9,columnInsertionRanges:_0x2e514b,insertionRanges:_0x53080f,deletionRanges:_0xf9531c,cells:_0x369d29}=_0xc9e210;_0x2432c9['length']&&_0x57b1c1['markMultiRangeInsertion'](_0x2432c9,'tablePasteRow',{'tablePasteChainId':_0x122035}),_0x2e514b['length']&&_0x57b1c1['markMultiRangeInsertion'](_0x2e514b,'tablePasteColumn',{'tablePasteChainId':_0x122035}),_0x53080f['length']&&(_0x57b1c1['markMultiRangeInsertion'](_0x53080f,'tablePaste',{'tablePasteChainId':_0x122035,'skipNestingCheck':!0x0}),_0x53080f['forEach'](_0x3b93c6=>_0x3b93c6['detach']?.())),_0xf9531c['length']&&(_0x57b1c1['markMultiRangeDeletion'](_0xf9531c,'tablePaste',{'tablePasteChainId':_0x122035,'skipNestingCheck':!0x0}),_0xf9531c['forEach'](_0x5ccf2f=>_0x5ccf2f['detach']?.()));const _0x47d0b2=_0x57b1c1['markMultiRangeBlockFormat'](_0x369d29['map'](({element:_0x3fec37})=>_0x3fec37),{'formatGroupId':ckeditor5['uid']()},[],'tablePasteCell',{'tablePasteChainId':_0x122035});if(_0x47d0b2){const _0x3fa4ca=_0x47d0b2['getMarkers'](),_0x501bd6=[];for(const {element:_0x132816,attributes:_0x363aa9}of _0x369d29){if(!_0x363aa9)continue;const _0x26f75e=_0x40e499['model']['createRangeOn'](_0x132816),_0x407c44=_0x3fa4ca['find'](_0x24bce5=>_0x24bce5['getRange']()['isEqual'](_0x26f75e));_0x407c44&&_0x501bd6['push']([_0x407c44['name'],_0x363aa9]);}_0x501bd6['length']&&_0x47d0b2['setAttribute']('markerAttributes',Object['fromEntries'](_0x501bd6));}_0xc9e210=null;}));},{'priority':ckeditor5['priorities']['high']+0xa}),_0x3a9aea['on']('contentInsertion',()=>{_0x51b099=!0x1;},{'priority':'lowest'}),_0x40e499['plugins']['get']('TableClipboard')['on']('_replaceTableSlotCell',(_0x356080,_0x19890f)=>{const [_0x5b1a35,_0x5648bf,,_0x33655b]=_0x19890f;if(!_0xc9e210)return;_0x356080['stop']();const _0x13e1ed=_0x5b1a35['cell'],_0x570666=_0x5648bf,_0x579d51=isEmpty(_0x13e1ed),_0x22bbbb=isEmpty(_0x570666);_0x356080['return']=_0x13e1ed;let _0x531ce1=null,_0x2b5253=null;if(_0x22bbbb||_0x579d51){if(_0x579d51&&!_0x22bbbb){_0x33655b['remove'](_0x13e1ed['getChild'](0x0));for(const _0x5ef458 of Array['from'](_0x570666['getChildren']()))_0x33655b['insert'](_0x5ef458,_0x13e1ed,'end');const _0x214d41=_0xc9e210['rowInsertionIndexes']['includes'](_0x5b1a35['row']),_0x3c5036=_0xc9e210['columnInsertionIndexes']['includes'](_0x5b1a35['column']);_0x214d41||_0x3c5036||(_0x531ce1=ckeditor5['ModelLiveRange']['fromRange'](_0x33655b['createRangeIn'](_0x13e1ed)));}else _0x22bbbb&&!_0x579d51&&(_0x2b5253=_0x33655b['createRangeIn'](_0x13e1ed));}else{const _0x1113f1=_0x33655b['createElement']('tableCellSuggestion'),_0x50411a=_0x33655b['createElement']('tableCellSuggestion');_0x33655b['wrap'](_0x33655b['createRangeIn'](_0x13e1ed),_0x50411a),_0x33655b['insert'](_0x1113f1,_0x13e1ed,0x0);for(const _0xc94341 of Array['from'](_0x570666['getChildren']()))_0x33655b['insert'](_0xc94341,_0x1113f1,'end');_0x531ce1=ckeditor5['ModelLiveRange']['fromRange'](_0x33655b['createRangeOn'](_0x1113f1)),_0x2b5253=ckeditor5['ModelLiveRange']['fromRange'](_0x33655b['createRangeOn'](_0x50411a));}const _0x28b332=Array['from'](_0x570666['getAttributes']())['filter'](([_0x595193])=>tableCellStyleAttributeNames['includes'](_0x595193));_0xc9e210['cells']['push']({'element':_0x13e1ed,'attributes':_0x28b332['length']?Object['fromEntries'](_0x28b332):null}),_0x531ce1&&_0xc9e210['insertionRanges']['push'](_0x531ce1),_0x2b5253&&_0xc9e210['deletionRanges']['push'](_0x2b5253);},{'priority':'high'}),_0x2a92ac['on']('insertColumns',(_0x2b5931,_0x5ac276)=>{const [_0x1193e2,_0xe3c930={}]=_0x5ac276;if(!_0xc9e210)return;const _0x111e7d=_0xe3c930['at']||0x0,_0x142c07=_0xe3c930['columns']||0x1;_0xc9e210['columnInsertionIndexes']=new Array(_0x142c07)['fill'](_0x111e7d)['map']((_0x22b374,_0x346a34)=>_0x22b374+_0x346a34);for(const {cell:_0x726db}of _0x2a92ac['createTableWalker'](_0x1193e2,{'startColumn':_0x111e7d,'endColumn':_0x111e7d+_0x142c07-0x1}))_0xc9e210['columnInsertionRanges']['push'](_0x40e499['model']['createRangeOn'](_0x726db));},{'priority':'low'}),_0x2a92ac['on']('insertRows',(_0x769c9d,_0x4fbadf)=>{const [_0x5931b9,_0x1ace10={}]=_0x4fbadf;if(!_0xc9e210)return;const _0x3e7511=_0x1ace10['at']||0x0,_0x5c78ac=_0x1ace10['rows']||0x1;_0xc9e210['rowInsertionIndexes']=new Array(_0x5c78ac)['fill'](_0x3e7511)['map']((_0x485b5a,_0x141061)=>_0x485b5a+_0x141061);for(const {cell:_0x20a869}of _0x2a92ac['createTableWalker'](_0x5931b9,{'startRow':_0x3e7511,'endRow':_0x3e7511+_0x5c78ac-0x1}))_0xc9e210['rowInsertionRanges']['push'](_0x40e499['model']['createRangeOn'](_0x20a869));},{'priority':'low'}),_0x57b1c1['descriptionFactory']['registerDescriptionCallback'](_0x4e4933=>{if(_0x4e4933['subType']&&_0x4e4933['subType']['startsWith']('tablePaste'))return _0x4e4933['previous']?{}:{'type':'insertion','content':getTranslation$1(_0x40e499['locale'],'*Replace\x20table\x20cells*')};});const _0x5e66c4=()=>!0x1;for(const _0x1be48d of['tablePaste','tablePasteColumn','tablePasteRow','tablePasteCell'])_0x57b1c1['_suggestionFactory']['registerCustomCallback']('insertion',_0x1be48d,'join',_0x5e66c4),_0x57b1c1['_suggestionFactory']['registerCustomCallback']('deletion',_0x1be48d,'join',_0x5e66c4),_0x57b1c1['_suggestionFactory']['registerCustomCallback']('formatBlock',_0x1be48d,'join',_0x5e66c4);_0x57b1c1['_suggestionFactory']['registerCustomCallback']('formatBlock','tablePasteCell','discard',_0x5e66c4),_0x57b1c1['_suggestionFactory']['registerCustomCallback']('formatBlock','tablePasteCell','accept',(_0x2dc14c,_0x70ea3e,_0x2fc747)=>{const _0x3dca41=_0x2dc14c['map'](_0xce1b27=>_0xce1b27['getContainedElement']())['filter'](_0x4f904c=>_0x4f904c),_0x644c3c=new Map(_0x3dca41['map'](_0x1fa2cf=>[_0x1fa2cf,null]));if(_0xc9e210){for(const {element:_0x50c951,attributes:_0x3dd797}of _0xc9e210['cells'])_0x3dd797&&_0x644c3c['set'](_0x50c951,_0x3dd797);}else{if(_0x2fc747&&_0x2fc747['markerAttributes'])for(const [_0x4d60e0,_0x450fcf]of Object['entries'](_0x2fc747['markerAttributes'])){const _0x3b3d7b=_0x40e499['model']['markers']['get'](_0x4d60e0),_0x46626d=_0x3b3d7b?_0x3b3d7b['getRange']()['getContainedElement']():null;_0x46626d&&_0x644c3c['set'](_0x46626d,_0x450fcf);}}_0x40e499['model']['change'](_0x1fd24b=>{for(const [_0x1664ee,_0x457f70]of _0x644c3c)_0x1fd24b['setAttributes']({...tableCellStyleAttributesObject,..._0x457f70},_0x1664ee);});});const _0x1e6dd8=(_0x334b70,_0x56f152)=>{_0x57b1c1['_suggestionFactory']['registerCustomCallback'](_0x334b70,'tablePaste',_0x56f152,(_0x52299d,_0x37084a,_0x11f963)=>{_0x40e499['model']['change'](_0x4fcefa=>{const _0x32bea6=[];for(const _0xba0779 of _0x52299d){const _0x273df8=_0xba0779['start']['nodeAfter'];_0x273df8['is']('element','tableCellSuggestion')&&_0x32bea6['push'](_0x273df8);}_0x57b1c1['_suggestionFactory']['getSuggestionCallback'](_0x334b70,null,_0x56f152)(_0x52299d,_0x37084a,_0x11f963);for(const _0x40a793 of _0x32bea6)'$graveyard'!=_0x40a793['root']['rootName']&&_0x4fcefa['unwrap'](_0x40a793);});});};_0x1e6dd8('insertion','accept'),_0x1e6dd8('insertion','discard'),_0x1e6dd8('deletion','accept'),_0x1e6dd8('deletion','discard'),_0x57b1c1['_suggestionFactory']['registerCustomCallback']('insertion','tablePasteRow','discard',_0x137d20=>{const _0x2e3914=_0x137d20['map'](_0x3c46c9=>_0x3c46c9['getContainedElement']()),_0x35fb71=_0x2e3914[0x0]['findAncestor']('table'),{minRow:_0x19c427,maxRow:_0x19e4e6}=_0x103d31['_getCoordsForCells'](_0x2e3914);_0x2a92ac['removeRows'](_0x35fb71,{'at':_0x19c427,'rows':_0x19e4e6-_0x19c427+0x1});}),_0x57b1c1['_suggestionFactory']['registerCustomCallback']('insertion','tablePasteColumn','discard',_0x2df94f=>{const _0x2ee58b=_0x2df94f['map'](_0x1b95a4=>_0x1b95a4['getContainedElement']()),_0xb19e19=_0x2ee58b[0x0]['findAncestor']('table'),{minColumn:_0x4b0997,maxColumn:_0x4bd6d8}=_0x103d31['_getCoordsForCells'](_0x2ee58b);_0x2a92ac['removeColumns'](_0xb19e19,{'at':_0x4b0997,'columns':_0x4bd6d8-_0x4b0997+0x1});});const _0x524230=(_0x496e59,_0x1d5a3c)=>{if(!_0x1d5a3c['subType']||!_0x1d5a3c['subType']['startsWith']('tablePaste'))return;const _0x6f48ef=_0x1d5a3c['attributes']['tablePasteChainId'],_0xac48d5=_0x57b1c1['getSuggestions']()['filter'](_0x471ef1=>_0x471ef1['isInContent']&&_0x471ef1['attributes']&&_0x471ef1['attributes']['tablePasteChainId']==_0x6f48ef);_0xac48d5['length']&&_0x1d5a3c['getAllAdjacentSuggestions']()['length']!=_0xac48d5['length']&&_0xac48d5['reduce']((_0x702c70,_0x2a61ec)=>(_0x702c70['next']=_0x2a61ec,_0x2a61ec['previous']=_0x702c70,_0x2a61ec));};function _0x10019c(_0x33bac3,_0x399ade=!0x0){const {id:_0x41edaf,authorId:_0x1129f6}=_0x57b1c1['_splitMarkerName'](_0x33bac3['markerName']),_0x41278b=['ck-suggestion-marker','ck-suggestion-marker-insertion'],_0x5adf44=_0x57b1c1['activeMarkers']['includes'](_0x33bac3['markerName']);return _0x5adf44&&_0x41278b['push']('ck-suggestion-marker--active'),{'classes':_0x41278b,'attributes':{'data-suggestion':_0x41edaf,'data-author-id':_0x1129f6},'priority':_0x5adf44&&_0x399ade?0xbc2:0xbb8};}_0x57b1c1['on']('suggestionLoaded',_0x524230,{'priority':'high'}),_0x57b1c1['on']('suggestionUnloaded',_0x524230,{'priority':'high'}),_0x40e499['model']['document']['registerPostFixer'](()=>{let _0x3811f2=!0x1;const _0x301f08=Array['from'](_0x40e499['model']['document']['differ']['getChangedMarkers']());for(const {name:_0x2c7f99,data:_0x2d2249}of _0x301f08){const {group:_0x31b571,type:_0x55ff7f,id:_0x4e30f2}=_0x57b1c1['_splitMarkerName'](_0x2c7f99);if('suggestion'!=_0x31b571||'deletion'!=_0x55ff7f||_0x2d2249['oldRange'])continue;if(!_0x57b1c1['hasSuggestion'](_0x4e30f2))continue;const _0x378ff3=_0x57b1c1['getSuggestion'](_0x4e30f2)['getRanges'](),_0x31853f=_0x40e499['plugins']['get']('Users')['me'];for(const _0x14bb8c of _0x57b1c1['getSuggestions']()){if(!_0x14bb8c['isInContent']||_0x14bb8c['author']!=_0x31853f)continue;if('formatBlock'!=_0x14bb8c['type']||'tablePasteCell'!=_0x14bb8c['subType'])continue;if(_0x14bb8c['getRanges']()['every'](_0x57529=>_0x378ff3['some'](_0x5126ee=>_0x5126ee['containsRange'](_0x57529,!0x0)))){for(const _0x1963b1 of _0x14bb8c['getAllAdjacentSuggestions']())_0x1963b1['isInContent']&&(_0x1963b1['discard'](),_0x3811f2=!0x0);}}}return _0x3811f2;}),_0x40e499['model']['document']['registerPostFixer'](_0x2451c5=>{const _0x17d602=_0x40e499['commands']['get']('redo');if(!_0x17d602||!_0x17d602['_createdBatches']['has'](_0x2451c5['batch']))return!0x1;let _0x59c414=!0x1;const _0x13e42a=_0x40e499['plugins']['get']('Users')['me'],_0x156e5e=_0x40e499['model']['document']['differ']['getChanges'](),_0x45d28f=Array['from'](_0x40e499['model']['document']['differ']['getChangedMarkers']())['filter'](({name:_0x48a9f9,data:_0x5918d0})=>{const {group:_0x5238ad,subType:_0x3cfd8f,authorId:_0x418a3e}=_0x57b1c1['_splitMarkerName'](_0x48a9f9);return'suggestion'==_0x5238ad&&'tablePaste'==_0x3cfd8f&&_0x418a3e==_0x13e42a['id']&&!_0x5918d0['oldRange'];});for(const _0x4c7279 of _0x156e5e){if('insert'!=_0x4c7279['type']||'tableCellSuggestion'!=_0x4c7279['name']||0x1!=_0x4c7279['length'])continue;const _0x27605b=_0x2451c5['createRange'](_0x4c7279['position'],_0x4c7279['position']['getShiftedBy'](0x1)),_0x47813c=_0x45d28f['find'](({data:_0x11c329})=>_0x11c329['newRange']['isEqual'](_0x27605b));if(!_0x47813c){for(const {name:_0x25f215,data:_0x481216}of _0x45d28f)if(_0x27605b['containsRange'](_0x481216['newRange'])){_0x2451c5['updateMarker'](_0x25f215,{'range':_0x27605b}),_0x59c414=!0x0;break;}}}return _0x59c414;}),_0x40e499['model']['document']['registerPostFixer'](_0x2fadf1=>{let _0x4aa34a=!0x1;const _0x35bc58=_0x40e499['plugins']['get']('Users')['me'],_0x165abb=_0x57b1c1['getSuggestions']()['filter'](_0x4b47a0=>_0x4b47a0['isInContent']&&_0x4b47a0['author']==_0x35bc58),_0x579895=new Set(),_0x439fc8=new Set();for(const _0x41092a of _0x165abb)if('tablePaste'==_0x41092a['subType'])for(const _0x1b7e2c of _0x41092a['getMarkers']()){const _0x174358=_0x1b7e2c['getRange']()['getContainedElement']();if(_0x174358){if(_0x174358['is']('element','tableCellSuggestion')&&isEmpty(_0x174358)){_0x41092a['removeMarker'](_0x1b7e2c['name']),_0x579895['add'](_0x174358),_0x4aa34a=!0x0;const _0x139fd9=_0x174358['nextSibling'],_0x339b93=_0x174358['previousSibling'],_0x1655bb=_0x139fd9&&_0x139fd9['is']('element','tableCellSuggestion'),_0x227bcf=_0x339b93&&_0x339b93['is']('element','tableCellSuggestion');_0x1655bb&&!_0x579895['has'](_0x139fd9)&&_0x439fc8['add'](_0x139fd9),_0x227bcf&&!_0x579895['has'](_0x339b93)&&_0x439fc8['add'](_0x339b93);}else _0x174358['is']('element','paragraph')&&_0x174358['isEmpty']&&(_0x41092a['removeMarker'](_0x1b7e2c['name']),_0x4aa34a=!0x0);}}else{if('tablePasteCell'==_0x41092a['subType']){if(!_0x41092a['attributes']||!_0x41092a['attributes']['tablePasteChainId'])continue;const _0x4befa9=_0x41092a['attributes']['markerAttributes'];if(_0x4befa9&&Object['keys'](_0x4befa9)['length'])continue;const _0x27db69=_0x41092a['attributes']['tablePasteChainId'];let _0x2c2808=!0x0,_0x302dd2=!0x0;for(const _0x52db81 of _0x165abb)if(_0x52db81['subType']&&_0x52db81['subType']['startsWith']('tablePaste')){if(!_0x52db81['attributes']['tablePasteChainId']){_0x302dd2=!0x1;break;}if(_0x52db81['id']!=_0x41092a['id']&&_0x52db81['attributes']['tablePasteChainId']==_0x27db69){_0x2c2808=!0x1;break;}}_0x302dd2&&_0x2c2808&&(_0x41092a['removeMarkers'](),_0x4aa34a=!0x0);}}for(const _0x7c95f5 of _0x579895)_0x2fadf1['remove'](_0x7c95f5);for(const _0x4686ce of _0x439fc8)_0x2fadf1['unwrap'](_0x4686ce);return _0x4aa34a;}),_0x40e499['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'suggestion:formatBlock:tablePasteCell','view':_0x21ddd8=>_0x10019c(_0x21ddd8),'converterPriority':'high'}),_0x40e499['conversion']['for']('dataDowncast')['markerToHighlight']({'model':'suggestion:formatBlock:tablePasteCell','view':(_0x2c6cc9,_0x53af12)=>_0x53af12['options']['showSuggestionHighlights']?_0x10019c(_0x2c6cc9,!0x1):null,'converterPriority':'high'});const _0x21fd51=_0x40e499['editing']['view'];this['listenTo'](_0x21fd51['document'],'clipboardOutput',(_0x33fb29,_0x4a8ffd)=>{const _0x2418c4=[];for(const _0x501369 of _0x21fd51['createRangeIn'](_0x4a8ffd['content'])['getItems']())_0x501369['is']('element','suggestion-td')&&_0x2418c4['push'](_0x501369);_0x21fd51['change'](_0x40e57c=>{for(const _0x5d891c of _0x2418c4)_0x40e57c['move'](_0x40e57c['createRangeIn'](_0x5d891c),_0x40e57c['createPositionBefore'](_0x5d891c)),_0x40e57c['remove'](_0x5d891c);});});}}function isEmpty(_0x1fddff){if(_0x1fddff['isEmpty'])return!0x0;const _0x4b8856=_0x1fddff['getChild'](0x0);return _0x4b8856['is']('element','paragraph')&&_0x4b8856['isEmpty'];}function isPasteTableIntoTable(_0x56d91c,_0x351bf2,_0x10b519,_0x3ebbef,_0xa4e3b4){if(_0x351bf2&&!_0x351bf2['is']('documentSelection'))return!0x1;const _0x49dc22=_0xa4e3b4['getTableIfOnlyTableInContent'](_0x56d91c,_0x10b519);if(!_0x49dc22||!_0x2b1784(_0x49dc22,void 0x0,_0x3ebbef))return!0x1;const _0xddc252=_0x3ebbef['getSelectionAffectedTableCells'](_0x10b519['document']['selection']);if(!_0xddc252['length'])return!0x1;const _0x4008e3=_0xddc252[0x0]['findAncestor']('table'),_0x5afc71=_0x3ebbef['getRowIndexes'](_0xddc252),_0x56d25b=_0x3ebbef['getColumnIndexes'](_0xddc252),_0x52c847={'startRow':_0x5afc71['first'],'endRow':_0x5afc71['last'],'startColumn':_0x56d25b['first'],'endColumn':_0x56d25b['last']};return 0x1==_0xddc252['length']&&(_0x52c847['endRow']+=_0x3ebbef['getRows'](_0x49dc22)-0x1,_0x52c847['endColumn']+=_0x3ebbef['getColumns'](_0x49dc22)-0x1),_0x2b1784(_0x4008e3,_0x52c847,_0x3ebbef);}function _0x2b1784(_0xb82b42,_0x3e6483={},_0x1622fc){for(const {isAnchor:_0x5a10ea,cellHeight:_0x45ce58,cellWidth:_0x4cdb02}of _0x1622fc['createTableWalker'](_0xb82b42,{'includeAllSlots':!0x0,..._0x3e6483}))if(!_0x5a10ea||0x1!=_0x45ce58||0x1!=_0x4cdb02)return!0x1;return!0x0;}class _0x42fcb0 extends ckeditor5['Plugin']{['afterInit'](){if(!this['editor']['plugins']['has']('TableColumnResizeEditing'))return;const _0x4ac4b6=this['editor']['plugins']['get']('TrackChangesEditing');_0x4ac4b6['enableCommand']('resizeTableWidth',this['handleResizeTableWidthCommand']['bind'](this)),_0x4ac4b6['_suggestionFactory']['registerCustomCallback']('formatBlock','resizeTable','accept',_0x4ac4b6['_suggestionFactory']['getSuggestionCallback']('formatBlock',null,'discard')),_0x4ac4b6['_suggestionFactory']['registerCustomCallback']('formatBlock','resizeTable','discard',_0x4ac4b6['_suggestionFactory']['getSuggestionCallback']('formatBlock',null,'accept')),_0x4ac4b6['descriptionFactory']['registerDescriptionCallback'](this['handleSuggestionDescription']['bind'](this));}['handleResizeTableWidthCommand'](_0x118cba,_0x390fdb){const _0x5e192a=this['editor']['plugins']['get']('TrackChangesEditing'),_0x5017fc=this['editor']['plugins']['get']('TableColumnResizeEditing'),_0x204c4c=_0x390fdb['table']||this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](()=>{const _0x5a5447=_0x5017fc['getColumnGroupElement'](_0x204c4c);let _0x4aac26=_0x5a5447?_0x5017fc['getTableColumnsWidths'](_0x5a5447):null,_0x1d19c4=_0x204c4c['getAttribute']('tableWidth')||null;const _0x5e0a4a=_0x390fdb['tableWidth']||_0x1d19c4,_0x66fb4f=_0x390fdb['columnWidths']||_0x4aac26,_0xf25364=this['editor']['plugins']['get']('Users')['me'];for(const _0x16493e of _0x5e192a['getSuggestions']()){const _0x33658a=_0x16493e['getContainedElement']();if('resizeTable'===_0x16493e['subType']&&_0x33658a===_0x204c4c){_0x16493e['author']!==_0xf25364&&_0x16493e['discard']();const _0x36eff8=_0x16493e['data']['commandParams'];_0x1d19c4=_0x36eff8[0x0]['tableWidth'],_0x4aac26=_0x36eff8[0x0]['columnWidths'];break;}}_0x118cba({'table':_0x204c4c,'tableWidth':_0x5e0a4a,'columnWidths':_0x66fb4f}),_0x5e192a['markBlockFormat'](_0x204c4c,{'commandName':'resizeTableWidth','commandParams':[{'tableWidth':_0x1d19c4,'columnWidths':_0x4aac26}],'formatGroupId':'resizeTable'},[],'resizeTable');});}['handleSuggestionDescription'](_0x1f472e){if('formatBlock'!=_0x1f472e['type']&&'formatInline'!=_0x1f472e['type'])return;const {data:_0x17377c}=_0x1f472e;if(_0x17377c&&'resizeTable'===_0x17377c['formatGroupId']){const _0x32a0ff='*Format:*\x20resize\x20table';return{'type':'format','content':getTranslation$1(this['editor']['locale'],_0x32a0ff)};}}}class TrackChangesTemplate extends ckeditor5['Plugin']{['afterInit'](){const _0x593f28=this['editor'];_0x593f28['plugins']['has']('Template')&&_0x593f28['plugins']['get']('TrackChangesEditing')['enableCommand']('insertTemplate');}}class TrackChangesTableOfContents extends ckeditor5['Plugin']{['afterInit'](){const _0x173954=this['editor'];if(!_0x173954['commands']['get']('insertTableOfContents'))return;_0x173954['plugins']['get']('TrackChangesEditing')['enableCommand']('insertTableOfContents');const _0x3cff8e=_0x173954['plugins']['get']('TrackChangesEditing'),_0x43735b=_0x173954['locale'];_0x3cff8e['descriptionFactory']['registerElementLabel']('tableOfContents',_0x3dbed8=>getTranslation$1(_0x43735b,'ELEMENT_TABLE_OF_CONTENTS',_0x3dbed8));}}class TrackChangesTitle extends ckeditor5['Plugin']{['afterInit'](){const _0x3cf565=this['editor'];if(!_0x3cf565['plugins']['has']('Title'))return;const _0x26cfde=_0x3cf565['plugins']['get']('TrackChangesEditing');_0x26cfde['descriptionFactory']['registerElementLabel']('title-content',()=>getTranslation$1(_0x3cf565['locale'],'ELEMENT_TITLE')),_0x3cf565['model']['document']['registerPostFixer'](_0x12c22d=>{let _0x3433e9=!0x1;const _0x2a8918=Array['from'](_0x3cf565['model']['document']['differ']['getChangedMarkers']());for(const {name:_0x5230ce,data:_0x4f4a28}of _0x2a8918){const {group:_0x4c4af8}=_0x26cfde['_splitMarkerName'](_0x5230ce);if('suggestion'!==_0x4c4af8||!_0x4f4a28['newRange'])continue;const _0x1ee0eb=_0x4f4a28['newRange'],_0x32d824=_0x1ee0eb['end']['nodeBefore'];if(!_0x32d824||!_0x32d824['is']('element','title-content'))continue;if(!_0x1ee0eb['start']['isTouching'](_0x1ee0eb['end']))continue;const _0x391ee0=_0x3cf565['model']['schema']['getNearestSelectionRange'](_0x1ee0eb['end'],'forward');if(_0x391ee0&&_0x391ee0['isCollapsed']){const _0x3c92bb=_0x12c22d['createRange'](_0x1ee0eb['start'],_0x391ee0['start']);_0x3c92bb['isEqual'](_0x1ee0eb)||(_0x12c22d['updateMarker'](_0x5230ce,{'range':_0x3c92bb}),_0x3433e9=!0x0);}_0x3433e9||(_0x12c22d['removeMarker'](_0x5230ce),_0x3433e9=!0x0);}return _0x3433e9;});}}class _0x26f245 extends ckeditor5['Plugin']{['afterInit'](){const _0x3eb3f9=this['editor'],_0x57b416=_0x3eb3f9['plugins']['get']('TrackChangesEditing');_0x3eb3f9['plugins']['has']('Uploadcare')&&(_0x57b416['enableCommand']('uploadcare'),_0x3eb3f9['plugins']['has']('UploadcareImageEdit')&&(_0x57b416['enableCommand']('uploadcareImageEdit'),_0x57b416['enableDefaultAttributesIntegration']('uploadcareImageReplace'),_0x57b416['registerBlockAttribute']('uploadcareImageId'),_0x57b416['descriptionFactory']['registerDescriptionCallback'](_0xe4cc54=>{if('attribute'!=_0xe4cc54['type'])return;const {data:_0x10046a}=_0xe4cc54;return _0x10046a&&'uploadcareImageId'==_0x10046a['key']?{'type':'format','content':''}:void 0x0;})));}}class _0x32dd4c extends ckeditor5['Plugin']{['afterInit'](){const _0x304f4b=this['editor'],_0xac61f0=_0x304f4b['plugins']['get']('TrackChangesEditing');_0x304f4b['plugins']['has']('UndoEditing')&&(_0xac61f0['enableCommand']('undo'),_0xac61f0['enableCommand']('redo'));}}class TrackChangesTableCaption extends ckeditor5['Plugin']{static get['requires'](){return[_0x24555e];}['afterInit'](){const _0x31f21f=this['editor'];if(!_0x31f21f['plugins']['has']('TableCaptionEditing'))return;_0x31f21f['plugins']['get']('TrackChangesEditing')['enableCommand']('toggleTableCaption');}}class TrackChangesTableProperties extends ckeditor5['Plugin']{['tableProperties'];['tableCellProperties'];constructor(_0x5b4d67){super(_0x5b4d67),this['tableProperties']=['tableBorderColor','tableBorderStyle','tableBorderWidth','tableAlignment','tableWidth','tableHeight','tableBackgroundColor'],this['tableCellProperties']=['tableCellBorderColor','tableCellBorderStyle','tableCellBorderWidth','tableCellPadding','tableCellWidth','tableCellHeight','tableCellBackgroundColor','tableCellHorizontalAlignment','tableCellVerticalAlignment'];}static get['pluginName'](){return'TrackChangesTableProperties';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const _0x32b80c=this['editor']['plugins']['get']('TrackChangesEditing');if(this['editor']['plugins']['has']('TablePropertiesEditing')){for(const _0x2db7a0 of this['tableProperties'])_0x32b80c['enableCommand'](_0x2db7a0,(_0xe59d24,_0x65c953)=>{const _0x3d21df=this['editor']['model']['document']['selection']['getFirstPosition']()['findAncestor']('table');this['_handlePropertyChange'](_0x2db7a0,[_0x3d21df],this['tableProperties'],'tableProperties',_0xe59d24,_0x65c953);});_0x32b80c['_suggestionFactory']['registerCustomCallback']('formatBlock','tableProperties','accept',_0x32b80c['_suggestionFactory']['getSuggestionCallback']('formatBlock',null,'discard')),_0x32b80c['_suggestionFactory']['registerCustomCallback']('formatBlock','tableProperties','discard',(_0x56564f,_0x5bdae7)=>this['handleDiscardAction'](this['tableProperties'],_0x56564f,_0x5bdae7)),_0x32b80c['_suggestionFactory']['registerCustomCallback']('formatBlock','tableProperties','join',()=>!0x1);}if(this['editor']['plugins']['has']('TableCellPropertiesEditing')){for(const _0x3d23db of this['tableCellProperties'])_0x32b80c['enableCommand'](_0x3d23db,(_0x1e9cfd,_0x151381)=>{const _0x431363=this['editor']['plugins']['get']('TableUtils')['getSelectionAffectedTableCells'](this['editor']['model']['document']['selection']);this['_handlePropertyChange'](_0x3d23db,_0x431363,this['tableCellProperties'],'tableCellProperties',_0x1e9cfd,_0x151381);});_0x32b80c['_suggestionFactory']['registerCustomCallback']('formatBlock','tableCellProperties','accept',_0x32b80c['_suggestionFactory']['getSuggestionCallback']('formatBlock',null,'discard')),_0x32b80c['_suggestionFactory']['registerCustomCallback']('formatBlock','tableCellProperties','discard',(_0xf9b70,_0x42fe26)=>this['handleDiscardAction'](this['tableCellProperties'],_0xf9b70,_0x42fe26)),_0x32b80c['_suggestionFactory']['registerCustomCallback']('formatBlock','tableCellProperties','join',()=>!0x1);}_0x32b80c['descriptionFactory']['registerDescriptionCallback'](_0x471618=>this['handleSuggestionDescription'](_0x471618)),this['_registerTablePropertiesAttributes']();}['_handlePropertyChange'](_0x513a93,_0x45f6cb,_0x1e4542,_0x335ff1,_0x3dd49b,_0x48e722){const _0x5acb1e=this['editor']['plugins']['get']('TrackChangesEditing');this['editor']['model']['enqueueChange'](_0x48e722['batch'],()=>{for(const _0x591009 of _0x45f6cb){if(this['_getSuggestion'](_0x591009,_0x335ff1))_0x3dd49b(_0x48e722);else{const _0x2c532c={};for(const _0x242fdc of _0x1e4542){const _0x3ac84d=_0x591009['getAttribute'](_0x242fdc);void 0x0!==_0x3ac84d&&(_0x2c532c[_0x242fdc]=_0x3ac84d);}_0x3dd49b(_0x48e722),_0x5acb1e['markBlockFormat'](_0x591009,{'commandParams':[_0x2c532c]},[],_0x335ff1);}}});}['handleDiscardAction'](_0x1650d8,_0x7201bd,_0x2557b7){const _0x1417af=_0x7201bd[0x0]['start']['nodeAfter'],_0x532e2d=_0x2557b7['commandParams'][0x0];this['editor']['model']['change'](_0x5cfb83=>{for(const _0x410994 of _0x1650d8)void 0x0!==_0x532e2d[_0x410994]?_0x5cfb83['setAttribute'](_0x410994,_0x532e2d[_0x410994],_0x1417af):_0x5cfb83['removeAttribute'](_0x410994,_0x1417af);});}['handleSuggestionDescription'](_0x4fe66d){if(_0x4fe66d['data'])switch(_0x4fe66d['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'](_0x4109fc,_0x4a279b){const _0xd9c793=this['editor']['plugins']['get']('TrackChangesEditing');for(const _0x3c0d01 of _0xd9c793['getSuggestions']({'skipNotAttached':!0x0})){const _0x4c4915=_0x3c0d01['getContainedElement']();if(_0x3c0d01['subType']===_0x4a279b&&_0x4c4915===_0x4109fc)return _0x3c0d01;}return null;}['_registerTablePropertiesAttributes'](){const _0x2503e8=this['editor']['plugins']['get']('TrackChangesEditing'),_0x152fa1=[...this['tableProperties'],...this['tableCellProperties']];for(const _0x3ec141 of _0x152fa1){const _0x111dcc=_0x3ec141['replace'](/([A-Z])/g,'_$1')['toUpperCase']();_0x2503e8['registerBlockAttribute'](_0x3ec141),_0x2503e8['descriptionFactory']['registerAttributeLabel'](_0x3ec141,getTranslation$1(this['editor']['locale'],'FORMAT_'+_0x111dcc));}}}class TrackChangesLineHeight extends ckeditor5['Plugin']{['afterInit'](){const _0x4ada80=this['editor'];if(!_0x4ada80['plugins']['has']('LineHeight'))return;const _0x10b247=_0x4ada80['plugins']['get']('TrackChangesEditing'),_0x17eba9=_0x4ada80['locale'];_0x10b247['enableDefaultAttributesIntegration']('lineHeight'),_0x10b247['registerBlockAttribute']('lineHeight'),_0x10b247['descriptionFactory']['registerAttributeLabel']('lineHeight',getTranslation$1(_0x17eba9,'FORMAT_LINE_HEIGHT'));}}const renameAttributeKey='$elementName';class TrackChangesEditing extends ckeditor5['Plugin']{['descriptionFactory'];['trackChangesCommand'];['_adapter'];['_suggestionFactory'];['_suggestions'];['_commentsRepository'];['_enabledCommands'];['_model'];['_suggestionState'];['_isForcedDefaultExecutionBlock'];['_trackFormatChanges'];['_mergeNestedSuggestions'];['_blockAttributeKeys'];['_inlineAttributeKeys'];['_recordAttributeSuggestions']=!0x1;['_trackingSessionId']=null;static get['requires'](){return['CommentsRepository',_0x38ef77,ckeditor5['PendingActions'],DocumentCompare,TrackChangesAIAssistant,_0xa7294d,TrackChangesAIQuickActions,TrackChangesAlignment,TrackChangesBasicStyles,TrackChangesBlockQuote,_0x27a5ae,_0xebd1c5,_0xe4f974,_0x504274,TrackChangesComments,TrackChangesDeleteCommand,_0x8f619d,TrackChangesEnterCommand,_0x1b6086,TrackChangesFont,TrackChangesFormatPainter,_0x3d1288,TrackChangesHighlight,TrackChangesHorizontalLine,TrackChangesHtmlEmbed,_0x196528,TrackChangesImageStyle,_0x405f16,TrackChangesImportWord,TrackChangesIndent,TrackChangesInputCommand,TrackChangesLegacyList,TrackChangesLegacyListProperties,TrackChangesMultiLevelList,_0x233b6d,TrackChangesList,TrackChangesLineHeight,TrackChangesDocumentListProperties,_0xb804f0,TrackChangesMention,_0x4c4f93,_0x432530,_0x1bd736,_0x24b87b,TrackChangesRemoveFormat,TrackChangesRestrictedEditingMode,TrackChangesShiftEnterCommand,TrackChangesStandardEditingMode,TrackChangesStylesDropdown,_0x24555e,TrackChangesTableMergeSplit,_0x39c403,TrackChangesTableLayout,TrackChangesTableCaption,_0x2bfa31,_0x42fcb0,TrackChangesTableOfContents,TrackChangesTableProperties,TrackChangesTemplate,TrackChangesTitle,_0x26f245,_0x32dd4c];}static get['pluginName'](){return'TrackChangesEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0xbeaa8c){super(_0xbeaa8c),this['set']('activeMarkers',[]),this['on']('change:activeMarkers',(_0x9f8212,_0xe255e,_0x26721c,_0x4576c9)=>{this['_model']['change'](()=>{for(const _0x112a9e of[..._0x4576c9,..._0x26721c])this['_model']['markers']['has'](_0x112a9e)&&_0xbeaa8c['editing']['reconvertMarker'](_0x112a9e);});}),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']=_0xbeaa8c['plugins']['get']('CommentsRepository'),this['_enabledCommands']=new Set(),this['_model']=this['editor']['model'],this['_suggestionState']=new WeakMap(),this['_isForcedDefaultExecutionBlock']=!0x1,this['_blockAttributeKeys']=new Set([renameAttributeKey]),this['_inlineAttributeKeys']=new Set(),_0xbeaa8c['config']['define']('trackChanges.trackFormatChanges','default'),this['_trackFormatChanges']=_0xbeaa8c['config']['get']('trackChanges.trackFormatChanges'),_0xbeaa8c['config']['define']('trackChanges.mergeNestedSuggestions',!0x0),this['_mergeNestedSuggestions']=_0xbeaa8c['config']['get']('trackChanges.mergeNestedSuggestions'),this['trackChangesCommand']=new _0x5031ab(_0xbeaa8c,this['_enabledCommands']),this['_initAriaMarkerChangeAnnouncements']();}['init'](){const _0x2121e4=this['editor'],_0x4b8507=(_0x45236e,_0x20c023)=>{if('attribute'!=_0x45236e)return'ck-suggestion-marker-'+_0x45236e;const _0x2a001c=_0x20c023['split']('|')[0x0];return this['_isBlockAttribute'](_0x2a001c)?'ck-suggestion-marker-formatBlock':'ck-suggestion-marker-formatInline';};_0x2121e4['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'suggestion','view':_0x224f58=>{const {id:_0x263d37,authorId:_0x56159c,type:_0xc39146,subType:_0x4f87a9}=this['_splitMarkerName'](_0x224f58['markerName']),_0x5a5913=['ck-suggestion-marker',_0x4b8507(_0xc39146,_0x4f87a9)];let _0x54284f=0xbb8;return this['activeMarkers']['includes'](_0x224f58['markerName'])&&(_0x5a5913['push']('ck-suggestion-marker--active'),_0x54284f=0xbc2),'deletion'==_0xc39146&&(_0x54284f+=0x5),{'classes':_0x5a5913,'attributes':{'data-suggestion':_0x263d37,'data-author-id':_0x56159c},'priority':_0x54284f};}}),_0x2121e4['conversion']['for']('dataDowncast')['add'](_0x520c82=>{_0x520c82['on']('addMarker:suggestion',(_0x21cad6,_0x348585,_0x3f0338)=>{if(!_0x3f0338['options']['showSuggestionHighlights'])return;const _0x5f2dd8=_0x348585['item'];if(!_0x5f2dd8)return;const _0x3d4b0d=_0x3f0338['mapper']['toViewElement'](_0x5f2dd8);_0x2121e4['model']['schema']['isObject'](_0x5f2dd8)&&_0x3d4b0d&&!_0x3d4b0d['getCustomProperty']('widget')&&_0x3d4b0d['is']('containerElement')&&ckeditor5['toWidget'](_0x3d4b0d,_0x3f0338['writer']);},{'priority':'high'});}),_0x2121e4['conversion']['for']('dataDowncast')['markerToHighlight']({'model':'suggestion','view':(_0x36714d,_0xa037d7)=>{if(!_0xa037d7['options']['showSuggestionHighlights'])return null;const {id:_0x914ed8,authorId:_0x787fe0,type:_0x404819,subType:_0x2fadea}=this['_splitMarkerName'](_0x36714d['markerName']);return{'classes':['ck-suggestion-marker',_0x4b8507(_0x404819,_0x2fadea)],'priority':0xbb8,'attributes':{'data-suggestion':_0x914ed8,'data-author-id':_0x787fe0}};}});const _0x555a16=({showActiveMarkers:_0x4a830b=!0x0,isAttributeSuggestion:_0x2e3b79=!0x1}={})=>(_0x2a44e7,_0x2c52b7,_0x1e56ed)=>{if(!_0x2c52b7['item'])return;const {id:_0x4bd3b8,authorId:_0xbc3dd8,subType:_0xe69e3f}=this['_splitMarkerName'](_0x2c52b7['markerName']);if(_0x2e3b79){const _0x935c7d=_getAttributeKeyFromSubType(_0xe69e3f);if(!this['_isBlockAttribute'](_0x935c7d))return;}if(_0x2c52b7['item']['is']('selection'))return void _0x1e56ed['consumable']['consume'](_0x2c52b7['item'],_0x2a44e7['name']);const _0x3634ab=_0x1e56ed['mapper']['toViewElement'](_0x2c52b7['item']);if(_0x2c52b7['item']['is']('element')&&_0x2121e4['model']['schema']['isBlock'](_0x2c52b7['item'])&&!_0x3634ab['getCustomProperty']('addHighlight')){_0x1e56ed['writer']['addClass'](['ck-suggestion-marker','ck-suggestion-marker-formatBlock'],_0x3634ab),_0x1e56ed['writer']['setAttribute']('data-suggestion',_0x4bd3b8,_0x3634ab),_0x1e56ed['writer']['setAttribute']('data-author-id',_0xbc3dd8,_0x3634ab),_0x1e56ed['mapper']['bindElementToMarker'](_0x3634ab,_0x2c52b7['markerName']),_0x4a830b&&(this['activeMarkers']['includes'](_0x2c52b7['markerName'])?_0x1e56ed['writer']['addClass']('ck-suggestion-marker--active',_0x3634ab):_0x1e56ed['writer']['removeClass']('ck-suggestion-marker--active',_0x3634ab));for(const _0x59b4ad of _0x2121e4['model']['createRangeIn'](_0x2c52b7['item'])['getItems']())_0x1e56ed['consumable']['consume'](_0x59b4ad,_0x2a44e7['name']);_0x1e56ed['consumable']['consume'](_0x2c52b7['item'],_0x2a44e7['name']);}};_0x2121e4['conversion']['for']('dataDowncast')['add'](_0x5d81cd=>{_0x5d81cd['on']('addMarker:suggestion:formatBlock',(_0x1fd1fb,_0xd41221,_0xe397bd)=>{_0xe397bd['options']['showSuggestionHighlights']&&_0x555a16({'showActiveMarkers':!0x1})(_0x1fd1fb,_0xd41221,_0xe397bd);},{'priority':'highest'});}),_0x2121e4['conversion']['for']('dataDowncast')['add'](_0x2fe9dd=>{_0x2fe9dd['on']('addMarker:suggestion:attribute',(_0x271813,_0x28b4e0,_0x2a8e2f)=>{_0x2a8e2f['options']['showSuggestionHighlights']&&_0x555a16({'showActiveMarkers':!0x1,'isAttributeSuggestion':!0x0})(_0x271813,_0x28b4e0,_0x2a8e2f);},{'priority':'highest'});}),_0x2121e4['conversion']['for']('dataDowncast')['markerToData']({'model':'suggestion','view':(_0x415a8f,_0x148aae)=>{if(_0x148aae['options']['showSuggestionHighlights']){const {id:_0x572b90,authorId:_0x412c9e}=this['_splitMarkerName'](_0x415a8f);return _0x415a8f['includes'](':split')||_0x415a8f['includes'](':merge')?{'group':'suggestion','name':_0x415a8f['substr'](0xb),'attributes':{'data-suggestion':_0x572b90,'data-author-id':_0x412c9e}}:null;}return{'group':'suggestion','name':_0x415a8f['substr'](0xb)};}}),_0x2121e4['conversion']['for']('upcast')['elementToElement']({'view':{'name':'suggestion','attributes':{'id':/^\w/,'suggestion-type':/^\w/}},'model':(_0x25e6e9,{writer:_0x481855})=>{let _0x35e255='suggestion:'+_0x25e6e9['getAttribute']('suggestion-type')+':'+_0x25e6e9['getAttribute']('id');return _0x25e6e9['getAttribute']('marker-count')&&(_0x35e255+=':'+_0x25e6e9['getAttribute']('marker-count')),_0x481855['createElement']('$marker',{'data-name':_0x35e255});}}),_0x2121e4['conversion']['for']('upcast')['dataToMarker']({'view':'suggestion'}),_0x2121e4['conversion']['for']('editingDowncast')['add'](_0x1bad24=>{_0x1bad24['on']('addMarker:suggestion:formatBlock',_0x555a16(),{'priority':'high'});}),_0x2121e4['conversion']['for']('editingDowncast')['add'](_0x430ec4=>{_0x430ec4['on']('addMarker:suggestion:attribute',_0x555a16({'isAttributeSuggestion':!0x0}),{'priority':'high'});}),_0x2121e4['conversion']['for']('editingDowncast')['add'](_0x25c172=>{_0x25c172['on']('removeMarker:suggestion:formatBlock',(_0x325ef7,_0x1fb7c1,_0x5aaa9f)=>{const _0x2ee107=_0x5aaa9f['mapper']['markerNameToElements'](_0x1fb7c1['markerName']);if(_0x2ee107){for(const _0x42fbdf of _0x2ee107)_0x42fbdf['getCustomProperty']('addHighlight')||(_0x5aaa9f['writer']['removeClass'](['ck-suggestion-marker','ck-suggestion-marker-formatBlock','ck-suggestion-marker--active'],_0x42fbdf),_0x5aaa9f['writer']['removeAttribute']('data-suggestion',_0x42fbdf),_0x5aaa9f['writer']['removeAttribute']('data-author-id',_0x42fbdf),_0x5aaa9f['mapper']['unbindElementFromMarkerName'](_0x42fbdf,_0x1fb7c1['markerName']));}},{'priority':'high'});}),_0x2121e4['conversion']['for']('editingDowncast')['add'](_0x20bdd1=>{_0x20bdd1['on']('removeMarker:suggestion:attribute',(_0x31ced9,_0x8f926b,_0x2a7610)=>{const _0x14033d=_0x2a7610['mapper']['markerNameToElements'](_0x8f926b['markerName']);if(!_0x14033d)return;const {subType:_0x83b5c3}=this['_splitMarkerName'](_0x8f926b['markerName']),_0x1e58f0=_getAttributeKeyFromSubType(_0x83b5c3);if(this['_isBlockAttribute'](_0x1e58f0)){for(const _0x372f6f of _0x14033d)_0x372f6f['getCustomProperty']('addHighlight')||(_0x2a7610['writer']['removeClass'](['ck-suggestion-marker','ck-suggestion-marker-formatBlock','ck-suggestion-marker--active'],_0x372f6f),_0x2a7610['writer']['removeAttribute']('data-suggestion',_0x372f6f),_0x2a7610['writer']['removeAttribute']('data-author-id',_0x372f6f),_0x2a7610['mapper']['unbindElementFromMarkerName'](_0x372f6f,_0x8f926b['markerName']));}},{'priority':'high'});}),_0x2121e4['model']['document']['registerPostFixer'](_0x3d2b43=>{let _0x112e01=!0x1;const _0x18c877=Array['from'](_0x2121e4['model']['document']['differ']['getChangedMarkers']()),_0x4feb8a=new Set();for(const {name:_0x8ea45c,data:_0x5899be}of _0x18c877){const {group:_0x1223d8,type:_0x161354,subType:_0x63c32d,id:_0x12f0ad}=this['_splitMarkerName'](_0x8ea45c);if('suggestion'!==_0x1223d8)continue;const _0x51ccaf=_0x63c32d?'suggestion:'+_0x161354+':'+_0x63c32d+':'+_0x12f0ad:'suggestion:'+_0x161354+':'+_0x12f0ad,_0x542e5f=_0x2121e4['model']['markers']['getMarkersGroup'](_0x51ccaf),_0x479a19=_0x2121e4['model']['markers']['get'](_0x8ea45c),_0x2c3d03=this['_suggestions']['get'](_0x12f0ad);if(null!=_0x5899be['newRange']){'formatInline'==_0x161354&&(_0x112e01=_0x112e01||trimFormatInlineSuggestionRange(_0x5899be['newRange'],_0x8ea45c,_0x3d2b43,_0x2121e4['model']['schema']));const _0x55af3a='attribute'==_0x161354&&this['_isBlockAttribute'](_0x63c32d['split']('|')[0x0]),_0x33a1ec='attribute'==_0x161354&&this['_isInlineAttribute'](_0x63c32d['split']('|')[0x0]);if(_0x5899be['newRange']['isCollapsed']||'$graveyard'==_0x5899be['newRange']['root']['rootName']||'formatBlock'==_0x161354&&!isCorrectFormatBlockSuggestionRange(_0x5899be['newRange'])||_0x55af3a&&!isCorrectFormatBlockSuggestionRange(_0x5899be['newRange'])||_0x33a1ec&&isEmptyRange(_0x5899be['newRange'])||'deletion'==_0x161354&&isEmptyRange(_0x5899be['newRange'])||_0x479a19&&isIntersectingWithOtherMarkers(_0x479a19,_0x542e5f))_0x3d2b43['removeMarker'](_0x8ea45c),_0x112e01=!0x0;else{if(!_0x2c3d03||!_0x2c3d03['isInContent'])continue;if(_0x5899be['newRange']&&_0x5899be['oldRange']&&_0x5899be['newRange']['isEqual'](_0x5899be['oldRange']))continue;_0x4feb8a['add'](_0x2c3d03);}}}return _0x4feb8a['size']>0x0&&(_0x112e01=!!this['_joinWithAdjacentSuggestions'](_0x4feb8a)||_0x112e01),_0x112e01;}),_0x2121e4['model']['document']['registerPostFixer'](_0x23c12c=>{let _0x2d0ce5=!0x1;for(const _0x52ec7c of _0x2121e4['model']['document']['differ']['getChanges']())if('insert'==_0x52ec7c['type'])for(const _0x2ff2af of this['_suggestions']['values']()){if(_0x2ff2af['isMultiRange']||!_0x2ff2af['isInContent'])continue;const _0x4e6157='formatBlock'==_0x2ff2af['type'],_0x3b5da3=this['_getAttributeKey'](_0x2ff2af),_0x1677c8=_0x3b5da3&&this['_isBlockAttribute'](_0x3b5da3);if(!_0x4e6157&&!_0x1677c8)continue;const _0x134fd9=_0x2ff2af['getFirstRange']();if(_0x134fd9['start']['parent']!=_0x134fd9['end']['parent']&&!_0x134fd9['end']['isAtEnd']){const _0x3c4a0d=_0x2121e4['model']['createPositionAt'](_0x134fd9['start']['nodeAfter'],'end'),_0x346d30=_0x2121e4['model']['createRange'](_0x134fd9['start'],_0x3c4a0d);_0x23c12c['updateMarker'](_0x2ff2af['getFirstMarker'](),{'range':_0x346d30}),_0x2d0ce5=!0x0;}}return _0x2d0ce5;}),_0x2121e4['model']['document']['registerPostFixer'](_0x5e7a1c=>this['_processAttributeChanges'](_0x5e7a1c)),_0x2121e4['model']['document']['registerPostFixer'](_0x3e9003=>!_0x3e9003['batch']['isLocal']&&this['_processAttributeSuggestions'](_0x3e9003)),_0x2121e4['model']['on']('_afterChanges',()=>{this['_recordAttributeSuggestions']=!0x1;}),_0x2121e4['model']['document']['on']('change:data',(_0x28400f,_0x15fbe6)=>{if(!_0x15fbe6['isLocal']||_0x15fbe6['isUndo'])return;if(!this['_recordAttributeSuggestions'])return;const _0x4f94ad=_0x2121e4['model']['document']['differ']['getChanges']();if(0x0==_0x4f94ad['length'])return;const _0x146b5a=[],_0x57a763=_0x4f94ad['filter'](_0x2696f9=>'attribute'==_0x2696f9['type']),_0xff1f3c=_0x4f94ad['filter'](_0x4185a4=>'insert'==_0x4185a4['type']&&'$text'!=_0x4185a4['name']);for(const _0x4ab488 of _0x57a763)this['_isRegisteredAttribute'](_0x4ab488['attributeKey'])&&_0x146b5a['push']({'key':_0x4ab488['attributeKey'],'newValue':_0x4ab488['attributeNewValue'],'oldValue':_0x4ab488['attributeOldValue'],'range':fixAttributeSuggestionRange(_0x4ab488['range'],_0x2121e4['model'])});for(const _0x30d3d5 of _0xff1f3c){if('rename'!=_0x30d3d5['action']&&'refresh'!=_0x30d3d5['action'])continue;const _0x522ff7=createBlockFormatRangeForElement(_0x30d3d5['position']['nodeAfter'],_0x2121e4['model']),_0x26e9aa=_0x30d3d5['before'];'rename'==_0x30d3d5['action']&&_0x146b5a['push']({'key':renameAttributeKey,'newValue':_0x30d3d5['name'],'oldValue':_0x26e9aa['name'],'range':_0x522ff7});for(const [_0x331d1b,_0x24e4c3]of _0x26e9aa['attributes']){if(!this['_isRegisteredAttribute'](_0x331d1b))continue;const _0x230664=_0x30d3d5['attributes']['get'](_0x331d1b);_0x24e4c3!==_0x230664&&_0x146b5a['push']({'key':_0x331d1b,'newValue':_0x230664,'oldValue':_0x24e4c3,'range':_0x522ff7});}for(const [_0x434f51,_0x743411]of _0x30d3d5['attributes'])this['_isRegisteredAttribute'](_0x434f51)&&(_0x26e9aa['attributes']['has'](_0x434f51)||_0x146b5a['push']({'key':_0x434f51,'newValue':_0x743411,'oldValue':null,'range':_0x522ff7}));}0x0!=_0x146b5a['length']&&_0x2121e4['model']['enqueueChange'](_0x15fbe6,_0x168623=>{const _0x460c98=ckeditor5['uid']();for(const {range:_0x2a3ebc,key:_0x2935b8,oldValue:_0x10b80b,newValue:_0x28dfdd}of _0x146b5a)this['markAttributeChange'](_0x2a3ebc,_0x2935b8,_0x10b80b,_0x28dfdd,{'groupId':_0x460c98});this['_reduceExistingSuggestions'](_0x168623,_0x146b5a);});},{'priority':'lowest'}),_0x2121e4['model']['markers']['on']('update:suggestion',(_0x515a98,_0xff3180,_0x379686)=>{if(null==_0x379686){const {id:_0x456dc7}=this['_splitMarkerName'](_0xff3180['name']),_0x39703b=this['_suggestions']['get'](_0x456dc7);_0x39703b&&_0x39703b['addMarkerName'](_0xff3180['name']);}}),_0x2121e4['model']['document']['on']('change:data',()=>{const _0x27cbeb=Array['from'](_0x2121e4['model']['document']['differ']['getChangedMarkers']())['filter'](_0x499334=>'suggestion'===this['_splitMarkerName'](_0x499334['name'])['group']);if(0x0===_0x27cbeb['length'])return;_0x27cbeb['sort']((_0x3db9d7,_0x4006e8)=>{const _0x49c809=_0x3db9d7['data']['oldRange'],_0x13d367=_0x4006e8['data']['oldRange'];return null===_0x49c809&&null===_0x13d367?0x0:null===_0x49c809&&null!==_0x13d367?-0x1:null!==_0x49c809&&null===_0x13d367?0x1:_0x49c809['start']['isBefore'](_0x13d367['start'])?-0x1:0x1;});const _0x1ce2aa=new Set(),_0x3a1b14=new Set();for(const {name:_0x51e103,data:_0x1a1683}of _0x27cbeb){const {id:_0x5e285c}=this['_splitMarkerName'](_0x51e103);if(null===_0x1a1683['oldRange']){const _0x6847c=this['_handleNewSuggestionMarker'](_0x51e103);_0x3a1b14['add'](_0x6847c);}else{const _0x395305=this['_suggestions']['get'](_0x5e285c);null!==_0x1a1683['newRange']||_0x395305['isInContent']?(_0x1ce2aa['add'](_0x395305['head']),_0x3a1b14['add'](_0x395305)):this['_removeSuggestion'](_0x395305);}}_0x3a1b14['size']>0x0&&this['_refreshSuggestionsChain'](_0x3a1b14);for(const _0x10cc05 of _0x1ce2aa)this['fire']('suggestionChanged',_0x10cc05);}),_0x2121e4['model']['on']('applyOperation',(_0x2870b1,_0x4cf73f)=>{const _0x27b5e7=_0x4cf73f[0x0];if(!this['_suggestions']['size'])return;if(!_0x27b5e7['isDocumentOperation'])return;if(_0x27b5e7['batch']['isUndo']||!_0x27b5e7['batch']['isLocal'])return;let _0x597096,_0x393c87;switch(_0x27b5e7['type']){case'insert':_0x597096=_0x2121e4['model']['createPositionAt'](_0x27b5e7['position']),_0x393c87=_0x597096['getShiftedBy'](_0x27b5e7['howMany']);break;case'split':_0x597096=_0x2121e4['model']['createPositionAt'](_0x27b5e7['splitPosition']),_0x393c87=_0x2121e4['model']['createPositionAt'](_0x27b5e7['moveTargetPosition']);break;case'move':_0x597096=_0x2121e4['model']['createPositionAt'](_0x27b5e7['targetPosition']),_0x393c87=_0x597096['getShiftedBy'](_0x27b5e7['howMany']);break;default:return;}const _0xb5e4a4=_0x2121e4['model']['createRange'](_0x597096,_0x393c87);_0x2121e4['model']['change'](()=>{for(const {suggestion:_0x56dec7,meta:_0x52d3f6}of this['_findSuggestions'](_0xb5e4a4)){if(_0x56dec7['isMultiRange'])continue;if('formatInline'==_0x56dec7['type'])continue;const _0x3674b7=this['_getAttributeKey'](_0x56dec7);if(_0x3674b7&&this['_isBlockAttribute'](_0x3674b7)&&'split'!=_0x27b5e7['type'])continue;const _0x4388cd=_0x56dec7['data']&&_0x56dec7['data']['multipleBlocks'];('formatBlock'!=_0x56dec7['type']||'split'==_0x27b5e7['type']&&!_0x4388cd)&&(_0x52d3f6['containsRangeInObject']||'insertion'==_0x56dec7['type']&&_0x52d3f6['isOwn']||_0x56dec7['getFirstRange']()['containsRange'](_0xb5e4a4)&&this['_breakSuggestionMarker'](_0x56dec7,_0x597096,_0x393c87));}});},{'priority':'lowest'}),_0x2121e4['model']['on']('deleteContent',(_0x2a3fe1,_0x4d8e93)=>{const _0x4cc11b=_0x4d8e93[0x0],_0x29f291=_0x4d8e93[0x1];if(_0x29f291&&_0x29f291['forceDefaultExecution'])return;if(this['_isForcedDefaultExecutionBlock'])return;if(!this['trackChangesCommand']['value'])return;if(_0x4cc11b['isCollapsed'])return;const _0x45ba07=_0x2121e4['model']['schema'],{start:_0x494117,end:_0x36b221}=_0x4cc11b['getFirstRange'](),_0x5ecf59=_0x494117['nodeAfter']&&_0x45ba07['isLimit'](_0x494117['nodeAfter'])?null:_0x45ba07['getNearestSelectionRange'](_0x494117,'forward'),_0x499bd1=_0x36b221['nodeBefore']&&_0x45ba07['isLimit'](_0x36b221['nodeBefore'])?null:_0x45ba07['getNearestSelectionRange'](_0x36b221,'backward'),_0xa63d96=_0x2121e4['model']['createRange'](_0x5ecf59?_0x5ecf59['start']:_0x494117,_0x499bd1?_0x499bd1['end']:_0x36b221);_0x2121e4['model']['change'](_0x39c498=>{this['markDeletion'](_0xa63d96);const _0x4f7219=_0x2121e4['model']['schema']['getNearestSelectionRange'](_0xa63d96['start']);_0x4cc11b['is']('documentSelection')?_0x39c498['setSelection'](_0x4f7219):_0x4cc11b['setTo'](_0x4f7219);}),_0x2a3fe1['stop']();},{'priority':ckeditor5['priorities']['normal']+0xa}),_0x2121e4['model']['on']('insertContent',(_0x39ba20,_0x46ec58)=>{const _0x43d3ab=_0x46ec58[_0x46ec58['length']-0x1];_0x43d3ab&&_0x43d3ab['forceDefaultExecution']||this['_isForcedDefaultExecutionBlock']||this['trackChangesCommand']['value']&&(_0x2121e4['model']['change'](()=>{let _0x4e662b=_0x2121e4['model']['insertContent'](_0x46ec58[0x0],_0x46ec58[0x1],_0x46ec58[0x2],{'forceDefaultExecution':!0x0});if(!_0x4e662b)return;_0x39ba20['return']=_0x4e662b['clone']();const _0x16f329=_0x4e662b['end']['nodeBefore'],_0x2fbf94=_0x2121e4['model']['schema'];_0x16f329&&_0x2fbf94['isBlock'](_0x16f329)&&!_0x2fbf94['isObject'](_0x16f329)&&(_0x4e662b=_0x2121e4['model']['createRange'](_0x4e662b['start'],_0x2121e4['model']['createPositionAt'](_0x16f329,'end'))),this['markInsertion'](_0x4e662b);}),_0x39ba20['stop']());},{'priority':'high'}),this['editor']['commands']['add']('trackChanges',this['trackChangesCommand']),this['enableCommand']('trackChanges');const _0x6945d0=new AcceptSuggestionCommand(_0x2121e4,this['_suggestions']);_0x2121e4['commands']['add']('acceptSuggestion',_0x6945d0),this['enableCommand']('acceptSuggestion');const _0x52edd7=new DiscardSuggestionCommand(_0x2121e4,this['_suggestions']);_0x2121e4['commands']['add']('discardSuggestion',_0x52edd7),this['enableCommand']('discardSuggestion'),_0x2121e4['commands']['add']('acceptAllSuggestions',new ExecuteOnAllSuggestionsCommand(_0x2121e4,_0x6945d0,this['_suggestions'])),this['enableCommand']('acceptAllSuggestions'),_0x2121e4['commands']['add']('discardAllSuggestions',new ExecuteOnAllSuggestionsCommand(_0x2121e4,_0x52edd7,this['_suggestions'])),this['enableCommand']('discardAllSuggestions'),_0x2121e4['commands']['add']('acceptSelectedSuggestions',new ExecuteOnSelectedSuggestionsCommand(_0x2121e4,_0x6945d0,this['_suggestions'])),this['enableCommand']('acceptSelectedSuggestions'),_0x2121e4['commands']['add']('discardSelectedSuggestions',new ExecuteOnSelectedSuggestionsCommand(_0x2121e4,_0x52edd7,this['_suggestions'])),this['enableCommand']('discardSelectedSuggestions');const _0x14a445=_0x2121e4['plugins']['get']('CommentsRepository');this['listenTo'](_0x14a445,'addComment',(_0x188daa,{threadId:_0x5711b4})=>{const _0x298482=this['_suggestions']['get'](_0x5711b4);_0x298482&&_0x298482['commentThread']&&0x1===_0x298482['commentThread']['length']&&this['_updateSuggestionData'](_0x5711b4,{'hasComments':!0x0});},{'priority':'low'}),this['listenTo'](_0x14a445,'removeComment',(_0x14f4ff,{threadId:_0xd818ab})=>{const _0x1a63c3=this['_suggestions']['get'](_0xd818ab);_0x1a63c3&&_0x1a63c3['commentThread']&&!_0x1a63c3['commentThread']['length']&&this['_updateSuggestionData'](_0xd818ab,{'hasComments':!0x1});},{'priority':'low'});}['afterInit'](){_0x1206b4(this);}set['adapter'](_0x37c296){if(this['_adapter'])throw new ckeditor5['CKEditorError']('track-changes-adapter-already-set',this);this['_adapter']=_0x37c296;}get['adapter'](){return this['_adapter'];}['getSuggestions']({skipNotAttached:_0x2ac294=!0x1,toJSON:_0x14b16c=!0x1}={}){const _0xdd6d10=[];for(const _0x4b0afe of this['_suggestions']['values']())_0x2ac294&&!_0x4b0afe['isInContent']||_0xdd6d10['push'](_0x4b0afe);return _0x14b16c?_0xdd6d10['map'](_0x201f96=>_0x201f96['toJSON']()):_0xdd6d10;}['getSuggestion'](_0x2c7f8d){const _0x458b32=this['_suggestions']['get'](_0x2c7f8d);if(!_0x458b32)throw new ckeditor5['CKEditorError']('track-changes-suggestion-not-found',this);return _0x458b32;}['hasSuggestion'](_0x4546ef){return this['_suggestions']['has'](_0x4546ef);}['addSuggestionData'](_0x5775d8){const {authorId:_0x3525ba,id:_0x345947,originalSuggestionId:_0x10eb65,attributes:_0x408ddc}=_0x5775d8,[_0x59cc4b,_0x1cda5e]=_0x5775d8['type']['split'](':'),_0x569da6=this['_suggestions']['get'](_0x345947)||this['_createSuggestion'](_0x59cc4b,_0x1cda5e,_0x345947,_0x3525ba,_0x408ddc,_0x10eb65);if(this['_addThreadToSuggestion'](_0x569da6),this['_checkSuggestionCorrectness'](_0x569da6,_0x59cc4b,_0x1cda5e||null,_0x3525ba),_0x569da6['createdAt']=_0x5775d8['createdAt'],_0x569da6['_isDataLoaded']=!0x0,_0x408ddc&&_0x408ddc['@external']){const _0x1b29aa=_0x408ddc['@external'],_0x333ed5=this['_getExternalAuthor'](_0x1b29aa['authorName']);_0x569da6['authoredAt']=_0x1b29aa['createdAt'],_0x569da6['author']=_0x333ed5,_0x569da6['isExternal']=!0x0;}else _0x569da6['authoredAt']=_0x5775d8['createdAt'];switch(_0x5775d8['data']&&(_0x569da6['data']=_0x5775d8['data']),_0x5775d8['attributes']&&(_0x569da6['attributes']=_0x5775d8['attributes']),this['_adapter']&&this['_adapter']['addSuggestion']||(_0x569da6['_saved']=!0x0),this['_suggestionState']['get'](_0x569da6)){case'notReady':this['_suggestionState']['set'](_0x569da6,'dataReady');break;case'markerReady':_0x569da6['isInContent']?(this['_joinWithAdjacentSuggestions'](new Set([_0x569da6])),this['_refreshSuggestionsChain'](new Set([_0x569da6])),this['_suggestionState']['set'](_0x569da6,'ready'),this['fire']('suggestionLoaded',_0x569da6)):this['_suggestionState']['set'](_0x569da6,'removed');}return _0x569da6;}['acceptSuggestion'](_0x5b83ad){this['forceDefaultExecution'](()=>{this['editor']['model']['change'](()=>{for(const _0x5cfbb2 of _0x5b83ad['getAllAdjacentSuggestions']())_0x5cfbb2['accept']();});});}['discardSuggestion'](_0x4a0304){this['forceDefaultExecution'](()=>{this['editor']['model']['change'](()=>{for(const _0x29d9da of _0x4a0304['getAllAdjacentSuggestions']())_0x29d9da['discard']();});});}['enableCommand'](_0x5a3069,_0xf4d6a8){const _0xe9ff9d=this['editor']['commands']['get'](_0x5a3069);if(!_0xe9ff9d)throw new ckeditor5['CKEditorError']('track-changes-command-not-found',this,{'commandName':_0x5a3069});if(this['_enabledCommands']['has'](_0xe9ff9d))throw new ckeditor5['CKEditorError']('track-changes-enable-command-twice',this,{'commandName':_0x5a3069});this['_enabledCommands']['add'](_0xe9ff9d),_0xf4d6a8&&_0xe9ff9d['on']('execute',(_0x236a1e,_0x25f013)=>{this['trackChangesCommand']['value']&&(this['_isForcedDefaultExecutionBlock']||(_0x25f013['length']>0x0&&_0x25f013[_0x25f013['length']-0x1]&&_0x25f013[_0x25f013['length']-0x1]['forceDefaultExecution']?_0x25f013['pop']():(_0x236a1e['return']=_0xf4d6a8((..._0x115d17)=>_0xe9ff9d['execute'](..._0x115d17,{'forceDefaultExecution':!0x0}),..._0x25f013),_0x236a1e['stop']())));},{'priority':'high'});}['forceDefaultExecution'](_0x19596a){let _0x388ee6,_0x592d9d;const _0x54ff91=this['_isForcedDefaultExecutionBlock'];this['_isForcedDefaultExecutionBlock']=!0x0;try{_0x388ee6=_0x19596a();}catch(_0x35b294){_0x592d9d=_0x35b294;}return _0x54ff91||(this['_isForcedDefaultExecutionBlock']=!0x1),_0x592d9d&&ckeditor5['CKEditorError']['rethrowUnexpectedError'](_0x592d9d,this),_0x388ee6;}['markInsertion'](_0x271f1c,_0x48023f=null,_0x1f0e64={}){if(_0x271f1c['isCollapsed'])return null;const _0x1b92bb=this['editor']['plugins']['get']('Users')['me'];this['_trackingSessionId']&&(_0x1f0e64['trackingSessionId']=this['_trackingSessionId']);for(const {suggestion:_0x4720fe,meta:_0x4e8c41}of this['_findSuggestions'](_0x271f1c,'insertion'))if(_0x4e8c41['isOwn']){if(!_0x4e8c41['isNextTo']){if(_0x4e8c41['containsRangeInObject']){if(!this['_mergeNestedSuggestions']||!_areSimilarAttributes(_0x4720fe,_0x1f0e64))continue;return _0x4720fe;}if(_areSimilarAttributes(_0x4720fe,_0x1f0e64))return _0x4720fe;this['_breakSuggestionMarker'](_0x4720fe,_0x271f1c['start'],_0x271f1c['end']);break;}if(_0x48023f==_0x4720fe['subType']&&_areSimilarAttributes(_0x4720fe,_0x1f0e64)){const _0x59d46c=_0x4720fe['getFirstRange']();return _0x59d46c['start']['isEqual'](_0x271f1c['end'])?this['_setSuggestionRange'](_0x4720fe,this['_model']['createRange'](_0x271f1c['start'],_0x59d46c['end'])):this['_setSuggestionRange'](_0x4720fe,this['_model']['createRange'](_0x59d46c['start'],_0x271f1c['end'])),_0x4720fe;}}const _0x3c0a54=ckeditor5['uid'](),_0x15f746=_0x1b92bb['id'],_0x51c2bf=_0x48023f?'insertion:'+_0x48023f:'insertion',_0x5145b0=this['_setSuggestionData']({'id':_0x3c0a54,'type':_0x51c2bf,'createdAt':new Date(),'authorId':_0x15f746,'attributes':_0x1f0e64});return this['_addSuggestionMarker'](_0x51c2bf,_0x3c0a54,_0x15f746,_0x271f1c),_0x5145b0;}['markMultiRangeInsertion'](_0x35bcb0,_0x58d154='multi',_0x204574={}){const _0x35951f=this['editor']['plugins']['get']('Users')['me'],_0x195134=this['_suggestionFactory']['getSuggestionCallback']('insertion',_0x58d154,'join');this['_trackingSessionId']&&(_0x204574['trackingSessionId']=this['_trackingSessionId']);for(const _0x402916 of this['getSuggestions']())if(_0x402916['author']['id']==_0x35951f['id']&&'insertion'==_0x402916['type']&&_0x402916['subType']==_0x58d154&&_areSimilarAttributes(_0x402916,_0x204574)&&(_0x195134(_0x402916['getRanges'](),_0x35bcb0)||_0x195134(_0x35bcb0,_0x402916['getRanges']()))){for(const _0x37807f of _0x35bcb0)_0x402916['addRange'](_0x37807f);return _0x402916;}for(const {suggestion:_0xe0da5a,meta:_0x5b6a37}of this['_findSuggestions'](_0x35bcb0,'insertion')){if(!_0x5b6a37['isOwn'])continue;if(!this['_mergeNestedSuggestions']&&_0x5b6a37['containsRangeInObject'])continue;if(!_areSimilarAttributes(_0xe0da5a,_0x204574))continue;let _0x3873ba=!0x0;for(const _0x31b052 of _0xe0da5a['getRanges']())for(const _0x13a3ca of _0x35bcb0)if(!_0x31b052['containsRange'](_0x13a3ca)){_0x3873ba=!0x1;break;}if(_0x3873ba)return _0xe0da5a;}const _0x5c22ba=ckeditor5['uid'](),_0x287752=_0x35951f['id'],_0x3c7b66='insertion:'+_0x58d154,_0x17972e=this['_setSuggestionData']({'id':_0x5c22ba,'type':_0x3c7b66,'createdAt':new Date(),'authorId':_0x287752,'attributes':_0x204574});for(const _0x143713 of _0x35bcb0)this['_addSuggestionMarker'](_0x3c7b66,_0x5c22ba,_0x287752,_0x143713,Suggestion['getMultiRangeId']());return _0x17972e;}['markInlineFormat'](_0x1aa30b,_0x464973,_0x4215ef=null,_0x4f6fae={}){if(_0x4215ef=_0x4215ef||createFormatSubType(_0x464973),_0x1aa30b['isCollapsed'])return null;if(this['_trackingSessionId']&&(_0x4f6fae['trackingSessionId']=this['_trackingSessionId']),'never'===this['_trackFormatChanges']){const _0x2c580f=this['_suggestionFactory']['getSuggestionCallback']('formatInline',_0x4215ef,'accept');return this['forceDefaultExecution'](()=>_0x2c580f([_0x1aa30b],_0x464973,_0x4f6fae)),null;}const _0x1b7289=this['editor']['plugins']['get']('Users')['me'],_0x36192b=[];if('always'!==this['_trackFormatChanges']){for(const {suggestion:_0x3a570b,meta:_0x1021de}of this['_findSuggestions'](_0x1aa30b,'insertion'))_0x1021de['isOwn']&&!_0x1021de['isInsideObject']&&_0x36192b['push'](..._0x3a570b['getRanges']());}const _0x4d4bdb=getIntersectionsWithMultipleRanges(_0x1aa30b,_0x36192b),_0x44ac8a=getDifferencesWithMultipleRanges(_0x1aa30b,_0x36192b);_0x4d4bdb['length']&&this['_model']['change'](()=>{for(const _0x3aea69 of _0x4d4bdb){const _0x44788b=this['_suggestionFactory']['getSuggestionCallback']('formatInline',_0x4215ef,'accept');this['forceDefaultExecution'](()=>_0x44788b([_0x3aea69],_0x464973,_0x4f6fae));}});for(const _0x2ae4aa of _0x44ac8a){let _0x1ae548=null,_0x2fb1ab=_0x2ae4aa['start'],_0x17547f=_0x2ae4aa['end'];for(const {suggestion:_0x14daa4,meta:_0xfeaaa0}of this['_findSuggestions'](_0x2ae4aa,'formatInline')){if(!_0xfeaaa0['isOwn'])continue;if(_0x14daa4['subType']!=_0x4215ef)continue;if(!_areSimilarAttributes(_0x14daa4,_0x4f6fae))continue;const _0xfba851=_0x14daa4['getFirstRange']();if(_0xfba851['containsRange'](_0x2ae4aa,!0x0))return null;_0x2fb1ab=_0x2fb1ab['isBefore'](_0xfba851['start'])?_0x2fb1ab:_0xfba851['start'],_0x17547f=_0x17547f['isAfter'](_0xfba851['end'])?_0x17547f:_0xfba851['end'],_0x1ae548?_0xfba851['start']['isBefore'](_0x1ae548['getFirstRange']()['start'])?(_0x1ae548['removeMarkers'](),_0x1ae548=_0x14daa4):_0x14daa4['removeMarkers']():_0x1ae548=_0x14daa4;}const _0x5f8e3f=this['_model']['createRange'](_0x2fb1ab,_0x17547f);if(_0x1ae548)this['_setSuggestionRange'](_0x1ae548,_0x5f8e3f);else{const _0x299a17=ckeditor5['uid'](),_0x4df062=_0x1b7289['id'];this['_setSuggestionData']({'id':_0x299a17,'type':'formatInline:'+_0x4215ef,'data':_0x464973,'createdAt':new Date(),'authorId':_0x4df062,'attributes':_0x4f6fae}),this['_addSuggestionMarker']('formatInline:'+_0x4215ef,_0x299a17,_0x4df062,_0x5f8e3f);}}return null;}['markBlockFormat'](_0x28f8a4,_0x2da604,_0x165213=[],_0x472941=null,_0x273d56={}){_0x2da604['formatGroupId']||(_0x2da604['formatGroupId']=_0x2da604['commandName']),_0x2da604['multipleBlocks']=_0x28f8a4['is']('range'),_0x472941=_0x472941||createFormatSubType(_0x2da604);const _0x50af92=_0x165213['map'](_0x5960bf=>createBlockFormatRangeForElement(_0x5960bf,this['_model'])),_0x1c4bde=_0x28f8a4['is']('range')?_0x28f8a4:createBlockFormatRangeForElement(_0x28f8a4,this['_model']);if(this['_trackingSessionId']&&(_0x273d56['trackingSessionId']=this['_trackingSessionId']),'never'===this['_trackFormatChanges']){const _0x304830=this['_suggestionFactory']['getSuggestionCallback']('formatBlock',_0x472941,'accept');return this['forceDefaultExecution'](()=>_0x304830([_0x1c4bde],_0x2da604,_0x273d56)),null;}_0x50af92['push'](_0x1c4bde);let _0x4e36b3=!0x0;for(const _0x6403a4 of _0x50af92)if(!this['_rangeIsInLocalUserInsertion'](_0x6403a4)){_0x4e36b3=!0x1;break;}if(_0x4e36b3&&'always'!==this['_trackFormatChanges']){const _0x57f69c=this['_suggestionFactory']['getSuggestionCallback']('formatBlock',_0x472941,'accept');return this['forceDefaultExecution'](()=>_0x57f69c([_0x1c4bde],_0x2da604,_0x273d56)),null;}let _0x1e2c70=null,_0x144fdd=_0x1c4bde['start'],_0x3bfda0=_0x1c4bde['end'];for(const {suggestion:_0x44c110,meta:_0x32bb13}of this['_findSuggestions'](_0x1c4bde,'formatBlock')){if(!_0x32bb13['isOwn'])continue;if(_0x32bb13['isNextTo']||_0x32bb13['containsRangeInObject']||_0x32bb13['isInsideObject'])continue;if(_0x44c110['data']['formatGroupId']!=_0x2da604['formatGroupId'])continue;if(!_areSimilarAttributes(_0x44c110,_0x273d56))continue;const _0x1d44fb=_0x44c110['getFirstRange']();if(_0x44c110['subType']==_0x472941){if(_0x1d44fb['containsRange'](_0x1c4bde,!0x0))return null;_0x144fdd=_0x144fdd['isBefore'](_0x1d44fb['start'])?_0x144fdd:_0x1d44fb['start'],_0x3bfda0=_0x3bfda0['isAfter'](_0x1d44fb['end'])?_0x3bfda0:_0x1d44fb['end'],_0x1e2c70?_0x1d44fb['start']['isBefore'](_0x1e2c70['getFirstRange']()['start'])?(_0x1e2c70['removeMarkers'](),_0x1e2c70=_0x44c110):_0x44c110['removeMarkers']():_0x1e2c70=_0x44c110;}else{const _0xcc8c81=_0x1c4bde['getIntersection'](_0x1d44fb);this['_cutOutSuggestionMarker'](_0x44c110,_0xcc8c81);}}const _0x1b2bf7=this['editor']['plugins']['get']('Users')['me'],_0x54b82b=ckeditor5['uid'](),_0x5a0205=_0x1b2bf7['id'];if(_0x1e2c70)return this['_setSuggestionRange'](_0x1e2c70,this['_model']['createRange'](_0x144fdd,_0x3bfda0)),_0x1e2c70;{const _0x307e93=this['_setSuggestionData']({'id':_0x54b82b,'type':'formatBlock:'+_0x472941,'data':_0x2da604,'createdAt':new Date(),'authorId':_0x5a0205,'attributes':_0x273d56});return this['_addSuggestionMarker']('formatBlock:'+_0x472941,_0x54b82b,_0x5a0205,this['_model']['createRange'](_0x144fdd,_0x3bfda0)),_0x307e93;}}['markMultiRangeBlockFormat'](_0x498065,_0x95833d,_0xf2f435=[],_0x2103b6=null,_0x261ca6={}){_0x95833d['formatGroupId']||(_0x95833d['formatGroupId']=_0x95833d['commandName']);const _0x21ede4=_0x498065[0x0];_0x95833d['multipleBlocks']=_0x21ede4['is']('range'),_0x2103b6=_0x2103b6||createFormatSubType(_0x95833d);const _0xfdaee6=_0xf2f435['map'](_0x3f9eba=>createBlockFormatRangeForElement(_0x3f9eba,this['_model'])),_0x486637=_0x21ede4['is']('range')?_0x498065:_0x498065['map'](_0x221ecd=>createBlockFormatRangeForElement(_0x221ecd,this['_model']));if(this['_trackingSessionId']&&(_0x261ca6['trackingSessionId']=this['_trackingSessionId']),'never'===this['_trackFormatChanges']){const _0x35a655=this['_suggestionFactory']['getSuggestionCallback']('formatBlock',_0x2103b6,'accept');return this['forceDefaultExecution'](()=>_0x35a655(_0x486637,_0x95833d,_0x261ca6)),null;}_0xfdaee6['push'](..._0x486637);let _0x2fc777=!0x0;for(const _0x5a663e of _0xfdaee6)if(!this['_rangeIsInLocalUserInsertion'](_0x5a663e)){_0x2fc777=!0x1;break;}if(_0x2fc777&&'always'!==this['_trackFormatChanges']){const _0x5c7afa=this['_suggestionFactory']['getSuggestionCallback']('formatBlock',_0x2103b6,'accept');return this['forceDefaultExecution'](()=>_0x5c7afa(_0x486637,_0x95833d,_0x261ca6)),null;}const _0x506b3b=this['editor']['plugins']['get']('Users')['me'];for(const _0x2344dc of this['getSuggestions']()){const _0x33c6ed=_0x2344dc['data'];if(_0x2344dc['author']['id']!=_0x506b3b['id'])continue;if('formatBlock'!=_0x2344dc['type']||_0x33c6ed['formatGroupId']!=_0x95833d['formatGroupId'])continue;if(!_areSimilarAttributes(_0x2344dc,_0x261ca6))continue;const _0x23ca40=_0x2344dc['subType']==_0x2103b6;for(let _0x17e3e4=0x0;_0x17e3e4<_0x486637['length'];_0x17e3e4++){const _0x2abadc=_0x486637[_0x17e3e4];for(const _0x5b8c71 of _0x2344dc['getMarkers']()){const _0x265abf=_0x5b8c71['getRange']();if(_0x2abadc['isEqual'](_0x265abf)){_0x23ca40?(_0x486637['splice'](_0x17e3e4,0x1),_0x17e3e4--):_0x2344dc['removeMarker'](_0x5b8c71['name']);break;}}}}if(0x0==_0x486637['length'])return null;const _0x9dcaeb=this['_suggestionFactory']['getSuggestionCallback']('formatBlock',_0x2103b6,'join');for(const _0x3a9748 of this['getSuggestions']()){const _0x5ae850=_0x3a9748['data'];if(_0x3a9748['author']['id']==_0x506b3b['id']&&('formatBlock'==_0x3a9748['type']&&_0x5ae850['formatGroupId']==_0x95833d['formatGroupId']&&_0x3a9748['subType']==_0x2103b6&&_areSimilarAttributes(_0x3a9748,_0x261ca6)&&(_0x9dcaeb(_0x3a9748['getRanges'](),_0x486637)||_0x9dcaeb(_0x486637,_0x3a9748['getRanges']())))){for(const _0x4a197f of _0x486637)_0x3a9748['addRange'](_0x4a197f);return _0x3a9748;}}const _0x3b2e92=ckeditor5['uid'](),_0x33093e=_0x506b3b['id'],_0x51dc93='formatBlock:'+_0x2103b6,_0x234346=this['_setSuggestionData']({'id':_0x3b2e92,'type':_0x51dc93,'data':_0x95833d,'createdAt':new Date(),'authorId':_0x33093e,'attributes':_0x261ca6});for(const _0x158a5b of _0x486637)this['_addSuggestionMarker'](_0x51dc93,_0x3b2e92,_0x33093e,_0x158a5b,Suggestion['getMultiRangeId']());return _0x234346;}['markDeletion'](_0x47938e,_0x5ab795=null,_0x2ee9ac={}){if(_0x47938e['isCollapsed'])return null;const _0x20e357=this['editor']['plugins']['get']('Users')['me'],_0x3ab823=new ckeditor5['ModelLiveRange'](_0x47938e['start'],_0x47938e['end']);this['_trackingSessionId']&&(_0x2ee9ac['trackingSessionId']=this['_trackingSessionId']);for(const {suggestion:_0x24fd34,meta:_0x2055b8}of this['_findSuggestions'](_0x3ab823,'insertion'))if(_0x2055b8['isOwn']&&!_0x2055b8['isNextTo']){if(_0x24fd34['isMultiRange']){const _0x11ba71=_0x24fd34['getRanges']()['filter'](_0x248480=>'$graveyard'!=_0x248480['root']['rootName']);_0x11ba71['every'](_0x294a5e=>_0x3ab823['containsRange'](_0x294a5e,!0x0))&&_0x24fd34['discard']();if(_0x11ba71['some'](_0xf0530f=>_0xf0530f['containsRange'](_0x3ab823,!0x0))){const _0x16b3f1=this['_suggestionFactory']['getSuggestionCallback']('deletion',_0x5ab795,'accept');return this['forceDefaultExecution'](()=>_0x16b3f1([_0x3ab823],null,_0x2ee9ac)),null;}}else{const _0x485aa0=_0x3ab823['getIntersection'](_0x24fd34['getFirstRange']());null!==_0x485aa0&&_0x24fd34['_onDiscard']([_0x485aa0],null,_0x2ee9ac);}}if(_0x3ab823['detach'](),_0x3ab823['isCollapsed']||'$graveyard'==_0x3ab823['root']['rootName'])return null;let _0x4e2099=null,_0x5adeb9=_0x3ab823['start'],_0x14313c=_0x3ab823['end'];const _0x4b4801=this['_findSuggestions'](_0x3ab823,'deletion');for(const {suggestion:_0x3bc992,meta:_0x428606}of _0x4b4801){const _0x50b8e4=this['_model']['createRange'](_0x5adeb9,_0x14313c);if(_0x428606['isOwn']&&(this['_mergeNestedSuggestions']||!_0x428606['containsRangeInObject']&&!_0x428606['isInsideObject'])){if(_0x3bc992['isMultiRange']){if(!_areSimilarAttributes(_0x3bc992,_0x2ee9ac))continue;let _0x15c071=!0x0;for(const _0x370a9f of _0x3bc992['getRanges']()){if(_0x370a9f['containsRange'](_0x50b8e4,!0x0))return _0x3bc992;_0x50b8e4['containsRange'](_0x370a9f)||(_0x15c071=!0x1);}_0x15c071&&_0x3bc992['discard']();}else{const _0x13cf4d=_0x3bc992['getFirstRange']();if(_0x13cf4d['containsRange'](_0x50b8e4,!0x0))return _0x3bc992;if(!_areSimilarAttributes(_0x3bc992,_0x2ee9ac)){_0x50b8e4['containsRange'](_0x13cf4d)?_0x3bc992['removeMarkers']():_0x13cf4d['containsPosition'](_0x5adeb9)?_0x5adeb9=_0x13cf4d['end']:_0x13cf4d['containsPosition'](_0x14313c)&&(_0x14313c=_0x13cf4d['start']);continue;}_0x5adeb9=_0x5adeb9['isBefore'](_0x13cf4d['start'])?_0x5adeb9:_0x13cf4d['start'],_0x14313c=_0x14313c['isAfter'](_0x13cf4d['end'])?_0x14313c:_0x13cf4d['end'],_0x2ee9ac=Object['assign']({},_0x3bc992['attributes']),_0x4e2099?_0x13cf4d['start']['isBefore'](_0x4e2099['getFirstRange']()['start'])?(_0x4e2099['removeMarkers'](),_0x4e2099=_0x3bc992):_0x3bc992['removeMarkers']():_0x4e2099=_0x3bc992;}}}if(_0x4e2099)return this['_setSuggestionRange'](_0x4e2099,this['_model']['createRange'](_0x5adeb9,_0x14313c)),_0x4e2099;{const _0x3460a3=ckeditor5['uid'](),_0xcecb42=this['_model']['createRange'](_0x5adeb9,_0x14313c),_0x2e2a1c=_0x20e357['id'],_0x5d812f=_0x5ab795?'deletion:'+_0x5ab795:'deletion',_0x47d4a8=this['_setSuggestionData']({'id':_0x3460a3,'type':_0x5d812f,'createdAt':new Date(),'authorId':_0x2e2a1c,'attributes':_0x2ee9ac});return this['_addSuggestionMarker'](_0x5d812f,_0x3460a3,_0x2e2a1c,_0xcecb42),_0x47d4a8;}}['markMultiRangeDeletion'](_0x4b6adc,_0x11689f='multi',_0x5d9606={}){const _0x6b824a=this['editor']['plugins']['get']('Users')['me'],_0x3ca206=_0x4b6adc['map'](_0x3d2ec6=>new ckeditor5['ModelLiveRange'](_0x3d2ec6['start'],_0x3d2ec6['end'])),_0xff0588=new Set();this['_trackingSessionId']&&(_0x5d9606['trackingSessionId']=this['_trackingSessionId']);for(const {suggestion:_0x148b28,meta:_0x4d165e}of this['_findSuggestions'](_0x3ca206,'insertion'))_0x4d165e['isOwn']&&!_0x4d165e['isNextTo']&&_0xff0588['add'](_0x148b28);for(const _0x541d84 of _0xff0588)if(_0x541d84['isMultiRange']){const _0x5930f1=_0x541d84['getRanges']();(!_0x541d84['attributes']||!_0x541d84['attributes']['skipNestingCheck'])&&(_0x5930f1['every'](_0x20c0b7=>_0x3ca206['some'](_0x57a2cf=>_0x57a2cf['containsRange'](_0x20c0b7,!0x0)))&&_0x541d84['discard']());if(_0x3ca206['every'](_0x535bcf=>_0x5930f1['some'](_0x1df467=>_0x1df467['containsRange'](_0x535bcf,!0x0)))){const _0x35f7e2=this['_suggestionFactory']['getSuggestionCallback']('deletion',_0x11689f,'accept');return this['forceDefaultExecution'](()=>_0x35f7e2(_0x4b6adc,null,_0x5d9606)),null;}}else{const _0x369004=_0x541d84['getFirstRange']();_0x3ca206['some'](_0x52444e=>_0x52444e['containsRange'](_0x369004,!0x0))&&_0x541d84['discard']();if(_0x3ca206['every'](_0x5d6f8b=>_0x369004['containsRange'](_0x5d6f8b,!0x0))){const _0x573ef8=this['_suggestionFactory']['getSuggestionCallback']('deletion',_0x11689f,'accept');return this['forceDefaultExecution'](()=>_0x573ef8(_0x3ca206,null,_0x5d9606)),null;}}const _0x9baec=this['_suggestionFactory']['getSuggestionCallback']('deletion',_0x11689f,'join');let _0x2e1ba2=null;for(const _0x3a76bb of this['getSuggestions']())if(_0x3a76bb['author']['id']==_0x6b824a['id']&&_0x3a76bb['isInContent']&&'deletion'==_0x3a76bb['type']&&_0x3a76bb['subType']==_0x11689f&&_areSimilarAttributes(_0x3a76bb,_0x5d9606)&&(_0x9baec(_0x3a76bb['getRanges'](),_0x3ca206)||_0x9baec(_0x3ca206,_0x3a76bb['getRanges']()))){if(_0x2e1ba2){if(_0x3a76bb['commentThread']&&_0x3a76bb['commentThread']['length'])continue;for(const _0x4bf3f7 of _0x3a76bb['getRanges']())_0x2e1ba2['isIntersectingWithRange'](_0x4bf3f7)||_0x2e1ba2['addRange'](_0x4bf3f7);_0x3a76bb['removeMarkers']();}else{_0x2e1ba2=_0x3a76bb;for(const _0x3b3287 of _0x3ca206)_0x3a76bb['isIntersectingWithRange'](_0x3b3287)||_0x3a76bb['addRange'](_0x3b3287);}}if(_0x2e1ba2)return _0x2e1ba2;_0xff0588['clear']();for(const {suggestion:_0x4e41b9,meta:_0x38fbb9}of this['_findSuggestions'](_0x3ca206,'deletion'))_0x38fbb9['isOwn']&&(this['_mergeNestedSuggestions']||!_0x38fbb9['containsRangeInObject']&&!_0x38fbb9['isInsideObject'])&&_areSimilarAttributes(_0x4e41b9,_0x5d9606)&&_0xff0588['add'](_0x4e41b9);for(const _0xe20b4a of _0xff0588){const _0x4dcbac=_0xe20b4a['getRanges']();if(!_0x5d9606||!_0x5d9606['skipNestingCheck']){if(_0x3ca206['every'](_0x57c5cc=>_0x4dcbac['some'](_0x2f9984=>_0x2f9984['containsRange'](_0x57c5cc,!0x0))))return _0xe20b4a;}(!_0xe20b4a['attributes']||!_0xe20b4a['attributes']['skipNestingCheck'])&&(_0x4dcbac['every'](_0x18a260=>_0x3ca206['some'](_0x3e210d=>_0x3e210d['containsRange'](_0x18a260,!0x0)))&&_0xe20b4a['discard']());}const _0x5d5e5f=ckeditor5['uid'](),_0x20dea9=_0x6b824a['id'],_0x18154b='deletion:'+_0x11689f,_0x45cdd3=this['_setSuggestionData']({'id':_0x5d5e5f,'type':_0x18154b,'createdAt':new Date(),'authorId':_0x20dea9,'attributes':_0x5d9606});for(const _0x501992 of _0x3ca206)_0x501992['detach'](),_0x501992['isCollapsed']||'$graveyard'==_0x501992['root']['rootName']||this['_addSuggestionMarker'](_0x18154b,_0x5d5e5f,_0x20dea9,_0x501992,Suggestion['getMultiRangeId']());return _0x45cdd3;}['markAttributeChange'](_0xdf096c,_0x30d105,_0x389592,_0xb92dc2,_0x40cfaa){if(_0xdf096c['isCollapsed'])return[];if('never'===this['_trackFormatChanges'])return[];const _0x2f3591=this['editor']['plugins']['get']('Users')['me']['id'],_0x356102=Array['from'](this['_suggestions']['values']())['filter'](_0x39ba7c=>'attribute'==_0x39ba7c['type']&&_0x39ba7c['data']['key']==_0x30d105&&_0x39ba7c['isIntersectingWithRange'](_0xdf096c));if(this['_trackingSessionId']&&(_0x40cfaa['trackingSessionId']=this['_trackingSessionId']),'default'===this['_trackFormatChanges']){const _0x1c1c53=this['_findSuggestions'](_0xdf096c,'insertion')['filter'](({meta:_0x3fb294})=>_0x3fb294['isOwn']&&!_0x3fb294['isInsideObject']&&!_0x3fb294['isNextTo'])['map'](({suggestion:_0x478de0})=>_0x478de0);_0x356102['unshift'](..._0x1c1c53);}const _0x11fa87=new Map([[_0xdf096c,_0x389592]]);for(const _0x2af9b9 of _0x356102){const _0x3a16cf='attribute'==_0x2af9b9['type']?_0x2af9b9['data']['oldValue']:void 0x0,_0x3f0a40=_0x2af9b9['getFirstRange'](),_0x4ae667=Array['from'](_0x11fa87['keys']())['find'](_0x39df74=>_0x39df74['isIntersecting'](_0x3f0a40));if(!_0x4ae667)continue;const _0x11521b=_0x4ae667['getDifference'](_0x3f0a40);this['_isBlockAttribute'](_0x30d105)&&'insertion'==_0x2af9b9['type']&&0x0!=_0x11521b['length']||(_0x11fa87['delete'](_0x4ae667),_0x11521b['forEach'](_0x4d932a=>{_0x11fa87['set'](_0x4d932a,_0x389592);}),'insertion'!=_0x2af9b9['type']&&_0x3a16cf!=_0xb92dc2&&_0x11fa87['set'](_0x4ae667['getIntersection'](_0x3f0a40),_0x3a16cf));}const _0x24d8f8=[];for(const [_0x37d04e,_0x30dce8]of _0x11fa87){const _0x3e8b35=ckeditor5['uid'](),_0x1a151c={'key':_0x30d105,'oldValue':_0x30dce8,'newValue':_0xb92dc2};_0x30d105['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':_0x30d105});const _0x3358e5=('attribute:'+(_0x30d105+'|'+createFormatSubType({'newValue':_0xb92dc2})))['substring'](0x0,0x3c),_0x2b761f=this['_setSuggestionData']({'id':_0x3e8b35,'type':_0x3358e5,'data':_0x1a151c,'createdAt':new Date(),'authorId':_0x2f3591,'attributes':_0x40cfaa});_0x24d8f8['push'](_0x2b761f),this['_addSuggestionMarker'](_0x3358e5,_0x3e8b35,_0x2f3591,_0x37d04e);}return _0x24d8f8;}['enableDefaultAttributesIntegration'](_0x5205e8){this['enableCommand'](_0x5205e8,(_0x6e3a93,..._0x264f73)=>{this['recordAttributeChanges'](()=>{_0x6e3a93(..._0x264f73);});});}['registerBlockAttribute'](_0x32db5f){this['_blockAttributeKeys']['add'](_0x32db5f);}['registerInlineAttribute'](_0x4e6a71){this['_inlineAttributeKeys']['add'](_0x4e6a71);}['startTrackingSession'](_0x151425){return this['_trackingSessionId']=void 0x0!==_0x151425?_0x151425:ckeditor5['uid'](),this['_trackingSessionId'];}['_getAttributeKey'](_0x554be4){return'attribute'==_0x554be4['type']?_getAttributeKeyFromSubType(_0x554be4['subType']):null;}['_applyOperationsAsSuggestions'](_0x75cbf5){if(0x0==_0x75cbf5['length'])return;const _0x3256aa=this['editor'],_0x32766e=_0x3256aa['plugins']['get'](DocumentCompare);let _0x42d6cd,_0xbbc0ff=!0x0;for(const _0x47f5b9 in _0x75cbf5[0x0]){const _0x5264c1=_0x75cbf5[0x0][_0x47f5b9];if((_0x5264c1 instanceof ckeditor5['ModelPosition']||_0x5264c1 instanceof ckeditor5['ModelRange'])&&_0x5264c1['root']['is']('documentFragment')){_0xbbc0ff=!0x1,_0x42d6cd=_0x5264c1['root'];break;}}_0x3256aa['model']['change'](_0x2f7784=>{const _0x4d7721=new Set();for(let _0x11fe08=0x0;_0x11fe08<_0x75cbf5['length'];_0x11fe08++){const _0x193709=_0x75cbf5[_0x11fe08];if(_0x193709['baseVersion']=_0xbbc0ff?_0x3256aa['model']['document']['version']:null,_0x193709['isDocumentOperation']=_0xbbc0ff,_0x32766e['isMarkedRemoveOperation'](_0x193709)){const _0x584fb5=fixElementSuggestionRange(_0x193709['newRange'],_0x3256aa['model']);if(_0xbbc0ff)this['markDeletion'](_0x584fb5);else{const _0x107839='suggestion:deletion:'+ckeditor5['uid']()+':$aiSuggestion';_0x42d6cd['markers']['set'](_0x107839,_0x584fb5);}}else switch(_0x193709['type']){case'rename':{const _0x2fd98a=_0x193709['oldName'],_0x191fb0=_0x193709['newName'];if(_0x2fd98a==_0x191fb0)break;_0x2f7784['batch']['addOperation'](_0x193709),_0x3256aa['model']['applyOperation'](_0x193709);const _0x516d85='$elementName',_0x1143c8=_0x193709['position'],_0x55460b=_0x3256aa['model']['createRange'](_0x1143c8,_0x3256aa['model']['createPositionAt'](_0x1143c8['nodeAfter'],'end'));if(_0xbbc0ff)this['markAttributeChange'](_0x55460b,_0x516d85,_0x2fd98a,_0x191fb0,{'groupId':ckeditor5['uid']()});else{const _0x48a07e='suggestion:attribute:'+_0x516d85+':'+ckeditor5['uid']()+':$aiSuggestion';_0x42d6cd['markers']['set'](_0x48a07e,_0x55460b);}break;}case'addAttribute':case'removeAttribute':case'changeAttribute':{const _0x24700f=_0x193709['oldValue'],_0x1245f0=_0x193709['newValue'];if(_0x24700f==_0x1245f0)break;_0x2f7784['batch']['addOperation'](_0x193709),_0x3256aa['model']['applyOperation'](_0x193709);const _0x522605=_0x193709['key'];if(!this['_isRegisteredAttribute'](_0x522605))break;const _0xfbf9d6=fixElementSuggestionRange(_0x193709['range'],_0x3256aa['model']);if(_0xbbc0ff)this['markAttributeChange'](_0xfbf9d6,_0x522605,_0x24700f,_0x1245f0,{'groupId':ckeditor5['uid']()});else{const _0x30841a='suggestion:attribute:'+_0x522605+':'+ckeditor5['uid']()+':$aiSuggestion';_0x42d6cd['markers']['set'](_0x30841a,_0xfbf9d6);}break;}case'insert':{_0x2f7784['batch']['addOperation'](_0x193709),_0x3256aa['model']['applyOperation'](_0x193709);const _0x275ca1=_0x75cbf5[_0x11fe08+0x1]&&'move'==_0x75cbf5[_0x11fe08+0x1]['type'];if(!_0xbbc0ff&&_0x275ca1&&transformMarkers(_0x42d6cd,_0x193709),_0x275ca1)break;const _0x1be619=_0x193709['position'],_0x49b13c=_0x193709['howMany'],_0x5ca6e8=fixElementSuggestionRange(_0x3256aa['model']['createRange'](_0x1be619,_0x1be619['getShiftedBy'](_0x49b13c)),_0x3256aa['model']);if(_0xbbc0ff)this['markInsertion'](_0x5ca6e8);else{const _0x230f7b='suggestion:insertion:'+ckeditor5['uid']()+':$aiSuggestion';_0x42d6cd['markers']['set'](_0x230f7b,_0x5ca6e8);}break;}case'split':{_0x2f7784['batch']['addOperation'](_0x193709),_0x3256aa['model']['applyOperation'](_0x193709);const _0x2fac3b=_0x193709['splitPosition'],_0x517fba=_0x193709['moveTargetPosition'],_0x5b2198=_0x3256aa['model']['createRange'](_0x2fac3b,_0x517fba);if(_0xbbc0ff)this['markInsertion'](_0x3256aa['model']['createRange'](_0x2fac3b,_0x517fba));else{const _0xcddc57='suggestion:insertion:'+ckeditor5['uid']()+':$aiSuggestion';_0x42d6cd['markers']['set'](_0xcddc57,_0x5b2198);}break;}case'move':if(_0x2f7784['batch']['addOperation'](_0x193709),_0x3256aa['model']['applyOperation'](_0x193709),!_0xbbc0ff&&_0x75cbf5[_0x11fe08-0x1]&&'insert'==_0x75cbf5[_0x11fe08-0x1]['type']&&transformMarkers(_0x42d6cd,_0x193709),!_0xbbc0ff){const _0x3e5acb=_0x193709['getMovedRangeStart'](),_0x54d6c1=_0x193709['howMany'];for(let _0x29d181=0x0;_0x29d181<_0x54d6c1;_0x29d181++){const _0x4d954b=_0x3e5acb['getShiftedBy'](_0x29d181)['nodeAfter'];_0x4d7721['add'](_0x4d954b);}}break;case'remove':if(_0xbbc0ff)_0x2f7784['batch']['addOperation'](_0x193709),_0x3256aa['model']['applyOperation'](_0x193709);else{const _0x5c0004=_0x193709['sourcePosition'],_0x38f95f=_0x193709['howMany'],_0x4bf8c9=new ckeditor5['_DetachOperation'](_0x5c0004,_0x38f95f);_0x2f7784['batch']['addOperation'](_0x4bf8c9),_0x3256aa['model']['applyOperation'](_0x4bf8c9);}}}for(const _0x3375e of _0x4d7721){const _0x26548d=_0x3256aa['model']['createRangeOn'](_0x3375e),_0x1dcab7='suggestion:formatBlock:$fakeWrap:'+ckeditor5['uid']()+':$aiSuggestion';_0x42d6cd['markers']['set'](_0x1dcab7,fixElementSuggestionRange(_0x26548d,_0x3256aa['model']));}});}['_setSuggestionRange'](_0x254b8e,_0x5646a0){const _0x48de3a=_0x254b8e['getFirstMarker']();this['_model']['change'](_0x4a6287=>{_0x4a6287['updateMarker'](_0x48de3a,{'range':_0x5646a0});});}['_addThreadToSuggestion'](_0x5d113a){const _0x298ab0=_0x5d113a['id'],_0x224b88=this['editor']['config']['get']('collaboration.channelId');this['_commentsRepository']['hasCommentThread'](_0x298ab0)||this['_commentsRepository']['addCommentThread']({'channelId':_0x224b88,'threadId':_0x298ab0,'isResolvable':!0x1,'isSubmitted':!0x0});const _0x28f5e5=this['_commentsRepository']['getCommentThread'](_0x298ab0);_0x28f5e5['unbind']('isRemovable'),_0x28f5e5['isRemovable']=!0x1,_0x5d113a['commentThread']=_0x28f5e5;}['_checkSuggestionCorrectness'](_0x38003c,_0x37039f,_0x4fc888,_0x14c908){if(_0x38003c['type']!=_0x37039f||_0x38003c['subType']!=_0x4fc888||_0x38003c['creator']['id']!=_0x14c908)throw this['editor']['enableReadOnlyMode']('track-changes-suggestion-data-mismatch'),new ckeditor5['CKEditorError']('track-changes-suggestion-data-mismatch',this);}['_cutOutSuggestionMarker'](_0x1c4a58,_0x2b93f2){const _0x5c4c6d=_0x1c4a58['getFirstRange']();if(_0x2b93f2['isEqual'](_0x5c4c6d))_0x1c4a58['removeMarkers']();else{if(_0x5c4c6d['containsRange'](_0x2b93f2)){const _0x44d9e6=this['_model']['createPositionAt'](_0x2b93f2['start']['nodeBefore'],'end');this['_setSuggestionRange'](_0x1c4a58,this['_model']['createRange'](_0x5c4c6d['start'],_0x44d9e6));const _0x412858=ckeditor5['uid'](),_0x4c2523=_0x1c4a58['creator']['id'],_0x54e728=_0x1c4a58['type']+':'+_0x1c4a58['subType'];this['_setSuggestionData']({'id':_0x412858,'type':_0x54e728,'createdAt':new Date(),'authorId':_0x4c2523,'data':_0x1c4a58['data'],'attributes':_0x1c4a58['attributes']});const _0x5a8b4f=this['_model']['createPositionAt'](_0x2b93f2['end']['parent'],'after'),_0x2a4fa9=this['_model']['createRange'](_0x5a8b4f,_0x5c4c6d['end']);this['_addSuggestionMarker'](_0x54e728,_0x412858,_0x4c2523,_0x2a4fa9);}else{if(_0x5c4c6d['containsPosition'](_0x2b93f2['start'])){const _0x29c2fc=this['_model']['createPositionAt'](_0x2b93f2['start']['nodeBefore'],'end');this['_setSuggestionRange'](_0x1c4a58,this['_model']['createRange'](_0x5c4c6d['start'],_0x29c2fc));}else{const _0x323903=this['_model']['createPositionAt'](_0x2b93f2['end']['parent'],'after');this['_setSuggestionRange'](_0x1c4a58,this['_model']['createRange'](_0x323903,_0x5c4c6d['end']));}}}}['_rangeIsInLocalUserInsertion'](_0x500923){for(const {suggestion:_0x38e6ce,meta:_0x25a7e1}of this['_findSuggestions'](_0x500923,'insertion')){if(!_0x25a7e1['isOwn'])continue;const _0x3307f1=_0x38e6ce['getRanges']();for(const _0x9f8aa2 of _0x3307f1)if(!_0x500923['getDifference'](_0x9f8aa2)['length'])return!0x0;}return!0x1;}['_getAuthorFromId'](_0x3f5776){return this['editor']['plugins']['get']('Users')['getUser'](_0x3f5776);}['_getExternalAuthor'](_0x21af5b){const _0x4bdf41=this['editor']['plugins']['get']('Users'),_0x390f3b=hashObject('external:'+_0x21af5b),_0x48692a=_0x4bdf41['getUser'](_0x390f3b);return _0x48692a||_0x4bdf41['addUser']({'id':_0x390f3b,'name':_0x21af5b});}['_createSuggestion'](_0x500e3c,_0x59f360,_0x50cd08,_0x4bce89,_0x5d7958,_0x21fbd5){const _0x43391c=this['_getAuthorFromId'](_0x4bce89);if(!_0x43391c)throw new ckeditor5['CKEditorError']('track-changes-user-not-found',this,{'authorId':_0x4bce89,'suggestionId':_0x50cd08});const _0x45214a=this['_suggestionFactory']['buildSuggestion'](_0x500e3c,_0x59f360,_0x50cd08,_0x43391c,_0x5d7958,_0x22858c=>{this['_updateSuggestionData'](_0x50cd08,{'attributes':_0x22858c});const _0x2a882c=this['getSuggestion'](_0x50cd08);this['_joinWithAdjacentSuggestions'](new Set([_0x2a882c])),this['_refreshSuggestionsChain'](new Set([_0x2a882c]));},_0x21fbd5);return this['listenTo'](_0x45214a,'accept',()=>{this['_updateSuggestionData'](_0x50cd08,{'state':'accepted'});},{'priority':'high'}),this['listenTo'](_0x45214a,'discard',()=>{this['_updateSuggestionData'](_0x50cd08,{'state':'rejected'});},{'priority':'high'}),this['_suggestions']['set'](_0x50cd08,_0x45214a),this['_suggestionState']['set'](_0x45214a,'notReady'),_0x45214a;}['_splitMarkerName'](_0x2a87e9){const _0x5f42fb=_0x2a87e9['split'](':');return{'group':_0x5f42fb[0x0],'type':_0x5f42fb[0x1],'subType':_0x5f42fb['length']>=0x5?_0x5f42fb[0x2]:null,'id':_0x5f42fb['length']<0x5?_0x5f42fb[0x2]:_0x5f42fb[0x3],'authorId':_0x5f42fb['length']<0x5?_0x5f42fb[0x3]:_0x5f42fb[0x4],'markerCount':0x6==_0x5f42fb['length']?_0x5f42fb[0x5]:null};}['_breakSuggestionMarker'](_0x373b69,_0x15e01e,_0x500585){const _0x43a08e=_0x373b69['getFirstRange'](),_0x2ceba5=_0x43a08e['start'],_0x509098=_0x43a08e['end'];this['_setSuggestionRange'](_0x373b69,this['_model']['createRange'](_0x2ceba5,_0x15e01e));const _0x12c591=ckeditor5['uid'](),_0xa76429=_0x373b69['creator']['id'],_0x40dc39=_0x373b69['type']+(_0x373b69['subType']?':'+_0x373b69['subType']:'');this['_setSuggestionData']({'id':_0x12c591,'type':_0x40dc39,'createdAt':new Date(),'authorId':_0xa76429,'originalSuggestionId':_0x373b69['_originalSuggestionId']||_0x373b69['id'],'attributes':_0x373b69['attributes'],'data':_0x373b69['data']});const _0x497e1a=this['_getAttributeKey'](_0x373b69);('formatBlock'==_0x373b69['type']||_0x497e1a&&this['_isBlockAttribute'](_0x497e1a))&&(_0x500585=this['_model']['createPositionBefore'](_0x500585['parent'])),this['_addSuggestionMarker'](_0x40dc39,_0x12c591,_0xa76429,this['_model']['createRange'](_0x500585,_0x509098));}['_findSuggestions'](_0x743a15,_0xe406e=null){const _0x485561=[],_0x23d18d=this['editor']['plugins']['get']('Users')['me'];Array['isArray'](_0x743a15)||(_0x743a15=[_0x743a15]);for(const _0x3653f8 of this['getSuggestions']()){if(!_0x3653f8['isInContent'])continue;if(_0xe406e&&_0x3653f8['type']!=_0xe406e)continue;let _0x16b862=!0x1;for(const _0x556d48 of _0x3653f8['getRanges']()){for(const _0xddcd6b of _0x743a15){const _0xd08acd=_0xddcd6b['start']['isEqual'](_0x556d48['end'])||_0xddcd6b['end']['isEqual'](_0x556d48['start']);if(_0xd08acd||_0xddcd6b['getIntersection'](_0x556d48)){const _0x14efed=_0xddcd6b['containsRange'](_0x556d48)&&_isInObject(this['_model']['schema'],_0x556d48['start'],_0xddcd6b),_0x115eda=_0x556d48['containsRange'](_0xddcd6b)&&_isInObject(this['_model']['schema'],_0xddcd6b['start'],_0x556d48);_0x485561['push']({'suggestion':_0x3653f8,'meta':{'isOwn':_0x23d18d==_0x3653f8['author'],'isNextTo':_0xd08acd,'isInsideObject':_0x14efed,'containsRangeInObject':_0x115eda}}),_0x16b862=!0x0;break;}}if(_0x16b862)break;}}return _0x485561;}['_addSuggestionMarker'](_0x56905a,_0x1b739d,_0x35dbcf,_0x3edf06,_0x5545cf){this['_model']['change'](_0xcbc0fb=>{let _0x10c0e2='suggestion:'+_0x56905a+':'+_0x1b739d+':'+_0x35dbcf;_0x5545cf&&(_0x10c0e2=_0x10c0e2+':'+_0x5545cf),_0xcbc0fb['addMarker'](_0x10c0e2,{'range':_0x3edf06,'usingOperation':!0x0,'affectsData':!0x0});});}['_removeSuggestion'](_0xef4c5a){const _0x3e857f=_0xef4c5a['previous'],_0x1de3ad=_0xef4c5a['next'];_0xef4c5a['previous']=null,_0xef4c5a['next']=null,null!=_0x3e857f&&_0x3e857f['next']==_0xef4c5a&&(_0x3e857f['next']=_0x1de3ad),null!=_0x1de3ad&&_0x1de3ad['previous']==_0xef4c5a&&(_0x1de3ad['previous']=_0x3e857f),'ready'==this['_suggestionState']['get'](_0xef4c5a)&&(this['_suggestionState']['set'](_0xef4c5a,'removed'),this['fire']('suggestionUnloaded',_0xef4c5a,_0x3e857f,_0x1de3ad));}['_setSuggestionData'](_0x56134b){const _0x458980=_0x56134b['id'],_0x423b1c=this['addSuggestionData'](_0x56134b);if(this['_adapter']&&this['_adapter']['addSuggestion']){const _0x4df6b6=this['editor']['plugins']['get']('PendingActions'),_0x352bab=_0x423b1c['hasComments'],_0x44d846=_0x423b1c['subType']?_0x423b1c['type']+':'+_0x423b1c['subType']:_0x423b1c['type'],_0x23533f=this['editor']['locale'],_0xe2353c=_0x4df6b6['add'](getTranslation$1(_0x23533f,'PENDING_ACTION_SUGGESTION')),_0x205475={'id':_0x458980,'type':_0x44d846,'hasComments':_0x352bab,'data':_0x56134b['data']||null,'originalSuggestionId':_0x56134b['originalSuggestionId']||null,'attributes':_0x423b1c['attributes']};this['_adapter']['addSuggestion'](_0x205475)['then'](_0x2b2568=>{_0x423b1c['_saved']=!0x0,_0x4df6b6['remove'](_0xe2353c),_0x2b2568&&_0x2b2568['createdAt']&&(this['_suggestions']['get'](_0x458980)['createdAt']=_0x2b2568['createdAt']);})['catch'](_0x4e300e=>{throw ckeditor5['logWarning']('error-saving-suggestion-data-suggestion-discarded'),this['editor']['model']['enqueueChange']({'isUndoable':!0x1},()=>{_0x423b1c['discard']();}),_0x423b1c['stopListening'](),this['_suggestions']['delete'](_0x423b1c['id']),this['_suggestionState']['delete'](_0x423b1c),_0x4e300e;});}return _0x423b1c;}['_isBlockAttribute'](_0x537b73){return this['_blockAttributeKeys']['has'](_0x537b73);}['_isInlineAttribute'](_0x5403c6){return this['_inlineAttributeKeys']['has'](_0x5403c6);}['_updateSuggestionData'](_0x3c7b3b,_0x242733){const _0x2c0a36=this['editor']['plugins']['get']('PendingActions'),_0x4bf3b6=this['getSuggestion'](_0x3c7b3b);if(this['_adapter']&&this['_adapter']['updateSuggestion']){if(_0x4bf3b6['_saved']){const _0x34eb06=_0x2c0a36['add'](getTranslation$1(this['editor']['locale'],'PENDING_ACTION_SUGGESTION'));this['_adapter']['updateSuggestion'](_0x3c7b3b,_0x242733)['then'](()=>{_0x2c0a36['remove'](_0x34eb06);});}else _0x4bf3b6['on']('change:_saved',()=>{this['_updateSuggestionData'](_0x3c7b3b,_0x242733);});}}['_getSuggestionData'](_0x3f143f){if(!this['_adapter']||!this['_adapter']['getSuggestion'])throw new ckeditor5['CKEditorError']('track-changes-adapter-missing-getsuggestion',this);return this['_adapter']['getSuggestion'](_0x3f143f);}['_handleNewSuggestionMarker'](_0x490320){const {id:_0x4feb4e,type:_0x19e391,subType:_0x4250e0,authorId:_0x8187ef}=this['_splitMarkerName'](_0x490320),_0x4c4805=this['_suggestions']['get'](_0x4feb4e)||this['_createSuggestion'](_0x19e391,_0x4250e0,_0x4feb4e,_0x8187ef,{});switch(this['_checkSuggestionCorrectness'](_0x4c4805,_0x19e391,_0x4250e0,_0x8187ef),this['_suggestionState']['get'](_0x4c4805)){case'notReady':this['_getSuggestionData'](_0x4feb4e)['then'](_0x35304d=>{let _0x69edc7=Promise['resolve']();_0x35304d['hasComments']&&(_0x69edc7=this['_commentsRepository']['fetchCommentThread']({'channelId':this['editor']['config']['get']('collaboration.channelId'),'threadId':_0x4feb4e})),_0x69edc7['then'](()=>{this['addSuggestionData'](_0x35304d)['_saved']=!0x0;});}),this['_suggestionState']['set'](_0x4c4805,'markerReady');break;case'removed':this['_updateSuggestionData'](_0x4feb4e,{'state':'open'});case'dataReady':this['_suggestionState']['set'](_0x4c4805,'ready'),this['fire']('suggestionLoaded',_0x4c4805);break;case'ready':this['fire']('suggestionChanged',_0x4c4805);}return _0x4c4805['addMarkerName'](_0x490320),_0x4c4805;}['_refreshSuggestionsChain'](_0xfa8142){const _0x4d6cfc=Array['from'](_0xfa8142),_0x528cc2=_0x4d6cfc['filter'](_0x3b3cc1=>'attribute'==_0x3b3cc1['type']);this['_refreshAttributeSuggestionsChain'](_0x528cc2);const _0x5ebe3c=_0x4d6cfc['filter'](_0x150936=>!_0x150936['isMultiRange']&&'attribute'!=_0x150936['type']),_0x50d58d=this['getSuggestions']({'skipNotAttached':!0x0})['filter'](_0x2f7e7f=>!_0x2f7e7f['isMultiRange']&&'attribute'!=_0x2f7e7f['type']),_0x880dc2=_0x50d58d['filter'](_0x1fec99=>!_0xfa8142['has'](_0x1fec99)),_0x47975c=new Map(_0x50d58d['map'](_0x12ee04=>[_0x12ee04,this['_suggestionFactory']['getSuggestionCallback'](_0x12ee04['type'],_0x12ee04['subType'],'chain')])),_0x9b6b66=new Map(_0x50d58d['map'](_0x7c9001=>[_0x7c9001,_0x7c9001['getFirstRange']()])),_0x29b28d=new Set(),_0x210f82=new Set();for(let _0x7bdaad=0x0;_0x7bdaad<_0x5ebe3c['length'];_0x7bdaad++)_0x5e945a(_0x5ebe3c[_0x7bdaad],_0x5ebe3c,_0x7bdaad+0x1);for(let _0x5e0531=0x0;_0x5e0531<_0x5ebe3c['length'];_0x5e0531++)_0x5e945a(_0x5ebe3c[_0x5e0531],_0x880dc2,0x0);const _0x1f6399=new Set();for(let _0x5c46bf=0x0;_0x5c46bf<_0x5ebe3c['length'];_0x5c46bf++){const _0x3904ff=_0x5ebe3c[_0x5c46bf];!_0x210f82['has'](_0x3904ff)&&_0x3904ff['previous']&&(_0x1f6399['add'](_0x3904ff['previous']),_0x3904ff['previous']['next']===_0x3904ff&&(_0x3904ff['previous']['next']=null),_0x3904ff['previous']=null),!_0x29b28d['has'](_0x3904ff)&&_0x3904ff['next']&&(_0x1f6399['add'](_0x3904ff['next']),_0x3904ff['next']['previous']===_0x3904ff&&(_0x3904ff['next']['previous']=null),_0x3904ff['next']=null);}function _0x5e945a(_0x1c9a89,_0x58b358,_0x135c05){for(let _0x4acdfb=_0x135c05;_0x4acdfb<_0x58b358['length'];_0x4acdfb++){const _0x1e681a=_0x16b377(_0x1c9a89,_0x58b358[_0x4acdfb]);_0x1e681a&&(_0x1e681a[0x0]['next']=_0x1e681a[0x1],_0x1e681a[0x1]['previous']=_0x1e681a[0x0],_0x29b28d['add'](_0x1e681a[0x0]),_0x210f82['add'](_0x1e681a[0x1]));}}function _0x16b377(_0x36563b,_0x27b05a){if(_0x36563b['author']['id']!==_0x27b05a['author']['id'])return null;const _0x5de455=_0x47975c['get'](_0x36563b)(_0x36563b,_0x27b05a,_0x9b6b66['get'](_0x36563b),_0x9b6b66['get'](_0x27b05a));if(!_0x5de455)return null;return _0x47975c['get'](_0x27b05a)(_0x36563b,_0x27b05a,_0x9b6b66['get'](_0x36563b),_0x9b6b66['get'](_0x27b05a))?_0x5de455[0x1]['commentThread']&&_0x5de455[0x1]['commentThread']['length']?null:_0x5de455:null;}_0x1f6399['size']&&this['_refreshSuggestionsChain'](_0x1f6399);}['_refreshAttributeSuggestionsChain'](_0x59ac96){if(0x0==_0x59ac96['length'])return;const _0xc07004=this['getSuggestions']({'skipNotAttached':!0x0})['filter'](_0x5834d4=>'attribute'==_0x5834d4['type']&&_0x5834d4['_isDataLoaded']),_0x5403f9=[],_0x2a787d=new Map();for(const _0x2ef08c of _0xc07004){const _0x37e24e=hashObject(_0x2ef08c['attributes']);_0x2a787d['has'](_0x37e24e)||(_0x2a787d['set'](_0x37e24e,_0x5403f9['length']),_0x5403f9['push']([]));const _0x1ae064=_0x2a787d['get'](_0x37e24e);_0x5403f9[_0x1ae064]['push'](_0x2ef08c);}!(function(){_0x5403f9['sort']((_0x55a713,_0x373f11)=>{const _0x115039=_0x55a713[0x0]['createdAt'],_0x11a10e=_0x373f11[0x0]['createdAt'];return _0x115039==_0x11a10e?_0x55a713[0x0]['attributes']['groupId']<_0x373f11[0x0]['attributes']['groupId']?-0x1:0x1:_0x115039<_0x11a10e?-0x1:0x1;});for(const _0x4cd70d of _0x5403f9)_0x4cd70d['sort']((_0x329680,_0x58d30d)=>_0x329680['id']<_0x58d30d['id']?-0x1:0x1);}());for(let _0x39cb49=0x0;_0x39cb49<_0x5403f9['length'];_0x39cb49++){if(0x0==_0x5403f9[_0x39cb49]['length'])continue;const _0x5647f7=[];for(let _0x18f076=_0x39cb49+0x1;_0x18f076<_0x5403f9['length'];_0x18f076++)0x0!=_0x5403f9[_0x18f076]['length']&&_0x31de0a(_0x5403f9[_0x39cb49],_0x5403f9[_0x18f076])&&_0x5647f7['push'](_0x18f076);for(const _0x480300 of _0x5647f7)_0x5403f9[_0x39cb49]=_0x5403f9[_0x39cb49]['concat'](_0x5403f9[_0x480300]),_0x5403f9[_0x480300]=[];}for(const _0x36e819 of _0x5403f9)for(let _0x536077=0x0;_0x536077<_0x36e819['length'];_0x536077++){const _0x50a5e4=_0x36e819[_0x536077+0x1]||null;_0x36e819[_0x536077]['next']!==_0x50a5e4&&(_0x36e819[_0x536077]['next']=_0x50a5e4);}for(const _0x2e0d3a of _0x5403f9)for(let _0x36fd1c=0x0;_0x36fd1c<_0x2e0d3a['length'];_0x36fd1c++){const _0x6790bd=_0x2e0d3a[_0x36fd1c-0x1]||null;_0x2e0d3a[_0x36fd1c]['previous']!==_0x6790bd&&(_0x2e0d3a[_0x36fd1c]['previous']=_0x6790bd);}function _0x31de0a(_0x5c406c,_0x50e0da){if(_0x5c406c[0x0]['attributes']['groupId']!==_0x50e0da[0x0]['attributes']['groupId']&&_0x5c406c[0x0]['author']!==_0x50e0da[0x0]['author'])return!0x1;if(!function(_0x255f8e,_0x45cff5){if(!_0x255f8e['hasComments']&&!_0x45cff5['hasComments'])return!0x0;if(_0x255f8e['hasComments']&&_0x45cff5['hasComments'])return!0x1;if(_0x255f8e['hasComments']&&_0x45cff5['createdAt']<_0x255f8e['commentThread']['comments']['get'](0x0)['createdAt'])return!0x0;if(_0x45cff5['hasComments']&&_0x255f8e['createdAt']<_0x45cff5['commentThread']['comments']['get'](0x0)['createdAt'])return!0x0;return!0x1;}(_0x5c406c[0x0],_0x50e0da[0x0]))return!0x1;if(!_0x5d9d2a(omit(_0x5c406c[0x0]['attributes'],['groupId','trackingSessionId']),omit(_0x50e0da[0x0]['attributes'],['groupId','trackingSessionId'])))return!0x1;if(_0x5c406c[0x0]['attributes']['groupId']==_0x50e0da[0x0]['attributes']['groupId'])return!0x0;if(_0x5c406c[0x0]['attributes']['trackingSessionId']!==_0x50e0da[0x0]['attributes']['trackingSessionId'])return!0x1;return!!_0x5c406c['every'](_0x5ef614=>_0x50e0da['some'](_0x1b85e7=>_0x5ef614['getFirstRange']()['isEqual'](_0x1b85e7['getFirstRange']())))&&_0x50e0da['every'](_0x5a4aac=>_0x5c406c['some'](_0x12d8db=>_0x5a4aac['getFirstRange']()['isEqual'](_0x12d8db['getFirstRange']())));}}['_joinWithAdjacentSuggestions'](_0x52775b){const _0x1b87e1=Array['from'](_0x52775b),_0x395caf=this['getSuggestions']({'skipNotAttached':!0x0}),_0x3c2315=_0x395caf['filter'](_0x23096b=>!_0x52775b['has'](_0x23096b)),_0x5d6f10=new Map(_0x1b87e1['map'](_0x5861fd=>[_0x5861fd,this['_suggestionFactory']['getSuggestionCallback'](_0x5861fd['type'],_0x5861fd['subType'],'join')])),_0x1b9af8=new Map(_0x395caf['map'](_0x2d6a6e=>[_0x2d6a6e,_0x2d6a6e['getRanges']()]));for(let _0x2f84ae=0x0;_0x2f84ae<_0x1b87e1['length'];_0x2f84ae++){if(_0x336ffe(this,_0x1b87e1[_0x2f84ae],_0x1b87e1,_0x2f84ae+0x1))return!0x0;}for(let _0x459ad3=0x0;_0x459ad3<_0x1b87e1['length'];_0x459ad3++){if(_0x336ffe(this,_0x1b87e1[_0x459ad3],_0x3c2315,0x0))return!0x0;}return!0x1;function _0x336ffe(_0x3d1c8b,_0x809a19,_0x550009,_0x1d3eef){for(let _0x118366=_0x1d3eef;_0x118366<_0x550009['length'];_0x118366++){const _0x1941bb=_0x550009[_0x118366];if(_0x1941bb['type']!==_0x809a19['type']||_0x1941bb['author']['id']!==_0x809a19['author']['id']||_0x1941bb['subType']!==_0x809a19['subType'])continue;if(!_haveSameAttributes(_0x809a19,_0x1941bb))continue;if('attribute'==_0x809a19['type']&&_0x809a19['data']['oldValue']!=_0x1941bb['data']['oldValue'])continue;if('attribute'==_0x809a19['type']&&_0x3d1c8b['_isBlockAttribute'](_0x809a19['data']['key']))continue;if('formatBlock'==_0x809a19['type']){const _0x323dcf=_0x3d1c8b['editor']['model'],_0x165820=_0x809a19['getContainedElement']();if(_0x165820&&(_0x323dcf['schema']['isObject'](_0x165820)||_0x323dcf['schema']['isLimit'](_0x165820)))continue;}const _0x3ca131=_0x5d6f10['get'](_0x809a19),_0x3cb53d=_0x1b9af8['get'](_0x809a19),_0x39f989=_0x1b9af8['get'](_0x1941bb),_0x50be18=_0x809a19['commentThread']&&_0x809a19['commentThread']['length'],_0xee5293=_0x1941bb['commentThread']&&_0x1941bb['commentThread']['length'];if(!_0x50be18&&_0x3ca131(_0x39f989,_0x3cb53d))return _0x3d1c8b['_joinSuggestions'](_0x1941bb,_0x809a19),_0x1b9af8['delete'](_0x809a19),!0x0;if(!_0xee5293&&_0x3ca131(_0x3cb53d,_0x39f989))return _0x3d1c8b['_joinSuggestions'](_0x809a19,_0x1941bb),_0x1b9af8['delete'](_0x1941bb),!0x0;}return!0x1;}}['_joinSuggestions'](_0x3d6dd4,_0x83baa){if(_0x3d6dd4['isMultiRange']){for(const _0x406f8d of _0x83baa['getRanges']())_0x3d6dd4['addRange'](_0x406f8d);}else{const _0x2b9a03=_0x83baa['getFirstRange']()['end'];this['_setSuggestionRange'](_0x3d6dd4,this['_model']['createRange'](_0x3d6dd4['getFirstRange']()['start'],_0x2b9a03));}_0x83baa['removeMarkers']();}['_getMarkerAnnouncementText'](_0x29d0ac,_0x1b8c54,_0x42f4f8){const _0x43f245=_0x29d0ac['startsWith']('format')||_0x29d0ac['startsWith']('attribute')?'FORMATTING':_0x29d0ac['toUpperCase']();return getTranslation$1(this['editor']['locale'],_0x1b8c54+'_'+_0x43f245+'_SUGGESTION_ANNOUNCEMENT',_0x42f4f8);}['_initAriaMarkerChangeAnnouncements'](){const _0x384400=this['editor'];if(!_0x384400['ui'])return;const {ariaLiveAnnouncer:_0x5128e2}=_0x384400['ui'];surroundingMarkersDetector(this['_model'],({left:_0x12551c,entered:_0x222cb5})=>{for(const _0x116a38 of _0x12551c){const {group:_0x544299,type:_0x1d6d72}=this['_splitMarkerName'](_0x116a38['name']);if('suggestion'===_0x544299){_0x5128e2['announce'](this['_getMarkerAnnouncementText'](_0x1d6d72,'LEAVE'));break;}}for(const _0x5f3b05 of _0x222cb5){const {group:_0x4660de,type:_0x567323}=this['_splitMarkerName'](_0x5f3b05['name']);if('suggestion'===_0x4660de){_0x5128e2['announce'](this['_getMarkerAnnouncementText'](_0x567323,'ENTER',ckeditor5['getEnvKeystrokeText'](_0x33435d)));break;}}});}['_processAttributeChanges'](_0x5cf71f){if(this['_recordAttributeSuggestions'])return!0x1;const _0x170303=this['editor'],_0x302ee5=_0x170303['model']['document']['differ']['getChanges']();if(0x0==_0x302ee5['length'])return!0x1;const _0x3d16cb=[],_0x2ee0ac=_0x302ee5['filter'](_0x199dd3=>'attribute'==_0x199dd3['type']),_0x3a46d1=_0x302ee5['filter'](_0xc985b9=>'insert'==_0xc985b9['type']&&'$text'!=_0xc985b9['name']),_0x5e6079=_0x302ee5['filter'](_0x413011=>'remove'==_0x413011['type']&&'$text'!=_0x413011['name']);for(const _0x285c46 of _0x2ee0ac)_0x3d16cb['push']({'key':_0x285c46['attributeKey'],'newValue':_0x285c46['attributeNewValue'],'oldValue':_0x285c46['attributeOldValue'],'range':fixAttributeSuggestionRange(_0x285c46['range'],_0x170303['model'])});for(const _0x2ae7fd of _0x3a46d1){const _0xed958b=_0x5e6079['find'](_0x64759c=>_0x64759c['position']['isEqual'](_0x2ae7fd['position']));_0xed958b&&_0x3d16cb['push']({'key':renameAttributeKey,'newValue':_0x2ae7fd['name'],'oldValue':_0xed958b['name'],'range':_0x170303['model']['createRangeOn'](_0x2ae7fd['position']['nodeAfter'])});}return 0x0!=_0x3d16cb['length']&&this['_reduceExistingSuggestions'](_0x5cf71f,_0x3d16cb);}['_processAttributeSuggestions'](_0xb598f6){let _0x4d33bf=!0x1;const _0x5c464f=this['editor']['model']['document']['differ']['getChangedMarkers']()['filter'](_0x523069=>_0x523069['data']['newRange']&&_0x523069['name']['startsWith']('suggestion:attribute:'));for(const _0x33aba0 of _0x5c464f){const {subType:_0x173164,id:_0x9d0e42}=this['_splitMarkerName'](_0x33aba0['name']),_0x33a20b=_0x173164['split']('|')[0x0];for(const _0x51168c of this['getSuggestions']({'skipNotAttached':!0x0}))_0x51168c['id']!=_0x9d0e42&&'attribute'==_0x51168c['type']&&_0x51168c['data']&&_0x51168c['data']['key']==_0x33a20b&&_0x51168c['getFirstRange']()['isIntersecting'](_0x33aba0['data']['newRange'])&&(this['_reduceSuggestionAttributeRange'](_0x51168c,_0x33aba0['data']['newRange'],_0xb598f6),_0x4d33bf=!0x0);}return _0x4d33bf;}['recordAttributeChanges'](_0x3ca0ba){this['_recordAttributeSuggestions']=!0x0,_0x3ca0ba();}['_isRegisteredAttribute'](_0x328ea7){const _0x363057=this['_isBlockAttribute'](_0x328ea7),_0x34361d=this['_isInlineAttribute'](_0x328ea7);return _0x363057||_0x34361d;}['_reduceExistingSuggestions'](_0x24e57e,_0x361fff){if(0x0==_0x361fff['length'])return!0x1;let _0x106a6f=!0x1;for(const _0x39f654 of _0x361fff){const _0x2a4ff8=this['_findSuggestions'](_0x39f654['range'],'attribute')['filter'](_0x265c2c=>!_0x265c2c['meta']['isNextTo'])['map'](_0x5778e8=>_0x5778e8['suggestion']),_0x3253d6=hashObject({'newValue':_0x39f654['newValue']});_0x2a4ff8['filter'](_0x201a18=>{const [_0x17b7dd,_0x5c5725]=_0x201a18['subType']['split']('|');return _0x17b7dd==_0x39f654['key']&&_0x5c5725!=_0x3253d6;})['forEach'](_0x1c5b23=>{this['_reduceSuggestionAttributeRange'](_0x1c5b23,_0x39f654['range'],_0x24e57e),_0x106a6f=!0x0;});}return _0x106a6f;}['_reduceSuggestionAttributeRange'](_0x324e6e,_0x5943f4,_0x5351d1){const _0x5a21b6=_0x324e6e['getFirstRange']()['getDifference'](_0x5943f4);0x0!==_0x5a21b6['length']?0x1!==_0x5a21b6['length']?this['_breakSuggestionMarker'](_0x324e6e,_0x5943f4['start'],_0x5943f4['end']):this['_setSuggestionRange'](_0x324e6e,_0x5a21b6[0x0]):_0x5351d1['removeMarker'](_0x324e6e['getFirstMarker']());}}class SuggestionFactory{['_editor'];['_model'];['_customCallbacks'];['_defaultCallbacks'];constructor(_0x3b8d56){this['_editor']=_0x3b8d56,this['_model']=_0x3b8d56['model'],this['_customCallbacks']=new Map(),this['_defaultCallbacks']=new Map(),this['_registerDefaultCallbacks']();}['buildSuggestion'](_0x9c9835,_0x261f46,_0xee0285,_0x47ec82,_0xbdd4d1,_0x638f9d,_0x1c80d2){return new Suggestion(this['_model'],{'type':_0x9c9835,'subType':_0x261f46,'id':_0xee0285,'originalSuggestionId':_0x1c80d2,'author':_0x47ec82,'creator':_0x47ec82,'attributes':_0xbdd4d1,'onAttributesChange':_0x638f9d,'onAccept':(..._0xa742a4)=>this['getSuggestionCallback'](_0x9c9835,_0x261f46,'accept')(..._0xa742a4),'onDiscard':(..._0x303b4d)=>this['getSuggestionCallback'](_0x9c9835,_0x261f46,'discard')(..._0x303b4d)});}['registerCustomCallback'](_0x15ef27,_0x3eeb90,_0xff7b23,_0x3af916){const _0xa1744f=_0x15ef27+':'+_0x3eeb90+':'+_0xff7b23;this['_customCallbacks']['set'](_0xa1744f,_0x3af916);}['getSuggestionCallback'](_0xc1dbad,_0xf707b1,_0x5bf9dd){const _0x385e76=_0xc1dbad+':'+_0xf707b1+':'+_0x5bf9dd;return this['_customCallbacks']['get'](_0x385e76)||this['_defaultCallbacks']['get'](_0xc1dbad+':'+_0x5bf9dd);}['_registerDefaultCallbacks'](){const _0x16222b=()=>!0x1,_0x45f06e=_0x577e72=>{_0x577e72['sort']((_0x2a9a65,_0x6992ee)=>_0x2a9a65['start']['isBefore'](_0x6992ee['start'])?0x1:-0x1),this['_model']['change'](_0xa5152d=>{for(const _0x1489c7 of _0x577e72){let _0x47cf3b;_0x47cf3b=_0x1489c7['end']['isAtEnd']&&_0x1489c7['end']['parent']==_0x1489c7['start']['nodeAfter']?_0xa5152d['createSelection'](_0x1489c7['start']['nodeAfter'],'on'):_0xa5152d['createSelection'](_0x1489c7),this['_model']['deleteContent'](_0x47cf3b,{'forceDefaultExecution':!0x0,'doNotAutoparagraph':!0x0,'doNotFixSelection':!0x0});}});},_0x4c8401=(_0x32b196,_0x55869b)=>{_0x55869b&&this['_model']['change'](_0x1114c2=>{const {commandName:_0x40001a,commandParams:_0x166f41=[]}=_0x55869b,_0xf5b636=_0x32b196['map'](_0x15cf4d=>(_0x26faea(_0x15cf4d)&&(_0x15cf4d=this['_model']['createRange'](_0x15cf4d['end'])),_0x15cf4d))['filter'](_0x3505a6=>'$graveyard'!==_0x3505a6['root']['rootName']);if(_0xf5b636['length']<0x1)return;const _0x536c87=Array['from'](this['_model']['document']['selection']['getRanges']())['map'](_0x3c0c25=>ckeditor5['ModelLiveRange']['fromRange'](_0x3c0c25));_0x1114c2['setSelection'](_0xf5b636);for(const _0x2d76a5 of this['_editor']['commands']['commands']())_0x2d76a5['refresh']();_0x166f41['push']({'forceDefaultExecution':!0x0}),this['_editor']['execute'](_0x40001a,..._0x166f41);const _0x2fe87e=_0x536c87['filter'](_0x2eb94f=>'$graveyard'!=_0x2eb94f['root']['rootName']);_0x2fe87e['length']>0x0&&_0x1114c2['setSelection'](_0x2fe87e);for(const _0x1a3da5 of _0x536c87)_0x1a3da5['detach']();});},_0x8dca7a=(_0x539fa8,_0x2b9fbf)=>0x1==_0x539fa8['length']&&0x1==_0x2b9fbf['length']&&_0x539fa8[0x0]['end']['isEqual'](_0x2b9fbf[0x0]['start']),_0x12f53f=(_0x4ad85b,_0xb93fac,_0x5122fa,_0x345598)=>canChainSuggestions(_0x4ad85b,_0xb93fac,_0x5122fa,_0x345598)?[_0x4ad85b,_0xb93fac]:canChainSuggestions(_0xb93fac,_0x4ad85b,_0x345598,_0x5122fa)?[_0xb93fac,_0x4ad85b]:null;this['_defaultCallbacks']['set']('insertion:accept',_0x16222b),this['_defaultCallbacks']['set']('insertion:discard',_0x45f06e),this['_defaultCallbacks']['set']('insertion:join',_0x8dca7a),this['_defaultCallbacks']['set']('insertion:chain',_0x12f53f),this['_defaultCallbacks']['set']('deletion:accept',_0x45f06e),this['_defaultCallbacks']['set']('deletion:discard',_0x16222b),this['_defaultCallbacks']['set']('deletion:join',_0x8dca7a),this['_defaultCallbacks']['set']('deletion:chain',_0x12f53f),this['_defaultCallbacks']['set']('formatInline:accept',_0x4c8401),this['_defaultCallbacks']['set']('formatInline:discard',_0x16222b),this['_defaultCallbacks']['set']('formatInline:join',_0x8dca7a),this['_defaultCallbacks']['set']('formatInline:chain',_0x16222b),this['_defaultCallbacks']['set']('formatBlock:accept',_0x4c8401),this['_defaultCallbacks']['set']('formatBlock:discard',_0x16222b),this['_defaultCallbacks']['set']('formatBlock:join',_0x8dca7a),this['_defaultCallbacks']['set']('formatBlock:chain',_0x16222b),this['_defaultCallbacks']['set']('attribute:accept',_0x16222b),this['_defaultCallbacks']['set']('attribute:discard',(_0x1aeadb,_0x104f86)=>{if(!_0x104f86)return;const _0x19f94b=this['_editor']['plugins']['get'](TrackChangesEditing);this['_model']['change'](_0x218040=>{if(_0x104f86['key']==renameAttributeKey)for(const _0x251fc3 of _0x1aeadb){const _0x102836=_0x251fc3['start']['nodeAfter'],_0x1e2e4f=_0x104f86['oldValue'];_0x218040['rename'](_0x102836,_0x1e2e4f);}else{if(_0x19f94b['_isBlockAttribute'](_0x104f86['key'])){for(const _0x24a1aa of _0x1aeadb)void 0x0!==_0x104f86['oldValue']?_0x218040['setAttribute'](_0x104f86['key'],_0x104f86['oldValue'],_0x24a1aa['start']['nodeAfter']):_0x218040['removeAttribute'](_0x104f86['key'],_0x24a1aa['start']['nodeAfter']);}else{for(const _0x1c34f4 of _0x1aeadb)_0x104f86['oldValue']?_0x218040['setAttribute'](_0x104f86['key'],_0x104f86['oldValue'],_0x1c34f4):_0x218040['removeAttribute'](_0x104f86['key'],_0x1c34f4);}}});}),this['_defaultCallbacks']['set']('attribute:join',_0x8dca7a);}}function getIntersectionsWithMultipleRanges(_0xa4a4c5,_0x3a4444){const _0x19cca1=[];for(const _0x4d0ebe of _0x3a4444){const _0x2fe7e7=_0xa4a4c5['getIntersection'](_0x4d0ebe);_0x2fe7e7&&_0x19cca1['push'](_0x2fe7e7);}return _0x19cca1;}function getDifferencesWithMultipleRanges(_0x3dd6bf,_0x558905){const _0x519726=[_0x3dd6bf];for(const _0x389594 of _0x558905){let _0x54a20e=0x0;for(;_0x54a20e<_0x519726['length'];){const _0x11dbdf=_0x519726[_0x54a20e]['getDifference'](_0x389594);_0x519726['splice'](_0x54a20e,0x1,..._0x11dbdf),_0x54a20e+=_0x11dbdf['length'];}}return _0x519726;}function _isInObject(_0x3c8b44,_0x2ba87a,_0x718619){for(const _0x459fee of _0x2ba87a['parent']['getAncestors']({'includeSelf':!0x0,'parentFirst':!0x0})){if(_0x459fee['root']==_0x459fee)return!0x1;if(!_0x718619['containsItem'](_0x459fee))return!0x1;if(_0x3c8b44['isObject'](_0x459fee)||_0x3c8b44['isLimit'](_0x459fee))return!0x0;}return!0x1;}function _0x26faea(_0x49eece){return _0x49eece['end']['parent']==_0x49eece['start']['nodeAfter']&&_0x49eece['end']['isAtStart'];}function _0x31144b(_0x1bdf07){return _0x1bdf07['start']['parent']==_0x1bdf07['end']['nodeBefore']&&_0x1bdf07['start']['isAtEnd'];}function trimFormatInlineSuggestionRange(_0x19dc9d,_0x50f9f5,_0x486c48,_0x2fcc5e){const _0x3de0a7=_0x14bffc=>!_0x14bffc['item']['is']('$textProxy')&&!_0x2fcc5e['isObject'](_0x14bffc['item']),_0x1c573e=_0x19dc9d['start']['getLastMatchingPosition'](_0x3de0a7),_0x433f6e=_0x19dc9d['end']['getLastMatchingPosition'](_0x3de0a7,{'direction':'backward'});return(!_0x19dc9d['start']['isEqual'](_0x1c573e)||!_0x19dc9d['end']['isEqual'](_0x433f6e))&&(_0x1c573e['isBefore'](_0x433f6e)?_0x486c48['updateMarker'](_0x50f9f5,{'range':_0x486c48['createRange'](_0x1c573e,_0x433f6e)}):_0x486c48['removeMarker'](_0x50f9f5),!0x0);}function createFormatSubType(_0x1ad51a){return hashObject(_0x1ad51a);}function isCorrectFormatBlockSuggestionRange(_0x3be867){const _0x24e896=_0x3be867['start']['nodeAfter'];return _0x24e896&&_0x24e896['is']('element');}function isEmptyRange(_0x4e4a81){return _0x26faea(_0x4e4a81)||_0x31144b(_0x4e4a81);}function isIntersectingWithOtherMarkers(_0x233c7a,_0x4f3402){try{const _0x28f3a8=_0x233c7a['getRange']();for(const _0x502fe2 of _0x4f3402)if(_0x233c7a!==_0x502fe2&&_0x28f3a8&&_0x28f3a8['isIntersecting'](_0x502fe2['getRange']()))return!0x0;return!0x1;}catch{return!0x1;}}function fixElementSuggestionRange(_0x2a53ad,_0xdc1f41){const _0x5a7881=_0x2a53ad['end']['nodeBefore'];if(_0x5a7881&&_0x5a7881['is']('element')&&_0xdc1f41['schema']['isBlock'](_0x5a7881)&&!_0xdc1f41['schema']['isObject'](_0x5a7881)){const _0x314c9f=_0xdc1f41['createPositionAt'](_0x5a7881,'end');return _0xdc1f41['createRange'](_0x2a53ad['start'],_0x314c9f);}return _0x2a53ad;}function fixAttributeSuggestionRange(_0x523d13,_0x5ab74e){return null==_0x523d13['end']['nodeBefore']&&_0x523d13['end']['parent']==_0x523d13['start']['nodeAfter']?createBlockFormatRangeForElement(_0x523d13['start']['nodeAfter'],_0x5ab74e):_0x523d13;}function createBlockFormatRangeForElement(_0x1daf1d,_0x1f8b1f){const _0x333fab=_0x1f8b1f['schema']['isObject'](_0x1daf1d)||_0x1f8b1f['schema']['isSelectable'](_0x1daf1d);return _0x1f8b1f['createRange'](_0x1f8b1f['createPositionAt'](_0x1daf1d,'before'),_0x333fab?_0x1f8b1f['createPositionAfter'](_0x1daf1d):_0x1f8b1f['createPositionAt'](_0x1daf1d,'end'));}function canChainSuggestions(_0x129862,_0x335917,_0x9056b0,_0x4f2db0){return!!_haveSameAttributes(_0x129862,_0x335917)&&_0x9056b0['end']['isEqual'](_0x4f2db0['start']);}function _haveSameAttributes(_0x4656eb,_0x306d27){if(!_0x4656eb['_isDataLoaded']||!_0x306d27['_isDataLoaded'])return!0x1;const _0x15fa92=new Set(Object['keys'](_0x4656eb['attributes'])),_0x4756e0=new Set(Object['keys'](_0x306d27['attributes']));if(_0x15fa92['delete']('groupId'),_0x4756e0['delete']('groupId'),0x0==_0x15fa92['size']&&0x0==_0x4756e0['size'])return!0x0;if(_0x15fa92['size']!=_0x4756e0['size'])return!0x1;const _0x334ffc={..._0x4656eb['attributes']},_0x403195={..._0x306d27['attributes']};return delete _0x334ffc['groupId'],delete _0x403195['groupId'],JSON['stringify'](_0x334ffc)==JSON['stringify'](_0x403195);}function _areSimilarAttributes(_0x618402,_0x3cac2b){const _0x5950ae=_cleanUpAttributes(_0x618402['attributes']),_0x1d8cb7=_cleanUpAttributes(_0x3cac2b);if(!_0x618402['_isDataLoaded'])return!0x1;for(const _0x14492e of Object['keys'](_0x1d8cb7))if(!_0x5d9d2a(_0x5950ae[_0x14492e],_0x1d8cb7[_0x14492e]))return!0x1;return!0x0;}function _cleanUpAttributes(_0x2592ef){const _0x1e830d=Object['assign']({},_0x2592ef);return delete _0x1e830d['skipNestingCheck'],delete _0x1e830d['tablePasteChainId'],_0x1e830d;}function _getAttributeKeyFromSubType(_0x4c406c){return _0x4c406c['split']('|')[0x0];}function transformMarkers(_0xfa7990,_0x43353c){for(const [_0xf95276,_0x4ab414]of _0xfa7990['markers']){const _0x276fbc=ckeditor5['ModelRange']['_createFromRanges'](_0x4ab414['getTransformedByOperation'](_0x43353c));_0xfa7990['markers']['set'](_0xf95276,_0x276fbc);}}async function _0x1206b4(_0x2d56a5){const _0x2aa4b3=_0x876784([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]),_0x45d2d6=window[_0x876784([0x44,0x61,0x74,0x65])][_0x876784([0x6e,0x6f,0x77])](),_0x451519=_0x2d56a5[_0x876784([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x29949b=new window[(_0x876784([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x468780=>{_0x451519[_0x876784([0x6f,0x6e,0x63,0x65])](_0x876784([0x72,0x65,0x61,0x64,0x79]),_0x468780);}),_0x4aed7c={[_0x876784([0x6b,0x74,0x79])]:_0x876784([0x45,0x43]),[_0x876784([0x75,0x73,0x65])]:_0x876784([0x73,0x69,0x67]),[_0x876784([0x63,0x72,0x76])]:_0x876784([0x50,0x2d,0x32,0x35,0x36]),[_0x876784([0x78])]:_0x876784([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]),[_0x876784([0x79])]:_0x876784([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]),[_0x876784([0x61,0x6c,0x67])]:_0x876784([0x45,0x53,0x32,0x35,0x36])},_0x5087b4=_0x451519[_0x876784([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x876784([0x67,0x65,0x74])](_0x876784([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x344c0b=await(async function(){let _0xd20e09,_0x2f4b71=null,_0x3c431a=null;try{if(_0x5087b4==_0x876784([0x47,0x50,0x4c]))return _0x876784([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0xd20e09=(function(){const _0x43b9d3=_0x5087b4[_0x876784([0x73,0x70,0x6c,0x69,0x74])](_0x876784([0x2e]));if(0x3!=_0x43b9d3[_0x876784([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;const _0x5d428e=_0x43b9d3[0x1];return _0x5c057e(_0x5d428e);function _0x5c057e(_0x1695ef){const _0x389eb9=_0x1adda0(_0x1695ef);return _0x389eb9&&_0x575126()?_0x389eb9:null;function _0x575126(){const _0x4e4e9f=_0x389eb9[_0x876784([0x6a,0x74,0x69])],_0x3b1249=window[_0x876784([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4e4e9f[_0x876784([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4e4e9f[_0x876784([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x2501d7={..._0x389eb9,[_0x876784([0x6a,0x74,0x69])]:_0x4e4e9f[_0x876784([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x4e4e9f[_0x876784([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x2501d7[_0x876784([0x76,0x63])],_0x120452(_0x2501d7)==_0x3b1249;}}}()),!_0xd20e09)return _0x876784([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);_0xd20e09[_0x876784([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x3c431a=function(_0x34003f,_0x38db8a){return new window[(_0x876784([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x41f5ef=>{if(_0x3378e4())return _0x41f5ef(_0x876784([0x56,0x61,0x6c,0x69,0x64]));_0x485714(),_0x451519[_0x876784([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x876784([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x13e049=!0x1;const _0x2c64b2=ckeditor5['uid']();function _0x18cdbb(_0x50c2d5){return!!_0x50c2d5&&(typeof _0x50c2d5===_0x876784([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x50c2d5===_0x876784([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x50c2d5[_0x876784([0x74,0x68,0x65,0x6e])]===_0x876784([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x50c2d5[_0x876784([0x63,0x61,0x74,0x63,0x68])]===_0x876784([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x7b8f84(_0x36577f){_0x3a6960(_0x36577f)[_0x876784([0x74,0x68,0x65,0x6e])](_0x4b925a=>{if(!_0x4b925a||_0x4b925a[_0x876784([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x876784([0x6f,0x6b]))return _0x876784([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x4141c5(_0x120452(_0x2c64b2+_0x38db8a))!=_0x4b925a[_0x876784([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x876784([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x876784([0x56,0x61,0x6c,0x69,0x64]);})[_0x876784([0x74,0x68,0x65,0x6e])](_0x5e1814=>(_0x8c468d(),_0x5e1814),()=>{const _0x383b12=_0x2e0cbe();return null==_0x383b12?(_0x8c468d(),_0x876784([0x56,0x61,0x6c,0x69,0x64])):_0x876784(_0x45d2d6-_0x383b12>0x240c8400?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x876784([0x74,0x68,0x65,0x6e])](_0x41f5ef)[_0x876784([0x63,0x61,0x74,0x63,0x68])](()=>{_0x41f5ef(_0x876784([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x51adf6=0x36ee80;function _0x8c468d(){const _0x24074f=_0x876784([0x6c,0x6c,0x63,0x74,0x2d])+_0x4141c5(_0x120452(_0x34003f)),_0x5a2210=_0x4720c3(_0x4141c5(window[_0x876784([0x4d,0x61,0x74,0x68])][_0x876784([0x63,0x65,0x69,0x6c])](_0x45d2d6/_0x51adf6)));window[_0x876784([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x876784([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x24074f,_0x5a2210);}function _0x2e0cbe(){const _0x41bbc1=_0x876784([0x6c,0x6c,0x63,0x74,0x2d])+_0x4141c5(_0x120452(_0x34003f)),_0x759502=window[_0x876784([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x876784([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x41bbc1);return _0x759502?window[_0x876784([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4720c3(_0x759502),0x10)*_0x51adf6:null;}function _0x3a6960(_0x410bb9){return new window[(_0x876784([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x47365b,_0x1ef3e0)=>{_0x410bb9[_0x876784([0x74,0x68,0x65,0x6e])](_0x47365b,_0x1ef3e0),window[_0x876784([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x1ef3e0,0x1d4c0);});}}_0x451519[_0x876784([0x6f,0x6e])](_0x876784([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x5942a5,_0x262ab5)=>{if(_0x262ab5[0x0]!=_0x34003f)return _0x41f5ef(_0x876784([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x262ab5[0x1]={..._0x262ab5[0x1],[_0x876784([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x2c64b2};},{[_0x876784([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x876784([0x68,0x69,0x67,0x68])}),_0x451519[_0x876784([0x6f,0x6e])](_0x876784([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x1351ca=>{_0x18cdbb(_0x1351ca[_0x876784([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x13e049=!0x0,_0x7b8f84(_0x1351ca[_0x876784([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x876784([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x876784([0x6c,0x6f,0x77])}),_0x29949b[_0x876784([0x74,0x68,0x65,0x6e])](()=>{_0x13e049||_0x41f5ef(_0x876784([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x3378e4(){return _0x451519[_0x876784([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x876784([0x76,0x69,0x65,0x77])][_0x876784([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x876784([0x61,0x75,0x74,0x6f]);}function _0x485714(){_0x451519[_0x876784([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x876784([0x76,0x69,0x65,0x77])][_0x876784([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x876784([0x61,0x75,0x74,0x6f]);}}(_0xd20e09[_0x876784([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0xd20e09[_0x876784([0x6a,0x74,0x69])]));const _0x4e3a76=await(async function(){let _0x2159f0=!0x0;try{const _0x279a1d=_0x5087b4[_0x876784([0x73,0x70,0x6c,0x69,0x74])](_0x876784([0x2e])),[_0x26b6d2,_0x2f0d58,_0x1105f0]=_0x279a1d;return _0x5648ae(_0x26b6d2),await _0x82b436(_0x26b6d2,_0x2f0d58,_0x1105f0),_0x2159f0;}catch{return!0x1;}function _0x5648ae(_0x1fc15f){const _0x5b135f=_0x1adda0(_0x1fc15f);_0x5b135f&&_0x5b135f[_0x876784([0x61,0x6c,0x67])]==_0x876784([0x45,0x53,0x32,0x35,0x36])||(_0x2159f0=!0x1);}async function _0x82b436(_0x2c854,_0x3db30a,_0x3a82f7){const _0x720621=window[_0x876784([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x876784([0x66,0x72,0x6f,0x6d])](_0x3454c3(_0x3a82f7),_0x3a10ec=>_0x3a10ec[_0x876784([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x2ad5f3=new window[(_0x876784([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x876784([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x2c854+_0x876784([0x2e])+_0x3db30a),_0x1e335d=window[_0x876784([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x876784([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x1e335d)return;const _0x88ea50=await _0x1e335d[_0x876784([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x876784([0x6a,0x77,0x6b]),_0x4aed7c,{[_0x876784([0x6e,0x61,0x6d,0x65])]:_0x876784([0x45,0x43,0x44,0x53,0x41]),[_0x876784([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x876784([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x876784([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x1e335d[_0x876784([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x876784([0x6e,0x61,0x6d,0x65])]:_0x876784([0x45,0x43,0x44,0x53,0x41]),[_0x876784([0x68,0x61,0x73,0x68])]:{[_0x876784([0x6e,0x61,0x6d,0x65])]:_0x876784([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x88ea50,_0x720621,_0x2ad5f3)||(_0x2159f0=!0x1);}}());return _0x4e3a76?(function(){const _0x3a41b7=_0xd20e09[_0x876784([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];if(!_0x3a41b7)return!0x1;if(_0x3a41b7[_0x876784([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x876784([0x2a])))return!0x0;if(_0x3a41b7[_0x876784([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x876784([0x54,0x43])))return!0x0;if(_0x3a41b7[_0x876784([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x876784([0x52,0x54,0x43]))){if(_0x246eb1(_0x876784([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&(_0x5a4288=_0x876784([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]),_0x451519[_0x876784([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x876784([0x67,0x65,0x74])](_0x5a4288))[_0x876784([0x73,0x74,0x61,0x74,0x65])]==_0x876784([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64]))return!0x0;if(_0x246eb1(_0x876784([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]))||_0x246eb1(_0x876784([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 _0x5a4288;return!0x1;}())?(function(){const _0x535e78=[_0x876784([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x876784([0x74,0x72,0x69,0x61,0x6c])][_0x876784([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xd20e09[_0x876784([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x45d2d6/0x3e8:0x68f03580;return _0xd20e09[_0x876784([0x65,0x78,0x70])]<_0x535e78;}())?_0x876784([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):(function(){const _0x488482=_0xd20e09[_0x876784([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x488482||0x0==_0x488482[_0x876784([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x47709a}=new URL(window[_0x876784([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x488482[_0x876784([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x47709a))return!0x0;const _0x22f483=_0x47709a[_0x876784([0x73,0x70,0x6c,0x69,0x74])](_0x876784([0x2e]));return _0x488482[_0x876784([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x296b24=>_0x296b24[_0x876784([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x876784([0x2a])))[_0x876784([0x6d,0x61,0x70])](_0x4c7721=>_0x4c7721[_0x876784([0x73,0x70,0x6c,0x69,0x74])](_0x876784([0x2e])))[_0x876784([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5667df=>_0x5667df[_0x876784([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x22f483[_0x876784([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x876784([0x6d,0x61,0x70])](_0x19f5f1=>Array(_0x22f483[_0x876784([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x19f5f1[_0x876784([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x876784([0x66,0x69,0x6c,0x6c])](_0x19f5f1[0x0]===_0x876784([0x2a])?_0x876784([0x2a]):'')[_0x876784([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x19f5f1))[_0x876784([0x73,0x6f,0x6d,0x65])](_0x21fd3e=>_0x22f483[_0x876784([0x65,0x76,0x65,0x72,0x79])]((_0xf5ff17,_0x11e38e)=>_0x21fd3e[_0x11e38e]===_0xf5ff17||_0x21fd3e[_0x11e38e]===_0x876784([0x2a])));}())?(_0xd20e09[_0x876784([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x876784([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x2f4b71=_0x4f4b5e(_0x876784([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0xd20e09[_0x876784([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x876784([0x74,0x72,0x69,0x61,0x6c])&&(_0x2f4b71=_0x4f4b5e(_0x876784([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await(function(){if(_0x2f4b71&&_0x3c431a)return new window[(_0x876784([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3a7245,_0x8cb820)=>{_0x2f4b71[_0x876784([0x74,0x68,0x65,0x6e])](_0x3a7245,_0x8cb820),_0x3c431a[_0x876784([0x74,0x68,0x65,0x6e])](_0x437f2b=>{_0x437f2b!=_0x876784([0x56,0x61,0x6c,0x69,0x64])&&_0x3a7245(_0x437f2b);},_0x8cb820);});return _0x2f4b71||_0x3c431a||_0x876784([0x56,0x61,0x6c,0x69,0x64]);}())):_0x876784([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x876784([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x876784([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x876784([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}}());function _0x4f4b5e(_0x58e2a9){const _0x5408b0=[new window[(_0x876784([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2227f0=>setTimeout(_0x2227f0,0x93ecc)),_0x29949b[_0x876784([0x74,0x68,0x65,0x6e])](()=>new window[(_0x876784([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5dadd9=>{let _0x14cc9a=0x0;_0x451519[_0x876784([0x6d,0x6f,0x64,0x65,0x6c])][_0x876784([0x6f,0x6e])](_0x876784([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x3c242b,_0x12ed7a)=>{_0x12ed7a[0x0][_0x876784([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x14cc9a++,0x1f8==_0x14cc9a&&(_0x5dadd9(),_0x3c242b[_0x876784([0x6f,0x66,0x66])]());});}))];return window[_0x876784([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x876784([0x72,0x61,0x63,0x65])](_0x5408b0)[_0x876784([0x74,0x68,0x65,0x6e])](()=>_0x58e2a9);}function _0x1adda0(_0x2e1819){return _0x2e1819[_0x876784([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x876784([0x65,0x79]))?JSON[_0x876784([0x70,0x61,0x72,0x73,0x65])](_0x3454c3(_0x2e1819)):null;}function _0x3454c3(_0x2095ed){return window[_0x876784([0x61,0x74,0x6f,0x62])](_0x2095ed[_0x876784([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x876784([0x2b]))[_0x876784([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x876784([0x2f])));}function _0x120452(_0x4a3b25){let _0x211012=0x1505;function _0x897a31(_0x16878f){for(let _0x220cd1=0x0;_0x220cd1<_0x16878f[_0x876784([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x220cd1++){const _0x3b2d9e=_0x16878f[_0x876784([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x220cd1);_0x211012=(_0x211012<<0x5)+_0x211012+_0x3b2d9e,_0x211012&=_0x211012;}}return function _0x3727ad(_0x4e595e){Array[_0x876784([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x4e595e)?_0x4e595e[_0x876784([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x3727ad):_0x4e595e&&typeof _0x4e595e==_0x876784([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x876784([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x4e595e)[_0x876784([0x73,0x6f,0x72,0x74])]()[_0x876784([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x22902a,_0x355f27])=>{_0x897a31(_0x22902a),_0x3727ad(_0x355f27);}):_0x897a31(window[_0x876784([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x4e595e));}(_0x4a3b25),_0x211012>>>0x0;}function _0x4141c5(_0x2ce845){return _0x2ce845[_0x876784([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x876784([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x876784([0x30]));}function _0x4720c3(_0x11f35b){return _0x11f35b[_0x876784([0x73,0x70,0x6c,0x69,0x74])]('')[_0x876784([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x876784([0x6a,0x6f,0x69,0x6e])]('');}function _0x246eb1(_0x3affe0){return _0x451519[_0x876784([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x876784([0x68,0x61,0x73])](_0x3affe0);}function _0x5cff5f(){}function _0x876784(_0x246d0d){return _0x246d0d['map'](_0x5cbc63=>String['fromCharCode'](_0x5cbc63))['join']('');}!function(_0x21f030){const _0x1e3e9e=(function(){const _0x4265e3=window[_0x876784([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x876784([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x876784([0x6e,0x6f,0x77])]())[_0x876784([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x876784([0x2e]),'');let _0x4d4319=_0x876784([0x67]);for(let _0x49360b=0x0;_0x49360b<_0x4265e3[_0x876784([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x49360b+=0x2){let _0x2b0a41=window[_0x876784([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4265e3[_0x876784([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x49360b,_0x49360b+0x2));_0x2b0a41>=_0x2aa4b3[_0x876784([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x2b0a41-=_0x2aa4b3[_0x876784([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4d4319+=_0x2aa4b3[_0x2b0a41];}return _0x4d4319;}());_0x451519[_0x1e3e9e]=_0x876784([0x74,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x21f030,_0x21f030!=_0x876784([0x56,0x61,0x6c,0x69,0x64])&&(async function(){await _0x29949b,_0x451519[_0x876784([0x6d,0x6f,0x64,0x65,0x6c])][_0x876784([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x5cff5f,_0x451519[_0x876784([0x6d,0x6f,0x64,0x65,0x6c])][_0x876784([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x5cff5f,_0x451519[_0x876784([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x876784([0x6d,0x6f,0x64,0x65,0x6c]));}());}(_0x344c0b);}class SuggestionController extends/* #__PURE__ -- @preserve */
ckeditor5['ObservableMixin'](){['model'];['view'];['commentThreadController'];['_editor'];['_acceptCommand'];['_discardCommand'];['_pendingAction'];constructor(_0x3af15f,_0x22a7c7,_0x332c21,_0xe788a0){super(),this['model']=_0x22a7c7,this['view']=_0x332c21,this['commentThreadController']=_0xe788a0,this['_editor']=_0x3af15f,this['_acceptCommand']=_0x3af15f['commands']['get']('acceptSuggestion'),this['_discardCommand']=_0x3af15f['commands']['get']('discardSuggestion'),this['view']['bind']('isEnabled')['to'](this['_acceptCommand'],this['_discardCommand'],(_0x4527e9,_0x20a493)=>_0x4527e9||_0x20a493),this['view']['bind']('canAccept')['to'](this['_acceptCommand'],'isEnabled',_0x3de484=>_0x3de484&&this['_editor']['model']['canEditAt'](_0x22a7c7['getRanges']())),this['view']['bind']('canDiscard')['to'](this['_discardCommand'],'isEnabled',_0x48760e=>_0x48760e&&this['_editor']['model']['canEditAt'](_0x22a7c7['getRanges']())),this['_pendingAction']=null,_0x332c21['isDirty']&&this['_setPendingAction'](),this['listenTo'](_0x332c21,'acceptSuggestion',()=>this['acceptSuggestion']()),this['listenTo'](_0x332c21,'discardSuggestion',()=>this['discardSuggestion']()),this['listenTo'](_0x332c21,'change:isDirty',()=>{_0x332c21['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 _0x2160f1=getTranslation$1(this['_editor']['locale'],'PENDING_ACTION_SUGGESTION');this['_pendingAction']=this['_editor']['plugins']['get']('PendingActions')['add'](_0x2160f1);}['_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(_0x14888c,_0x28ff8a,_0x2fc1e8,_0x19abc3){super(_0x14888c),this['commentsListView']=null,this['commentThreadInputView']=null,this['ariaDescriptionView']=new AriaDescriptionView(_0x14888c,getTranslation$1(_0x14888c,'SUGGESTION_THREAD_DESCRIPTION')),this['set']('isActive',!0x1),this['set']('authoredAt',_0x28ff8a['authoredAt']),this['bind']('authoredAt')['to'](_0x28ff8a),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',_0x28ff8a,'authoredAt',this,'descriptionParts',(_0x4ad870,_0x88b970,_0x49bd07)=>{const _0x71c8f9=_0x49bd07['map'](_0x4ef00c=>renderDescription(_0x4ef00c['content']))['join']('.\x20')+'.';return getTranslation$1(this['locale'],'SUGGESTION_THREAD_ARIA_LABEL',[_0x4ad870-0x1,_0x28ff8a['author']['name'],_0x88b970?_0x19abc3['formatDateTime'](_0x88b970):'',new DOMParser()['parseFromString'](_0x71c8f9,'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':_0x1c4cdd=>_0x1c4cdd['target']!==this['element']},'actions':{'focusPrevious':'shift+tab','focusNext':'tab'}}),this['_model']=_0x28ff8a,this['_localUser']=_0x2fc1e8,this['_config']=_0x19abc3,_0x19abc3['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:_0x2ff6af}=this['_config'];this['commentsListView']=new _0x2ff6af(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',_0x9bbe9c=>_0x9bbe9c+0x1),this['commentThreadInputView']=this['_createCommentThreadInputView'](),this['on']('removeComment',()=>this['focus']()),this['bind']('isDirty')['to'](this['commentsListView'],'hasDirtyComment',this['commentThreadInputView']['commentInputView'],'value',(_0xea785c,_0x2bf4df)=>_0xea785c||!!_0x2bf4df);}['_createCommentThreadInputView'](){const {CommentThreadInputView:_0x1d3873}=this['_config'],_0x142431=new _0x1d3873(this['locale'],this['_localUser'],this['_config']['editorConfig']),_0x498a50=_0x142431['commentInputView'];return _0x142431['bind']('showInput')['to'](this,'isActive',this['_model']['commentThread'],'isReadOnly',_0x498a50,'value',(_0x3eb3eb,_0x5a0c15,_0x5ee16f)=>!!_0x5ee16f||_0x3eb3eb&&!_0x5a0c15),_0x498a50['on']('submit',(_0xe3553d,_0x1e2d69)=>{this['fire']('addComment',_0x1e2d69),_0x498a50['editor']['setData']('');}),_0x498a50['on']('cancel',()=>this['focus']()),_0x498a50['bind']('disabledSubmit')['to'](this['_model']['commentThread'],'isReadOnly'),_0x142431;}}class SuggestionThreadView extends BaseSuggestionThreadView{['suggestionView'];['_descriptionElement'];constructor(_0x2fff82,_0x27c190,_0x40e439,_0x5701e6){super(_0x2fff82,_0x27c190,_0x40e439,_0x5701e6),this['set']('type',''),this['bind']('type')['to'](this,'descriptionParts',_0x39aff4=>_0x39aff4&&_0x39aff4[0x0]?_0x39aff4[0x0]['type']:''),this['bind']('description')['to'](this,'descriptionParts',this,'isActive',(_0x11ac63,_0x295586)=>{let _0x89cede='';for(const _0x1ef2ce of _0x11ac63)_0x89cede+='<p>'+renderDescription(_0x1ef2ce['content'],_0x1ef2ce['color'])+'</p>';return _0x295586?_0x89cede:trimHtml(_0x89cede,{'limit':0x8c});}),this['_descriptionElement']=null,this['suggestionView']=new _0x5701e6['SuggestionView'](_0x2fff82,_0x27c190,{'formatDateTime':_0x5701e6['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 _0x309c94=this['bindTemplate'],_0x2f57e6=[this['suggestionView']];this['commentsListView']&&_0x2f57e6['push'](this['commentsListView']),this['commentThreadInputView']&&_0x2f57e6['push'](this['commentThreadInputView']),_0x2f57e6['push'](this['ariaDescriptionView']);const _0x424842={'tag':'div','attributes':{'class':['ck','ck-rounded-corners','ck-suggestion-wrapper',_0x309c94['if']('isActive','ck-suggestion-wrapper--active'),_0x309c94['to']('type',_0x5ec9c5=>'ck-suggestion-'+_0x5ec9c5),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':_0x309c94['to']('ariaLabel'),'aria-describedby':this['ariaDescriptionView']['id']},'children':_0x2f57e6};return _0x424842;}['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(_0x2fbc85,_0x37698c,_0x279f81){super(_0x2fbc85),this['_model']=_0x37698c,this['_config']=_0x279f81,this['set']('description',''),this['bind']('authoredAt')['to'](_0x37698c),this['acceptButton']=this['_createButton'](getTranslation$1(_0x2fbc85,'Accept\x20suggestion'),ckeditor5['IconCheck'],'ck-suggestion--accept','acceptSuggestion','sw'),this['discardButton']=this['_createButton'](getTranslation$1(_0x2fbc85,'Discard\x20suggestion'),ckeditor5['IconCancel'],'ck-suggestion--discard','discardSuggestion','sw'),this['userView']=new _0x278fab(_0x2fbc85,_0x37698c['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':_0x977519=>_0x977519['target']!==this['element']}}),this['setTemplate'](this['getTemplate']());}['render'](){super['render']();const _0x527764=this['element']['querySelector']('.ck-annotation__content-wrapper');_0x527764['innerHTML']=this['description'],this['on']('change:description',(_0x3cffc2,_0x535123,_0x22b16c)=>{_0x527764['innerHTML']=_0x22b16c;}),this['_setupKeyboardNavigation']();}['getTemplate'](){const _0x2a184e=this['bindTemplate'],_0x41a7d1=[{'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':_0x2a184e['to']('authoredAt'),'class':['ck-comment__info-time','ck-annotation__info-time']},'children':[{'text':_0x2a184e['to']('authoredAt',_0x57a8b=>this['_config']['formatDateTime'](_0x57a8b))}]}]},{'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']&&_0x41a7d1['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':_0x41a7d1}]};}['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'](_0x174a3c,_0x3ece03,_0x4d5651,_0x1b4db9,_0x1b7ab7){const _0x45e37f=new LateFocusButtonView(this['locale']);return _0x45e37f['set']({'label':_0x174a3c,'icon':_0x3ece03,'tooltip':!0x0,'tooltipPosition':_0x1b7ab7}),_0x45e37f['extendTemplate']({'attributes':{'class':_0x4d5651}}),_0x45e37f['on']('execute',()=>{this['fire'](_0x1b4db9,this['_model']['id']);}),_0x45e37f;}['_setupKeyboardNavigation'](){const _0x5885ce=this['element'];this['keystrokes']['listenTo'](_0x5885ce);for(const _0x312a86 of this['focusables'])this['focusTracker']['add'](_0x312a86['element']),this['keystrokes']['listenTo'](_0x312a86['element']);this['keystrokes']['set']('enter',(_0xf948ae,_0x20724d)=>{_0x5885ce===_0xf948ae['target']&&(this['focusCycler']['focusFirst'](),_0x20724d());}),this['keystrokes']['set']('esc',(_0x4b0b13,_0x550f12)=>{_0x5885ce!==_0x4b0b13['target']&&(this['focus'](),_0x550f12());});}}class _0x2c7e15 extends ckeditor5['Plugin']{['licenseKey'];['_licenseKeyCheckInterval'];['_suggestionToController'];['_viewToController'];['_annotationViews'];['_handleControllerBuffer'];['_disableComments'];static get['requires'](){return[TrackChangesEditing,_0x38ef77,'CommentsRepository','Annotations','EditorAnnotations'];}static get['pluginName'](){return'TrackChangesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x20d573){super(_0x20d573),this['_suggestionToController']=new Map(),this['_viewToController']=new Map(),this['_annotationViews']=new Map(),this['_handleControllerBuffer']=new Map();const _0x53d4d9=this['editor']['config'];_0x53d4d9['define']('trackChanges.SuggestionThreadView',SuggestionThreadView),_0x53d4d9['define']('trackChanges.SuggestionView',SuggestionView),_0x53d4d9['define']('trackChanges.disableComments',!0x1),this['_disableComments']=_0x53d4d9['get']('trackChanges.disableComments');}['_handleSuggestionControllerDelayed'](_0x5da7c4,_0x3eb83f){0x0===this['_handleControllerBuffer']['size']&&setTimeout(()=>{for(const [_0x57e051,_0x87b8d3]of this['_handleControllerBuffer']){const _0x59d90d=this['_suggestionToController']['has'](_0x57e051);_0x59d90d||_0x87b8d3?_0x59d90d&&_0x87b8d3&&this['_destroyController'](_0x57e051):this['_initializeController'](_0x57e051);}this['_handleControllerBuffer']['clear'](),this['editor']['plugins']['get']('EditorAnnotations')['refreshSelectedViews'](),this['_refreshActiveMarkers']();},0xa),this['_handleControllerBuffer']['set'](_0x5da7c4,_0x3eb83f);}['init'](){const _0x3431fd=this['editor'],_0x3ce696=_0x3431fd['plugins']['get']('TrackChangesEditing'),_0x1628e0=_0x3431fd['plugins']['get']('Annotations'),_0x33001a=_0x3431fd['plugins']['get']('EditorAnnotations'),_0x188cb0=_0x3431fd['plugins']['get']('CommentsRepository');this['_addUIComponentsToFactory'](),_0x33001a['addSourceCollector'](()=>{const _0x597011=[];for(const [_0x3bbbe1,_0x24d57b]of Array['from'](this['_suggestionToController'])){const _0x10867d=_0x3bbbe1['getAllAdjacentSuggestions'](),_0x1b9a7a=[];for(const _0x3b6aad of _0x10867d){if(!_0x3b6aad['isInContent'])continue;if(_0x3b6aad['isMultiRange']){_0x1b9a7a['push'](..._0x3b6aad['getRanges']());continue;}const _0x167662=_0x3b6aad['getFirstRange']();if(_0x1b9a7a['length']>0x0){const _0x1e1728=_0x1b9a7a[0x0]['getJoined'](_0x167662);if(_0x1e1728){_0x1b9a7a[0x0]=_0x1e1728;continue;}}_0x1b9a7a['push'](_0x167662);}_0x597011['push']([_0x24d57b['view'],_0x1b9a7a]);}return _0x597011;}),this['listenTo'](_0x3ce696,'suggestionLoaded',(_0x2b6dd0,_0x53e4c8)=>{this['listenTo'](_0x53e4c8,'change:previous',(_0x48a8ef,_0x4343da,_0x268fad,_0x24bda3)=>{_0x53e4c8['isInContent']&&(null==_0x268fad?(this['_updateController'](_0x24bda3['head']),this['_handleSuggestionControllerDelayed'](_0x53e4c8,!0x1)):(this['_updateController'](_0x268fad['head']),null==_0x24bda3&&this['_handleSuggestionControllerDelayed'](_0x53e4c8,!0x0)));}),null!==_0x53e4c8['previous']?this['_updateController'](_0x53e4c8['head']):this['_handleSuggestionControllerDelayed'](_0x53e4c8,!0x1);}),this['listenTo'](_0x3ce696,'suggestionUnloaded',(_0x2c62de,_0x550b0f,_0x59eee0)=>{this['stopListening'](_0x550b0f,'change:previous'),this['_handleControllerBuffer']['delete'](_0x550b0f),this['_suggestionToController']['has'](_0x550b0f)&&this['_destroyController'](_0x550b0f),_0x59eee0&&this['_updateController'](_0x59eee0['head']);}),this['listenTo'](_0x3ce696,'suggestionChanged',(_0x3e6140,_0x58931b)=>{this['_updateController'](_0x58931b);}),this['listenTo'](_0x1628e0,'change:activeAnnotations',()=>{this['_refreshActiveMarkers']();}),this['listenTo'](_0x188cb0,'addComment',(_0x1ac05f,{threadId:_0x7068e3,isFromAdapter:_0x57047d})=>{if(_0x57047d||!_0x3ce696['hasSuggestion'](_0x7068e3))return;const _0x1b8be4=_0x3ce696['getSuggestion'](_0x7068e3);this['_suggestionToController']['get'](_0x1b8be4)['view']['commentsListView']['focus'](-0x1);},{'priority':'lowest'}),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x5c56e6=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x45d40e;for(const _0x31ed92 in _0x5c56e6){const _0x3efd51=_0x31ed92,_0x591ce0=_0x5c56e6[_0x3efd51];if('trackChangesLicenseKeyValid'==_0x591ce0||'trackChangesLicenseKeyInvalid'==_0x591ce0||'trackChangesLicenseKeyExpired'==_0x591ce0||'trackChangesLicenseKeyDomainLimit'==_0x591ce0||'trackChangesLicenseKeyNotAllowed'==_0x591ce0||'trackChangesLicenseKeyEvaluationLimit'==_0x591ce0||'trackChangesLicenseKeyTrialLimit'==_0x591ce0||'trackChangesLicenseKeyUsageLimit'==_0x591ce0){delete _0x5c56e6[_0x3efd51],_0x45d40e=_0x591ce0,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'trackChangesLicenseKeyInvalid'==_0x45d40e&&_0x5c56e6['_showLicenseError']('invalid'),'trackChangesLicenseKeyExpired'==_0x45d40e&&_0x5c56e6['_showLicenseError']('expired'),'trackChangesLicenseKeyDomainLimit'==_0x45d40e&&_0x5c56e6['_showLicenseError']('domainLimit'),'trackChangesLicenseKeyNotAllowed'==_0x45d40e&&_0x5c56e6['_showLicenseError']('featureNotAllowed','TrackChanges'),'trackChangesLicenseKeyEvaluationLimit'==_0x45d40e&&_0x5c56e6['_showLicenseError']('evaluationLimit'),'trackChangesLicenseKeyTrialLimit'==_0x45d40e&&_0x5c56e6['_showLicenseError']('trialLimit'),'trackChangesLicenseKeyUsageLimit'==_0x45d40e&&_0x5c56e6['_showLicenseError']('usageLimit');},0x3e8);}['getAnnotationForSuggestion'](_0x2fe73c){const _0x5b095e=this['_suggestionToController']['get'](_0x2fe73c);if(!_0x5b095e)return null;return this['editor']['plugins']['get']('Annotations')['getByInnerView'](_0x5b095e['view'])||null;}['getSuggestionForAnnotation'](_0x4b83a1){const _0x4bf867=this['_viewToController']['get'](_0x4b83a1['innerView']);return _0x4bf867?_0x4bf867['model']:null;}['_refreshActiveMarkers'](){const _0x576f67=this['editor']['plugins']['get']('Annotations'),_0x251a12=this['editor']['plugins']['get']('TrackChangesEditing'),_0x2a24d3=Array['from'](_0x576f67['activeAnnotations'],_0x46ea7a=>_0x46ea7a['innerView'])['filter'](_0xaee943=>this['_viewToController']['has'](_0xaee943)),_0x145191=[];for(const _0xfb710f of _0x2a24d3){const _0x34c3bf=this['_viewToController']['get'](_0xfb710f)['model']['getAllAdjacentSuggestions']();_0x145191['push'](..._0x34c3bf['reduce']((_0x369aad,_0x16b15e)=>[..._0x369aad,..._0x16b15e['getMarkerNames']()],[]));}_0x251a12['activeMarkers']=_0x145191;}['_addUIComponentsToFactory'](){const _0x19b8d4=this['editor'],_0x5f3a09=_0x19b8d4['locale'],_0x114625=getTranslation$1(_0x5f3a09,'Track\x20changes'),_0x28c9f7=new ckeditor5['Collection']([{'type':'switchbutton','model':new ckeditor5['UIModel']({'withText':!0x0,'isToggleable':!0x0,'label':_0x114625,'commandName':'trackChanges','role':'menuitemcheckbox'})},{'type':'separator'},{'type':'button','model':new ckeditor5['UIModel']({'withText':!0x0,'label':getTranslation$1(_0x5f3a09,'Accept\x20all\x20suggestions'),'commandName':'acceptAllSuggestions','role':'menuitem'})},{'type':'button','model':new ckeditor5['UIModel']({'withText':!0x0,'label':getTranslation$1(_0x5f3a09,'Accept\x20all\x20selected\x20suggestions'),'commandName':'acceptSelectedSuggestions','role':'menuitem'})},{'type':'button','model':new ckeditor5['UIModel']({'withText':!0x0,'label':getTranslation$1(_0x5f3a09,'Discard\x20all\x20suggestions'),'commandName':'discardAllSuggestions','role':'menuitem'})},{'type':'button','model':new ckeditor5['UIModel']({'withText':!0x0,'label':getTranslation$1(_0x5f3a09,'Discard\x20all\x20selected\x20suggestions'),'commandName':'discardSelectedSuggestions','role':'menuitem'})}]);_0x19b8d4['plugins']['has']('TrackChangesPreview')&&_0x28c9f7['addMany']([{'type':'separator'},{'type':'button','model':new ckeditor5['UIModel']({'withText':!0x0,'label':getTranslation$1(_0x5f3a09,'Preview\x20final\x20content'),'commandName':'previewFinalContent','role':'menuitem'})}]);for(const _0x2152b9 of _0x28c9f7)if(isListDropdownButtonDefinition(_0x2152b9)){const _0xf67fbc=_0x19b8d4['commands']['get'](_0x2152b9['model']['commandName']);_0x2152b9['model']['bind']('isOn','isEnabled')['to'](_0xf67fbc,'value','isEnabled');}_0x19b8d4['ui']['componentFactory']['add']('trackChanges',_0xc60916=>this['_createToolbarButton'](_0xc60916,_0x28c9f7,_0x114625)),_0x19b8d4['ui']['componentFactory']['add']('menuBar:trackChanges',_0x79a9e0=>this['_createMenuBarMenu'](_0x79a9e0,_0x28c9f7,_0x114625));}['_createToolbarButton'](_0x12fd62,_0x676ba3,_0x480c02){const _0x4902c8=ckeditor5['createDropdown'](_0x12fd62,ckeditor5['SplitButtonView']),_0x96c45a=this['editor']['commands']['get']('trackChanges');_0x4902c8['buttonView']['set']({'tooltip':_0x480c02,'label':_0x480c02,'icon':ckeditor5['IconTrackChanges']}),_0x4902c8['buttonView']['bind']('isOn')['to'](_0x96c45a,'value'),_0x4902c8['buttonView']['on']('execute',()=>{_0x96c45a['execute'](),this['editor']['editing']['view']['focus']();}),ckeditor5['addListToDropdown'](_0x4902c8,_0x676ba3,{'role':'menu'});const _0x5809d6=[];for(const _0xfd43dc of _0x676ba3)isListDropdownButtonDefinition(_0xfd43dc)&&_0x5809d6['push'](this['editor']['commands']['get'](_0xfd43dc['model']['commandName']));const _0x380c0c=_0x4902c8['buttonView'];return _0x380c0c['actionView']['unbind']('isEnabled'),_0x380c0c['arrowView']['unbind']('isEnabled'),_0x380c0c['actionView']['bind']('isEnabled')['to'](_0x96c45a,'isEnabled'),_0x380c0c['arrowView']['bind']('isEnabled')['toMany'](_0x5809d6,'isEnabled',(..._0x42175d)=>_0x42175d['some'](_0x4d94c1=>_0x4d94c1)),_0x4902c8['on']('execute',_0x18d540=>{this['editor']['execute'](_0x18d540['source']['commandName']),this['editor']['editing']['view']['focus']();}),_0x4902c8;}['_createMenuBarMenu'](_0x221f56,_0x2c8336,_0x40fb52){const _0x187220=new ckeditor5['MenuBarMenuView'](_0x221f56),_0x5274eb=this['editor']['commands']['get']('trackChanges');_0x187220['buttonView']['set']({'label':_0x40fb52,'icon':ckeditor5['IconTrackChanges']});const _0x253847=new ckeditor5['MenuBarMenuListView'](_0x221f56);for(const _0x2deb38 of _0x2c8336){if('separator'==_0x2deb38['type']){_0x253847['items']['add'](new ckeditor5['ListSeparatorView'](_0x221f56));continue;}const _0x3dd28e=new ckeditor5['MenuBarMenuListItemView'](_0x221f56,_0x187220),_0x28ada5=new ckeditor5['MenuBarMenuListItemButtonView'](_0x221f56),_0x4c5c15=_0x2deb38['model'];_0x28ada5['bind'](...Object['keys'](_0x4c5c15))['to'](_0x4c5c15),_0x28ada5['delegate']('execute')['to'](_0x187220),_0x28ada5['on']('execute',()=>{this['editor']['execute'](_0x4c5c15['commandName']),this['editor']['editing']['view']['focus']();}),_0x3dd28e['children']['add'](_0x28ada5),_0x253847['items']['add'](_0x3dd28e);}return _0x187220['bind']('isEnabled')['to'](_0x5274eb,'isEnabled'),_0x187220['panelView']['children']['add'](_0x253847),_0x187220;}['_initializeController'](_0x52e011){const _0x27b74d=this['editor'],_0x23a2c5=_0x27b74d['config'],_0x5508c6=_0x27b74d['plugins']['get']('Annotations'),_0x521d21=_0x27b74d['plugins']['get']('CommentsRepository'),_0x357af0=_0x27b74d['plugins']['get']('EditorAnnotations'),_0x2afb40=_0x27b74d['plugins']['get'](_0x38ef77)['me'],_0x2e0cde=_0x23a2c5['get']('trackChanges')['SuggestionThreadView'],_0x5537c9=_0x23a2c5['get']('trackChanges')['SuggestionView'],{CommentsListView:_0x4a2ca0,CommentThreadInputView:_0x16a52b}=_0x27b74d['plugins']['get']('CommentsUI');let _0x484e91,_0x24268d,_0x1d3365;this['_annotationViews']['has'](_0x52e011['id'])?(_0x24268d=this['_annotationViews']['get'](_0x52e011['id']),_0x484e91=_0x24268d['mainView']):(_0x484e91=new _0x2e0cde(_0x27b74d['locale'],_0x52e011,_0x2afb40,{'disableComments':this['_disableComments'],'editorConfig':{..._0x23a2c5['get']('comments.editorConfig'),'licenseKey':_0x23a2c5['get']('licenseKey')},'maxCommentsWhenCollapsed':_0x23a2c5['get']('comments.maxCommentsWhenCollapsed'),'maxThreadTotalWeight':_0x23a2c5['get']('comments.maxThreadTotalWeight'),'maxCommentCharsWhenCollapsed':_0x23a2c5['get']('comments.maxCommentCharsWhenCollapsed'),'formatDateTime':getDateTimeFormatter(_0x23a2c5['get']('locale'),_0x27b74d['locale']),'CommentView':_0x23a2c5['get']('comments')['CommentView'],'CommentsListView':_0x4a2ca0,'CommentThreadInputView':_0x16a52b,'SuggestionView':_0x5537c9}),_0x484e91['suggestionView']['acceptButton']['on']('execute',()=>{_0x27b74d['editing']['view']['focus']();}),_0x484e91['suggestionView']['discardButton']['on']('execute',()=>{_0x27b74d['editing']['view']['focus']();}),_0x24268d=_0x5508c6['createAnnotationView'](this['editor']['locale'],_0x484e91),_0x24268d['bind']('isDirty')['to'](_0x484e91,'isDirty'),_0x24268d['bind']('length')['to'](_0x484e91),_0x24268d['bind']('type')['to'](_0x484e91,'type',_0x56aae3=>'suggestion-'+_0x56aae3),_0x484e91['on']('escape',()=>{_0x1d3365['fire']('escape');}),this['_annotationViews']['set'](_0x52e011['id'],_0x24268d));const _0xe59170=_0x521d21['createCommentThreadController'](_0x52e011['commentThread'],_0x484e91),_0x244665=new SuggestionController(_0x27b74d,_0x52e011,_0x484e91,_0xe59170),_0x185a34=_0x52e011['getAllAdjacentSuggestions']()['filter'](_0x408a17=>_0x408a17['isInContent']);_0x484e91['descriptionParts']=_0x27b74d['plugins']['get']('TrackChangesEditing')['descriptionFactory']['getDescriptions'](_0x185a34),this['_suggestionToController']['set'](_0x52e011,_0x244665),this['_viewToController']['set'](_0x484e91,_0x244665);const _0x1aa2e2=()=>{const _0x36e0b9=[],_0x283c6f=_0x52e011['getAllAdjacentSuggestions']()['filter'](_0x185c00=>_0x185c00['isInContent']);for(const _0x55743c of _0x283c6f)_0x36e0b9['push'](..._0x55743c['getMarkers']());return getAllMarkersDomElementsSorted(_0x27b74d['editing'],_0x36e0b9);};_0x1d3365=_0x5508c6['createAnnotation']({'view':_0x24268d,'target':_0x1aa2e2,'type':()=>'suggestion-'+_0x244665['view']['type'],'isVisible':!!_0x1aa2e2()}),_0x521d21['_bindAnnotationToEditors'](_0x484e91,_0x1d3365),_0x5508c6['add'](_0x1d3365),_0x357af0['registerAnnotation'](_0x1d3365);}['_destroyController'](_0x1b8d00){const _0x5a13dc=this['editor']['plugins']['get']('CommentsRepository'),_0x3d6e9c=this['editor']['plugins']['get']('Annotations'),_0x203b75=this['_suggestionToController']['get'](_0x1b8d00),_0x5c06bd=_0x203b75['view'],_0x12930b=_0x3d6e9c['getByInnerView'](_0x5c06bd);_0x5a13dc['_unbindEditors'](_0x5c06bd),_0x12930b&&_0x3d6e9c['remove'](_0x12930b),this['_suggestionToController']['delete'](_0x1b8d00),this['_viewToController']['delete'](_0x5c06bd),_0x203b75['destroy']();}['_updateController'](_0x45b64b){if(!_0x45b64b['isInContent']||!this['_suggestionToController']['has'](_0x45b64b))return;const _0x2f1a69=this['editor']['plugins']['get']('TrackChangesEditing'),_0x5a3f2e=this['_suggestionToController']['get'](_0x45b64b),_0x3508a9=_0x45b64b['getAllAdjacentSuggestions']();_0x5a3f2e['view']['descriptionParts']=_0x2f1a69['descriptionFactory']['getDescriptions'](_0x3508a9);}['destroy'](){for(const _0x465030 of this['_suggestionToController']['keys']())this['_destroyController'](_0x465030);for(const _0x368a52 of this['_annotationViews']['values']())_0x368a52['mainView']['destroy']();super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function isListDropdownButtonDefinition(_0x2540cd){return'model'in _0x2540cd;}class _0x2ffeb4 extends ckeditor5['Plugin']{static get['requires'](){return[TrackChangesEditing,_0x2c7e15,'Comments'];}static get['pluginName'](){return'TrackChanges';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}set['adapter'](_0x46d72b){this['editor']['plugins']['get'](TrackChangesEditing)['adapter']=_0x46d72b;}get['adapter'](){return this['editor']['plugins']['get'](TrackChangesEditing)['adapter'];}['addSuggestion'](_0x18238c){return this['editor']['plugins']['get'](TrackChangesEditing)['addSuggestionData'](_0x18238c);}['getSuggestions']({skipNotAttached:_0x29370b=!0x1,toJSON:_0x5a72de=!0x1}={}){return this['editor']['plugins']['get'](TrackChangesEditing)['getSuggestions']({'skipNotAttached':_0x29370b,'toJSON':_0x5a72de});}['getSuggestion'](_0x21a447){return this['editor']['plugins']['get'](TrackChangesEditing)['getSuggestion'](_0x21a447);}}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 _0x2e729d=this['editor'];if(_0x2e729d['config']['define']('trackChangesData.editorCreator',_0x1b5aaf=>{const _0x52a841=_0x2e729d['model']['document']['getRootNames']()['reduce']((_0x549b23,_0x5dbe8b)=>(_0x549b23[_0x5dbe8b]='',_0x549b23),{});return _0x2e729d['constructor']['create'](_0x52a841,_0x1b5aaf);}),'function'!=typeof _0x2e729d['config']['get']('trackChangesData')['editorCreator'])throw new ckeditor5['CKEditorError']('track-changes-data-invalid-editor-creator');}['getDataWithAcceptedSuggestions'](_0xa8d281){return getTrackChangesData(this['editor'],!0x0,_0xa8d281);}['getDataWithDiscardedSuggestions'](_0x5516ac){return getTrackChangesData(this['editor'],!0x1,_0x5516ac);}}class TrackChangesDataGetter extends ckeditor5['Plugin']{['result'];static get['pluginName'](){return'TrackChangesDataGetter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x594529){function _0x10aa73(_0x4ebc48){return _0x4ebc48['map'](_0x2311c0=>String['fromCharCode'](_0x2311c0))['join']('');}super(_0x594529),this['result']='end',_0x594529[_0x10aa73([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x10aa73([0x76,0x69,0x65,0x77])][_0x10aa73([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x10aa73([0x61,0x75,0x74,0x6f]),_0x594529[_0x10aa73([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74])]=()=>window[_0x10aa73([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x10aa73([0x72,0x65,0x73,0x6f,0x6c,0x76,0x65])]({[_0x10aa73([0x73,0x74,0x61,0x74,0x75,0x73])]:_0x10aa73([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(_0x260da3){return void 0x0!==_0x260da3['getRootsAttributes'];}async function getTrackChangesData(_0x49861f,_0x59203d,_0x87407b){const _0x8b825c=sanitizeEditorConfig(_0x49861f,blackListedPlugins);_0x8b825c['plugins']['push'](TrackChangesEditing,TrackChangesDataGetter),_0x8b825c['rootsAttributes']=isMultiRootEditor$1(_0x49861f)?_0x49861f['getRootsAttributes']():void 0x0;const _0x544cd6=document['createDocumentFragment'](),_0x4a6914=_0x49861f['config']['get']('trackChangesData')['editorCreator'],_0x2356fb=await _0x4a6914(_0x8b825c,()=>createAttachedElement(_0x544cd6));copyEditorData(_0x49861f,_0x2356fb),_0x2356fb['execute'](_0x59203d?'acceptAllSuggestions':'discardAllSuggestions');const _0x26bb7f=isMultiRootEditor$1(_0x2356fb)?_0x2356fb['getFullData'](_0x87407b):_0x2356fb['data']['get'](_0x87407b);return await _0x2356fb['destroy'](),_0x26bb7f;}function copyEditorData(_0x14aba9,_0x49628d){const _0x1a3ac7=_0x14aba9['model']['document']['getRootNames']()['reduce']((_0x2ed5df,_0x13a7b3)=>(_0x2ed5df[_0x13a7b3]=_0x14aba9['data']['get']({'rootName':_0x13a7b3}),_0x2ed5df),{}),_0x1d3f18=_0x14aba9['plugins']['get']('Users')['users']['map'](_0x445157=>({'id':_0x445157['id'],'name':_0x445157['name']})),_0x255072=_0x14aba9['plugins']['get']('TrackChangesEditing')['getSuggestions']({'skipNotAttached':!0x0,'toJSON':!0x0}),_0x58248e=_0x14aba9['plugins']['get']('CommentsRepository')['getCommentThreads']({'skipNotAttached':!0x0,'toJSON':!0x0}),_0x349b8d=_0x49628d['plugins']['get']('Users'),_0x457dbf=_0x49628d['plugins']['get']('TrackChangesEditing'),_0x1b8121=_0x49628d['plugins']['get']('CommentsRepository');for(const _0x282aa7 of _0x1b8121['getCommentThreads']())_0x282aa7['remove']();for(const _0x4b7c4b of _0x1d3f18)_0x349b8d['getUser'](_0x4b7c4b['id'])||_0x349b8d['addUser'](_0x4b7c4b);_0x349b8d['me']||_0x349b8d['useAnonymousUser']();for(const _0x54babf of _0x58248e)_0x1b8121['addCommentThread'](_0x54babf);for(const _0x40a56c of _0x255072)_0x457dbf['addSuggestionData'](_0x40a56c);_0x49628d['data']['set'](_0x1a3ac7);}function createAttachedElement(_0x2de980){const _0x398fd2=document['createElement']('div');return _0x2de980['appendChild'](_0x398fd2),_0x398fd2;}class _0x336e02 extends ckeditor5['View']{['options'];constructor(_0x2b6b04,_0x12c042){super(_0x2b6b04),this['options']=_0x12c042,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'](_0x4f9ae8,_0x2442fd){if(!this['element'])return;const _0x17a894=[];for(const [_0x2badda,_0x3d91fd]of _0x4f9ae8){const _0x1b2338=document['createElement']('div');_0x1b2338['setAttribute']('data-ck-root-name',_0x2badda),_0x1b2338['className']=_0x3d91fd['classes']+'\x20ck-track-changes-preview__root-container',_0x1b2338['innerHTML']=_0x3d91fd['content'],_0x17a894['push'](_0x1b2338);}_0x2442fd(this['element'],_0x17a894),this['element']['style']['height']='',this['fire']('previewDataReady');}['focus'](){this['element']['focus']();}}class PreviewFinalContentCommand extends ckeditor5['Command']{constructor(_0x23f138){super(_0x23f138),this['affectsData']=!0x1,this['isEnabled']=!0x0;}['refresh'](){this['isEnabled']=!0x0;}['execute'](){const _0x4148ba=this['editor'],_0x2e467f=_0x4148ba['locale'],_0x3cd556=_0x4148ba['plugins']['get']('Dialog');let _0x11b234;const _0x345ff3=getEditables(_0x4148ba),_0x598742=calculateDialogRects(_0x345ff3);_0x3cd556['show']({'id':'finalContentPreview','title':getTranslation$1(_0x2e467f,'Final\x20content\x20preview'),'isModal':!0x0,'className':'ck-track-changes-preview-dialog','content':new _0x336e02(_0x2e467f,{'dialogRects':_0x598742}),'onHide':()=>{_0x11b234['detachFromDom']();},'onShow':()=>{_0x4148ba['plugins']['get']('TrackChangesData')['getDataWithAcceptedSuggestions']({...this['_getMergeFieldsData']()})['then'](_0x32ffac=>{const _0x305e49=this['_standarizeRootsData'](_0x32ffac,_0x4148ba,_0x345ff3);_0x3cd556['view']['contentView']['children']['get'](0x0)['setPreviewData'](_0x305e49,_0x4148ba['config']['get']('trackChanges.preview.renderFunction'));}),_0x11b234=new ckeditor5['BodyCollection'](_0x2e467f,[_0x3cd556['view']]),_0x11b234['attachToDom'](),_0x11b234['bodyCollectionContainer']['classList']['remove']('ck-reset_all'),_0x4148ba['once']('destroy',()=>{_0x11b234['detachFromDom']();});const _0x32f912=_0x3cd556['view']['headerView']['class'];_0x3cd556['view']['headerView']['class']=_0x32f912?_0x32f912+'\x20ck-reset_all':'ck-reset_all',_0x3cd556['view']['contentView']['children']['get'](0x0)['on']('previewDataReady',()=>{_0x3cd556['view']['updatePosition']();});}});}['_getMergeFieldsData'](){if(!this['editor']['plugins']['has']('MergeFieldsEditing'))return{};const _0x267a50=this['editor']['plugins']['get']('MergeFieldsEditing'),_0x23dcd8=_0x267a50['previewMode'],_0x485a9b={};if('$labels'===_0x23dcd8){for(const _0x5c339d of _0x267a50['getMergeFieldsIds']())_0x485a9b[_0x5c339d]=_0x267a50['getLabel'](_0x5c339d)||_0x5c339d;}else{const _0x450479='$defaultValues'===_0x23dcd8?_0x267a50['getDefaultValues']():_0x267a50['getDataSetValues'](_0x23dcd8,!0x0);for(const _0x5ac7f5 of Object['entries'](_0x450479)){const [_0x4f13a6,_0x2e051b]=_0x5ac7f5;_0x485a9b[_0x4f13a6]=null!==_0x2e051b?_0x2e051b:_0x267a50['getLabel'](_0x4f13a6)||_0x4f13a6;}}return{'mergeFieldsData':_0x485a9b};}['_standarizeRootsData'](_0x256dd8,_0x5d0184,_0x10b977){let _0x5e5ad5;if('string'==typeof _0x256dd8){const _0x1b6f2a=_0x5d0184['model']['document']['getRootNames']()[0x0];_0x5e5ad5={[_0x1b6f2a]:_0x256dd8};}else _0x5e5ad5=_0x256dd8;const _0x496db3=this['_fixMediaEmbeds'](_0x5e5ad5,_0x5d0184);return addEditableClasses(this['_sortRoots'](_0x5d0184)['reduce']((_0x1c9d96,_0x143993)=>(_0x1c9d96['push']([_0x143993,{'content':_0x496db3[_0x143993],'classes':''}]),_0x1c9d96),[]),_0x10b977);}['_fixMediaEmbeds'](_0x4a40b8,_0x2691e4){if(!_0x2691e4['plugins']['has']('MediaEmbedEditing'))return _0x4a40b8;const _0x41c45f=_0x2691e4['plugins']['get']('MediaEmbedEditing');for(const [_0x10445a,_0x1e2a9f]of Object['entries'](_0x4a40b8)){const _0x38e1f3=document['createElement']('div');_0x38e1f3['innerHTML']=_0x1e2a9f,(_0x38e1f3['querySelectorAll']('figure.media')['forEach'](_0xbe6d20=>{const _0x3a9e71=_0xbe6d20['querySelector']('oembed');if(_0x3a9e71){const _0x3bfb98=_0x3a9e71['getAttribute']('url');if(_0x3bfb98){const _0x405331=_0x41c45f['registry']['getMediaViewElement'](new ckeditor5['ViewDowncastWriter'](_0x2691e4['editing']['view']['document']),_0x3bfb98,{'elementName':'','renderForEditingView':!0x0}),_0x29ffe6=document['createElement']('div');_0x29ffe6['classList']['add']('ck-media__wrapper'),_0x405331['render'](_0x29ffe6,_0x2691e4['editing']['view']['domConverter']),_0x3a9e71['replaceWith'](_0x29ffe6);}}}),_0x4a40b8[_0x10445a]=_0x38e1f3['innerHTML']);}return _0x4a40b8;}['_sortRoots'](_0x459912){if(!isMultiRootEditor(_0x459912))return _0x459912['model']['document']['getRootNames']();const _0x418785=[],_0x5734d6=new Map();for(const _0x607f of _0x459912['model']['document']['getRootNames']()){const _0x34e763=_0x459912['editing']['view']['getDomRoot'](_0x607f)['getClientRects']()['item'](0x0);_0x418785['push'](_0x607f),_0x5734d6['set'](_0x607f,_0x34e763);}return _0x418785['sort']((_0xca9e27,_0x2706cd)=>{const _0x2f45b7=_0x5734d6['get'](_0xca9e27),_0x43c0a5=_0x5734d6['get'](_0x2706cd);return _0x2f45b7['y']-_0x43c0a5['y']||_0x2f45b7['x']-_0x43c0a5['x'];}),_0x418785;}}function getEditables(_0x3bfefd){const _0x36653c={};if('editables'in _0x3bfefd['ui']['view']){for(const [_0x5779cd,_0x9b51b9]of Object['entries'](_0x3bfefd['ui']['view']['editables']))_0x36653c[_0x5779cd]=_0x9b51b9['element'];}else _0x36653c[_0x3bfefd['model']['document']['getRootNames']()[0x0]]=_0x3bfefd['ui']['view']['editable']['element'];return _0x36653c;}function calculateDialogRects(_0x145ef4){let _0xd46468=0x0;for(const _0x9568c9 of Object['values'](_0x145ef4))_0xd46468=Math['max'](_0xd46468,_0x9568c9['getBoundingClientRect']()['width']);let _0x4f1374=0x0;for(const _0x23625c of Object['values'](_0x145ef4))_0x4f1374+=_0x23625c['getBoundingClientRect']()['height'];const _0x4c3a1f=0.8*Math['max'](document['documentElement']['clientHeight'],window['innerHeight']);return{'width':_0xd46468,'height':Math['min'](_0x4f1374,_0x4c3a1f)};}function addEditableClasses(_0x1db0f3,_0x50c6e6){for(const [_0x4e6e46,_0x4b8b89]of _0x1db0f3)_0x4b8b89['classes']=_0x50c6e6[_0x4e6e46]['classList']['value']['replace']('ck-focused','');return _0x1db0f3;}function isMultiRootEditor(_0x5e5ed0){return void 0x0!==_0x5e5ed0['getRootsAttributes'];}class _0x3b5300 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(_0x4bf712){super(_0x4bf712),_0x4bf712['commands']['add']('previewFinalContent',new PreviewFinalContentCommand(this['editor'])),_0x4bf712['config']['define']('trackChanges.preview.renderFunction',(_0x4a7193,_0x207f29)=>{for(const _0x1796fe of _0x207f29)_0x4a7193['appendChild'](_0x1796fe);});}}var _0x11bda3=function(_0x57df3b){return _0x57df3b['Local']='local',_0x57df3b['URL']='url',_0x57df3b['Dropbox']='dropbox',_0x57df3b['GDrive']='gdrive',_0x57df3b['Facebook']='facebook',_0x57df3b['GPhotos']='gphotos',_0x57df3b['OneDrive']='onedrive',_0x57df3b;}({});function getTranslation(_0x1328d9,_0x2590af,_0x1738b){const t=_0x1328d9['t'],_0x1bcc6d=_0x1328d9['t'];switch(_0x2590af){case _0x11bda3['Local']:return{'text':_0x1bcc6d('Insert'===_0x1738b?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x1bcc6d('From\x20computer')};case _0x11bda3['URL']:return{'text':'Insert'===_0x1738b?_0x1bcc6d('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x1bcc6d('Via\x20URL')};case _0x11bda3['Dropbox']:return{'text':t('Insert'===_0x1738b?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x11bda3['Facebook']:return{'text':t('Insert'===_0x1738b?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x11bda3['GDrive']:return{'text':t('Insert'===_0x1738b?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x11bda3['GPhotos']:return{'text':t('Insert'===_0x1738b?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x11bda3['OneDrive']:return{'text':t('Insert'===_0x1738b?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x2590af;}}class _0xa6954b 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 _0x19f258=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0xce19f7;for(const _0x32c4c1 in _0x19f258){const _0x3d5654=_0x32c4c1,_0x8cb0ba=_0x19f258[_0x3d5654];if('uploadcareLicenseKeyValid'==_0x8cb0ba||'uploadcareLicenseKeyInvalid'==_0x8cb0ba||'uploadcareLicenseKeyExpired'==_0x8cb0ba||'uploadcareLicenseKeyDomainLimit'==_0x8cb0ba||'uploadcareLicenseKeyNotAllowed'==_0x8cb0ba||'uploadcareLicenseKeyEvaluationLimit'==_0x8cb0ba||'uploadcareLicenseKeyTrialLimit'==_0x8cb0ba||'uploadcareLicenseKeyUsageLimit'==_0x8cb0ba){delete _0x19f258[_0x3d5654],_0xce19f7=_0x8cb0ba,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0xce19f7&&_0x19f258['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0xce19f7&&_0x19f258['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0xce19f7&&_0x19f258['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0xce19f7&&_0x19f258['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0xce19f7&&_0x19f258['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyTrialLimit'==_0xce19f7&&_0x19f258['_showLicenseError']('trialLimit'),'uploadcareLicenseKeyUsageLimit'==_0xce19f7&&_0x19f258['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x25cf14}=this,_0x256113=_0x25cf14['commands']['get']('uploadcare');if(!_0x256113)return;const _0x32cf75=this['_normalizeConfigSourceList'](_0x25cf14['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x563085,_0x5b4369)=>{const _0x5cdebe=this['_getIntegrationKey'](_0x5b4369['type']);return _0x563085[_0x5cdebe]||(_0x563085[_0x5cdebe]=[]),_0x563085[_0x5cdebe]['push'](_0x5b4369),_0x563085;},{});_0x25cf14['plugins']['has']('ImageInsertUI')&&_0x25cf14['commands']['get']('uploadcare')&&Object['entries'](_0x32cf75)['forEach'](([_0x2209a4,_0xfa858b])=>{_0x25cf14['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x2209a4,'observable':()=>_0x256113,'buttonViewCreator':()=>this['_createToolbarButton'](_0xfa858b),'formViewCreator':()=>this['_createDropdownButtons'](_0xfa858b),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0xfa858b),'override':'assetManager'!==_0x2209a4});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x1db3e1){const {locale:_0x1e8529}=this['editor'];return _0x1db3e1['map'](_0x321773=>{const _0xa15b5d=getTranslation(_0x1e8529,_0x321773,'Insert');switch(_0x321773){case _0x11bda3['Local']:return{'icon':ckeditor5['IconUploadcareImageUpload'],'type':_0x11bda3['Local'],..._0xa15b5d};case _0x11bda3['URL']:return{'icon':ckeditor5['IconUploadcareLink'],'type':_0x11bda3['URL'],..._0xa15b5d};case _0x11bda3['Dropbox']:return{'icon':ckeditor5['IconDropbox'],'type':_0x11bda3['Dropbox'],..._0xa15b5d};case _0x11bda3['Facebook']:return{'icon':ckeditor5['IconFacebook'],'type':_0x11bda3['Facebook'],..._0xa15b5d};case _0x11bda3['GDrive']:return{'icon':ckeditor5['IconGoogleDrive'],'type':_0x11bda3['GDrive'],..._0xa15b5d};case _0x11bda3['GPhotos']:return{'icon':ckeditor5['IconGooglePhotos'],'type':_0x11bda3['GPhotos'],..._0xa15b5d};case _0x11bda3['OneDrive']:return{'icon':ckeditor5['IconOneDrive'],'type':_0x11bda3['OneDrive'],..._0xa15b5d};}});}['_getIntegrationKey'](_0x1a15db){switch(_0x1a15db){case _0x11bda3['Local']:return'upload';case _0x11bda3['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x132e46,_0xd2cfed){const _0x115d43=this['editor'],_0x3c8197=new _0x132e46(_0x115d43['locale']),_0x139ae0=_0x115d43['commands']['get']('uploadcare');return _0x3c8197['bind']('isEnabled')['to'](_0x139ae0),_0x3c8197['on']('execute',()=>{_0x139ae0['execute'](_0xd2cfed);}),_0x3c8197;}['_createToolbarButton'](_0x13f1ce){const {locale:_0x3ca76a}=this['editor'],_0x175b1b=this['editor']['plugins']['get']('ImageInsertUI'),_0x172b13=_0x13f1ce[0x0],_0x2c9211=this['_createButton'](ckeditor5['ButtonView'],_0x172b13['type']);return _0x2c9211['icon']=_0x172b13['icon'],_0x2c9211['bind']('label')['to'](_0x175b1b,'isImageSelected',_0x2646d2=>getTranslation(_0x3ca76a,_0x172b13['type'],_0x2646d2?'Replace':'Insert')['text']),_0x2c9211['tooltip']=!0x0,_0x2c9211;}['_createDropdownButtons'](_0x35e6b5){const {locale:_0xcba83}=this['editor'],_0x3631e3=this['editor']['plugins']['get']('ImageInsertUI');return _0x35e6b5['map'](_0x4f280d=>{const _0xa7159d=this['_createButton'](ckeditor5['ButtonView'],_0x4f280d['type']);return _0xa7159d['withText']=!0x0,_0xa7159d['icon']=_0x4f280d['icon'],_0xa7159d['bind']('label')['to'](_0x3631e3,'isImageSelected',_0x1d1143=>getTranslation(_0xcba83,_0x4f280d['type'],_0x1d1143?'Replace':'Insert')['text']),_0xa7159d;});}['_createMenuBarButtons'](_0x1b848d){return _0x1b848d['map'](_0x48ae17=>{const _0x2ea50e=this['_createButton'](ckeditor5['MenuBarMenuListItemButtonView'],_0x48ae17['type']);return _0x2ea50e['icon']=_0x48ae17['icon'],_0x2ea50e['label']=_0x48ae17['shortText'],_0x2ea50e;});}}class _0x5bc21c extends ckeditor5['View']{['focusTracker'];['focusCycler'];constructor(_0x5ae0f6){super(_0x5ae0f6),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 _0x1ba02a extends _0x5bc21c{constructor(_0x552972,_0x1d5a1b){super(_0x552972),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-'+_0x1d5a1b}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}}function createEditabilityChecker(_0xeb9e47){const _0x228672=createUrlChecker(_0xeb9e47);return _0xf39ee6=>!(!_0xf39ee6||!_0xf39ee6['is']('element','imageBlock')&&!_0xf39ee6['is']('element','imageInline'))&&(!!_0xf39ee6['hasAttribute']('uploadcareImageId')||!!_0xf39ee6['hasAttribute']('src')&&_0x228672(_0xf39ee6['getAttribute']('src')));}function getImageUrls(_0x2cceef,_0x472798){const _0x52e79f=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x3383e2=>_0x3383e2<=_0x472798)['map'](_0x5df32e=>_0x2cceef['replace'](/\/$/,'')+'/-/resize/'+_0x5df32e+'x/\x20'+_0x5df32e+'w');return{'imageFallbackUrl':_0x2cceef,'imageSources':[{'srcset':_0x52e79f['join'](',\x20'),'sizes':'(max-width:\x20'+_0x472798+'px)\x20100vw,\x20'+_0x472798+'px','type':'image/webp'}]};}function getImageDimension(_0x569475,_0x44b139,_0x4eefe5){const _0x17dc76=_0x569475['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x17dc76?parseInt(_0x17dc76[0x1],0xa):_0x44b139,'height':_0x17dc76?parseInt(_0x17dc76[0x2],0xa):_0x4eefe5};}function showImageProcessingIndicator(_0x49dc35,_0xff1d7){const _0x2eb1f7=new(ckeditor5['DomEmitterMixin']())(),_0x401a00=_0x49dc35['plugins']['get']('ImageUtils'),_0x5bb4ac=_0x49dc35['editing']['mapper']['toViewElement'](_0xff1d7),_0x276fbf=_0x401a00['findViewImgElement'](_0x5bb4ac),_0x33f17c=_0x49dc35['editing']['view']['domConverter']['viewToDom'](_0x276fbf),_0x479443=_0xff1d7['getAttribute']('width'),_0xdd739c=_0xff1d7['getAttribute']('height'),_0x457705='image-processing';_0x49dc35['editing']['view']['change'](_0x6d0042=>{_0x6d0042['addClass'](_0x457705,_0x5bb4ac),_0x6d0042['setStyle']('aspect-ratio',_0x479443+'/'+_0xdd739c,_0x276fbf);}),_0x2eb1f7['listenTo'](_0x33f17c,'load',()=>{_0x2eb1f7['stopListening'](_0x33f17c,'load'),_0x49dc35['editing']['view']['change'](_0x5c92f3=>{_0x5c92f3['removeClass'](_0x457705,_0x5bb4ac),_0x5c92f3['removeStyle']('aspect-ratio',_0x276fbf);});});}function createUrlChecker(_0x131839){if(Array['isArray'](_0x131839)){const _0x28d74d=_0x131839['map'](createUrlChecker);return _0x5d7e8d=>_0x28d74d['some'](_0x1c86e3=>_0x1c86e3(_0x5d7e8d));}if('origin'==_0x131839){const _0x34859f=ckeditor5['global']['window']['location']['origin'];return _0x333c7b=>new URL(_0x333c7b,ckeditor5['global']['document']['baseURI'])['origin']==_0x34859f;}return'function'==typeof _0x131839?_0x131839:_0x131839 instanceof RegExp?_0x4deb72=>!(!_0x4deb72['match'](_0x131839)&&!_0x4deb72['replace'](/^https?:\/\//,'')['match'](_0x131839)):()=>!0x1;}function isAncestor(_0x40a38b,_0x44c570){return ckeditor5['getAncestors'](_0x40a38b['target'])['includes'](_0x44c570);}class UploadcareController extends/* #__PURE__ -- @preserve */
ckeditor5['ObservableMixin'](){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x32902a,_0x1de8ac,_0x31e69f){super(),this['_editor']=_0x32902a,this['_editing']=_0x1de8ac,this['_dialog']=_0x32902a['plugins']['get'](ckeditor5['Dialog']),this['_api']=_0x1de8ac['ctxElement']['getAPI'](),this['_type']=_0x31e69f,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:_0x156731,model:_0x2df2f6}=this['_editor'],_0x37a718=_0x2df2f6['document']['selection']['getSelectedElement'](),_0x4d8f49=_0x37a718&&(_0x37a718['is']('element','imageBlock')||_0x37a718['is']('element','imageInline'));this['_formView']=new _0x1ba02a(_0x156731,this['_editing']['ucContextId']),this['_dialog']['show']({'id':'uploadCare','icon':ckeditor5['IconUploadcareImageUpload'],'title':getTranslation(_0x156731,this['_type'],_0x4d8f49?'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':_0x590610=>!isAncestor(_0x590610,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x2f0158}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x451374=>{const _0x4ccfc7=_0x2f0158['length'];for(const _0x1c3e51 of _0x2f0158){const _0x216597=_0x1c3e51===_0x2f0158[_0x4ccfc7-0x1],{cdnUrl:_0xc2ed3b,fileInfo:_0x141b82}=_0x1c3e51;if(!_0xc2ed3b||!_0x141b82)continue;const {width:_0x58fc48,height:_0xc28a7d}=_0x141b82['imageInfo'],_0x4507c7=getImageDimension(_0xc2ed3b,_0x58fc48,_0xc28a7d),_0x5bb1f9=getImageUrls(_0xc2ed3b,_0x4507c7['width']),_0x53287d={'id':_0x141b82['uuid'],'type':'image','attributes':{'imageDimension':_0x4507c7,..._0x5bb1f9}};this['_insertAsset'](_0x53287d,_0x216597,_0x451374);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x4ec158=>{'idle'===_0x4ec158['detail']['status']&&!_0x4ec158['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===_0x11bda3['Local']?this['_api']['setCurrentActivity'](_0x11bda3['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0xd94500,_0x1c1553,_0x48a541){const _0x1df739=this['_editor']['model']['document']['selection'],_0x529b61=_0x1df739['getSelectedElement'](),_0x530e4b=!(!_0x529b61||!_0x529b61['is']('element','imageInline'));_0x48a541['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0xd94500,_0x530e4b),_0x1c1553||_0x48a541['setSelection'](_0x1df739['getLastPosition']());}['_insertImage'](_0x48920b,_0x2602d4){const _0x324504=this['_editor'],{imageDimension:_0x5bf7c9,imageFallbackUrl:_0xc37faa,imageSources:_0x2d5827}=_0x48920b['attributes'];_0x324504['execute']('insertImage',{'imageType':_0x2602d4?'imageInline':null,'source':{'uploadcareImageId':_0x48920b['id'],'src':_0xc37faa,'sources':_0x2d5827,..._0x5bf7c9}});}}class _0x500c4f extends ckeditor5['Command']{['_editing'];['_controller']=null;static get['requires'](){return[ckeditor5['Dialog'],UploadcareEditing];}constructor(_0x557846){super(_0x557846),this['_editing']=_0x557846['plugins']['get'](UploadcareEditing);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x4a706d){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new UploadcareController(this['editor'],this['_editing'],_0x4a706d);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}function isObject$1(_0x5841fd){return'[object\x20Object]'===Object['prototype']['toString']['call'](_0x5841fd);}const _0x253291=/\W|_/g;function camelizeString$1(_0x3bda79){return _0x3bda79['split'](_0x253291)['map']((_0x2dad94,_0x327761)=>_0x2dad94['charAt'](0x0)[_0x327761>0x0?'toUpperCase':'toLowerCase']()+_0x2dad94['slice'](0x1))['join']('');}function camelizeArrayItems$1(_0xdc52,{ignoreKeys:_0x32f76c}={'ignoreKeys':[]}){return Array['isArray'](_0xdc52)?_0xdc52['map'](_0x4d4506=>_0x324cbc(_0x4d4506,{'ignoreKeys':_0x32f76c})):_0xdc52;}function _0x324cbc(_0x5a2207,{ignoreKeys:_0x268cdb}={'ignoreKeys':[]}){if(Array['isArray'](_0x5a2207))return camelizeArrayItems$1(_0x5a2207,{'ignoreKeys':_0x268cdb});if(!isObject$1(_0x5a2207))return _0x5a2207;const _0xd77799={};for(const _0x4616d2 of Object['keys'](_0x5a2207)){let _0x25758c=_0x5a2207[_0x4616d2];_0x268cdb['includes'](_0x4616d2)?_0xd77799[_0x4616d2]=_0x25758c:(isObject$1(_0x25758c)?_0x25758c=_0x324cbc(_0x25758c,{'ignoreKeys':_0x268cdb}):Array['isArray'](_0x25758c)&&(_0x25758c=camelizeArrayItems$1(_0x25758c,{'ignoreKeys':_0x268cdb})),_0xd77799[camelizeString$1(_0x4616d2)]=_0x25758c);}return _0xd77799;}const _0x397f0e=_0x5b3d09=>new Promise(_0x4e2e07=>setTimeout(_0x4e2e07,_0x5b3d09));function getUserAgent$1$1({libraryName:_0x12c9a4,libraryVersion:_0x27bb0a,userAgent:_0x3299ac,publicKey:_0x3c59d7='',integration:_0x321e93=''}){const _0x40f1ad='JavaScript';if('string'==typeof _0x3299ac)return _0x3299ac;if('function'==typeof _0x3299ac)return _0x3299ac({'publicKey':_0x3c59d7,'libraryName':_0x12c9a4,'libraryVersion':_0x27bb0a,'languageName':_0x40f1ad,'integration':_0x321e93});return[_0x12c9a4,_0x27bb0a,_0x3c59d7]['filter'](Boolean)['join']('/')+'\x20('+[_0x40f1ad,_0x321e93]['filter'](Boolean)['join'](';\x20')+')';}const defaultOptions$1={'factor':0x2,'time':0x64};function retrier$1(_0xa924dc,_0x3ca9e8=defaultOptions$1){let _0x521fff=0x0;return function _0x183de2(_0x3dda11){const _0x4513ae=Math['round'](_0x3ca9e8['time']*_0x3ca9e8['factor']**_0x521fff);return _0x3dda11({'attempt':_0x521fff,'retry':_0x2e33f6=>_0x397f0e(_0x2e33f6??_0x4513ae)['then'](()=>(_0x521fff+=0x1,_0x183de2(_0x3dda11)))});}(_0xa924dc);}let _0x423bef=class extends Error{},NetworkError$1=class _0x572372 extends _0x423bef{['originalProgressEvent'];constructor(_0x7b37fe){super(),this['name']='NetworkError',this['message']='Network\x20error',Object['setPrototypeOf'](this,_0x572372['prototype']),this['originalProgressEvent']=_0x7b37fe;}};const _0x2e882a=(_0x206035,_0x325802)=>{_0x206035&&(_0x206035['aborted']?Promise['resolve']()['then'](_0x325802):_0x206035['addEventListener']('abort',()=>_0x325802(),{'once':!0x0}));};let _0x43b4df=class _0x2e4dc8 extends _0x423bef{['isCancel']=!0x0;constructor(_0x395bd4='Request\x20canceled'){super(_0x395bd4),this['name']='CancelError',Object['setPrototypeOf'](this,_0x2e4dc8['prototype']);}};const _0x3f0908=0x1f4,_0x7169d1=({check:_0x58c0a6,interval:_0x4c18e5=_0x3f0908,timeout:_0x4d7cfa,signal:_0x3639a6})=>new Promise((_0x2b5615,_0x41ce7e)=>{let _0x545e79,_0x5edfa5;_0x2e882a(_0x3639a6,()=>{_0x545e79&&clearTimeout(_0x545e79),_0x41ce7e(new _0x43b4df('Poll\x20cancelled'));}),_0x4d7cfa&&(_0x5edfa5=setTimeout(()=>{_0x545e79&&clearTimeout(_0x545e79),_0x41ce7e(new _0x43b4df('Timed\x20out'));},_0x4d7cfa));const _0x2037ff=()=>{try{Promise['resolve'](_0x58c0a6(_0x3639a6))['then'](_0x4f40ab=>{_0x4f40ab?(_0x5edfa5&&clearTimeout(_0x5edfa5),_0x2b5615(_0x4f40ab)):_0x545e79=setTimeout(_0x2037ff,_0x4c18e5);})['catch'](_0x41afae=>{_0x5edfa5&&clearTimeout(_0x5edfa5),_0x41ce7e(_0x41afae);});}catch(_0x5146ac){_0x5edfa5&&clearTimeout(_0x5edfa5),_0x41ce7e(_0x5146ac);}};_0x545e79=setTimeout(_0x2037ff,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:_0x2e3f67,url:_0x3c924d,data:_0xf4d22d,headers:_0x1a6f2c={},signal:_0x1e6a51,onProgress:_0x8af646})=>new Promise((_0x4a41ec,_0x11026a)=>{const _0x1dfc8e=new XMLHttpRequest(),_0x123a32=_0x2e3f67?.['toUpperCase']()||'GET';let _0x1cd791=!0x1;_0x1dfc8e['open'](_0x123a32,_0x3c924d,!0x0),_0x1a6f2c&&Object['entries'](_0x1a6f2c)['forEach'](_0x46a454=>{const [_0x4f7b8e,_0xa812a5]=_0x46a454;void 0x0!==_0xa812a5&&!Array['isArray'](_0xa812a5)&&_0x1dfc8e['setRequestHeader'](_0x4f7b8e,_0xa812a5);}),_0x1dfc8e['responseType']='text',_0x2e882a(_0x1e6a51,()=>{_0x1cd791=!0x0,_0x1dfc8e['abort'](),_0x11026a(new _0x43b4df());}),_0x1dfc8e['onload']=()=>{if(0xc8!=_0x1dfc8e['status'])_0x11026a(new Error('Error\x20'+_0x1dfc8e['status']+':\x20'+_0x1dfc8e['statusText']));else{const _0x38a1f8={'method':_0x123a32,'url':_0x3c924d,'data':_0xf4d22d,'headers':_0x1a6f2c||void 0x0,'signal':_0x1e6a51,'onProgress':_0x8af646},_0x1c66e0=_0x1dfc8e['getAllResponseHeaders']()['trim']()['split'](/[\r\n]+/),_0x298369={};_0x1c66e0['forEach'](function(_0x583667){const _0x103f46=_0x583667['split'](':\x20'),_0x376bbd=_0x103f46['shift'](),_0x2ea8e9=_0x103f46['join'](':\x20');_0x376bbd&&void 0x0!==_0x376bbd&&(_0x298369[_0x376bbd]=_0x2ea8e9);});const _0x57418f=_0x1dfc8e['response'],_0x9f17d6=_0x1dfc8e['status'];_0x4a41ec({'request':_0x38a1f8,'data':_0x57418f,'headers':_0x298369,'status':_0x9f17d6});}},_0x1dfc8e['onerror']=_0x15c731=>{_0x1cd791||_0x11026a(new NetworkError$1(_0x15c731));},_0x8af646&&'function'==typeof _0x8af646&&(_0x1dfc8e['upload']['onprogress']=_0x3bc358=>{_0x3bc358['lengthComputable']?_0x8af646({'isComputable':!0x0,'value':_0x3bc358['loaded']/_0x3bc358['total']}):_0x8af646({'isComputable':!0x1});}),_0xf4d22d?_0x1dfc8e['send'](_0xf4d22d):_0x1dfc8e['send']();});function identity$1(_0x322075,..._0x1691cf){return _0x322075;}const getFileOptions$1=({name:_0x343660})=>_0x343660?[_0x343660]:[],transformFile$1=identity$1;var getFormData$1=()=>new FormData();const _0x190468=_0x42f470=>!0x1,_0x5990b5=_0x22a697=>'undefined'!=typeof Blob&&_0x22a697 instanceof Blob,_0x2e26ba=_0x158f15=>'undefined'!=typeof File&&_0x158f15 instanceof File,isReactNativeAsset$1=_0x43db42=>!!_0x43db42&&'object'==typeof _0x43db42&&!Array['isArray'](_0x43db42)&&'uri'in _0x43db42&&'string'==typeof _0x43db42['uri'],isFileData$1=_0x5a8af7=>_0x5990b5(_0x5a8af7)||_0x2e26ba(_0x5a8af7)||_0x190468()||isReactNativeAsset$1(_0x5a8af7),_0x18f1ee=_0x4574d3=>'string'==typeof _0x4574d3||'number'==typeof _0x4574d3||void 0x0===_0x4574d3,isObjectValue$1=_0x1ca3e9=>!!_0x1ca3e9&&'object'==typeof _0x1ca3e9&&!Array['isArray'](_0x1ca3e9),_0xabbd3c=_0x221f44=>!!_0x221f44&&'object'==typeof _0x221f44&&'data'in _0x221f44&&isFileData$1(_0x221f44['data']);function collectParams$1(_0x166db6,_0x53d684,_0x1119a6){if(Array['isArray'](_0x1119a6)){for(const _0x52fe12 of _0x1119a6)collectParams$1(_0x166db6,_0x53d684+'[]',_0x52fe12);}else{if(_0xabbd3c(_0x1119a6)){const {name:_0x11184b,contentType:_0xc8b1ce}=_0x1119a6,_0xc3916b=transformFile$1(_0x1119a6['data'],_0x11184b,_0xc8b1ce??defaultContentType$1),_0x28bfe3=getFileOptions$1({'name':_0x11184b});_0x166db6['push']([_0x53d684,_0xc3916b,..._0x28bfe3]);}else{if(isObjectValue$1(_0x1119a6)){for(const [_0x19a701,_0x14979b]of Object['entries'](_0x1119a6))void 0x0!==_0x14979b&&_0x166db6['push']([_0x53d684+'['+_0x19a701+']',String(_0x14979b)]);}else _0x18f1ee(_0x1119a6)&&_0x1119a6&&_0x166db6['push']([_0x53d684,_0x1119a6['toString']()]);}}}function getFormDataParams$1(_0x313c94){const _0x12dcd8=[];for(const [_0x22a766,_0xd0309d]of Object['entries'](_0x313c94))collectParams$1(_0x12dcd8,_0x22a766,_0xd0309d);return _0x12dcd8;}function buildFormData$1(_0x1c6288){const _0x5866b9=getFormData$1(),_0x54e839=getFormDataParams$1(_0x1c6288);for(const _0x5160d1 of _0x54e839){const [_0x41f14e,_0x49177c,..._0x1798cb]=_0x5160d1;_0x5866b9['append'](_0x41f14e,_0x49177c,..._0x1798cb);}return _0x5866b9;}let _0x15aa69=class _0xbab69 extends _0x423bef{['code'];['request'];['response'];['headers'];constructor(_0xd45a26,_0x52c127,_0x3272b2,_0x47cc16,_0x5ac9d9){super(),this['name']='UploadError',this['message']=_0xd45a26,this['code']=_0x52c127,this['request']=_0x3272b2,this['response']=_0x47cc16,this['headers']=_0x5ac9d9,Object['setPrototypeOf'](this,_0xbab69['prototype']);}};const _0x19f999=_0x2ad479=>{const _0x105802=new URLSearchParams();for(const [_0x186165,_0x31195a]of Object['entries'](_0x2ad479))_0x31195a&&'object'==typeof _0x31195a&&!Array['isArray'](_0x31195a)?Object['entries'](_0x31195a)['filter'](_0x39bf80=>_0x39bf80[0x1]??!0x1)['forEach'](_0x542f9a=>_0x105802['set'](_0x186165+'['+_0x542f9a[0x0]+']',String(_0x542f9a[0x1]))):Array['isArray'](_0x31195a)?_0x31195a['forEach'](_0x18a7d9=>{_0x105802['append'](_0x186165+'[]',_0x18a7d9);}):'string'==typeof _0x31195a&&_0x31195a?_0x105802['set'](_0x186165,_0x31195a):'number'==typeof _0x31195a&&_0x105802['set'](_0x186165,_0x31195a['toString']());return _0x105802['toString']();},getUrl$1=(_0x4fe5cb,_0xf275bc,_0x5191e4)=>{const _0x217d41=new URL(_0x4fe5cb);return _0x217d41['pathname']=(_0x217d41['pathname']+_0xf275bc)['replace']('//','/'),_0x5191e4&&(_0x217d41['search']=_0x19f999(_0x5191e4)),_0x217d41['toString']();};var _0x3590af='6.14.3';const _0x353883='UploadcareUploadClient',_0x3c0671=_0x3590af;function getUserAgent$2(_0x54432c){return getUserAgent$1$1({'libraryName':_0x353883,'libraryVersion':_0x3c0671,..._0x54432c});}const _0x5a22aa='RequestThrottledError',_0x2505e7=0x3a98,_0xd8f26d=0x3e8;function getTimeoutFromThrottledRequest$1(_0x11da22){const {headers:_0x55be9f}=_0x11da22||{};if(!_0x55be9f||'string'!=typeof _0x55be9f['retry-after'])return _0x2505e7;const _0x2a7a26=parseInt(_0x55be9f['retry-after'],0xa);return Number['isFinite'](_0x2a7a26)?0x3e8*_0x2a7a26:_0x2505e7;}function retryIfFailed$1(_0x229dfa,_0x33b866){const {retryThrottledRequestMaxTimes:_0x24b40b,retryNetworkErrorMaxTimes:_0x42b438}=_0x33b866;return retrier$1(({attempt:_0x46b3d0,retry:_0x3a931c})=>_0x229dfa()['catch'](_0x4852a8=>{if('response'in _0x4852a8&&_0x4852a8?.['code']===_0x5a22aa&&_0x46b3d0<_0x24b40b)return _0x3a931c(getTimeoutFromThrottledRequest$1(_0x4852a8));if(_0x4852a8 instanceof NetworkError$1&&_0x46b3d0<_0x42b438)return _0x3a931c((_0x46b3d0+0x1)*_0xd8f26d);throw _0x4852a8;}));}const getContentType$1=_0x471da3=>{let _0x3fcd26='';return(_0x5990b5(_0x471da3)||_0x2e26ba(_0x471da3)||isReactNativeAsset$1(_0x471da3))&&(_0x3fcd26=_0x471da3['type']),_0x3fcd26||defaultContentType$1;},getFileName$1=_0x5ad073=>{let _0x1c2483='';return _0x2e26ba(_0x5ad073)&&_0x5ad073['name']?_0x1c2483=_0x5ad073['name']:_0x5990b5(_0x5ad073)||_0x190468()?_0x1c2483='':isReactNativeAsset$1(_0x5ad073)&&_0x5ad073['name']&&(_0x1c2483=_0x5ad073['name']),_0x1c2483||defaultFilename$1;};function getStoreValue$1(_0xdb918d){return void 0x0===_0xdb918d||'auto'===_0xdb918d?'auto':_0xdb918d?'1':'0';}function _0x48bbce(_0x38feab,{publicKey:_0x27492d,fileName:_0x441df3,contentType:_0x23472b,baseURL:_0x3920ef=defaultSettings$1['baseURL'],secureSignature:_0xf1d3da,secureExpire:_0x1bd25a,store:_0x4be2e8,signal:_0x2ec652,onProgress:_0x7e3ea3,source:_0x4cf31c='local',integration:_0x3a8c6f,userAgent:_0x2a571a,retryThrottledRequestMaxTimes:_0x57e833=defaultSettings$1['retryThrottledRequestMaxTimes'],retryNetworkErrorMaxTimes:_0x12f4ae=defaultSettings$1['retryNetworkErrorMaxTimes'],metadata:_0x401611}){return retryIfFailed$1(()=>request$1({'method':'POST','url':getUrl$1(_0x3920ef,'/base/',{'jsonerrors':0x1}),'headers':{'X-UC-User-Agent':getUserAgent$2({'publicKey':_0x27492d,'integration':_0x3a8c6f,'userAgent':_0x2a571a})},'data':buildFormData$1({'file':{'data':_0x38feab,'name':_0x441df3||getFileName$1(_0x38feab),'contentType':_0x23472b||getContentType$1(_0x38feab)},'UPLOADCARE_PUB_KEY':_0x27492d,'UPLOADCARE_STORE':getStoreValue$1(_0x4be2e8),'signature':_0xf1d3da,'expire':_0x1bd25a,'source':_0x4cf31c,'metadata':_0x401611}),'signal':_0x2ec652,'onProgress':_0x7e3ea3})['then'](({data:_0x27fccc,headers:_0x198f85,request:_0x3b412a})=>{const _0x24e461=_0x324cbc(JSON['parse'](_0x27fccc));if('error'in _0x24e461)throw new _0x15aa69(_0x24e461['error']['content'],_0x24e461['error']['errorCode'],_0x3b412a,_0x24e461,_0x198f85);return _0x24e461;}),{'retryNetworkErrorMaxTimes':_0x12f4ae,'retryThrottledRequestMaxTimes':_0x57e833});}var _0xaff699,Status$1;function _0x524491(_0x5c19a5,{publicKey:_0x240561,baseURL:_0xcd1059=defaultSettings$1['baseURL'],store:_0x319146,fileName:_0x9c518f,checkForUrlDuplicates:_0x44515a,saveUrlForRecurrentUploads:_0x1057a5,secureSignature:_0xa0baea,secureExpire:_0x80499d,source:_0x3d2930='url',signal:_0x1366fb,integration:_0xcd8795,userAgent:_0x53b30d,retryThrottledRequestMaxTimes:_0x2e0d77=defaultSettings$1['retryThrottledRequestMaxTimes'],retryNetworkErrorMaxTimes:_0x15f85e=defaultSettings$1['retryNetworkErrorMaxTimes'],metadata:_0x2c2195}){return retryIfFailed$1(()=>request$1({'method':'POST','headers':{'X-UC-User-Agent':getUserAgent$2({'publicKey':_0x240561,'integration':_0xcd8795,'userAgent':_0x53b30d})},'url':getUrl$1(_0xcd1059,'/from_url/',{'jsonerrors':0x1,'pub_key':_0x240561,'source_url':_0x5c19a5,'store':getStoreValue$1(_0x319146),'filename':_0x9c518f,'check_URL_duplicates':_0x44515a?0x1:void 0x0,'save_URL_duplicates':_0x1057a5?0x1:void 0x0,'signature':_0xa0baea,'expire':_0x80499d,'source':_0x3d2930,'metadata':_0x2c2195}),'signal':_0x1366fb})['then'](({data:_0x344c5e,headers:_0x4420b3,request:_0x1fc3c3})=>{const _0x4d4fc3=_0x324cbc(JSON['parse'](_0x344c5e));if('error'in _0x4d4fc3)throw new _0x15aa69(_0x4d4fc3['error']['content'],_0x4d4fc3['error']['errorCode'],_0x1fc3c3,_0x4d4fc3,_0x4420b3);return _0x4d4fc3;}),{'retryNetworkErrorMaxTimes':_0x15f85e,'retryThrottledRequestMaxTimes':_0x2e0d77});}!function(_0x52a157){_0x52a157['Token']='token',_0x52a157['FileInfo']='file_info';}(_0xaff699||(_0xaff699={})),function(_0x506b54){_0x506b54['Unknown']='unknown',_0x506b54['Waiting']='waiting',_0x506b54['Progress']='progress',_0x506b54['Error']='error',_0x506b54['Success']='success';}(Status$1||(Status$1={}));const _0x36c148=_0x2bfe07=>'status'in _0x2bfe07&&_0x2bfe07['status']===Status$1['Error'];function fromUrlStatus$1(_0x2af30f,{publicKey:_0x186f2d,baseURL:_0x4dd75c=defaultSettings$1['baseURL'],signal:_0xa83811,integration:_0x51f9fe,userAgent:_0x5e014a,retryThrottledRequestMaxTimes:_0x19ed98=defaultSettings$1['retryThrottledRequestMaxTimes'],retryNetworkErrorMaxTimes:_0x50a302=defaultSettings$1['retryNetworkErrorMaxTimes']}={}){return retryIfFailed$1(()=>request$1({'method':'GET','headers':_0x186f2d?{'X-UC-User-Agent':getUserAgent$2({'publicKey':_0x186f2d,'integration':_0x51f9fe,'userAgent':_0x5e014a})}:void 0x0,'url':getUrl$1(_0x4dd75c,'/from_url/status/',{'jsonerrors':0x1,'token':_0x2af30f}),'signal':_0xa83811})['then'](({data:_0x5d7ea2,headers:_0x4c3bc2,request:_0xf8dcaf})=>{const _0x42846a=_0x324cbc(JSON['parse'](_0x5d7ea2));if('error'in _0x42846a&&!_0x36c148(_0x42846a))throw new _0x15aa69(_0x42846a['error']['content'],_0x42846a['error']['errorCode'],_0xf8dcaf,_0x42846a,_0x4c3bc2);return _0x42846a;}),{'retryNetworkErrorMaxTimes':_0x50a302,'retryThrottledRequestMaxTimes':_0x19ed98});}function _0xf5d8df(_0x43a0a9,{publicKey:_0x56e6ff,baseURL:_0x293538=defaultSettings$1['baseURL'],signal:_0x30d8f0,source:_0x5749ac,integration:_0x14f21a,userAgent:_0x468449,retryThrottledRequestMaxTimes:_0x2a8c12=defaultSettings$1['retryThrottledRequestMaxTimes'],retryNetworkErrorMaxTimes:_0x42d0f8=defaultSettings$1['retryNetworkErrorMaxTimes']}){return retryIfFailed$1(()=>request$1({'method':'GET','headers':{'X-UC-User-Agent':getUserAgent$2({'publicKey':_0x56e6ff,'integration':_0x14f21a,'userAgent':_0x468449})},'url':getUrl$1(_0x293538,'/info/',{'jsonerrors':0x1,'pub_key':_0x56e6ff,'file_id':_0x43a0a9,'source':_0x5749ac}),'signal':_0x30d8f0})['then'](({data:_0x5c0da5,headers:_0x3a0b39,request:_0x4e0e4c})=>{const _0x34ff7e=_0x324cbc(JSON['parse'](_0x5c0da5));if('error'in _0x34ff7e)throw new _0x15aa69(_0x34ff7e['error']['content'],_0x34ff7e['error']['errorCode'],_0x4e0e4c,_0x34ff7e,_0x3a0b39);return _0x34ff7e;}),{'retryThrottledRequestMaxTimes':_0x2a8c12,'retryNetworkErrorMaxTimes':_0x42d0f8});}function multipartStart$1(_0x45925b,{publicKey:_0x58e8b4,contentType:_0x1ef4df,fileName:_0x4d0a60,multipartChunkSize:_0x2df751=defaultSettings$1['multipartChunkSize'],baseURL:_0x49bf25='',secureSignature:_0x196ac4,secureExpire:_0x4557f6,store:_0x6687a0,signal:_0x4651d7,source:_0x1e71b1='local',integration:_0x4ed3c6,userAgent:_0x535a7d,retryThrottledRequestMaxTimes:_0x586a87=defaultSettings$1['retryThrottledRequestMaxTimes'],retryNetworkErrorMaxTimes:_0x11286=defaultSettings$1['retryNetworkErrorMaxTimes'],metadata:_0x488437}){return retryIfFailed$1(()=>request$1({'method':'POST','url':getUrl$1(_0x49bf25,'/multipart/start/',{'jsonerrors':0x1}),'headers':{'X-UC-User-Agent':getUserAgent$2({'publicKey':_0x58e8b4,'integration':_0x4ed3c6,'userAgent':_0x535a7d})},'data':buildFormData$1({'filename':_0x4d0a60,'size':_0x45925b,'content_type':_0x1ef4df||defaultContentType$1,'part_size':_0x2df751,'UPLOADCARE_STORE':getStoreValue$1(_0x6687a0),'UPLOADCARE_PUB_KEY':_0x58e8b4,'signature':_0x196ac4,'expire':_0x4557f6,'source':_0x1e71b1,'metadata':_0x488437}),'signal':_0x4651d7})['then'](({data:_0x433cf4,headers:_0x54ee76,request:_0x14e62a})=>{const _0x284abb=_0x324cbc(JSON['parse'](_0x433cf4));if('error'in _0x284abb)throw new _0x15aa69(_0x284abb['error']['content'],_0x284abb['error']['errorCode'],_0x14e62a,_0x284abb,_0x54ee76);return _0x284abb['parts']=Object['keys'](_0x284abb['parts'])['map'](_0x795d2=>_0x284abb['parts'][Number(_0x795d2)]),_0x284abb;}),{'retryThrottledRequestMaxTimes':_0x586a87,'retryNetworkErrorMaxTimes':_0x11286});}function multipartUpload$1(_0x4fa00f,_0x4f7e1f,{contentType:_0x42ca45,signal:_0x549932,onProgress:_0x5baae5,retryThrottledRequestMaxTimes:_0x5a5181=defaultSettings$1['retryThrottledRequestMaxTimes'],retryNetworkErrorMaxTimes:_0x11924c=defaultSettings$1['retryNetworkErrorMaxTimes']}){return retryIfFailed$1(()=>request$1({'method':'PUT','url':_0x4f7e1f,'data':_0x4fa00f,'onProgress':_0x5baae5,'signal':_0x549932,'headers':{'Content-Type':_0x42ca45||defaultContentType$1}})['then'](_0x525b16=>(_0x5baae5&&_0x5baae5({'isComputable':!0x0,'value':0x1}),_0x525b16))['then'](({status:_0x4eb95b})=>({'code':_0x4eb95b})),{'retryThrottledRequestMaxTimes':_0x5a5181,'retryNetworkErrorMaxTimes':_0x11924c});}function multipartComplete$1(_0x5ec3e8,{publicKey:_0x1af443,baseURL:_0x4fc680=defaultSettings$1['baseURL'],source:_0x231feb='local',signal:_0x1b29ea,integration:_0x2be20a,userAgent:_0x57d753,retryThrottledRequestMaxTimes:_0x38d457=defaultSettings$1['retryThrottledRequestMaxTimes'],retryNetworkErrorMaxTimes:_0x10a001=defaultSettings$1['retryNetworkErrorMaxTimes']}){return retryIfFailed$1(()=>request$1({'method':'POST','url':getUrl$1(_0x4fc680,'/multipart/complete/',{'jsonerrors':0x1}),'headers':{'X-UC-User-Agent':getUserAgent$2({'publicKey':_0x1af443,'integration':_0x2be20a,'userAgent':_0x57d753})},'data':buildFormData$1({'uuid':_0x5ec3e8,'UPLOADCARE_PUB_KEY':_0x1af443,'source':_0x231feb}),'signal':_0x1b29ea})['then'](({data:_0x1faa5d,headers:_0xf947fd,request:_0x570db7})=>{const _0x480685=_0x324cbc(JSON['parse'](_0x1faa5d));if('error'in _0x480685)throw new _0x15aa69(_0x480685['error']['content'],_0x480685['error']['errorCode'],_0x570db7,_0x480685,_0xf947fd);return _0x480685;}),{'retryThrottledRequestMaxTimes':_0x38d457,'retryNetworkErrorMaxTimes':_0x10a001});}function _0x1c385f(_0x30311f,{publicKey:_0x50e088,baseURL:_0x12b84c,source:_0x94f208,integration:_0x44e9c7,userAgent:_0x3edb0e,retryThrottledRequestMaxTimes:_0x19e898,retryNetworkErrorMaxTimes:_0x25bb5e,signal:_0x4e2324,onProgress:_0x4b17b3}){return _0x7169d1({'check':_0x71b2c8=>_0xf5d8df(_0x30311f,{'publicKey':_0x50e088,'baseURL':_0x12b84c,'signal':_0x71b2c8,'source':_0x94f208,'integration':_0x44e9c7,'userAgent':_0x3edb0e,'retryThrottledRequestMaxTimes':_0x19e898,'retryNetworkErrorMaxTimes':_0x25bb5e})['then'](_0x4d1142=>_0x4d1142['isReady']?_0x4d1142:(_0x4b17b3&&_0x4b17b3({'isComputable':!0x0,'value':0x1}),!0x1)),'signal':_0x4e2324});}function _0xdc5bad(_0x347039){return'defaultEffects'in _0x347039;}let _0x913ff=class{['uuid'];['name'];['size'];['isStored'];['isImage'];['mimeType'];['cdnUrl'];['s3Url'];['originalFilename'];['imageInfo'];['videoInfo'];['contentInfo'];['metadata'];['s3Bucket'];['defaultEffects']=null;constructor(_0x5c543e,{baseCDN:_0x42e572=defaultSettings$1['baseCDN'],fileName:_0x13ef25}={}){const {uuid:_0x487727,s3Bucket:_0x46ec0e}=_0x5c543e,_0x42e261=getUrl$1(_0x42e572,_0x487727+'/'),_0x358911=_0x46ec0e?getUrl$1('https://'+_0x46ec0e+'.s3.amazonaws.com/',_0x487727+'/'+_0x5c543e['filename']):null;this['uuid']=_0x487727,this['name']=_0x13ef25||_0x5c543e['filename'],this['size']=_0x5c543e['size'],this['isStored']=_0x5c543e['isStored'],this['isImage']=_0x5c543e['isImage'],this['mimeType']=_0x5c543e['mimeType'],this['cdnUrl']=_0x42e261,this['originalFilename']=_0x5c543e['originalFilename'],this['imageInfo']=_0x5c543e['imageInfo'],this['videoInfo']=_0x5c543e['videoInfo'],this['contentInfo']=_0x5c543e['contentInfo'],this['metadata']=_0x5c543e['metadata']||null,this['s3Bucket']=_0x46ec0e||null,this['s3Url']=_0x358911,_0xdc5bad(_0x5c543e)&&(this['defaultEffects']=_0x5c543e['defaultEffects']);}};const uploadDirect$1=(_0x37686f,{publicKey:_0x755205,fileName:_0x5330a3,baseURL:_0x414ef9,secureSignature:_0x5e42cd,secureExpire:_0x449f4c,store:_0x5def74,contentType:_0x4eeb71,signal:_0x2bdfa4,onProgress:_0x1a8893,source:_0x15213b,integration:_0x53511a,userAgent:_0xb8c624,retryThrottledRequestMaxTimes:_0x5dfcb7,retryNetworkErrorMaxTimes:_0x20451c,baseCDN:_0x17aa7a,metadata:_0x397978})=>_0x48bbce(_0x37686f,{'publicKey':_0x755205,'fileName':_0x5330a3,'contentType':_0x4eeb71,'baseURL':_0x414ef9,'secureSignature':_0x5e42cd,'secureExpire':_0x449f4c,'store':_0x5def74,'signal':_0x2bdfa4,'onProgress':_0x1a8893,'source':_0x15213b,'integration':_0x53511a,'userAgent':_0xb8c624,'retryThrottledRequestMaxTimes':_0x5dfcb7,'retryNetworkErrorMaxTimes':_0x20451c,'metadata':_0x397978})['then'](({file:_0xf1cf56})=>_0x1c385f(_0xf1cf56,{'publicKey':_0x755205,'baseURL':_0x414ef9,'source':_0x15213b,'integration':_0x53511a,'userAgent':_0xb8c624,'retryThrottledRequestMaxTimes':_0x5dfcb7,'retryNetworkErrorMaxTimes':_0x20451c,'onProgress':_0x1a8893,'signal':_0x2bdfa4}))['then'](_0x5e2f51=>new _0x913ff(_0x5e2f51,{'baseCDN':_0x17aa7a})),_0xa672e8=(_0x37375e,{publicKey:_0x1c09bd,fileName:_0x1e5394,baseURL:_0x43421b,signal:_0x31c52a,onProgress:_0x5b4e1c,source:_0x31e5cb,integration:_0x5afbb6,userAgent:_0x26c6cb,retryThrottledRequestMaxTimes:_0x27489f,retryNetworkErrorMaxTimes:_0x5d0c81,baseCDN:_0x37a957})=>_0xf5d8df(_0x37375e,{'publicKey':_0x1c09bd,'baseURL':_0x43421b,'signal':_0x31c52a,'source':_0x31e5cb,'integration':_0x5afbb6,'userAgent':_0x26c6cb,'retryThrottledRequestMaxTimes':_0x27489f,'retryNetworkErrorMaxTimes':_0x5d0c81})['then'](_0x2a008a=>new _0x913ff(_0x2a008a,{'baseCDN':_0x37a957,'fileName':_0x1e5394}))['then'](_0x27f23e=>(_0x5b4e1c&&_0x5b4e1c({'isComputable':!0x0,'value':0x1}),_0x27f23e)),_0x13e5b3=(_0xeba999,{signal:_0x4caac9}={})=>{let _0x5bd4da=null,_0x277960=null;const _0x92373c=_0xeba999['map'](()=>new AbortController());return _0x2e882a(_0x4caac9,()=>{_0x92373c['forEach'](_0x225f2e=>_0x225f2e['abort']());}),Promise['all'](_0xeba999['map']((_0x33a5ad,_0x11fc75)=>{const _0x59c5b0=(_0x1db965=>()=>{_0x277960=_0x1db965,_0x92373c['forEach']((_0x1d4807,_0x476748)=>_0x476748!==_0x1db965&&_0x1d4807['abort']());})(_0x11fc75);return Promise['resolve']()['then'](()=>_0x33a5ad({'stopRace':_0x59c5b0,'signal':_0x92373c[_0x11fc75]['signal']}))['then'](_0x3b32ab=>(_0x59c5b0(),_0x3b32ab))['catch'](_0x2d6a1d=>(_0x5bd4da=_0x2d6a1d,null));}))['then'](_0xd4ec8=>{if(null===_0x277960)throw _0x5bd4da;return _0xd4ec8[_0x277960];});};var WebSocket$1=window['WebSocket'];let Events$1=class{['events']=Object['create']({});['emit'](_0x527496,_0x436ef2){this['events'][_0x527496]?.['forEach'](_0x3621ba=>_0x3621ba(_0x436ef2));}['on'](_0x19f2e0,_0x338281){this['events'][_0x19f2e0]=this['events'][_0x19f2e0]||[],this['events'][_0x19f2e0]['push'](_0x338281);}['off'](_0x458461,_0x1716b1){this['events'][_0x458461]=_0x1716b1?this['events'][_0x458461]['filter'](_0x59c66b=>_0x59c66b!==_0x1716b1):[];}};const _0x2498d3=(_0x3b4d16,_0x19a8e7)=>'success'===_0x3b4d16?{'status':Status$1['Success'],..._0x19a8e7}:'progress'===_0x3b4d16?{'status':Status$1['Progress'],..._0x19a8e7}:{'status':Status$1['Error'],..._0x19a8e7};let _0x4be432=class{['key'];['disconnectTime'];['ws']=void 0x0;['queue']=[];['isConnected']=!0x1;['subscribers']=0x0;['emmitter']=new Events$1();['disconnectTimeoutId']=null;constructor(_0x128e31,_0x52af32=0x7530){this['key']=_0x128e31,this['disconnectTime']=_0x52af32;}['connect'](){if(this['disconnectTimeoutId']&&clearTimeout(this['disconnectTimeoutId']),!this['isConnected']&&!this['ws']){const _0x2229ee='wss://ws.pusherapp.com/app/'+this['key']+'?protocol=5&client=js&version=1.12.2';this['ws']=new WebSocket$1(_0x2229ee),this['ws']['addEventListener']('error',_0x329fd9=>{this['emmitter']['emit']('error',new Error(_0x329fd9['message']));}),this['emmitter']['on']('connected',()=>{this['isConnected']=!0x0,this['queue']['forEach'](_0x446b0a=>this['send'](_0x446b0a['event'],_0x446b0a['data'])),this['queue']=[];}),this['ws']['addEventListener']('message',_0x1b5988=>{const _0x2dbefe=JSON['parse'](_0x1b5988['data']['toString']());switch(_0x2dbefe['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'](_0x2dbefe['channel'],_0x2498d3(_0x2dbefe['event'],JSON['parse'](_0x2dbefe['data'])));}});}}['disconnect'](){const _0x5375ac=()=>{this['ws']?.['close'](),this['ws']=void 0x0,this['isConnected']=!0x1;};this['disconnectTime']?this['disconnectTimeoutId']=setTimeout(()=>{_0x5375ac();},this['disconnectTime']):_0x5375ac();}['send'](_0x4710de,_0x5a2bcb){const _0x40e818=JSON['stringify']({'event':_0x4710de,'data':_0x5a2bcb});this['ws']?.['send'](_0x40e818);}['subscribe'](_0x2006d5,_0x58bcce){this['subscribers']+=0x1,this['connect']();const _0x9737ea='task-status-'+_0x2006d5,_0x2770f8={'event':'pusher:subscribe','data':{'channel':_0x9737ea}};this['emmitter']['on'](_0x9737ea,_0x58bcce),this['isConnected']?this['send'](_0x2770f8['event'],_0x2770f8['data']):this['queue']['push'](_0x2770f8);}['unsubscribe'](_0x1ae2b4){this['subscribers']-=0x1;const _0x5803ef='task-status-'+_0x1ae2b4,_0x3a0c93={'event':'pusher:unsubscribe','data':{'channel':_0x5803ef}};this['emmitter']['off'](_0x5803ef),this['isConnected']?this['send'](_0x3a0c93['event'],_0x3a0c93['data']):this['queue']=this['queue']['filter'](_0x3031bf=>_0x3031bf['data']['channel']!==_0x5803ef),0x0===this['subscribers']&&this['disconnect']();}['onError'](_0x260058){return this['emmitter']['on']('error',_0x260058),()=>this['emmitter']['off']('error',_0x260058);}},_0x42736d=null;const getPusher$1=_0x3af905=>{if(!_0x42736d){const _0x5c5228='undefined'==typeof window?0x0:0x7530;_0x42736d=new _0x4be432(_0x3af905,_0x5c5228);}return _0x42736d;},preconnect$1=_0x2d1c78=>{getPusher$1(_0x2d1c78)['connect']();};function pollStrategy$1({token:_0x1e5148,publicKey:_0x3d4e65,baseURL:_0x427f24,integration:_0x3b4bef,userAgent:_0x154938,retryThrottledRequestMaxTimes:_0x371483,retryNetworkErrorMaxTimes:_0x3b249c,onProgress:_0x1ff694,signal:_0x414bcd}){return _0x7169d1({'check':_0x172303=>fromUrlStatus$1(_0x1e5148,{'publicKey':_0x3d4e65,'baseURL':_0x427f24,'integration':_0x3b4bef,'userAgent':_0x154938,'retryThrottledRequestMaxTimes':_0x371483,'retryNetworkErrorMaxTimes':_0x3b249c,'signal':_0x172303})['then'](_0x5467f3=>{switch(_0x5467f3['status']){case Status$1['Error']:return new _0x15aa69(_0x5467f3['error'],_0x5467f3['errorCode']);case Status$1['Waiting']:return!0x1;case Status$1['Unknown']:return new _0x15aa69('Token\x20\x22'+_0x1e5148+'\x22\x20was\x20not\x20found.');case Status$1['Progress']:return _0x1ff694&&('unknown'===_0x5467f3['total']?_0x1ff694({'isComputable':!0x1}):_0x1ff694({'isComputable':!0x0,'value':_0x5467f3['done']/_0x5467f3['total']})),!0x1;case Status$1['Success']:return _0x1ff694&&_0x1ff694({'isComputable':!0x0,'value':_0x5467f3['done']/_0x5467f3['total']}),_0x5467f3;default:throw new Error('Unknown\x20status');}}),'signal':_0x414bcd});}const pushStrategy$1=({token:_0x4406cf,pusherKey:_0x42122b,signal:_0x5519d1,onProgress:_0x2fb638})=>new Promise((_0x2c36a4,_0x534566)=>{const _0xf202f7=getPusher$1(_0x42122b),_0x3e215b=_0xf202f7['onError'](_0x534566),_0x23fbc2=()=>{_0x3e215b(),_0xf202f7['unsubscribe'](_0x4406cf);};_0x2e882a(_0x5519d1,()=>{_0x23fbc2(),_0x534566(new _0x43b4df('pusher\x20cancelled'));}),_0xf202f7['subscribe'](_0x4406cf,_0x48397b=>{switch(_0x48397b['status']){case Status$1['Progress']:_0x2fb638&&('unknown'===_0x48397b['total']?_0x2fb638({'isComputable':!0x1}):_0x2fb638({'isComputable':!0x0,'value':_0x48397b['done']/_0x48397b['total']}));break;case Status$1['Success']:_0x23fbc2(),_0x2fb638&&_0x2fb638({'isComputable':!0x0,'value':_0x48397b['done']/_0x48397b['total']}),_0x2c36a4(_0x48397b);break;case Status$1['Error']:_0x23fbc2(),_0x534566(new _0x15aa69(_0x48397b['msg'],_0x48397b['error_code']));}});}),_0x2629d1=(_0x32e054,{publicKey:_0x3d87c3,fileName:_0xc1deba,baseURL:_0x124e6e,baseCDN:_0x19e54b,checkForUrlDuplicates:_0xdb70b8,saveUrlForRecurrentUploads:_0x497af2,secureSignature:_0x4d2657,secureExpire:_0xb0445,store:_0x185150,signal:_0x463dd7,onProgress:_0x504a76,source:_0x13fec9,integration:_0x55dd11,userAgent:_0x1d9256,retryThrottledRequestMaxTimes:_0x1c0b92,pusherKey:_0x3acc84=defaultSettings$1['pusherKey'],metadata:_0xce744a})=>Promise['resolve'](preconnect$1(_0x3acc84))['then'](()=>_0x524491(_0x32e054,{'publicKey':_0x3d87c3,'fileName':_0xc1deba,'baseURL':_0x124e6e,'checkForUrlDuplicates':_0xdb70b8,'saveUrlForRecurrentUploads':_0x497af2,'secureSignature':_0x4d2657,'secureExpire':_0xb0445,'store':_0x185150,'signal':_0x463dd7,'source':_0x13fec9,'integration':_0x55dd11,'userAgent':_0x1d9256,'retryThrottledRequestMaxTimes':_0x1c0b92,'metadata':_0xce744a}))['catch'](_0x341744=>{const _0x5f3432=getPusher$1(_0x3acc84);return _0x5f3432?.['disconnect'](),Promise['reject'](_0x341744);})['then'](_0x5df476=>_0x5df476['type']===_0xaff699['FileInfo']?_0x5df476:_0x13e5b3([({signal:_0x20cb54})=>pollStrategy$1({'token':_0x5df476['token'],'publicKey':_0x3d87c3,'baseURL':_0x124e6e,'integration':_0x55dd11,'userAgent':_0x1d9256,'retryThrottledRequestMaxTimes':_0x1c0b92,'onProgress':_0x504a76,'signal':_0x20cb54}),({signal:_0x1b544a})=>pushStrategy$1({'token':_0x5df476['token'],'pusherKey':_0x3acc84,'signal':_0x1b544a,'onProgress':_0x504a76})],{'signal':_0x463dd7}))['then'](_0x423c09=>{if(_0x423c09 instanceof _0x15aa69)throw _0x423c09;return _0x423c09;})['then'](_0x5df636=>_0x1c385f(_0x5df636['uuid'],{'publicKey':_0x3d87c3,'baseURL':_0x124e6e,'integration':_0x55dd11,'userAgent':_0x1d9256,'retryThrottledRequestMaxTimes':_0x1c0b92,'onProgress':_0x504a76,'signal':_0x463dd7}))['then'](_0x229b86=>new _0x913ff(_0x229b86,{'baseCDN':_0x19e54b})),_0x104c57=new WeakMap(),getBlobFromReactNativeAsset$1=async _0xde96aa=>{if(_0x104c57['has'](_0xde96aa))return _0x104c57['get'](_0xde96aa);const _0x267e8b=await fetch(_0xde96aa['uri'])['then'](_0x226efa=>_0x226efa['blob']());return _0x104c57['set'](_0xde96aa,_0x267e8b),_0x267e8b;},getFileSize$1=async _0x36063e=>{if(_0x2e26ba(_0x36063e)||_0x5990b5(_0x36063e))return _0x36063e['size'];if(isReactNativeAsset$1(_0x36063e))return(await getBlobFromReactNativeAsset$1(_0x36063e))['size'];throw new Error('Unknown\x20file\x20type.\x20Cannot\x20determine\x20file\x20size.');},isMultipart$1=(_0x5be915,_0xd89653=defaultSettings$1['multipartMinFileSize'])=>_0x5be915>=_0xd89653,_0x412c57=_0x56ad82=>{const _0x569401=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(_0x56ad82)&&_0x569401['test'](_0x56ad82);},_0xb6a998=_0x580b7f=>{const _0x55f44a=new RegExp('^(?:\x5cw+:)?\x5c/\x5c/([^\x5cs\x5c.]+\x5c.\x5cS{2}|localhost[\x5c:?\x5cd]*)\x5cS*$');return!isFileData$1(_0x580b7f)&&_0x55f44a['test'](_0x580b7f);},runWithConcurrency$1=(_0x15979e,_0x235f50)=>new Promise((_0x447f46,_0x321d1a)=>{const _0x1097e4=[];let _0xdc6d34=!0x1,_0x10dacb=_0x235f50['length'];const _0x5ac10f=[..._0x235f50],_0x137967=()=>{const _0x3c7972=_0x235f50['length']-_0x5ac10f['length'],_0x406a53=_0x5ac10f['shift']();_0x406a53&&_0x406a53()['then'](_0x34caea=>{_0xdc6d34||(_0x1097e4[_0x3c7972]=_0x34caea,_0x10dacb-=0x1,_0x10dacb?_0x137967():_0x447f46(_0x1097e4));})['catch'](_0x4e5dec=>{_0xdc6d34=!0x0,_0x321d1a(_0x4e5dec);});};for(let _0x598373=0x0;_0x598373<_0x15979e;_0x598373++)_0x137967();}),_0x2892cf=(_0x1dc381,_0x78cef9,_0x205a2a,_0x3156e1)=>{const _0x1c1b3b=_0x3156e1*_0x78cef9,_0x455ecd=Math['min'](_0x1c1b3b+_0x3156e1,_0x205a2a);return _0x1dc381['slice'](_0x1c1b3b,_0x455ecd);},_0x39acea=async(_0x48a903,_0x3bbbb8,_0x3ca396)=>_0x925fa6=>_0x2892cf(_0x48a903,_0x925fa6,_0x3bbbb8,_0x3ca396),uploadPart$1=(_0x1bcfa3,_0x7eb614,{publicKey:_0xb842f9,contentType:_0x20e037,onProgress:_0x47403f,signal:_0x23464f,integration:_0x4054c1,retryThrottledRequestMaxTimes:_0x5a06e8,retryNetworkErrorMaxTimes:_0x335913})=>multipartUpload$1(_0x1bcfa3,_0x7eb614,{'contentType':_0x20e037,'onProgress':_0x47403f,'signal':_0x23464f,'retryThrottledRequestMaxTimes':_0x5a06e8,'retryNetworkErrorMaxTimes':_0x335913}),uploadMultipart$1=async(_0x1b7527,{publicKey:_0x3495a4,fileName:_0x665306,fileSize:_0x37d3e9,baseURL:_0x55a937,secureSignature:_0x594782,secureExpire:_0x37511e,store:_0x79a598,signal:_0x4419ea,onProgress:_0x49ae07,source:_0x13839c,integration:_0x21e689,userAgent:_0x3b8adf,retryThrottledRequestMaxTimes:_0x41607a,retryNetworkErrorMaxTimes:_0x1b5450,contentType:_0x468c6d,multipartChunkSize:_0x338caf=defaultSettings$1['multipartChunkSize'],maxConcurrentRequests:_0x1df909=defaultSettings$1['maxConcurrentRequests'],baseCDN:_0xfa4e9d,metadata:_0x3c7789})=>{const _0x37043a=_0x37d3e9??await getFileSize$1(_0x1b7527);let _0x9ffc1e;const _0x507c0c=(_0x29ccfe,_0x3f89ae)=>{if(!_0x49ae07)return;_0x9ffc1e||(_0x9ffc1e=Array(_0x29ccfe)['fill'](0x0));const _0x581d55=_0x536733=>_0x536733['reduce']((_0x5c5ffa,_0x4ee279)=>_0x5c5ffa+_0x4ee279,0x0);return _0x31aa3d=>{_0x31aa3d['isComputable']&&(_0x9ffc1e[_0x3f89ae]=_0x31aa3d['value'],_0x49ae07({'isComputable':!0x0,'value':_0x581d55(_0x9ffc1e)/_0x29ccfe}));};};return _0x468c6d||=getContentType$1(_0x1b7527),multipartStart$1(_0x37043a,{'publicKey':_0x3495a4,'contentType':_0x468c6d,'fileName':_0x665306||getFileName$1(_0x1b7527),'baseURL':_0x55a937,'secureSignature':_0x594782,'secureExpire':_0x37511e,'store':_0x79a598,'signal':_0x4419ea,'source':_0x13839c,'integration':_0x21e689,'userAgent':_0x3b8adf,'retryThrottledRequestMaxTimes':_0x41607a,'retryNetworkErrorMaxTimes':_0x1b5450,'metadata':_0x3c7789,'multipartChunkSize':_0x338caf})['then'](async({uuid:_0x2e7cda,parts:_0x384424})=>{const _0x15715a=await _0x39acea(_0x1b7527,_0x37043a,_0x338caf);return Promise['all']([_0x2e7cda,runWithConcurrency$1(_0x1df909,_0x384424['map']((_0xb67334,_0x42fa91)=>()=>uploadPart$1(_0x15715a(_0x42fa91),_0xb67334,{'publicKey':_0x3495a4,'contentType':_0x468c6d,'onProgress':_0x507c0c(_0x384424['length'],_0x42fa91),'signal':_0x4419ea,'integration':_0x21e689,'retryThrottledRequestMaxTimes':_0x41607a,'retryNetworkErrorMaxTimes':_0x1b5450})))]);})['then'](([_0x506f71])=>multipartComplete$1(_0x506f71,{'publicKey':_0x3495a4,'baseURL':_0x55a937,'source':_0x13839c,'integration':_0x21e689,'userAgent':_0x3b8adf,'retryThrottledRequestMaxTimes':_0x41607a,'retryNetworkErrorMaxTimes':_0x1b5450}))['then'](_0x11c841=>_0x11c841['isReady']?_0x11c841:_0x1c385f(_0x11c841['uuid'],{'publicKey':_0x3495a4,'baseURL':_0x55a937,'source':_0x13839c,'integration':_0x21e689,'userAgent':_0x3b8adf,'retryThrottledRequestMaxTimes':_0x41607a,'retryNetworkErrorMaxTimes':_0x1b5450,'onProgress':_0x49ae07,'signal':_0x4419ea}))['then'](_0xf7084d=>new _0x913ff(_0xf7084d,{'baseCDN':_0xfa4e9d}));};async function _0xe073f2(_0x3bb7fd,{publicKey:_0x4b8924,fileName:_0x13a890,baseURL:_0x141609=defaultSettings$1['baseURL'],secureSignature:_0x30ffd6,secureExpire:_0x3ce5a8,store:_0x21fdd7,signal:_0x1fd6ff,onProgress:_0x10d589,source:_0x2448b5,integration:_0x2c3cc8,userAgent:_0x279422,retryThrottledRequestMaxTimes:_0x502ed5,retryNetworkErrorMaxTimes:_0x29e98d,contentType:_0x4f1dee,multipartMinFileSize:_0x20300a,multipartChunkSize:_0x4901d5,maxConcurrentRequests:_0x2608a7,baseCDN:_0x5b4161=defaultSettings$1['baseCDN'],checkForUrlDuplicates:_0x38685f,saveUrlForRecurrentUploads:_0x45f809,pusherKey:_0x4ea1a2,metadata:_0x44d631}){if(isFileData$1(_0x3bb7fd)){const _0x8b2880=await getFileSize$1(_0x3bb7fd);return isMultipart$1(_0x8b2880,_0x20300a)?uploadMultipart$1(_0x3bb7fd,{'publicKey':_0x4b8924,'contentType':_0x4f1dee,'multipartChunkSize':_0x4901d5,'fileSize':_0x8b2880,'fileName':_0x13a890,'baseURL':_0x141609,'secureSignature':_0x30ffd6,'secureExpire':_0x3ce5a8,'store':_0x21fdd7,'signal':_0x1fd6ff,'onProgress':_0x10d589,'source':_0x2448b5,'integration':_0x2c3cc8,'userAgent':_0x279422,'maxConcurrentRequests':_0x2608a7,'retryThrottledRequestMaxTimes':_0x502ed5,'retryNetworkErrorMaxTimes':_0x29e98d,'baseCDN':_0x5b4161,'metadata':_0x44d631}):uploadDirect$1(_0x3bb7fd,{'publicKey':_0x4b8924,'fileName':_0x13a890,'contentType':_0x4f1dee,'baseURL':_0x141609,'secureSignature':_0x30ffd6,'secureExpire':_0x3ce5a8,'store':_0x21fdd7,'signal':_0x1fd6ff,'onProgress':_0x10d589,'source':_0x2448b5,'integration':_0x2c3cc8,'userAgent':_0x279422,'retryThrottledRequestMaxTimes':_0x502ed5,'retryNetworkErrorMaxTimes':_0x29e98d,'baseCDN':_0x5b4161,'metadata':_0x44d631});}if(_0xb6a998(_0x3bb7fd))return _0x2629d1(_0x3bb7fd,{'publicKey':_0x4b8924,'fileName':_0x13a890,'baseURL':_0x141609,'baseCDN':_0x5b4161,'checkForUrlDuplicates':_0x38685f,'saveUrlForRecurrentUploads':_0x45f809,'secureSignature':_0x30ffd6,'secureExpire':_0x3ce5a8,'store':_0x21fdd7,'signal':_0x1fd6ff,'onProgress':_0x10d589,'source':_0x2448b5,'integration':_0x2c3cc8,'userAgent':_0x279422,'retryThrottledRequestMaxTimes':_0x502ed5,'pusherKey':_0x4ea1a2,'metadata':_0x44d631});if(_0x412c57(_0x3bb7fd))return _0xa672e8(_0x3bb7fd,{'publicKey':_0x4b8924,'fileName':_0x13a890,'baseURL':_0x141609,'signal':_0x1fd6ff,'onProgress':_0x10d589,'source':_0x2448b5,'integration':_0x2c3cc8,'userAgent':_0x279422,'retryThrottledRequestMaxTimes':_0x502ed5,'retryNetworkErrorMaxTimes':_0x29e98d,'baseCDN':_0x5b4161});throw new TypeError('File\x20uploading\x20from\x20\x22'+_0x3bb7fd+'\x22\x20is\x20not\x20supported');}class UploadUtils{static['upload']({file:_0x1f7cff,..._0x2be64a}){return _0xe073f2(_0x1f7cff,_0x2be64a);}static['getInfo'](_0x2831a2,_0x3eb471){return _0xf5d8df(_0x2831a2,_0x3eb471);}}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 _0x2033e7=this['editor'];if(!!!_0x2033e7['config']['get']('uploadcare'))return;_0x2033e7['plugins']['get'](ckeditor5['FileRepository'])['createUploadAdapter']=_0x48e8fd=>new Adapter(_0x48e8fd,_0x2033e7),_0x2033e7['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x48afd2,{imageElement:_0x1a418b,data:_0x3a479a})=>{_0x2033e7['model']['change'](_0x480695=>{_0x480695['setAttribute']('uploadcareImageId',_0x3a479a['uploadcareImageId'],_0x1a418b);});});}}class Adapter{['loader'];['editor'];['controller'];constructor(_0x37c32a,_0x3c1c64){this['loader']=_0x37c32a,this['editor']=_0x3c1c64,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x3f7ad7=await this['loader']['file'];return UploadUtils['upload']({'file':_0x3f7ad7,'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':_0x1f45f9=>{_0x1f45f9&&_0x1f45f9['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x1f45f9['value']);}})['then'](async _0x2ff196=>{const {imageFallbackUrl:_0x30af09,imageSources:_0x4aadf5}=getImageUrls(_0x2ff196['cdnUrl'],_0x2ff196['imageInfo']['width']);return{'uploadcareImageId':_0x2ff196['uuid'],'default':_0x30af09,'sources':_0x4aadf5};})['catch'](()=>{const _0x2ce8b4=t('Cannot\x20upload\x20file:')+('\x20'+_0x3f7ad7['name']+'.');return Promise['reject'](_0x2ce8b4);});}['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(_0x43ff5e){super(_0x43ff5e),this['ucContextId']=ckeditor5['uid']();}['init'](){const _0x48b7f7=this['editor'];_0x48b7f7['commands']['add']('uploadcare',new _0x500c4f(_0x48b7f7));}['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 _0x4a4d65=ckeditor5['global']['document']['querySelector']('input[uploadcare-file-input]');_0x4a4d65&&_0x4a4d65['remove']();}),_0x1c7f91(this);}['_initSchema'](){const _0x37a581=this['editor']['model']['schema'];_0x37a581['isRegistered']('imageBlock')&&_0x37a581['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x37a581['isRegistered']('imageInline')&&_0x37a581['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x46b7be=this['editor'];_0x46b7be['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x46b7be['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x4019f4=>_0x4019f4['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x180fe0=_0x46b7be['commands']['get']('replaceImageSource');_0x180fe0&&this['listenTo'](_0x180fe0,'cleanupImage',(_0x5773e9,[_0x4fe4cb,_0x339e98])=>{_0x4fe4cb['removeAttribute']('uploadcareImageId',_0x339e98);});}['_initConfig'](){const _0x55905e=this['editor']['config']['get']('uploadcare.uploader')||{},_0x5cb0f3=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=ckeditor5['createElement'](ckeditor5['global']['document'],'uc-config',{..._0x55905e,'pubkey':_0x5cb0f3,'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']=_0x158aaf=>{if('closeMax'==_0x158aaf)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 _0x50585c=this['editor']['commands']['get']('insertImage');_0x50585c&&this['listenTo'](_0x50585c,'execute',()=>{const _0x260219=this['editor']['model']['document']['selection']['getSelectedElement']();_0x260219&&_0x260219['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{showImageProcessingIndicator(this['editor'],_0x260219);});});const _0x53e92d=this['editor']['commands']['get']('uploadcareImageReplace');_0x53e92d&&this['listenTo'](_0x53e92d,'execute',()=>{const _0x5d653a=this['editor']['model']['document']['selection']['getSelectedElement']();_0x5d653a&&_0x5d653a['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{showImageProcessingIndicator(this['editor'],_0x5d653a);});});}}async function _0x1c7f91(_0x33cf04){const _0x57aaf9=_0x3c5c63([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]),_0x3e3f82=window[_0x3c5c63([0x44,0x61,0x74,0x65])][_0x3c5c63([0x6e,0x6f,0x77])](),_0x1d082f=_0x33cf04[_0x3c5c63([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x56387e=new window[(_0x3c5c63([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x10bee0=>{_0x1d082f[_0x3c5c63([0x6f,0x6e,0x63,0x65])](_0x3c5c63([0x72,0x65,0x61,0x64,0x79]),_0x10bee0);}),_0x1d6f9c={[_0x3c5c63([0x6b,0x74,0x79])]:_0x3c5c63([0x45,0x43]),[_0x3c5c63([0x75,0x73,0x65])]:_0x3c5c63([0x73,0x69,0x67]),[_0x3c5c63([0x63,0x72,0x76])]:_0x3c5c63([0x50,0x2d,0x32,0x35,0x36]),[_0x3c5c63([0x78])]:_0x3c5c63([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]),[_0x3c5c63([0x79])]:_0x3c5c63([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]),[_0x3c5c63([0x61,0x6c,0x67])]:_0x3c5c63([0x45,0x53,0x32,0x35,0x36])},_0x53ad77=_0x1d082f[_0x3c5c63([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x3c5c63([0x67,0x65,0x74])](_0x3c5c63([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x403bd2=await(async function(){let _0xc5aad0,_0x1f3f71=null,_0xa2e65c=null;try{if(_0x53ad77==_0x3c5c63([0x47,0x50,0x4c]))return _0x3c5c63([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0xc5aad0=(function(){const _0x3a98ba=_0x53ad77[_0x3c5c63([0x73,0x70,0x6c,0x69,0x74])](_0x3c5c63([0x2e]));if(0x3!=_0x3a98ba[_0x3c5c63([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;const _0x24b86d=_0x3a98ba[0x1];return _0x37c2a5(_0x24b86d);function _0x37c2a5(_0x4078f7){const _0x1c534b=_0x1b5a63(_0x4078f7);return _0x1c534b&&_0x53e948()?_0x1c534b:null;function _0x53e948(){const _0x4a3f5a=_0x1c534b[_0x3c5c63([0x6a,0x74,0x69])],_0x528382=window[_0x3c5c63([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4a3f5a[_0x3c5c63([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4a3f5a[_0x3c5c63([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x30b398={..._0x1c534b,[_0x3c5c63([0x6a,0x74,0x69])]:_0x4a3f5a[_0x3c5c63([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x4a3f5a[_0x3c5c63([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x30b398[_0x3c5c63([0x76,0x63])],_0x58ef46(_0x30b398)==_0x528382;}}}()),!_0xc5aad0)return _0x3c5c63([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);_0xc5aad0[_0x3c5c63([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0xa2e65c=function(_0xa1fcf9,_0xd9e30e){return new window[(_0x3c5c63([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x19db5b=>{if(_0x2efa93())return _0x19db5b(_0x3c5c63([0x56,0x61,0x6c,0x69,0x64]));_0x304a3d(),_0x1d082f[_0x3c5c63([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x3c5c63([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x176fe6=!0x1;const _0x380f8c=ckeditor5['uid']();function _0x1cd78f(_0x4bd9ab){return!!_0x4bd9ab&&(typeof _0x4bd9ab===_0x3c5c63([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x4bd9ab===_0x3c5c63([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x4bd9ab[_0x3c5c63([0x74,0x68,0x65,0x6e])]===_0x3c5c63([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x4bd9ab[_0x3c5c63([0x63,0x61,0x74,0x63,0x68])]===_0x3c5c63([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x5bd623(_0xefe280){_0x485df4(_0xefe280)[_0x3c5c63([0x74,0x68,0x65,0x6e])](_0x357439=>{if(!_0x357439||_0x357439[_0x3c5c63([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x3c5c63([0x6f,0x6b]))return _0x3c5c63([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x29a49f(_0x58ef46(_0x380f8c+_0xd9e30e))!=_0x357439[_0x3c5c63([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x3c5c63([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x3c5c63([0x56,0x61,0x6c,0x69,0x64]);})[_0x3c5c63([0x74,0x68,0x65,0x6e])](_0x3e9285=>(_0x25ca3e(),_0x3e9285),()=>{const _0x3ce4ad=_0x12c616();return null==_0x3ce4ad?(_0x25ca3e(),_0x3c5c63([0x56,0x61,0x6c,0x69,0x64])):_0x3c5c63(_0x3e3f82-_0x3ce4ad>0x240c8400?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x3c5c63([0x74,0x68,0x65,0x6e])](_0x19db5b)[_0x3c5c63([0x63,0x61,0x74,0x63,0x68])](()=>{_0x19db5b(_0x3c5c63([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x50702b=0x36ee80;function _0x25ca3e(){const _0xd16c54=_0x3c5c63([0x6c,0x6c,0x63,0x74,0x2d])+_0x29a49f(_0x58ef46(_0xa1fcf9)),_0x27970e=_0xb9a826(_0x29a49f(window[_0x3c5c63([0x4d,0x61,0x74,0x68])][_0x3c5c63([0x63,0x65,0x69,0x6c])](_0x3e3f82/_0x50702b)));window[_0x3c5c63([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3c5c63([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xd16c54,_0x27970e);}function _0x12c616(){const _0x859830=_0x3c5c63([0x6c,0x6c,0x63,0x74,0x2d])+_0x29a49f(_0x58ef46(_0xa1fcf9)),_0x220e8a=window[_0x3c5c63([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3c5c63([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x859830);return _0x220e8a?window[_0x3c5c63([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xb9a826(_0x220e8a),0x10)*_0x50702b:null;}function _0x485df4(_0x63063f){return new window[(_0x3c5c63([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4ac63e,_0x387cd8)=>{_0x63063f[_0x3c5c63([0x74,0x68,0x65,0x6e])](_0x4ac63e,_0x387cd8),window[_0x3c5c63([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x387cd8,0x1d4c0);});}}_0x1d082f[_0x3c5c63([0x6f,0x6e])](_0x3c5c63([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x329351,_0x3573d2)=>{if(_0x3573d2[0x0]!=_0xa1fcf9)return _0x19db5b(_0x3c5c63([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x3573d2[0x1]={..._0x3573d2[0x1],[_0x3c5c63([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x380f8c};},{[_0x3c5c63([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3c5c63([0x68,0x69,0x67,0x68])}),_0x1d082f[_0x3c5c63([0x6f,0x6e])](_0x3c5c63([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x5c8cf7=>{_0x1cd78f(_0x5c8cf7[_0x3c5c63([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x176fe6=!0x0,_0x5bd623(_0x5c8cf7[_0x3c5c63([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x3c5c63([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3c5c63([0x6c,0x6f,0x77])}),_0x56387e[_0x3c5c63([0x74,0x68,0x65,0x6e])](()=>{_0x176fe6||_0x19db5b(_0x3c5c63([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x2efa93(){return _0x1d082f[_0x3c5c63([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3c5c63([0x76,0x69,0x65,0x77])][_0x3c5c63([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x3c5c63([0x61,0x75,0x74,0x6f]);}function _0x304a3d(){_0x1d082f[_0x3c5c63([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3c5c63([0x76,0x69,0x65,0x77])][_0x3c5c63([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x3c5c63([0x61,0x75,0x74,0x6f]);}}(_0xc5aad0[_0x3c5c63([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0xc5aad0[_0x3c5c63([0x6a,0x74,0x69])]));const _0x3635d4=await(async function(){let _0xea92dd=!0x0;try{const _0x3a8977=_0x53ad77[_0x3c5c63([0x73,0x70,0x6c,0x69,0x74])](_0x3c5c63([0x2e])),[_0x6ea648,_0x5dfeec,_0x435c4b]=_0x3a8977;return _0x6671f1(_0x6ea648),await _0x2a48a0(_0x6ea648,_0x5dfeec,_0x435c4b),_0xea92dd;}catch{return!0x1;}function _0x6671f1(_0x2b83c4){const _0x49ddc9=_0x1b5a63(_0x2b83c4);_0x49ddc9&&_0x49ddc9[_0x3c5c63([0x61,0x6c,0x67])]==_0x3c5c63([0x45,0x53,0x32,0x35,0x36])||(_0xea92dd=!0x1);}async function _0x2a48a0(_0xf8c2c3,_0x49228c,_0x19d5f3){const _0x4292b8=window[_0x3c5c63([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x3c5c63([0x66,0x72,0x6f,0x6d])](_0x2898e7(_0x19d5f3),_0x7fde30=>_0x7fde30[_0x3c5c63([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x2b703a=new window[(_0x3c5c63([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x3c5c63([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0xf8c2c3+_0x3c5c63([0x2e])+_0x49228c),_0x578d14=window[_0x3c5c63([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x3c5c63([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x578d14)return;const _0x4d9f11=await _0x578d14[_0x3c5c63([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x3c5c63([0x6a,0x77,0x6b]),_0x1d6f9c,{[_0x3c5c63([0x6e,0x61,0x6d,0x65])]:_0x3c5c63([0x45,0x43,0x44,0x53,0x41]),[_0x3c5c63([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x3c5c63([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x3c5c63([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x578d14[_0x3c5c63([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x3c5c63([0x6e,0x61,0x6d,0x65])]:_0x3c5c63([0x45,0x43,0x44,0x53,0x41]),[_0x3c5c63([0x68,0x61,0x73,0x68])]:{[_0x3c5c63([0x6e,0x61,0x6d,0x65])]:_0x3c5c63([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x4d9f11,_0x4292b8,_0x2b703a)||(_0xea92dd=!0x1);}}());return _0x3635d4?(function(){const _0x53c264=_0xc5aad0[_0x3c5c63([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];if(!_0x53c264)return!0x1;if(_0x53c264[_0x3c5c63([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3c5c63([0x2a])))return!0x0;if(_0x53c264[_0x3c5c63([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3c5c63([0x55,0x50,0x4c,0x43])))return!0x0;return!0x1;}())?(function(){const _0x3656fc=[_0x3c5c63([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x3c5c63([0x74,0x72,0x69,0x61,0x6c])][_0x3c5c63([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xc5aad0[_0x3c5c63([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x3e3f82/0x3e8:0x68f03580;return _0xc5aad0[_0x3c5c63([0x65,0x78,0x70])]<_0x3656fc;}())?_0x3c5c63([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):(function(){const _0x24ae5f=_0xc5aad0[_0x3c5c63([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x24ae5f||0x0==_0x24ae5f[_0x3c5c63([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x34db7d}=new URL(window[_0x3c5c63([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x24ae5f[_0x3c5c63([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x34db7d))return!0x0;const _0x2157c5=_0x34db7d[_0x3c5c63([0x73,0x70,0x6c,0x69,0x74])](_0x3c5c63([0x2e]));return _0x24ae5f[_0x3c5c63([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x514cb2=>_0x514cb2[_0x3c5c63([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3c5c63([0x2a])))[_0x3c5c63([0x6d,0x61,0x70])](_0x414e58=>_0x414e58[_0x3c5c63([0x73,0x70,0x6c,0x69,0x74])](_0x3c5c63([0x2e])))[_0x3c5c63([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2fe8d9=>_0x2fe8d9[_0x3c5c63([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x2157c5[_0x3c5c63([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3c5c63([0x6d,0x61,0x70])](_0xafa67d=>Array(_0x2157c5[_0x3c5c63([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0xafa67d[_0x3c5c63([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3c5c63([0x66,0x69,0x6c,0x6c])](_0xafa67d[0x0]===_0x3c5c63([0x2a])?_0x3c5c63([0x2a]):'')[_0x3c5c63([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0xafa67d))[_0x3c5c63([0x73,0x6f,0x6d,0x65])](_0x37bf95=>_0x2157c5[_0x3c5c63([0x65,0x76,0x65,0x72,0x79])]((_0x14dd50,_0x2ca6ee)=>_0x37bf95[_0x2ca6ee]===_0x14dd50||_0x37bf95[_0x2ca6ee]===_0x3c5c63([0x2a])));}())?(_0xc5aad0[_0x3c5c63([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3c5c63([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x1f3f71=_0x79f9db(_0x3c5c63([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0xc5aad0[_0x3c5c63([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3c5c63([0x74,0x72,0x69,0x61,0x6c])&&(_0x1f3f71=_0x79f9db(_0x3c5c63([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await(function(){if(_0x1f3f71&&_0xa2e65c)return new window[(_0x3c5c63([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2979ad,_0x8f46cc)=>{_0x1f3f71[_0x3c5c63([0x74,0x68,0x65,0x6e])](_0x2979ad,_0x8f46cc),_0xa2e65c[_0x3c5c63([0x74,0x68,0x65,0x6e])](_0x172224=>{_0x172224!=_0x3c5c63([0x56,0x61,0x6c,0x69,0x64])&&_0x2979ad(_0x172224);},_0x8f46cc);});return _0x1f3f71||_0xa2e65c||_0x3c5c63([0x56,0x61,0x6c,0x69,0x64]);}())):_0x3c5c63([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x3c5c63([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x3c5c63([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x3c5c63([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}}());function _0x79f9db(_0x1d95b0){const _0x37c0dc=[new window[(_0x3c5c63([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x57e224=>setTimeout(_0x57e224,0x93ecc)),_0x56387e[_0x3c5c63([0x74,0x68,0x65,0x6e])](()=>new window[(_0x3c5c63([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x84a60c=>{let _0x3f7e2b=0x0;_0x1d082f[_0x3c5c63([0x6d,0x6f,0x64,0x65,0x6c])][_0x3c5c63([0x6f,0x6e])](_0x3c5c63([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x26026e,_0x51ce06)=>{_0x51ce06[0x0][_0x3c5c63([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x3f7e2b++,0x1f8==_0x3f7e2b&&(_0x84a60c(),_0x26026e[_0x3c5c63([0x6f,0x66,0x66])]());});}))];return window[_0x3c5c63([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x3c5c63([0x72,0x61,0x63,0x65])](_0x37c0dc)[_0x3c5c63([0x74,0x68,0x65,0x6e])](()=>_0x1d95b0);}function _0x1b5a63(_0x48689d){return _0x48689d[_0x3c5c63([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x3c5c63([0x65,0x79]))?JSON[_0x3c5c63([0x70,0x61,0x72,0x73,0x65])](_0x2898e7(_0x48689d)):null;}function _0x2898e7(_0x51c57b){return window[_0x3c5c63([0x61,0x74,0x6f,0x62])](_0x51c57b[_0x3c5c63([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x3c5c63([0x2b]))[_0x3c5c63([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x3c5c63([0x2f])));}function _0x58ef46(_0x4d2d4c){let _0x3045a8=0x1505;function _0xbe773c(_0x3dc637){for(let _0x5155df=0x0;_0x5155df<_0x3dc637[_0x3c5c63([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5155df++){const _0xef0fc9=_0x3dc637[_0x3c5c63([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x5155df);_0x3045a8=(_0x3045a8<<0x5)+_0x3045a8+_0xef0fc9,_0x3045a8&=_0x3045a8;}}return function _0x409c21(_0x430781){Array[_0x3c5c63([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x430781)?_0x430781[_0x3c5c63([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x409c21):_0x430781&&typeof _0x430781==_0x3c5c63([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x3c5c63([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x430781)[_0x3c5c63([0x73,0x6f,0x72,0x74])]()[_0x3c5c63([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x4033f3,_0x278e99])=>{_0xbe773c(_0x4033f3),_0x409c21(_0x278e99);}):_0xbe773c(window[_0x3c5c63([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x430781));}(_0x4d2d4c),_0x3045a8>>>0x0;}function _0x29a49f(_0x3801c9){return _0x3801c9[_0x3c5c63([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x3c5c63([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x3c5c63([0x30]));}function _0xb9a826(_0x841e7f){return _0x841e7f[_0x3c5c63([0x73,0x70,0x6c,0x69,0x74])]('')[_0x3c5c63([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x3c5c63([0x6a,0x6f,0x69,0x6e])]('');}function _0x4dcb38(){}function _0x3c5c63(_0x3bbbfc){return _0x3bbbfc['map'](_0x4fe248=>String['fromCharCode'](_0x4fe248))['join']('');}!function(_0x55833c){const _0xde604e=(function(){const _0x159b71=window[_0x3c5c63([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x3c5c63([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3c5c63([0x6e,0x6f,0x77])]())[_0x3c5c63([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3c5c63([0x2e]),'');let _0xd21e0f=_0x3c5c63([0x52]);for(let _0x943113=0x0;_0x943113<_0x159b71[_0x3c5c63([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x943113+=0x2){let _0x7946e8=window[_0x3c5c63([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x159b71[_0x3c5c63([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x943113,_0x943113+0x2));_0x7946e8>=_0x57aaf9[_0x3c5c63([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x7946e8-=_0x57aaf9[_0x3c5c63([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0xd21e0f+=_0x57aaf9[_0x7946e8];}return _0xd21e0f;}());_0x1d082f[_0xde604e]=_0x3c5c63([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x55833c,_0x55833c!=_0x3c5c63([0x56,0x61,0x6c,0x69,0x64])&&(async function(){await _0x56387e,_0x1d082f[_0x3c5c63([0x6d,0x6f,0x64,0x65,0x6c])][_0x3c5c63([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x4dcb38,_0x1d082f[_0x3c5c63([0x6d,0x6f,0x64,0x65,0x6c])][_0x3c5c63([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x4dcb38,_0x1d082f[_0x3c5c63([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3c5c63([0x6d,0x6f,0x64,0x65,0x6c]));}());}(_0x403bd2);}var _0x99ed72=Object['defineProperty'],_0x5f5c77=(_0x3ab564,_0x414174,_0x5ca753)=>_0x414174 in _0x3ab564?_0x99ed72(_0x3ab564,_0x414174,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5ca753}):_0x3ab564[_0x414174]=_0x5ca753,_0x20c773=(_0x4dabec,_0x1f0122,_0x528182)=>(_0x5f5c77(_0x4dabec,'symbol'!=typeof _0x1f0122?_0x1f0122+'':_0x1f0122,_0x528182),_0x528182);function _0x3c9d98(_0x24444a){let _0x580008=_0x4a85dd=>{var _0x5834de;for(let _0x3b6a40 in _0x4a85dd)(null==(_0x5834de=_0x4a85dd[_0x3b6a40])?void 0x0:_0x5834de['constructor'])===Object&&(_0x4a85dd[_0x3b6a40]=_0x580008(_0x4a85dd[_0x3b6a40]));return{..._0x4a85dd};};return _0x580008(_0x24444a);}var Data=class{constructor(_0x37812d){_0x37812d['constructor']===Object?this['store']=_0x3c9d98(_0x37812d):(this['_storeIsProxy']=!0x0,this['store']=_0x37812d),this['callbackMap']=Object['create'](null);}static['warn'](_0x52060e,_0x19988c){console['warn']('Symbiote\x20Data:\x20cannot\x20'+_0x52060e+'.\x20Prop\x20name:\x20'+_0x19988c);}['read'](_0x34b167){return this['_storeIsProxy']||this['store']['hasOwnProperty'](_0x34b167)?this['store'][_0x34b167]:(Data['warn']('read',_0x34b167),null);}['has'](_0x2da5af){return this['_storeIsProxy']?void 0x0!==this['store'][_0x2da5af]:this['store']['hasOwnProperty'](_0x2da5af);}['add'](_0x4f3650,_0x94a9cd,_0x5a3c74=!0x1){!_0x5a3c74&&Object['keys'](this['store'])['includes'](_0x4f3650)||(this['store'][_0x4f3650]=_0x94a9cd,this['notify'](_0x4f3650));}['pub'](_0x2ac14f,_0x13530d){this['_storeIsProxy']||this['store']['hasOwnProperty'](_0x2ac14f)?(this['store'][_0x2ac14f]=_0x13530d,this['notify'](_0x2ac14f)):Data['warn']('publish',_0x2ac14f);}['multiPub'](_0x4eef88){for(let _0x26f8ca in _0x4eef88)this['pub'](_0x26f8ca,_0x4eef88[_0x26f8ca]);}['notify'](_0x433222){this['callbackMap'][_0x433222]&&this['callbackMap'][_0x433222]['forEach'](_0x129f04=>{_0x129f04(this['store'][_0x433222]);});}['sub'](_0x921c83,_0x348841,_0x397a94=!0x0){return this['_storeIsProxy']||this['store']['hasOwnProperty'](_0x921c83)?(this['callbackMap'][_0x921c83]||(this['callbackMap'][_0x921c83]=new Set()),this['callbackMap'][_0x921c83]['add'](_0x348841),_0x397a94&&_0x348841(this['store'][_0x921c83]),{'remove':()=>{this['callbackMap'][_0x921c83]['delete'](_0x348841),this['callbackMap'][_0x921c83]['size']||delete this['callbackMap'][_0x921c83];},'callback':_0x348841}):(Data['warn']('subscribe',_0x921c83),null);}static['registerCtx'](_0x45985d,_0x430226=Symbol()){let _0x419e65=Data['globalStore']['get'](_0x430226);return _0x419e65?console['warn']('State:\x20context\x20UID\x20\x22'+_0x430226+'\x22\x20already\x20in\x20use'):(_0x419e65=new Data(_0x45985d),Data['globalStore']['set'](_0x430226,_0x419e65)),_0x419e65;}static['deleteCtx'](_0x1b3d40){Data['globalStore']['delete'](_0x1b3d40);}static['getCtx'](_0x157ff7,_0x1e0c7c=!0x0){return Data['globalStore']['get'](_0x157ff7)||(_0x1e0c7c&&console['warn']('State:\x20wrong\x20context\x20UID\x20-\x20\x22'+_0x157ff7+'\x22'),null);}};Data['globalStore']=new Map();var _0x5da4d3=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'}),_0x3e3ede='1234567890QWERTYUIOPASDFGHJKLZXCVBNMqwertyuiopasdfghjklzxcvbnm',_0x1f7ef1=_0x3e3ede['length']-0x1,_0x412687=class{static['generate'](_0x50f7cd='XXXXXXXXX-XXX'){let _0x4f0179='';for(let _0x15b53a=0x0;_0x15b53a<_0x50f7cd['length'];_0x15b53a++)_0x4f0179+='-'===_0x50f7cd[_0x15b53a]?_0x50f7cd[_0x15b53a]:_0x3e3ede['charAt'](Math['random']()*_0x1f7ef1);return _0x4f0179;}};function setNestedProp(_0x5a9a2c,_0x402cd9,_0x5b6f72){let _0x522ea3,_0x4186f5=!0x0,_0x38e11b=_0x402cd9['split']('.');return _0x38e11b['forEach']((_0x4f77bc,_0x5c2914)=>{_0x5c2914<_0x38e11b['length']-0x1?_0x5a9a2c=_0x5a9a2c[_0x4f77bc]:_0x522ea3=_0x4f77bc;}),_0x5a9a2c?_0x5a9a2c[_0x522ea3]=_0x5b6f72:_0x4186f5=!0x1,_0x4186f5;}function _0x4c0ca0(_0x1f7c30){return _0x1f7c30['split']('-')['map']((_0xd3fbe0,_0x20b38a)=>_0xd3fbe0&&_0x20b38a?_0xd3fbe0[0x0]['toUpperCase']()+_0xd3fbe0['slice'](0x1):_0xd3fbe0)['join']('')['split']('_')['map']((_0x16407c,_0x305573)=>_0x16407c&&_0x305573?_0x16407c['toUpperCase']():_0x16407c)['join']('');}function repeatProcessor(_0x44371a,_0x206d54){[..._0x44371a['querySelectorAll']('['+_0x5da4d3['REPEAT_ATTR']+']')]['forEach'](_0x4bb38c=>{let _0x592371,_0x3e3f5f=_0x4bb38c['getAttribute'](_0x5da4d3['REPEAT_ITEM_TAG_ATTR']);if(_0x3e3f5f&&(_0x592371=window['customElements']['get'](_0x3e3f5f)),!_0x592371){_0x592371=class extends _0x206d54['BaseComponent']{constructor(){super(),_0x3e3f5f||(this['style']['display']='contents');}};let _0x32fc6e=_0x4bb38c['innerHTML'];_0x592371['template']=_0x32fc6e,_0x592371['reg'](_0x3e3f5f);}for(;_0x4bb38c['firstChild'];)_0x4bb38c['firstChild']['remove']();let _0x3a299c=_0x4bb38c['getAttribute'](_0x5da4d3['REPEAT_ATTR']);_0x206d54['sub'](_0x3a299c,_0xa4fd3b=>{if(!_0xa4fd3b){for(;_0x4bb38c['firstChild'];)_0x4bb38c['firstChild']['remove']();return;}let _0x1f831b,_0x25fb01=[..._0x4bb38c['children']],_0x13cee1=_0x40078b=>{_0x40078b['forEach']((_0x496088,_0xb6c7de)=>{if(_0x25fb01[_0xb6c7de]){if(_0x25fb01[_0xb6c7de]['set$'])setTimeout(()=>{_0x25fb01[_0xb6c7de]['set$'](_0x496088);});else{for(let _0x3649d4 in _0x496088)_0x25fb01[_0xb6c7de][_0x3649d4]=_0x496088[_0x3649d4];}}else{_0x1f831b||(_0x1f831b=new DocumentFragment());let _0x8560d9=new _0x592371();Object['assign'](_0x8560d9['init$'],_0x496088),_0x1f831b['appendChild'](_0x8560d9);}}),_0x1f831b&&_0x4bb38c['appendChild'](_0x1f831b);let _0x4ce6e0=_0x25fb01['slice'](_0x40078b['length'],_0x25fb01['length']);for(let _0x56c8aa of _0x4ce6e0)_0x56c8aa['remove']();};if(_0xa4fd3b['constructor']===Array)_0x13cee1(_0xa4fd3b);else{if(_0xa4fd3b['constructor']===Object){let _0x26785c=[];for(let _0xaa8f71 in _0xa4fd3b){let _0x27e4cc=_0xa4fd3b[_0xaa8f71];Object['defineProperty'](_0x27e4cc,'_KEY_',{'value':_0xaa8f71,'enumerable':!0x0}),_0x26785c['push'](_0x27e4cc);}_0x13cee1(_0x26785c);}else console['warn']('Symbiote\x20repeat\x20data\x20type\x20error:'),console['log'](_0xa4fd3b);}}),_0x4bb38c['removeAttribute'](_0x5da4d3['REPEAT_ATTR']),_0x4bb38c['removeAttribute'](_0x5da4d3['REPEAT_ITEM_TAG_ATTR']);});}var _0x4a640e='__default__';function slotProcessor(_0x552029,_0x18b595){if(_0x18b595['shadowRoot'])return;let _0x297d91=[..._0x552029['querySelectorAll']('slot')];if(!_0x297d91['length'])return;let _0x3bf7a4={};_0x297d91['forEach'](_0x1d6cbd=>{let _0x31cdfa=_0x1d6cbd['getAttribute']('name')||_0x4a640e;_0x3bf7a4[_0x31cdfa]={'slot':_0x1d6cbd,'fr':document['createDocumentFragment']()};}),_0x18b595['initChildren']['forEach'](_0xeaa3cb=>{var _0x88d9e7;let _0x47defc=_0x4a640e;_0xeaa3cb instanceof Element&&_0xeaa3cb['hasAttribute']('slot')&&(_0x47defc=_0xeaa3cb['getAttribute']('slot'),_0xeaa3cb['removeAttribute']('slot')),null==(_0x88d9e7=_0x3bf7a4[_0x47defc])||_0x88d9e7['fr']['appendChild'](_0xeaa3cb);}),Object['values'](_0x3bf7a4)['forEach'](_0xfb9865=>{if(_0xfb9865['fr']['childNodes']['length'])_0xfb9865['slot']['parentNode']['replaceChild'](_0xfb9865['fr'],_0xfb9865['slot']);else{if(_0xfb9865['slot']['childNodes']['length']){let _0x158b44=document['createDocumentFragment']();_0x158b44['append'](..._0xfb9865['slot']['childNodes']),_0xfb9865['slot']['parentNode']['replaceChild'](_0x158b44,_0xfb9865['slot']);}else _0xfb9865['slot']['remove']();}});}function _0x233e98(_0x4a88a6,_0x21d0a3){[..._0x4a88a6['querySelectorAll']('['+_0x5da4d3['EL_REF_ATTR']+']')]['forEach'](_0x4a4af0=>{let _0x3168d6=_0x4a4af0['getAttribute'](_0x5da4d3['EL_REF_ATTR']);_0x21d0a3['ref'][_0x3168d6]=_0x4a4af0,_0x4a4af0['removeAttribute'](_0x5da4d3['EL_REF_ATTR']);});}function domSetProcessor(_0x9314ce,_0x57836b){[..._0x9314ce['querySelectorAll']('['+_0x5da4d3['BIND_ATTR']+']')]['forEach'](_0x2edd66=>{let _0x5d90f1=_0x2edd66['getAttribute'](_0x5da4d3['BIND_ATTR'])['split'](';');[..._0x2edd66['attributes']]['forEach'](_0x343708=>{if(_0x343708['name']['startsWith']('-')&&_0x343708['value']){let _0x3dffcc=_0x4c0ca0(_0x343708['name']['replace']('-',''));_0x5d90f1['push'](_0x3dffcc+':'+_0x343708['value']),_0x2edd66['removeAttribute'](_0x343708['name']);}}),_0x5d90f1['forEach'](_0x4dcf43=>{if(!_0x4dcf43)return;let _0x34e1a8,_0x468636=_0x4dcf43['split'](':')['map'](_0x28dc61=>_0x28dc61['trim']()),_0x4b33e2=_0x468636[0x0];0x0===_0x4b33e2['indexOf'](_0x5da4d3['ATTR_BIND_PRFX'])&&(_0x34e1a8=!0x0,_0x4b33e2=_0x4b33e2['replace'](_0x5da4d3['ATTR_BIND_PRFX'],''));let _0x3f09a8=_0x468636[0x1]['split'](',')['map'](_0x3adffc=>_0x3adffc['trim']());for(let _0x332d84 of _0x3f09a8){let _0x270369;_0x332d84['startsWith']('!!')?(_0x270369='double',_0x332d84=_0x332d84['replace']('!!','')):_0x332d84['startsWith']('!')&&(_0x270369='single',_0x332d84=_0x332d84['replace']('!','')),_0x57836b['sub'](_0x332d84,_0x39ab3a=>{'double'===_0x270369?_0x39ab3a=!!_0x39ab3a:'single'===_0x270369&&(_0x39ab3a=!_0x39ab3a),_0x34e1a8?(null==_0x39ab3a?void 0x0:_0x39ab3a['constructor'])===Boolean?_0x39ab3a?_0x2edd66['setAttribute'](_0x4b33e2,''):_0x2edd66['removeAttribute'](_0x4b33e2):_0x2edd66['setAttribute'](_0x4b33e2,_0x39ab3a):setNestedProp(_0x2edd66,_0x4b33e2,_0x39ab3a)||(_0x2edd66[_0x5da4d3['SET_LATER_KEY']]||(_0x2edd66[_0x5da4d3['SET_LATER_KEY']]=Object['create'](null)),_0x2edd66[_0x5da4d3['SET_LATER_KEY']][_0x4b33e2]=_0x39ab3a);});}}),_0x2edd66['removeAttribute'](_0x5da4d3['BIND_ATTR']);});}var _0x4b8218='{{',_0x1c7ed1='}}',_0xdc6c64='skip-text';function getTextNodesWithTokens(_0x525fbe){let _0x188958,_0x32d2b7=[],_0x305b8f=document['createTreeWalker'](_0x525fbe,NodeFilter['SHOW_TEXT'],{'acceptNode':_0x506241=>{var _0x1da61b;return!(null==(_0x1da61b=_0x506241['parentElement'])?void 0x0:_0x1da61b['hasAttribute'](_0xdc6c64))&&_0x506241['textContent']['includes'](_0x4b8218)&&_0x506241['textContent']['includes'](_0x1c7ed1)&&0x1;}});for(;_0x188958=_0x305b8f['nextNode']();)_0x32d2b7['push'](_0x188958);return _0x32d2b7;}var txtNodesProcessor=function(_0x2920d,_0x8c05bd){getTextNodesWithTokens(_0x2920d)['forEach'](_0x5ebbdb=>{let _0x28eb0a,_0x4cda28=[];for(;_0x5ebbdb['textContent']['includes'](_0x1c7ed1);)_0x5ebbdb['textContent']['startsWith'](_0x4b8218)?(_0x28eb0a=_0x5ebbdb['textContent']['indexOf'](_0x1c7ed1)+_0x1c7ed1['length'],_0x5ebbdb['splitText'](_0x28eb0a),_0x4cda28['push'](_0x5ebbdb)):(_0x28eb0a=_0x5ebbdb['textContent']['indexOf'](_0x4b8218),_0x5ebbdb['splitText'](_0x28eb0a)),_0x5ebbdb=_0x5ebbdb['nextSibling'];_0x4cda28['forEach'](_0x2f502f=>{let _0x301595=_0x2f502f['textContent']['replace'](_0x4b8218,'')['replace'](_0x1c7ed1,'');_0x2f502f['textContent']='',_0x8c05bd['sub'](_0x301595,_0x3b6cb3=>{_0x2f502f['textContent']=_0x3b6cb3;});});});},tpl_processors_default=[repeatProcessor,slotProcessor,_0x233e98,domSetProcessor,txtNodesProcessor],_0x74a51e='\x27',_0x295898='\x22',_0xc1c9f7=/\\([0-9a-fA-F]{1,6} ?)/g;function hasLeadingTrailingQuotes(_0x18e5e6){return!(_0x18e5e6[0x0]!==_0x295898&&_0x18e5e6[0x0]!==_0x74a51e||_0x18e5e6[_0x18e5e6['length']-0x1]!==_0x295898&&_0x18e5e6[_0x18e5e6['length']-0x1]!==_0x74a51e);}function trimQuotes(_0x50b061){return _0x50b061[0x0]!==_0x295898&&_0x50b061[0x0]!==_0x74a51e||(_0x50b061=_0x50b061['slice'](0x1)),_0x50b061[_0x50b061['length']-0x1]!==_0x295898&&_0x50b061[_0x50b061['length']-0x1]!==_0x74a51e||(_0x50b061=_0x50b061['slice'](0x0,-0x1)),_0x50b061;}function escapeQuotes(_0x2ad1ce){let _0x2b5e86='',_0x50436f='';for(var _0x2070e6=0x0;_0x2070e6<_0x2ad1ce['length'];_0x2070e6++){const _0x826c2a=_0x2ad1ce[_0x2070e6+0x1];'\x5c'===_0x2ad1ce[_0x2070e6]&&'\x22'===_0x826c2a?(_0x2b5e86+='\x5c\x22',_0x2070e6++):'\x22'===_0x2ad1ce[_0x2070e6]&&'\x5c'!==_0x50436f?_0x2b5e86+='\x5c\x22':_0x2b5e86+=_0x2ad1ce[_0x2070e6],_0x50436f=_0x2ad1ce[_0x2070e6];}return _0x2b5e86;}function parseCssPropertyValue(_0x14b093){let _0x10e503=_0x14b093;hasLeadingTrailingQuotes(_0x14b093)&&(_0x10e503=trimQuotes(_0x10e503),_0x10e503=_0x10e503['replace'](_0xc1c9f7,(_0x2a409c,_0xb7202d)=>String['fromCodePoint'](parseInt(_0xb7202d['trim'](),0x10))),_0x10e503=_0x10e503['replaceAll']('\x5c\x0a','\x5cn'),_0x10e503=escapeQuotes(_0x10e503),_0x10e503=_0x295898+_0x10e503+_0x295898);try{return JSON['parse'](_0x10e503);}catch(_0x30e84e){throw new Error('Failed\x20to\x20parse\x20CSS\x20property\x20value:\x20'+_0x10e503+'.\x20Original\x20input:\x20'+_0x14b093);}}var autoTagsCount=0x0,styleMutationObserver=null,styleMutationObserverCbList=null,_BaseComponent=class extends HTMLElement{constructor(){super(),_0x20c773(this,'updateCssData',()=>{var _0x3ae997;this['dropCssDataCache'](),null==(_0x3ae997=this['__boundCssProps'])||_0x3ae997['forEach'](_0x3da811=>{let _0x318887=this['getCssData'](this['__extractCssName'](_0x3da811),!0x0);null!==_0x318887&&this['$'][_0x3da811]!==_0x318887&&(this['$'][_0x3da811]=_0x318887);});}),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 _0x3225a4;this['__initialized']||(this['__initialized']=!0x0,null==(_0x3225a4=this['initCallback'])||_0x3225a4['call'](this));}['render'](_0x23163e,_0x20975e=this['renderShadow']){let _0x22980f;if(!_0x20975e&&!this['constructor']['__shadowStylesUrl']||this['shadowRoot']||this['attachShadow']({'mode':'open'}),this['allowCustomTemplate']){let _0x5cd9f0=this['getAttribute'](_0x5da4d3['USE_TPL']);if(_0x5cd9f0){let _0x51d8f6=this['getRootNode'](),_0x13bb12=(null==_0x51d8f6?void 0x0:_0x51d8f6['querySelector'](_0x5cd9f0))||document['querySelector'](_0x5cd9f0);_0x13bb12?_0x23163e=_0x13bb12['content']['cloneNode'](!0x0):console['warn']('Symbiote\x20template\x20\x22'+_0x5cd9f0+'\x22\x20is\x20not\x20found...');}}if(this['processInnerHtml']){for(let _0x2d738f of this['tplProcessors'])_0x2d738f(this,this);}if(_0x23163e||this['constructor']['template']){if(this['constructor']['template']&&!this['constructor']['__tpl']&&(this['constructor']['__tpl']=document['createElement']('template'),this['constructor']['__tpl']['innerHTML']=this['constructor']['template']),(null==_0x23163e?void 0x0:_0x23163e['constructor'])===DocumentFragment)_0x22980f=_0x23163e;else{if((null==_0x23163e?void 0x0:_0x23163e['constructor'])===String){let _0x736bc1=document['createElement']('template');_0x736bc1['innerHTML']=_0x23163e,_0x22980f=_0x736bc1['content']['cloneNode'](!0x0);}else this['constructor']['__tpl']&&(_0x22980f=this['constructor']['__tpl']['content']['cloneNode'](!0x0));}for(let _0x33ae93 of this['tplProcessors'])_0x33ae93(_0x22980f,this);}let _0x36d144=()=>{_0x22980f&&(_0x20975e&&this['shadowRoot']['appendChild'](_0x22980f)||this['appendChild'](_0x22980f)),this['__initCallback']();};if(this['constructor']['__shadowStylesUrl']){_0x20975e=!0x0;let _0x2a956b=document['createElement']('link');_0x2a956b['rel']='stylesheet',_0x2a956b['href']=this['constructor']['__shadowStylesUrl'],_0x2a956b['onload']=_0x36d144,this['shadowRoot']['prepend'](_0x2a956b);}else _0x36d144();}['addTemplateProcessor'](_0x286a38){this['tplProcessors']['add'](_0x286a38);}get['autoCtxName'](){return this['__autoCtxName']||(this['__autoCtxName']=_0x412687['generate'](),this['style']['setProperty'](_0x5da4d3['CSS_CTX_PROP'],'\x27'+this['__autoCtxName']+'\x27')),this['__autoCtxName'];}get['cssCtxName'](){return this['getCssData'](_0x5da4d3['CSS_CTX_PROP'],!0x0);}get['ctxName'](){var _0x5d2b76;let _0x1d10a0=(null==(_0x5d2b76=this['getAttribute'](_0x5da4d3['CTX_NAME_ATTR']))?void 0x0:_0x5d2b76['trim']())||this['cssCtxName']||this['__cachedCtxName']||this['autoCtxName'];return this['__cachedCtxName']=_0x1d10a0,_0x1d10a0;}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'](_0x3bea8d,_0x31fc8a){let _0x4ba414,_0x53d3f7;if(_0x3bea8d['startsWith'](_0x5da4d3['EXT_DATA_CTX_PRFX']))_0x4ba414=_0x31fc8a['nodeCtx'],_0x53d3f7=_0x3bea8d['replace'](_0x5da4d3['EXT_DATA_CTX_PRFX'],'');else{if(_0x3bea8d['includes'](_0x5da4d3['NAMED_DATA_CTX_SPLTR'])){let _0x12005c=_0x3bea8d['split'](_0x5da4d3['NAMED_DATA_CTX_SPLTR']);_0x4ba414=Data['getCtx'](_0x12005c[0x0]),_0x53d3f7=_0x12005c[0x1];}else _0x4ba414=_0x31fc8a['localCtx'],_0x53d3f7=_0x3bea8d;}return{'ctx':_0x4ba414,'name':_0x53d3f7};}['sub'](_0x37cece,_0x3ccf2e,_0x2088d5=!0x0){let _0x2c44f6=_0x23f9c8=>{this['isConnected']&&_0x3ccf2e(_0x23f9c8);},_0x592048=_BaseComponent['__parseProp'](_0x37cece,this);_0x592048['ctx']['has'](_0x592048['name'])?this['allSubs']['add'](_0x592048['ctx']['sub'](_0x592048['name'],_0x2c44f6,_0x2088d5)):window['setTimeout'](()=>{this['allSubs']['add'](_0x592048['ctx']['sub'](_0x592048['name'],_0x2c44f6,_0x2088d5));});}['notify'](_0x40ca69){let _0x311450=_BaseComponent['__parseProp'](_0x40ca69,this);_0x311450['ctx']['notify'](_0x311450['name']);}['has'](_0xc01638){let _0x11f0b0=_BaseComponent['__parseProp'](_0xc01638,this);return _0x11f0b0['ctx']['has'](_0x11f0b0['name']);}['add'](_0x2373e5,_0x5cd34f,_0x17f003=!0x1){let _0x346114=_BaseComponent['__parseProp'](_0x2373e5,this);_0x346114['ctx']['add'](_0x346114['name'],_0x5cd34f,_0x17f003);}['add$'](_0x10af35,_0x1b9217=!0x1){for(let _0x3b6f0c in _0x10af35)this['add'](_0x3b6f0c,_0x10af35[_0x3b6f0c],_0x1b9217);}get['$'](){if(!this['__stateProxy']){let _0x5871f6=Object['create'](null);this['__stateProxy']=new Proxy(_0x5871f6,{'set':(_0x1502eb,_0x2fef8b,_0x21d664)=>{let _0x330c51=_BaseComponent['__parseProp'](_0x2fef8b,this);return _0x330c51['ctx']['pub'](_0x330c51['name'],_0x21d664),!0x0;},'get':(_0x5391be,_0x379e5a)=>{let _0x267573=_BaseComponent['__parseProp'](_0x379e5a,this);return _0x267573['ctx']['read'](_0x267573['name']);}});}return this['__stateProxy'];}['set$'](_0x309184,_0x1bf14c=!0x1){for(let _0x411800 in _0x309184){let _0x1df2d5=_0x309184[_0x411800],_0x3f1743=[String,Number,Boolean];(_0x1bf14c||!_0x3f1743['includes'](null==_0x1df2d5?void 0x0:_0x1df2d5['constructor'])||this['$'][_0x411800]!==_0x1df2d5)&&(this['$'][_0x411800]=_0x1df2d5);}}get['__ctxOwner'](){return this['ctxOwner']||this['hasAttribute'](_0x5da4d3['CTX_OWNER_ATTR'])&&'false'!==this['getAttribute'](_0x5da4d3['CTX_OWNER_ATTR']);}['__initDataCtx'](){let _0x5b232c=this['constructor']['__attrDesc'];if(_0x5b232c){for(let _0xbc9bad of Object['values'](_0x5b232c))Object['keys'](this['init$'])['includes'](_0xbc9bad)||(this['init$'][_0xbc9bad]='');}for(let _0x408246 in this['init$'])if(_0x408246['startsWith'](_0x5da4d3['EXT_DATA_CTX_PRFX']))this['nodeCtx']['add'](_0x408246['replace'](_0x5da4d3['EXT_DATA_CTX_PRFX'],''),this['init$'][_0x408246],this['__ctxOwner']);else{if(_0x408246['includes'](_0x5da4d3['NAMED_DATA_CTX_SPLTR'])){let _0x258827=_0x408246['split'](_0x5da4d3['NAMED_DATA_CTX_SPLTR']),_0x1eb525=_0x258827[0x0]['trim'](),_0x2ca883=_0x258827[0x1]['trim']();if(_0x1eb525&&_0x2ca883){let _0x24fd4e=Data['getCtx'](_0x1eb525,!0x1);_0x24fd4e||(_0x24fd4e=Data['registerCtx']({},_0x1eb525)),_0x24fd4e['add'](_0x2ca883,this['init$'][_0x408246]);}}else this['localCtx']['add'](_0x408246,this['init$'][_0x408246]);}for(let _0x351a66 in this['cssInit$'])this['bindCssData'](_0x351a66,this['cssInit$'][_0x351a66]);this['__dataCtxInitialized']=!0x0;}['connectedCallback'](){var _0x42ca71;if(this['isConnected']){if(this['__disconnectTimeout']&&window['clearTimeout'](this['__disconnectTimeout']),!this['connectedOnce']){let _0x4c4ae5=null==(_0x42ca71=this['getAttribute'](_0x5da4d3['CTX_NAME_ATTR']))?void 0x0:_0x42ca71['trim']();if(_0x4c4ae5&&this['style']['setProperty'](_0x5da4d3['CSS_CTX_PROP'],'\x27'+_0x4c4ae5+'\x27'),this['__initDataCtx'](),this[_0x5da4d3['SET_LATER_KEY']]){for(let _0x42c052 in this[_0x5da4d3['SET_LATER_KEY']])setNestedProp(this,_0x42c052,this[_0x5da4d3['SET_LATER_KEY']][_0x42c052]);delete this[_0x5da4d3['SET_LATER_KEY']];}this['initChildren']=[...this['childNodes']];for(let _0x1eb6ee of tpl_processors_default)this['addTemplateProcessor'](_0x1eb6ee);if(this['pauseRender'])this['__initCallback']();else{if(this['constructor']['__rootStylesLink']){let _0x175362=this['getRootNode']();if(!_0x175362)return;if(null==_0x175362?void 0x0:_0x175362['querySelector']('link['+_0x5da4d3['ROOT_STYLE_ATTR_NAME']+'=\x22'+this['constructor']['is']+'\x22]'))return void this['render']();let _0x16084b=this['constructor']['__rootStylesLink']['cloneNode'](!0x0);_0x16084b['setAttribute'](_0x5da4d3['ROOT_STYLE_ATTR_NAME'],this['constructor']['is']),_0x16084b['onload']=()=>{this['render']();},_0x175362['nodeType']===Node['DOCUMENT_NODE']?_0x175362['head']['appendChild'](_0x16084b):_0x175362['prepend'](_0x16084b);}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 _0x153b6e of this['allSubs'])_0x153b6e['remove'](),this['allSubs']['delete'](_0x153b6e);for(let _0x5450f9 of this['tplProcessors'])this['tplProcessors']['delete'](_0x5450f9);null==styleMutationObserverCbList||styleMutationObserverCbList['delete'](this['updateCssData']),(null==styleMutationObserverCbList?void 0x0:styleMutationObserverCbList['size'])||(null==styleMutationObserver||styleMutationObserver['disconnect'](),styleMutationObserver=null,styleMutationObserverCbList=null);},0x64)));}static['reg'](_0x1a0d03,_0x3f39fa=!0x1){_0x1a0d03||(autoTagsCount++,_0x1a0d03=_0x5da4d3['AUTO_TAG_PRFX']+'-'+autoTagsCount),this['__tag']=_0x1a0d03;let _0x9a5cba=window['customElements']['get'](_0x1a0d03);_0x9a5cba?_0x3f39fa||_0x9a5cba===this||console['warn'](['Element\x20with\x20tag\x20name\x20\x22'+_0x1a0d03+'\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'](_0x1a0d03,_0x3f39fa?class extends this{}:this);}static get['is'](){return this['__tag']||this['reg'](),this['__tag'];}static['bindAttributes'](_0x620f84){this['observedAttributes']=Object['keys'](_0x620f84),this['__attrDesc']=_0x620f84;}['attributeChangedCallback'](_0x16e7b8,_0x2c9654,_0x3236d3){var _0x26bf9e;if(_0x2c9654===_0x3236d3)return;let _0x52cef3=null==(_0x26bf9e=this['constructor']['__attrDesc'])?void 0x0:_0x26bf9e[_0x16e7b8];_0x52cef3?this['__dataCtxInitialized']?this['$'][_0x52cef3]=_0x3236d3:this['init$'][_0x52cef3]=_0x3236d3:this[_0x16e7b8]=_0x3236d3;}['getCssData'](_0x489eaf,_0x91ef7f=!0x1){if(this['__cssDataCache']||(this['__cssDataCache']=Object['create'](null)),!Object['keys'](this['__cssDataCache'])['includes'](_0x489eaf)){this['__computedStyle']||(this['__computedStyle']=window['getComputedStyle'](this));let _0x321eae=this['__computedStyle']['getPropertyValue'](_0x489eaf)['trim']();try{this['__cssDataCache'][_0x489eaf]=parseCssPropertyValue(_0x321eae);}catch(_0x22697b){!_0x91ef7f&&console['warn']('CSS\x20Data\x20error:\x20'+_0x489eaf),this['__cssDataCache'][_0x489eaf]=null;}}return this['__cssDataCache'][_0x489eaf];}['__extractCssName'](_0x44e35b){return _0x44e35b['split']('--')['map']((_0x55f332,_0x7120)=>0x0===_0x7120?'':_0x55f332)['join']('--');}['__initStyleAttrObserver'](){styleMutationObserverCbList||(styleMutationObserverCbList=new Set()),styleMutationObserverCbList['add'](this['updateCssData']),styleMutationObserver||(styleMutationObserver=new MutationObserver(_0x3578bd=>{'attributes'===_0x3578bd[0x0]['type']&&styleMutationObserverCbList['forEach'](_0x2ab892=>{_0x2ab892();});}))['observe'](document,{'childList':!0x0,'subtree':!0x0,'attributes':!0x0,'attributeFilter':['style']});}['bindCssData'](_0x4b6574,_0x1cecbf=''){this['__boundCssProps']||(this['__boundCssProps']=new Set()),this['__boundCssProps']['add'](_0x4b6574);let _0x4b8edf=this['getCssData'](this['__extractCssName'](_0x4b6574),!0x0);null===_0x4b8edf&&(_0x4b8edf=_0x1cecbf),this['add'](_0x4b6574,_0x4b8edf),this['__initStyleAttrObserver']();}['dropCssDataCache'](){this['__cssDataCache']=null,this['__computedStyle']=null;}['defineAccessor'](_0x1218d4,_0x501ba6,_0x4c1122){let _0x5af2e2='__'+_0x1218d4;this[_0x5af2e2]=this[_0x1218d4],Object['defineProperty'](this,_0x1218d4,{'set':_0x38b1ed=>{this[_0x5af2e2]=_0x38b1ed,_0x4c1122?window['setTimeout'](()=>{null==_0x501ba6||_0x501ba6(_0x38b1ed);}):null==_0x501ba6||_0x501ba6(_0x38b1ed);},'get':()=>this[_0x5af2e2]}),this[_0x1218d4]=this[_0x5af2e2];}static set['shadowStyles'](_0x433f6b){let _0x2dec7e=new Blob([_0x433f6b],{'type':'text/css'});this['__shadowStylesUrl']=URL['createObjectURL'](_0x2dec7e);}static set['rootStyles'](_0x4d3b91){if(!this['__rootStylesLink']){let _0x192b79=new Blob([_0x4d3b91],{'type':'text/css'}),_0x55cc82=URL['createObjectURL'](_0x192b79),_0x58bbc2=document['createElement']('link');_0x58bbc2['href']=_0x55cc82,_0x58bbc2['rel']='stylesheet',this['__rootStylesLink']=_0x58bbc2;}}},BaseComponent=_BaseComponent;function applyStyles(_0x153f4d,_0x1a8711){for(let _0x790b34 in _0x1a8711)_0x790b34['includes']('-')?_0x153f4d['style']['setProperty'](_0x790b34,_0x1a8711[_0x790b34]):_0x153f4d['style'][_0x790b34]=_0x1a8711[_0x790b34];}function applyAttributes(_0x4f163b,_0x4bfdc0){for(let _0x1ed097 in _0x4bfdc0)_0x4bfdc0[_0x1ed097]['constructor']===Boolean?_0x4bfdc0[_0x1ed097]?_0x4f163b['setAttribute'](_0x1ed097,''):_0x4f163b['removeAttribute'](_0x1ed097):_0x4f163b['setAttribute'](_0x1ed097,_0x4bfdc0[_0x1ed097]);}function create(_0x1621be={'tag':'div'}){let _0x2741cb=document['createElement'](_0x1621be['tag']);if(_0x1621be['attributes']&&applyAttributes(_0x2741cb,_0x1621be['attributes']),_0x1621be['styles']&&applyStyles(_0x2741cb,_0x1621be['styles']),_0x1621be['properties']){for(let _0x46b044 in _0x1621be['properties'])_0x2741cb[_0x46b044]=_0x1621be['properties'][_0x46b044];}return _0x1621be['processors']&&_0x1621be['processors']['forEach'](_0x558ceb=>{_0x558ceb(_0x2741cb);}),_0x1621be['children']&&_0x1621be['children']['forEach'](_0x51e868=>{let _0x5a8a97=create(_0x51e868);_0x2741cb['appendChild'](_0x5a8a97);}),_0x2741cb;}_0x20c773(BaseComponent,'template');var _0x487d77='idb-store-ready',_0x380c35='symbiote-db',_0x664734='symbiote-idb-update_',DbInstance=class{['_notifyWhenReady'](_0x45314c=null){window['dispatchEvent'](new CustomEvent(_0x487d77,{'detail':{'dbName':this['name'],'storeName':this['storeName'],'event':_0x45314c}}));}get['_updEventName'](){return _0x664734+this['name'];}['_getUpdateEvent'](_0x4cc6af){return new CustomEvent(this['_updEventName'],{'detail':{'key':this['name'],'newValue':_0x4cc6af}});}['_notifySubscribers'](_0x301419){window['localStorage']['removeItem'](this['name']),window['localStorage']['setItem'](this['name'],_0x301419),window['dispatchEvent'](this['_getUpdateEvent'](_0x301419));}constructor(_0x471b6f,_0x5bc269){this['name']=_0x471b6f,this['storeName']=_0x5bc269,this['version']=0x1,this['request']=window['indexedDB']['open'](this['name'],this['version']),this['request']['onupgradeneeded']=_0x5a1c96=>{this['db']=_0x5a1c96['target']['result'],this['objStore']=this['db']['createObjectStore'](_0x5bc269,{'keyPath':'_key'}),this['objStore']['transaction']['oncomplete']=_0x2f0938=>{this['_notifyWhenReady'](_0x2f0938);};},this['request']['onsuccess']=_0x892b6c=>{this['db']=_0x892b6c['target']['result'],this['_notifyWhenReady'](_0x892b6c);},this['request']['onerror']=_0x340863=>{console['error'](_0x340863);},this['_subscriptionsMap']={},this['_updateHandler']=_0x13aac4=>{_0x13aac4['key']===this['name']&&this['_subscriptionsMap'][_0x13aac4['newValue']]&&this['_subscriptionsMap'][_0x13aac4['newValue']]['forEach'](async _0x2ed31f=>{_0x2ed31f(await this['read'](_0x13aac4['newValue']));});},this['_localUpdateHandler']=_0x30eed8=>{this['_updateHandler'](_0x30eed8['detail']);},window['addEventListener']('storage',this['_updateHandler']),window['addEventListener'](this['_updEventName'],this['_localUpdateHandler']);}['read'](_0x1747ad){let _0x153fa2=this['db']['transaction'](this['storeName'],'readwrite')['objectStore'](this['storeName'])['get'](_0x1747ad);return new Promise((_0x23316c,_0x2b7771)=>{_0x153fa2['onsuccess']=_0x5a266f=>{var _0x5cd8ec;(null==(_0x5cd8ec=_0x5a266f['target']['result'])?void 0x0:_0x5cd8ec['_value'])?_0x23316c(_0x5a266f['target']['result']['_value']):(_0x23316c(null),console['warn']('IDB:\x20cannot\x20read\x20\x22'+_0x1747ad+'\x22'));},_0x153fa2['onerror']=_0x3b006a=>{_0x2b7771(_0x3b006a);};});}['write'](_0x2a70f0,_0x2d76cc,_0x54773c=!0x1){let _0x2db7e4={'_key':_0x2a70f0,'_value':_0x2d76cc},_0x15d227=this['db']['transaction'](this['storeName'],'readwrite')['objectStore'](this['storeName'])['put'](_0x2db7e4);return new Promise((_0x460c21,_0x5f1204)=>{_0x15d227['onsuccess']=_0x54f49f=>{_0x54773c||this['_notifySubscribers'](_0x2a70f0),_0x460c21(_0x54f49f['target']['result']);},_0x15d227['onerror']=_0x427d90=>{_0x5f1204(_0x427d90);};});}['delete'](_0x495b01,_0x26c7ff=!0x1){let _0x411c6e=this['db']['transaction'](this['storeName'],'readwrite')['objectStore'](this['storeName'])['delete'](_0x495b01);return new Promise((_0x2cdcf4,_0x49efc5)=>{_0x411c6e['onsuccess']=_0x5f3450=>{_0x26c7ff||this['_notifySubscribers'](_0x495b01),_0x2cdcf4(_0x5f3450);},_0x411c6e['onerror']=_0x392d27=>{_0x49efc5(_0x392d27);};});}['getAll'](){let _0x42ed35=this['db']['transaction'](this['storeName'],'readwrite')['objectStore'](this['storeName'])['getAll']();return new Promise((_0x53e1cd,_0x51ace6)=>{_0x42ed35['onsuccess']=_0x1f8bf8=>{let _0x4e5e7f=_0x1f8bf8['target']['result'];_0x53e1cd(_0x4e5e7f['map'](_0x596e3a=>_0x596e3a['_value']));},_0x42ed35['onerror']=_0x2d8f46=>{_0x51ace6(_0x2d8f46);};});}['subscribe'](_0x275f68,_0xff244d){this['_subscriptionsMap'][_0x275f68]||(this['_subscriptionsMap'][_0x275f68]=new Set());let _0x4246e0=this['_subscriptionsMap'][_0x275f68];return _0x4246e0['add'](_0xff244d),{'remove':()=>{_0x4246e0['delete'](_0xff244d),_0x4246e0['size']||delete this['_subscriptionsMap'][_0x275f68];}};}['stop'](){window['removeEventListener']('storage',this['_updateHandler']),this['_subscriptionsMap']=null,_0x4f4034['clear'](this['name']);}},_0x4f4034=class{static get['readyEventName'](){return _0x487d77;}static['open'](_0x1ebc13=_0x380c35,_0x1d6a55='store'){let _0x4f69f9=_0x1ebc13+'/'+_0x1d6a55;return this['_reg'][_0x4f69f9]||(this['_reg'][_0x4f69f9]=new DbInstance(_0x1ebc13,_0x1d6a55)),this['_reg'][_0x4f69f9];}static['clear'](_0x58c37b){window['indexedDB']['deleteDatabase'](_0x58c37b);for(let _0x11b13a in this['_reg'])_0x11b13a['split']('/')[0x0]===_0x58c37b&&delete this['_reg'][_0x11b13a];}};_0x20c773(_0x4f4034,'_reg',Object['create'](null));const normalizeCdnOperation=_0x3a81b8=>{if('string'!=typeof _0x3a81b8||!_0x3a81b8)return'';let _0x215eb9=_0x3a81b8['trim']();return _0x215eb9['startsWith']('-/')?_0x215eb9=_0x215eb9['slice'](0x2):_0x215eb9['startsWith']('/')&&(_0x215eb9=_0x215eb9['slice'](0x1)),_0x215eb9['endsWith']('/')&&(_0x215eb9=_0x215eb9['slice'](0x0,_0x215eb9['length']-0x1)),_0x215eb9;},joinCdnOperations=(..._0x16005c)=>_0x16005c['filter'](_0x1ff5bd=>'string'==typeof _0x1ff5bd&&_0x1ff5bd)['map'](_0x34815c=>normalizeCdnOperation(_0x34815c))['join']('/-/'),createCdnUrlModifiers=(..._0x5e044d)=>{let _0x378ac4=joinCdnOperations(..._0x5e044d);return _0x378ac4?'-/'+_0x378ac4+'/':'';};function extractFilename(_0xa740bc){let _0x4c6679=new URL(_0xa740bc),_0x5bf9fa=_0x4c6679['pathname']+_0x4c6679['search']+_0x4c6679['hash'],_0x3e5d91=_0x5bf9fa['lastIndexOf']('http'),_0x220bcf=_0x5bf9fa['lastIndexOf']('/'),_0x2f8ff4='';return _0x3e5d91>=0x0?_0x2f8ff4=_0x5bf9fa['slice'](_0x3e5d91):_0x220bcf>=0x0&&(_0x2f8ff4=_0x5bf9fa['slice'](_0x220bcf+0x1)),_0x2f8ff4;}function extractUuid(_0x15a41e){let _0x1a4b94=new URL(_0x15a41e),{pathname:_0x35299b}=_0x1a4b94;const _0xc92011=_0x35299b['indexOf']('/'),_0x1f251e=_0x35299b['indexOf']('/',_0xc92011+0x1);return _0x35299b['substring'](_0xc92011+0x1,_0x1f251e);}function extractCdnUrlModifiers(_0x1ded56){let _0x5c4299=trimFilename(_0x1ded56),_0x562233=new URL(_0x5c4299),_0x575d7f=_0x562233['pathname']['indexOf']('/-/');return-0x1===_0x575d7f?'':_0x562233['pathname']['substring'](_0x575d7f)['slice'](0x1);}function extractOperations(_0x465c4d){return extractCdnUrlModifiers(_0x465c4d)['split']('/-/')['filter'](Boolean)['map'](_0x4f56e3=>normalizeCdnOperation(_0x4f56e3));}function trimFilename(_0x2200e2){let _0x54fbc8=new URL(_0x2200e2),_0x51a936=extractFilename(_0x2200e2),_0x21025c=_0x9cbf1a(_0x51a936)?splitFileUrl(_0x51a936)['pathname']:_0x51a936;return _0x54fbc8['pathname']=_0x54fbc8['pathname']['replace'](_0x21025c,''),_0x54fbc8['search']='',_0x54fbc8['hash']='',_0x54fbc8['toString']();}function _0x9cbf1a(_0x558b90){return _0x558b90['startsWith']('http');}function splitFileUrl(_0x5930a0){let _0x1f7486=new URL(_0x5930a0);return{'pathname':_0x1f7486['origin']+_0x1f7486['pathname']||'','search':_0x1f7486['search']||'','hash':_0x1f7486['hash']||''};}const createCdnUrl=(_0x387bbf,_0x245454,_0x512167)=>{let _0x169f01=new URL(trimFilename(_0x387bbf));if(_0x512167=_0x512167||extractFilename(_0x387bbf),_0x169f01['pathname']['startsWith']('//')&&(_0x169f01['pathname']=_0x169f01['pathname']['replace']('//','/')),_0x9cbf1a(_0x512167)){let _0x30167b=splitFileUrl(_0x512167);_0x169f01['pathname']=_0x169f01['pathname']+(_0x245454||'')+(_0x30167b['pathname']||''),_0x169f01['search']=_0x30167b['search'],_0x169f01['hash']=_0x30167b['hash'];}else _0x169f01['pathname']=_0x169f01['pathname']+(_0x245454||'')+(_0x512167||'');return _0x169f01['toString']();},createOriginalUrl=(_0x5e0263,_0xe6e76c)=>{let _0x1c2fb0=new URL(_0x5e0263);return _0x1c2fb0['pathname']=_0xe6e76c+'/',_0x1c2fb0['toString']();},stringToArray=(_0x27cbfd,_0x36669b=',')=>_0x27cbfd['trim']()['split'](_0x36669b)['map'](_0x1a554b=>_0x1a554b['trim']())['filter'](_0x4a707e=>_0x4a707e['length']>0x0),_0x3b4cdc=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}),_0x52f1bc=['enhance','brightness','exposure','gamma','contrast','saturation','vibrance','warmth','filter','mirror','flip','rotate','crop'];function transformationToStr(_0x128d70,_0x44e5b1){if('number'==typeof _0x44e5b1){const _0x3d537f=_0x44e5b1;return _0x3b4cdc[_0x128d70]!==_0x3d537f?_0x128d70+'/'+_0x3d537f:'';}if('boolean'==typeof _0x44e5b1){const _0x19940d=_0x44e5b1;return _0x3b4cdc[_0x128d70]!==_0x19940d?''+_0x128d70:'';}if('filter'===_0x128d70&&_0x44e5b1){const {name:_0x2f505c,amount:_0x58be2a}=_0x44e5b1;return _0x3b4cdc['filter']===_0x58be2a?'':_0x128d70+'/'+_0x2f505c+'/'+_0x58be2a;}if('crop'===_0x128d70&&_0x44e5b1){let {dimensions:_0x418739,coords:_0x38dc1d}=_0x44e5b1;return _0x128d70+'/'+_0x418739['join']('x')+'/'+_0x38dc1d['join'](',');}return'';}function transformationsToOperations(_0x27a036){return joinCdnOperations(..._0x52f1bc['filter'](_0x222948=>void 0x0!==_0x27a036[_0x222948]&&null!==_0x27a036[_0x222948])['map'](_0xa40f13=>transformationToStr(_0xa40f13,_0x27a036[_0xa40f13]))['filter'](_0x1eee81=>!!_0x1eee81));}const _0x1b6c3b=joinCdnOperations('format/auto','progressive/yes'),_0x5f0384=([_0x56f9ec])=>void 0x0!==_0x56f9ec?Number(_0x56f9ec):void 0x0,_0x549d61=()=>!0x0,asFilter=([_0x4c4470,_0x58a797])=>({'name':_0x4c4470,'amount':void 0x0!==_0x58a797?Number(_0x58a797):0x64}),_0x29b4b8=([_0x3b1c2a,_0x1b6bce])=>{if(!/\d+x\d+/['test'](_0x3b1c2a)||!/\d+,\d+/['test'](_0x1b6bce))throw new Error('Crop\x20by\x20aspect\x20ratio,\x20percentage\x20or\x20alignment\x20shortcuts\x20is\x20not\x20supported.');return{'dimensions':stringToArray(_0x3b1c2a,'x')['map'](Number),'coords':stringToArray(_0x1b6bce)['map'](Number)};},_0x6cd9f2=Object['freeze']({'enhance':_0x5f0384,'brightness':_0x5f0384,'exposure':_0x5f0384,'gamma':_0x5f0384,'contrast':_0x5f0384,'saturation':_0x5f0384,'vibrance':_0x5f0384,'warmth':_0x5f0384,'filter':asFilter,'mirror':_0x549d61,'flip':_0x549d61,'rotate':_0x5f0384,'crop':_0x29b4b8});function operationsToTransformations(_0x5b9293){const _0x30b3ca={};for(const _0x442905 of _0x5b9293){const [_0x4a64bd,..._0x3db6c8]=_0x442905['split']('/');if(!_0x52f1bc['includes'](_0x4a64bd))continue;const _0x15c993=_0x4a64bd,_0x25a1e9=_0x6cd9f2[_0x15c993];try{const _0x3e27e1=_0x25a1e9(_0x3db6c8);_0x30b3ca[_0x15c993]=_0x3e27e1;}catch(_0x57de3d){console['warn'](['Failed\x20to\x20parse\x20URL\x20operation\x20\x22'+_0x442905+'\x22.\x20It\x20will\x20be\x20ignored.',_0x57de3d instanceof Error?'Error\x20message:\x20\x22'+_0x57de3d['message']+'\x22':_0x57de3d,'If\x20you\x20need\x20this\x20functionality,\x20please\x20feel\x20free\x20to\x20open\x20an\x20issue\x20at\x20https://github.com/uploadcare/blocks/issues/new']['join']('\x0a'));}}return _0x30b3ca;}const _0x43ff2d=Object['freeze']({'CROP':'crop','TUNING':'tuning','FILTERS':'filters'}),_0x141909=[_0x43ff2d['CROP'],_0x43ff2d['TUNING'],_0x43ff2d['FILTERS']],_0x1d557b=['brightness','exposure','gamma','contrast','saturation','vibrance','warmth','enhance'],_0x4a0685=['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'],_0xf52569=['rotate','mirror','flip'],_0x377cb5=Object['freeze']({'brightness':{'zero':_0x3b4cdc['brightness'],'range':[-0x64,0x64],'keypointsNumber':0x2},'exposure':{'zero':_0x3b4cdc['exposure'],'range':[-0x1f4,0x1f4],'keypointsNumber':0x2},'gamma':{'zero':_0x3b4cdc['gamma'],'range':[0x0,0x3e8],'keypointsNumber':0x2},'contrast':{'zero':_0x3b4cdc['contrast'],'range':[-0x64,0x1f4],'keypointsNumber':0x2},'saturation':{'zero':_0x3b4cdc['saturation'],'range':[-0x64,0x1f4],'keypointsNumber':0x1},'vibrance':{'zero':_0x3b4cdc['vibrance'],'range':[-0x64,0x1f4],'keypointsNumber':0x1},'warmth':{'zero':_0x3b4cdc['warmth'],'range':[-0x64,0x64],'keypointsNumber':0x1},'enhance':{'zero':_0x3b4cdc['enhance'],'range':[0x0,0x64],'keypointsNumber':0x1},'filter':{'zero':_0x3b4cdc['filter'],'range':[0x0,0x64],'keypointsNumber':0x1}}),_0x3c7d14=_0x1f7999=>_0x1f7999?_0x1f7999['split'](',')['map'](_0x12a8f7=>_0x12a8f7['trim']())['filter'](Boolean):[],_0x12a265=_0x1f2d19=>_0x1f2d19?_0x1f2d19['join'](','):'',_0x1e319e='https://ucarecdn.com',_0x3d5166='https://upload.uploadcare.com',_0x4454f5='https://social.uploadcare.com',_0x189adb='https://ucarecd.net',initialConfig={'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':_0x12a265(_0x141909),'maxLocalFileSizeBytes':0x0,'thumbSize':0x4c,'showEmptyList':!0x1,'useLocalImageEditor':!0x1,'useCloudImageEditor':!0x0,'removeCopyright':!0x1,'cropPreset':'','imageShrink':'','modalScrollLock':!0x0,'modalBackdropStrokes':!0x1,'sourceListWrap':!0x0,'remoteTabSessionKey':'','cdnCname':_0x1e319e,'cdnCnamePrefixed':_0x189adb,'baseUrl':_0x3d5166,'socialBaseUrl':_0x4454f5,'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':[],'cameraModes':'photo,\x20video','defaultCameraMode':null,'enableAudioRecording':!0x0,'enableVideoRecording':null,'maxVideoRecordingDuration':null,'mediaRecorderOptions':null,'filesViewMode':'list','gridShowFileNames':!0x1,'cloudImageEditorAutoOpen':!0x1,'cloudImageEditorMaskHref':null,'testMode':!0x1},_0x56ab2f=0x14,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'});class EventEmitter{['_timeoutStore']=new Map();['_targets']=new Set();['_debugPrint']=null;constructor(_0x34daa9){this['_debugPrint']=_0x34daa9;}['bindTarget'](_0x53b35e){this['_targets']['add'](_0x53b35e);}['unbindTarget'](_0x143d33){this['_targets']['delete'](_0x143d33);}['_dispatch'](_0x3b80e4,_0x2438bc){for(const _0x2f882d of this['_targets'])_0x2f882d['dispatchEvent'](new CustomEvent(_0x3b80e4,{'detail':_0x2438bc}));this['_debugPrint']?.(()=>{const _0x213741=_0x2438bc&&'object'==typeof _0x2438bc?{..._0x2438bc}:_0x2438bc;return['event\x20\x22'+_0x3b80e4+'\x22',_0x213741];});}['emit'](_0x465324,_0x517d28,{debounce:_0x392a82}={}){if('number'!=typeof _0x392a82&&!_0x392a82)return void this['_dispatch'](_0x465324,'function'==typeof _0x517d28?_0x517d28():_0x517d28);this['_timeoutStore']['has'](_0x465324)&&window['clearTimeout'](this['_timeoutStore']['get'](_0x465324));const _0x17e3d4='number'==typeof _0x392a82?_0x392a82:_0x56ab2f,_0x27c303=window['setTimeout'](()=>{this['_dispatch'](_0x465324,'function'==typeof _0x517d28?_0x517d28():_0x517d28),this['_timeoutStore']['delete'](_0x465324);},_0x17e3d4);this['_timeoutStore']['set'](_0x465324,_0x27c303);}}function _0x31f04e(_0x35b722,_0x3139f7){let _0x135a4d;const _0x187999=(..._0x10d474)=>{clearTimeout(_0x135a4d),_0x135a4d=setTimeout(()=>_0x35b722(..._0x10d474),_0x3139f7);};return _0x187999['cancel']=()=>{clearTimeout(_0x135a4d);},_0x187999;}const _0x30918a='--uploadcare-blocks-window-height';class WindowHeightTracker{static ['clientsRegistry']=new Set();static ['flush']=_0x31f04e(()=>{document['documentElement']['style']['setProperty'](_0x30918a,window['innerHeight']+'px');},0x64);static['registerClient'](_0x45b95d){0x0===this['clientsRegistry']['size']&&this['attachTracker'](),this['clientsRegistry']['add'](_0x45b95d);}static['unregisterClient'](_0x1ff5d7){this['clientsRegistry']['delete'](_0x1ff5d7),0x0===this['clientsRegistry']['size']&&this['detachTracker']();}static['attachTracker'](){window['addEventListener']('resize',this['flush'],{'passive':!0x0,'capture':!0x0}),this['flush']();}static['detachTracker'](){window['removeEventListener']('resize',this['flush'],{'capture':!0x0}),document['documentElement']['style']['removeProperty'](_0x30918a);}}const getLocaleDirection=_0x103e72=>{const _0x5271b4=new Intl['Locale'](_0x103e72);let _0x79267='ltr';return'function'==typeof _0x5271b4['getTextInfo']&&_0x5271b4['getTextInfo']()['direction']?_0x79267=_0x5271b4['getTextInfo']()['direction']:'textInfo'in _0x5271b4&&_0x5271b4['textInfo']?.['direction']&&(_0x79267=_0x5271b4['textInfo']['direction']),_0x79267;},getPluralForm=(_0x5cbd97,_0x26e25a)=>new Intl['PluralRules'](_0x5cbd97)['select'](_0x26e25a),_0x33e4af=_0x3aec38=>_0x3aec38,_0x3e38b2='{{',_0xf90903='}}',_0x108666='plural:';function applyTemplateData(_0xa9583,_0x346867,_0x4f015b={}){let {openToken:_0x412fe1=_0x3e38b2,closeToken:_0x3f0142=_0xf90903,transform:_0x4c1b44=_0x33e4af}=_0x4f015b;for(let _0x5616d3 in _0x346867){let _0x572f13=_0x346867[_0x5616d3]?.['toString']();_0xa9583=_0xa9583['replaceAll'](_0x412fe1+_0x5616d3+_0x3f0142,'string'==typeof _0x572f13?_0x4c1b44(_0x572f13):_0x572f13);}return _0xa9583;}function getPluralObjects(_0x36e557){const _0x208195=[];let _0x1edbe1=_0x36e557['indexOf'](_0x3e38b2);for(;-0x1!==_0x1edbe1;){const _0x418fa6=_0x36e557['indexOf'](_0xf90903,_0x1edbe1),_0x1e82a0=_0x36e557['substring'](_0x1edbe1+0x2,_0x418fa6);if(_0x1e82a0['startsWith'](_0x108666)){const _0x3a789c=_0x36e557['substring'](_0x1edbe1+0x2,_0x418fa6)['replace'](_0x108666,''),_0x54baa9=_0x3a789c['substring'](0x0,_0x3a789c['indexOf']('(')),_0x1b9dfc=_0x3a789c['substring'](_0x3a789c['indexOf']('(')+0x1,_0x3a789c['indexOf'](')'));_0x208195['push']({'variable':_0x1e82a0,'pluralKey':_0x54baa9,'countVariable':_0x1b9dfc});}_0x1edbe1=_0x36e557['indexOf'](_0x3e38b2,_0x418fa6);}return _0x208195;}const waitForAttribute=({element:_0x4854b4,attribute:_0x243d56,onSuccess:_0x24c83d,onTimeout:_0x28fe84,timeout:_0x19ad0e=0x12c})=>{const _0x3181a2=_0x4854b4['getAttribute'](_0x243d56);if(null!==_0x3181a2)return void _0x24c83d(_0x3181a2);const _0x51123d=new MutationObserver(_0xa13c80=>{const _0x458321=_0xa13c80[_0xa13c80['length']-0x1];_0x28ab44(_0x458321);});_0x51123d['observe'](_0x4854b4,{'attributes':!0x0,'attributeFilter':[_0x243d56]});const _0x5c55fe=setTimeout(()=>{_0x51123d['disconnect'](),_0x28fe84();},_0x19ad0e),_0x28ab44=_0x3e17d6=>{const _0x1388b3=_0x4854b4['getAttribute'](_0x243d56);'attributes'===_0x3e17d6['type']&&_0x3e17d6['attributeName']===_0x243d56&&null!==_0x1388b3&&(clearTimeout(_0x5c55fe),_0x51123d['disconnect'](),_0x24c83d(_0x1388b3));};};function isObject(_0x21eb1a){return'[object\x20Object]'===Object['prototype']['toString']['call'](_0x21eb1a);}const _0x40770e=/\W|_/g;function camelizeString(_0x5580d0){return _0x5580d0['split'](_0x40770e)['map']((_0x51a760,_0x466247)=>_0x51a760['charAt'](0x0)[_0x466247>0x0?'toUpperCase':'toLowerCase']()+_0x51a760['slice'](0x1))['join']('');}function camelizeArrayItems(_0x5b8c61,{ignoreKeys:_0x5a9562}={'ignoreKeys':[]}){return Array['isArray'](_0x5b8c61)?_0x5b8c61['map'](_0xaa1078=>_0x520185(_0xaa1078,{'ignoreKeys':_0x5a9562})):_0x5b8c61;}function _0x520185(_0x750ef8,{ignoreKeys:_0x6cefe0}={'ignoreKeys':[]}){if(Array['isArray'](_0x750ef8))return camelizeArrayItems(_0x750ef8,{'ignoreKeys':_0x6cefe0});if(!isObject(_0x750ef8))return _0x750ef8;const _0x128ad5={};for(const _0x5ba3ad of Object['keys'](_0x750ef8)){let _0x54d271=_0x750ef8[_0x5ba3ad];_0x6cefe0['includes'](_0x5ba3ad)?_0x128ad5[_0x5ba3ad]=_0x54d271:(isObject(_0x54d271)?_0x54d271=_0x520185(_0x54d271,{'ignoreKeys':_0x6cefe0}):Array['isArray'](_0x54d271)&&(_0x54d271=camelizeArrayItems(_0x54d271,{'ignoreKeys':_0x6cefe0})),_0x128ad5[camelizeString(_0x5ba3ad)]=_0x54d271);}return _0x128ad5;}const _0x33b752=_0x31f06a=>new Promise(_0x128e54=>setTimeout(_0x128e54,_0x31f06a));function getUserAgent$1({libraryName:_0x5d3035,libraryVersion:_0x1ffcbd,userAgent:_0x4539f8,publicKey:_0x596e7e='',integration:_0x4f1213=''}){const _0x56c1e2='JavaScript';if('string'==typeof _0x4539f8)return _0x4539f8;if('function'==typeof _0x4539f8)return _0x4539f8({'publicKey':_0x596e7e,'libraryName':_0x5d3035,'libraryVersion':_0x1ffcbd,'languageName':_0x56c1e2,'integration':_0x4f1213});return[_0x5d3035,_0x1ffcbd,_0x596e7e]['filter'](Boolean)['join']('/')+'\x20('+[_0x56c1e2,_0x4f1213]['filter'](Boolean)['join'](';\x20')+')';}const defaultOptions={'factor':0x2,'time':0x64};function retrier(_0x39f6f1,_0x2d1484=defaultOptions){let _0x43c336=0x0;return function _0xe011d1(_0x38ac85){const _0x54befd=Math['round'](_0x2d1484['time']*_0x2d1484['factor']**_0x43c336);return _0x38ac85({'attempt':_0x43c336,'retry':_0x19af34=>_0x33b752(_0x19af34??_0x54befd)['then'](()=>(_0x43c336+=0x1,_0xe011d1(_0x38ac85)))});}(_0x39f6f1);}class _0x382fff extends Error{}class NetworkError extends _0x382fff{['originalProgressEvent'];constructor(_0x45c316){super(),this['name']='NetworkError',this['message']='Network\x20error',Object['setPrototypeOf'](this,NetworkError['prototype']),this['originalProgressEvent']=_0x45c316;}}const _0x392f19=(_0x4e0406,_0x58cda9)=>{_0x4e0406&&(_0x4e0406['aborted']?Promise['resolve']()['then'](_0x58cda9):_0x4e0406['addEventListener']('abort',()=>_0x58cda9(),{'once':!0x0}));};class _0x199407 extends _0x382fff{['isCancel']=!0x0;constructor(_0x242d6c='Request\x20canceled'){super(_0x242d6c),this['name']='CancelError',Object['setPrototypeOf'](this,_0x199407['prototype']);}}const _0x5e2fd4=0x1f4,_0x38fc0f=({check:_0x9105b9,interval:_0x5d73c2=_0x5e2fd4,timeout:_0x167e71,signal:_0x3be1ee})=>new Promise((_0x2d862f,_0x29e813)=>{let _0x44096e,_0xc60c83;_0x392f19(_0x3be1ee,()=>{_0x44096e&&clearTimeout(_0x44096e),_0x29e813(new _0x199407('Poll\x20cancelled'));}),_0x167e71&&(_0xc60c83=setTimeout(()=>{_0x44096e&&clearTimeout(_0x44096e),_0x29e813(new _0x199407('Timed\x20out'));},_0x167e71));const _0x1c39ed=()=>{try{Promise['resolve'](_0x9105b9(_0x3be1ee))['then'](_0x1d296f=>{_0x1d296f?(_0xc60c83&&clearTimeout(_0xc60c83),_0x2d862f(_0x1d296f)):_0x44096e=setTimeout(_0x1c39ed,_0x5d73c2);})['catch'](_0xf28b02=>{_0xc60c83&&clearTimeout(_0xc60c83),_0x29e813(_0xf28b02);});}catch(_0x194fd1){_0xc60c83&&clearTimeout(_0xc60c83),_0x29e813(_0x194fd1);}};_0x44096e=setTimeout(_0x1c39ed,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:_0x30b81a,url:_0x1b42c,data:_0x3dd7d7,headers:_0x4ccfa6={},signal:_0x298d32,onProgress:_0x2d7557})=>new Promise((_0x3a07e9,_0x85c549)=>{const _0x87ae3f=new XMLHttpRequest(),_0x1f41cd=_0x30b81a?.['toUpperCase']()||'GET';let _0x424191=!0x1;_0x87ae3f['open'](_0x1f41cd,_0x1b42c,!0x0),_0x4ccfa6&&Object['entries'](_0x4ccfa6)['forEach'](_0x74eb75=>{const [_0x5e4137,_0xc1f5f0]=_0x74eb75;void 0x0!==_0xc1f5f0&&!Array['isArray'](_0xc1f5f0)&&_0x87ae3f['setRequestHeader'](_0x5e4137,_0xc1f5f0);}),_0x87ae3f['responseType']='text',_0x392f19(_0x298d32,()=>{_0x424191=!0x0,_0x87ae3f['abort'](),_0x85c549(new _0x199407());}),_0x87ae3f['onload']=()=>{if(0xc8!=_0x87ae3f['status'])_0x85c549(new Error('Error\x20'+_0x87ae3f['status']+':\x20'+_0x87ae3f['statusText']));else{const _0xa82815={'method':_0x1f41cd,'url':_0x1b42c,'data':_0x3dd7d7,'headers':_0x4ccfa6||void 0x0,'signal':_0x298d32,'onProgress':_0x2d7557},_0x2c4d56=_0x87ae3f['getAllResponseHeaders']()['trim']()['split'](/[\r\n]+/),_0x4a443a={};_0x2c4d56['forEach'](function(_0x20e256){const _0x35546c=_0x20e256['split'](':\x20'),_0xfbf0db=_0x35546c['shift'](),_0x266a77=_0x35546c['join'](':\x20');_0xfbf0db&&void 0x0!==_0xfbf0db&&(_0x4a443a[_0xfbf0db]=_0x266a77);});const _0x4fe2ea=_0x87ae3f['response'],_0x4edb35=_0x87ae3f['status'];_0x3a07e9({'request':_0xa82815,'data':_0x4fe2ea,'headers':_0x4a443a,'status':_0x4edb35});}},_0x87ae3f['onerror']=_0x6859b8=>{_0x424191||_0x85c549(new NetworkError(_0x6859b8));},_0x2d7557&&'function'==typeof _0x2d7557&&(_0x87ae3f['upload']['onprogress']=_0x42f75f=>{_0x42f75f['lengthComputable']?_0x2d7557({'isComputable':!0x0,'value':_0x42f75f['loaded']/_0x42f75f['total']}):_0x2d7557({'isComputable':!0x1});}),_0x3dd7d7?_0x87ae3f['send'](_0x3dd7d7):_0x87ae3f['send']();});function identity(_0x57f2c6,..._0x1468e8){return _0x57f2c6;}const getFileOptions=({name:_0x47f79b})=>_0x47f79b?[_0x47f79b]:[],transformFile=identity;var getFormData=()=>new FormData();const _0x57538c=_0x114a5b=>!0x1,_0x3767a2=_0x289c42=>'undefined'!=typeof Blob&&_0x289c42 instanceof Blob,_0x566153=_0x333886=>'undefined'!=typeof File&&_0x333886 instanceof File,isReactNativeAsset=_0x241467=>!!_0x241467&&'object'==typeof _0x241467&&!Array['isArray'](_0x241467)&&'uri'in _0x241467&&'string'==typeof _0x241467['uri'],isFileData=_0x86c1f8=>_0x3767a2(_0x86c1f8)||_0x566153(_0x86c1f8)||_0x57538c()||isReactNativeAsset(_0x86c1f8),_0x4d1dcb=_0x1d8bca=>'string'==typeof _0x1d8bca||'number'==typeof _0x1d8bca||void 0x0===_0x1d8bca,isObjectValue=_0x1b3955=>!!_0x1b3955&&'object'==typeof _0x1b3955&&!Array['isArray'](_0x1b3955),_0x343130=_0x37a3d1=>!!_0x37a3d1&&'object'==typeof _0x37a3d1&&'data'in _0x37a3d1&&isFileData(_0x37a3d1['data']);function collectParams(_0x2fa5b8,_0x4e8cab,_0x338113){if(Array['isArray'](_0x338113)){for(const _0x28d7e2 of _0x338113)collectParams(_0x2fa5b8,_0x4e8cab+'[]',_0x28d7e2);}else{if(_0x343130(_0x338113)){const {name:_0x57fc32,contentType:_0x232426}=_0x338113,_0x17a85d=transformFile(_0x338113['data'],_0x57fc32,_0x232426??defaultContentType),_0x479a14=getFileOptions({'name':_0x57fc32});_0x2fa5b8['push']([_0x4e8cab,_0x17a85d,..._0x479a14]);}else{if(isObjectValue(_0x338113)){for(const [_0xc73412,_0x1d36e2]of Object['entries'](_0x338113))void 0x0!==_0x1d36e2&&_0x2fa5b8['push']([_0x4e8cab+'['+_0xc73412+']',String(_0x1d36e2)]);}else _0x4d1dcb(_0x338113)&&_0x338113&&_0x2fa5b8['push']([_0x4e8cab,_0x338113['toString']()]);}}}function getFormDataParams(_0x159456){const _0x540af7=[];for(const [_0x118b29,_0x13b938]of Object['entries'](_0x159456))collectParams(_0x540af7,_0x118b29,_0x13b938);return _0x540af7;}function buildFormData(_0x3e3f87){const _0xf0fc82=getFormData(),_0x4aa56d=getFormDataParams(_0x3e3f87);for(const _0x5ebf59 of _0x4aa56d){const [_0x57c409,_0x16a10a,..._0x4b2018]=_0x5ebf59;_0xf0fc82['append'](_0x57c409,_0x16a10a,..._0x4b2018);}return _0xf0fc82;}class _0xec1f14 extends _0x382fff{['code'];['request'];['response'];['headers'];constructor(_0x53953a,_0x1cf24d,_0x3a12ef,_0x1e36c3,_0x3e74ad){super(),this['name']='UploadError',this['message']=_0x53953a,this['code']=_0x1cf24d,this['request']=_0x3a12ef,this['response']=_0x1e36c3,this['headers']=_0x3e74ad,Object['setPrototypeOf'](this,_0xec1f14['prototype']);}}const _0x3e9b83=_0x37b964=>{const _0x3413cb=new URLSearchParams();for(const [_0x5ef489,_0x1cdfb9]of Object['entries'](_0x37b964))_0x1cdfb9&&'object'==typeof _0x1cdfb9&&!Array['isArray'](_0x1cdfb9)?Object['entries'](_0x1cdfb9)['filter'](_0x158cb4=>_0x158cb4[0x1]??!0x1)['forEach'](_0x54d915=>_0x3413cb['set'](_0x5ef489+'['+_0x54d915[0x0]+']',String(_0x54d915[0x1]))):Array['isArray'](_0x1cdfb9)?_0x1cdfb9['forEach'](_0x1fd372=>{_0x3413cb['append'](_0x5ef489+'[]',_0x1fd372);}):'string'==typeof _0x1cdfb9&&_0x1cdfb9?_0x3413cb['set'](_0x5ef489,_0x1cdfb9):'number'==typeof _0x1cdfb9&&_0x3413cb['set'](_0x5ef489,_0x1cdfb9['toString']());return _0x3413cb['toString']();},getUrl=(_0x12025d,_0x13f79e,_0x1ec29b)=>{const _0x5ab26a=new URL(_0x12025d);return _0x5ab26a['pathname']=(_0x5ab26a['pathname']+_0x13f79e)['replace']('//','/'),_0x1ec29b&&(_0x5ab26a['search']=_0x3e9b83(_0x1ec29b)),_0x5ab26a['toString']();};var _0x396cf4='6.17.0';const _0x4c1c71='UploadcareUploadClient',_0x24b2ca=_0x396cf4;function getUserAgent(_0x4fa305){return getUserAgent$1({'libraryName':_0x4c1c71,'libraryVersion':_0x24b2ca,..._0x4fa305});}const _0x2c9c16='RequestThrottledError',_0x8fe0cf=0x3a98,_0x286c8d=0x3e8;function getTimeoutFromThrottledRequest(_0x1aa153){const {headers:_0x5c3ccc}=_0x1aa153||{};if(!_0x5c3ccc||'string'!=typeof _0x5c3ccc['retry-after'])return _0x8fe0cf;const _0xf127ef=parseInt(_0x5c3ccc['retry-after'],0xa);return Number['isFinite'](_0xf127ef)?0x3e8*_0xf127ef:_0x8fe0cf;}function retryIfFailed(_0x56996d,_0x45c28b){const {retryThrottledRequestMaxTimes:_0xe925e0,retryNetworkErrorMaxTimes:_0x54b51e}=_0x45c28b;return retrier(({attempt:_0x4ac797,retry:_0x426cae})=>_0x56996d()['catch'](_0x400465=>{if('response'in _0x400465&&_0x400465?.['code']===_0x2c9c16&&_0x4ac797<_0xe925e0)return _0x426cae(getTimeoutFromThrottledRequest(_0x400465));if(_0x400465 instanceof NetworkError&&_0x4ac797<_0x54b51e)return _0x426cae((_0x4ac797+0x1)*_0x286c8d);throw _0x400465;}));}const getContentType=_0x20ec48=>{let _0x4c5680='';return(_0x3767a2(_0x20ec48)||_0x566153(_0x20ec48)||isReactNativeAsset(_0x20ec48))&&(_0x4c5680=_0x20ec48['type']),_0x4c5680||defaultContentType;},getFileName=_0x3f32b6=>{let _0x5a2e86='';return _0x566153(_0x3f32b6)&&_0x3f32b6['name']?_0x5a2e86=_0x3f32b6['name']:_0x3767a2(_0x3f32b6)||_0x57538c()?_0x5a2e86='':isReactNativeAsset(_0x3f32b6)&&_0x3f32b6['name']&&(_0x5a2e86=_0x3f32b6['name']),_0x5a2e86||defaultFilename;};function getStoreValue(_0x22a6f6){return void 0x0===_0x22a6f6||'auto'===_0x22a6f6?'auto':_0x22a6f6?'1':'0';}function _0x3826d5(_0x158ae0,{publicKey:_0x2876f0,fileName:_0x2f7a34,contentType:_0x3b2148,baseURL:_0x2db2c2=defaultSettings['baseURL'],secureSignature:_0x40c0fe,secureExpire:_0x58cb39,store:_0x43095b,signal:_0x62966e,onProgress:_0x2dd055,source:_0x49d0bf='local',integration:_0x562277,userAgent:_0x106465,retryThrottledRequestMaxTimes:_0x486a69=defaultSettings['retryThrottledRequestMaxTimes'],retryNetworkErrorMaxTimes:_0x476109=defaultSettings['retryNetworkErrorMaxTimes'],metadata:_0xaeec62}){return retryIfFailed(()=>request({'method':'POST','url':getUrl(_0x2db2c2,'/base/',{'jsonerrors':0x1}),'headers':{'X-UC-User-Agent':getUserAgent({'publicKey':_0x2876f0,'integration':_0x562277,'userAgent':_0x106465})},'data':buildFormData({'file':{'data':_0x158ae0,'name':_0x2f7a34||getFileName(_0x158ae0),'contentType':_0x3b2148||getContentType(_0x158ae0)},'UPLOADCARE_PUB_KEY':_0x2876f0,'UPLOADCARE_STORE':getStoreValue(_0x43095b),'signature':_0x40c0fe,'expire':_0x58cb39,'source':_0x49d0bf,'metadata':_0xaeec62}),'signal':_0x62966e,'onProgress':_0x2dd055})['then'](({data:_0x3c5544,headers:_0x9ca4b7,request:_0x5bae69})=>{const _0x2b9d74=_0x520185(JSON['parse'](_0x3c5544));if('error'in _0x2b9d74)throw new _0xec1f14(_0x2b9d74['error']['content'],_0x2b9d74['error']['errorCode'],_0x5bae69,_0x2b9d74,_0x9ca4b7);return _0x2b9d74;}),{'retryNetworkErrorMaxTimes':_0x476109,'retryThrottledRequestMaxTimes':_0x486a69});}var _0x60ff4d,Status;function _0x4627aa(_0x5bc75a,{publicKey:_0x409f4a,baseURL:_0x4747d3=defaultSettings['baseURL'],store:_0x2af393,fileName:_0x4a0d99,checkForUrlDuplicates:_0x197e3e,saveUrlForRecurrentUploads:_0x36d136,secureSignature:_0xf00df4,secureExpire:_0x4f69c4,source:_0x3b869a='url',signal:_0x59c6dd,integration:_0x3dab80,userAgent:_0x1150c5,retryThrottledRequestMaxTimes:_0x24226a=defaultSettings['retryThrottledRequestMaxTimes'],retryNetworkErrorMaxTimes:_0x2670da=defaultSettings['retryNetworkErrorMaxTimes'],metadata:_0x1ab953}){return retryIfFailed(()=>request({'method':'POST','headers':{'X-UC-User-Agent':getUserAgent({'publicKey':_0x409f4a,'integration':_0x3dab80,'userAgent':_0x1150c5})},'url':getUrl(_0x4747d3,'/from_url/',{'jsonerrors':0x1,'pub_key':_0x409f4a,'source_url':_0x5bc75a,'store':getStoreValue(_0x2af393),'filename':_0x4a0d99,'check_URL_duplicates':_0x197e3e?0x1:void 0x0,'save_URL_duplicates':_0x36d136?0x1:void 0x0,'signature':_0xf00df4,'expire':_0x4f69c4,'source':_0x3b869a,'metadata':_0x1ab953}),'signal':_0x59c6dd})['then'](({data:_0x53c518,headers:_0x3f4456,request:_0x28e2f7})=>{const _0x2074b9=_0x520185(JSON['parse'](_0x53c518));if('error'in _0x2074b9)throw new _0xec1f14(_0x2074b9['error']['content'],_0x2074b9['error']['errorCode'],_0x28e2f7,_0x2074b9,_0x3f4456);return _0x2074b9;}),{'retryNetworkErrorMaxTimes':_0x2670da,'retryThrottledRequestMaxTimes':_0x24226a});}!function(_0x3b4eaa){_0x3b4eaa['Token']='token',_0x3b4eaa['FileInfo']='file_info';}(_0x60ff4d||(_0x60ff4d={})),function(_0x5bb541){_0x5bb541['Unknown']='unknown',_0x5bb541['Waiting']='waiting',_0x5bb541['Progress']='progress',_0x5bb541['Error']='error',_0x5bb541['Success']='success';}(Status||(Status={}));const _0x339f21=_0x2b72a0=>'status'in _0x2b72a0&&_0x2b72a0['status']===Status['Error'];function fromUrlStatus(_0x1f0f3a,{publicKey:_0x230f3f,baseURL:_0x2d069f=defaultSettings['baseURL'],signal:_0x7e709b,integration:_0x446052,userAgent:_0x15080b,retryThrottledRequestMaxTimes:_0x23a584=defaultSettings['retryThrottledRequestMaxTimes'],retryNetworkErrorMaxTimes:_0x5351c5=defaultSettings['retryNetworkErrorMaxTimes']}={}){return retryIfFailed(()=>request({'method':'GET','headers':_0x230f3f?{'X-UC-User-Agent':getUserAgent({'publicKey':_0x230f3f,'integration':_0x446052,'userAgent':_0x15080b})}:void 0x0,'url':getUrl(_0x2d069f,'/from_url/status/',{'jsonerrors':0x1,'token':_0x1f0f3a}),'signal':_0x7e709b})['then'](({data:_0x516a1b,headers:_0x5a1027,request:_0x58b1f5})=>{const _0x2f842f=_0x520185(JSON['parse'](_0x516a1b));if('error'in _0x2f842f&&!_0x339f21(_0x2f842f))throw new _0xec1f14(_0x2f842f['error']['content'],_0x2f842f['error']['errorCode'],_0x58b1f5,_0x2f842f,_0x5a1027);return _0x2f842f;}),{'retryNetworkErrorMaxTimes':_0x5351c5,'retryThrottledRequestMaxTimes':_0x23a584});}function _0x50071a(_0x1e7819,{publicKey:_0x11b190,baseURL:_0x4b5210=defaultSettings['baseURL'],jsonpCallback:_0x58589b,secureSignature:_0x41b7b4,secureExpire:_0x2f6f8e,signal:_0xcf437,source:_0x3119cd,integration:_0x291ab7,userAgent:_0xe84c27,retryThrottledRequestMaxTimes:_0x25f8e6=defaultSettings['retryThrottledRequestMaxTimes'],retryNetworkErrorMaxTimes:_0x175da3=defaultSettings['retryNetworkErrorMaxTimes']}){return retryIfFailed(()=>request({'method':'POST','headers':{'X-UC-User-Agent':getUserAgent({'publicKey':_0x11b190,'integration':_0x291ab7,'userAgent':_0xe84c27})},'url':getUrl(_0x4b5210,'/group/',{'jsonerrors':0x1}),'data':buildFormData({'files':_0x1e7819,'callback':_0x58589b,'pub_key':_0x11b190,'signature':_0x41b7b4,'expire':_0x2f6f8e,'source':_0x3119cd}),'signal':_0xcf437})['then'](({data:_0x19a879,headers:_0x26036d,request:_0x1d9cd2})=>{const _0x1e0dfe=_0x520185(JSON['parse'](_0x19a879));if('error'in _0x1e0dfe)throw new _0xec1f14(_0x1e0dfe['error']['content'],_0x1e0dfe['error']['errorCode'],_0x1d9cd2,_0x1e0dfe,_0x26036d);return _0x1e0dfe;}),{'retryNetworkErrorMaxTimes':_0x175da3,'retryThrottledRequestMaxTimes':_0x25f8e6});}function _0x188252(_0x39fd01,{publicKey:_0x3917a8,baseURL:_0x2e0816=defaultSettings['baseURL'],signal:_0x8bc1c4,source:_0x19c7ef,integration:_0x5372a5,userAgent:_0x93ac54,retryThrottledRequestMaxTimes:_0x46d1b1=defaultSettings['retryThrottledRequestMaxTimes'],retryNetworkErrorMaxTimes:_0x14e5b8=defaultSettings['retryNetworkErrorMaxTimes']}){return retryIfFailed(()=>request({'method':'GET','headers':{'X-UC-User-Agent':getUserAgent({'publicKey':_0x3917a8,'integration':_0x5372a5,'userAgent':_0x93ac54})},'url':getUrl(_0x2e0816,'/info/',{'jsonerrors':0x1,'pub_key':_0x3917a8,'file_id':_0x39fd01,'source':_0x19c7ef}),'signal':_0x8bc1c4})['then'](({data:_0x5edfe6,headers:_0x1fc990,request:_0x44c96f})=>{const _0xf0be3f=_0x520185(JSON['parse'](_0x5edfe6));if('error'in _0xf0be3f)throw new _0xec1f14(_0xf0be3f['error']['content'],_0xf0be3f['error']['errorCode'],_0x44c96f,_0xf0be3f,_0x1fc990);return _0xf0be3f;}),{'retryThrottledRequestMaxTimes':_0x46d1b1,'retryNetworkErrorMaxTimes':_0x14e5b8});}function multipartStart(_0x46826d,{publicKey:_0x12c95b,contentType:_0x501138,fileName:_0x7ef744,multipartChunkSize:_0x3ddc3d=defaultSettings['multipartChunkSize'],baseURL:_0x3dd88f='',secureSignature:_0x4bd515,secureExpire:_0x27c0c1,store:_0x44624c,signal:_0x728782,source:_0x3ff5c8='local',integration:_0x44015e,userAgent:_0x23500c,retryThrottledRequestMaxTimes:_0x217407=defaultSettings['retryThrottledRequestMaxTimes'],retryNetworkErrorMaxTimes:_0x1ba713=defaultSettings['retryNetworkErrorMaxTimes'],metadata:_0x1b4bbc}){return retryIfFailed(()=>request({'method':'POST','url':getUrl(_0x3dd88f,'/multipart/start/',{'jsonerrors':0x1}),'headers':{'X-UC-User-Agent':getUserAgent({'publicKey':_0x12c95b,'integration':_0x44015e,'userAgent':_0x23500c})},'data':buildFormData({'filename':_0x7ef744,'size':_0x46826d,'content_type':_0x501138||defaultContentType,'part_size':_0x3ddc3d,'UPLOADCARE_STORE':getStoreValue(_0x44624c),'UPLOADCARE_PUB_KEY':_0x12c95b,'signature':_0x4bd515,'expire':_0x27c0c1,'source':_0x3ff5c8,'metadata':_0x1b4bbc}),'signal':_0x728782})['then'](({data:_0x3cb5fc,headers:_0x17bf6a,request:_0x258b98})=>{const _0x2424e0=_0x520185(JSON['parse'](_0x3cb5fc));if('error'in _0x2424e0)throw new _0xec1f14(_0x2424e0['error']['content'],_0x2424e0['error']['errorCode'],_0x258b98,_0x2424e0,_0x17bf6a);return _0x2424e0['parts']=Object['keys'](_0x2424e0['parts'])['map'](_0x23e7a1=>_0x2424e0['parts'][Number(_0x23e7a1)]),_0x2424e0;}),{'retryThrottledRequestMaxTimes':_0x217407,'retryNetworkErrorMaxTimes':_0x1ba713});}function multipartUpload(_0x12efe9,_0x421062,{contentType:_0x1f759c,signal:_0x1749ad,onProgress:_0x5bfdb1,retryThrottledRequestMaxTimes:_0x5dad77=defaultSettings['retryThrottledRequestMaxTimes'],retryNetworkErrorMaxTimes:_0x15363f=defaultSettings['retryNetworkErrorMaxTimes']}){return retryIfFailed(()=>request({'method':'PUT','url':_0x421062,'data':_0x12efe9,'onProgress':_0x5bfdb1,'signal':_0x1749ad,'headers':{'Content-Type':_0x1f759c||defaultContentType}})['then'](_0x3c2865=>(_0x5bfdb1&&_0x5bfdb1({'isComputable':!0x0,'value':0x1}),_0x3c2865))['then'](({status:_0x1a379a})=>({'code':_0x1a379a})),{'retryThrottledRequestMaxTimes':_0x5dad77,'retryNetworkErrorMaxTimes':_0x15363f});}function multipartComplete(_0x499c8b,{publicKey:_0x3780d7,baseURL:_0x52fbd5=defaultSettings['baseURL'],source:_0x14b970='local',signal:_0x5673b4,integration:_0x3473f7,userAgent:_0x4fcc32,retryThrottledRequestMaxTimes:_0x429ce3=defaultSettings['retryThrottledRequestMaxTimes'],retryNetworkErrorMaxTimes:_0x460bbe=defaultSettings['retryNetworkErrorMaxTimes']}){return retryIfFailed(()=>request({'method':'POST','url':getUrl(_0x52fbd5,'/multipart/complete/',{'jsonerrors':0x1}),'headers':{'X-UC-User-Agent':getUserAgent({'publicKey':_0x3780d7,'integration':_0x3473f7,'userAgent':_0x4fcc32})},'data':buildFormData({'uuid':_0x499c8b,'UPLOADCARE_PUB_KEY':_0x3780d7,'source':_0x14b970}),'signal':_0x5673b4})['then'](({data:_0x2b802f,headers:_0x10b853,request:_0x4361a4})=>{const _0x112d99=_0x520185(JSON['parse'](_0x2b802f));if('error'in _0x112d99)throw new _0xec1f14(_0x112d99['error']['content'],_0x112d99['error']['errorCode'],_0x4361a4,_0x112d99,_0x10b853);return _0x112d99;}),{'retryThrottledRequestMaxTimes':_0x429ce3,'retryNetworkErrorMaxTimes':_0x460bbe});}function _0x1ddc99(_0x59aae6,{publicKey:_0x3b3110,baseURL:_0x5989b6,source:_0x2902eb,integration:_0x39fc44,userAgent:_0x6c3c99,retryThrottledRequestMaxTimes:_0x29e93e,retryNetworkErrorMaxTimes:_0x2678ff,signal:_0x47d242,onProgress:_0x4a28cd}){return _0x38fc0f({'check':_0x55ef98=>_0x188252(_0x59aae6,{'publicKey':_0x3b3110,'baseURL':_0x5989b6,'signal':_0x55ef98,'source':_0x2902eb,'integration':_0x39fc44,'userAgent':_0x6c3c99,'retryThrottledRequestMaxTimes':_0x29e93e,'retryNetworkErrorMaxTimes':_0x2678ff})['then'](_0x4513ea=>_0x4513ea['isReady']?_0x4513ea:(_0x4a28cd&&_0x4a28cd({'isComputable':!0x0,'value':0x1}),!0x1)),'signal':_0x47d242});}function _0x587d0d(_0x36a403){return'defaultEffects'in _0x36a403;}class _0x302617{['uuid'];['name'];['size'];['isStored'];['isImage'];['mimeType'];['cdnUrl'];['s3Url'];['originalFilename'];['imageInfo'];['videoInfo'];['contentInfo'];['metadata'];['s3Bucket'];['defaultEffects']=null;constructor(_0x3bcf38,{baseCDN:_0x4be33e=defaultSettings['baseCDN'],fileName:_0x2e0556}={}){const {uuid:_0x885a4a,s3Bucket:_0x531102}=_0x3bcf38,_0x2feeca=getUrl(_0x4be33e,_0x885a4a+'/'),_0x3a60d3=_0x531102?getUrl('https://'+_0x531102+'.s3.amazonaws.com/',_0x885a4a+'/'+_0x3bcf38['filename']):null;this['uuid']=_0x885a4a,this['name']=_0x2e0556||_0x3bcf38['filename'],this['size']=_0x3bcf38['size'],this['isStored']=_0x3bcf38['isStored'],this['isImage']=_0x3bcf38['isImage'],this['mimeType']=_0x3bcf38['mimeType'],this['cdnUrl']=_0x2feeca,this['originalFilename']=_0x3bcf38['originalFilename'],this['imageInfo']=_0x3bcf38['imageInfo'],this['videoInfo']=_0x3bcf38['videoInfo'],this['contentInfo']=_0x3bcf38['contentInfo'],this['metadata']=_0x3bcf38['metadata']||null,this['s3Bucket']=_0x531102||null,this['s3Url']=_0x3a60d3,_0x587d0d(_0x3bcf38)&&(this['defaultEffects']=_0x3bcf38['defaultEffects']);}}const uploadDirect=(_0x1f32a9,{publicKey:_0xb9ad2e,fileName:_0x219bff,baseURL:_0x58c760,secureSignature:_0x3d081d,secureExpire:_0x47b6b0,store:_0x3c72db,contentType:_0x1f42cc,signal:_0x302300,onProgress:_0xca7f85,source:_0x458c95,integration:_0x1d5490,userAgent:_0x464d28,retryThrottledRequestMaxTimes:_0x34aca3,retryNetworkErrorMaxTimes:_0x1e6a13,baseCDN:_0x30f90d,metadata:_0x3c225a})=>_0x3826d5(_0x1f32a9,{'publicKey':_0xb9ad2e,'fileName':_0x219bff,'contentType':_0x1f42cc,'baseURL':_0x58c760,'secureSignature':_0x3d081d,'secureExpire':_0x47b6b0,'store':_0x3c72db,'signal':_0x302300,'onProgress':_0xca7f85,'source':_0x458c95,'integration':_0x1d5490,'userAgent':_0x464d28,'retryThrottledRequestMaxTimes':_0x34aca3,'retryNetworkErrorMaxTimes':_0x1e6a13,'metadata':_0x3c225a})['then'](({file:_0x19eba2})=>_0x1ddc99(_0x19eba2,{'publicKey':_0xb9ad2e,'baseURL':_0x58c760,'source':_0x458c95,'integration':_0x1d5490,'userAgent':_0x464d28,'retryThrottledRequestMaxTimes':_0x34aca3,'retryNetworkErrorMaxTimes':_0x1e6a13,'onProgress':_0xca7f85,'signal':_0x302300}))['then'](_0x450f31=>new _0x302617(_0x450f31,{'baseCDN':_0x30f90d})),_0x3d1823=(_0x6f327,{publicKey:_0x4af6c1,fileName:_0x120d35,baseURL:_0x108513,signal:_0x46c94c,onProgress:_0x2b75f1,source:_0x22a972,integration:_0x48b7eb,userAgent:_0x59790a,retryThrottledRequestMaxTimes:_0x24b4d2,retryNetworkErrorMaxTimes:_0x51b3a9,baseCDN:_0x31ec19})=>_0x188252(_0x6f327,{'publicKey':_0x4af6c1,'baseURL':_0x108513,'signal':_0x46c94c,'source':_0x22a972,'integration':_0x48b7eb,'userAgent':_0x59790a,'retryThrottledRequestMaxTimes':_0x24b4d2,'retryNetworkErrorMaxTimes':_0x51b3a9})['then'](_0x2af359=>new _0x302617(_0x2af359,{'baseCDN':_0x31ec19,'fileName':_0x120d35}))['then'](_0x167c7c=>(_0x2b75f1&&_0x2b75f1({'isComputable':!0x0,'value':0x1}),_0x167c7c)),_0x5e922d=(_0x2c2f5c,{signal:_0x597ec7}={})=>{let _0x4e9ded=null,_0x41d0e6=null;const _0x4f9eef=_0x2c2f5c['map'](()=>new AbortController());return _0x392f19(_0x597ec7,()=>{_0x4f9eef['forEach'](_0x355f10=>_0x355f10['abort']());}),Promise['all'](_0x2c2f5c['map']((_0x40bda6,_0x2a89ce)=>{const _0x4434f9=(_0x154619=>()=>{_0x41d0e6=_0x154619,_0x4f9eef['forEach']((_0x35f925,_0x2c7e80)=>_0x2c7e80!==_0x154619&&_0x35f925['abort']());})(_0x2a89ce);return Promise['resolve']()['then'](()=>_0x40bda6({'stopRace':_0x4434f9,'signal':_0x4f9eef[_0x2a89ce]['signal']}))['then'](_0x37f69b=>(_0x4434f9(),_0x37f69b))['catch'](_0x2b32ee=>(_0x4e9ded=_0x2b32ee,null));}))['then'](_0x2715aa=>{if(null===_0x41d0e6)throw _0x4e9ded;return _0x2715aa[_0x41d0e6];});};var WebSocket=window['WebSocket'];class Events{['events']=Object['create']({});['emit'](_0x5a8d5f,_0x1e3ee6){this['events'][_0x5a8d5f]?.['forEach'](_0x2cc315=>_0x2cc315(_0x1e3ee6));}['on'](_0x15740a,_0xc34394){this['events'][_0x15740a]=this['events'][_0x15740a]||[],this['events'][_0x15740a]['push'](_0xc34394);}['off'](_0x5c3040,_0xbc0360){this['events'][_0x5c3040]=_0xbc0360?this['events'][_0x5c3040]['filter'](_0x434ceb=>_0x434ceb!==_0xbc0360):[];}}const _0x1b120f=(_0x315fe6,_0x2b82f3)=>'success'===_0x315fe6?{'status':Status['Success'],..._0x2b82f3}:'progress'===_0x315fe6?{'status':Status['Progress'],..._0x2b82f3}:{'status':Status['Error'],..._0x2b82f3};class _0x4580a3{['key'];['disconnectTime'];['ws']=void 0x0;['queue']=[];['isConnected']=!0x1;['subscribers']=0x0;['emmitter']=new Events();['disconnectTimeoutId']=null;constructor(_0x6c20a3,_0x4e2be4=0x7530){this['key']=_0x6c20a3,this['disconnectTime']=_0x4e2be4;}['connect'](){if(this['disconnectTimeoutId']&&clearTimeout(this['disconnectTimeoutId']),!this['isConnected']&&!this['ws']){const _0x466939='wss://ws.pusherapp.com/app/'+this['key']+'?protocol=5&client=js&version=1.12.2';this['ws']=new WebSocket(_0x466939),this['ws']['addEventListener']('error',_0xc1b641=>{this['emmitter']['emit']('error',new Error(_0xc1b641['message']));}),this['emmitter']['on']('connected',()=>{this['isConnected']=!0x0,this['queue']['forEach'](_0x8b1bcb=>this['send'](_0x8b1bcb['event'],_0x8b1bcb['data'])),this['queue']=[];}),this['ws']['addEventListener']('message',_0xe13620=>{const _0x5adcbf=JSON['parse'](_0xe13620['data']['toString']());switch(_0x5adcbf['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'](_0x5adcbf['channel'],_0x1b120f(_0x5adcbf['event'],JSON['parse'](_0x5adcbf['data'])));}});}}['disconnect'](){const _0xd28074=()=>{this['ws']?.['close'](),this['ws']=void 0x0,this['isConnected']=!0x1;};this['disconnectTime']?this['disconnectTimeoutId']=setTimeout(()=>{_0xd28074();},this['disconnectTime']):_0xd28074();}['send'](_0x347a1d,_0x32b034){const _0x22bef8=JSON['stringify']({'event':_0x347a1d,'data':_0x32b034});this['ws']?.['send'](_0x22bef8);}['subscribe'](_0x44c535,_0x46e0e7){this['subscribers']+=0x1,this['connect']();const _0xba1173='task-status-'+_0x44c535,_0x508b55={'event':'pusher:subscribe','data':{'channel':_0xba1173}};this['emmitter']['on'](_0xba1173,_0x46e0e7),this['isConnected']?this['send'](_0x508b55['event'],_0x508b55['data']):this['queue']['push'](_0x508b55);}['unsubscribe'](_0xfdf99c){this['subscribers']-=0x1;const _0x51401b='task-status-'+_0xfdf99c,_0x44e7={'event':'pusher:unsubscribe','data':{'channel':_0x51401b}};this['emmitter']['off'](_0x51401b),this['isConnected']?this['send'](_0x44e7['event'],_0x44e7['data']):this['queue']=this['queue']['filter'](_0x45724a=>_0x45724a['data']['channel']!==_0x51401b),0x0===this['subscribers']&&this['disconnect']();}['onError'](_0x35aafb){return this['emmitter']['on']('error',_0x35aafb),()=>this['emmitter']['off']('error',_0x35aafb);}}let _0x3e0490=null;const getPusher=_0x107070=>{if(!_0x3e0490){const _0x3c2d20='undefined'==typeof window?0x0:0x7530;_0x3e0490=new _0x4580a3(_0x107070,_0x3c2d20);}return _0x3e0490;},preconnect=_0x3915ff=>{getPusher(_0x3915ff)['connect']();};function pollStrategy({token:_0x46a501,publicKey:_0x3a64c7,baseURL:_0x40b25d,integration:_0x349864,userAgent:_0x58a236,retryThrottledRequestMaxTimes:_0x50913,retryNetworkErrorMaxTimes:_0x2a707e,onProgress:_0x59fc38,signal:_0x280677}){return _0x38fc0f({'check':_0x545505=>fromUrlStatus(_0x46a501,{'publicKey':_0x3a64c7,'baseURL':_0x40b25d,'integration':_0x349864,'userAgent':_0x58a236,'retryThrottledRequestMaxTimes':_0x50913,'retryNetworkErrorMaxTimes':_0x2a707e,'signal':_0x545505})['then'](_0x45f9a=>{switch(_0x45f9a['status']){case Status['Error']:return new _0xec1f14(_0x45f9a['error'],_0x45f9a['errorCode']);case Status['Waiting']:return!0x1;case Status['Unknown']:return new _0xec1f14('Token\x20\x22'+_0x46a501+'\x22\x20was\x20not\x20found.');case Status['Progress']:return _0x59fc38&&('unknown'===_0x45f9a['total']?_0x59fc38({'isComputable':!0x1}):_0x59fc38({'isComputable':!0x0,'value':_0x45f9a['done']/_0x45f9a['total']})),!0x1;case Status['Success']:return _0x59fc38&&_0x59fc38({'isComputable':!0x0,'value':_0x45f9a['done']/_0x45f9a['total']}),_0x45f9a;default:throw new Error('Unknown\x20status');}}),'signal':_0x280677});}const pushStrategy=({token:_0x1d630c,pusherKey:_0x479a97,signal:_0x2773d0,onProgress:_0x1fc928})=>new Promise((_0x3cc0f9,_0x53aaaa)=>{const _0x1a42c5=getPusher(_0x479a97),_0x2235e1=_0x1a42c5['onError'](_0x53aaaa),_0x545029=()=>{_0x2235e1(),_0x1a42c5['unsubscribe'](_0x1d630c);};_0x392f19(_0x2773d0,()=>{_0x545029(),_0x53aaaa(new _0x199407('pusher\x20cancelled'));}),_0x1a42c5['subscribe'](_0x1d630c,_0x365d34=>{switch(_0x365d34['status']){case Status['Progress']:_0x1fc928&&('unknown'===_0x365d34['total']?_0x1fc928({'isComputable':!0x1}):_0x1fc928({'isComputable':!0x0,'value':_0x365d34['done']/_0x365d34['total']}));break;case Status['Success']:_0x545029(),_0x1fc928&&_0x1fc928({'isComputable':!0x0,'value':_0x365d34['done']/_0x365d34['total']}),_0x3cc0f9(_0x365d34);break;case Status['Error']:_0x545029(),_0x53aaaa(new _0xec1f14(_0x365d34['msg'],_0x365d34['error_code']));}});}),_0xb49d93=(_0x48737d,{publicKey:_0x19d151,fileName:_0x291744,baseURL:_0x409771,baseCDN:_0x651c16,checkForUrlDuplicates:_0x510c49,saveUrlForRecurrentUploads:_0x463e5f,secureSignature:_0x1c0107,secureExpire:_0x2ee758,store:_0x33c328,signal:_0x38ab59,onProgress:_0xf289b2,source:_0x551431,integration:_0x577f31,userAgent:_0x579d4e,retryThrottledRequestMaxTimes:_0x2a9b29,pusherKey:_0xaf8c8a=defaultSettings['pusherKey'],metadata:_0x5880cb})=>Promise['resolve'](preconnect(_0xaf8c8a))['then'](()=>_0x4627aa(_0x48737d,{'publicKey':_0x19d151,'fileName':_0x291744,'baseURL':_0x409771,'checkForUrlDuplicates':_0x510c49,'saveUrlForRecurrentUploads':_0x463e5f,'secureSignature':_0x1c0107,'secureExpire':_0x2ee758,'store':_0x33c328,'signal':_0x38ab59,'source':_0x551431,'integration':_0x577f31,'userAgent':_0x579d4e,'retryThrottledRequestMaxTimes':_0x2a9b29,'metadata':_0x5880cb}))['catch'](_0x3d39ca=>{const _0x33bdbd=getPusher(_0xaf8c8a);return _0x33bdbd?.['disconnect'](),Promise['reject'](_0x3d39ca);})['then'](_0x7a9eab=>_0x7a9eab['type']===_0x60ff4d['FileInfo']?_0x7a9eab:_0x5e922d([({signal:_0x540b87})=>pollStrategy({'token':_0x7a9eab['token'],'publicKey':_0x19d151,'baseURL':_0x409771,'integration':_0x577f31,'userAgent':_0x579d4e,'retryThrottledRequestMaxTimes':_0x2a9b29,'onProgress':_0xf289b2,'signal':_0x540b87}),({signal:_0x5458b7})=>pushStrategy({'token':_0x7a9eab['token'],'pusherKey':_0xaf8c8a,'signal':_0x5458b7,'onProgress':_0xf289b2})],{'signal':_0x38ab59}))['then'](_0x1225b4=>{if(_0x1225b4 instanceof _0xec1f14)throw _0x1225b4;return _0x1225b4;})['then'](_0x2868a4=>_0x1ddc99(_0x2868a4['uuid'],{'publicKey':_0x19d151,'baseURL':_0x409771,'integration':_0x577f31,'userAgent':_0x579d4e,'retryThrottledRequestMaxTimes':_0x2a9b29,'onProgress':_0xf289b2,'signal':_0x38ab59}))['then'](_0x3f5739=>new _0x302617(_0x3f5739,{'baseCDN':_0x651c16})),_0x31c3ae=new WeakMap(),getBlobFromReactNativeAsset=async _0x577eb5=>{if(_0x31c3ae['has'](_0x577eb5))return _0x31c3ae['get'](_0x577eb5);const _0x173efb=await fetch(_0x577eb5['uri'])['then'](_0x1e9230=>_0x1e9230['blob']());return _0x31c3ae['set'](_0x577eb5,_0x173efb),_0x173efb;},getFileSize=async _0x30a6ae=>{if(_0x566153(_0x30a6ae)||_0x3767a2(_0x30a6ae))return _0x30a6ae['size'];if(isReactNativeAsset(_0x30a6ae))return(await getBlobFromReactNativeAsset(_0x30a6ae))['size'];throw new Error('Unknown\x20file\x20type.\x20Cannot\x20determine\x20file\x20size.');},isMultipart=(_0x11e5e3,_0x35f8cb=defaultSettings['multipartMinFileSize'])=>_0x11e5e3>=_0x35f8cb,_0x280a7d=_0x46c6dc=>{const _0xad1c3f=new RegExp('[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}');return!isFileData(_0x46c6dc)&&_0xad1c3f['test'](_0x46c6dc);},_0x389cc6=_0x48d946=>{const _0x2cdb86=new RegExp('^(?:\x5cw+:)?\x5c/\x5c/([^\x5cs\x5c.]+\x5c.\x5cS{2}|localhost[\x5c:?\x5cd]*)\x5cS*$');return!isFileData(_0x48d946)&&_0x2cdb86['test'](_0x48d946);},runWithConcurrency=(_0x30f117,_0x5dd2e0)=>new Promise((_0x2d7720,_0x1b9513)=>{const _0x2dc153=[];let _0x436be7=!0x1,_0x3d7588=_0x5dd2e0['length'];const _0x366708=[..._0x5dd2e0],_0x551bac=()=>{const _0x1cdca8=_0x5dd2e0['length']-_0x366708['length'],_0x502d9e=_0x366708['shift']();_0x502d9e&&_0x502d9e()['then'](_0x15744b=>{_0x436be7||(_0x2dc153[_0x1cdca8]=_0x15744b,_0x3d7588-=0x1,_0x3d7588?_0x551bac():_0x2d7720(_0x2dc153));})['catch'](_0x49eeb2=>{_0x436be7=!0x0,_0x1b9513(_0x49eeb2);});};for(let _0x3d6e85=0x0;_0x3d6e85<_0x30f117;_0x3d6e85++)_0x551bac();}),_0x17905f=(_0x5799d6,_0x36a2e8,_0x194734,_0x36e023)=>{const _0x28f033=_0x36e023*_0x36a2e8,_0x4020ae=Math['min'](_0x28f033+_0x36e023,_0x194734);return _0x5799d6['slice'](_0x28f033,_0x4020ae);},_0x1b5152=async(_0xf9918e,_0x35b444,_0x374d03)=>_0xc1aebe=>_0x17905f(_0xf9918e,_0xc1aebe,_0x35b444,_0x374d03),uploadPart=(_0x2823cc,_0x31ee06,{publicKey:_0x263aa2,contentType:_0x4eca76,onProgress:_0x2c7011,signal:_0x511a1a,integration:_0x3a8c7a,retryThrottledRequestMaxTimes:_0x39a8b7,retryNetworkErrorMaxTimes:_0x33ac4a})=>multipartUpload(_0x2823cc,_0x31ee06,{'contentType':_0x4eca76,'onProgress':_0x2c7011,'signal':_0x511a1a,'retryThrottledRequestMaxTimes':_0x39a8b7,'retryNetworkErrorMaxTimes':_0x33ac4a}),uploadMultipart=async(_0x3c9565,{publicKey:_0x3d44b3,fileName:_0x304fc8,fileSize:_0x446da3,baseURL:_0x4db6bf,secureSignature:_0x40cc7c,secureExpire:_0x47e793,store:_0xed53c1,signal:_0x364eaf,onProgress:_0x53b9f4,source:_0xfc2de,integration:_0x5ed065,userAgent:_0x51dcca,retryThrottledRequestMaxTimes:_0x4ccdc0,retryNetworkErrorMaxTimes:_0x34b5f3,contentType:_0x4b1625,multipartChunkSize:_0x3e2c8c=defaultSettings['multipartChunkSize'],maxConcurrentRequests:_0x25c430=defaultSettings['maxConcurrentRequests'],baseCDN:_0xa28dca,metadata:_0x109356})=>{const _0xb64247=_0x446da3??await getFileSize(_0x3c9565);let _0x502434;const _0x483b3d=(_0x5fd504,_0x44f92e)=>{if(!_0x53b9f4)return;_0x502434||(_0x502434=Array(_0x5fd504)['fill'](0x0));const _0x68dff1=_0x3d2214=>_0x3d2214['reduce']((_0x385d09,_0x9a957d)=>_0x385d09+_0x9a957d,0x0);return _0x4ce8c5=>{_0x4ce8c5['isComputable']&&(_0x502434[_0x44f92e]=_0x4ce8c5['value'],_0x53b9f4({'isComputable':!0x0,'value':_0x68dff1(_0x502434)/_0x5fd504}));};};return _0x4b1625||=getContentType(_0x3c9565),multipartStart(_0xb64247,{'publicKey':_0x3d44b3,'contentType':_0x4b1625,'fileName':_0x304fc8||getFileName(_0x3c9565),'baseURL':_0x4db6bf,'secureSignature':_0x40cc7c,'secureExpire':_0x47e793,'store':_0xed53c1,'signal':_0x364eaf,'source':_0xfc2de,'integration':_0x5ed065,'userAgent':_0x51dcca,'retryThrottledRequestMaxTimes':_0x4ccdc0,'retryNetworkErrorMaxTimes':_0x34b5f3,'metadata':_0x109356,'multipartChunkSize':_0x3e2c8c})['then'](async({uuid:_0x1380b9,parts:_0x282a27})=>{const _0x4b63fd=await _0x1b5152(_0x3c9565,_0xb64247,_0x3e2c8c);return Promise['all']([_0x1380b9,runWithConcurrency(_0x25c430,_0x282a27['map']((_0xe29f74,_0x3f0ff8)=>()=>uploadPart(_0x4b63fd(_0x3f0ff8),_0xe29f74,{'publicKey':_0x3d44b3,'contentType':_0x4b1625,'onProgress':_0x483b3d(_0x282a27['length'],_0x3f0ff8),'signal':_0x364eaf,'integration':_0x5ed065,'retryThrottledRequestMaxTimes':_0x4ccdc0,'retryNetworkErrorMaxTimes':_0x34b5f3})))]);})['then'](([_0x2ab67d])=>multipartComplete(_0x2ab67d,{'publicKey':_0x3d44b3,'baseURL':_0x4db6bf,'source':_0xfc2de,'integration':_0x5ed065,'userAgent':_0x51dcca,'retryThrottledRequestMaxTimes':_0x4ccdc0,'retryNetworkErrorMaxTimes':_0x34b5f3}))['then'](_0x17723c=>_0x17723c['isReady']?_0x17723c:_0x1ddc99(_0x17723c['uuid'],{'publicKey':_0x3d44b3,'baseURL':_0x4db6bf,'source':_0xfc2de,'integration':_0x5ed065,'userAgent':_0x51dcca,'retryThrottledRequestMaxTimes':_0x4ccdc0,'retryNetworkErrorMaxTimes':_0x34b5f3,'onProgress':_0x53b9f4,'signal':_0x364eaf}))['then'](_0x462f26=>new _0x302617(_0x462f26,{'baseCDN':_0xa28dca}));};async function _0x506a44(_0x1ad8d6,{publicKey:_0x29c17a,fileName:_0x58e5f8,baseURL:_0x5e244a=defaultSettings['baseURL'],secureSignature:_0x5cdd09,secureExpire:_0x7c97be,store:_0x520281,signal:_0x1dab3d,onProgress:_0x4875f9,source:_0x2d0d3c,integration:_0x9fdc50,userAgent:_0x4afad0,retryThrottledRequestMaxTimes:_0xec96ab,retryNetworkErrorMaxTimes:_0x2f5c02,contentType:_0x4f2667,multipartMinFileSize:_0x49decb,multipartChunkSize:_0xdcb331,maxConcurrentRequests:_0x557ebe,baseCDN:_0x1fa348=defaultSettings['baseCDN'],checkForUrlDuplicates:_0x231238,saveUrlForRecurrentUploads:_0x5e9ac7,pusherKey:_0x4f4fe4,metadata:_0x2a9652}){if(isFileData(_0x1ad8d6)){const _0x14f232=await getFileSize(_0x1ad8d6);return isMultipart(_0x14f232,_0x49decb)?uploadMultipart(_0x1ad8d6,{'publicKey':_0x29c17a,'contentType':_0x4f2667,'multipartChunkSize':_0xdcb331,'fileSize':_0x14f232,'fileName':_0x58e5f8,'baseURL':_0x5e244a,'secureSignature':_0x5cdd09,'secureExpire':_0x7c97be,'store':_0x520281,'signal':_0x1dab3d,'onProgress':_0x4875f9,'source':_0x2d0d3c,'integration':_0x9fdc50,'userAgent':_0x4afad0,'maxConcurrentRequests':_0x557ebe,'retryThrottledRequestMaxTimes':_0xec96ab,'retryNetworkErrorMaxTimes':_0x2f5c02,'baseCDN':_0x1fa348,'metadata':_0x2a9652}):uploadDirect(_0x1ad8d6,{'publicKey':_0x29c17a,'fileName':_0x58e5f8,'contentType':_0x4f2667,'baseURL':_0x5e244a,'secureSignature':_0x5cdd09,'secureExpire':_0x7c97be,'store':_0x520281,'signal':_0x1dab3d,'onProgress':_0x4875f9,'source':_0x2d0d3c,'integration':_0x9fdc50,'userAgent':_0x4afad0,'retryThrottledRequestMaxTimes':_0xec96ab,'retryNetworkErrorMaxTimes':_0x2f5c02,'baseCDN':_0x1fa348,'metadata':_0x2a9652});}if(_0x389cc6(_0x1ad8d6))return _0xb49d93(_0x1ad8d6,{'publicKey':_0x29c17a,'fileName':_0x58e5f8,'baseURL':_0x5e244a,'baseCDN':_0x1fa348,'checkForUrlDuplicates':_0x231238,'saveUrlForRecurrentUploads':_0x5e9ac7,'secureSignature':_0x5cdd09,'secureExpire':_0x7c97be,'store':_0x520281,'signal':_0x1dab3d,'onProgress':_0x4875f9,'source':_0x2d0d3c,'integration':_0x9fdc50,'userAgent':_0x4afad0,'retryThrottledRequestMaxTimes':_0xec96ab,'pusherKey':_0x4f4fe4,'metadata':_0x2a9652});if(_0x280a7d(_0x1ad8d6))return _0x3d1823(_0x1ad8d6,{'publicKey':_0x29c17a,'fileName':_0x58e5f8,'baseURL':_0x5e244a,'signal':_0x1dab3d,'onProgress':_0x4875f9,'source':_0x2d0d3c,'integration':_0x9fdc50,'userAgent':_0x4afad0,'retryThrottledRequestMaxTimes':_0xec96ab,'retryNetworkErrorMaxTimes':_0x2f5c02,'baseCDN':_0x1fa348});throw new TypeError('File\x20uploading\x20from\x20\x22'+_0x1ad8d6+'\x22\x20is\x20not\x20supported');}class _0x5e1e49{['uuid'];['filesCount'];['totalSize'];['isStored'];['isImage'];['cdnUrl'];['files'];['createdAt'];['storedAt']=null;constructor(_0x44a399,{baseCDN:_0x3e9d36=defaultSettings['baseCDN']}={}){this['uuid']=_0x44a399['id'],this['filesCount']=_0x44a399['filesCount'];const _0x33ac27=_0x44a399['files']['filter'](Boolean);this['totalSize']=Object['values'](_0x33ac27)['reduce']((_0x2aca52,_0x362084)=>_0x2aca52+_0x362084['size'],0x0),this['isStored']=!!_0x44a399['datetimeStored'],this['isImage']=!!Object['values'](_0x33ac27)['filter'](_0x3ab783=>_0x3ab783['isImage'])['length'],this['cdnUrl']=_0x44a399['cdnUrl'],this['files']=_0x33ac27['map'](_0x331a39=>new _0x302617(_0x331a39,{'baseCDN':_0x3e9d36})),this['createdAt']=_0x44a399['datetimeCreated'],this['storedAt']=_0x44a399['datetimeStored'];}}const isFileDataArray=_0x275b98=>{for(const _0xa71d6a of _0x275b98)if(!isFileData(_0xa71d6a))return!0x1;return!0x0;},_0x586e58=_0x42bb93=>{for(const _0x5bb208 of _0x42bb93)if(!_0x280a7d(_0x5bb208))return!0x1;return!0x0;},_0x3b54e8=_0x140b2b=>{for(const _0x890d8b of _0x140b2b)if(!_0x389cc6(_0x890d8b))return!0x1;return!0x0;};function _0x13073f(_0x364a13,{publicKey:_0x3b9f19,fileName:_0x1aced1,baseURL:_0x54dcfd=defaultSettings['baseURL'],secureSignature:_0x1a42cb,secureExpire:_0x365881,store:_0x1cca78,signal:_0x50c317,onProgress:_0xf1d6a5,source:_0x3b1b4d,integration:_0x2dfabb,userAgent:_0x2dd686,retryThrottledRequestMaxTimes:_0x44f97f,retryNetworkErrorMaxTimes:_0x12ec0e,contentType:_0x121e3d,multipartChunkSize:_0x4f5e13=defaultSettings['multipartChunkSize'],baseCDN:_0x3bd7d7=defaultSettings['baseCDN'],checkForUrlDuplicates:_0x163e15,saveUrlForRecurrentUploads:_0x4910b2,jsonpCallback:_0x4d305e}){if(!isFileDataArray(_0x364a13)&&!_0x3b54e8(_0x364a13)&&!_0x586e58(_0x364a13))throw new TypeError('Group\x20uploading\x20from\x20\x22'+_0x364a13+'\x22\x20is\x20not\x20supported');let _0x5d7587,_0x30b5e3=!0x0;const _0x5b9940=_0x364a13['length'],_0x181e69=(_0x5d5c71,_0x560514)=>{if(!_0xf1d6a5)return;_0x5d7587||(_0x5d7587=Array(_0x5d5c71)['fill'](0x0));const _0x4e91bb=_0x1f134f=>_0x1f134f['reduce']((_0x584ea4,_0x1161e4)=>_0x584ea4+_0x1161e4)/_0x5d5c71;return _0x4d59ee=>{if(!_0x4d59ee['isComputable']||!_0x30b5e3)return _0x30b5e3=!0x1,void _0xf1d6a5({'isComputable':!0x1});_0x5d7587[_0x560514]=_0x4d59ee['value'],_0xf1d6a5({'isComputable':!0x0,'value':_0x4e91bb(_0x5d7587)});};};return Promise['all'](_0x364a13['map']((_0xf2c50c,_0x4cefc7)=>isFileData(_0xf2c50c)||_0x389cc6(_0xf2c50c)?_0x506a44(_0xf2c50c,{'publicKey':_0x3b9f19,'fileName':_0x1aced1,'baseURL':_0x54dcfd,'secureSignature':_0x1a42cb,'secureExpire':_0x365881,'store':_0x1cca78,'signal':_0x50c317,'onProgress':_0x181e69(_0x5b9940,_0x4cefc7),'source':_0x3b1b4d,'integration':_0x2dfabb,'userAgent':_0x2dd686,'retryThrottledRequestMaxTimes':_0x44f97f,'retryNetworkErrorMaxTimes':_0x12ec0e,'contentType':_0x121e3d,'multipartChunkSize':_0x4f5e13,'baseCDN':_0x3bd7d7,'checkForUrlDuplicates':_0x163e15,'saveUrlForRecurrentUploads':_0x4910b2})['then'](_0x2d1c20=>_0x2d1c20['uuid']):_0xf2c50c))['then'](_0x26bc6d=>_0x50071a(_0x26bc6d,{'publicKey':_0x3b9f19,'baseURL':_0x54dcfd,'jsonpCallback':_0x4d305e,'secureSignature':_0x1a42cb,'secureExpire':_0x365881,'signal':_0x50c317,'source':_0x3b1b4d,'integration':_0x2dfabb,'userAgent':_0x2dd686,'retryThrottledRequestMaxTimes':_0x44f97f,'retryNetworkErrorMaxTimes':_0x12ec0e})['then'](_0x53aa14=>new _0x5e1e49(_0x53aa14,{'baseCDN':_0x3bd7d7}))['then'](_0xdb9932=>(_0xf1d6a5&&_0xf1d6a5({'isComputable':!0x0,'value':0x1}),_0xdb9932)));}class _0x3f58b1{['_concurrency']=0x1;['_pending']=[];['_running']=0x0;['_resolvers']=new Map();['_rejectors']=new Map();constructor(_0x14f6ba){this['_concurrency']=_0x14f6ba;}['_run'](){const _0x478014=this['_concurrency']-this['_running'];for(let _0x868461=0x0;_0x868461<_0x478014;_0x868461++){const _0x22cd42=this['_pending']['shift']();if(!_0x22cd42)return;const _0x56b197=this['_resolvers']['get'](_0x22cd42),_0x48aa45=this['_rejectors']['get'](_0x22cd42);if(!_0x56b197||!_0x48aa45)throw new Error('Unexpected\x20behavior:\x20resolver\x20or\x20rejector\x20is\x20undefined');this['_running']+=0x1,_0x22cd42()['finally'](()=>{this['_resolvers']['delete'](_0x22cd42),this['_rejectors']['delete'](_0x22cd42),this['_running']-=0x1,this['_run']();})['then'](_0x557cc8=>_0x56b197(_0x557cc8))['catch'](_0x1d7ddd=>_0x48aa45(_0x1d7ddd));}}['add'](_0x28db18){return new Promise((_0x46f4a3,_0x29f8da)=>{this['_resolvers']['set'](_0x28db18,_0x46f4a3),this['_rejectors']['set'](_0x28db18,_0x29f8da),this['_pending']['push'](_0x28db18),this['_run']();});}get['pending'](){return this['_pending']['length'];}get['running'](){return this['_running'];}set['concurrency'](_0x2999fd){this['_concurrency']=_0x2999fd,this['_run']();}get['concurrency'](){return this['_concurrency'];}}const blockCtx=()=>({}),activityBlockCtx=_0x5f1032=>({...blockCtx(),'*currentActivity':null,'*currentActivityParams':{},'*history':[],'*historyBack':null,'*closeModal':()=>{_0x5f1032['modalManager']['close'](_0x5f1032['$']['*currentActivity']),_0x5f1032['set$']({'*currentActivity':null});}}),uploaderBlockCtx=_0x254e0c=>({...activityBlockCtx(_0x254e0c),'*commonProgress':0x0,'*uploadList':[],'*uploadQueue':new _0x3f58b1(0x1),'*collectionErrors':[],'*collectionState':null,'*groupInfo':null,'*uploadTrigger':new Set(),'*secureUploadsManager':null});var _0xa8024e={'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','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':'Queued'};const localeRegistry=new Map(),_0x5958f7=new Map(),_0x2eb838=(_0x452a85,_0x21e67e)=>{localeRegistry['has'](_0x452a85)&&console['log']('Locale\x20'+_0x452a85+'\x20is\x20already\x20defined.\x20Overwriting...'),localeRegistry['set'](_0x452a85,{..._0xa8024e,..._0x21e67e});},_0x3e282d=(_0x417549,_0x3211bb)=>{_0x5958f7['set'](_0x417549,_0x3211bb);},_0x2c2b72=(_0x1d29c9,_0x2cd099)=>{'function'==typeof _0x2cd099?_0x3e282d(_0x1d29c9,_0x2cd099):_0x2eb838(_0x1d29c9,_0x2cd099);},resolveLocaleDefinition=async _0x36db6f=>{if(!localeRegistry['has'](_0x36db6f)){if(!_0x5958f7['has'](_0x36db6f))throw new Error('Locale\x20'+_0x36db6f+'\x20is\x20not\x20defined');const _0xe04578=_0x5958f7['get'](_0x36db6f),_0x2e6036=await _0xe04578();_0x2eb838(_0x36db6f,_0x2e6036);}return localeRegistry['get'](_0x36db6f);};_0x2c2b72('en',_0xa8024e);const localeStateKey=_0x316363=>'*l10n/'+_0x316363,_0x55c9b9='en';class _0x382351{['_blockInstance']=null;['_localeName']='';['_callbacks']=new Set();['_boundBlocks']=new Map();constructor(_0x5d2849){this['_blockInstance']=_0x5d2849;for(let [_0x22a659,_0xf1227]of Object['entries'](_0xa8024e)){const _0x467e39=!this['_blockInstance']['has'](localeStateKey(_0x22a659))||!this['_blockInstance']['$'][localeStateKey(_0x22a659)];this['_blockInstance']['add'](localeStateKey(_0x22a659),_0xf1227,_0x467e39);}setTimeout(()=>{_0x5d2849['subConfigValue']('localeName',async _0x24747e=>{if(!this['_blockInstance']||!_0x24747e)return;this['_localeName']=_0x24747e;const _0x5c893c=await resolveLocaleDefinition(_0x24747e);if(_0x24747e!==_0x55c9b9&&this['_localeName']!==_0x24747e)return;const _0x476606=this['_blockInstance']['cfg']['localeDefinitionOverride']?.[_0x24747e];for(const [_0x3e2fb9,_0x4f8055]of Object['entries'](_0x5c893c)){const _0x5a2a1e=_0x476606?.[_0x3e2fb9];this['_blockInstance']['add'](localeStateKey(_0x3e2fb9),_0x5a2a1e??_0x4f8055,!0x0);for(const _0x23c99f of this['_callbacks'])_0x23c99f();}}),_0x5d2849['subConfigValue']('localeDefinitionOverride',_0x5bbe69=>{if(!_0x5bbe69)return;const _0x3627e3=_0x5bbe69[this['_localeName']];if(_0x3627e3)for(const [_0x3fd604,_0x4da590]of Object['entries'](_0x3627e3)){this['_blockInstance']?.['add'](localeStateKey(_0x3fd604),_0x4da590,!0x0);for(const _0x1ffe0f of this['_callbacks'])_0x1ffe0f();}});});}['onLocaleChange'](_0x27b899){const _0x20b2b5=_0x31f04e(_0x27b899,0x0);return this['_callbacks']['add'](_0x20b2b5),()=>{this['_callbacks']['delete'](_0x20b2b5);};}['bindL10n'](_0x24910d,_0x3568ec,_0x2588b4){_0x24910d['$'][_0x3568ec]=_0x2588b4(),this['_boundBlocks']['has'](_0x24910d)||this['_boundBlocks']['set'](_0x24910d,new Map()),this['_boundBlocks']['get'](_0x24910d)?.['get'](_0x3568ec)?.();const _0x5ea08d=this['onLocaleChange'](()=>{_0x24910d['$'][_0x3568ec]=_0x2588b4();});this['_boundBlocks']['get'](_0x24910d)?.['set'](_0x3568ec,_0x5ea08d);}['destroyL10nBindings'](_0x36a82e){const _0x4fca5e=this['_boundBlocks']['get'](_0x36a82e);if(_0x4fca5e){for(const _0x2d7bc1 of _0x4fca5e['values']())_0x2d7bc1();this['_boundBlocks']['delete'](_0x36a82e);}}['destroy'](){this['_callbacks']['clear']();}}function _0xc121c9(_0x36b272,_0x225907){[..._0x36b272['querySelectorAll']('[l10n]')]['forEach'](_0x2adf00=>{let _0x50b72b=_0x2adf00['getAttribute']('l10n');if(!_0x50b72b)return;const _0x253297=_0x50b72b['split'](';');for(const _0x3fc0aa of _0x253297)_0x3fc0aa&&_0x22757f(_0x2adf00,_0x3fc0aa,_0x225907);});}const _0x22757f=(_0x1d8412,_0x201b78,_0xcbd897)=>{let _0x1c41b2='textContent',_0x26b9e6=!0x1;if(_0x201b78['includes'](':')){const _0x484e88=_0x201b78['split'](':');_0x1c41b2=_0x484e88[0x0],_0x201b78=_0x484e88[0x1],_0x1c41b2['startsWith']('@')&&(_0x1c41b2=_0x1c41b2['slice'](0x1),_0x26b9e6=!0x0);}const _0x46d186=_0x201b78;_0xcbd897['has'](_0x46d186)&&_0xcbd897['sub'](_0x46d186,_0x381482=>{if(!_0x381482)return;_0xcbd897['l10nProcessorSubs']['has'](_0x46d186)||_0xcbd897['l10nProcessorSubs']['set'](_0x46d186,new Set());const _0x455b39=_0xcbd897['l10nProcessorSubs']['get'](_0x46d186);_0x455b39?.['forEach'](_0x4e73d1=>{_0x4e73d1['remove'](),_0x455b39['delete'](_0x4e73d1),_0xcbd897['allSubs']['delete'](_0x4e73d1);});const _0x53742a=localeStateKey(_0x381482)['replace']('*','');_0xcbd897['nodeCtx']['has'](_0x53742a)||_0xcbd897['nodeCtx']['add'](_0x53742a,_0x381482);const _0x14cac0=_0xcbd897['nodeCtx']['sub'](_0x53742a,()=>{_0x1d8412[_0x1c41b2]=_0xcbd897['l10n'](_0x381482);});_0x455b39?.['add'](_0x14cac0),_0xcbd897['allSubs']['add'](_0x14cac0),_0x1d8412['removeAttribute']('l10n');});const _0x19244e=localeStateKey(_0x201b78);_0xcbd897['has'](_0x19244e)||_0xcbd897['add'](_0x19244e,''),_0xcbd897['sub'](_0x19244e,()=>{_0x26b9e6?_0x1d8412['setAttribute'](_0x1c41b2,_0xcbd897['l10n'](_0x201b78)):_0x1d8412[_0x1c41b2]=_0xcbd897['l10n'](_0x201b78);}),_0x1d8412['removeAttribute']('l10n');},_0x3fe1ef=_0x3b1e68=>'*cfg/'+_0x3b1e68,_0x14319f={'button':['toolbar'],'checkbox':['toolbar'],'menuitem':['menu','menubar'],'option':['listbox'],'tab':['tablist']};function _0x30c47b(_0x21ed05,_0x2ce37a){_0x2ce37a['tabIndex']=0x0,_0x2ce37a['focus'](),_0x21ed05['tabIndex']=-0x1;}function findGroupNodeByEventTarget(_0x526717){let _0x4cfaf4=_0x526717['role']||_0x526717['type']||_0x526717['tagName'];if(!_0x4cfaf4)return null;let _0x58ea45=_0x14319f[_0x4cfaf4['toLowerCase']()];if(!_0x58ea45)return null;for(let _0x36609b of _0x58ea45){let _0x3ed1ea=_0x526717['closest']('[role='+_0x36609b+']');if(_0x3ed1ea)return _0x3ed1ea;}}function getItems(_0x3e9091,_0x422e33){return'toolbar'===_0x422e33['role']?getToolbarItems(_0x422e33):_0x422e33['querySelectorAll']('[role='+_0x3e9091['role']+']');}function getToolbarItems(_0x210840){return[..._0x210840['querySelectorAll']('*')]['filter'](_0x3cee17=>'button'===_0x3cee17['role']||'button'===_0x3cee17['type']||'checkbox'===_0x3cee17['role']||'checkbox'===_0x3cee17['type']);}function isHorizontalOrientation(_0x4209c0){let _0x2ad12d=_0x4209c0['getAttribute']('aria-orientation');if('vertical'===_0x2ad12d)return!0x1;if('horizontal'===_0x2ad12d)return!0x0;let _0x16e763=_0x4209c0['role'];return'menubar'===_0x16e763||'tablist'===_0x16e763||'toolbar'===_0x16e763;}function _0x24fcfd(_0x46ae6d){return _0xed5170=>{let _0x190425=!0x1,_0x71fa30=0x0,_0x59e129='';function _0x5c3cf5(_0x430efe){let _0x26f7eb=findGroupNodeByEventTarget(_0x430efe['target']);if(!_0x26f7eb)return void _0x27dfe9();let _0xb9efc0=getItems(_0x430efe['target'],_0x26f7eb),_0x14d67f=Array['from'](_0xb9efc0)['indexOf'](_0x430efe['target']),_0x377f97='ArrowDown',_0x5c5215='ArrowUp';if(isHorizontalOrientation(_0x26f7eb)&&('rtl'===_0xed5170['document']['dir']?(_0x377f97='ArrowLeft',_0x5c5215='ArrowRight'):(_0x377f97='ArrowRight',_0x5c5215='ArrowLeft')),_0x430efe['key']===_0x377f97)_0x430efe['preventDefault'](),_0x30c47b(_0x430efe['target'],_0xb9efc0[_0x14d67f+0x1]||_0xb9efc0[0x0]);else{if(_0x430efe['key']===_0x5c5215)_0x430efe['preventDefault'](),_0x30c47b(_0x430efe['target'],_0xb9efc0[_0x14d67f-0x1]||_0xb9efc0[_0xb9efc0['length']-0x1]);else{if('Home'===_0x430efe['key'])_0x430efe['preventDefault'](),_0x30c47b(_0x430efe['target'],_0xb9efc0[0x0]);else{if('End'===_0x430efe['key'])_0x430efe['preventDefault'](),_0x30c47b(_0x430efe['target'],_0xb9efc0[_0xb9efc0['length']-0x1]);else{if(0x1===_0x430efe['key']['length']&&'tablist'!==_0x26f7eb['role']){let _0x2fd74e=Date['now']();_0x2fd74e-_0x71fa30<=0x12c?_0x59e129+=_0x430efe['key']['toLowerCase']():_0x59e129=_0x430efe['key']['toLowerCase'](),_0x71fa30=_0x2fd74e;let _0x596abd=Array['from'](_0xb9efc0)['find'](_0x1ceed2=>_0x1ceed2['textContent']?.['trim']()?.['toLowerCase']()?.['startsWith'](_0x59e129));_0x596abd&&(_0x430efe['preventDefault'](),_0x30c47b(_0x430efe['target'],_0x596abd));}}}}}}function _0x27dfe9(){_0x190425=!0x1,_0xed5170['removeEventListener']('keydown',_0x5c3cf5);}function _0x42c37b(_0x136814){let _0x17473a=findGroupNodeByEventTarget(_0x136814['target']);if(_0x17473a){_0x190425||(_0x190425=!0x0,_0xed5170['addEventListener']('keydown',_0x5c3cf5));let _0xebd9bc=getItems(_0x136814['target'],_0x17473a);for(let _0x313275 of _0xebd9bc)_0x313275!==_0x136814['target']&&_0x313275['setAttribute']('tabindex',-0x1);}else _0x190425&&_0x27dfe9();}function _0x5db3de(_0x2ebbe6){_0x2ebbe6['relatedTarget']&&_0x2ebbe6['relatedTarget']!==_0xed5170['document']||_0x27dfe9();}function _0x3d4ba6(_0x5d1159){let _0x11fda6=findGroupNodeByEventTarget(_0x5d1159['target']);if(_0x11fda6){let _0x52920e=getItems(_0x5d1159['target'],_0x11fda6);for(let _0x187a24 of _0x52920e)_0x187a24!==_0x5d1159['target']&&_0x187a24['setAttribute']('tabindex',-0x1);_0x5d1159['target']['setAttribute']('tabindex',0x0);}}return _0xed5170['addEventListener']('click',_0x3d4ba6),_0xed5170['addEventListener']('focusin',_0x42c37b),_0xed5170['addEventListener']('focusout',_0x5db3de),()=>{_0x27dfe9(),_0xed5170['removeEventListener']('click',_0x3d4ba6),_0xed5170['removeEventListener']('focusin',_0x42c37b),_0xed5170['removeEventListener']('focusout',_0x5db3de);};};}function _0x1755db(){return _0x3bb486=>{let _0x5d3952,_0xfc1677;function _0x264bab(_0x15d0cb){if('true'===_0x15d0cb['target']['getAttribute']('aria-hidden')){_0x5d3952=_0x15d0cb['target'],_0x5d3952['setAttribute']('aria-hidden','false'),_0xfc1677=_0x5d3952['hidden'],_0xfc1677&&(_0x5d3952['hidden']=!0x1);let _0x15980f=_0x15d0cb['target']['querySelector']('a,\x20button,\x20select,\x20textarea,\x20input:not([type=radio]),\x20[type=radio]:checked,\x20[tabindex]:not([tabindex=\x22-1\x22])');_0x15980f&&(_0x15980f['tabIndex']=0x0);}}function _0x43528c(_0x4eac9e){!_0x5d3952||!_0x5d3952['contains'](_0x4eac9e['target'])||_0x4eac9e['relatedTarget']&&_0x5d3952['contains'](_0x4eac9e['relatedTarget'])||(_0x4eac9e['target']['tabIndex']=-0x1,_0x5d3952['setAttribute']('aria-hidden','true'),_0xfc1677&&(_0x5d3952['hidden']=!0x0),_0x5d3952=null);}return _0x3bb486['addEventListener']('keyuxJump',_0x264bab),_0x3bb486['addEventListener']('focusout',_0x43528c),()=>{_0x3bb486['removeEventListener']('keyuxJump',_0x264bab),_0x3bb486['removeEventListener']('focusout',_0x43528c);};};}function _0x5d0644(){return _0x3669ff=>{let _0x26d241=[];function _0x49d3a6(){let _0xf48a34=_0x26d241['pop']();if(!_0xf48a34)return void _0x3669ff['document']['activeElement']['blur']();let _0x39bdb1=_0xf48a34['deref']();_0x39bdb1&&_0x39bdb1['isConnected']?_0x39bdb1['focus']():_0x49d3a6();}let _0x1372ca,_0x14f0f1=0x0;function _0x126a93(_0x44e851){clearInterval(_0x1372ca);let _0x36883c=_0x44e851['getAttribute']('aria-controls');_0x1372ca=setInterval(()=>{if(_0x14f0f1++>0x32)return void clearInterval(_0x1372ca);let _0x2208f5=_0x3669ff['document']['getElementById'](_0x36883c);if(_0x2208f5){let _0x5c6d10=_0x2208f5['querySelector']('a,\x20button,\x20select,\x20textarea,\x20input:not([type=radio]),\x20[type=radio]:checked,\x20[tabindex]:not([tabindex=\x22-1\x22])');_0x5c6d10&&(clearInterval(_0x1372ca),_0x2208f5['dispatchEvent'](new _0x3669ff['CustomEvent']('keyuxJump',{'bubbles':!0x0})),function(_0x245dad){let _0x253bd0=_0x3669ff['document']['activeElement'];_0x253bd0&&_0x253bd0!==_0x3669ff['document']['body']&&_0x26d241['push'](new WeakRef(_0x253bd0)),_0x245dad['focus']({'focusVisible':!0x0});}(_0x5c6d10));}},0x32);}function _0x31cb34(_0x25a5d7){_0x25a5d7['target']['getAttribute']('aria-controls')&&'Enter'===_0x25a5d7['key']&&_0x126a93(_0x25a5d7['target']),'Escape'===_0x25a5d7['key']&&_0x49d3a6();}return _0x3669ff['addEventListener']('keydown',_0x31cb34),()=>{_0x3669ff['removeEventListener']('keydown',_0x31cb34);};};}function _0xe39650(_0x458557){let _0x21b20b,_0x48788b,_0x2732cb=_0x458557['split']('\x20');function _0x113c88(_0x576e83){'Enter'!==_0x576e83['key']||'BUTTON'!==_0x576e83['target']['tagName']&&'A'!==_0x576e83['target']['tagName']||(_0x25fcc9(),_0x576e83['target']['classList']['add'](..._0x2732cb),_0x21b20b=_0x576e83['target'],_0x48788b=_0x576e83['target']);}function _0x25fcc9(){_0x21b20b&&_0x21b20b['classList']['remove'](..._0x2732cb),_0x48788b=null;}function _0x2b4c24(_0x1eeacd){0x0===_0x1eeacd['clientX']&&0x0===_0x1eeacd['clientY']&&_0x48788b!==_0x1eeacd['target']&&(_0x25fcc9(),_0x1eeacd['target']['classList']['add'](..._0x2732cb),_0x21b20b=_0x1eeacd['target']);}return _0x503b82=>(_0x503b82['addEventListener']('click',_0x2b4c24),_0x503b82['addEventListener']('keydown',_0x113c88),_0x503b82['addEventListener']('keyup',_0x25fcc9),()=>{_0x503b82['removeEventListener']('click',_0x2b4c24),_0x503b82['removeEventListener']('keydown',_0x113c88),_0x503b82['removeEventListener']('keyup',_0x25fcc9);});}function startKeyUX(_0x136dec,_0x5026b7){let _0x4d038f=_0x5026b7['map'](_0x2ecf72=>_0x2ecf72(_0x136dec));return()=>{_0x4d038f['forEach'](_0x3e735c=>_0x3e735c());};}class _0x14bab3{['_listeners']=new Map();['_scope']=[];['addEventListener'](_0x29388f,_0x24f2c3){const _0x39093c=_0x277710=>{const _0x110086=_0x277710['target'];_0x110086&&this['_scope']['some'](_0x2a2fd0=>_0x2a2fd0===_0x277710['target']||_0x2a2fd0['contains'](_0x110086))&&_0x24f2c3(_0x277710);};this['_listeners']['set'](_0x24f2c3,_0x39093c),window['addEventListener'](_0x29388f,_0x39093c);}['removeEventListener'](_0x2fe7,_0x348021){const _0x2a6a44=this['_listeners']['get'](_0x348021);_0x2a6a44&&window['removeEventListener'](_0x2fe7,_0x2a6a44),this['_listeners']['delete'](_0x348021);}get['CustomEvent'](){return window['CustomEvent'];}get['document'](){return window['document'];}get['navigator'](){return window['navigator'];}['registerScope'](_0xe51231){this['_scope']['push'](_0xe51231);}['destroy'](){this['_scope']=[],this['_listeners']['forEach']((_0x59dd2d,_0x2080a3)=>{window['removeEventListener']('keydown',_0x59dd2d),window['removeEventListener']('keyup',_0x59dd2d),this['_listeners']['delete'](_0x2080a3);});}}class _0xaefb{['_destroyKeyUX'];['_scopedWindow'];constructor(){this['_scopedWindow']=new _0x14bab3(),this['_destroyKeyUX']=startKeyUX(this['_scopedWindow'],[_0x24fcfd(),_0xe39650('is-pressed'),_0x5d0644(),_0x1755db()]);}['registerBlock'](_0x51c483){this['_scopedWindow']['registerScope'](_0x51c483);}['destroy'](){this['_destroyKeyUX']?.(),this['_scopedWindow']['destroy']();}}const ModalEvents=Object['freeze']({'ADD':'modal:add','DELETE':'modal:delete','OPEN':'modal:open','CLOSE':'modal:close','CLOSE_ALL':'modal:closeAll','DESTROY':'modal:destroy'});class _0x5b89c3{['_modals']=new Map();['_activeModals']=new Set();['_subscribers']=new Map();constructor(_0x233d36){this['_block']=_0x233d36;}['_debugPrint'](..._0x402834){this['_block']['debugPrint']('[modal-manager]',..._0x402834);}['registerModal'](_0x52a3c0,_0x44879c){this['_modals']['set'](_0x52a3c0,_0x44879c),this['_notify'](ModalEvents['ADD'],{'id':_0x52a3c0,'modal':_0x44879c});}['deleteModal'](_0x536d32){if(!this['_modals']['has'](_0x536d32))return!0x1;const _0x4f9fd0=this['_modals']['get'](_0x536d32);return this['_modals']['delete'](_0x536d32),this['_activeModals']['delete'](_0x536d32),this['_notify'](ModalEvents['DELETE'],{'id':_0x536d32,'modal':_0x4f9fd0}),!0x0;}['open'](_0x5753f3){if(!this['_modals']['has'](_0x5753f3))return this['_debugPrint']('Modal\x20with\x20ID\x20\x22'+_0x5753f3+'\x22\x20not\x20found'),!0x1;const _0x2df351=this['_modals']['get'](_0x5753f3);return this['_activeModals']['add'](_0x5753f3),this['_notify'](ModalEvents['OPEN'],{'modal':_0x2df351,'id':_0x5753f3}),!0x0;}['close'](_0x5bd8b5){if(!this['_modals']['has'](_0x5bd8b5)||!this['_activeModals']['has'](_0x5bd8b5))return this['_debugPrint']('Modal\x20with\x20ID\x20\x22'+_0x5bd8b5+'\x22\x20not\x20found\x20or\x20not\x20active'),!0x1;const _0x393721=this['_modals']['get'](_0x5bd8b5);return this['_activeModals']['delete'](_0x5bd8b5),this['_notify'](ModalEvents['CLOSE'],{'id':_0x5bd8b5,'modal':_0x393721}),!0x0;}['toggle'](_0x33f3a1){return this['_modals']['has'](_0x33f3a1)?this['_activeModals']['has'](_0x33f3a1)?this['close'](_0x33f3a1):this['open'](_0x33f3a1):(this['_debugPrint']('Modal\x20with\x20ID\x20\x22'+_0x33f3a1+'\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 _0x16368d=Array['from'](this['_activeModals'])['pop']();return this['close'](_0x16368d);}['closeAll'](){const _0x1d6722=this['_activeModals']['size'];return this['_activeModals']['clear'](),this['_notify'](ModalEvents['CLOSE_ALL'],{}),_0x1d6722;}['subscribe'](_0x21f63d,_0x3805e5){return this['_subscribers']['has'](_0x21f63d)||this['_subscribers']['set'](_0x21f63d,new Set()),this['_subscribers']['get'](_0x21f63d)?.['add'](_0x3805e5),()=>this['unsubscribe'](_0x21f63d,_0x3805e5);}['unsubscribe'](_0x35f796,_0x22091a){this['_subscribers']['has'](_0x35f796)&&this['_subscribers']['get'](_0x35f796)?.['delete'](_0x22091a);}['_notify'](_0x3336a5,_0x2ccfad){if(this['_subscribers']['has'](_0x3336a5)){for(const _0x5022e8 of this['_subscribers']['get'](_0x3336a5)??new Set())try{_0x5022e8(_0x2ccfad);}catch(_0x304051){this['_debugPrint']('Error\x20in\x20modal\x20subscriber:',_0x304051);}}}['destroy'](){this['closeAll'](),this['_modals']['clear'](),this['_subscribers']['clear'](),this['_notify'](ModalEvents['DESTROY'],{});}}function testModeProcessor(_0x3aafc4,_0x5ef9bf){const _0x13cac2=_0x3aafc4['querySelectorAll']('[data-testid]');if(0x0===_0x13cac2['length'])return;const _0x48caef=new WeakMap();for(const _0x373468 of _0x13cac2){const _0x5daf35=_0x373468['getAttribute']('data-testid');_0x5daf35&&_0x48caef['set'](_0x373468,_0x5daf35);}_0x5ef9bf['subConfigValue']('testMode',_0x20f133=>{if(!_0x20f133){for(const _0x52e528 of _0x13cac2)_0x52e528['removeAttribute']('data-testid');return;}const _0xb89ad0=_0x5ef9bf['testId'];for(const _0x5d7dca of _0x13cac2){const _0xe28a28=_0x48caef['get'](_0x5d7dca);_0xe28a28&&_0x5d7dca['setAttribute']('data-testid',_0xb89ad0+'--'+_0xe28a28);}});}const _0x4cfb0c='uc-';class _0x337de7 extends BaseComponent{static ['StateConsumerScope']=null;static ['styleAttrs']=[];['requireCtxName']=!0x1;['activityType']=null;['init$']=blockCtx();['l10n'](_0x58a67e,_0x56a266={}){if(!_0x58a67e)return'';let _0x252aa6=this['$'][localeStateKey(_0x58a67e)]||_0x58a67e,_0x1fa3c4=getPluralObjects(_0x252aa6);for(let _0x2556b7 of _0x1fa3c4)_0x56a266[_0x2556b7['variable']]=this['pluralize'](_0x2556b7['pluralKey'],Number(_0x56a266[_0x2556b7['countVariable']]));return applyTemplateData(_0x252aa6,_0x56a266);}['pluralize'](_0x16d0ca,_0x153621){const _0x4e021b=this['l10n']('locale-id')||'en',_0x42f132=getPluralForm(_0x4e021b,_0x153621);return this['l10n'](_0x16d0ca+'__'+_0x42f132);}['bindL10n'](_0x50ce6c,_0x5bc622){this['localeManager']?.['bindL10n'](this,_0x50ce6c,_0x5bc622);}constructor(){super(),this['l10nProcessorSubs']=new Map(),this['addTemplateProcessor'](_0xc121c9),this['addTemplateProcessor'](testModeProcessor);}['emit'](_0x3a10ff,_0x4296d5,_0x286beb){const _0x3c0af1=this['has']('*eventEmitter')&&this['$']['*eventEmitter'];_0x3c0af1&&_0x3c0af1['emit'](_0x3a10ff,_0x4296d5,_0x286beb);}['hasBlockInCtx'](_0x2fc4d2){for(let _0x3e3ac6 of this['blocksRegistry'])if(_0x2fc4d2(_0x3e3ac6))return!0x0;return!0x1;}['setOrAddState'](_0x46196e,_0x2d942a){this['add$']({[_0x46196e]:_0x2d942a},!0x0);}['connectedCallback'](){this['constructor']['styleAttrs']['forEach'](_0x48eabd=>{this['setAttribute'](_0x48eabd,'');}),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 _0x382351(this)),this['has']('*a11y')||this['add']('*a11y',new _0xaefb()),this['has']('*modalManager')||this['add']('*modalManager',new _0x5b89c3(this)),this['sub'](localeStateKey('locale-id'),_0xca0177=>{const _0x33de05=getLocaleDirection(_0xca0177);this['style']['direction']='ltr'===_0x33de05?'':_0x33de05;}),this['subConfigValue']('testMode',_0x1e30ab=>{_0x1e30ab&&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'];}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']();let _0x199d39=this['blocksRegistry'];_0x199d39?.['delete'](this),this['localeManager']?.['destroyL10nBindings'](this),this['l10nProcessorSubs']=new Map(),Data['deleteCtx'](this),0x0===_0x199d39?.['size']&&setTimeout(()=>{this['destroyCtxCallback']();},0x0);}['destroyCtxCallback'](){Data['deleteCtx'](this['ctxName']),this['localeManager']?.['destroy'](),this['modalManager']&&this['modalManager']?.['destroy']();}async['proxyUrl'](_0x4c0d60){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'](_0x4c0d60,{'uuid':extractUuid(_0x4c0d60),'cdnUrlModifiers':extractCdnUrlModifiers(_0x4c0d60),'fileName':extractFilename(_0x4c0d60)});}catch(_0x2a764b){return console['error']('Failed\x20to\x20resolve\x20secure\x20delivery\x20proxy\x20URL.\x20Falling\x20back\x20to\x20the\x20default\x20URL.',_0x2a764b),_0x4c0d60;}return this['cfg']['secureDeliveryProxy']?applyTemplateData(this['cfg']['secureDeliveryProxy'],{'previewUrl':_0x4c0d60},{'transform':_0x680a90=>window['encodeURIComponent'](_0x680a90)}):_0x4c0d60;}get['cfg'](){if(!this['__cfgProxy']){let _0x1e4cb1=Object['create'](null);this['__cfgProxy']=new Proxy(_0x1e4cb1,{'set':(_0x58c2ff,_0x2cbec7,_0xf595a0)=>{if('string'!=typeof _0x2cbec7)return!0x1;const _0x3f11f6=_0x3fe1ef(_0x2cbec7);return this['has'](_0x3f11f6)||this['add'](_0x3f11f6,initialConfig[_0x2cbec7]),this['$'][_0x3f11f6]=_0xf595a0,!0x0;},'get':(_0x373ba3,_0x54ed76)=>{const _0x10f9bd=_0x3fe1ef(_0x54ed76);return this['has'](_0x10f9bd)||this['add'](_0x10f9bd,initialConfig[_0x54ed76]),this['$'][_0x3fe1ef(_0x54ed76)];}});}return this['__cfgProxy'];}['subConfigValue'](_0x3ce7ee,_0x1d6369){const _0xda0806=_0x3fe1ef(_0x3ce7ee);this['has'](_0xda0806)||this['add'](_0xda0806,initialConfig[_0x3ce7ee]),this['sub'](_0xda0806,_0x1d6369);}['debugPrint'](..._0x5cec39){if(!this['cfg']['debug'])return;let _0x3824e2=_0x5cec39;'function'==typeof _0x5cec39?.[0x0]&&(_0x3824e2=(0x0,_0x5cec39[0x0])()),console['log']('['+this['ctxName']+']',..._0x3824e2);}static['reg'](_0x415f17){_0x415f17?_0x415f17['startsWith'](_0x4cfb0c)&&super['reg'](_0x415f17):super['reg']();}}var svgIconsSprite$1='<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\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>';class SolutionBlock extends _0x337de7{static ['styleAttrs']=['uc-wgt-common'];['requireCtxName']=!0x0;['init$']=uploaderBlockCtx(this);['_template']=null;['initCallback'](){super['initCallback'](),this['a11y']?.['registerBlock'](this);}static set['template'](_0xc47619){this['_template']=svgIconsSprite$1+_0xc47619+'<slot></slot>';}static get['template'](){return this['_template'];}}const _0x5b20fa='active',_0x53865b='___ACTIVITY_IS_ACTIVE___';class ActivityBlock extends _0x337de7{['historyTracked']=!0x1;['init$']=activityBlockCtx(this);['_debouncedHistoryFlush']=_0x31f04e(this['_historyFlush']['bind'](this),0xa);['_deactivate'](){let _0x323d5e=ActivityBlock['_activityCallbacks']['get'](this);this[_0x53865b]=!0x1,this['removeAttribute'](_0x5b20fa),_0x323d5e?.['deactivateCallback']?.();}['_activate'](){let _0x59287c=ActivityBlock['_activityCallbacks']['get'](this);this['$']['*historyBack']=this['historyBack']['bind'](this),this[_0x53865b]=!0x0,this['setAttribute'](_0x5b20fa,''),_0x59287c?.['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',_0x396c22=>{try{this['activityType']!==_0x396c22&&this[_0x53865b]?this['_deactivate']():this['activityType']!==_0x396c22||this[_0x53865b]||this['_activate']();}catch(_0x900e83){console['error']('Error\x20in\x20activity\x20\x22'+this['activityType']+'\x22.\x20',_0x900e83),this['$']['*currentActivity']=this['$']['*history'][this['$']['*history']['length']-0x1]??null;}_0x396c22||(this['$']['*history']=[]);}));}['_historyFlush'](){let _0x25b7da=this['$']['*history'];_0x25b7da&&(_0x25b7da['length']>0xa&&(_0x25b7da=_0x25b7da['slice'](_0x25b7da['length']-0xb,_0x25b7da['length']-0x1)),this['historyTracked']&&_0x25b7da[_0x25b7da['length']-0x1]!==this['activityType']&&_0x25b7da['push'](this['activityType']),this['$']['*history']=_0x25b7da);}['_isActivityRegistered'](){return this['activityType']&&ActivityBlock['_activityCallbacks']['has'](this);}static ['_activityCallbacks']=new Map();get['isActivityActive'](){return this[_0x53865b];}get['couldOpenActivity'](){return!0x0;}['registerActivity'](_0x3c963b,_0x25fb65={}){const {onActivate:_0x17d33a,onDeactivate:_0x4d0594}=_0x25fb65;ActivityBlock['_activityCallbacks']['set'](this,{'activateCallback':_0x17d33a,'deactivateCallback':_0x4d0594});}['unregisterActivity'](){this['isActivityActive']&&this['_deactivate'](),ActivityBlock['_activityCallbacks']['delete'](this);}['destroyCallback'](){super['destroyCallback'](),this['_isActivityRegistered']()&&this['unregisterActivity']();const _0x13833b=this['$']['*currentActivity'];!![...this['blocksRegistry']]['find'](_0x3c1476=>_0x3c1476 instanceof ActivityBlock&&_0x3c1476['activityType']===_0x13833b)||(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'](){let _0x320a7b=this['$']['*history'];if(_0x320a7b){let _0x447fd0=_0x320a7b['pop']();for(;_0x447fd0===this['activityType'];)_0x447fd0=_0x320a7b['pop']();let _0x2f3fbf=!!_0x447fd0;if(_0x447fd0){const _0x2bf8a9=[...this['blocksRegistry']]['find'](_0x26daae=>_0x26daae['activityType']===_0x447fd0);_0x2f3fbf=_0x2bf8a9?.['couldOpenActivity']??!0x1;}_0x447fd0=_0x2f3fbf?_0x447fd0:void 0x0,_0x447fd0&&this['modalManager']['open'](_0x447fd0),this['$']['*currentActivity']=_0x447fd0,this['$']['*history']=_0x320a7b,_0x447fd0||this['modalManager']['closeAll']();}}}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'});const _0x5cce8d=0x14,_0x4727fd=0x18,_0x2f5e41=0x22,_0xe6ac8c=0x3,_0xe8f582=_0xe6ac8c/0x2,_0x40c57b=0x1,_0x342cde=0x64/0x3,_0x3e1039=0x1,_0x4f9cf6=0x18,_0x28a799=0x6;function setSvgNodeAttrs(_0x2ddab5,_0x30f806){for(let _0xf2e83f in _0x30f806)_0x2ddab5['setAttributeNS'](null,_0xf2e83f,_0x30f806[_0xf2e83f]['toString']());}function createSvgNode(_0xa03e32,_0x4c321f={}){let _0xd85e4c=document['createElementNS']('http://www.w3.org/2000/svg',_0xa03e32);return setSvgNodeAttrs(_0xd85e4c,_0x4c321f),_0xd85e4c;}function cornerPath(_0x5639e7,_0x153d12,_0x1159ba){let {x:_0x39e4a7,y:_0x44814f,width:_0x132160,height:_0x4c8164}=_0x5639e7,_0xa9536d=_0x153d12['includes']('w')?0x0:0x1,_0x319b81=_0x153d12['includes']('n')?0x0:0x1,_0x4dc119=[-0x1,0x1][_0xa9536d],_0x2ba2b9=[-0x1,0x1][_0x319b81],_0x86c5e2=[_0x39e4a7+_0xa9536d*_0x132160+_0xe8f582*_0x4dc119,_0x44814f+_0x319b81*_0x4c8164+_0xe8f582*_0x2ba2b9-_0x4727fd*_0x1159ba*_0x2ba2b9],_0x58f17e=[_0x39e4a7+_0xa9536d*_0x132160+_0xe8f582*_0x4dc119,_0x44814f+_0x319b81*_0x4c8164+_0xe8f582*_0x2ba2b9],_0x2677cf=[_0x39e4a7+_0xa9536d*_0x132160-_0x4727fd*_0x1159ba*_0x4dc119+_0xe8f582*_0x4dc119,_0x44814f+_0x319b81*_0x4c8164+_0xe8f582*_0x2ba2b9];return{'d':'M\x20'+_0x86c5e2[0x0]+'\x20'+_0x86c5e2[0x1]+'\x20L\x20'+_0x58f17e[0x0]+'\x20'+_0x58f17e[0x1]+'\x20L\x20'+_0x2677cf[0x0]+'\x20'+_0x2677cf[0x1],'center':_0x58f17e};}function sidePath(_0x49ad6b,_0x25373b,_0xfabb39){let _0x34787b,_0x3b8a47,{x:_0x59c32f,y:_0x4d6a51,width:_0x4f08a0,height:_0x4fb391}=_0x49ad6b,_0x5b857f=['n','s']['includes'](_0x25373b)?0.5:{'w':0x0,'e':0x1}[_0x25373b],_0x5a62f7=['w','e']['includes'](_0x25373b)?0.5:{'n':0x0,'s':0x1}[_0x25373b],_0x54e66e=[-0x1,0x1][_0x5b857f],_0x3071f9=[-0x1,0x1][_0x5a62f7];return['n','s']['includes'](_0x25373b)?(_0x34787b=[_0x59c32f+_0x5b857f*_0x4f08a0-_0x2f5e41*_0xfabb39/0x2,_0x4d6a51+_0x5a62f7*_0x4fb391+_0xe8f582*_0x3071f9],_0x3b8a47=[_0x59c32f+_0x5b857f*_0x4f08a0+_0x2f5e41*_0xfabb39/0x2,_0x4d6a51+_0x5a62f7*_0x4fb391+_0xe8f582*_0x3071f9]):(_0x34787b=[_0x59c32f+_0x5b857f*_0x4f08a0+_0xe8f582*_0x54e66e,_0x4d6a51+_0x5a62f7*_0x4fb391-_0x2f5e41*_0xfabb39/0x2],_0x3b8a47=[_0x59c32f+_0x5b857f*_0x4f08a0+_0xe8f582*_0x54e66e,_0x4d6a51+_0x5a62f7*_0x4fb391+_0x2f5e41*_0xfabb39/0x2]),{'d':'M\x20'+_0x34787b[0x0]+'\x20'+_0x34787b[0x1]+'\x20L\x20'+_0x3b8a47[0x0]+'\x20'+_0x3b8a47[0x1],'center':[_0x3b8a47[0x0]-(_0x3b8a47[0x0]-_0x34787b[0x0])/0x2,_0x3b8a47[0x1]-(_0x3b8a47[0x1]-_0x34787b[0x1])/0x2]};}function thumbCursor(_0x1d1b9f){return''===_0x1d1b9f?'move':['e','w']['includes'](_0x1d1b9f)?'ew-resize':['n','s']['includes'](_0x1d1b9f)?'ns-resize':['nw','se']['includes'](_0x1d1b9f)?'nwse-resize':'nesw-resize';}function moveRect({rect:_0x2bdac8,delta:[_0x28a659,_0x3c3415],imageBox:_0x478e63}){return constraintRect({..._0x2bdac8,'x':_0x2bdac8['x']+_0x28a659,'y':_0x2bdac8['y']+_0x3c3415},_0x478e63);}function constraintRect(_0x4a8699,_0x5f48cf){let {x:_0x48e176}=_0x4a8699,{y:_0x1920ac}=_0x4a8699;return _0x4a8699['x']<_0x5f48cf['x']?_0x48e176=_0x5f48cf['x']:_0x4a8699['x']+_0x4a8699['width']>_0x5f48cf['x']+_0x5f48cf['width']&&(_0x48e176=_0x5f48cf['x']+_0x5f48cf['width']-_0x4a8699['width']),_0x4a8699['y']<_0x5f48cf['y']?_0x1920ac=_0x5f48cf['y']:_0x4a8699['y']+_0x4a8699['height']>_0x5f48cf['y']+_0x5f48cf['height']&&(_0x1920ac=_0x5f48cf['y']+_0x5f48cf['height']-_0x4a8699['height']),{..._0x4a8699,'x':_0x48e176,'y':_0x1920ac};}function resizeNorth({rect:_0x139fde,delta:_0xeba5da,aspectRatio:_0x5a79e5,imageBox:_0x2e73fe}){const [,_0x5749cd]=_0xeba5da;let {y:_0x1c18db,width:_0xc573b0,height:_0xe6cb7b}=_0x139fde;_0x1c18db+=_0x5749cd,_0xe6cb7b-=_0x5749cd,_0x5a79e5&&(_0xc573b0=_0xe6cb7b*_0x5a79e5);let _0x4a11b7=_0x139fde['x']+_0x139fde['width']/0x2-_0xc573b0/0x2;return _0x1c18db<=_0x2e73fe['y']&&(_0x1c18db=_0x2e73fe['y'],_0xe6cb7b=_0x139fde['y']+_0x139fde['height']-_0x1c18db,_0x5a79e5&&(_0xc573b0=_0xe6cb7b*_0x5a79e5,_0x4a11b7=_0x139fde['x']+_0x139fde['width']/0x2-_0xc573b0/0x2)),_0x4a11b7<=_0x2e73fe['x']&&(_0x4a11b7=_0x2e73fe['x'],_0x1c18db=_0x139fde['y']+_0x139fde['height']-_0xe6cb7b),_0x4a11b7+_0xc573b0>=_0x2e73fe['x']+_0x2e73fe['width']&&(_0x4a11b7=Math['max'](_0x2e73fe['x'],_0x2e73fe['x']+_0x2e73fe['width']-_0xc573b0),_0xc573b0=_0x2e73fe['x']+_0x2e73fe['width']-_0x4a11b7,_0x5a79e5&&(_0xe6cb7b=_0xc573b0/_0x5a79e5),_0x1c18db=_0x139fde['y']+_0x139fde['height']-_0xe6cb7b),_0xe6cb7b<_0x3e1039&&(_0xe6cb7b=_0x3e1039,_0x5a79e5&&(_0xc573b0=_0xe6cb7b*_0x5a79e5,_0x4a11b7=_0x139fde['x']+_0x139fde['width']/0x2-_0xc573b0/0x2),_0x1c18db=_0x139fde['y']+_0x139fde['height']-_0xe6cb7b),_0xc573b0<_0x3e1039&&(_0xc573b0=_0x3e1039,_0x5a79e5&&(_0xe6cb7b=_0xc573b0/_0x5a79e5,_0x4a11b7=_0x139fde['x']+_0x139fde['width']/0x2-_0xc573b0/0x2),_0x1c18db=_0x139fde['y']+_0x139fde['height']-_0xe6cb7b),{'x':_0x4a11b7,'y':_0x1c18db,'width':_0xc573b0,'height':_0xe6cb7b};}function resizeWest({rect:_0x43b7ca,delta:_0x21c407,aspectRatio:_0x2b3221,imageBox:_0x37c0b0}){const [_0x1b19ef]=_0x21c407;let {x:_0x351c1a,width:_0x495e61,height:_0x303915}=_0x43b7ca;_0x351c1a+=_0x1b19ef,_0x495e61-=_0x1b19ef,_0x2b3221&&(_0x303915=_0x495e61/_0x2b3221);let _0x34adbd=_0x43b7ca['y']+_0x43b7ca['height']/0x2-_0x303915/0x2;return _0x351c1a<=_0x37c0b0['x']&&(_0x351c1a=_0x37c0b0['x'],_0x495e61=_0x43b7ca['x']+_0x43b7ca['width']-_0x351c1a,_0x2b3221&&(_0x303915=_0x495e61/_0x2b3221,_0x34adbd=_0x43b7ca['y']+_0x43b7ca['height']/0x2-_0x303915/0x2)),_0x34adbd<=_0x37c0b0['y']&&(_0x34adbd=_0x37c0b0['y'],_0x351c1a=_0x43b7ca['x']+_0x43b7ca['width']-_0x495e61),_0x34adbd+_0x303915>=_0x37c0b0['y']+_0x37c0b0['height']&&(_0x34adbd=Math['max'](_0x37c0b0['y'],_0x37c0b0['y']+_0x37c0b0['height']-_0x303915),_0x303915=_0x37c0b0['y']+_0x37c0b0['height']-_0x34adbd,_0x2b3221&&(_0x495e61=_0x303915*_0x2b3221),_0x351c1a=_0x43b7ca['x']+_0x43b7ca['width']-_0x495e61),_0x303915<_0x3e1039&&(_0x303915=_0x3e1039,_0x2b3221&&(_0x495e61=_0x303915*_0x2b3221),_0x34adbd=_0x43b7ca['y']+_0x43b7ca['height']/0x2-_0x303915/0x2,_0x351c1a=_0x43b7ca['x']+_0x43b7ca['width']-_0x495e61),_0x495e61<_0x3e1039&&(_0x495e61=_0x3e1039,_0x2b3221&&(_0x303915=_0x495e61/_0x2b3221),_0x34adbd=_0x43b7ca['y']+_0x43b7ca['height']/0x2-_0x303915/0x2,_0x351c1a=_0x43b7ca['x']+_0x43b7ca['width']-_0x495e61),{'x':_0x351c1a,'y':_0x34adbd,'width':_0x495e61,'height':_0x303915};}function resizeSouth({rect:_0x4399e7,delta:_0x32e0bb,aspectRatio:_0x233998,imageBox:_0x17b09d}){const [,_0x48f803]=_0x32e0bb;let {y:_0x294958,width:_0xe5e824,height:_0x3007c4}=_0x4399e7;_0x3007c4+=_0x48f803,_0x233998&&(_0xe5e824=_0x3007c4*_0x233998);let _0x48a275=_0x4399e7['x']+_0x4399e7['width']/0x2-_0xe5e824/0x2;return _0x294958+_0x3007c4>=_0x17b09d['y']+_0x17b09d['height']&&(_0x3007c4=_0x17b09d['y']+_0x17b09d['height']-_0x294958,_0x233998&&(_0xe5e824=_0x3007c4*_0x233998),_0x48a275=_0x4399e7['x']+_0x4399e7['width']/0x2-_0xe5e824/0x2),_0x48a275<=_0x17b09d['x']&&(_0x48a275=_0x17b09d['x'],_0x294958=_0x4399e7['y']),_0x48a275+_0xe5e824>=_0x17b09d['x']+_0x17b09d['width']&&(_0x48a275=Math['max'](_0x17b09d['x'],_0x17b09d['x']+_0x17b09d['width']-_0xe5e824),_0xe5e824=_0x17b09d['x']+_0x17b09d['width']-_0x48a275,_0x233998&&(_0x3007c4=_0xe5e824/_0x233998),_0x294958=_0x4399e7['y']),_0x3007c4<_0x3e1039&&(_0x3007c4=_0x3e1039,_0x233998&&(_0xe5e824=_0x3007c4*_0x233998),_0x48a275=_0x4399e7['x']+_0x4399e7['width']/0x2-_0xe5e824/0x2),_0xe5e824<_0x3e1039&&(_0xe5e824=_0x3e1039,_0x233998&&(_0x3007c4=_0xe5e824/_0x233998),_0x48a275=_0x4399e7['x']+_0x4399e7['width']/0x2-_0xe5e824/0x2),{'x':_0x48a275,'y':_0x294958,'width':_0xe5e824,'height':_0x3007c4};}function resizeEast({rect:_0x48dc2e,delta:_0x15090f,aspectRatio:_0x2860e7,imageBox:_0x4c9a2b}){const [_0x309de2]=_0x15090f;let {x:_0x16dcd1,width:_0x480fc2,height:_0x243200}=_0x48dc2e;_0x480fc2+=_0x309de2,_0x2860e7&&(_0x243200=_0x480fc2/_0x2860e7);let _0x320998=_0x48dc2e['y']+_0x48dc2e['height']/0x2-_0x243200/0x2;return _0x16dcd1+_0x480fc2>=_0x4c9a2b['x']+_0x4c9a2b['width']&&(_0x480fc2=_0x4c9a2b['x']+_0x4c9a2b['width']-_0x16dcd1,_0x2860e7&&(_0x243200=_0x480fc2/_0x2860e7),_0x320998=_0x48dc2e['y']+_0x48dc2e['height']/0x2-_0x243200/0x2),_0x320998<=_0x4c9a2b['y']&&(_0x320998=_0x4c9a2b['y'],_0x16dcd1=_0x48dc2e['x']),_0x320998+_0x243200>=_0x4c9a2b['y']+_0x4c9a2b['height']&&(_0x320998=Math['max'](_0x4c9a2b['y'],_0x4c9a2b['y']+_0x4c9a2b['height']-_0x243200),_0x243200=_0x4c9a2b['y']+_0x4c9a2b['height']-_0x320998,_0x2860e7&&(_0x480fc2=_0x243200*_0x2860e7),_0x16dcd1=_0x48dc2e['x']),_0x243200<_0x3e1039&&(_0x243200=_0x3e1039,_0x2860e7&&(_0x480fc2=_0x243200*_0x2860e7),_0x320998=_0x48dc2e['y']+_0x48dc2e['height']/0x2-_0x243200/0x2),_0x480fc2<_0x3e1039&&(_0x480fc2=_0x3e1039,_0x2860e7&&(_0x243200=_0x480fc2/_0x2860e7),_0x320998=_0x48dc2e['y']+_0x48dc2e['height']/0x2-_0x243200/0x2),{'x':_0x16dcd1,'y':_0x320998,'width':_0x480fc2,'height':_0x243200};}function resizeNorthWest({rect:_0x5baf16,delta:_0x44ff5b,aspectRatio:_0x5d0c0f,imageBox:_0x3f18ff}){let [_0x141f4f,_0x1fbf8c]=_0x44ff5b,{x:_0x2c6e43,y:_0x566796,width:_0x5b4c32,height:_0x5887ea}=_0x5baf16;return _0x2c6e43+_0x141f4f<_0x3f18ff['x']&&(_0x141f4f=_0x3f18ff['x']-_0x2c6e43),_0x566796+_0x1fbf8c<_0x3f18ff['y']&&(_0x1fbf8c=_0x3f18ff['y']-_0x566796),_0x2c6e43+=_0x141f4f,_0x5b4c32-=_0x141f4f,_0x566796+=_0x1fbf8c,_0x5887ea-=_0x1fbf8c,_0x5d0c0f&&Math['abs'](_0x5b4c32/_0x5887ea)>_0x5d0c0f?(_0x1fbf8c=_0x5b4c32/_0x5d0c0f-_0x5887ea,_0x5887ea+=_0x1fbf8c,_0x566796-=_0x1fbf8c,_0x566796<=_0x3f18ff['y']&&(_0x5887ea-=_0x3f18ff['y']-_0x566796,_0x5b4c32=_0x5887ea*_0x5d0c0f,_0x2c6e43=_0x5baf16['x']+_0x5baf16['width']-_0x5b4c32,_0x566796=_0x3f18ff['y'])):_0x5d0c0f&&(_0x141f4f=_0x5887ea*_0x5d0c0f-_0x5b4c32,_0x5b4c32+=_0x141f4f,_0x2c6e43-=_0x141f4f,_0x2c6e43<=_0x3f18ff['x']&&(_0x5b4c32-=_0x3f18ff['x']-_0x2c6e43,_0x5887ea=_0x5b4c32/_0x5d0c0f,_0x2c6e43=_0x3f18ff['x'],_0x566796=_0x5baf16['y']+_0x5baf16['height']-_0x5887ea)),_0x5887ea<_0x3e1039&&(_0x5887ea=_0x3e1039,_0x5d0c0f&&(_0x5b4c32=_0x5887ea*_0x5d0c0f),_0x2c6e43=_0x5baf16['x']+_0x5baf16['width']-_0x5b4c32,_0x566796=_0x5baf16['y']+_0x5baf16['height']-_0x5887ea),_0x5b4c32<_0x3e1039&&(_0x5b4c32=_0x3e1039,_0x5d0c0f&&(_0x5887ea=_0x5b4c32/_0x5d0c0f),_0x2c6e43=_0x5baf16['x']+_0x5baf16['width']-_0x5b4c32,_0x566796=_0x5baf16['y']+_0x5baf16['height']-_0x5887ea),{'x':_0x2c6e43,'y':_0x566796,'width':_0x5b4c32,'height':_0x5887ea};}function resizeNorthEast({rect:_0xa158bf,delta:_0x115343,aspectRatio:_0x550617,imageBox:_0x2700bd}){let [_0x1e5775,_0x56d624]=_0x115343,{x:_0x148600,y:_0x485b4d,width:_0x5d87b2,height:_0x50878e}=_0xa158bf;return _0x148600+_0x5d87b2+_0x1e5775>_0x2700bd['x']+_0x2700bd['width']&&(_0x1e5775=_0x2700bd['x']+_0x2700bd['width']-_0x148600-_0x5d87b2),_0x485b4d+_0x56d624<_0x2700bd['y']&&(_0x56d624=_0x2700bd['y']-_0x485b4d),_0x5d87b2+=_0x1e5775,_0x485b4d+=_0x56d624,_0x50878e-=_0x56d624,_0x550617&&Math['abs'](_0x5d87b2/_0x50878e)>_0x550617?(_0x56d624=_0x5d87b2/_0x550617-_0x50878e,_0x50878e+=_0x56d624,_0x485b4d-=_0x56d624,_0x485b4d<=_0x2700bd['y']&&(_0x50878e-=_0x2700bd['y']-_0x485b4d,_0x5d87b2=_0x50878e*_0x550617,_0x148600=_0xa158bf['x'],_0x485b4d=_0x2700bd['y'])):_0x550617&&(_0x1e5775=_0x50878e*_0x550617-_0x5d87b2,_0x5d87b2+=_0x1e5775,_0x148600+_0x5d87b2>=_0x2700bd['x']+_0x2700bd['width']&&(_0x5d87b2=_0x2700bd['x']+_0x2700bd['width']-_0x148600,_0x50878e=_0x5d87b2/_0x550617,_0x148600=_0x2700bd['x']+_0x2700bd['width']-_0x5d87b2,_0x485b4d=_0xa158bf['y']+_0xa158bf['height']-_0x50878e)),_0x50878e<_0x3e1039&&(_0x50878e=_0x3e1039,_0x550617&&(_0x5d87b2=_0x50878e*_0x550617),_0x485b4d=_0xa158bf['y']+_0xa158bf['height']-_0x50878e),_0x5d87b2<_0x3e1039&&(_0x5d87b2=_0x3e1039,_0x550617&&(_0x50878e=_0x5d87b2/_0x550617),_0x485b4d=_0xa158bf['y']+_0xa158bf['height']-_0x50878e),{'x':_0x148600,'y':_0x485b4d,'width':_0x5d87b2,'height':_0x50878e};}function resizeSouthWest({rect:_0xf56fa4,delta:_0x55e294,aspectRatio:_0x3f68bf,imageBox:_0x5878fa}){let [_0x983d32,_0x4c9a33]=_0x55e294,{x:_0x365008,y:_0x4c3004,width:_0x3a9247,height:_0x57d2a9}=_0xf56fa4;return _0x365008+_0x983d32<_0x5878fa['x']&&(_0x983d32=_0x5878fa['x']-_0x365008),_0x4c3004+_0x57d2a9+_0x4c9a33>_0x5878fa['y']+_0x5878fa['height']&&(_0x4c9a33=_0x5878fa['y']+_0x5878fa['height']-_0x4c3004-_0x57d2a9),_0x365008+=_0x983d32,_0x3a9247-=_0x983d32,_0x57d2a9+=_0x4c9a33,_0x3f68bf&&Math['abs'](_0x3a9247/_0x57d2a9)>_0x3f68bf?(_0x4c9a33=_0x3a9247/_0x3f68bf-_0x57d2a9,_0x57d2a9+=_0x4c9a33,_0x4c3004+_0x57d2a9>=_0x5878fa['y']+_0x5878fa['height']&&(_0x57d2a9=_0x5878fa['y']+_0x5878fa['height']-_0x4c3004,_0x3a9247=_0x57d2a9*_0x3f68bf,_0x365008=_0xf56fa4['x']+_0xf56fa4['width']-_0x3a9247,_0x4c3004=_0x5878fa['y']+_0x5878fa['height']-_0x57d2a9)):_0x3f68bf&&(_0x983d32=_0x57d2a9*_0x3f68bf-_0x3a9247,_0x3a9247+=_0x983d32,_0x365008-=_0x983d32,_0x365008<=_0x5878fa['x']&&(_0x3a9247-=_0x5878fa['x']-_0x365008,_0x57d2a9=_0x3a9247/_0x3f68bf,_0x365008=_0x5878fa['x'],_0x4c3004=_0xf56fa4['y'])),_0x57d2a9<_0x3e1039&&(_0x57d2a9=_0x3e1039,_0x3f68bf&&(_0x3a9247=_0x57d2a9*_0x3f68bf),_0x365008=_0xf56fa4['x']+_0xf56fa4['width']-_0x3a9247),_0x3a9247<_0x3e1039&&(_0x3a9247=_0x3e1039,_0x3f68bf&&(_0x57d2a9=_0x3a9247/_0x3f68bf),_0x365008=_0xf56fa4['x']+_0xf56fa4['width']-_0x3a9247),{'x':_0x365008,'y':_0x4c3004,'width':_0x3a9247,'height':_0x57d2a9};}function resizeSouthEast({rect:_0x1aff1e,delta:_0x5acc6f,aspectRatio:_0x458310,imageBox:_0x50810e}){let [_0xf8076f,_0x5ba8f6]=_0x5acc6f,{x:_0x222d84,y:_0x5f5437,width:_0x4410af,height:_0x3341f2}=_0x1aff1e;return _0x222d84+_0x4410af+_0xf8076f>_0x50810e['x']+_0x50810e['width']&&(_0xf8076f=_0x50810e['x']+_0x50810e['width']-_0x222d84-_0x4410af),_0x5f5437+_0x3341f2+_0x5ba8f6>_0x50810e['y']+_0x50810e['height']&&(_0x5ba8f6=_0x50810e['y']+_0x50810e['height']-_0x5f5437-_0x3341f2),_0x4410af+=_0xf8076f,_0x3341f2+=_0x5ba8f6,_0x458310&&Math['abs'](_0x4410af/_0x3341f2)>_0x458310?(_0x5ba8f6=_0x4410af/_0x458310-_0x3341f2,_0x3341f2+=_0x5ba8f6,_0x5f5437+_0x3341f2>=_0x50810e['y']+_0x50810e['height']&&(_0x3341f2=_0x50810e['y']+_0x50810e['height']-_0x5f5437,_0x4410af=_0x3341f2*_0x458310,_0x222d84=_0x1aff1e['x'],_0x5f5437=_0x50810e['y']+_0x50810e['height']-_0x3341f2)):_0x458310&&(_0xf8076f=_0x3341f2*_0x458310-_0x4410af,_0x4410af+=_0xf8076f,_0x222d84+_0x4410af>=_0x50810e['x']+_0x50810e['width']&&(_0x4410af=_0x50810e['x']+_0x50810e['width']-_0x222d84,_0x3341f2=_0x4410af/_0x458310,_0x222d84=_0x50810e['x']+_0x50810e['width']-_0x4410af,_0x5f5437=_0x1aff1e['y'])),_0x3341f2<_0x3e1039&&(_0x3341f2=_0x3e1039,_0x458310&&(_0x4410af=_0x3341f2*_0x458310)),_0x4410af<_0x3e1039&&(_0x4410af=_0x3e1039,_0x458310&&(_0x3341f2=_0x4410af/_0x458310)),{'x':_0x222d84,'y':_0x5f5437,'width':_0x4410af,'height':_0x3341f2};}function resizeRect({direction:_0x145ddc,..._0x55eb0a}){switch(_0x145ddc){case'n':return resizeNorth(_0x55eb0a);case'w':return resizeWest(_0x55eb0a);case's':return resizeSouth(_0x55eb0a);case'e':return resizeEast(_0x55eb0a);case'nw':return resizeNorthWest(_0x55eb0a);case'ne':return resizeNorthEast(_0x55eb0a);case'sw':return resizeSouthWest(_0x55eb0a);case'se':return resizeSouthEast(_0x55eb0a);default:return _0x55eb0a['rect'];}}function rectContainsPoint(_0x22e87f,[_0x112522,_0x1e735d]){return _0x22e87f['x']<=_0x112522&&_0x112522<=_0x22e87f['x']+_0x22e87f['width']&&_0x22e87f['y']<=_0x1e735d&&_0x1e735d<=_0x22e87f['y']+_0x22e87f['height'];}function isRectInsideRect(_0x1936dc,_0x454901){return _0x1936dc['x']>=_0x454901['x']&&_0x1936dc['y']>=_0x454901['y']&&_0x1936dc['x']+_0x1936dc['width']<=_0x454901['x']+_0x454901['width']&&_0x1936dc['y']+_0x1936dc['height']<=_0x454901['y']+_0x454901['height'];}function isRectMatchesAspectRatio(_0x10310a,_0x4fc5d6){return Math['abs'](_0x10310a['width']/_0x10310a['height']-_0x4fc5d6)<0.1;}function rotateSize({width:_0x21d26a,height:_0x499fb5},_0x5c7b00){let _0x2634ce=_0x5c7b00/0x5a%0x2!=0x0;return{'width':_0x2634ce?_0x499fb5:_0x21d26a,'height':_0x2634ce?_0x21d26a:_0x499fb5};}function calculateMaxCenteredCropFrame(_0x6df32e,_0x3d848,_0x5b4e87){let _0x1fb743,_0x2fa368;_0x6df32e/_0x3d848>_0x5b4e87?(_0x1fb743=Math['round'](_0x3d848*_0x5b4e87),_0x2fa368=_0x3d848):(_0x1fb743=_0x6df32e,_0x2fa368=Math['round'](_0x6df32e/_0x5b4e87));const _0x467966=Math['round']((_0x6df32e-_0x1fb743)/0x2),_0x45afcc=Math['round']((_0x3d848-_0x2fa368)/0x2);return _0x467966+_0x1fb743>_0x6df32e&&(_0x1fb743=_0x6df32e-_0x467966),_0x45afcc+_0x2fa368>_0x3d848&&(_0x2fa368=_0x3d848-_0x45afcc),{'x':_0x467966,'y':_0x45afcc,'width':_0x1fb743,'height':_0x2fa368};}function roundRect(_0x4af311){return{'x':Math['round'](_0x4af311['x']),'y':Math['round'](_0x4af311['y']),'width':Math['round'](_0x4af311['width']),'height':Math['round'](_0x4af311['height'])};}function _0x441d4f(_0x1bffb4,_0x445a92,_0x263cc2){return Math['min'](Math['max'](_0x1bffb4,_0x445a92),_0x263cc2);}const parseCropPreset=_0x196754=>{if(!_0x196754)return[];const [_0xdc5ca6,_0x347478]=_0x196754['split'](':')['map'](Number);if(!Number['isFinite'](_0xdc5ca6)||!Number['isFinite'](_0x347478))return void console['error']('Invalid\x20crop\x20preset:\x20'+_0x196754);return[{'type':'aspect-ratio','width':_0xdc5ca6,'height':_0x347478}];},_0x568ae1='blocks',_0x5b610b='1.19.4';function customUserAgent(_0x53aecf){return getUserAgent$1({..._0x53aecf,'libraryName':_0x568ae1,'libraryVersion':_0x5b610b});}const msToUnixTimestamp=_0x40effe=>Math['floor'](_0x40effe/0x3e8),_0x4ff855=(_0xbd0284,{threshold:_0x34405a})=>{const {secureExpire:_0x5502ac}=_0xbd0284,_0x3b577c=msToUnixTimestamp(Date['now']()),_0x21a267=Number(_0x5502ac);return _0x3b577c+msToUnixTimestamp(_0x34405a)>=_0x21a267;};class _0x989711{['_block'];['_secureToken']=null;constructor(_0x10de55){this['_block']=_0x10de55;}['_debugPrint'](..._0xa9bfdc){this['_block']['debugPrint']('[secure-uploads]',..._0xa9bfdc);}async['getSecureToken'](){const {secureSignature:_0x3771c9,secureExpire:_0x1b6b94,secureUploadsSignatureResolver:_0xcebb46}=this['_block']['cfg'];if((_0x3771c9||_0x1b6b94)&&_0xcebb46&&console['warn']('Both\x20secureSignature/secureExpire\x20and\x20secureUploadsSignatureResolver\x20are\x20set.\x20secureUploadsSignatureResolver\x20will\x20be\x20used.'),_0xcebb46){if(!this['_secureToken']||_0x4ff855(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 _0x1465dc=await _0xcebb46();_0x1465dc?_0x1465dc['secureSignature']&&_0x1465dc['secureExpire']?(this['_debugPrint']('Secure\x20signature\x20resolved:',_0x1465dc),this['_debugPrint']('Secure\x20signature\x20will\x20expire\x20in',new Date(0x3e8*Number(_0x1465dc['secureExpire']))['toISOString']()),this['_secureToken']=_0x1465dc):console['error']('Secure\x20signature\x20resolver\x20returned\x20an\x20invalid\x20result:',_0x1465dc):(this['_debugPrint']('Secure\x20signature\x20resolver\x20returned\x20nothing.'),this['_secureToken']=null);}catch(_0xe37316){console['error']('Secure\x20signature\x20resolving\x20failed.\x20Falling\x20back\x20to\x20the\x20previous\x20one.',_0xe37316);}}return this['_secureToken'];}return _0x3771c9&&_0x1b6b94?(this['_debugPrint']('Secure\x20signature\x20and\x20expire\x20are\x20set.\x20Using\x20them...',{'secureSignature':_0x3771c9,'secureExpire':_0x1b6b94}),{'secureSignature':_0x3771c9,'secureExpire':_0x1b6b94}):null;}}const _0x50869='[Typed\x20State]\x20Wrong\x20property\x20name:\x20',_0x5e0cd3='[Typed\x20State]\x20Wrong\x20property\x20type:\x20';class TypedData{constructor(_0x1a2a29,_0x15cfa7){this['__typedSchema']=_0x1a2a29,this['__ctxId']=_0x15cfa7||_0x412687['generate'](),this['__schema']=Object['keys'](_0x1a2a29)['reduce']((_0x3b9087,_0x1df9c4)=>(_0x3b9087[_0x1df9c4]=_0x1a2a29[_0x1df9c4]['value'],_0x3b9087),{}),this['__data']=Data['registerCtx'](this['__schema'],this['__ctxId']);}get['uid'](){return this['__ctxId'];}['setValue'](_0x275bd3,_0x869971){if(!this['__typedSchema']['hasOwnProperty'](_0x275bd3))return void console['warn'](_0x50869+_0x275bd3);let _0x2f4c0f=this['__typedSchema'][_0x275bd3],_0x8be8e1=_0x869971?.['constructor']===_0x2f4c0f['type'],_0x7d3eab=_0x869971 instanceof _0x2f4c0f['type'],_0x283b6b=_0x2f4c0f['nullable']&&null===_0x869971;_0x8be8e1||_0x7d3eab||_0x283b6b?this['__data']['pub'](_0x275bd3,_0x869971):console['warn'](_0x5e0cd3+_0x275bd3);}['setMultipleValues'](_0x20246e){for(let [_0x28f180,_0x4d4e5f]of Object['entries'](_0x20246e))this['setValue'](_0x28f180,_0x4d4e5f);}['getValue'](_0x395ffb){return this['__typedSchema']['hasOwnProperty'](_0x395ffb)||console['warn'](_0x50869+_0x395ffb),this['__data']['read'](_0x395ffb);}['subscribe'](_0x4108dd,_0x480200){return this['__data']['sub'](_0x4108dd,_0x480200);}['remove'](){Data['deleteCtx'](this['__ctxId']);}}class TypedCollection{constructor(_0x2ab7c6){this['__typedSchema']=_0x2ab7c6['typedSchema'],this['__ctxId']=_0x2ab7c6['ctxName']||_0x412687['generate'](),this['__data']=Data['registerCtx']({},this['__ctxId']),this['__watchList']=_0x2ab7c6['watchList']||[],this['__subsMap']=Object['create'](null),this['__propertyObservers']=new Set(),this['__collectionObservers']=new Set(),this['__items']=new Set(),this['__removed']=new Set(),this['__added']=new Set();let _0x1d8f65=Object['create'](null);this['__notifyObservers']=(_0x5ea0e6,_0x3e09ae)=>{this['__observeTimeout']&&window['clearTimeout'](this['__observeTimeout']),_0x1d8f65[_0x5ea0e6]||(_0x1d8f65[_0x5ea0e6]=new Set()),_0x1d8f65[_0x5ea0e6]['add'](_0x3e09ae),this['__observeTimeout']=window['setTimeout'](()=>{0x0!==Object['keys'](_0x1d8f65)['length']&&(this['__propertyObservers']['forEach'](_0x3e7881=>{_0x3e7881({..._0x1d8f65});}),_0x1d8f65=Object['create'](null));});};}['notify'](){this['__notifyTimeout']&&window['clearTimeout'](this['__notifyTimeout']),this['__notifyTimeout']=window['setTimeout'](()=>{let _0x306a21=new Set(this['__added']),_0x196757=new Set(this['__removed']);this['__added']['clear'](),this['__removed']['clear']();for(const _0x4648b8 of this['__collectionObservers'])_0x4648b8?.([...this['__items']],_0x306a21,_0x196757);});}['observeCollection'](_0x5c009b){return this['__collectionObservers']['add'](_0x5c009b),this['__items']['size']>0x0&&this['notify'](),()=>{this['unobserveCollection'](_0x5c009b);};}['unobserveCollection'](_0x173b3b){this['__collectionObservers']?.['delete'](_0x173b3b);}['add'](_0x28cadb){let _0x2fbb03=new TypedData(this['__typedSchema']);for(let [_0x4e2433,_0x59c9c9]of Object['entries'](_0x28cadb))_0x2fbb03['setValue'](_0x4e2433,_0x59c9c9);return this['__items']['add'](_0x2fbb03['uid']),this['notify'](),this['__data']['add'](_0x2fbb03['uid'],_0x2fbb03),this['__added']['add'](_0x2fbb03),this['__watchList']['forEach'](_0x48f5f6=>{this['__subsMap'][_0x2fbb03['uid']]||(this['__subsMap'][_0x2fbb03['uid']]=[]),this['__subsMap'][_0x2fbb03['uid']]['push'](_0x2fbb03['subscribe'](_0x48f5f6,()=>{this['__notifyObservers'](_0x48f5f6,_0x2fbb03['uid']);}));}),_0x2fbb03['uid'];}['read'](_0x161260){return this['__data']['read'](_0x161260);}['readProp'](_0x3edde5,_0x1e0443){let _0x30ece1=this['read'](_0x3edde5);return _0x30ece1?_0x30ece1['getValue'](_0x1e0443):(console['warn']('Item\x20with\x20id\x20'+_0x3edde5+'\x20not\x20found'),null);}['publishProp'](_0x31b458,_0x36506c,_0x1d5104){let _0x752245=this['read'](_0x31b458);_0x752245?_0x752245['setValue'](_0x36506c,_0x1d5104):console['warn']('Item\x20with\x20id\x20'+_0x31b458+'\x20not\x20found');}['remove'](_0x272fd5){let _0x2acec5=this['read'](_0x272fd5);_0x2acec5&&this['__removed']['add'](_0x2acec5),this['__items']['delete'](_0x272fd5),this['notify'](),this['__data']['pub'](_0x272fd5,null),delete this['__subsMap'][_0x272fd5];}['clearAll'](){this['__items']['forEach'](_0x1af9d4=>{this['remove'](_0x1af9d4);});}['observeProperties'](_0xc48fd7){return this['__propertyObservers']['add'](_0xc48fd7),()=>{this['unobserveProperties'](_0xc48fd7);};}['unobserveProperties'](_0x68cd11){this['__propertyObservers']?.['delete'](_0x68cd11);}['findItems'](_0xad75d4){let _0x5f238a=[];return this['__items']['forEach'](_0x5aa4f8=>{let _0x418ebe=this['read'](_0x5aa4f8);_0x418ebe&&_0xad75d4(_0x418ebe)&&_0x5f238a['push'](_0x5aa4f8);}),_0x5f238a;}['items'](){return[...this['__items']];}get['size'](){return this['__items']['size'];}['destroy'](){Data['deleteCtx'](this['__ctxId']),this['__propertyObservers']=new Set(),this['__collectionObservers']=new Set();for(let _0x429baf in this['__subsMap'])this['__subsMap'][_0x429baf]['forEach'](_0x51c998=>{_0x51c998['remove']();}),delete this['__subsMap'][_0x429baf];}}const _0x1e0ef4=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'}),_0x28eb48=_0xcf8913=>({'isVideoRecordingEnabled':_0x3c7d14(_0xcf8913['cameraModes'])['includes'](_0x1e0ef4['VIDEO']),'isPhotoEnabled':_0x3c7d14(_0xcf8913['cameraModes'])['includes'](_0x1e0ef4['PHOTO'])}),ExternalUploadSource=Object['freeze']({'FACEBOOK':'facebook','DROPBOX':'dropbox','GDRIVE':'gdrive','GPHOTOS':'gphotos','FLICKR':'flickr','VK':'vk','EVERNOTE':'evernote','BOX':'box','ONEDRIVE':'onedrive','HUDDLE':'huddle'}),_0x443c2e=Object['freeze']({'MOBILE_VIDEO_CAMERA':'mobile-video-camera','MOBILE_PHOTO_CAMERA':'mobile-photo-camera'}),_0x40f277=Object['freeze']({'LOCAL':'local','DROP_AREA':'drop-area','CAMERA':'camera','EXTERNAL':'external','API':'js-api','URL':'url','DRAW':'draw',..._0x443c2e,...ExternalUploadSource}),calcIsDesktopSafari=()=>{const _0x55402c=navigator['userAgent'];return/Macintosh|Windows/['test'](_0x55402c)&&/Version\/[\d\.]+.*Safari/['test'](_0x55402c)&&!/Chrome|Chromium|Edg|OPR/['test'](_0x55402c);},calcHtmlMediaCaptureSupport=()=>'capture'in document['createElement']('input'),_0x546abe=()=>({'safariDesktop':calcIsDesktopSafari()}),calcBrowserFeatures=()=>({'htmlMediaCapture':calcHtmlMediaCaptureSupport()}),_0x3d156c=_0x546abe(),browserFeatures=calcBrowserFeatures(),_0xa9e291='image/*',_0x4fac99='video/*',_0x50bb9e=['image/heif','image/heif-sequence','image/heic','image/heic-sequence','image/avif','image/avif-sequence','.heif','.heifs','.heic','.heics','.avif','.avifs'],calcImageAcceptList=()=>_0x3d156c['safariDesktop']?[_0xa9e291]:[_0xa9e291,..._0x50bb9e],_0x3d9d25=calcImageAcceptList(),_0x1b4055=_0x274d0c=>_0x274d0c?_0x274d0c['filter'](_0x1bd67f=>'string'==typeof _0x1bd67f)['map'](_0x3416ed=>stringToArray(_0x3416ed))['flat']():[],matchMimeType=(_0x5f54e4,_0x30f253)=>_0x30f253['some'](_0x406b3c=>_0x406b3c['endsWith']('*')?(_0x406b3c=_0x406b3c['replace']('*',''),_0x5f54e4['startsWith'](_0x406b3c)):_0x5f54e4===_0x406b3c),matchExtension=(_0x4820cd,_0x32c26d)=>_0x32c26d['some'](_0x2adb87=>!!_0x2adb87['startsWith']('.')&&_0x4820cd['toLowerCase']()['endsWith'](_0x2adb87['toLowerCase']())),_0x3e11fc=_0x4e7fd3=>{let _0x1afcfc=_0x4e7fd3?.['type'];return!!_0x1afcfc&&matchMimeType(_0x1afcfc,_0x3d9d25);},_0x193eef=/[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}/i,_0x5ae769=new RegExp('^/?('+_0x193eef['source']+')(?:/(-/(?:[^/]+/)+)?([^/]*))?$','i'),_0x42c180=({url:_0x1f694f,cdnBase:_0x37aeb5})=>{const _0x4c6c80=new URL(_0x37aeb5),_0x1aa0a5=new URL(_0x1f694f);if(_0x4c6c80['host']!==_0x1aa0a5['host'])return null;const [,_0x250302,_0x15e162,_0xcb5bbc]=_0x5ae769['exec'](_0x1aa0a5['pathname']);return{'uuid':_0x250302,'cdnUrlModifiers':_0x15e162||'','filename':_0xcb5bbc||null};},_0x4c4a9b=_0x199c10=>{const _0x277e3=new Map();return(..._0x290409)=>{const _0x4b90cf=JSON['stringify'](_0x290409);if(_0x277e3['has'](_0x4b90cf))return _0x277e3['get'](_0x4b90cf);const _0x1fe6f3=_0x199c10(..._0x290409);return _0x277e3['set'](_0x4b90cf,_0x1fe6f3),_0x1fe6f3;};},_0x5546fe=new Set();function _0x12d988(_0xb2aaae){_0x5546fe['has'](_0xb2aaae)||(_0x5546fe['add'](_0xb2aaae),console['warn'](_0xb2aaae));}function createAsyncAssertWrapper(_0x417c26){let _0x465ccb=!0x1;return setTimeout(()=>{_0x465ccb=!0x0;},0x0),_0x37725c=>(..._0x7c5967)=>(_0x465ccb&&_0x12d988(_0x417c26),_0x37725c(..._0x7c5967));}function buildOutputCollectionState(_0x7042c1){const _0x5813bc={'progress':()=>_0x7042c1['$']['*commonProgress'],'errors':()=>_0x7042c1['$']['*collectionErrors'],'group':()=>_0x7042c1['$']['*groupInfo'],'totalCount':()=>_0x7042c1['uploadCollection']['size'],'failedCount':()=>_0x6f66e['failedEntries']['length'],'successCount':()=>_0x6f66e['successEntries']['length'],'uploadingCount':()=>_0x6f66e['uploadingEntries']['length'],'status':()=>_0x6f66e['isFailed']?'failed':_0x6f66e['isUploading']?'uploading':_0x6f66e['isSuccess']?'success':'idle','isSuccess':()=>_0x6f66e['allEntries']['length']>0x0&&0x0===_0x6f66e['errors']['length']&&_0x6f66e['successEntries']['length']===_0x6f66e['allEntries']['length'],'isUploading':()=>_0x6f66e['allEntries']['some'](_0x224129=>'uploading'===_0x224129['status']),'isFailed':()=>_0x6f66e['errors']['length']>0x0||_0x6f66e['failedEntries']['length']>0x0,'allEntries':()=>_0x7042c1['getOutputData'](),'successEntries':()=>_0x6f66e['allEntries']['filter'](_0x5f0dd6=>'success'===_0x5f0dd6['status']),'failedEntries':()=>_0x6f66e['allEntries']['filter'](_0x2a8230=>'failed'===_0x2a8230['status']),'uploadingEntries':()=>_0x6f66e['allEntries']['filter'](_0xb76334=>'uploading'===_0xb76334['status']),'idleEntries':()=>_0x6f66e['allEntries']['filter'](_0x2d26c2=>'idle'===_0x2d26c2['status'])},_0x6f66e={},_0x17f0af=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 [_0x38801b,_0x555282]of Object['entries'](_0x5813bc)){const _0x32a2f5=_0x38801b,_0x3010f0=_0x4c4a9b(_0x17f0af(_0x555282));Object['defineProperty'](_0x6f66e,_0x32a2f5,{'get':_0x3010f0,'enumerable':!0x0});}return _0x6f66e;}class _0x4e65b2{['_ctx'];constructor(_0x74f5f1){this['_ctx']=_0x74f5f1;}get['_uploadCollection'](){return this['_ctx']['uploadCollection'];}get['cfg'](){return this['_ctx']['cfg'];}get['l10n'](){return this['_ctx']['l10n']['bind'](this['_ctx']);}['addFileFromUrl']=(_0x5cb507,{silent:_0x4bf5bc,fileName:_0x9b8e2,source:_0x23a2ef}={})=>{const _0x5d5463=this['_uploadCollection']['add']({'externalUrl':_0x5cb507,'fileName':_0x9b8e2??null,'silent':_0x4bf5bc??!0x1,'source':_0x23a2ef??_0x40f277['API']});return this['getOutputItem'](_0x5d5463);};['addFileFromUuid']=(_0x592961,{silent:_0xf210bd,fileName:_0x362a00,source:_0x4faf1d}={})=>{const _0x281c13=this['_uploadCollection']['add']({'uuid':_0x592961,'fileName':_0x362a00??null,'silent':_0xf210bd??!0x1,'source':_0x4faf1d??_0x40f277['API']});return this['getOutputItem'](_0x281c13);};['addFileFromCdnUrl']=(_0xd363,{silent:_0x25edef,fileName:_0x3288a6,source:_0x22b76e}={})=>{const _0x3c7b87=_0x42c180({'url':_0xd363,'cdnBase':this['cfg']['cdnCname']});if(!_0x3c7b87)throw new Error('Invalid\x20CDN\x20URL');const _0x32fa19=this['_uploadCollection']['add']({'uuid':_0x3c7b87['uuid'],'cdnUrl':_0xd363,'cdnUrlModifiers':_0x3c7b87['cdnUrlModifiers'],'fileName':_0x3288a6??_0x3c7b87['filename']??null,'silent':_0x25edef??!0x1,'source':_0x22b76e??_0x40f277['API']});return this['getOutputItem'](_0x32fa19);};['addFileFromObject']=(_0x28eacd,{silent:_0x398332,fileName:_0x527862,source:_0x44049f,fullPath:_0x3baed3}={})=>{const _0x5aa9ce=this['_uploadCollection']['add']({'file':_0x28eacd,'isImage':_0x3e11fc(_0x28eacd),'mimeType':_0x28eacd['type'],'fileName':_0x527862??_0x28eacd['name'],'fileSize':_0x28eacd['size'],'silent':_0x398332??!0x1,'source':_0x44049f??_0x40f277['API'],'fullPath':_0x3baed3??null});return this['getOutputItem'](_0x5aa9ce);};['removeFileByInternalId']=_0x154d4e=>{if(!this['_uploadCollection']['read'](_0x154d4e))throw new Error('File\x20with\x20internalId\x20'+_0x154d4e+'\x20not\x20found');this['_uploadCollection']['remove'](_0x154d4e);};['removeAllFiles'](){this['_uploadCollection']['clearAll']();}['uploadAll']=()=>{const _0x6865c=this['_uploadCollection']['items']()['filter'](_0x10ade8=>{const _0x47b79a=this['_uploadCollection']['read'](_0x10ade8);return!!_0x47b79a&&(!_0x47b79a['getValue']('isRemoved')&&!_0x47b79a['getValue']('isUploading')&&!_0x47b79a['getValue']('fileInfo'));});0x0!==_0x6865c['length']&&(this['_ctx']['$']['*uploadTrigger']=new Set(_0x6865c),this['_ctx']['emit'](EventType['COMMON_UPLOAD_START'],this['getOutputCollectionState']()));};['openSystemDialog']=(_0xe29197={})=>{const _0x418476=_0x12a265(_0x1b4055([this['cfg']['accept']??'',...this['cfg']['imgOnly']?_0x3d9d25:[]])),_0x576453='uploadcare-file-input',_0x2a4f58=document['createElement']('input');if(_0x2a4f58['setAttribute'](_0x576453,''),applyStyles(_0x2a4f58,{'opacity':0x0,'height':0x0,'width':0x0,'visibility':'hidden','position':'absolute','top':0x0,'left':0x0}),_0x2a4f58['type']='file',_0x2a4f58['multiple']=this['cfg']['multiple'],_0xe29197['captureCamera']){_0x2a4f58['capture']=this['cfg']['cameraCapture'];const {isPhotoEnabled:_0x583ec7,isVideoRecordingEnabled:_0x539c3b}=_0x28eb48(this['cfg']);_0xe29197['modeCamera']===_0x1e0ef4['PHOTO']&&_0x583ec7?_0x2a4f58['accept']=_0xa9e291:_0xe29197['modeCamera']===_0x1e0ef4['VIDEO']&&_0x539c3b?_0x2a4f58['accept']=_0x4fac99:_0x2a4f58['accept']=[_0xa9e291,_0x539c3b&&_0x4fac99]['filter'](Boolean)['join'](',');}else _0x2a4f58['accept']=_0x418476;_0x2a4f58['addEventListener']('change',()=>{_0x2a4f58['files']&&([..._0x2a4f58['files']]['forEach'](_0x1caa50=>this['addFileFromObject'](_0x1caa50,{'source':_0xe29197['captureCamera']?_0x40f277['CAMERA']:_0x40f277['LOCAL']})),this['_ctx']['modalManager']['open'](ActivityBlock['activities']['UPLOAD_LIST']),this['_ctx']['$']['*currentActivity']=ActivityBlock['activities']['UPLOAD_LIST'],_0x2a4f58['remove']());},{'once':!0x0}),document['querySelectorAll']('['+_0x576453+']')['forEach'](_0x4e00b8=>_0x4e00b8['remove']()),document['body']['appendChild'](_0x2a4f58),_0x2a4f58['dispatchEvent'](new MouseEvent('click'));};['getOutputItem'](_0x3155f5){const _0x232b2f=Data['getCtx'](_0x3155f5)['store'],_0x373aa6=_0x232b2f['fileInfo'];let _0x5a0ff1=_0x232b2f['isRemoved']?'removed':_0x232b2f['errors']['length']>0x0?'failed':_0x232b2f['fileInfo']?'success':_0x232b2f['isUploading']?'uploading':'idle';return{'uuid':_0x373aa6?.['uuid']??_0x232b2f['uuid']??null,'internalId':_0x3155f5,'name':_0x373aa6?.['originalFilename']??_0x232b2f['fileName'],'size':_0x373aa6?.['size']??_0x232b2f['fileSize'],'isImage':_0x373aa6?.['isImage']??_0x232b2f['isImage'],'mimeType':_0x373aa6?.['mimeType']??_0x232b2f['mimeType'],'file':_0x232b2f['file'],'externalUrl':_0x232b2f['externalUrl'],'cdnUrlModifiers':_0x232b2f['cdnUrlModifiers'],'cdnUrl':_0x232b2f['cdnUrl']??_0x373aa6?.['cdnUrl']??null,'fullPath':_0x232b2f['fullPath'],'uploadProgress':_0x232b2f['uploadProgress'],'fileInfo':_0x373aa6??null,'metadata':_0x232b2f['metadata']??_0x373aa6?.['metadata']??null,'isSuccess':'success'===_0x5a0ff1,'isUploading':'uploading'===_0x5a0ff1,'isFailed':'failed'===_0x5a0ff1,'isRemoved':'removed'===_0x5a0ff1,'errors':_0x232b2f['errors'],'status':_0x5a0ff1,'source':_0x232b2f?.['source']};}['getOutputCollectionState'](){return buildOutputCollectionState(this['_ctx']);}['initFlow']=(_0x14576e=!0x1)=>{if(this['_uploadCollection']['size']>0x0&&!_0x14576e)this['_ctx']['modalManager']?.['open'](ActivityBlock['activities']['UPLOAD_LIST']),this['_ctx']['set$']({'*currentActivity':ActivityBlock['activities']['UPLOAD_LIST']});else{if(0x1===this['_sourceList']?.['length']){const _0x51c93d=this['_sourceList'][0x0];if('local'===_0x51c93d)return this['_ctx']['$']['*currentActivity']=ActivityBlock['activities']['UPLOAD_LIST'],void this['openSystemDialog']();if('camera'===_0x51c93d&&browserFeatures['htmlMediaCapture']){const {isPhotoEnabled:_0x4f6c7c,isVideoRecordingEnabled:_0x2919cf}=_0x28eb48(this['cfg']);if(_0x4f6c7c&&_0x2919cf)return void this['_ctx']['set$']({'*currentActivity':ActivityBlock['activities']['START_FROM']});if(_0x4f6c7c||_0x2919cf)return void this['openSystemDialog']({'captureCamera':!0x0,'modeCamera':_0x4f6c7c?_0x1e0ef4['PHOTO']:_0x1e0ef4['VIDEO']});this['openSystemDialog']({'captureCamera':!0x0,'modeCamera':_0x1e0ef4['PHOTO']});}const _0x10f7c0=[...this['_ctx']['$']['*blocksRegistry']]['find'](_0x36eeb5=>'type'in _0x36eeb5&&_0x36eeb5['type']===_0x51c93d);_0x10f7c0?.['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']=(_0x2ae6d2,_0x48e0c1=void 0x0)=>{this['_ctx']['hasBlockInCtx'](_0x1229a5=>_0x1229a5['activityType']===_0x2ae6d2)?this['_ctx']['set$']({'*currentActivityParams':_0x48e0c1??{},'*currentActivity':_0x2ae6d2}):console['warn']('Activity\x20type\x20\x22'+_0x2ae6d2+'\x22\x20not\x20found\x20in\x20the\x20context');};['getCurrentActivity']=()=>this['_ctx']['$']['*currentActivity'];['setModalState']=_0x2474e2=>{!_0x2474e2||this['_ctx']['$']['*currentActivity']?_0x2474e2?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 _0x194cd8=[];return this['cfg']['sourceList']&&(_0x194cd8=stringToArray(this['cfg']['sourceList'])),_0x194cd8;}}const validateIsImage=(_0x1f320f,_0xbe55b5)=>{const _0x3ac448=_0xbe55b5['cfg']['imgOnly'],_0x1a5be4=_0x1f320f['isImage'];if(_0x3ac448&&!_0x1a5be4&&(_0x1f320f['fileInfo']||!_0x1f320f['externalUrl'])&&(_0x1f320f['fileInfo']||_0x1f320f['mimeType']))return{'type':'NOT_AN_IMAGE','message':_0xbe55b5['l10n']('images-only-accepted'),'payload':{'entry':_0x1f320f}};},validateFileType=(_0x6eefbd,_0x340cbf)=>{const _0x17f899=_0x340cbf['cfg']['imgOnly'],_0x4cbe18=_0x340cbf['cfg']['accept'],_0x5c2e5f=_0x1b4055([..._0x17f899?_0x3d9d25:[],_0x4cbe18]);if(!_0x5c2e5f['length'])return;const _0x451d1f=_0x6eefbd['mimeType'],_0x668ab=_0x6eefbd['name'];if(!_0x451d1f||!_0x668ab)return;const _0x326913=matchMimeType(_0x451d1f,_0x5c2e5f),_0x20214b=matchExtension(_0x668ab,_0x5c2e5f);return _0x326913||_0x20214b?void 0x0:{'type':'FORBIDDEN_FILE_TYPE','message':_0x340cbf['l10n']('file-type-not-allowed'),'payload':{'entry':_0x6eefbd}};},_0x3aa300=0x3e8,ByteUnitEnum=Object['freeze']({'AUTO':'auto','BYTE':'byte','KB':'kb','MB':'mb','GB':'gb','TB':'tb','PB':'pb'}),_0x5e1bfe=_0x346dd7=>Math['ceil'](0x64*_0x346dd7)/0x64,prettyBytes=(_0x482e0b,_0x5b9914=ByteUnitEnum['AUTO'])=>{const _0x316ec0=_0x5b9914===ByteUnitEnum['AUTO'];if(_0x5b9914===ByteUnitEnum['BYTE']||_0x316ec0&&_0x482e0b<_0x3aa300**0x1)return _0x482e0b+'\x20'+{'one':'byte','other':'bytes'}[getPluralForm('en-US',_0x482e0b)];return _0x5b9914===ByteUnitEnum['KB']||_0x316ec0&&_0x482e0b<_0x3aa300**0x2?_0x5e1bfe(_0x482e0b/_0x3aa300**0x1)+'\x20KB':_0x5b9914===ByteUnitEnum['MB']||_0x316ec0&&_0x482e0b<_0x3aa300**0x3?_0x5e1bfe(_0x482e0b/_0x3aa300**0x2)+'\x20MB':_0x5b9914===ByteUnitEnum['GB']||_0x316ec0&&_0x482e0b<_0x3aa300**0x4?_0x5e1bfe(_0x482e0b/_0x3aa300**0x3)+'\x20GB':_0x5b9914===ByteUnitEnum['TB']||_0x316ec0&&_0x482e0b<_0x3aa300**0x5?_0x5e1bfe(_0x482e0b/_0x3aa300**0x4)+'\x20TB':_0x5e1bfe(_0x482e0b/_0x3aa300**0x5)+'\x20PB';},validateMaxSizeLimit=(_0x401e4b,_0x370e61)=>{const _0x4bf5a0=_0x370e61['cfg']['maxLocalFileSizeBytes'],_0x37b806=_0x401e4b['size'];if(_0x4bf5a0&&_0x37b806&&_0x37b806>_0x4bf5a0)return{'type':'FILE_SIZE_EXCEEDED','message':_0x370e61['l10n']('files-max-size-limit-error',{'maxFileSize':prettyBytes(_0x4bf5a0)}),'payload':{'entry':_0x401e4b}};},validateUploadError=(_0x471e83,_0xe28647)=>{const {internalId:_0x23c0a9}=_0x471e83,_0x393718=_0xe28647['_uploadCollection']['read'](_0x23c0a9),_0xcd08af=_0x393718?.['getValue']('uploadError');if(!_0xcd08af)return;if(_0xcd08af instanceof _0xec1f14)return{'type':'UPLOAD_ERROR','message':_0xcd08af['message'],'payload':{'entry':_0x471e83,'error':_0xcd08af}};if(_0xcd08af instanceof NetworkError)return{'type':'NETWORK_ERROR','message':_0xcd08af['message'],'payload':{'entry':_0x471e83,'error':_0xcd08af}};const _0x11eb99=_0xcd08af instanceof Error?_0xcd08af:new Error('Unknown\x20error',{'cause':_0xcd08af});return{'type':'UNKNOWN_ERROR','message':_0x11eb99['message'],'payload':{'entry':_0x471e83,'error':_0x11eb99}};},validateCollectionUploadError=(_0x1438a7,_0x426bea)=>{if(_0x1438a7['failedCount']>0x0)return{'type':'SOME_FILES_HAS_ERRORS','message':_0x426bea['l10n']('some-files-were-not-uploaded')};},validateMultiple=(_0x5d168f,_0x197d67)=>{const _0x12b66d=_0x5d168f['totalCount'],_0x3c34d0=_0x197d67['cfg']['multiple']?_0x197d67['cfg']['multipleMin']:0x0,_0x32a579=_0x197d67['cfg']['multiple']?_0x197d67['cfg']['multipleMax']:0x1;if(_0x3c34d0&&_0x12b66d<_0x3c34d0)return{'type':'TOO_FEW_FILES','message':_0x197d67['l10n']('files-count-limit-error-too-few',{'min':_0x3c34d0,'max':_0x32a579,'total':_0x12b66d}),'payload':{'total':_0x12b66d,'min':_0x3c34d0,'max':_0x32a579}};if(_0x32a579&&_0x12b66d>_0x32a579)return{'type':'TOO_MANY_FILES','message':_0x197d67['l10n']('files-count-limit-error-too-many',{'min':_0x3c34d0,'max':_0x32a579,'total':_0x12b66d}),'payload':{'total':_0x12b66d,'min':_0x3c34d0,'max':_0x32a579}};},_0xeab9af={'file':'File\x20validator\x20execution\x20has\x20failed','collection':'Collection\x20validator\x20execution\x20has\x20failed','message':'Missing\x20message.\x20We\x20recommend\x20adding\x20message:\x20value.'};class ValidationManager{['_blockInstance'];['_fileValidators']=[validateIsImage,validateFileType,validateMaxSizeLimit,validateUploadError];['_collectionValidators']=[validateMultiple,validateCollectionUploadError];constructor(_0x264d20){this['_blockInstance']=_0x264d20,this['_uploadCollection']=this['_blockInstance']['uploadCollection'];const _0x6ace1c=()=>{this['runFileValidators'](),this['runCollectionValidators']();};this['_blockInstance']['subConfigValue']('maxLocalFileSizeBytes',_0x6ace1c),this['_blockInstance']['subConfigValue']('multipleMin',_0x6ace1c),this['_blockInstance']['subConfigValue']('multipleMax',_0x6ace1c),this['_blockInstance']['subConfigValue']('multiple',_0x6ace1c),this['_blockInstance']['subConfigValue']('imgOnly',_0x6ace1c),this['_blockInstance']['subConfigValue']('accept',_0x6ace1c);}['runFileValidators'](_0x35b90a){const _0x3d1f19=_0x35b90a??this['_uploadCollection']['items']();for(const _0x33dd71 of _0x3d1f19){const _0x21c29a=this['_uploadCollection']['read'](_0x33dd71);_0x21c29a&&this['_runFileValidatorsForEntry'](_0x21c29a);}}['runCollectionValidators'](){const _0x30948c=this['_blockInstance']['api']['getOutputCollectionState'](),_0x5aeeee=[];for(const _0x4c59f8 of[...this['_collectionValidators'],...this['_addCustomTypeToValidators'](this['_blockInstance']['cfg']['collectionValidators'])])try{const _0x20ba75=_0x4c59f8(_0x30948c,this['_blockInstance']['api']);if(!_0x20ba75)continue;_0x20ba75&&(_0x5aeeee['push'](_0x20ba75),_0x20ba75['message']||console['warn'](_0xeab9af['message']));}catch(_0x27cfa3){console['warn'](_0xeab9af['collection'],_0x27cfa3);}this['_blockInstance']['$']['*collectionErrors']=_0x5aeeee,_0x5aeeee['length']>0x0&&this['_blockInstance']['emit'](EventType['COMMON_UPLOAD_FAILED'],()=>this['_blockInstance']['api']['getOutputCollectionState'](),{'debounce':!0x0});}['_runFileValidatorsForEntry'](_0x1f810e){const _0x1e0229=this['_blockInstance']['api']['getOutputItem'](_0x1f810e['uid']),_0x41fb75=[];for(const _0x57f991 of[...this['_fileValidators'],...this['_addCustomTypeToValidators'](this['_blockInstance']['cfg']['fileValidators'])])try{const _0x57642e=_0x57f991(_0x1e0229,this['_blockInstance']['api']);if(!_0x57642e)continue;_0x57642e&&(_0x41fb75['push'](_0x57642e),_0x57642e['message']||console['warn'](_0xeab9af['message']));}catch(_0x5c699c){console['warn'](_0xeab9af['file'],_0x5c699c);}_0x1f810e['setValue']('errors',_0x41fb75);}['_addCustomTypeToValidators'](_0x6ae6f1){return _0x6ae6f1['map'](_0x1ff576=>(..._0x5a3ed8)=>{const _0x5dfe5c=_0x1ff576(..._0x5a3ed8);return _0x5dfe5c?{..._0x5dfe5c,'type':'CUSTOM_ERROR'}:void 0x0;});}}const 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':_0x302617,'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}),'isQueued':Object['freeze']({'type':Boolean,'value':!0x1})});class _0x4d0a24 extends ActivityBlock{['couldBeCtxOwner']=!0x1;['isCtxOwner']=!0x1;['init$']=uploaderBlockCtx(this);get['hasCtxOwner'](){return this['hasBlockInCtx'](_0x18767e=>_0x18767e instanceof _0x4d0a24&&(_0x18767e['isCtxOwner']&&_0x18767e['isConnected']&&_0x18767e!==this));}['initCallback'](){if(super['initCallback'](),!this['has']('*uploadCollection')){let _0x5e9b38=new TypedCollection({'typedSchema':uploadEntrySchema,'watchList':['uploadProgress','uploadError','fileInfo','errors','cdnUrl','isUploading']});this['add']('*uploadCollection',_0x5e9b38);}this['has']('*publicApi')||this['add']('*publicApi',new _0x4e65b2(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['_unobserveCollectionProperties']?.(),this['_unobserveCollection']?.(),this['uploadCollection']['destroy'](),this['$']['*uploadCollection']=null,super['destroyCtxCallback']();}['destroyCallback'](){super['destroyCallback'](),this['_flushOutputItems']['cancel']();}['initCtxOwner'](){this['isCtxOwner']=!0x0,this['_unobserveCollection']=this['uploadCollection']['observeCollection'](this['_handleCollectionUpdate']),this['_unobserveCollectionProperties']=this['uploadCollection']['observeProperties'](this['_handleCollectionPropertiesUpdate']),this['subConfigValue']('maxConcurrentRequests',_0x55fed6=>{this['$']['*uploadQueue']['concurrency']=Number(_0x55fed6)||0x1;}),this['$']['*secureUploadsManager']||(this['$']['*secureUploadsManager']=new _0x989711(this));}async['_createGroup'](_0x3ac52e){const _0x40a2d5=await this['getUploadClientOptions'](),_0x333f38=_0x3ac52e['allEntries']['map'](_0x10260c=>_0x10260c['uuid']+(_0x10260c['cdnUrlModifiers']?'/'+_0x10260c['cdnUrlModifiers']:'')),_0x303263=new AbortController(),_0x4dd303=await _0x13073f(_0x333f38,{..._0x40a2d5,'signal':_0x303263['signal']});if(this['$']['*collectionState']!==_0x3ac52e)return void _0x303263['abort']();this['$']['*groupInfo']=_0x4dd303;const _0x10a189=this['api']['getOutputCollectionState']();this['emit'](EventType['GROUP_CREATED'],_0x10a189),this['emit'](EventType['CHANGE'],()=>this['api']['getOutputCollectionState'](),{'debounce':!0x0}),this['$']['*collectionState']=_0x10a189;}['_flushOutputItems']=_0x31f04e(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']=(_0x42cbe7,_0x1d9fde,_0x5cc44a)=>{(_0x1d9fde['size']||_0x5cc44a['size'])&&(this['$']['*groupInfo']=null),this['validationManager']['runFileValidators'](),this['validationManager']['runCollectionValidators']();for(const _0x3a92a7 of _0x1d9fde)_0x3a92a7['getValue']('silent')||this['emit'](EventType['FILE_ADDED'],this['api']['getOutputItem'](_0x3a92a7['uid']));for(const _0x3e9c61 of _0x5cc44a){this['$']['*uploadTrigger']['delete'](_0x3e9c61['uid']),_0x3e9c61['getValue']('abortController')?.['abort'](),_0x3e9c61['setMultipleValues']({'isRemoved':!0x0,'abortController':null,'isUploading':!0x1,'uploadProgress':0x0});const _0x3b0dd6=_0x3e9c61?.['getValue']('thumbUrl');_0x3b0dd6&&URL['revokeObjectURL'](_0x3b0dd6),this['emit'](EventType['FILE_REMOVED'],this['api']['getOutputItem'](_0x3e9c61['uid']));}this['$']['*uploadList']=_0x42cbe7['map'](_0x234483=>({'uid':_0x234483})),this['_flushCommonUploadProgress'](),this['_flushOutputItems']();};['_handleCollectionPropertiesUpdate']=_0xa029ce=>{this['_flushOutputItems']();const _0x327352=this['uploadCollection'],_0xef2c19=[...new Set(Object['entries'](_0xa029ce)['filter'](([_0x178444])=>['uploadError','fileInfo']['includes'](_0x178444))['map'](([,_0x5937ba])=>[..._0x5937ba])['flat']())];if(_0xef2c19['length']>0x0&&setTimeout(()=>{this['validationManager']['runFileValidators'](_0xef2c19);}),_0xa029ce['uploadProgress']){for(const _0x2a6c20 of _0xa029ce['uploadProgress']){const {isUploading:_0x3cdc40,silent:_0x2c0146}=Data['getCtx'](_0x2a6c20)['store'];_0x3cdc40&&!_0x2c0146&&this['emit'](EventType['FILE_UPLOAD_PROGRESS'],this['api']['getOutputItem'](_0x2a6c20));}this['_flushCommonUploadProgress']();}if(_0xa029ce['isUploading'])for(const _0x30b816 of _0xa029ce['isUploading']){const {isUploading:_0x19b6a1,silent:_0x2aea64}=Data['getCtx'](_0x30b816)['store'];_0x19b6a1&&!_0x2aea64&&this['emit'](EventType['FILE_UPLOAD_START'],this['api']['getOutputItem'](_0x30b816));}if(_0xa029ce['fileInfo']){for(const _0x267c1e of _0xa029ce['fileInfo']){const {fileInfo:_0x30f1c5,silent:_0x16b4aa}=Data['getCtx'](_0x267c1e)['store'];_0x30f1c5&&!_0x16b4aa&&this['emit'](EventType['FILE_UPLOAD_SUCCESS'],this['api']['getOutputItem'](_0x267c1e));}this['cfg']['cropPreset']&&this['setInitialCrop'](),this['cfg']['cloudImageEditorAutoOpen']&&this['openCloudImageEditor']();}if(_0xa029ce['errors']){for(const _0x271ca0 of _0xa029ce['errors']){const {errors:_0x42dc46}=Data['getCtx'](_0x271ca0)['store'];_0x42dc46['length']>0x0&&(this['emit'](EventType['FILE_UPLOAD_FAILED'],this['api']['getOutputItem'](_0x271ca0)),this['emit'](EventType['COMMON_UPLOAD_FAILED'],()=>this['api']['getOutputCollectionState'](),{'debounce':!0x0}));}const _0x34cb79=_0x327352['findItems'](_0x2bf8ff=>!!_0x2bf8ff['getValue']('fileInfo')),_0x57bc3c=_0x327352['findItems'](_0x12d271=>_0x12d271['getValue']('errors')['length']>0x0);_0x327352['size']>0x0&&0x0===_0x57bc3c['length']&&_0x327352['size']===_0x34cb79['length']&&0x0===this['$']['*collectionErrors']['length']&&this['emit'](EventType['COMMON_UPLOAD_SUCCESS'],this['api']['getOutputCollectionState']());}_0xa029ce['cdnUrl']&&([..._0xa029ce['cdnUrl']]['filter'](_0x405b65=>!!this['uploadCollection']['read'](_0x405b65)?.['getValue']('cdnUrl'))['forEach'](_0x69d615=>{this['emit'](EventType['FILE_URL_CHANGED'],this['api']['getOutputItem'](_0x69d615));}),this['$']['*groupInfo']=null);};['_flushCommonUploadProgress']=()=>{let _0x44ef3b=0x0;const _0x47d279=[...this['$']['*uploadTrigger']]['filter'](_0x25085d=>!!this['uploadCollection']['read'](_0x25085d));_0x47d279['forEach'](_0x1c80d3=>{const _0x5bea33=this['uploadCollection']['readProp'](_0x1c80d3,'uploadProgress');'number'==typeof _0x5bea33&&(_0x44ef3b+=_0x5bea33);});const _0x227f4e=_0x47d279['length']?Math['round'](_0x44ef3b/_0x47d279['length']):0x0;this['$']['*commonProgress']!==_0x227f4e&&(this['$']['*commonProgress']=_0x227f4e,this['emit'](EventType['COMMON_UPLOAD_PROGRESS'],this['api']['getOutputCollectionState']()));};['openCloudImageEditor'](){const [_0x1dc3a1]=this['uploadCollection']['findItems'](_0x282a7e=>!!_0x282a7e['getValue']('fileInfo')&&_0x282a7e['getValue']('isImage'))['map'](_0x3544db=>this['uploadCollection']['read'](_0x3544db));_0x1dc3a1&&0x1===this['uploadCollection']['size']&&this['cfg']['useCloudImageEditor']&&this['hasBlockInCtx'](_0x2bcb7d=>_0x2bcb7d['activityType']===ActivityBlock['activities']['CLOUD_IMG_EDIT'])&&(this['$']['*currentActivityParams']={'internalId':_0x1dc3a1['uid']},this['$']['*currentActivity']=ActivityBlock['activities']['CLOUD_IMG_EDIT'],this['modalManager']['open'](ActivityBlock['activities']['CLOUD_IMG_EDIT']));}['setInitialCrop'](){const _0x4374f8=parseCropPreset(this['cfg']['cropPreset']);if(_0x4374f8){const [_0x19a0f2]=_0x4374f8,_0x11597f=this['uploadCollection']['findItems'](_0x5bd387=>!!_0x5bd387['getValue']('fileInfo')&&_0x5bd387['getValue']('isImage')&&!_0x5bd387['getValue']('cdnUrlModifiers')?.['includes']('/crop/'))['map'](_0x4d6e08=>this['uploadCollection']['read'](_0x4d6e08))['filter'](Boolean);for(const _0x4f93c1 of _0x11597f){const _0x44c3b2=_0x4f93c1['getValue']('fileInfo');if(!_0x44c3b2||!_0x44c3b2['imageInfo']){console['warn']('Failed\x20to\x20get\x20image\x20info\x20for\x20entry',_0x4f93c1['uid']);continue;}const {width:_0x44a9ee,height:_0x1a1925}=_0x44c3b2['imageInfo'],_0x58cdd6=calculateMaxCenteredCropFrame(_0x44a9ee,_0x1a1925,_0x19a0f2['width']/_0x19a0f2['height']),_0xda7cf7=createCdnUrlModifiers('crop/'+_0x58cdd6['width']+'x'+_0x58cdd6['height']+'/'+_0x58cdd6['x']+','+_0x58cdd6['y'],'preview'),_0x3ed8bd=_0x4f93c1['getValue']('cdnUrl');_0x3ed8bd?(_0x4f93c1['setMultipleValues']({'cdnUrlModifiers':_0xda7cf7,'cdnUrl':createCdnUrl(_0x3ed8bd,_0xda7cf7)}),0x1===this['uploadCollection']['size']&&this['cfg']['useCloudImageEditor']&&this['hasBlockInCtx'](_0x4851d0=>_0x4851d0['activityType']===ActivityBlock['activities']['CLOUD_IMG_EDIT'])&&(this['$']['*currentActivityParams']={'internalId':_0x4f93c1['uid']},this['$']['*currentActivity']=ActivityBlock['activities']['CLOUD_IMG_EDIT'],this['modalManager']['open'](ActivityBlock['activities']['CLOUD_IMG_EDIT']))):console['warn']('Failed\x20to\x20get\x20cdnUrl\x20for\x20entry',_0x4f93c1['uid']);}}}async['getMetadataFor'](_0x4d0e4f){const _0x560d2a=this['cfg']['metadata']||void 0x0;if('function'==typeof _0x560d2a){const _0x5909e2=this['api']['getOutputItem'](_0x4d0e4f);return await _0x560d2a(_0x5909e2);}return _0x560d2a;}async['getUploadClientOptions'](){const _0x2a667e=this['$']['*secureUploadsManager'],_0x2837c9=await _0x2a667e['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':_0x2837c9?.['secureSignature'],'secureExpire':_0x2837c9?.['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'](_0x4ba478=>this['api']['getOutputItem'](_0x4ba478));}}_0x4d0a24['extSrcList']=Object['freeze']({...ExternalUploadSource}),_0x4d0a24['sourceTypes']=Object['freeze']({..._0x40f277});const toKebabCase=_0x232c40=>_0x232c40['match'](/[A-Z]{2,}(?=[A-Z][a-z]+[0-9]*|\b)|[A-Z]?[a-z]+[0-9]*|[A-Z]|[0-9]+/g)?.['map'](_0x38a268=>_0x38a268['toLowerCase']())['join']('-'),asString=_0xd92363=>String(_0xd92363),_0x2b6fc9=_0x11a2c8=>{const _0x4926f0=Number(_0x11a2c8);if(Number['isNaN'](_0x4926f0))throw new Error('Invalid\x20number:\x20\x22'+_0x11a2c8+'\x22');return _0x4926f0;},_0x4c1e70=_0x2470f6=>{if(null==_0x2470f6)return!0x1;if('boolean'==typeof _0x2470f6)return _0x2470f6;if('true'===_0x2470f6)return!0x0;if(''===_0x2470f6)return!0x0;if('false'===_0x2470f6)return!0x1;throw new Error('Invalid\x20boolean:\x20\x22'+_0x2470f6+'\x22');},asStore=_0x47521a=>'auto'===_0x47521a?_0x47521a:_0x4c1e70(_0x47521a),asCameraCapture=_0x2fab25=>{const _0x2f67b3=asString(_0x2fab25);if('user'!==_0x2f67b3&&'environment'!==_0x2f67b3&&''!==_0x2f67b3)throw new Error('Invalid\x20value:\x20\x22'+_0x2f67b3+'\x22');return _0x2f67b3;},_0x464998=_0x38b2be=>{const _0x4da34d=asString(_0x38b2be);if(!Object['values'](_0x1e0ef4)['includes'](_0x4da34d))throw new Error('Invalid\x20value:\x20\x22'+_0x4da34d+'\x22');return _0x4da34d;},_0x5ba7b5=_0x42fb31=>{const _0x2cca2f=asString(_0x42fb31),_0x336a02=_0x3c7d14(_0x2cca2f);if(_0x336a02['some'](_0x3b2f2f=>!Object['values'](_0x1e0ef4)['includes'](_0x3b2f2f)))throw new Error('Invalid\x20value:\x20\x22'+JSON['stringify'](_0x336a02)+'\x22');return _0x2cca2f;},asMetadata=_0x3a67ae=>{if('object'==typeof _0x3a67ae&&!Array['isArray'](_0x3a67ae))return _0x3a67ae;if('function'==typeof _0x3a67ae)return _0x3a67ae;throw new Error('Invalid\x20metadata\x20value.\x20Must\x20be\x20an\x20object\x20or\x20function.');},asObject=_0x1e5eb8=>{if('object'==typeof _0x1e5eb8)return _0x1e5eb8;throw new Error('Invalid\x20value.\x20Must\x20be\x20an\x20object.');},asFunction=_0x28d979=>{if('function'==typeof _0x28d979)return _0x28d979;throw new Error('Invalid\x20value.\x20Must\x20be\x20a\x20function.');},_0x22b511=_0x3fc43e=>{if(Array['isArray'](_0x3fc43e))return _0x3fc43e;throw new Error('Must\x20be\x20an\x20array.');},_0x3aa63a=_0x17df57=>{const _0x124d5b=asString(_0x17df57);if(['grid','list']['includes'](_0x124d5b))return _0x124d5b;throw new Error('Invalid\x20value:\x20\x22'+_0x124d5b+'\x22');},_0x1c60a5={'pubkey':asString,'multiple':_0x4c1e70,'multipleMin':_0x2b6fc9,'multipleMax':_0x2b6fc9,'confirmUpload':_0x4c1e70,'imgOnly':_0x4c1e70,'accept':asString,'externalSourcesPreferredTypes':asString,'externalSourcesEmbedCss':asString,'store':asStore,'cameraMirror':_0x4c1e70,'cameraCapture':asCameraCapture,'sourceList':asString,'topLevelOrigin':asString,'maxLocalFileSizeBytes':_0x2b6fc9,'thumbSize':_0x2b6fc9,'showEmptyList':_0x4c1e70,'useLocalImageEditor':_0x4c1e70,'useCloudImageEditor':_0x4c1e70,'cloudImageEditorTabs':asString,'removeCopyright':_0x4c1e70,'cropPreset':asString,'imageShrink':asString,'modalScrollLock':_0x4c1e70,'modalBackdropStrokes':_0x4c1e70,'sourceListWrap':_0x4c1e70,'remoteTabSessionKey':asString,'cdnCname':asString,'cdnCnamePrefixed':asString,'baseUrl':asString,'socialBaseUrl':asString,'secureSignature':asString,'secureExpire':asString,'secureDeliveryProxy':asString,'retryThrottledRequestMaxTimes':_0x2b6fc9,'retryNetworkErrorMaxTimes':_0x2b6fc9,'multipartMinFileSize':_0x2b6fc9,'multipartChunkSize':_0x2b6fc9,'maxConcurrentRequests':_0x2b6fc9,'multipartMaxConcurrentRequests':_0x2b6fc9,'multipartMaxAttempts':_0x2b6fc9,'checkForUrlDuplicates':_0x4c1e70,'saveUrlForRecurrentUploads':_0x4c1e70,'groupOutput':_0x4c1e70,'userAgentIntegration':asString,'debug':_0x4c1e70,'localeName':asString,'metadata':asMetadata,'secureUploadsExpireThreshold':_0x2b6fc9,'localeDefinitionOverride':asObject,'secureUploadsSignatureResolver':asFunction,'secureDeliveryProxyUrlResolver':asFunction,'iconHrefResolver':asFunction,'fileValidators':_0x22b511,'collectionValidators':_0x22b511,'cameraModes':_0x5ba7b5,'defaultCameraMode':_0x464998,'enableAudioRecording':_0x4c1e70,'enableVideoRecording':_0x4c1e70,'mediaRecorderOptions':asObject,'maxVideoRecordingDuration':_0x2b6fc9,'filesViewMode':_0x3aa63a,'gridShowFileNames':_0x4c1e70,'cloudImageEditorAutoOpen':_0x4c1e70,'cloudImageEditorMaskHref':asString,'testMode':_0x4c1e70},_0x16a8a2=(_0xbe61e,_0x5afb22)=>{if(null!=_0x5afb22)try{return _0x1c60a5[_0xbe61e](_0x5afb22);}catch(_0x48141b){return console['error']('Invalid\x20value\x20for\x20config\x20key\x20\x22'+_0xbe61e+'\x22.',_0x48141b),initialConfig[_0xbe61e];}},_0xc12470=[{'test':_0x48ef1d=>_0x48ef1d['accept']&&!!_0x48ef1d['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':_0x4deae7=>null!==_0x4deae7['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':_0xe642b1=>null!==_0xe642b1['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=_0x31f04e(_0xb23893=>{for(const {test:_0x496071,message:_0x2a98f2}of _0xc12470)_0x496071(_0xb23893)&&_0x12d988(_0x2a98f2);},0x0),_0x12d6e5=(_0x1a6a10,_0x58fb83)=>{const _0x2c9c82=new URL(_0x58fb83);return _0x2c9c82['hostname']=_0x1a6a10+'.'+_0x2c9c82['hostname'],_0x2c9c82['toString']()['replace'](/\/$/,'');},_0x576db5='0123456789abcdefghijklmnopqrstuvwxyz',_0x4eac46=_0x2761b2=>{if(_0x2761b2<=0x0n)return'0';let _0x2a3fab='';for(;_0x2761b2>0x0n;){_0x2a3fab=_0x576db5[Number(_0x2761b2%0x24n)]+_0x2a3fab,_0x2761b2/=0x24n;}return _0x2a3fab;},_0xfbf784=(_0x2287b6,_0xd5ff55)=>{try{const _0x5c3b44=new URL(_0x2287b6),t=new URL(_0xd5ff55);return _0x5c3b44['hostname']['endsWith'](t['hostname']);}catch{return!0x1;}},_0x1ad85a=async _0x3d7741=>{const _0x35345c=new TextEncoder()['encode'](_0x3d7741),t=await window['crypto']['subtle']['digest']('SHA-256',_0x35345c),_0x3e979a=Array['from'](new Uint8Array(t))['map'](_0x12d7a0=>_0x12d7a0['toString'](0x10)['padStart'](0x2,'0'))['join']('');return BigInt('0x'+_0x3e979a);},_0x580593=0xa,_0x27abb7=async _0x1e7bef=>{const _0x5e9fba=await _0x1ad85a(_0x1e7bef);return _0x4eac46(_0x5e9fba)['slice'](0x0,_0x580593);},_0x3be91e=async(_0x3526a9,_0x13a983)=>{const t=await _0x27abb7(_0x3526a9);return _0x12d6e5(t,_0x13a983);},_0x4ea702=_0x372491=>_0x372491 instanceof Promise||Boolean(_0x372491&&'object'==typeof _0x372491&&'then'in _0x372491&&'function'==typeof _0x372491['then']);function defineComputedProperty(_0x46031c){return _0x46031c;}const _0x443f58=[defineComputedProperty({'key':'cameraModes','deps':['enableVideoRecording'],'fn':({cameraModes:_0x4e2b9e,enableVideoRecording:_0x432655})=>{if(null===_0x432655)return _0x4e2b9e;let _0x4bc853=_0x3c7d14(_0x4e2b9e);return _0x432655&&!_0x4bc853['includes']('video')?_0x4bc853=_0x4bc853['concat']('video'):_0x432655||(_0x4bc853=_0x4bc853['filter'](_0x45e76b=>'video'!==_0x45e76b)),_0x12a265(_0x4bc853);}}),defineComputedProperty({'key':'cameraModes','deps':['defaultCameraMode'],'fn':({cameraModes:_0x4f5162,defaultCameraMode:_0x8ba869})=>{if(null===_0x8ba869)return _0x4f5162;let _0x92448b=_0x3c7d14(_0x4f5162);return _0x92448b=_0x92448b['sort']((_0x5188e2,_0x20eb36)=>_0x5188e2===_0x8ba869?-0x1:_0x20eb36===_0x8ba869?0x1:0x0),_0x12a265(_0x92448b);}}),defineComputedProperty({'key':'cdnCname','deps':['pubkey','cdnCnamePrefixed'],'fn':({pubkey:_0xb2276c,cdnCname:_0x3e89be,cdnCnamePrefixed:_0x235bb6})=>_0xb2276c&&(_0x3e89be===_0x1e319e||_0xfbf784(_0x3e89be,_0x235bb6))?_0x3be91e(_0xb2276c,_0x235bb6):_0x3e89be})],runSideEffects=({key:_0x4359cc,setValue:_0x186726,getValue:_0x48031e})=>{for(const _0xa193f5 of _0x443f58)if(_0xa193f5['deps']['includes'](_0x4359cc)){const _0xf26dec={[_0xa193f5['key']]:_0x48031e(_0xa193f5['key']),..._0xa193f5['deps']['reduce']((_0x15cd68,_0x8dbc5b)=>({..._0x15cd68,[_0x8dbc5b]:_0x48031e(_0x8dbc5b)}),{})},_0x27b8d9=_0xa193f5['fn'](_0xf26dec);if(_0x4ea702(_0x27b8d9)){const _0xaeccc2=_0x48031e(_0xa193f5['key']);_0x27b8d9['then'](_0x337fb6=>{_0x48031e(_0xa193f5['key'])===_0xaeccc2&&_0x186726(_0xa193f5['key'],_0x337fb6);})['catch'](_0x2167e2=>{console['error']('Failed\x20to\x20compute\x20value\x20for\x20\x22'+_0xa193f5['key']+'\x22',_0x2167e2);});}else _0x186726(_0xa193f5['key'],_0x27b8d9);}},_0x4da448=[...new Set(['debug',...Object['keys'](initialConfig)])],_0x15bb28=['metadata','localeDefinitionOverride','secureUploadsSignatureResolver','secureDeliveryProxyUrlResolver','iconHrefResolver','fileValidators','collectionValidators','mediaRecorderOptions'],_0xa0cfe8=_0x37c743=>_0x15bb28['includes'](_0x37c743),_0xb72026=_0x4da448['filter'](_0x7d39cf=>!_0xa0cfe8(_0x7d39cf)),attrKeyMapping={...Object['fromEntries'](_0xb72026['map'](_0x468e5d=>[toKebabCase(_0x468e5d),_0x468e5d])),...Object['fromEntries'](_0xb72026['map'](_0xa00f81=>[_0xa00f81['toLowerCase'](),_0xa00f81]))},attrStateMapping={...Object['fromEntries'](_0xb72026['map'](_0x151bb7=>[toKebabCase(_0x151bb7),_0x3fe1ef(_0x151bb7)])),...Object['fromEntries'](_0xb72026['map'](_0x579fa7=>[_0x579fa7['toLowerCase'](),_0x3fe1ef(_0x579fa7)]))},getLocalPropName=_0x49301e=>'__'+_0x49301e;class _0x31755f extends _0x337de7{['requireCtxName']=!0x0;constructor(){super(),this['init$']={...this['init$'],...Object['fromEntries'](Object['entries'](initialConfig)['map'](([_0x40ea6a,_0x255097])=>[_0x3fe1ef(_0x40ea6a),_0x255097]))};}['_flushValueToAttribute'](_0x1d0b82,_0x540b93){if(_0xb72026['includes'](_0x1d0b82)){const _0x2471c5=[...new Set([toKebabCase(_0x1d0b82),_0x1d0b82['toLowerCase']()])];for(const _0x22bd25 of _0x2471c5)null==_0x540b93?this['removeAttribute'](_0x22bd25):this['getAttribute'](_0x22bd25)!==_0x540b93['toString']()&&this['setAttribute'](_0x22bd25,_0x540b93['toString']());}}['_flushValueToState'](_0x22bf61,_0x150dbe){this['$'][_0x3fe1ef(_0x22bf61)]!==_0x150dbe&&(this['$'][_0x3fe1ef(_0x22bf61)]=null==_0x150dbe?initialConfig[_0x22bf61]:_0x150dbe);}['_setValue'](_0x5e8223,_0x5cc512){const _0x2df5fc=this,_0x13da81=_0x16a8a2(_0x5e8223,_0x5cc512),_0x2a8234=getLocalPropName(_0x5e8223);_0x2df5fc[_0x2a8234]!==_0x13da81&&(this['_assertSameValueDifferentReference'](_0x5e8223,_0x2df5fc[_0x2a8234],_0x13da81),_0x2df5fc[_0x2a8234]=_0x13da81,this['_flushValueToAttribute'](_0x5e8223,_0x13da81),this['_flushValueToState'](_0x5e8223,_0x13da81),this['debugPrint']('[uc-config]\x20\x22'+_0x5e8223+'\x22',_0x13da81),runAssertions(this['cfg']),runSideEffects({'key':_0x5e8223,'setValue':this['_setValue']['bind'](this),'getValue':this['_getValue']['bind'](this)}));}['_getValue'](_0x29d145){return this[getLocalPropName(_0x29d145)]??this['$'][_0x3fe1ef(_0x29d145)];}['_assertSameValueDifferentReference'](_0x50a156,_0x88685e,_0x1fe440){this['cfg']['debug']&&_0x1fe440!==_0x88685e&&'object'==typeof _0x1fe440&&'object'==typeof _0x88685e&&JSON['stringify'](_0x1fe440)===JSON['stringify'](_0x88685e)&&(console['warn']('[uc-config]\x20Option\x20\x22'+_0x50a156+'\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'+_0x50a156+'\x22\x20previous\x20value:',_0x88685e),console['warn']('[uc-config]\x20\x22'+_0x50a156+'\x22\x20new\x20value:',_0x1fe440));}['initCallback'](){super['initCallback']();const _0x5044ec=this;for(const _0x3a1f5d of _0xb72026)this['sub'](_0x3fe1ef(_0x3a1f5d),_0x4c3911=>{this['_setValue'](_0x3a1f5d,_0x4c3911);},!0x1);for(const _0x228581 of _0x4da448){const _0x51e840=_0x5044ec[_0x228581]??this['$'][_0x3fe1ef(_0x228581)];_0x51e840!==initialConfig[_0x228581]&&this['_setValue'](_0x228581,_0x51e840),Object['defineProperty'](this,_0x228581,{'set':_0x158be2=>{this['_setValue'](_0x228581,_0x158be2);},'get':()=>this['_getValue'](_0x228581)}),runSideEffects({'key':_0x228581,'setValue':this['_setValue']['bind'](this),'getValue':this['_getValue']['bind'](this)});}}['attributeChangedCallback'](_0x49974d,_0x43de22,_0x1e2e2f){if(_0x43de22===_0x1e2e2f)return;this[attrKeyMapping[_0x49974d]]=_0x1e2e2f;}}_0x31755f['bindAttributes'](attrStateMapping);for(const _0x5af325 of _0x4da448)_0x31755f['prototype'][_0x5af325]=void 0x0;const _0x308845=_0x31755f;class _0xaaa774 extends _0x337de7{constructor(){super(),this['init$']={...this['init$'],'name':'','href':''};}['initCallback'](){super['initCallback'](),this['sub']('name',_0x3d4a6f=>{if(!_0x3d4a6f)return;let _0x48ff88='#uc-icon-'+_0x3d4a6f;this['subConfigValue']('iconHrefResolver',_0x590ac4=>{if(_0x590ac4){const _0x3ad3e3=_0x590ac4(_0x3d4a6f);_0x48ff88=_0x3ad3e3??_0x48ff88;}this['$']['href']=_0x48ff88;});}),this['setAttribute']('aria-hidden','true');}}_0xaaa774['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',_0xaaa774['bindAttributes']({'name':'name'});const _0x18150a=_0x3bf39a=>[...new Set(_0x3bf39a)],parseObjectToString=_0xe3c628=>Object['entries'](_0xe3c628)['filter'](([_0x259049,_0x586f3e])=>void 0x0!==_0x586f3e&&''!==_0x586f3e)['map'](([_0x17939f,_0xcde90e])=>'cdn-operations'===_0x17939f||'analytics'===_0x17939f?_0xcde90e:_0x17939f+'/'+_0xcde90e),_0x58996b='https://ucarecdn.com',_0x3f8242=Object['freeze']({'dev-mode':{},'pubkey':{},'uuid':{},'src':{},'lazy':{'default':0x1},'intersection':{},'breakpoints':{},'cdn-cname':{'default':_0x58996b},'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}}),_0x422c12='--uc-img-',_0x525aa6='unresolved',_0x56d7cc=0x2,_0x4be72f=0x3,_0x28c32e=!window['location']['host']['trim']()||window['location']['host']['includes'](':')||window['location']['hostname']['includes']('localhost'),_0x160ec6=0xbb8,_0x22ce10=0x1388,_0x141bbd=Object['freeze']({'PREVIEW':'PREVIEW','MAIN':'MAIN'}),_0x17c51a=Object['create'](null);for(let _0x969491 in _0x3f8242)_0x17c51a[_0x422c12+_0x969491]=_0x3f8242[_0x969491]?.['default']||'';class _0x28aac2 extends BaseComponent{['cssInit$']=_0x17c51a;['$$'](_0x28f089){return this['$'][_0x422c12+_0x28f089];}['set$$'](_0x1ed876){for(let _0x58e01d in _0x1ed876)this['$'][_0x422c12+_0x58e01d]=_0x1ed876[_0x58e01d];}['sub$$'](_0x3e94db,_0x59c0b8){this['sub'](_0x422c12+_0x3e94db,_0x19e374=>{null!==_0x19e374&&''!==_0x19e374&&_0x59c0b8(_0x19e374);});}['analyticsParams'](){return'-/@clib/'+_0x568ae1+'/'+_0x5b610b+'/uc-img/';}['initAttributes'](_0x243481){[...this['attributes']]['forEach'](_0x4af807=>{_0x3f8242[_0x4af807['name']]||_0x243481['setAttribute'](_0x4af807['name'],_0x4af807['value']);});}['initIntersection'](_0x2c0ba1,_0x461ee1){this['_isnObserver']=new IntersectionObserver(_0x38dd4e=>{_0x38dd4e['forEach'](_0x547071=>{_0x547071['isIntersecting']&&(_0x461ee1(),this['_isnObserver']['unobserve'](_0x2c0ba1));});},{'root':null,'rootMargin':'0px'}),this['_isnObserver']['observe'](_0x2c0ba1),this['_observed']||(this['_observed']=new Set()),this['_observed']['add'](_0x2c0ba1);}['destroyCallback'](){super['destroyCallback'](),this['_isnObserver']&&(this['_observed']['forEach'](_0x159348=>{this['_isnObserver']['unobserve'](_0x159348);}),this['_isnObserver']=null),Data['deleteCtx'](this);}static get['observedAttributes'](){return Object['keys'](_0x3f8242);}['attributeChangedCallback'](_0x2da22c,_0x481dbd,_0x12cb02){window['setTimeout'](()=>{this['$'][_0x422c12+_0x2da22c]=_0x12cb02;});}}class _0x27ae0f extends _0x28aac2{['_img']=new Image();['_imgPreview']=new Image();['_fmtAbs'](_0x4f9c6a){return!_0x4f9c6a['includes']('//')&&!_0x28c32e&&(_0x4f9c6a=new URL(_0x4f9c6a,document['baseURI'])['href']),_0x4f9c6a;}['_validateSize'](_0x390ad0){if(''!==_0x390ad0?.['trim']()){let _0x5bcebc=_0x390ad0['match'](/\d+/)[0x0],_0x47a7f9=_0x390ad0['match'](/[a-zA-Z]+/)[0x0];const _0x129e70=parseInt(_0x5bcebc,0xa);if(Number(_0x129e70)>_0x22ce10&&this['hasFormatJPG'])return _0x22ce10+_0x47a7f9;if(Number(_0x129e70)>_0x160ec6&&!this['hasFormatJPG'])return _0x160ec6+_0x47a7f9;}return _0x390ad0;}['_getCdnModifiers'](_0x2e040f,_0x1247c2){const _0x53e5b7={'format':this['$$']('format'),'quality':this['$$']('quality'),'resize':this['_validateSize'](_0x2e040f),'blur':_0x1247c2,'cdn-operations':this['$$']('cdn-operations'),'analytics':this['analyticsParams']()};return createCdnUrlModifiers(...parseObjectToString(_0x53e5b7));}['_getUrlBase'](_0x2b6e26='',_0xed2881=''){if(this['$$']('src')['startsWith']('data:')||this['$$']('src')['startsWith']('blob:'))return this['$$']('src');if(_0x28c32e&&this['$$']('src')&&!this['$$']('src')['includes']('//'))return this['_proxyUrl'](this['$$']('src'));let _0x55faeb=this['_getCdnModifiers'](_0x2b6e26,_0xed2881);return this['$$']('src')['startsWith'](this['$$']('cdn-cname'))?createCdnUrl(this['$$']('src'),_0x55faeb):this['$$']('cdn-cname')&&this['$$']('uuid')||this['$$']('uuid')?this['_proxyUrl'](createCdnUrl(createOriginalUrl(this['$$']('cdn-cname'),this['$$']('uuid')),_0x55faeb)):this['$$']('proxy-cname')?this['_proxyUrl'](createCdnUrl(this['$$']('proxy-cname'),_0x55faeb,this['_fmtAbs'](this['$$']('src')))):this['$$']('pubkey')?this['_proxyUrl'](createCdnUrl('https://'+this['$$']('pubkey')+'.ucr.io/',_0x55faeb,this['_fmtAbs'](this['$$']('src')))):void 0x0;}['_proxyUrl'](_0x25fde9){return this['$$']('secure-delivery-proxy')?applyTemplateData(this['$$']('secure-delivery-proxy'),{'previewUrl':_0x25fde9},{'transform':_0x1727ac=>window['encodeURIComponent'](_0x1727ac)}):_0x25fde9;}['_getElSize'](_0xfc576a,_0x5dfb86=0x1,_0x46d708=!0x0){let _0x1ace1c=_0xfc576a['getBoundingClientRect'](),_0x161253=_0x5dfb86*Math['round'](_0x1ace1c['width']),_0x285711=_0x46d708?'':_0x5dfb86*Math['round'](_0x1ace1c['height']);return _0x161253||_0x285711?(_0x161253||'')+'x'+(_0x285711||''):null;}['_setupEventProxy'](_0x1e2191){let _0x4b54bf=_0x35ffcf=>{_0x35ffcf['stopPropagation']();let _0x1529ca=new Event(_0x35ffcf['type'],_0x35ffcf);this['dispatchEvent'](_0x1529ca);},_0x1f6825=['load','error'];for(let _0x3fd3be of _0x1f6825)_0x1e2191['addEventListener'](_0x3fd3be,_0x4b54bf);}get['img'](){return this['hasPreviewImage']||(this['_setupConfigForImage']({'elNode':this['_img']}),this['appendChild'](this['_img'])),this['_img'];}get['currentImg'](){return this['hasPreviewImage']?{'type':_0x141bbd['PREVIEW'],'img':this['_imgPreview']}:{'type':_0x141bbd['MAIN'],'img':this['img']};}get['hasPreviewImage'](){return this['$$']('is-preview-blur');}get['bgSelector'](){return this['$$']('is-background-for');}get['breakpoints'](){if(this['$$']('breakpoints')){const _0x2a49cc=stringToArray(this['$$']('breakpoints'));return _0x18150a(_0x2a49cc['map'](_0x1758e0=>parseInt(_0x1758e0,0xa)));}return null;}get['hasFormatJPG'](){return'jpeg'===this['$$']('format')['toLowerCase']();}['renderBg'](_0x565915){let _0x28384e=new Set();_0x28384e['add']('url(\x22'+this['_getUrlBase'](this['_getElSize'](_0x565915))+'\x22)\x201x'),this['$$']('hi-res-support')&&_0x28384e['add']('url(\x22'+this['_getUrlBase'](this['_getElSize'](_0x565915,_0x56d7cc))+'\x22)\x20'+_0x56d7cc+'x'),this['$$']('ultra-res-support')&&_0x28384e['add']('url(\x22'+this['_getUrlBase'](this['_getElSize'](_0x565915,_0x4be72f))+'\x22)\x20'+_0x4be72f+'x');let _0x206a5a='image-set('+[..._0x28384e]['join'](',\x20')+')';_0x565915['style']['setProperty']('background-image',_0x206a5a),_0x565915['style']['setProperty']('background-image','-webkit-'+_0x206a5a);}['getSrcset'](){let _0x23bdc0=new Set();return this['breakpoints']?this['breakpoints']['forEach'](_0x299c84=>{_0x23bdc0['add'](this['_getUrlBase'](_0x299c84+'x')+('\x20'+this['_validateSize'](_0x299c84+'w'))),this['$$']('hi-res-support')&&_0x23bdc0['add'](this['_getUrlBase'](_0x299c84*_0x56d7cc+'x')+('\x20'+this['_validateSize'](_0x299c84*_0x56d7cc+'w'))),this['$$']('ultra-res-support')&&_0x23bdc0['add'](this['_getUrlBase'](_0x299c84*_0x4be72f+'x')+('\x20'+this['_validateSize'](_0x299c84*_0x4be72f+'w')));}):(_0x23bdc0['add'](this['_getUrlBase'](this['_getElSize'](this['currentImg']['img']))+'\x201x'),this['$$']('hi-res-support')&&_0x23bdc0['add'](this['_getUrlBase'](this['_getElSize'](this['currentImg']['img'],0x2))+'\x202x'),this['$$']('ultra-res-support')&&_0x23bdc0['add'](this['_getUrlBase'](this['_getElSize'](this['currentImg']['img'],0x3))+'\x203x')),[..._0x23bdc0]['join']();}['getSrc'](){return this['_getUrlBase']();}get['srcUrlPreview'](){return this['_getUrlBase']('100x','100');}['renderBackground'](){[...document['querySelectorAll'](this['bgSelector'])]['forEach'](_0x295b49=>{this['$$']('intersection')?this['initIntersection'](_0x295b49,()=>{this['renderBg'](_0x295b49);}):this['renderBg'](_0x295b49);});}['_appendURL']({elNode:_0x3e07ff,src:_0xc1f2ef,srcset:_0xa2dadc}){_0xc1f2ef&&(_0x3e07ff['src']=_0xc1f2ef),_0xa2dadc&&(_0x3e07ff['srcset']=_0xa2dadc);}['_setupConfigForImage']({elNode:_0x5b1980}){this['_setupEventProxy'](_0x5b1980),this['initAttributes'](_0x5b1980);}['loaderImage']({src:_0x5e1dbc,srcset:_0x9aed98,elNode:_0xad0006}){return new Promise((_0x16401d,_0x279529)=>{this['_setupConfigForImage']({'elNode':_0xad0006}),_0xad0006['setAttribute'](_0x525aa6,''),_0xad0006['addEventListener']('load',()=>{_0xad0006['removeAttribute'](_0x525aa6),_0x16401d(_0xad0006);}),_0xad0006['addEventListener']('error',()=>{_0x279529(!0x1);}),this['_appendURL']({'elNode':_0xad0006,'src':_0x5e1dbc,'srcset':_0x9aed98});});}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(_0x242727){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(_0x1496ed){this['hasPreviewImage']&&await this['_imgPreview']?.['remove'](),this['appendChild'](this['_img']);}}['init'](){this['bgSelector']?this['renderBackground']():this['renderImage']();}}class _0x1b4b6b extends _0x27ae0f{['initCallback'](){super['initCallback'](),this['sub$$']('src',()=>{this['init']();}),this['sub$$']('uuid',()=>{this['init']();}),this['sub$$']('lazy',_0x343519=>{this['$$']('is-background-for')||this['$$']('is-preview-blur')||(this['img']['loading']=_0x343519?'lazy':'eager');});}}class SimpleBtn extends _0x4d0a24{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',_0x15ddd1=>{void 0x0!==_0x15ddd1&&(this['$']['withDropZone']=_0x4c1e70(_0x15ddd1));}),this['subConfigValue']('multiple',_0x140270=>{this['$']['button-text']=_0x140270?'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});class StartFrom extends ActivityBlock{['historyTracked']=!0x0;['activityType']=ActivityBlock['activities']['START_FROM'];['initCallback'](){super['initCallback'](),this['registerActivity'](this['activityType']);}}function checkIsDirectory(_0x5923ce){return new Promise(_0x1a73b8=>{'function'!=typeof window['FileReader']&&_0x1a73b8(!0x1);try{let _0x4c65da=new FileReader();_0x4c65da['onerror']=()=>{_0x1a73b8(!0x0);};let _0x7cf5b2=_0x36398c=>{'loadend'!==_0x36398c['type']&&_0x4c65da['abort'](),_0x1a73b8(!0x1);};_0x4c65da['onloadend']=_0x7cf5b2,_0x4c65da['onprogress']=_0x7cf5b2,_0x4c65da['readAsDataURL'](_0x5923ce);}catch(_0x4481a5){_0x1a73b8(!0x1);}});}function readEntryContentAsync(_0xef47af,_0x344921){return new Promise(_0x559c57=>{let _0x533c65=0x0;const _0x39bf7e=[],_0x5b33c7=_0x1dd682=>{_0x1dd682||(console['warn']('Unexpectedly\x20received\x20empty\x20content\x20entry',{'scope':'drag-and-drop'}),_0x559c57(null)),_0x1dd682['isFile']?(_0x533c65++,_0x1dd682['file'](_0x114482=>{_0x533c65--;const _0x274c7a=new File([_0x114482],_0x114482['name'],{'type':_0x114482['type']||_0x344921});_0x39bf7e['push']({'type':'file','file':_0x274c7a,'fullPath':_0x1dd682['fullPath']}),0x0===_0x533c65&&_0x559c57(_0x39bf7e);})):_0x1dd682['isDirectory']&&_0x35ad44(_0x1dd682['createReader']());};let _0x35ad44=_0x18afec=>{_0x533c65++,_0x18afec['readEntries'](_0xd42744=>{_0x533c65--;for(let _0x38aeb3 of _0xd42744)_0x5b33c7(_0x38aeb3);0x0===_0x533c65&&_0x559c57(_0x39bf7e);});};_0x5b33c7(_0xef47af);});}function getDropItems(_0x31e7f8){const _0x1cc03f=[],_0x24b71e=[];for(let _0x5c8a8a=0x0;_0x5c8a8a<_0x31e7f8['items']['length'];_0x5c8a8a++){let _0xd01034=_0x31e7f8['items'][_0x5c8a8a];if(_0xd01034){if('file'===_0xd01034['kind']){const _0x580704=_0xd01034['type'];if('function'==typeof _0xd01034['webkitGetAsEntry']||'function'==typeof _0xd01034['getAsEntry']){let _0x23aa00='function'==typeof _0xd01034['webkitGetAsEntry']?_0xd01034['webkitGetAsEntry']():_0xd01034['getAsEntry']();_0x24b71e['push'](readEntryContentAsync(_0x23aa00,_0x580704)['then'](_0x1b9027=>{_0x1b9027&&_0x1cc03f['push'](..._0x1b9027);}));continue;}const _0x5770c1=_0xd01034['getAsFile']();_0x5770c1&&_0x24b71e['push'](checkIsDirectory(_0x5770c1)['then'](_0x5b6244=>{_0x5b6244||_0x1cc03f['push']({'type':'file','file':_0x5770c1});}));}else'string'===_0xd01034['kind']&&_0xd01034['type']['match']('^text/uri-list')&&_0x24b71e['push'](new Promise(_0x211f4e=>{_0xd01034['getAsString'](_0x5a6785=>{_0x1cc03f['push']({'type':'url','url':_0x5a6785}),_0x211f4e(void 0x0);});}));}}return Promise['all'](_0x24b71e)['then'](()=>_0x1cc03f);}StartFrom['template']='\x20<div\x20class=\x22uc-content\x22><slot></slot></div>\x20';const DropzoneState={'ACTIVE':0x0,'INACTIVE':0x1,'NEAR':0x2,'OVER':0x3};let _0x3f3e6e=['focus'],_0x214965=0x64,nearnessRegistry=new Map();function distance(_0x147a7e,_0x3a2ce0){let _0x59cf4a=Math['max'](Math['min'](_0x147a7e[0x0],_0x3a2ce0['x']+_0x3a2ce0['width']),_0x3a2ce0['x']),_0x5442e4=Math['max'](Math['min'](_0x147a7e[0x1],_0x3a2ce0['y']+_0x3a2ce0['height']),_0x3a2ce0['y']);return Math['sqrt']((_0x147a7e[0x0]-_0x59cf4a)*(_0x147a7e[0x0]-_0x59cf4a)+(_0x147a7e[0x1]-_0x5442e4)*(_0x147a7e[0x1]-_0x5442e4));}function _0x1e9697(_0x24a2bc){let _0x4a4c3e=0x0,_0x39fa26=document['body'],_0x5ef183=new Set(),_0xdccf7b=DropzoneState['INACTIVE'],_0x28b093=_0x2ebeb3=>{_0x24a2bc['shouldIgnore']()&&_0x2ebeb3!==DropzoneState['INACTIVE']||(_0xdccf7b!==_0x2ebeb3&&_0x5ef183['forEach'](_0x4b9121=>_0x4b9121(_0x2ebeb3)),_0xdccf7b=_0x2ebeb3);},_0x4be89a=()=>_0x4a4c3e>0x0;var _0x2c36d2;_0x2c36d2=_0x401994=>_0x24a2bc['onChange'](_0x401994),_0x5ef183['add'](_0x2c36d2);let _0x379236=()=>{_0x4a4c3e=0x0,_0x28b093(DropzoneState['INACTIVE']);},_0x4a08ef=()=>{_0x4a4c3e+=0x1,_0xdccf7b===DropzoneState['INACTIVE']&&_0x28b093(DropzoneState['ACTIVE']);},_0x2a9efb=()=>{_0x4a4c3e-=0x1,_0x4be89a()||_0x28b093(DropzoneState['INACTIVE']);},_0x34185a=_0x39938d=>{_0x39938d['preventDefault'](),_0x4a4c3e=0x0,_0x28b093(DropzoneState['INACTIVE']);},_0x4487f9=_0x614b97=>{if(_0x24a2bc['shouldIgnore']())return;_0x4be89a()||(_0x4a4c3e+=0x1);let _0x164255=[_0x614b97['x'],_0x614b97['y']],_0x24e7a4=_0x24a2bc['element']['getBoundingClientRect'](),_0x9aa4e=Math['floor'](distance(_0x164255,_0x24e7a4)),_0x512b86=_0x9aa4e<_0x214965,_0xfac071=_0x614b97['composedPath']()['includes'](_0x24a2bc['element']);nearnessRegistry['set'](_0x24a2bc['element'],_0x9aa4e);let _0x23e1eb=Math['min'](...nearnessRegistry['values']())===_0x9aa4e;_0xfac071&&_0x23e1eb?(_0x614b97['preventDefault'](),_0x28b093(DropzoneState['OVER'])):_0x28b093(_0x512b86&&_0x23e1eb?DropzoneState['NEAR']:DropzoneState['ACTIVE']);},_0x2c2842=async _0x3159bf=>{if(_0x24a2bc['shouldIgnore']())return;_0x3159bf['preventDefault']();let _0x195444=await getDropItems(_0x3159bf['dataTransfer']);_0x24a2bc['onItems'](_0x195444),_0x28b093(DropzoneState['INACTIVE']);};return _0x39fa26['addEventListener']('drop',_0x34185a),_0x39fa26['addEventListener']('dragleave',_0x2a9efb),_0x39fa26['addEventListener']('dragenter',_0x4a08ef),_0x39fa26['addEventListener']('dragover',_0x4487f9),_0x24a2bc['element']['addEventListener']('drop',_0x2c2842),_0x3f3e6e['forEach'](_0x493d08=>{window['addEventListener'](_0x493d08,_0x379236);}),()=>{nearnessRegistry['delete'](_0x24a2bc['element']),_0x39fa26['removeEventListener']('drop',_0x34185a),_0x39fa26['removeEventListener']('dragleave',_0x2a9efb),_0x39fa26['removeEventListener']('dragenter',_0x4a08ef),_0x39fa26['removeEventListener']('dragover',_0x4487f9),_0x24a2bc['element']['removeEventListener']('drop',_0x2c2842),_0x3f3e6e['forEach'](_0xd5b43f=>{window['removeEventListener'](_0xd5b43f,_0x379236);});};}const _0x1042ce='uc-drop-area',_0x3d0770=_0x1042ce+'/registry';class _0x13065d extends _0x4d0a24{static ['styleAttrs']=[...super['styleAttrs'],'uc-drop-area'];constructor(){super(),this['init$']={...this['init$'],'state':DropzoneState['INACTIVE'],'withIcon':!0x1,'isClickable':!0x1,'isFullscreen':!0x1,'isEnabled':!0x0,'isVisible':!0x0,'isInitFlow':!0x1,'text':'',[_0x3d0770]:null};}['isActive'](){if(!this['$']['isEnabled'])return!0x1;const _0xda6048=this['getBoundingClientRect'](),_0x4c63b1=_0xda6048['width']>0x0&&_0xda6048['height']>0x0,_0x31b796=_0xda6048['top']>=0x0&&_0xda6048['left']>=0x0&&_0xda6048['bottom']<=(window['innerHeight']||document['documentElement']['clientHeight'])&&_0xda6048['right']<=(window['innerWidth']||document['documentElement']['clientWidth']),_0x3d3db=window['getComputedStyle'](this),_0x26f263='hidden'!==_0x3d3db['visibility']&&'none'!==_0x3d3db['display'];return _0x4c63b1&&_0x26f263&&_0x31b796;}['initCallback'](){super['initCallback'](),this['bindL10n']('text',()=>this['l10n']('drop-files-here')),this['$'][_0x3d0770]||(this['$'][_0x3d0770]=new Set()),this['$'][_0x3d0770]['add'](this),this['defineAccessor']('disabled',_0x424131=>{this['set$']({'isEnabled':!_0x4c1e70(_0x424131)});}),this['defineAccessor']('clickable',_0xe30df8=>{this['set$']({'isClickable':_0x4c1e70(_0xe30df8)});}),this['defineAccessor']('initflow',_0x24eeeb=>{this['set$']({'isInitFlow':_0x4c1e70(_0x24eeeb)});}),this['defineAccessor']('with-icon',_0x324697=>{this['set$']({'withIcon':_0x4c1e70(_0x324697)});}),this['defineAccessor']('fullscreen',_0x189d12=>{this['set$']({'isFullscreen':_0x4c1e70(_0x189d12)});}),this['defineAccessor']('text',_0x256725=>{'string'==typeof _0x256725?this['bindL10n']('text',()=>this['l10n'](_0x256725)||_0x256725):this['bindL10n']('text',()=>this['l10n']('drop-files-here'));}),this['_destroyDropzone']=_0x1e9697({'element':this,'shouldIgnore':()=>this['_shouldIgnore'](),'onChange':_0x4dfdd4=>{this['$']['state']=_0x4dfdd4;},'onItems':_0x32cec4=>{_0x32cec4['length']&&(_0x32cec4['forEach'](_0x4375e3=>{'url'===_0x4375e3['type']?this['api']['addFileFromUrl'](_0x4375e3['url'],{'source':_0x40f277['DROP_AREA']}):'file'===_0x4375e3['type']&&this['api']['addFileFromObject'](_0x4375e3['file'],{'source':_0x40f277['DROP_AREA'],'fullPath':_0x4375e3['fullPath']});}),this['uploadCollection']['size']&&(this['modalManager']['open'](ActivityBlock['activities']['UPLOAD_LIST']),this['set$']({'*currentActivity':ActivityBlock['activities']['UPLOAD_LIST']})));}});let _0x4d080e=this['ref']['content-wrapper'];_0x4d080e&&(this['_destroyContentWrapperDropzone']=_0x1e9697({'element':_0x4d080e,'onChange':_0x5c35c5=>{const _0x4acabb=Object['entries'](DropzoneState)['find'](([,_0xb7f39b])=>_0xb7f39b===_0x5c35c5)?.[0x0]['toLowerCase']();_0x4acabb&&_0x4d080e['setAttribute']('drag-state',_0x4acabb);},'onItems':()=>{},'shouldIgnore':()=>this['_shouldIgnore']()})),this['sub']('state',_0x39003a=>{const _0x2c0d71=Object['entries'](DropzoneState)['find'](([,_0x4af364])=>_0x4af364===_0x39003a)?.[0x0]['toLowerCase']();_0x2c0d71&&this['setAttribute']('drag-state',_0x2c0d71);}),this['subConfigValue']('sourceList',_0xa6ab62=>{const _0x7ba9ff=stringToArray(_0xa6ab62);this['$']['isEnabled']=_0x7ba9ff['includes'](_0x40f277['LOCAL']),this['$']['isVisible']=this['$']['isEnabled']||!this['querySelector']('[data-default-slot]');}),this['sub']('isVisible',_0x9ffbde=>{this['toggleAttribute']('hidden',!_0x9ffbde);}),this['sub']('isClickable',_0x56208f=>{this['toggleAttribute']('clickable',_0x56208f);}),this['$']['isClickable']&&(this['_onAreaClicked']=_0x2d52e2=>{if('keydown'===_0x2d52e2['type']){if('Space'===_0x2d52e2['code']||'Enter'===_0x2d52e2['code']){if(this['$']['isInitFlow'])return void this['api']['initFlow']();this['api']['openSystemDialog']();}}else{if('click'===_0x2d52e2['type']){if(this['$']['isInitFlow'])return void this['api']['initFlow']();this['api']['openSystemDialog']();}}},this['addEventListener']('keydown',this['_onAreaClicked']),this['addEventListener']('click',this['_onAreaClicked']));}['_shouldIgnore'](){if(!this['$']['isEnabled'])return!0x0;if(!this['_couldHandleFiles']())return!0x0;if(!this['$']['isFullscreen'])return!0x1;return[...this['$'][_0x3d0770]]['filter'](_0x50ad5a=>_0x50ad5a!==this)['filter'](_0x554c3f=>_0x554c3f['isActive']())['length']>0x0;}['_couldHandleFiles'](){let _0x100330=this['cfg']['multiple'],_0x19d457=this['cfg']['multipleMax'],_0x2f2dad=this['uploadCollection']['size'];return!(_0x100330&&_0x19d457&&_0x2f2dad>=_0x19d457)&&!(!_0x100330&&_0x2f2dad>0x0);}['destroyCallback'](){super['destroyCallback']();const _0x4e1a81=this['$'][_0x3d0770];_0x4e1a81&&(_0x4e1a81['delete'](this),0x0===_0x4e1a81['size']&&Data['deleteCtx'](_0x1042ce)),this['_destroyDropzone']?.(),this['_destroyContentWrapperDropzone']?.(),this['_onAreaClicked']&&(this['removeEventListener']('keydown',this['_onAreaClicked']),this['removeEventListener']('click',this['_onAreaClicked']));}}_0x13065d['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',_0x13065d['bindAttributes']({'with-icon':null,'clickable':null,'text':null,'fullscreen':null,'disabled':null,'initflow':null});const _0x31d5a3='src-type-';class SourceBtn extends _0x4d0a24{['couldBeCtxOwner']=!0x0;['type']=void 0x0;['_registeredTypes']={};constructor(){super(),this['init$']={...this['init$'],'iconName':'default','src-type':''};}['initTypes'](){this['registerType']({'type':_0x40f277['LOCAL'],'activate':()=>(this['api']['openSystemDialog'](),!0x1)}),this['registerType']({'type':_0x40f277['URL'],'activity':ActivityBlock['activities']['URL'],'textKey':'from-url'}),this['registerType']({'type':_0x40f277['CAMERA'],'activity':ActivityBlock['activities']['CAMERA'],'activate':()=>{const _0x3e50f2=browserFeatures['htmlMediaCapture'];return _0x3e50f2&&this['api']['openSystemDialog']({'captureCamera':!0x0}),!_0x3e50f2;}}),this['registerType']({'type':'draw','activity':ActivityBlock['activities']['DRAW'],'icon':'edit-draw'});for(let _0x500ef1 of Object['values'](_0x443c2e))this['registerType']({'type':_0x500ef1,'activity':ActivityBlock['activities']['CAMERA'],'activate':()=>{const _0x5045ec=browserFeatures['htmlMediaCapture'];return _0x5045ec&&this['api']['openSystemDialog']({'captureCamera':!0x0,'modeCamera':'mobile-photo-camera'===_0x500ef1?_0x1e0ef4['PHOTO']:_0x1e0ef4['VIDEO']}),!_0x5045ec;}});for(let _0x301022 of Object['values'](ExternalUploadSource))this['registerType']({'type':_0x301022,'activity':ActivityBlock['activities']['EXTERNAL'],'activityParams':{'externalSourceType':_0x301022}});}['initCallback'](){super['initCallback'](),this['initTypes'](),this['defineAccessor']('type',_0xc338da=>{_0xc338da&&this['applyType'](_0xc338da);});}['registerType'](_0x36b6dd){this['_registeredTypes'][_0x36b6dd['type']]=_0x36b6dd;}['getType'](_0x57375d){return this['_registeredTypes'][_0x57375d];}['activate'](){if(!this['type'])return;const _0x49e878=this['_registeredTypes'][this['type']],{activity:_0x26bbcc,activate:_0x42e66d,activityParams:_0x571df0={}}=_0x49e878;(_0x42e66d?_0x42e66d():!!_0x26bbcc)&&(this['modalManager']['open'](_0x26bbcc),this['set$']({'*currentActivityParams':_0x571df0,'*currentActivity':_0x26bbcc}));}['applyType'](_0x2e4be1){const _0x3c300b=this['_registeredTypes'][_0x2e4be1];if(!_0x3c300b)return void console['warn']('Unsupported\x20source\x20type:\x20'+_0x2e4be1);const {textKey:_0x186853=_0x2e4be1,icon:_0x580e52=_0x2e4be1}=_0x3c300b;this['$']['src-type']=''+_0x31d5a3+_0x186853,this['$']['iconName']=_0x580e52,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});class SourceList extends _0x337de7{['initCallback'](){super['initCallback'](),this['subConfigValue']('sourceList',_0xc3f49d=>{let _0x2923f9=stringToArray(_0xc3f49d),_0x374e58='';_0x2923f9['forEach'](_0x1e5251=>{'instagram'!==_0x1e5251?'camera'===_0x1e5251&&browserFeatures['htmlMediaCapture']?this['subConfigValue']('cameraModes',_0x39a327=>{const _0x35106f=_0x3c7d14(_0x39a327);_0x35106f['forEach'](_0x5519be=>{_0x374e58+='<uc-source-btn\x20role=\x22listitem\x22\x20type=\x22mobile-'+_0x5519be+'-camera\x22></uc-source-btn>';}),0x0===_0x35106f['length']&&(_0x374e58+='<uc-source-btn\x20role=\x22listitem\x22\x20type=\x22mobile-photo-camera\x22></uc-source-btn>');}):_0x374e58+='<uc-source-btn\x20role=\x22listitem\x22\x20type=\x22'+_0x1e5251+'\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']=_0x374e58:this['outerHTML']=_0x374e58;});}}const _0x33fa4e=()=>{const _0x5eb414=[];return{'stack':_0x5eb414,'promiseReadJpegChunks':_0x656da8=>new Promise((_0x1a766b,_0x251f5d)=>{let _0x4f2cb6=0x2;const _0x4d2c44=(_0x3f9898,_0x4c45c5)=>{const _0x265c19=new FileReader();_0x265c19['addEventListener']('load',()=>{_0x4c45c5(new DataView(_0x265c19['result']));}),_0x265c19['addEventListener']('error',_0x149d33=>{_0x251f5d('Reader\x20error:\x20'+_0x149d33);}),_0x265c19['readAsArrayBuffer'](_0x3f9898);},_0x3a7f24=()=>_0x4d2c44(_0x656da8['slice'](_0x4f2cb6,_0x4f2cb6+0x80),_0x2de235=>{let _0x29c2d9,_0x35b1fc,_0x3f695c;for(_0x29c2d9=_0x35b1fc=0x0,_0x3f695c=_0x2de235['byteLength'];_0x3f695c>=0x0?_0x35b1fc<_0x3f695c:_0x35b1fc>_0x3f695c;_0x29c2d9=_0x3f695c>=0x0?++_0x35b1fc:--_0x35b1fc)if(0xff===_0x2de235['getUint8'](_0x29c2d9)){_0x4f2cb6+=_0x29c2d9;break;}_0x4d6220();}),_0x4d6220=()=>{const _0x4d8406=_0x4f2cb6;return _0x4d2c44(_0x656da8['slice'](_0x4f2cb6,_0x4f2cb6+=0x4),_0x666f94=>{if(0x4!==_0x666f94['byteLength']||0xff!==_0x666f94['getUint8'](0x0))return void _0x251f5d('Corrupted');const _0x3d799d=_0x666f94['getUint8'](0x1);if(0xda===_0x3d799d)return void _0x1a766b(!0x0);const _0x33a060=_0x666f94['getUint16'](0x2)-0x2;return _0x4d2c44(_0x656da8['slice'](_0x4f2cb6,_0x4f2cb6+=_0x33a060),_0xa2eedd=>{_0xa2eedd['byteLength']===_0x33a060?(_0x5eb414['push']({'startPos':_0x4d8406,'length':_0x33a060,'marker':_0x3d799d,'view':_0xa2eedd}),_0x3a7f24()):_0x251f5d('Corrupted');});});};FileReader&&DataView||_0x251f5d('Not\x20Support'),_0x4d2c44(_0x656da8['slice'](0x0,0x2),_0x5c68e9=>{0xffd8!==_0x5c68e9['getUint16'](0x0)&&_0x251f5d('Not\x20jpeg'),_0x3a7f24();});})};},getIccProfile=async _0x1a8108=>{const _0x7885e1=[],{promiseReadJpegChunks:_0x523af7,stack:_0x1f284f}=_0x33fa4e();return await _0x523af7(_0x1a8108),_0x1f284f['forEach'](({marker:_0x3b4cc7,view:_0x266c70})=>{0xe2===_0x3b4cc7&&0x4943435f===_0x266c70['getUint32'](0x0)&&0x50524f46===_0x266c70['getUint32'](0x4)&&0x494c4500===_0x266c70['getUint32'](0x8)&&_0x7885e1['push'](_0x266c70);}),_0x7885e1;},_0x55678f=async(_0x256cb8,_0x14ac86,_0x409074)=>{{const _0xbac8ba=[],_0x2cdd4d=[],{promiseReadJpegChunks:_0x781d26,stack:_0x333df7}=_0x33fa4e();await _0x781d26(_0x256cb8),_0x333df7['forEach'](_0x416a98=>{if(_0x416a98['marker']===_0x14ac86)return _0xbac8ba['push'](_0x416a98['startPos']),_0x2cdd4d['push'](_0x416a98['length']);});const _0x37a460=[_0x256cb8['slice'](0x0,0x2)];for(const _0x3a528b of _0x409074){const _0x100412=new DataView(new ArrayBuffer(0x4));_0x100412['setUint16'](0x0,0xff00+_0x14ac86),_0x100412['setUint16'](0x2,_0x3a528b['byteLength']+0x2),_0x37a460['push'](_0x100412['buffer']),_0x37a460['push'](_0x3a528b);}let _0x3b4a05=0x2;for(let _0x593f33=0x0;_0x593f33<_0xbac8ba['length'];_0x593f33++)_0xbac8ba[_0x593f33]>_0x3b4a05&&_0x37a460['push'](_0x256cb8['slice'](_0x3b4a05,_0xbac8ba[_0x593f33])),_0x3b4a05=_0xbac8ba[_0x593f33]+_0x2cdd4d[_0x593f33]+0x4;return _0x37a460['push'](_0x256cb8['slice'](_0x3b4a05,_0x256cb8['size'])),new Blob(_0x37a460,{'type':_0x256cb8['type']});}},_0x67a814=0xe2,_0x179c85=(_0x5b1c71,_0x423793)=>_0x55678f(_0x5b1c71,_0x67a814,_0x423793['map'](_0x23e27b=>_0x23e27b['buffer'])),stripIccProfile=async _0xb235e=>{try{return await _0x179c85(_0xb235e,[]);}catch(_0x3a150c){throw new Error('Failed\x20to\x20strip\x20ICC\x20profile:\x20'+_0x3a150c);}},_0x33ed70=(_0x3edbf4,_0x28ec43,_0x937315)=>new Promise((_0x171da9,_0x85244b)=>{_0x3edbf4['toBlob'](_0x1a5f64=>{_0x1a5f64?_0x171da9(_0x1a5f64):_0x85244b('Failed\x20to\x20convert\x20canvas\x20to\x20blob');},_0x28ec43,_0x937315),_0x3edbf4['width']=_0x3edbf4['height']=0x1;}),createCanvas=()=>{const _0x5c1e90=document['createElement']('canvas'),_0x11fcff=_0x5c1e90['getContext']('2d');return{'canvas':_0x5c1e90,'ctx':_0x11fcff};},_0x12658c=_0x3983aa=>{const {ctx:_0x44fa48,canvas:_0x10270f}=createCanvas();_0x10270f['width']=_0x10270f['height']=0x32,_0x44fa48['drawImage'](_0x3983aa,0x0,0x0,0x32,0x32);const _0x486a38=_0x44fa48['getImageData'](0x0,0x0,0x32,0x32)['data'];_0x10270f['width']=_0x10270f['height']=0x1;for(let _0x2e3c64=0x3;_0x2e3c64<_0x486a38['length'];_0x2e3c64+=0x4)if(_0x486a38[_0x2e3c64]<0xfe)return!0x0;return!0x1;},getExif=async _0x5bea27=>{let _0x36f09d=null;const {promiseReadJpegChunks:_0xb826d8,stack:_0x4e786d}=_0x33fa4e();return await _0xb826d8(_0x5bea27),_0x4e786d['forEach'](({marker:_0x398cbb,view:_0x5c2922})=>{!_0x36f09d&&0xe1===_0x398cbb&&_0x5c2922['byteLength']>=0xe&&0x45786966===_0x5c2922['getUint32'](0x0)&&0x0===_0x5c2922['getUint16'](0x4)&&(_0x36f09d=_0x5c2922);}),_0x36f09d;},_0x2a194c='data:image/jpg;base64,/9j/4AAQSkZJRgABAQEASABIAAD/4QA6RXhpZgAATU0AKgAAAAgAAwESAAMAAAABAAYAAAEoAAMAAAABAAIAAAITAAMAAAABAAEAAAAAAAD/2wBDAP//////////////////////////////////////////////////////////////////////////////////////wAALCAABAAIBASIA/8QAJgABAAAAAAAAAAAAAAAAAAAAAxABAAAAAAAAAAAAAAAAAAAAAP/aAAgBAQAAPwBH/9k=';let _0xedf96;const isBrowserApplyExifOrientation=()=>new Promise(_0x1a75da=>{if(void 0x0!==_0xedf96)_0x1a75da(_0xedf96);else{const _0x243b11=new Image();_0x243b11['addEventListener']('load',()=>{_0xedf96=_0x243b11['naturalWidth']<_0x243b11['naturalHeight'],_0x243b11['src']='//:0',_0x1a75da(_0xedf96);}),_0x243b11['src']=_0x2a194c;}}),findExifOrientation=(_0x5db062,_0x5e1d1f)=>{let _0x3c0272,_0x39b0b3,_0x2fe08d,_0x387871;if(!_0x5db062||_0x5db062['byteLength']<0xe||0x45786966!==_0x5db062['getUint32'](0x0)||0x0!==_0x5db062['getUint16'](0x4))return;if(0x4949===_0x5db062['getUint16'](0x6))_0x39b0b3=!0x0;else{if(0x4d4d!==_0x5db062['getUint16'](0x6))return;_0x39b0b3=!0x1;}if(0x2a!==_0x5db062['getUint16'](0x8,_0x39b0b3))return;_0x2fe08d=0x8+_0x5db062['getUint32'](0xa,_0x39b0b3);for(_0x3c0272=0x0,_0x387871=_0x5db062['getUint16'](_0x2fe08d-0x2,_0x39b0b3);_0x387871>=0x0?_0x3c0272<_0x387871:_0x3c0272>_0x387871;_0x387871>=0x0?++_0x3c0272:--_0x3c0272){if(_0x5db062['byteLength']<_0x2fe08d+0xa)return;0x112===_0x5db062['getUint16'](_0x2fe08d,_0x39b0b3)&&_0x5e1d1f(_0x2fe08d+0x8,_0x39b0b3),_0x2fe08d+=0xc;}},setExifOrientation=(_0x2a5869,_0x25c44f)=>{findExifOrientation(_0x2a5869,(_0x140693,_0x21093e)=>_0x2a5869['setUint16'](_0x140693,_0x25c44f,_0x21093e));},_0x7b016=async(_0x446d80,_0x7c023b,_0x3569e4)=>(_0x3569e4&&setExifOrientation(_0x7c023b,0x1),_0x55678f(_0x446d80,0xe1,[_0x7c023b['buffer']])),_0x56268e=(_0x44f191,_0x2d6d4e)=>new Promise((_0x31878c,_0x59d3a9)=>{_0x2d6d4e&&(_0x44f191['src']=_0x2d6d4e),_0x44f191['complete']?_0x31878c(_0x44f191):(_0x44f191['addEventListener']('load',()=>{_0x31878c(_0x44f191);}),_0x44f191['addEventListener']('error',()=>{_0x59d3a9(new Error('Failed\x20to\x20load\x20image.\x20Probably\x20not\x20an\x20image.'));}));}),_0x272111=_0x5228c5=>_0x56268e(new Image(),_0x5228c5),_0x498774=[0x1,0x3],_0x5293f6=[0xc0,0xc1,0xc2,0xc3,0xc5,0xc6,0xc7,0xc9,0xca,0xcb,0xcd,0xce,0xcf],_0x185f68={'squareSide':[Math['floor'](Math['sqrt'](0x4c4b40)),0x1000,0x2000,0x2bac,0x2a54,0x2c8a,0x376c,0x4000],'dimension':[0x1000,0x2000,0x4000,0x7fff,0xffff]},_0x57fb65=async _0x5b586b=>{let _0x39c7fd=!0x1;const {promiseReadJpegChunks:_0x2200bc,stack:_0x9aed9f}=_0x33fa4e();return await _0x2200bc(_0x5b586b)['then'](()=>(_0x9aed9f['forEach'](({marker:_0x635dad,view:_0x590809})=>{if(!_0x39c7fd&&_0x5293f6['indexOf'](_0x635dad)>=0x0){const _0x522617=_0x590809['getUint8'](0x5);_0x498774['indexOf'](_0x522617)<0x0&&(_0x39c7fd=!0x0);}}),_0x39c7fd))['catch'](()=>_0x39c7fd);},_0x1e8408=(_0x4596ef,_0x508970)=>{const _0x4a7be6={};return(..._0x493023)=>{const _0x190068=_0x508970(_0x493023,_0x4a7be6);return _0x190068 in _0x4a7be6?_0x4a7be6[_0x190068]:_0x4a7be6[_0x190068]=_0x4596ef(..._0x493023);};},_0x327493=(_0x4fcb12,_0x4fc924)=>{const [_0x98f08d]=_0x4fcb12,_0x4d99ca=Object['keys'](_0x4fc924)['map'](_0x2e94e5=>parseInt(_0x2e94e5,0xa))['sort']((_0x21cfa2,_0x2291ae)=>_0x21cfa2-_0x2291ae);for(let _0x2bf6c1=0x0;_0x2bf6c1<_0x4d99ca['length'];_0x2bf6c1++){const _0x2f9169=_0x4d99ca[_0x2bf6c1],_0x1f56bc=!!_0x4fc924[_0x2f9169];if(_0x2f9169>_0x98f08d&&_0x1f56bc)return _0x2f9169;if(_0x2f9169<_0x98f08d&&!_0x1f56bc)return _0x2f9169;}return _0x98f08d;},TestPixel={'R':0x37,'G':0x6e,'B':0xa5,'A':0xff},_0x23d713='rgba('+TestPixel['R']+',\x20'+TestPixel['G']+',\x20'+TestPixel['B']+',\x20'+TestPixel['A']/0xff+')',canvasTest=(_0x2f0e4e,_0x2a21ae)=>{try{const _0x150e88=[_0x2f0e4e-0x1,_0x2a21ae-0x1,0x1,0x1],{canvas:_0x6c8670,ctx:_0xf61dbd}=createCanvas();_0x6c8670['width']=0x1,_0x6c8670['height']=0x1;const {canvas:_0x14087a,ctx:_0x54b35c}=createCanvas();_0x14087a['width']=_0x2f0e4e,_0x14087a['height']=_0x2a21ae,_0x54b35c&&(_0x54b35c['fillStyle']=_0x23d713,_0x54b35c['fillRect'](..._0x150e88),_0xf61dbd['drawImage'](_0x14087a,_0x2f0e4e-0x1,_0x2a21ae-0x1,0x1,0x1,0x0,0x0,0x1,0x1));const _0xaeabdd=_0xf61dbd&&_0xf61dbd['getImageData'](0x0,0x0,0x1,0x1)['data'];let _0xbd0683=!0x1;return _0xaeabdd&&(_0xbd0683=_0xaeabdd[0x0]===TestPixel['R']&&_0xaeabdd[0x1]===TestPixel['G']&&_0xaeabdd[0x2]===TestPixel['B']&&_0xaeabdd[0x3]===TestPixel['A']),_0x14087a['width']=_0x14087a['height']=0x1,_0xbd0683;}catch(_0xc4e3c7){return console['error']('Failed\x20to\x20test\x20for\x20max\x20canvas\x20size\x20of\x20'+_0x2f0e4e+'x'+_0x2a21ae+'.'),!0x1;}};function _0x1261fb(_0x13d277){return(..._0x2ca39c)=>new Promise(_0x47e0c5=>{setTimeout(()=>{const _0xe1a65b=_0x13d277(..._0x2ca39c);_0x47e0c5(_0xe1a65b);},0x0);});}const squareTest=_0x1261fb(_0x1e8408(canvasTest,_0x327493)),dimensionTest=_0x1261fb(_0x1e8408(canvasTest,_0x327493)),testCanvasSize=async(_0x80f6f5,_0x560db3)=>{const _0x3aaa94=_0x185f68['squareSide']['find'](_0x31e776=>_0x31e776*_0x31e776>=_0x80f6f5*_0x560db3),_0x5a00b8=_0x185f68['dimension']['find'](_0x279aab=>_0x279aab>=_0x80f6f5&&_0x279aab>=_0x560db3);if(!_0x3aaa94||!_0x5a00b8)throw new Error('Not\x20supported');const [_0x558c08,_0x190523]=await Promise['all']([squareTest(_0x3aaa94,_0x3aaa94),dimensionTest(_0x5a00b8,0x1)]);if(_0x558c08&&_0x190523)return!0x0;throw new Error('Not\x20supported');},_0x1578ca=async(_0x1de634,_0x49f7dd,_0x367c34)=>{try{const {ctx:_0x492f55,canvas:_0xbe4dc3}=createCanvas();return _0xbe4dc3['width']=_0x49f7dd,_0xbe4dc3['height']=_0x367c34,_0x492f55['imageSmoothingQuality']='high',_0x492f55['drawImage'](_0x1de634,0x0,0x0,_0x49f7dd,_0x367c34),_0x1de634 instanceof HTMLImageElement&&(_0x1de634['src']='//:0'),_0x1de634 instanceof HTMLCanvasElement&&(_0x1de634['width']=_0x1de634['height']=0x1),_0xbe4dc3;}catch(_0x456fb2){throw new Error('Canvas\x20resize\x20error',{'cause':_0x456fb2});}},native=({img:_0x5b2114,targetW:_0x24edc8,targetH:_0x4de9fb})=>_0x1578ca(_0x5b2114,_0x24edc8,_0x4de9fb),calcShrinkSteps=function({sourceW:_0x719678,targetW:_0x3624fa,targetH:_0x31cc98,step:_0x29cef8}){const _0x21a537=[];let _0xba578f=_0x3624fa,_0x3ec427=_0x31cc98;do{_0x21a537['push']([_0xba578f,_0x3ec427]),_0xba578f=Math['round'](_0xba578f/_0x29cef8),_0x3ec427=Math['round'](_0x3ec427/_0x29cef8);}while(_0xba578f<_0x719678*_0x29cef8);return _0x21a537['reverse']();},_0x295744=({img:_0x1c3986,sourceW:_0x4c5aff,targetW:_0x5d1ead,targetH:_0x246d8c,step:_0x46723c})=>{const _0x3b44f3=calcShrinkSteps({'sourceW':_0x4c5aff,'targetW':_0x5d1ead,'targetH':_0x246d8c,'step':_0x46723c});return _0x3b44f3['reduce']((_0x1312ef,[_0x2e076e,_0x3e0946],_0xc13ff6)=>_0x1312ef['then'](_0x442549=>testCanvasSize(_0x2e076e,_0x3e0946)['then'](()=>_0x1578ca(_0x442549,_0x2e076e,_0x3e0946))['catch'](()=>{if(_0xc13ff6===_0x3b44f3['length']-0x1)throw new Error('Not\x20supported');return _0x442549;})),Promise['resolve'](_0x1c3986));},_0x49d720=()=>!!/iPad|iPhone|iPod/['test'](navigator['platform'])||navigator['maxTouchPoints']&&navigator['maxTouchPoints']>0x2&&/MacIntel/['test'](navigator['platform']),_0x553c87=navigator['maxTouchPoints']&&navigator['maxTouchPoints']>0x2&&/MacIntel/['test'](navigator['platform']),_0x47ea66=0.71,_0x17e0ab=(_0x13d1c3,_0x22ee01)=>{if(_0x13d1c3['width']*_0x47ea66*_0x13d1c3['height']*_0x47ea66<_0x22ee01['size'])throw new Error('Not\x20required');const _0x4aaf10=_0x13d1c3['width'],_0x4cf95f=_0x13d1c3['height'],_0x3b7a73=_0x4aaf10/_0x4cf95f,_0x2e3ebb=Math['floor'](Math['sqrt'](_0x22ee01['size']*_0x3b7a73)),_0x5aa3eb=Math['floor'](_0x22ee01['size']/Math['sqrt'](_0x22ee01['size']*_0x3b7a73));return testCanvasSize(_0x2e3ebb,_0x5aa3eb)['then'](()=>{const {ctx:_0x226a5b}=createCanvas();return'imageSmoothingQuality'in _0x226a5b&&!_0x49d720()&&!_0x553c87?native({'img':_0x13d1c3,'targetW':_0x2e3ebb,'targetH':_0x5aa3eb}):_0x295744({'img':_0x13d1c3,'sourceW':_0x4aaf10,'targetW':_0x2e3ebb,'targetH':_0x5aa3eb,'step':_0x47ea66});})['catch'](()=>Promise['reject']('Not\x20supported'));},_0x52105b=async(_0x2acbe3,_0x30c7b1)=>{try{if(await _0x57fb65(_0x2acbe3))throw new Error('Should\x20skipped');const _0xd7a0d3=await Promise['allSettled']([getExif(_0x2acbe3),isBrowserApplyExifOrientation(),getIccProfile(_0x2acbe3)]),_0x1d4818=!_0xd7a0d3['some'](_0x12567a=>'rejected'===_0x12567a['status']),[_0x191026,_0x5738a3,_0x52eda3]=_0xd7a0d3,_0x9746ef=await stripIccProfile(_0x2acbe3)['catch'](()=>_0x2acbe3),_0x3066b5=await _0x272111(URL['createObjectURL'](_0x9746ef));URL['revokeObjectURL'](_0x3066b5['src']);const _0x350fcc=await _0x17e0ab(_0x3066b5,_0x30c7b1);let _0x14951f='image/jpeg',_0x263c23=_0x30c7b1?.['quality']||0.8;!_0x1d4818&&_0x12658c(_0x350fcc)&&(_0x14951f='image/png',_0x263c23=void 0x0);let _0x175f4d=await _0x33ed70(_0x350fcc,_0x14951f,_0x263c23);if(_0x1d4818&&'fulfilled'===_0x191026['status']&&_0x191026['value']){const _0x1f68e1=_0x191026['value'],_0xfe7e0a='fulfilled'===_0x5738a3['status']&&_0x5738a3['value'];_0x175f4d=await _0x7b016(_0x175f4d,_0x1f68e1,_0xfe7e0a);}return _0x1d4818&&'fulfilled'===_0x52eda3['status']&&_0x52eda3['value']['length']>0x0&&(_0x175f4d=await _0x179c85(_0x175f4d,_0x52eda3['value'])),_0x175f4d;}catch(_0x415810){let _0x251fee;throw _0x415810 instanceof Error&&(_0x251fee=_0x415810['message']),'string'==typeof _0x415810&&(_0x251fee=_0x415810),new Error('Failed\x20to\x20shrink\x20image.\x20'+(_0x251fee?'Message:\x20\x22'+_0x251fee+'\x22.':''),{'cause':_0x415810});}},_0x501702=0x4000,_0x18111=/^([0-9]+)x([0-9]+)(?:\s+(\d{1,2}|100)%)?$/i,_0x4a1f87=_0x3666cf=>{const _0x55eded=_0x18111['exec'](_0x3666cf?.['toLocaleLowerCase']())||[];if(!_0x55eded['length'])return!0x1;const _0x1b7484=_0x55eded[0x1]*_0x55eded[0x2],_0x5310ac=_0x501702*_0x501702;return _0x1b7484>_0x5310ac?(console['warn']('Shrinked\x20size\x20can\x20not\x20be\x20larger\x20than\x20'+Math['floor'](_0x5310ac/0x3e8/0x3e8)+'MP.\x20You\x20have\x20set\x20'+_0x55eded[0x1]+'x'+_0x55eded[0x2]+'\x20('+Math['ceil'](_0x1b7484/0x3e8/0x64)/0xa+'MP).'),!0x1):{'quality':_0x55eded[0x3]?_0x55eded[0x3]/0x64:void 0x0,'size':_0x1b7484};},throttle=(_0x54804e,_0x1d579d)=>{let _0x35aad3,_0x53af8d,_0x10fef9;const _0x667903=(..._0x47ff27)=>{_0x35aad3?(clearTimeout(_0x53af8d),_0x53af8d=setTimeout(()=>{Date['now']()-_0x10fef9>=_0x1d579d&&(_0x54804e(..._0x47ff27),_0x10fef9=Date['now']());},Math['max'](_0x1d579d-(Date['now']()-_0x10fef9),0x0))):(_0x54804e(..._0x47ff27),_0x10fef9=Date['now'](),_0x35aad3=!0x0);};return Object['defineProperty'](_0x667903,'cancel',{'configurable':!0x1,'writable':!0x1,'enumerable':!0x1,'value':()=>{clearTimeout(_0x53af8d);}}),_0x667903;};class FileItemConfig extends _0x4d0a24{['_entrySubs']=new Set();['_entry']=null;['_withEntry'](_0x3229be){return(..._0x4f13a1)=>{const _0x832d4f=this['_entry'];if(_0x832d4f)return _0x3229be(_0x832d4f,..._0x4f13a1);console['warn']('No\x20entry\x20found');};}['_subEntry'](_0x2e676f,_0x3bc1a2){return this['_withEntry']((_0x3b2520,_0x24f139,_0x1765fe)=>{let _0x564107=_0x3b2520['subscribe'](_0x24f139,_0x1cb5a7=>{this['isConnected']&&_0x1765fe(_0x1cb5a7);});this['_entrySubs']['add'](_0x564107);})(_0x2e676f,_0x3bc1a2);}['_reset'](){for(let _0x131c06 of this['_entrySubs'])_0x131c06['remove']();this['_entrySubs']=new Set(),this['_entry']=null;}['disconnectedCallback'](){super['disconnectedCallback'](),this['_entrySubs']=new Set();}}const FileItemState=Object['freeze']({'FINISHED':Symbol('FINISHED'),'FAILED':Symbol('FAILED'),'UPLOADING':Symbol('UPLOADING'),'IDLE':Symbol('IDLE')});class FileItem extends FileItemConfig{['couldBeCtxOwner']=!0x0;['pauseRender']=!0x0;['_renderedOnce']=!0x1;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'](_0x24a45c=>{this['$']['*currentActivityParams']={'internalId':_0x24a45c['uid']},this['modalManager']['open'](ActivityBlock['activities']['CLOUD_IMG_EDIT']),this['$']['*currentActivity']=ActivityBlock['activities']['CLOUD_IMG_EDIT'];}),'onRemove':()=>{this['uploadCollection']['remove'](this['$']['uid']);},'onUpload':()=>{this['upload']();}};}['_reset'](){super['_reset'](),this['_debouncedCalculateState']['cancel']();}['_observerCallback'](_0x323e7d){let [_0x2ff163]=_0x323e7d;this['_isIntersecting']=_0x2ff163['isIntersecting'],this['_thumbRect']=_0x2ff163['boundingClientRect'],_0x2ff163['isIntersecting']&&!this['_renderedOnce']&&(this['render'](),this['_renderedOnce']=!0x0);}['_calculateState']=this['_withEntry'](e=>{let i=FileItemState['IDLE'];e['getValue']('errors')['length']>0x0?i=FileItemState['FAILED']:e['getValue']('isUploading')?i=FileItemState['UPLOADING']:e['getValue']('fileInfo')&&(i=FileItemState['FINISHED']),this['$']['state']=i;});['_debouncedCalculateState']=_0x31f04e(this['_calculateState']['bind'](this),0x64);['_updateHint']=this['_withEntry'](throttle(e=>{const i=e['getValue']('source'),n=e['getValue']('externalUrl'),s=0x0===e['getValue']('errors')['length'],r=0x0===this['$']['progressValue'],o=this['$']['state']===FileItemState['UPLOADING'],a=e['getValue']('isQueued');if(s&&o&&r){if(a){const e=this['l10n']('queued');return void(this['$']['hint']=e);}if(n&&i&&Object['values'](ExternalUploadSource)['includes'](i)){const e=this['l10n']('waiting-for',{'source':this['l10n']('src-type-'+i)});return void(this['$']['hint']=e);}this['$']['hint']='';}else this['$']['hint']='';},0x64));['_handleEntryId'](_0xa4a072){this['_reset']();let _0x43aa9d=this['uploadCollection']?.['read'](_0xa4a072);this['_entry']=_0x43aa9d,_0x43aa9d&&(this['_subEntry']('uploadProgress',_0x533fca=>{this['$']['progressValue']=_0x533fca,this['_updateHint']();}),this['_subEntry']('isQueued',()=>{this['_updateHint']();}),this['_subEntry']('fileName',_0x4b0c4b=>{this['$']['itemName']=_0x4b0c4b||_0x43aa9d['getValue']('externalUrl')||this['l10n']('file-no-name'),this['_debouncedCalculateState']();}),this['_subEntry']('externalUrl',_0x52522c=>{this['$']['itemName']=_0x43aa9d['getValue']('fileName')||_0x52522c||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'](_0x4ae320){'list'===this['cfg']['filesViewMode']?this['$']['showFileNames']=!0x0:this['$']['showFileNames']=_0x4ae320;}['initCallback'](){super['initCallback'](),this['sub']('uid',_0x5583f0=>{this['_handleEntryId'](_0x5583f0);}),this['sub']('state',_0x523c30=>{this['_handleState'](_0x523c30);}),this['subConfigValue']('useCloudImageEditor',()=>this['_debouncedCalculateState']()),this['subConfigValue']('filesViewMode',_0x53d78a=>{this['_updateShowFileNames'](this['cfg']['gridShowFileNames']),this['setAttribute']('mode',_0x53d78a);}),this['subConfigValue']('gridShowFileNames',_0x2d04ac=>{this['_updateShowFileNames'](_0x2d04ac);}),this['onclick']=()=>{FileItem['activeInstances']['forEach'](_0x3d5cb2=>{_0x3d5cb2===this?_0x3d5cb2['setAttribute']('focused',''):_0x3d5cb2['removeAttribute']('focused');});},this['sub']('*uploadTrigger',_0x43bf97=>{this['_entry']&&!_0x43bf97['has'](this['_entry']['uid'])||setTimeout(()=>this['isConnected']&&this['upload']());}),FileItem['activeInstances']['add'](this);}['_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);const n=e['getValue']('fileName');this['set$']({'isFailed':i===FileItemState['FAILED'],'isUploading':i===FileItemState['UPLOADING'],'isFinished':i===FileItemState['FINISHED'],'progressVisible':i===FileItemState['UPLOADING'],'isEditable':this['cfg']['useCloudImageEditor']&&this['_entry']?.['getValue']('isImage')&&this['_entry']?.['getValue']('cdnUrl'),'errorText':e['getValue']('errors')?.[0x0]?.['message'],'ariaLabelStatusFile':n&&this['l10n']('a11y-file-item-status',{'fileName':n,'status':this['l10n'](i?.['description']?.['toLocaleLowerCase']()??'')['toLocaleLowerCase']()})}),this['_updateHint']();});['destroyCallback'](){super['destroyCallback'](),FileItem['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 _0x4a1f87(this['cfg']['imageShrink']);}['_processShrink'](_0x1387f3){return _0x52105b(_0x1387f3,this['_settingsOfShrink']());}['upload']=this['_withEntry'](async e=>{if(!this['uploadCollection']['read'](e['uid']))return;if(e['getValue']('fileInfo')||e['getValue']('isUploading')||e['getValue']('errors')['length']>0x0)return;const i=this['cfg']['multiple']?this['cfg']['multipleMax']:0x1;if(!(i&&this['uploadCollection']['size']>i)){this['_debouncedCalculateState'](),e['setMultipleValues']({'isUploading':!0x0,'errors':[],'isQueued':!0x0});try{let i=new AbortController();e['setValue']('abortController',i);const n=async()=>{e['setValue']('isQueued',!0x1);let n=e['getValue']('file');n&&this['cfg']['imageShrink']&&(n=await this['_processShrink'](n)['catch'](()=>n));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']){let n=0x64*i['value'];e['setValue']('uploadProgress',n);}},'signal':i['signal'],'metadata':await this['getMetadataFor'](e['uid'])};return this['debugPrint']('upload\x20options',s,r),_0x506a44(s,r);};let s=await this['$']['*uploadQueue']['add'](n);e['setMultipleValues']({'fileInfo':s,'isQueued':!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){i instanceof _0x199407&&i['isCancel']?e['setMultipleValues']({'isUploading':!0x1,'uploadProgress':0x0}):i instanceof _0x382fff?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']();}}});}FileItem['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',FileItem['activeInstances']=new Set();let _0x4476f2=null;class _0x572ae5 extends _0x337de7{static ['styleAttrs']=[...super['styleAttrs'],'uc-modal'];static ['StateConsumerScope']='modal';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']=_0x47513a=>{this['_mouseDownTarget']=_0x47513a['target'];};['_handleDialogMouseUp']=_0x52e2ec=>{_0x52e2ec['target']===this['ref']['dialog']&&_0x52e2ec['target']===this['_mouseDownTarget']&&this['_closeDialog']();};['show'](){this['ref']['dialog']['showModal']?(this['setAttribute']('aria-modal','true'),this['ref']['dialog']['showModal']()):this['ref']['dialog']['setAttribute']('open',''),this['cfg']['modalScrollLock']&&(document['body']['style']['overflow']='hidden');}['hide'](){this['ref']['dialog']['close']?(this['setAttribute']('aria-modal','false'),this['ref']['dialog']['close']()):this['ref']['dialog']['removeAttribute']('open');}['_handleModalOpen']({id:_0x1850ed}){_0x1850ed===this['id']?(_0x4476f2=_0x1850ed,this['show']()):this['hide'](),this['emit'](EventType['MODAL_OPEN'],{'modalId':_0x1850ed},{'debounce':!0x0});}['_handleModalClose']({id:_0x442528}){_0x442528===this['id']&&this['hide'](),this['emit'](EventType['MODAL_CLOSE'],{'modalId':_0x442528,'hasActiveModals':this['modalManager']['hasActiveModals']},{'debounce':!0x0});}['_handleModalCloseAll'](){this['hide'](),_0x4476f2===this['id']&&this['emit'](EventType['MODAL_CLOSE'],{'modalId':_0x4476f2,'hasActiveModals':this['modalManager']['hasActiveModals']},{'debounce':!0x0});}['initCallback'](){super['initCallback'](),this['modalManager']?.['registerModal'](this['id'],this),this['ref']['dialog']['addEventListener']('close',this['_handleDialogClose']),this['ref']['dialog']['addEventListener']('mousedown',this['_handleDialogMouseDown']),this['ref']['dialog']['addEventListener']('mouseup',this['_handleDialogMouseUp']),this['subConfigValue']('modalBackdropStrokes',_0x334130=>{_0x334130?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,this['ref']['dialog']['removeEventListener']('close',this['_handleDialogClose']),this['ref']['dialog']['removeEventListener']('mousedown',this['_handleDialogMouseDown']),this['ref']['dialog']['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']);}}_0x572ae5['template']='\x0a\x20\x20<dialog\x20ref=\x22dialog\x22>\x0a\x20\x20\x20\x20<slot></slot>\x0a\x20\x20</dialog>\x0a';class UploadList extends _0x4d0a24{['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['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['uploadCollection']['clearAll']();}};}['_throttledHandleCollectionUpdate']=throttle(()=>{this['isConnected']&&(this['_updateUploadsState'](),this['couldOpenActivity']||this['$']['*currentActivity']!==this['activityType']||this['historyBack']());},0x12c);['_updateUploadsState'](){const _0x1abb75=this['api']['getOutputCollectionState'](),_0x3d3dac={'total':_0x1abb75['totalCount'],'succeed':_0x1abb75['successCount'],'uploading':_0x1abb75['uploadingCount'],'failed':_0x1abb75['failedCount']},_0x59aee4=!_0x1abb75['errors']['some'](_0x1dc224=>'TOO_MANY_FILES'===_0x1dc224['type']||'TOO_FEW_FILES'===_0x1dc224['type']),_0x7ec45d=_0x1abb75['errors']['some'](_0x9bd247=>'TOO_MANY_FILES'===_0x9bd247['type']),_0x35ca97=_0x1abb75['totalCount']===(this['cfg']['multiple']?this['cfg']['multipleMax']:0x1),_0x39c5b6=0x0===_0x3d3dac['failed']&&0x0===_0x1abb75['errors']['length'];let _0x4b5fe6=!0x1,_0x58f6e3=!0x1,_0xce7bcb=!0x1;if(_0x3d3dac['total']-_0x3d3dac['succeed']-_0x3d3dac['uploading']-_0x3d3dac['failed']>0x0&&_0x59aee4)_0x4b5fe6=!0x0;else{_0x58f6e3=!0x0;const _0x768e38=!this['cfg']['groupOutput']||!!_0x1abb75['group'];_0xce7bcb=_0x3d3dac['total']===_0x3d3dac['succeed']&&_0x59aee4&&_0x39c5b6&&_0x768e38;}this['set$']({'doneBtnVisible':_0x58f6e3,'doneBtnEnabled':_0xce7bcb,'uploadBtnVisible':_0x4b5fe6,'addMoreBtnEnabled':0x0===_0x3d3dac['total']||!_0x7ec45d&&!_0x35ca97,'addMoreBtnVisible':!_0x35ca97||this['cfg']['multiple']}),this['bindL10n']('headerText',()=>this['_getHeaderText'](_0x3d3dac));}['_getHeaderText'](_0x53b856){const _0x4a4784=_0x285649=>{const _0x2201dd=_0x53b856[_0x285649];return this['l10n']('header-'+_0x285649,{'count':_0x2201dd});};return _0x53b856['uploading']>0x0?_0x4a4784('uploading'):_0x53b856['failed']>0x0?_0x4a4784('failed'):_0x53b856['succeed']>0x0?_0x4a4784('succeed'):_0x4a4784('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',_0x245f7e=>{_0x245f7e&&this['_throttledHandleCollectionUpdate']();}),this['subConfigValue']('filesViewMode',_0x5143cd=>{this['setAttribute']('mode',_0x5143cd);}),this['sub']('*currentActivity',_0x3a6bbd=>{this['couldOpenActivity']||_0x3a6bbd!==this['activityType']||(this['$']['*currentActivity']=this['initActivity']);}),this['uploadCollection']['observeProperties'](this['_throttledHandleCollectionUpdate']),this['sub']('*uploadList',_0x56f40c=>{this['_throttledHandleCollectionUpdate'](),this['set$']({'hasFiles':_0x56f40c['length']>0x0}),this['cfg']['confirmUpload']||this['api']['uploadAll']();},!0x1),this['sub']('*collectionErrors',_0x53dbf7=>{const _0xc5f5ee=_0x53dbf7['filter'](_0x2f0c9b=>'SOME_FILES_HAS_ERRORS'!==_0x2f0c9b['type'])[0x0];_0xc5f5ee?this['set$']({'commonErrorMessage':_0xc5f5ee['message']}):this['set$']({'commonErrorMessage':null});});}['destroyCallback'](){super['destroyCallback'](),this['uploadCollection']['unobserveProperties'](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';class _0x4c8db3 extends _0x4d0a24{['couldBeCtxOwner']=!0x0;['activityType']=ActivityBlock['activities']['URL'];['init$']={...this['init$'],'importDisabled':!0x0,'onUpload':e=>{e['preventDefault']();let i=this['ref']['input']['value'];this['api']['addFileFromUrl'](i,{'source':_0x40f277['URL']}),this['modalManager']['open'](ActivityBlock['activities']['UPLOAD_LIST']),this['$']['*currentActivity']=ActivityBlock['activities']['UPLOAD_LIST'];},'onCancel':()=>{this['historyBack']();},'onInput':e=>{let i=e['target']['value'];this['set$']({'importDisabled':!i});}};['initCallback'](){super['initCallback'](),this['registerActivity'](this['activityType'],{'onActivate':()=>{this['ref']['input']['value']='',this['ref']['input']['focus']();}});}}_0x4c8db3['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';const _0x20e440=()=>void 0x0!==navigator['permissions'],_0x10279e={'width':{'ideal':0x780},'height':{'ideal':0x438},'frameRate':{'ideal':0x1e}},_0xf912cd=['camera','microphone'];function formatTime(_0x40e51d){return Math['floor'](_0x40e51d/0x3c)['toString']()['padStart'](0x2,'0')+':'+Math['floor'](_0x40e51d%0x3c)['toString']()['padStart'](0x2,'0');}const _0xfaea88='image/jpeg',_0x556428='video/webm';class _0x5119a1 extends _0x4d0a24{['couldBeCtxOwner']=!0x0;['activityType']=ActivityBlock['activities']['CAMERA'];['_unsubPermissions']=null;['_chunks']=[];['_mediaRecorder']=null;['_stream']=null;['_selectedAudioId']=null;['_selectedCameraId']=null;constructor(){super(),this['init$']={...this['init$'],'video':null,'videoTransformCss':null,'videoHidden':!0x0,'messageHidden':!0x0,'requestBtnHidden':_0x20e440(),'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':_0x40386d=>{this['_selectedCameraId']=_0x40386d['target']['value'],this['_capture']();},'onAudioSelectChange':_0x39ed58=>{this['_selectedAudioId']=_0x39ed58['target']['value'],this['_capture']();},'onCancel':()=>{this['historyBack']();},'onShot':()=>this['_shot'](),'onRequestPermissions':()=>this['_capture'](),'onStartCamera':()=>this['_chooseActionWithCamera'](),'onStartRecording':()=>this['_startRecording'](),'onStopRecording':()=>this['_stopRecording'](),'onToggleRecording':()=>this['_toggleRecording'](),'onToggleAudio':()=>this['_toggleEnableAudio'](),'onRetake':()=>this['_retake'](),'onAccept':()=>this['_accept'](),'onClickTab':_0x2b328a=>{const _0x2d963a=_0x2b328a['currentTarget']['getAttribute']('data-id');_0x2d963a&&this['_handleActiveTab'](_0x2d963a);}};}['_chooseActionWithCamera']=()=>{if(this['_activeTab']===_0x1e0ef4['PHOTO']&&this['_shot'](),this['_activeTab']===_0x1e0ef4['VIDEO']){if('recording'===this['_mediaRecorder']?.['state'])return void this['_stopRecording']();this['_startRecording']();}};['_updateTimer']=()=>{const _0x2cd9a8=Math['floor']((performance['now']()-this['$']['_startTime']+this['$']['_elapsedTime'])/0x3e8);if('number'==typeof this['cfg']['maxVideoRecordingDuration']&&this['cfg']['maxVideoRecordingDuration']>0x0){const _0x2e4b72=this['cfg']['maxVideoRecordingDuration']-_0x2cd9a8;if(_0x2e4b72<=0x0)return this['ref']['timer']['textContent']=formatTime(_0x2e4b72),void this['_stopRecording']();this['ref']['timer']['textContent']=formatTime(_0x2e4b72);}else this['ref']['timer']['textContent']=formatTime(_0x2cd9a8);this['_animationFrameId']=requestAnimationFrame(this['_updateTimer']);};['_startTimer']=()=>{this['$']['_startTime']=performance['now'](),this['$']['_elapsedTime']=0x0,this['_updateTimer']();};['_stopTimer']=()=>{this['_animationFrameId']&&cancelAnimationFrame(this['_animationFrameId']);};['_startTimeline']=()=>{const _0x24bfa3=this['ref']['video']['currentTime'],_0x42de1a=this['ref']['video']['duration'];this['ref']['line']['style']['transform']='scaleX('+_0x24bfa3/_0x42de1a+')',this['ref']['timer']['textContent']=formatTime(_0x24bfa3),this['_animationFrameId']=requestAnimationFrame(this['_startTimeline']);};['_stopTimeline']=()=>{this['_animationFrameId']&&cancelAnimationFrame(this['_animationFrameId']);};['_startRecording']=()=>{try{this['_chunks']=[],this['_options']={...this['cfg']['mediaRecorderOptions']};const {mimeType:_0x492309}=this['cfg']['mediaRecorderOptions']||{};_0x492309&&MediaRecorder['isTypeSupported'](_0x492309)?this['_options']['mimeType']=_0x492309:MediaRecorder['isTypeSupported'](_0x556428)?this['_options']['mimeType']=_0x556428:this['_options']['mimeType']='video/mp4',this['_stream']&&(this['_mediaRecorder']=new MediaRecorder(this['_stream'],this['_options']),this['_mediaRecorder']['start'](),this['_mediaRecorder']['addEventListener']('dataavailable',_0x44a3a3=>{this['_chunks']['push'](_0x44a3a3['data']);}),this['_startTimer'](),this['classList']['add']('uc-recording'),this['_setCameraState'](CameraSourceEvents['PLAY']));}catch(_0x2ac62b){console['error']('Failed\x20to\x20start\x20recording',_0x2ac62b);}};['_stopRecording']=()=>{this['_mediaRecorder']?.['addEventListener']('stop',()=>{this['_previewVideo'](),this['_stopTimer'](),this['_setCameraState'](CameraSourceEvents['STOP']);}),this['_mediaRecorder']?.['stop'](),this['classList']['remove']('uc-recording');};['_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'](_0x4d7ade=>{_0x4d7ade['enabled']=!_0x4d7ade['enabled'],this['$']['toggleMicrophoneIcon']=_0x4d7ade['enabled']?'microphone':'microphone-mute',this['$']['audioSelectDisabled']=!_0x4d7ade['enabled'];});};['_previewVideo']=()=>{try{const _0x59222e=new Blob(this['_chunks'],{'type':this['_mediaRecorder']?.['mimeType']}),_0x44ba01=URL['createObjectURL'](_0x59222e);this['ref']['video']['muted']=!0x1,this['ref']['video']['volume']=0x1,this['$']['video']=null,this['ref']['video']['src']=_0x44ba01,this['ref']['video']['addEventListener']('play',()=>{this['_startTimeline'](),this['set$']({'currentTimelineIcon':'pause'});}),this['ref']['video']['addEventListener']('pause',()=>{this['set$']({'currentTimelineIcon':'play'}),this['_stopTimeline']();});}catch(_0x3c2df8){console['error']('Failed\x20to\x20preview\x20video',_0x3c2df8);}};['_retake']=()=>{this['_setCameraState'](CameraSourceEvents['RETAKE']),this['_activeTab']===_0x1e0ef4['VIDEO']&&(this['$']['video']=this['_stream'],this['ref']['video']['muted']=!0x0),this['ref']['video']['play']();};['_accept']=()=>{if(this['_setCameraState'](CameraSourceEvents['ACCEPT']),this['_activeTab']===_0x1e0ef4['PHOTO'])return void this['_canvas']?.['toBlob'](_0x2e585e=>{const _0x10afbd=this['_createFile']('camera','jpeg',_0xfaea88,_0x2e585e);this['_toSend'](_0x10afbd);},_0xfaea88);const _0x449469=new Blob(this['_chunks'],{'type':this['_mediaRecorder']?.['mimeType']}),_0xf38bc1=this['_guessExtensionByMime'](this['_mediaRecorder']?.['mimeType']),_0x5677e5=this['_createFile']('video',_0xf38bc1,'video/'+_0xf38bc1,_0x449469);this['_toSend'](_0x5677e5),this['_chunks']=[];};['_handlePhoto']=_0x1ba9d2=>{_0x1ba9d2===CameraSourceEvents['SHOT']&&this['set$']({'tabVideoHidden':!0x0,'cameraHidden':!0x0,'tabCameraHidden':!0x0,'cameraActionsHidden':!0x1,'cameraSelectHidden':!0x0}),_0x1ba9d2!==CameraSourceEvents['RETAKE']&&_0x1ba9d2!==CameraSourceEvents['ACCEPT']||this['set$']({'tabVideoHidden':!this['_cameraModes']['includes'](_0x1e0ef4['VIDEO']),'tabCameraHidden':!this['_cameraModes']['includes'](_0x1e0ef4['PHOTO']),'cameraHidden':!0x1,'cameraActionsHidden':!0x0,'cameraSelectHidden':this['_cameraDevices']['length']<=0x1});};['_handleVideo']=_0x296f84=>{_0x296f84===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'}),_0x296f84===CameraSourceEvents['STOP']&&this['set$']({'timerHidden':!0x1,'cameraHidden':!0x0,'audioToggleMicrophoneHidden':!0x0,'cameraActionsHidden':!0x1}),_0x296f84!==CameraSourceEvents['RETAKE']&&_0x296f84!==CameraSourceEvents['ACCEPT']||this['set$']({'timerHidden':!0x0,'tabVideoHidden':!this['_cameraModes']['includes'](_0x1e0ef4['VIDEO']),'tabCameraHidden':!this['_cameraModes']['includes'](_0x1e0ef4['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']=_0x237325=>{this['_activeTab']!==_0x1e0ef4['PHOTO']||'shot'!==_0x237325&&'retake'!==_0x237325&&'accept'!==_0x237325||this['_handlePhoto'](_0x237325),this['_activeTab']!==_0x1e0ef4['VIDEO']||'play'!==_0x237325&&'stop'!==_0x237325&&'retake'!==_0x237325&&'accept'!==_0x237325&&'pause'!==_0x237325&&'resume'!==_0x237325||this['_handleVideo'](_0x237325);};['_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']=_0x295187=>{this['ref']['switcher']['querySelectorAll']('button')['forEach'](_0x4fc4c8=>{_0x4fc4c8['classList']['toggle']('uc-active',_0x4fc4c8['getAttribute']('data-id')===_0x295187);}),_0x295187===_0x1e0ef4['PHOTO']&&this['set$']({'currentIcon':'camera-full','audioSelectHidden':!0x0,'audioToggleMicrophoneHidden':!0x0}),_0x295187===_0x1e0ef4['VIDEO']&&this['set$']({'currentTimelineIcon':'play','currentIcon':'video-camera-full','audioSelectHidden':!this['cfg']['enableAudioRecording']||this['_audioDevices']['length']<=0x1,'audioToggleMicrophoneHidden':!this['cfg']['enableAudioRecording']}),this['_activeTab']=_0x295187;};['_createFile']=(_0x3ce95a,_0x46d822,_0x1f0e85,_0x2086ee)=>{const _0x14d232=Date['now']();return new File([_0x2086ee],_0x3ce95a+'-'+_0x14d232+'.'+_0x46d822,{'lastModified':_0x14d232,'type':_0x1f0e85});};['_guessExtensionByMime'](_0x356f2d){const _0x10482d={'mp4':'mp4','ogg':'ogg','webm':'webm','quicktime':'mov','x-matroska':'mkv'};if(''===_0x356f2d)return'webm';if(_0x356f2d&&(_0x356f2d=_0x356f2d['split']('/'),'video'===_0x356f2d?.[0x0])){_0x356f2d=_0x356f2d['slice'](0x1)['join']('/');const _0x1c5464=_0x356f2d?.['split'](';')[0x0];if(_0x10482d[_0x1c5464])return _0x10482d[_0x1c5464];}return'avi';}['_toSend']=_0x2f54e3=>{this['api']['addFileFromObject'](_0x2f54e3,{'source':_0x40f277['CAMERA']}),this['set$']({'*currentActivity':ActivityBlock['activities']['UPLOAD_LIST']}),this['modalManager']['open'](ActivityBlock['activities']['UPLOAD_LIST']);};get['_cameraModes'](){return stringToArray(this['cfg']['cameraModes']);}['_setPermissionsState']=_0x31f04e(e=>{this['classList']['toggle']('uc-initialized','granted'===e);const i=this['_activeTab']===_0x1e0ef4['VIDEO']&&this['cfg']['enableAudioRecording'],n=this['_activeTab']===_0x1e0ef4['PHOTO']?'camera-full':'video-camera-full';'granted'===e?this['set$']({'videoHidden':!0x1,'cameraHidden':!0x1,'tabCameraHidden':!this['_cameraModes']['includes'](_0x1e0ef4['PHOTO']),'tabVideoHidden':!this['_cameraModes']['includes'](_0x1e0ef4['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'](_0x1e0ef4['PHOTO']),'tabVideoHidden':!this['_cameraModes']['includes'](_0x1e0ef4['VIDEO']),'cameraActionsHidden':!0x0,'mutableClassButton':'uc-shot-btn\x20uc-camera-action'}),this['_stopCapture']());},0x12c);['_makeStreamInactive']=()=>{if(!this['_stream'])return!0x1;const _0x2d5b27=this['_stream']?.['getAudioTracks'](),_0x25811c=this['_stream']?.['getVideoTracks']();_0x2d5b27['forEach'](_0x41e5b4=>_0x41e5b4['stop']()),_0x25811c['forEach'](_0xb5d09a=>_0xb5d09a['stop']());};['_stopCapture']=()=>{this['_capturing']&&(this['ref']['video']['volume']=0x0,this['$']['video']?.['getTracks']()[0x0]['stop'](),this['$']['video']=null,this['_makeStreamInactive'](),this['_stopTimer'](),this['_capturing']=!0x1);};['_capture']=async()=>{const _0x318c88={'video':_0x10279e,'audio':!!this['cfg']['enableAudioRecording']&&{}};this['_selectedCameraId']&&(_0x318c88['video']={'deviceId':{'exact':this['_selectedCameraId']}}),this['_selectedAudioId']&&this['cfg']['enableAudioRecording']&&(_0x318c88['audio']={'deviceId':{'exact':this['_selectedAudioId']}}),this['ref']['video']['volume']=0x0;try{this['_setPermissionsState']('prompt'),this['_stream']=await navigator['mediaDevices']['getUserMedia'](_0x318c88),this['_stream']['addEventListener']('inactive',()=>{this['_setPermissionsState']('denied');}),this['$']['video']=this['_stream'],this['_capturing']=!0x0,this['_setPermissionsState']('granted');}catch(_0x43894e){this['_setPermissionsState']('denied'),console['log']('Failed\x20to\x20capture\x20camera',_0x43894e);}};['_handlePermissionsChange']=()=>{this['_capture']();};['_permissionAccess']=async()=>{try{for(const _0x46f05b of _0xf912cd)this[_0x46f05b+'Response']=await navigator['permissions']['query']({'name':_0x46f05b}),this[_0x46f05b+'Response']['addEventListener']('change',this['_handlePermissionsChange']);}catch(_0x626509){console['log']('Failed\x20to\x20use\x20permissions\x20API.\x20Fallback\x20to\x20manual\x20request\x20mode.',_0x626509),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(_0xc7e15){console['log']('Failed\x20to\x20get\x20user\x20media',_0xc7e15);}};['_getDevices']=async()=>{try{const _0x50f845=await navigator['mediaDevices']['enumerateDevices']();this['_cameraDevices']=_0x50f845['filter'](_0x4fae4d=>'videoinput'===_0x4fae4d['kind'])['map']((_0x399b83,_0x3402dc)=>({'text':_0x399b83['label']['trim']()||this['l10n']('caption-camera')+'\x20'+(_0x3402dc+0x1),'value':_0x399b83['deviceId']})),this['_audioDevices']=this['cfg']['enableAudioRecording']&&_0x50f845['filter'](_0x459101=>'audioinput'===_0x459101['kind'])['map'](_0x4ce119=>({'text':_0x4ce119['label']['trim'](),'value':_0x4ce119['deviceId']})),this['_cameraDevices']['length']>0x1&&this['set$']({'cameraSelectOptions':this['_cameraDevices'],'cameraSelectHidden':!0x1}),this['_selectedCameraId']=this['_cameraDevices'][0x0]?.['value'],this['_audioDevices']['length']>0x1&&this['set$']({'audioSelectOptions':this['_audioDevices'],'audioSelectHidden':!0x1}),this['_selectedAudioId']=this['_audioDevices'][0x0]?.['value'];}catch(_0x1f1311){console['log']('Failed\x20to\x20get\x20devices',_0x1f1311);}};['_onActivate']=async()=>{await this['_permissionAccess'](),await this['_requestDeviceAccess'](),await this['_capture'](),this['_handleCameraModes'](this['_cameraModes']);};['_onDeactivate']=async()=>{this['_unsubPermissions']&&this['_unsubPermissions'](),(!!window['chrome']||this['_setPermissionsState']('denied'),this['_stopCapture']());};['_handleCameraModes']=_0xf8a35a=>{this['$']['tabVideoHidden']=!_0xf8a35a['includes'](_0x1e0ef4['VIDEO']),this['$']['tabCameraHidden']=!_0xf8a35a['includes'](_0x1e0ef4['PHOTO']);const _0x128a8c=_0xf8a35a[0x0];this['_activeTab']&&_0xf8a35a['includes'](this['_activeTab'])||this['_handleActiveTab'](_0x128a8c);};['initCallback'](){super['initCallback'](),this['registerActivity'](this['activityType'],{'onActivate':this['_onActivate'],'onDeactivate':this['_onDeactivate']}),this['subConfigValue']('cameraMirror',_0x12e335=>{this['$']['videoTransformCss']=_0x12e335?'scaleX(-1)':null;}),this['subConfigValue']('enableAudioRecording',_0x6ae362=>{this['$']['audioToggleMicrophoneHidden']=!_0x6ae362,this['$']['audioSelectDisabled']=!_0x6ae362;}),this['subConfigValue']('cameraModes',_0x474c8c=>{if(!this['isActivityActive'])return;const _0x28788c=_0x3c7d14(_0x474c8c);this['_handleCameraModes'](_0x28788c);});}['_destroy'](){for(const _0x47721e of _0xf912cd)this[_0x47721e+'Response']?.['removeEventListener']('change',this['_handlePermissionsChange']);navigator['mediaDevices']?.['removeEventListener']('devicechange',this['_getDevices']);}async['destroyCallback'](){super['destroyCallback'](),this['_destroy']();}}_0x5119a1['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\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\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\x20class=\x22uc-secondary-btn\x20uc-recording-timer\x22\x20set=\x22@hidden:timerHidden;\x20onclick:\x20onToggleRecording\x22>\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\x20class=\x22uc-camera-actions\x20uc-camera-action\x22\x20set=\x22@hidden:\x20cameraActionsHidden\x22>\x0a\x20\x20\x20\x20\x20\x20<button\x20type=\x22button\x22\x20class=\x22uc-secondary-btn\x22\x20set=\x22onclick:\x20onRetake\x22>Retake</button>\x0a\x20\x20\x20\x20\x20\x20<button\x20type=\x22button\x22\x20class=\x22uc-primary-btn\x22\x20set=\x22onclick:\x20onAccept\x22\x20data-testid=\x22accept\x22>Accept</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\x20class=\x22uc-mini-btn\x20uc-btn-microphone\x22\x20set=\x22onclick:\x20onToggleAudio;\x20@hidden:\x20audioToggleMicrophoneHidden;\x22>\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';class UploadCtxProviderClass extends _0x4d0a24{static ['styleAttrs']=['uc-wgt-common'];['requireCtxName']=!0x0;['initCallback'](){super['initCallback'](),this['$']['*eventEmitter']['bindTarget'](this);}['destroyCallback'](){super['destroyCallback'](),this['$']['*eventEmitter']['unbindTarget'](this);}}UploadCtxProviderClass['EventType']=EventType;const UploadCtxProvider=UploadCtxProviderClass;class _0x25cff5 extends _0x4d0a24{['init$']={...this['init$'],'visible':!0x1,'value':0x0,'*commonProgress':0x0};['initCallback'](){super['initCallback'](),this['_unobserveCollection']=this['uploadCollection']['observeProperties'](()=>{let _0x1c5411=this['uploadCollection']['items']()['some'](_0xde72ad=>this['uploadCollection']['read'](_0xde72ad)['getValue']('isUploading'));this['$']['visible']=_0x1c5411;}),this['sub']('visible',_0x2a4b5d=>{_0x2a4b5d?this['setAttribute']('active',''):this['removeAttribute']('active');}),this['sub']('*commonProgress',_0x261628=>{this['$']['value']=_0x261628;});}['destroyCallback'](){super['destroyCallback'](),this['_unobserveCollection']?.();}}_0x25cff5['template']='\x20<uc-progress-bar\x20set=\x22visible:\x20visible;\x20value:\x20value\x22></uc-progress-bar>\x20';class _0x446dad extends _0x337de7{['_value']=0x0;['_prevValue']=0x0;['_visible']=!0x0;constructor(){super(),this['init$']={...this['init$'],'width':0x0,'opacity':0x0};}['initCallback'](){super['initCallback'](),(this['ref']['fakeProgressLine']['addEventListener']('animationiteration',()=>{const _0x5c825c=this['ref']['fakeProgressLine'];this['_visible']?this['_value']>0x0&&_0x5c825c['classList']['add']('uc-fake-progress--hidden'):_0x5c825c['classList']['add']('uc-fake-progress--hidden');}),this['defineAccessor']('value',_0x67d19=>{null!=_0x67d19&&(this['_prevValue']=this['_value'],this['_value']=_0x67d19,this['_visible']&&this['style']['setProperty']('--l-progress-value',this['_value']['toString']()));}),this['defineAccessor']('visible',_0x2d1d1c=>{this['_visible']=_0x2d1d1c,this['classList']['toggle']('uc-progress-bar--hidden',!_0x2d1d1c);}));}}_0x446dad['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';const _0x46054e='data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mNkYAAAAAYAAjCB0C8AAAAASUVORK5CYII=';function _0x32756f(..._0x25e36e){return _0x25e36e['reduce']((_0x4dd91e,_0x3e7633)=>{if('string'==typeof _0x3e7633)return _0x4dd91e[_0x3e7633]=!0x0,_0x4dd91e;for(let _0x26718a of Object['keys'](_0x3e7633))_0x4dd91e[_0x26718a]=_0x3e7633[_0x26718a];return _0x4dd91e;},{});}function _0x2a9f0f(..._0x48fd60){let _0x263cc3=_0x32756f(..._0x48fd60);return Object['keys'](_0x263cc3)['reduce']((_0x1f4364,_0x25807a)=>(_0x263cc3[_0x25807a]&&_0x1f4364['push'](_0x25807a),_0x1f4364),[])['join']('\x20');}function _0x334e68(_0x1e23a4,..._0x5ba39a){let _0x4fa88d=_0x32756f(..._0x5ba39a);for(let _0x19b52a of Object['keys'](_0x4fa88d))_0x1e23a4['classList']['toggle'](_0x19b52a,_0x4fa88d[_0x19b52a]);}const _0x355d92=_0x30a816=>{if(!_0x30a816)return _0x141909;const _0x30fe76=_0x3c7d14(_0x30a816)['filter'](_0x3add67=>_0x141909['includes'](_0x3add67));return 0x0===_0x30fe76['length']?_0x141909:_0x30fe76;};function initState(_0x19e73b){return{'*originalUrl':null,'*faderEl':null,'*cropperEl':null,'*imgEl':null,'*imgContainerEl':null,'*networkProblems':!0x1,'*imageSize':null,'*editorTransformations':{},'*cropPresetList':[],'*tabList':_0x141909,'*tabId':_0x43ff2d['CROP'],'entry':null,'extension':null,'editorMode':!0x1,'modalCaption':'','isImage':!0x1,'msg':'','src':_0x46054e,'fileType':'','showLoader':!0x1,'uuid':null,'cdnUrl':null,'cropPreset':'','tabs':_0x12a265(_0x141909),'presence.networkProblems':!0x1,'presence.modalCaption':!0x0,'presence.editorToolbar':!0x1,'presence.viewerToolbar':!0x0,'*on.retryNetwork':()=>{let _0x89c73a=_0x19e73b['querySelectorAll']('img');for(let _0x1103b2 of _0x89c73a){let _0x213e07=_0x1103b2['src'];_0x1103b2['src']=_0x46054e,_0x1103b2['src']=_0x213e07;}_0x19e73b['$']['*networkProblems']=!0x1;},'*on.apply':_0x57f92d=>{if(!_0x57f92d)return;let _0x4a4f6e=_0x19e73b['$']['*originalUrl'],_0xb83c31=createCdnUrlModifiers(transformationsToOperations(_0x57f92d),'preview'),_0x268651={'originalUrl':_0x4a4f6e,'cdnUrlModifiers':_0xb83c31,'cdnUrl':createCdnUrl(_0x4a4f6e,_0xb83c31),'transformations':_0x57f92d};_0x19e73b['dispatchEvent'](new CustomEvent('apply',{'detail':_0x268651,'bubbles':!0x0,'composed':!0x0})),_0x19e73b['remove']();},'*on.cancel':()=>{_0x19e73b['remove'](),_0x19e73b['dispatchEvent'](new CustomEvent('cancel',{'bubbles':!0x0,'composed':!0x0}));}};}var svgIconsSprite='<svg\x20width=\x270\x27\x20height=\x270\x27\x20style=\x27position:absolute\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=\x27puc-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(#puc-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(#suc-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(#suc-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(#suc-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(#suc-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(#suc-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(#suc-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(#suc-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(#suc-icon-id__h)\x27/><defs><linearGradient\x20id=\x27suc-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=\x27suc-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=\x27suc-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=\x27suc-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=\x27suc-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=\x27suc-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=\x27suc-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=\x27suc-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>';const _0x28f6dc='\x0a\x20\x20'+svgIconsSprite+'\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'+_0x46054e+'\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';class CloudImageEditorBlock extends _0x337de7{['ctxOwner']=!0x0;static ['styleAttrs']=['uc-cloud-image-editor'];constructor(){super(),this['init$']={...this['init$'],...initState(this)};}['_debouncedShowLoader']=_0x31f04e(this['_showLoader']['bind'](this),0x12c);['_showLoader'](_0x58b5e6){this['$']['showLoader']=_0x58b5e6;}['_waitForSize'](){return new Promise((_0x1048f7,_0x59c86a)=>{const _0x32fcf1=setTimeout(()=>{_0x59c86a(new Error('[cloud-image-editor]\x20timeout\x20waiting\x20for\x20non-zero\x20container\x20size'));},0xbb8),_0x2651d0=new ResizeObserver(([_0x2bb819])=>{_0x2bb819['contentRect']['width']>0x0&&_0x2bb819['contentRect']['height']>0x0&&(_0x1048f7(),clearTimeout(_0x32fcf1),_0x2651d0['disconnect']());});_0x2651d0['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 _0x262abc=extractUuid(this['$']['cdnUrl']),_0x3d7894=createOriginalUrl(this['$']['cdnUrl'],_0x262abc);if(_0x3d7894===this['$']['*originalUrl'])return;this['$']['*originalUrl']=_0x3d7894;const _0x3014d0=operationsToTransformations(extractOperations(this['$']['cdnUrl']));this['$']['*editorTransformations']=_0x3014d0;}else{if(!this['$']['uuid'])throw new Error('No\x20UUID\x20nor\x20CDN\x20URL\x20provided');{const _0x1f5270=createOriginalUrl(this['cfg']['cdnCname'],this['$']['uuid']);if(_0x1f5270===this['$']['*originalUrl'])return;this['$']['*originalUrl']=_0x1f5270,this['$']['*editorTransformations']={};}}this['$']['*tabId']===_0x43ff2d['CROP']?this['$']['*cropperEl']['deactivate']({'reset':!0x0}):this['$']['*faderEl']['deactivate']();try{const _0xeb09d6=await this['proxyUrl'](createCdnUrl(this['$']['*originalUrl'],createCdnUrlModifiers('json'))),_0x3a3594=await fetch(_0xeb09d6)['then'](_0x11aa59=>_0x11aa59['json']()),{width:_0x5fb54b,height:_0x5784a7}=_0x3a3594;this['$']['*imageSize']={'width':_0x5fb54b,'height':_0x5784a7},this['$']['*tabId']===_0x43ff2d['CROP']?this['$']['*cropperEl']['activate'](this['$']['*imageSize']):this['$']['*faderEl']['activate']({'url':this['$']['*originalUrl']});}catch(_0x598588){_0x598588&&console['error']('Failed\x20to\x20load\x20image\x20info',_0x598588);}}}async['initEditor'](){try{await this['_waitForSize']();}catch(_0xd5d7df){return void(this['isConnected']&&console['error'](_0xd5d7df['message']));}this['ref']['img-el']['addEventListener']('load',()=>{this['_imgLoading']=!0x1,this['_debouncedShowLoader'](!0x1),this['$']['src']!==_0x46054e&&(this['$']['*networkProblems']=!0x1);}),this['ref']['img-el']['addEventListener']('error',()=>{this['_imgLoading']=!0x1,this['_debouncedShowLoader'](!0x1),this['$']['*networkProblems']=!0x0;}),this['sub']('src',_0x597558=>{let _0xff8efb=this['ref']['img-el'];_0xff8efb['src']!==_0x597558&&(this['_imgLoading']=!0x0,_0xff8efb['src']=_0x597558||_0x46054e);}),this['sub']('cropPreset',_0x13fe13=>{this['$']['*cropPresetList']=parseCropPreset(_0x13fe13);}),this['sub']('tabs',_0x2bb5c4=>{this['$']['*tabList']=_0x355d92(_0x2bb5c4);}),this['sub']('*tabId',_0x2e8498=>{this['ref']['img-el']['className']=_0x2a9f0f('uc-image',{'uc-image_hidden_to_cropper':_0x2e8498===_0x43ff2d['CROP'],'uc-image_hidden_effects':_0x2e8498!==_0x43ff2d['CROP']});}),this['classList']['add']('uc-editor_ON'),this['sub']('*networkProblems',_0x436134=>{this['$']['presence.networkProblems']=_0x436134,this['$']['presence.modalCaption']=!_0x436134;}),this['sub']('*editorTransformations',_0x443a11=>{if(0x0===Object['keys'](_0x443a11)['length'])return;let _0x1556f5=this['$']['*originalUrl'],_0x47972a=createCdnUrlModifiers(transformationsToOperations(_0x443a11),'preview'),_0x56066e={'originalUrl':_0x1556f5,'cdnUrlModifiers':_0x47972a,'cdnUrl':createCdnUrl(_0x1556f5,_0x47972a),'transformations':_0x443a11};this['dispatchEvent'](new CustomEvent('change',{'detail':_0x56066e,'bubbles':!0x0,'composed':!0x0}));},!0x1),this['sub']('uuid',_0x361529=>_0x361529&&this['updateImage']()),this['sub']('cdnUrl',_0x3d397e=>_0x3d397e&&this['updateImage']());}}CloudImageEditorBlock['template']=_0x28f6dc,CloudImageEditorBlock['bindAttributes']({'uuid':'uuid','cdn-url':'cdnUrl','crop-preset':'cropPreset','tabs':'tabs'});class _0x3dc002 extends _0x337de7{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'](_0x5895dc){let _0x3b5206=this['$']['*imageBox'];if(!_0x3b5206)return;if(''===_0x5895dc&&_0x3b5206['height']<=_0x3e1039&&_0x3b5206['width']<=_0x3e1039)return!0x0;let _0x52cda3=_0x3b5206['height']<=_0x3e1039&&(_0x5895dc['includes']('n')||_0x5895dc['includes']('s')),_0x5f2f02=_0x3b5206['width']<=_0x3e1039&&(_0x5895dc['includes']('e')||_0x5895dc['includes']('w'));return _0x52cda3||_0x5f2f02;}['_createBackdrop'](){let _0x14fc17=this['$']['*cropBox'];if(!_0x14fc17)return;let {x:_0x582f83,y:_0x1faf30,width:_0x854272,height:_0x1f3c98}=_0x14fc17,_0x29476f=this['ref']['svg-el'],_0x51276c=createSvgNode('mask',{'id':'backdrop-mask'}),_0x108023=createSvgNode('rect',{'x':0x0,'y':0x0,'width':'100%','height':'100%','fill':'white'}),_0x41a8e5=createSvgNode('rect',{'x':_0x582f83,'y':_0x1faf30,'width':_0x854272,'height':_0x1f3c98,'fill':'black'});_0x51276c['appendChild'](_0x108023),_0x51276c['appendChild'](_0x41a8e5);let _0x1c69d7=createSvgNode('rect',{'x':0x0,'y':0x0,'width':'100%','height':'100%','fill':'var(--color-image-background)','fill-opacity':0.85,'mask':'url(#backdrop-mask)'});_0x29476f['appendChild'](_0x1c69d7),_0x29476f['appendChild'](_0x51276c),this['_backdropMask']=_0x51276c,this['_backdropMaskInner']=_0x41a8e5;}['_resizeBackdrop'](){this['_backdropMask']&&(this['_backdropMask']['style']['display']='none',window['requestAnimationFrame'](()=>{this['_backdropMask']&&(this['_backdropMask']['style']['display']='block');}));}['_updateBackdrop'](){let _0x2244c1=this['$']['*cropBox'];if(!_0x2244c1)return;let {x:_0x126a4f,y:_0x2113fc,width:_0x288ff0,height:_0x5b10ef}=_0x2244c1;this['_backdropMaskInner']&&setSvgNodeAttrs(this['_backdropMaskInner'],{'x':_0x126a4f,'y':_0x2113fc,'width':_0x288ff0,'height':_0x5b10ef});}['_updateFrame'](){let _0x35c1b4=this['$']['*cropBox'];if(_0x35c1b4&&this['_frameGuides']&&this['_frameThumbs']){for(let _0x3db80a of Object['values'](this['_frameThumbs'])){let {direction:_0x594095,pathNode:_0x577549,interactionNode:_0x4653d0,groupNode:_0x216582}=_0x3db80a,_0x3fa13f=''===_0x594095,_0x41e1ce=0x2===_0x594095['length'],{x:_0x3e216a,y:_0x4c1c4c,width:_0x414ccc,height:_0x341d79}=_0x35c1b4;if(_0x3fa13f)setSvgNodeAttrs(_0x4653d0,{'x':_0x3e216a,'y':_0x4c1c4c,'width':_0x414ccc,'height':_0x341d79});else{const _0x1ae8ae=_0x441d4f(Math['min'](_0x414ccc,_0x341d79)/(0x2*_0x4727fd+_0x2f5e41)/0x2,0x0,0x1);let {d:_0x5597b2,center:_0x4ff951}=_0x41e1ce?cornerPath(_0x35c1b4,_0x594095,_0x1ae8ae):sidePath(_0x35c1b4,_0x594095,_0x1ae8ae);const _0x525cac=Math['max'](_0x4f9cf6*_0x441d4f(Math['min'](_0x414ccc,_0x341d79)/_0x4f9cf6/0x3,0x0,0x1),_0x28a799);setSvgNodeAttrs(_0x4653d0,{'x':_0x4ff951[0x0]-_0x525cac,'y':_0x4ff951[0x1]-_0x525cac,'width':0x2*_0x525cac,'height':0x2*_0x525cac}),setSvgNodeAttrs(_0x577549,{'d':_0x5597b2});}let _0x599fb3=this['_shouldThumbBeDisabled'](_0x594095);_0x216582['setAttribute']('class',_0x2a9f0f('uc-thumb',{'uc-thumb--hidden':_0x599fb3,'uc-thumb--visible':!_0x599fb3}));}setSvgNodeAttrs(this['_frameGuides'],{'x':_0x35c1b4['x']-0.5*_0x40c57b,'y':_0x35c1b4['y']-0.5*_0x40c57b,'width':_0x35c1b4['width']+_0x40c57b,'height':_0x35c1b4['height']+_0x40c57b});}}['_createThumb'](_0xbbc59b,_0x2416a8){let _0x55d13f=createSvgNode('g');_0x55d13f['classList']['add']('uc-thumb'),_0x55d13f['setAttribute']('with-effects','');let _0xc5e5e9=createSvgNode('rect',{'fill':'transparent'}),_0x27ea88=createSvgNode('path',{'stroke':'currentColor','fill':'none','stroke-width':_0xe6ac8c});_0x55d13f['appendChild'](_0x27ea88),_0x55d13f['appendChild'](_0xc5e5e9),_0xbbc59b[_0x2416a8]={'direction':_0x2416a8,'pathNode':_0x27ea88,'interactionNode':_0xc5e5e9,'groupNode':_0x55d13f},''===_0x2416a8&&(_0x55d13f['style']['cursor']='move'),_0xc5e5e9['addEventListener']('pointerdown',this['_handlePointerDown']['bind'](this,_0x2416a8));}['_createThumbs'](){const _0x3372c5={};for(let _0x2519d7=0x0;_0x2519d7<0x3;_0x2519d7++)for(let _0xddcd04=0x0;_0xddcd04<0x3;_0xddcd04++){let _0x4b4ac4=''+['n','','s'][_0x2519d7]+['w','','e'][_0xddcd04];''!==_0x4b4ac4&&this['_createThumb'](_0x3372c5,_0x4b4ac4);}return this['_createThumb'](_0x3372c5,''),_0x3372c5;}['_createGuides'](){let _0x320484=createSvgNode('svg'),_0x1ecf8e=createSvgNode('rect',{'x':0x0,'y':0x0,'width':'100%','height':'100%','fill':'none','stroke':'currentColor','stroke-width':_0x40c57b,'stroke-opacity':0.5});_0x320484['appendChild'](_0x1ecf8e);for(let _0x1d3271=0x1;_0x1d3271<=0x2;_0x1d3271++){let _0x3f3517=createSvgNode('line',{'x1':_0x342cde*_0x1d3271+'%','y1':'0%','x2':_0x342cde*_0x1d3271+'%','y2':'100%','stroke':'currentColor','stroke-width':_0x40c57b,'stroke-opacity':0.3});_0x320484['appendChild'](_0x3f3517);}for(let _0xbcc236=0x1;_0xbcc236<=0x2;_0xbcc236++){let _0x3a316c=createSvgNode('line',{'x1':'0%','y1':_0x342cde*_0xbcc236+'%','x2':'100%','y2':_0x342cde*_0xbcc236+'%','stroke':'currentColor','stroke-width':_0x40c57b,'stroke-opacity':0.3});_0x320484['appendChild'](_0x3a316c);}return _0x320484['classList']['add']('uc-guides','uc-guides--semi-hidden'),_0x320484;}['_createFrame'](){let _0x4aa5fe=this['ref']['svg-el'],_0x790640=document['createDocumentFragment'](),_0xcd6c75=this['_createGuides']();_0x790640['appendChild'](_0xcd6c75);let _0x5bab09=this['_createThumbs']();for(let {groupNode:_0xe7aa07}of Object['values'](_0x5bab09))_0x790640['appendChild'](_0xe7aa07);_0x4aa5fe['appendChild'](_0x790640),this['_frameThumbs']=_0x5bab09,this['_frameGuides']=_0xcd6c75;}['_handlePointerDown'](_0x386662,_0x265014){if(!this['_frameThumbs'])return;let _0x5315e6=this['_frameThumbs'][_0x386662];if(this['_shouldThumbBeDisabled'](_0x386662))return;let _0x238454=this['$']['*cropBox'],{x:_0x4934f2,y:_0x5219fe}=this['ref']['svg-el']['getBoundingClientRect'](),_0x344866=_0x265014['x']-_0x4934f2,_0x360c1b=_0x265014['y']-_0x5219fe;this['$']['dragging']=!0x0,this['_draggingThumb']=_0x5315e6,this['_dragStartPoint']=[_0x344866,_0x360c1b],this['_dragStartCrop']={..._0x238454};}['_handlePointerUp_'](_0x526470){this['_updateCursor'](),this['$']['dragging']&&(_0x526470['stopPropagation'](),_0x526470['preventDefault'](),this['$']['dragging']=!0x1);}['_handlePointerMove_'](_0x35c778){if(!this['$']['dragging']||!this['_dragStartPoint']||!this['_draggingThumb'])return;_0x35c778['stopPropagation'](),_0x35c778['preventDefault']();let _0x5f0a6b=this['ref']['svg-el'],{x:_0x34953a,y:_0x5bca45}=_0x5f0a6b['getBoundingClientRect'](),_0x2f67af=_0x35c778['x']-_0x34953a,_0x3790fe=_0x35c778['y']-_0x5bca45,_0x10adc2=_0x2f67af-this['_dragStartPoint'][0x0],_0x18a451=_0x3790fe-this['_dragStartPoint'][0x1],{direction:_0x104551}=this['_draggingThumb'];const _0x5d2814=this['_calcCropBox'](_0x104551,[_0x10adc2,_0x18a451]);_0x5d2814&&(this['$']['*cropBox']=_0x5d2814);}['_calcCropBox'](_0x392b10,_0x57f837){const [_0x41cf56,_0xa99d39]=_0x57f837;let _0x33e727=this['$']['*imageBox'],_0x47ce85=this['_dragStartCrop']??this['$']['*cropBox'];const _0xbebd70=this['$']['*cropPresetList']?.[0x0],_0x4e5bf1=_0xbebd70?_0xbebd70['width']/_0xbebd70['height']:void 0x0;if(_0x47ce85=''===_0x392b10?moveRect({'rect':_0x47ce85,'delta':[_0x41cf56,_0xa99d39],'imageBox':_0x33e727}):resizeRect({'rect':_0x47ce85,'delta':[_0x41cf56,_0xa99d39],'direction':_0x392b10,'aspectRatio':_0x4e5bf1,'imageBox':_0x33e727}),Object['values'](_0x47ce85)['every'](_0x3f98ea=>Number['isFinite'](_0x3f98ea)&&_0x3f98ea>=0x0))return constraintRect(roundRect(_0x47ce85),this['$']['*imageBox']);console['error']('CropFrame\x20is\x20trying\x20to\x20create\x20invalid\x20rectangle',{'payload':_0x47ce85});}['_handleSvgPointerMove_'](_0x3d1c6a){if(!this['_frameThumbs'])return;let _0x358144=Object['values'](this['_frameThumbs'])['find'](_0x144546=>{if(this['_shouldThumbBeDisabled'](_0x144546['direction']))return!0x1;let _0x5c4fb7=_0x144546['interactionNode']['getBoundingClientRect']();return rectContainsPoint({'x':_0x5c4fb7['x'],'y':_0x5c4fb7['y'],'width':_0x5c4fb7['width'],'height':_0x5c4fb7['height']},[_0x3d1c6a['x'],_0x3d1c6a['y']]);});this['_hoverThumb']=_0x358144,this['_updateCursor']();}['_updateCursor'](){let _0x2c308b=this['_hoverThumb'];this['ref']['svg-el']['style']['cursor']=_0x2c308b?thumbCursor(_0x2c308b['direction']):'initial';}['_createMask'](_0x41135d){if(this['_frameImage'])return void this['_frameImage']['setAttribute']('href',_0x41135d);let _0x587670=this['ref']['svg-el'],_0xac1e3b=document['createDocumentFragment'](),_0x2a2d64=createSvgNode('image',{'href':_0x41135d});_0x2a2d64['setAttribute']('class','uc-cloud-mask'),_0xac1e3b['appendChild'](_0x2a2d64),_0x587670['appendChild'](_0xac1e3b),this['_frameImage']=_0x2a2d64;}['_updateMask'](){let _0x569bb4=this['$']['*cropBox'];if(!_0x569bb4||!this['_frameImage'])return;let {x:_0xcc2551,y:_0x24a267,width:_0x31c686,height:_0x4ee93f}=_0x569bb4;setSvgNodeAttrs(this['_frameImage'],{'x':_0xcc2551,'y':_0x24a267,'height':_0x4ee93f,'width':_0x31c686});}['_render'](){this['_updateBackdrop'](),this['_updateFrame'](),this['_updateMask']();}['toggleThumbs'](_0x504311){this['_frameThumbs']&&Object['values'](this['_frameThumbs'])['map'](({groupNode:_0x3f6c7e})=>_0x3f6c7e)['forEach'](_0x22c804=>{_0x22c804['setAttribute']('class',_0x2a9f0f('uc-thumb',{'uc-thumb--hidden':!_0x504311,'uc-thumb--visible':_0x504311}));});}['initCallback'](){super['initCallback'](),this['_createBackdrop'](),this['_createFrame'](),this['sub']('*imageBox',()=>{this['_resizeBackdrop'](),window['requestAnimationFrame'](()=>{this['_render']();});}),this['sub']('*cropBox',_0x999ce4=>{_0x999ce4&&(this['_guidesHidden']=_0x999ce4['height']<=_0x3e1039||_0x999ce4['width']<=_0x3e1039,window['requestAnimationFrame'](()=>{this['_render']();}));}),this['subConfigValue']('cloudImageEditorMaskHref',_0x483a2f=>{_0x483a2f&&this['_createMask'](_0x483a2f);}),this['sub']('dragging',_0x28f45e=>{this['_frameGuides']&&this['_frameGuides']['setAttribute']('class',_0x2a9f0f({'uc-guides--hidden':this['_guidesHidden'],'uc-guides--visible':!this['_guidesHidden']&&_0x28f45e,'uc-guides--semi-hidden':!this['_guidesHidden']&&!_0x28f45e}));}),this['ref']['svg-el']['addEventListener']('pointermove',this['_handleSvgPointerMove'],!0x0),document['addEventListener']('pointermove',this['_handlePointerMove'],!0x0),document['addEventListener']('pointerup',this['_handlePointerUp'],!0x0);}['destroyCallback'](){super['destroyCallback'](),document['removeEventListener']('pointermove',this['_handlePointerMove']),document['removeEventListener']('pointerup',this['_handlePointerUp']);}}_0x3dc002['template']='\x20<svg\x20class=\x22uc-svg\x22\x20ref=\x22svg-el\x22\x20xmlns=\x22http://www.w3.org/2000/svg\x22></svg>\x20';class EditorButtonControl extends _0x337de7{['init$']={...this['init$'],'active':!0x1,'title':'','icon':'','on.click':null,'title-prop':''};['initCallback'](){super['initCallback'](),this['_titleEl']=this['ref']['title-el'],this['_iconEl']=this['ref']['icon-el'],this['sub']('title',_0x3d5989=>{this['_titleEl']&&(this['_titleEl']['style']['display']=_0x3d5989?'block':'none');}),this['sub']('active',_0x3f1064=>{this['className']=_0x2a9f0f({'uc-active':_0x3f1064,'uc-not_active':!_0x3f1064});}),this['sub']('on.click',_0x48a7b3=>{this['onclick']=_0x48a7b3;});}}function nextAngle(_0x541836){let _0x224307=_0x541836+0x5a;return _0x224307=_0x224307>=0x168?0x0:_0x224307,_0x224307;}function nextValue(_0x410761,_0xd08dc2){return'rotate'===_0x410761?nextAngle(_0xd08dc2):['mirror','flip']['includes'](_0x410761)?!_0xd08dc2: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\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';class EditorCropButtonControl extends EditorButtonControl{['initCallback'](){super['initCallback'](),this['defineAccessor']('operation',_0x519c31=>{_0x519c31&&(this['_operation']=_0x519c31,this['$']['icon']=_0x519c31,this['bindL10n']('title-prop',()=>this['l10n']('a11y-cloud-editor-apply-crop',{'name':this['l10n'](_0x519c31)['toLowerCase']()})));}),this['$']['on.click']=()=>{let _0x201a95=this['$']['*cropperEl']['getValue'](this['_operation']),_0x2bd6e5=nextValue(this['_operation'],_0x201a95);this['$']['*cropperEl']['setValue'](this['_operation'],_0x2bd6e5);};}}const ControlType={'FILTER':'filter','COLOR_OPERATION':'color_operation'},_0x9da51e='original';class EditorSlider extends _0x337de7{['init$']={...this['init$'],'disabled':!0x1,'min':0x0,'max':0x64,'value':0x0,'defaultValue':0x0,'zero':0x0,'on.input':e=>{this['$']['*faderEl']['set'](e),this['$']['value']=e;}};['setOperation'](_0x5fb4c8,_0x18e593){this['_controlType']='filter'===_0x5fb4c8?ControlType['FILTER']:ControlType['COLOR_OPERATION'],this['_operation']=_0x5fb4c8,this['_iconName']=_0x5fb4c8,this['_title']=_0x5fb4c8['toUpperCase'](),this['_filter']=_0x18e593,this['_initializeValues'](),this['$']['*faderEl']['activate']({'url':this['$']['*originalUrl'],'operation':this['_operation'],'value':this['_filter']===_0x9da51e?void 0x0:this['$']['value'],'filter':this['_filter']===_0x9da51e?void 0x0:this['_filter'],'fromViewer':!0x1});}['_initializeValues'](){let {range:_0x6d9e63,zero:_0x1044ed}=_0x377cb5[this['_operation']],[_0xc9a68f,_0x9eeb4c]=_0x6d9e63;this['$']['min']=_0xc9a68f,this['$']['max']=_0x9eeb4c,this['$']['zero']=_0x1044ed;let _0x5a32c1=this['$']['*editorTransformations'][this['_operation']];if(this['_controlType']===ControlType['FILTER']){let _0x481dff=_0x9eeb4c;if(_0x5a32c1){let {name:_0xe28557,amount:_0x48a66c}=_0x5a32c1;_0x481dff=_0xe28557===this['_filter']?_0x48a66c:_0x9eeb4c;}this['$']['value']=_0x481dff,this['$']['defaultValue']=_0x481dff;}if(this['_controlType']===ControlType['COLOR_OPERATION']){let _0x2d5299=void 0x0!==_0x5a32c1?_0x5a32c1:_0x1044ed;this['$']['value']=_0x2d5299,this['$']['defaultValue']=_0x2d5299;}}['apply'](){let _0x234b64;_0x234b64=this['_controlType']===ControlType['FILTER']?this['_filter']===_0x9da51e?null:{'name':this['_filter'],'amount':this['$']['value']}:this['$']['value'];let _0x22036c={...this['$']['*editorTransformations'],[this['_operation']]:_0x234b64};this['$']['*editorTransformations']=_0x22036c;}['cancel'](){this['$']['*faderEl']['deactivate']({'hide':!0x1});}['initCallback'](){super['initCallback'](),this['sub']('*originalUrl',_0x1f6292=>{this['_originalUrl']=_0x1f6292;}),this['sub']('value',_0x2c9afd=>{let _0x57f518=(this['_filter']||this['_operation'])+'\x20'+_0x2c9afd;this['$']['*operationTooltip']=_0x57f518;});}}function _0x469bc9(_0x245c7c){let _0x4b01b8=new Image();return{'promise':new Promise((_0x37df59,_0x598f20)=>{_0x4b01b8['src']=_0x245c7c,_0x4b01b8['onload']=_0x37df59,_0x4b01b8['onerror']=_0x598f20;}),'image':_0x4b01b8,'cancel':()=>{0x0===_0x4b01b8['naturalWidth']&&(_0x4b01b8['src']=_0x46054e);}};}function batchPreloadImages(_0x52c3a5){let _0x20547b=[];for(let _0x29c9c2 of _0x52c3a5){let _0x5aead3=_0x469bc9(_0x29c9c2);_0x20547b['push'](_0x5aead3);}let _0x3db4e6=_0x20547b['map'](_0x4c19d3=>_0x4c19d3['image']);return{'promise':Promise['allSettled'](_0x20547b['map'](_0x2bb372=>_0x2bb372['promise'])),'images':_0x3db4e6,'cancel':()=>{_0x20547b['forEach'](_0x3a593f=>{_0x3a593f['cancel']();});}};}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';class EditorFilterControl extends EditorButtonControl{constructor(){super(),this['init$']={...this['init$'],'active':!0x1,'title':'','icon':'','isOriginal':!0x1,'iconSize':'20','on.click':null};}['_previewSrc'](){let _0x1dbe70=parseInt(window['getComputedStyle'](this)['getPropertyValue']('--l-base-min-width'),0xa),_0x12aa98=window['devicePixelRatio'],_0x370bb8=Math['ceil'](_0x12aa98*_0x1dbe70),_0x48a001=_0x12aa98>=0x2?'lightest':'normal',_0x2f5e6c={...this['$']['*editorTransformations']};return _0x2f5e6c[this['_operation']]=this['_filter']!==_0x9da51e?{'name':this['_filter'],'amount':0x64}:void 0x0,createCdnUrl(this['_originalUrl'],createCdnUrlModifiers(_0x1b6c3b,transformationsToOperations(_0x2f5e6c),'quality/'+_0x48a001,'scale_crop/'+_0x370bb8+'x'+_0x370bb8+'/center'));}async['_observerCallback'](_0x564392,_0x1c69a8){if(_0x564392[0x0]['isIntersecting']){let _0x2b3877=await this['proxyUrl'](this['_previewSrc']()),_0x548759=this['ref']['preview-el'],{promise:_0x39b85b,cancel:_0x50db50}=_0x469bc9(_0x2b3877);this['_cancelPreload']=_0x50db50,_0x39b85b['catch'](_0x222334=>{this['$']['*networkProblems']=!0x0,console['error']('Failed\x20to\x20load\x20image',{'error':_0x222334});})['finally'](()=>{_0x548759['style']['backgroundImage']='url('+_0x2b3877+')',_0x548759['setAttribute']('loaded',''),_0x1c69a8['unobserve'](this);});}else this['_cancelPreload']?.();}['initCallback'](){super['initCallback'](),this['$']['on.click']=()=>{this['$']['active']?this['$']['isOriginal']||(this['$']['*sliderEl']['setOperation'](this['_operation'],this['_filter']),this['$']['*showSlider']=!0x0):(this['$']['*sliderEl']['setOperation'](this['_operation'],this['_filter']),this['$']['*sliderEl']['apply']()),this['$']['*currentFilter']=this['_filter'];},this['defineAccessor']('filter',_0x1132c2=>{this['_operation']='filter',this['_filter']=_0x1132c2,this['$']['isOriginal']=_0x1132c2===_0x9da51e,this['$']['icon']=this['$']['isOriginal']?'original':'slider',this['bindL10n']('title-prop',()=>this['l10n']('a11y-cloud-editor-apply-filter',{'name':_0x1132c2['toLowerCase']()}));}),this['_observer']=new window['IntersectionObserver'](this['_observerCallback']['bind'](this),{'threshold':[0x0,0x1]});let _0x4ca9d2=this['$']['*originalUrl'];this['_originalUrl']=_0x4ca9d2,this['$']['isOriginal']?this['ref']['icon-el']['classList']['add']('uc-original-icon'):this['_observer']['observe'](this),this['sub']('*currentFilter',_0x2694e0=>{this['$']['active']=_0x2694e0&&_0x2694e0===this['_filter'];}),this['sub']('isOriginal',_0xbf36af=>{this['$']['iconSize']=_0xbf36af?0x28:0x14;}),this['sub']('active',_0x76867f=>{if(this['$']['isOriginal'])return;this['ref']['icon-el']['style']['opacity']=_0x76867f?'1':'0';let _0x38571d=this['ref']['preview-el'];_0x76867f?_0x38571d['style']['opacity']='0':_0x38571d['style']['backgroundImage']&&(_0x38571d['style']['opacity']='1');}),this['sub']('*networkProblems',async _0x5f5d47=>{if(!_0x5f5d47){let _0x379001=await this['proxyUrl'](this['_previewSrc']()),_0x52c2ea=this['ref']['preview-el'];_0x52c2ea['style']['backgroundImage']&&(_0x52c2ea['style']['backgroundImage']='none',_0x52c2ea['style']['backgroundImage']='url('+_0x379001+')');}});}['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';class EditorOperationControl extends EditorButtonControl{['_operation']='';['initCallback'](){super['initCallback'](),this['$']['on.click']=_0x2806d0=>{this['$']['*sliderEl']['setOperation'](this['_operation']),this['$']['*showSlider']=!0x0,this['$']['*currentOperation']=this['_operation'];},this['defineAccessor']('operation',_0x4b6833=>{_0x4b6833&&(this['_operation']=_0x4b6833,this['$']['icon']=_0x4b6833,this['bindL10n']('title-prop',()=>this['l10n']('a11y-cloud-editor-apply-tuning',{'name':this['l10n'](_0x4b6833)['toLowerCase']()})),this['bindL10n']('title',()=>this['l10n'](_0x4b6833)));}),this['sub']('*editorTransformations',_0x3f0a89=>{if(!this['_operation'])return;let {zero:_0x6fa8a0}=_0x377cb5[this['_operation']],_0x51f762=_0x3f0a89[this['_operation']],_0x2abf80=void 0x0!==_0x51f762&&_0x51f762!==_0x6fa8a0;this['$']['active']=_0x2abf80;});}}function _0x6e0c5e(_0x3f373a,_0xbf700c){let _0xc4da17={};for(let _0x383a4b of _0xbf700c){let _0x3c9568=_0x3f373a[_0x383a4b];(_0x3f373a['hasOwnProperty'](_0x383a4b)||void 0x0!==_0x3c9568)&&(_0xc4da17[_0x383a4b]=_0x3c9568);}return _0xc4da17;}function _0x55ddbe(_0x2a0111,_0x26dd48,_0x27a012){let _0x3ec84f=window['devicePixelRatio'],_0x37796c=Math['min'](Math['ceil'](_0x26dd48*_0x3ec84f),0xbb8),_0x369da7=_0x3ec84f>=0x2?'lightest':'normal';return createCdnUrl(_0x2a0111,createCdnUrlModifiers(_0x1b6c3b,transformationsToOperations(_0x27a012),'quality/'+_0x369da7,'stretch/off/-/resize/'+_0x37796c+'x','@clib/'+_0x568ae1+'/'+_0x5b610b+'/uc-cloud-image-editor/'));}function validateCrop(_0x4ec13c){if(!_0x4ec13c)return!0x0;let _0x361a45=[({dimensions:_0x101b43,coords:_0x1408d9})=>[..._0x101b43,..._0x1408d9]['every'](_0x3282d0=>Number['isInteger'](_0x3282d0)&&Number['isFinite'](_0x3282d0)),({dimensions:_0x3031ef,coords:_0x1665c3})=>_0x3031ef['every'](_0x3bfb37=>_0x3bfb37>0x0)&&_0x1665c3['every'](_0x2ba099=>_0x2ba099>=0x0)];return _0x361a45['every'](_0x3dc8a0=>_0x3dc8a0(_0x4ec13c));}class EditorImageCropper extends _0x337de7{['ctxOwner']=!0x0;constructor(){super(),this['init$']={...this['init$'],'image':null,'*padding':_0x5cce8d,'*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']=_0x31f04e(this['_commit']['bind'](this),0x12c),this['_handleResizeThrottled']=throttle(this['_handleResize']['bind'](this),0x64),this['_imageSize']={'width':0x0,'height':0x0};}['_handleResize'](){this['isConnected']&&this['_isActive']&&(this['_initCanvas'](),this['_syncTransformations'](),this['_alignImage'](),this['_alignCrop'](),this['_draw']());}['_syncTransformations'](){let _0x1964b4=_0x6e0c5e(this['$']['*editorTransformations'],Object['keys'](this['$']['*operations'])),_0x4a8688={...this['$']['*operations'],..._0x1964b4};this['$']['*operations']=_0x4a8688;}['_initCanvas'](){let _0x588cdd=this['ref']['canvas-el'],_0x230b38=_0x588cdd['getContext']('2d'),_0x521e0a=this['offsetWidth'],_0x3d3289=this['offsetHeight'],_0x2fc5aa=window['devicePixelRatio'];_0x588cdd['style']['width']=_0x521e0a+'px',_0x588cdd['style']['height']=_0x3d3289+'px',_0x588cdd['width']=_0x521e0a*_0x2fc5aa,_0x588cdd['height']=_0x3d3289*_0x2fc5aa,_0x230b38?.['scale'](_0x2fc5aa,_0x2fc5aa),this['_canvas']=_0x588cdd,this['_ctx']=_0x230b38;}['_alignImage'](){if(!this['_isActive']||!this['$']['image'])return;let _0x2883e6,_0x25d917=this['$']['image'],_0x5140f8=this['$']['*padding'],_0x5872f9=this['$']['*operations'],{rotate:_0x3a960a}=_0x5872f9,_0x2ea1f8=this['offsetWidth'],_0xd8bc64=this['offsetHeight'],_0x2b25ad=rotateSize({'width':_0x25d917['naturalWidth'],'height':_0x25d917['naturalHeight']},_0x3a960a);if(_0x2b25ad['width']>_0x2ea1f8-0x2*_0x5140f8||_0x2b25ad['height']>_0xd8bc64-0x2*_0x5140f8){let _0x4d1ede=_0x2b25ad['width']/_0x2b25ad['height'];if(_0x4d1ede>_0x2ea1f8/_0xd8bc64){let _0x2e3e32=_0x2ea1f8-0x2*_0x5140f8,_0x3ce6e2=_0x2e3e32/_0x4d1ede;_0x2883e6={'x':0x0+_0x5140f8,'y':_0x5140f8+(_0xd8bc64-0x2*_0x5140f8)/0x2-_0x3ce6e2/0x2,'width':_0x2e3e32,'height':_0x3ce6e2};}else{let _0x17a0ea=_0xd8bc64-0x2*_0x5140f8,_0x40cc1a=_0x17a0ea*_0x4d1ede;_0x2883e6={'x':_0x5140f8+(_0x2ea1f8-0x2*_0x5140f8)/0x2-_0x40cc1a/0x2,'y':0x0+_0x5140f8,'width':_0x40cc1a,'height':_0x17a0ea};}}else{let {width:_0x9c3f78,height:_0x5681fc}=_0x2b25ad;_0x2883e6={'x':_0x5140f8+(_0x2ea1f8-0x2*_0x5140f8)/0x2-_0x9c3f78/0x2,'y':_0x5140f8+(_0xd8bc64-0x2*_0x5140f8)/0x2-_0x5681fc/0x2,'width':_0x9c3f78,'height':_0x5681fc};}this['$']['*imageBox']=roundRect(_0x2883e6);}['_alignCrop'](){let _0xe8e733=this['$']['*cropBox'],_0x547b65=this['$']['*imageBox'],_0x1a33e9=this['$']['*operations'],{rotate:_0x150dc1}=_0x1a33e9,_0x35f9a7=this['$']['*editorTransformations']['crop'],{width:_0x4f7246,x:_0x18187a,y:_0x8b53e7}=this['$']['*imageBox'];if(_0x35f9a7){let {dimensions:[_0x35c604,_0x4c4386],coords:[_0xebc6c6,_0x2e6334]}=_0x35f9a7,{width:_0x299466}=rotateSize(this['_imageSize'],_0x150dc1),_0x4e9c49=_0x4f7246/_0x299466;_0xe8e733=constraintRect(roundRect({'x':_0x18187a+_0xebc6c6*_0x4e9c49,'y':_0x8b53e7+_0x2e6334*_0x4e9c49,'width':_0x35c604*_0x4e9c49,'height':_0x4c4386*_0x4e9c49}),this['$']['*imageBox']);}const _0x4f6baa=this['$']['*cropPresetList']?.[0x0],_0x2a8443=_0x4f6baa?_0x4f6baa['width']/_0x4f6baa['height']:void 0x0;if(!isRectInsideRect(_0xe8e733,_0x547b65)||_0x2a8443&&!isRectMatchesAspectRatio(_0xe8e733,_0x2a8443)){const _0x2b58ad=_0x547b65['width']/_0x547b65['height'];let _0x10fedb=_0x547b65['width'],_0x1c6069=_0x547b65['height'];_0x2a8443&&(_0x2b58ad>_0x2a8443?_0x10fedb=Math['min'](_0x547b65['height']*_0x2a8443,_0x547b65['width']):_0x1c6069=Math['min'](_0x547b65['width']/_0x2a8443,_0x547b65['height'])),_0xe8e733={'x':_0x547b65['x']+_0x547b65['width']/0x2-_0x10fedb/0x2,'y':_0x547b65['y']+_0x547b65['height']/0x2-_0x1c6069/0x2,'width':_0x10fedb,'height':_0x1c6069};}this['$']['*cropBox']=constraintRect(roundRect(_0xe8e733),this['$']['*imageBox']);}['_drawImage'](){let _0x5287bd=this['_ctx'];if(!_0x5287bd)return;let _0x105125=this['$']['image'],_0x1c0e65=this['$']['*imageBox'],_0x1d8b36=this['$']['*operations'],{mirror:_0x271c95,flip:_0x25e9f8,rotate:_0x10ecf5}=_0x1d8b36,_0x5970b7=rotateSize({'width':_0x1c0e65['width'],'height':_0x1c0e65['height']},_0x10ecf5);_0x5287bd['save'](),_0x5287bd['translate'](_0x1c0e65['x']+_0x1c0e65['width']/0x2,_0x1c0e65['y']+_0x1c0e65['height']/0x2),_0x5287bd['rotate'](_0x10ecf5*Math['PI']*-0x1/0xb4),_0x5287bd['scale'](_0x271c95?-0x1:0x1,_0x25e9f8?-0x1:0x1),_0x5287bd['drawImage'](_0x105125,-_0x5970b7['width']/0x2,-_0x5970b7['height']/0x2,_0x5970b7['width'],_0x5970b7['height']),_0x5287bd['restore']();}['_draw'](){if(!(this['_isActive']&&this['$']['image']&&this['_canvas']&&this['_ctx']))return;let _0x6fc214=this['_canvas'];this['_ctx']['clearRect'](0x0,0x0,_0x6fc214['width'],_0x6fc214['height']),this['_drawImage']();}['_animateIn']({fromViewer:_0x4784d9}){this['$']['image']&&(this['ref']['frame-el']['toggleThumbs'](!0x0),this['_transitionToImage'](),setTimeout(()=>{this['className']=_0x2a9f0f({'uc-active_from_viewer':_0x4784d9,'uc-active_from_editor':!_0x4784d9,'uc-inactive_to_editor':!0x1});}));}['_getCropDimensions'](){let _0x11317e=this['$']['*cropBox'],_0x1fe292=this['$']['*imageBox'],_0x2d5219=this['$']['*operations'],{rotate:_0x2feaf9}=_0x2d5219,{width:_0x5be44a,height:_0x50338b}=_0x1fe292,{width:_0x2010d8,height:_0x4545bd}=rotateSize(this['_imageSize'],_0x2feaf9),{width:_0x22b94a,height:_0x3a0a63}=_0x11317e,_0x1f7794=_0x5be44a/_0x2010d8,_0x2d80bf=_0x50338b/_0x4545bd;return[_0x441d4f(Math['round'](_0x22b94a/_0x1f7794),0x1,_0x2010d8),_0x441d4f(Math['round'](_0x3a0a63/_0x2d80bf),0x1,_0x4545bd)];}['_getCropTransformation'](){let _0x1cead6=this['$']['*cropBox'],_0x21cec8=this['$']['*imageBox'],_0x4ac724=this['$']['*operations'],{rotate:_0x33dd94}=_0x4ac724,{width:_0x485660,height:_0xf62a09,x:_0x5f12a6,y:_0x549735}=_0x21cec8,{width:_0x14b608,height:_0x2adcf6}=rotateSize(this['_imageSize'],_0x33dd94),{x:_0x509b39,y:_0x3c83f9}=_0x1cead6,_0x540d32=_0x485660/_0x14b608,_0x12ecc9=_0xf62a09/_0x2adcf6,_0x5015d1=this['_getCropDimensions'](),_0x5b724e={'dimensions':_0x5015d1,'coords':[_0x441d4f(Math['round']((_0x509b39-_0x5f12a6)/_0x540d32),0x0,_0x14b608-_0x5015d1[0x0]),_0x441d4f(Math['round']((_0x3c83f9-_0x549735)/_0x12ecc9),0x0,_0x2adcf6-_0x5015d1[0x1])]};if(validateCrop(_0x5b724e)){if(_0x5015d1[0x0]!==_0x14b608||_0x5015d1[0x1]!==_0x2adcf6)return _0x5b724e;}else console['error']('Cropper\x20is\x20trying\x20to\x20create\x20invalid\x20crop\x20object',{'payload':_0x5b724e});}['_commit'](){if(!this['isConnected']||!this['_imageSize'])return;let _0x31e749=this['$']['*operations'],{rotate:_0x4bad04,mirror:_0x169e42,flip:_0x4e544a}=_0x31e749,_0x1cc1ac=this['_getCropTransformation'](),_0x6a40a3={...this['$']['*editorTransformations'],'crop':_0x1cc1ac,'rotate':_0x4bad04,'mirror':_0x169e42,'flip':_0x4e544a};this['$']['*editorTransformations']=_0x6a40a3;}['setValue'](_0x5d15ba,_0x5c2477){this['$']['*operations']={...this['$']['*operations'],[_0x5d15ba]:_0x5c2477},this['_isActive']&&(this['_alignImage'](),this['_alignCrop'](),this['_draw']());}['getValue'](_0x4b4cee){return this['$']['*operations'][_0x4b4cee];}async['activate'](_0x4df5d8,{fromViewer:_0xe14e85}={}){if(!this['_isActive']){this['_isActive']=!0x0,this['_imageSize']=_0x4df5d8,this['removeEventListener']('transitionend',this['_reset']);try{this['$']['image']=await this['_waitForImage'](this['$']['*originalUrl'],this['$']['*editorTransformations']),this['_syncTransformations'](),this['_animateIn']({'fromViewer':_0xe14e85});}catch(_0x5c97df){console['error']('Failed\x20to\x20activate\x20cropper',{'error':_0x5c97df});}this['_observer']=new ResizeObserver(([_0x50bb4e])=>{_0x50bb4e['contentRect']['width']>0x0&&_0x50bb4e['contentRect']['height']>0x0&&this['_isActive']&&this['$']['image']&&this['_handleResizeThrottled']();}),this['_observer']['observe'](this);}}['deactivate']({reset:_0xdf701a=!0x1}={}){this['_isActive']&&(!_0xdf701a&&this['_commit'](),this['_isActive']=!0x1,this['_transitionToCrop'](),this['className']=_0x2a9f0f({'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'](){let _0x41cb07=this['_getCropDimensions'](),_0x4c203e=Math['min'](this['offsetWidth'],_0x41cb07[0x0])/this['$']['*cropBox']['width'],_0x477858=Math['min'](this['offsetHeight'],_0x41cb07[0x1])/this['$']['*cropBox']['height'],_0x57ff6c=Math['min'](_0x4c203e,_0x477858),_0x33d132=this['$']['*cropBox']['x']+this['$']['*cropBox']['width']/0x2,_0x17c5d4=this['$']['*cropBox']['y']+this['$']['*cropBox']['height']/0x2;this['style']['transform']='scale('+_0x57ff6c+')\x20translate('+(this['offsetWidth']/0x2-_0x33d132)/_0x57ff6c+'px,\x20'+(this['offsetHeight']/0x2-_0x17c5d4)/_0x57ff6c+'px)',this['style']['transformOrigin']=_0x33d132+'px\x20'+_0x17c5d4+'px';}['_transitionToImage'](){let _0x3d48df=this['$']['*cropBox']['x']+this['$']['*cropBox']['width']/0x2,_0x4d68d6=this['$']['*cropBox']['y']+this['$']['*cropBox']['height']/0x2;this['style']['transform']='scale(1)',this['style']['transformOrigin']=_0x3d48df+'px\x20'+_0x4d68d6+'px';}['_reset'](){this['_isActive']||(this['$']['image']=null);}async['_waitForImage'](_0x3b1839,_0x10c8fa){let _0x4024ce=this['offsetWidth'];_0x10c8fa={..._0x10c8fa,'crop':void 0x0,'rotate':void 0x0,'flip':void 0x0,'mirror':void 0x0};let _0x30120c=await this['proxyUrl'](_0x55ddbe(_0x3b1839,_0x4024ce,_0x10c8fa)),{promise:_0x4f94a4,cancel:_0x30ae0c,image:_0x5125d6}=_0x469bc9(_0x30120c),_0x34bc06=this['_handleImageLoading'](_0x30120c);return _0x5125d6['addEventListener']('load',_0x34bc06,{'once':!0x0}),_0x5125d6['addEventListener']('error',_0x34bc06,{'once':!0x0}),this['_cancelPreload']?.(),this['_cancelPreload']=_0x30ae0c,_0x4f94a4['then'](()=>_0x5125d6)['catch'](_0xa0cab2=>(console['error']('Failed\x20to\x20load\x20image',{'error':_0xa0cab2}),this['$']['*networkProblems']=!0x0,Promise['resolve'](_0x5125d6)));}['_handleImageLoading'](_0x461531){let _0x492336='crop',_0x36ac18=this['$']['*loadingOperations'];return _0x36ac18['get'](_0x492336)||_0x36ac18['set'](_0x492336,new Map()),_0x36ac18['get'](_0x492336)['get'](_0x461531)||(_0x36ac18['set'](_0x492336,_0x36ac18['get'](_0x492336)['set'](_0x461531,!0x0)),this['$']['*loadingOperations']=_0x36ac18),()=>{_0x36ac18?.['get'](_0x492336)?.['has'](_0x461531)&&(_0x36ac18['get'](_0x492336)['delete'](_0x461531),this['$']['*loadingOperations']=_0x36ac18);};}['initCallback'](){super['initCallback'](),this['sub']('*imageBox',()=>{this['_draw']();}),this['sub']('*cropBox',()=>{this['$']['image']&&this['_commitDebounced']();}),this['sub']('*cropPresetList',()=>{this['_alignCrop']();}),setTimeout(()=>{this['sub']('*networkProblems',_0x5ede2f=>{_0x5ede2f||this['_isActive']&&this['activate'](this['_imageSize'],{'fromViewer':!0x1});});},0x0);}['destroyCallback'](){super['destroyCallback'](),this['_observer']?.['disconnect']();}}function _0x484f54(_0x554c1f,_0x29831b,_0x4755cf){let _0x5e0ec6=Array(_0x4755cf);for(let _0x4d933f=--_0x4755cf;_0x4d933f>=0x0;_0x4d933f--)_0x5e0ec6[_0x4d933f]=Math['ceil']((_0x4d933f*_0x29831b+(_0x4755cf-_0x4d933f)*_0x554c1f)/_0x4755cf);return _0x5e0ec6;}function splitBySections(_0x257afb){return _0x257afb['reduce']((_0x255181,_0x3fb327,_0x7876e9)=>_0x7876e9<_0x257afb['length']-0x1?[..._0x255181,[_0x3fb327,_0x257afb[_0x7876e9+0x1]]]:_0x255181,[]);}function calculateOpacities(_0x1073f4,_0x88b95e,_0x463084){let _0x54c5c0=splitBySections(_0x1073f4)['find'](([_0x38e812,_0x3b6375])=>_0x38e812<=_0x88b95e&&_0x88b95e<=_0x3b6375);return _0x1073f4['map'](_0x1536ee=>{let _0x391837=Math['abs'](_0x54c5c0[0x0]-_0x54c5c0[0x1]),_0x466600=Math['abs'](_0x88b95e-_0x54c5c0[0x0])/_0x391837;return _0x54c5c0[0x0]===_0x1536ee?_0x88b95e>_0x463084?0x1:0x1-_0x466600:_0x54c5c0[0x1]===_0x1536ee?_0x88b95e>=_0x463084?_0x466600:0x1:0x0;});}function calculateZIndices(_0x2f3796,_0xa413e5){return _0x2f3796['map']((_0x3558b9,_0x32f368)=>_0x3558b9<_0xa413e5?_0x2f3796['length']-_0x32f368:_0x32f368);}function keypointsRange(_0x3e378d,_0x35187e){let _0x29b320=_0x377cb5[_0x3e378d]['keypointsNumber'],{range:_0x2933c8,zero:_0x1d5363}=_0x377cb5[_0x3e378d];return[...new Set([..._0x484f54(_0x2933c8[0x0],_0x1d5363,_0x29b320+0x1),..._0x484f54(_0x1d5363,_0x2933c8[0x1],_0x29b320+0x1),_0x1d5363,_0x35187e])]['sort']((_0x11c120,_0x1f8156)=>_0x11c120-_0x1f8156);}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';class EditorImageFader extends _0x337de7{constructor(){super(),this['_isActive']=!0x1,this['_hidden']=!0x0,this['_addKeypointDebounced']=_0x31f04e(this['_addKeypoint']['bind'](this),0x258),this['classList']['add']('uc-inactive_to_cropper');}['_handleImageLoading'](_0x41241b){let _0x2f9ac4=this['_operation'],_0x41b765=this['$']['*loadingOperations'];return _0x41b765['get'](_0x2f9ac4)||_0x41b765['set'](_0x2f9ac4,new Map()),_0x41b765['get'](_0x2f9ac4)['get'](_0x41241b)||(_0x41b765['set'](_0x2f9ac4,_0x41b765['get'](_0x2f9ac4)['set'](_0x41241b,!0x0)),this['$']['*loadingOperations']=_0x41b765),()=>{_0x41b765?.['get'](_0x2f9ac4)?.['has'](_0x41241b)&&(_0x41b765['get'](_0x2f9ac4)['delete'](_0x41241b),this['$']['*loadingOperations']=_0x41b765);};}['_flush'](){window['cancelAnimationFrame'](this['_raf']),this['_raf']=window['requestAnimationFrame'](()=>{for(let _0xf1257d of this['_keypoints']){let {image:_0x2313cf}=_0xf1257d;_0x2313cf&&(_0x2313cf['style']['opacity']=_0xf1257d['opacity']['toString'](),_0x2313cf['style']['zIndex']=_0xf1257d['zIndex']['toString']());}});}async['_imageSrc']({url:_0x39dc16=this['_url'],filter:_0x320ff5=this['_filter'],operation:_0x2f5bf4,value:_0x4498b3}={}){let _0x38407d={...this['_transformations']};_0x2f5bf4&&(_0x38407d[_0x2f5bf4]=_0x320ff5?{'name':_0x320ff5,'amount':_0x4498b3}:_0x4498b3);let _0x3a95a7=this['offsetWidth'];return await this['proxyUrl'](_0x55ddbe(_0x39dc16,_0x3a95a7,_0x38407d));}async['_constructKeypoint'](_0x202855,_0x2edd17){return{'src':await this['_imageSrc']({'operation':_0x202855,'value':_0x2edd17}),'image':null,'opacity':0x0,'zIndex':0x0,'value':_0x2edd17};}['_isSame'](_0x4ddf6f,_0x812f28){return this['_operation']===_0x4ddf6f&&this['_filter']===_0x812f28;}async['_addKeypoint'](_0x28a689,_0x5cd74a,_0x31d42d){let _0x8ecbf5=()=>!this['_isSame'](_0x28a689,_0x5cd74a)||this['_value']!==_0x31d42d||!!this['_keypoints']['find'](_0xcb30bc=>_0xcb30bc['value']===_0x31d42d);if(_0x8ecbf5())return;let _0x17ee1c=await this['_constructKeypoint'](_0x28a689,_0x31d42d),_0x5e9724=new Image();_0x5e9724['src']=_0x17ee1c['src'];let _0x5b15aa=this['_handleImageLoading'](_0x17ee1c['src']);_0x5e9724['addEventListener']('load',_0x5b15aa,{'once':!0x0}),_0x5e9724['addEventListener']('error',_0x5b15aa,{'once':!0x0}),_0x17ee1c['image']=_0x5e9724,_0x5e9724['classList']['add']('uc-fader-image'),_0x5e9724['addEventListener']('load',()=>{if(_0x8ecbf5())return;let _0x38827d=this['_keypoints'],_0x6df337=_0x38827d['findIndex'](_0x10fd03=>_0x10fd03['value']>_0x31d42d),_0x3d7c3d=_0x6df337<_0x38827d['length']?_0x38827d[_0x6df337]['image']:null;!this['_container']||_0x3d7c3d&&!this['_container']['contains'](_0x3d7c3d)||(_0x38827d['splice'](_0x6df337,0x0,_0x17ee1c),this['_container']['insertBefore'](_0x5e9724,_0x3d7c3d),this['_update'](_0x28a689,_0x31d42d));},{'once':!0x0}),_0x5e9724['addEventListener']('error',()=>{this['$']['*networkProblems']=!0x0;},{'once':!0x0});}['set'](_0x3d9b3f){_0x3d9b3f='string'==typeof _0x3d9b3f?parseInt(_0x3d9b3f,0xa):_0x3d9b3f,this['_update'](this['_operation'],_0x3d9b3f),this['_addKeypointDebounced'](this['_operation'],this['_filter'],_0x3d9b3f);}['_update'](_0x146fa9,_0x38231a){this['_operation']=_0x146fa9,this['_value']=_0x38231a;let {zero:_0x29a8bb}=_0x377cb5[_0x146fa9],_0x563924=this['_keypoints']['map'](_0x3da139=>_0x3da139['value']),_0x4b719b=calculateOpacities(_0x563924,_0x38231a,_0x29a8bb),_0xf1f317=calculateZIndices(_0x563924,_0x29a8bb);for(let [_0x528820,_0x11e97e]of Object['entries'](this['_keypoints']))_0x11e97e['opacity']=_0x4b719b[_0x528820],_0x11e97e['zIndex']=_0xf1f317[_0x528820];this['_flush']();}['_createPreviewImage'](){let _0x2f44c1=new Image();return _0x2f44c1['classList']['add']('uc-fader-image','uc-fader-image--preview'),_0x2f44c1['style']['opacity']='0',_0x2f44c1;}async['_initNodes'](){let _0x1478ae=document['createDocumentFragment']();this['_previewImage']=this['_previewImage']||this['_createPreviewImage'](),!this['contains'](this['_previewImage'])&&_0x1478ae['appendChild'](this['_previewImage']);let _0x843979=document['createElement']('div');_0x1478ae['appendChild'](_0x843979);let _0x107669=this['_keypoints']['map'](_0x709a61=>_0x709a61['src']),{images:_0x153ea2,promise:_0xf19d02,cancel:_0x1df453}=batchPreloadImages(_0x107669);_0x153ea2['forEach'](_0xcd0512=>{let _0x2ca22e=this['_handleImageLoading'](_0xcd0512['src']);_0xcd0512['addEventListener']('load',_0x2ca22e),_0xcd0512['addEventListener']('error',_0x2ca22e);}),this['_cancelLastImages']=()=>{_0x1df453(),this['_cancelLastImages']=void 0x0;};let _0x3ea138=this['_operation'],_0x1acb07=this['_filter'];await _0xf19d02,this['_isActive']&&this['_isSame'](_0x3ea138,_0x1acb07)&&(this['_container']&&this['_container']['remove'](),this['_container']=_0x843979,this['_keypoints']['forEach']((_0x313044,_0x3c0ee9)=>{let _0x1328b7=_0x153ea2[_0x3c0ee9];_0x1328b7['classList']['add']('uc-fader-image'),_0x313044['image']=_0x1328b7,this['_container']['appendChild'](_0x1328b7);}),this['appendChild'](_0x1478ae),this['_flush']());}async['setTransformations'](_0x29adb8){if(this['_transformations']=_0x29adb8,this['_previewImage']){let _0x580120=await this['_imageSrc'](),_0x3da000=this['_handleImageLoading'](_0x580120);this['_previewImage']['src']=_0x580120,this['_previewImage']['addEventListener']('load',_0x3da000,{'once':!0x0}),this['_previewImage']['addEventListener']('error',_0x3da000,{'once':!0x0}),this['_previewImage']['style']['opacity']='1',this['_previewImage']['addEventListener']('error',()=>{this['$']['*networkProblems']=!0x0;},{'once':!0x0});}}async['preload']({url:_0x4ec965,filter:_0x58fe54,operation:_0xd21ec4,value:_0x12b346}){this['_cancelBatchPreload']&&this['_cancelBatchPreload']();let _0x40f21e=keypointsRange(_0xd21ec4,_0x12b346),_0x5ef3e3=await Promise['all'](_0x40f21e['map'](_0x4863b0=>this['_imageSrc']({'url':_0x4ec965,'filter':_0x58fe54,'operation':_0xd21ec4,'value':_0x4863b0}))),{cancel:_0x565aca}=batchPreloadImages(_0x5ef3e3);this['_cancelBatchPreload']=_0x565aca;}['_setOriginalSrc'](_0x275e1c){let _0xb69915=this['_previewImage']||this['_createPreviewImage']();if(!this['contains'](_0xb69915)&&this['appendChild'](_0xb69915),this['_previewImage']=_0xb69915,_0xb69915['src']===_0x275e1c)return _0xb69915['style']['opacity']='1',_0xb69915['style']['transform']='scale(1)',void(this['className']=_0x2a9f0f({'uc-active_from_viewer':this['_fromViewer'],'uc-active_from_cropper':!this['_fromViewer'],'uc-inactive_to_cropper':!0x1}));_0xb69915['style']['opacity']='0';let _0x2d8dec=this['_handleImageLoading'](_0x275e1c);_0xb69915['addEventListener']('error',_0x2d8dec,{'once':!0x0}),_0xb69915['src']=_0x275e1c,_0xb69915['addEventListener']('load',()=>{_0x2d8dec(),_0xb69915&&(_0xb69915['style']['opacity']='1',_0xb69915['style']['transform']='scale(1)',this['className']=_0x2a9f0f({'uc-active_from_viewer':this['_fromViewer'],'uc-active_from_cropper':!this['_fromViewer'],'uc-inactive_to_cropper':!0x1}));},{'once':!0x0}),_0xb69915['addEventListener']('error',()=>{this['$']['*networkProblems']=!0x0;},{'once':!0x0});}async['activate']({url:_0x8cdaf9,operation:_0x4ecfd0,value:_0x5e0e6a,filter:_0x959039,fromViewer:_0xa4b305}){if(this['_isActive']=!0x0,this['_hidden']=!0x1,this['_url']=_0x8cdaf9,this['_operation']=_0x4ecfd0||'initial',this['_value']=_0x5e0e6a,this['_filter']=_0x959039,this['_fromViewer']=_0xa4b305,'number'!=typeof _0x5e0e6a&&!_0x959039){let _0x11a693=await this['_imageSrc']({'operation':_0x4ecfd0,'value':_0x5e0e6a});return this['_setOriginalSrc'](_0x11a693),void(this['_container']&&this['_container']['remove']());}this['_keypoints']=await Promise['all'](keypointsRange(_0x4ecfd0,_0x5e0e6a)['map'](_0xd06a77=>this['_constructKeypoint'](_0x4ecfd0,_0xd06a77))),this['_update'](_0x4ecfd0,_0x5e0e6a),this['_initNodes']();}['deactivate']({hide:_0x57a915=!0x0}={}){this['_isActive']=!0x1,this['_cancelLastImages']&&this['_cancelLastImages'](),this['_cancelBatchPreload']&&this['_cancelBatchPreload'](),_0x57a915&&!this['_hidden']?(this['_hidden']=!0x0,this['_previewImage']&&(this['_previewImage']['style']['transform']='scale(1)'),this['className']=_0x2a9f0f({'uc-active_from_viewer':!0x1,'uc-active_from_cropper':!0x1,'uc-inactive_to_cropper':!0x0}),this['addEventListener']('transitionend',()=>{this['_container']&&this['_container']['remove']();},{'once':!0x0})):this['_container']&&this['_container']['remove']();}}const _0xa155d1=0x1;class EditorScroller extends _0x337de7{['initCallback'](){super['initCallback'](),this['addEventListener']('wheel',_0x51ecfd=>{_0x51ecfd['preventDefault']();let {deltaY:_0x1ef327,deltaX:_0x5ba813}=_0x51ecfd;Math['abs'](_0x5ba813)>_0xa155d1?this['scrollLeft']+=_0x5ba813:this['scrollLeft']+=_0x1ef327;},{'passive':!0x1}),this['addEventListener']('scroll',()=>{},{'passive':!0x0});}}function _0x45681c(_0xec4f3d){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.'+_0xec4f3d+';\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-'+_0xec4f3d+'\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20data-id=\x22'+_0xec4f3d+'\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20icon=\x22'+_0xec4f3d+'\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20set=\x22onclick:\x20on.clickTab;\x20aria-role:tab_role;\x20aria-controls:tab_'+_0xec4f3d+';\x20title-prop:\x20a11y-editor-tab-'+_0xec4f3d+'\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(_0x32fb39){return'\x0a\x20\x20\x20\x20<uc-presence-toggle\x0a\x20\x20\x20\x20\x20\x20id=\x22tab_'+_0x32fb39+'\x22\x0a\x20\x20\x20\x20\x20\x20class=\x22uc-tab-content\x22\x0a\x20\x20\x20\x20\x20\x20set=\x22visible:\x20presence.tabContent.'+_0x32fb39+';\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-'+_0x32fb39+'\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';class EditorToolbar extends _0x337de7{constructor(){super(),this['init$']={...this['init$'],'*sliderEl':null,'*loadingOperations':new Map(),'*showSlider':!0x1,'*currentFilter':_0x9da51e,'*currentOperation':null,'showLoader':!0x1,'filters':_0x4a0685,'colorOperations':_0x1d557b,'cropOperations':_0xf52569,'*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':()=>{this['_cancelPreload']?.(),this['$']['*on.cancel']();},'on.apply':()=>{this['$']['*on.apply'](this['$']['*editorTransformations']);},'on.applySlider':()=>{this['ref']['slider-el']['apply'](),this['_onSliderClose']();},'on.cancelSlider':()=>{this['ref']['slider-el']['cancel'](),this['_onSliderClose']();},'on.clickTab':_0x156ac0=>{const _0xa0a428=_0x156ac0['currentTarget']['getAttribute']('data-id');_0xa0a428&&this['_activateTab'](_0xa0a428,{'fromViewer':!0x1});},'tab_role':'tab',['tab_'+_0x43ff2d['TUNING']]:'tab_'+_0x43ff2d['TUNING'],['tab_'+_0x43ff2d['CROP']]:'tab_'+_0x43ff2d['CROP'],['tab_'+_0x43ff2d['FILTERS']]:'tab_'+_0x43ff2d['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']=_0x31f04e(this['_showLoader']['bind'](this),0x1f4);}['_onSliderClose'](){this['$']['*showSlider']=!0x1,this['$']['*tabId']===_0x43ff2d['TUNING']&&this['ref']['tooltip-el']['classList']['toggle']('uc-info-tooltip_visible',!0x1);}['_createOperationControl'](_0x22bb67){let _0x1d77be=new EditorOperationControl();return _0x1d77be['operation']=_0x22bb67,_0x1d77be;}['_createFilterControl'](_0x3675e1){let _0x2f5cd4=new EditorFilterControl();return _0x2f5cd4['filter']=_0x3675e1,_0x2f5cd4;}['_createToggleControl'](_0x19217c){let _0x575dc2=new EditorCropButtonControl();return _0x575dc2['operation']=_0x19217c,_0x575dc2;}['_renderControlsList'](_0x1e434e){let _0x48ad1b=this['ref']['controls-list-'+_0x1e434e],_0x3f9992=document['createDocumentFragment']();_0x1e434e===_0x43ff2d['CROP']?this['$']['cropOperations']['forEach'](_0x21f321=>{let _0x784c5f=this['_createToggleControl'](_0x21f321);_0x3f9992['appendChild'](_0x784c5f);}):_0x1e434e===_0x43ff2d['FILTERS']?[_0x9da51e,...this['$']['filters']]['forEach'](_0x34494b=>{let _0x17a8a4=this['_createFilterControl'](_0x34494b);_0x3f9992['appendChild'](_0x17a8a4);}):_0x1e434e===_0x43ff2d['TUNING']&&this['$']['colorOperations']['forEach'](_0x4af102=>{let _0x45e256=this['_createOperationControl'](_0x4af102);_0x3f9992['appendChild'](_0x45e256);}),[..._0x3f9992['children']]['forEach']((_0x39cdb7,_0x33eadb)=>{_0x33eadb===_0x3f9992['childNodes']['length']-0x1&&_0x39cdb7['classList']['add']('uc-controls-list_last-item');}),_0x48ad1b['innerHTML']='',_0x48ad1b['appendChild'](_0x3f9992);}['_activateTab'](_0x4e41f9,{fromViewer:_0x3062b6}){this['$']['*tabId']=_0x4e41f9,_0x4e41f9===_0x43ff2d['CROP']?(this['$']['*faderEl']['deactivate'](),this['$']['*cropperEl']['activate'](this['$']['*imageSize'],{'fromViewer':_0x3062b6})):(this['$']['*faderEl']['activate']({'url':this['$']['*originalUrl'],'fromViewer':_0x3062b6}),this['$']['*cropperEl']['deactivate']());for(let _0x3d649a of _0x141909){let _0x1a5352=_0x3d649a===_0x4e41f9;this['ref']['tab-toggle-'+_0x3d649a]['active']=_0x1a5352,_0x1a5352?(this['_renderControlsList'](_0x4e41f9),this['_syncTabIndicator']()):this['_unmountTabControls'](_0x3d649a),this['$']['presence.tabContent.'+_0x3d649a]=_0x1a5352;}}['_unmountTabControls'](_0x57af72){let _0x583b06=this['ref']['controls-list-'+_0x57af72];_0x583b06&&(_0x583b06['innerHTML']='');}['_syncTabIndicator'](){let _0x1c08d4=this['ref']['tab-toggle-'+this['$']['*tabId']];this['ref']['tabs-indicator']['style']['transform']='translateX('+_0x1c08d4['offsetLeft']+'px)';}async['_preloadEditedImage'](){if(this['$']['*imgContainerEl']&&this['$']['*originalUrl']){let _0x18699b=this['$']['*imgContainerEl']['offsetWidth'],_0x5dc6a1=await this['proxyUrl'](_0x55ddbe(this['$']['*originalUrl'],_0x18699b,this['$']['*editorTransformations']));this['_cancelPreload']?.();let {cancel:_0x38aef7}=batchPreloadImages([_0x5dc6a1]);this['_cancelPreload']=()=>{_0x38aef7(),this['_cancelPreload']=void 0x0;};}}['_showLoader'](_0x4831ce){this['$']['showLoader']=_0x4831ce;}['_updateInfoTooltip']=_0x31f04e(()=>{const e=this['$']['*editorTransformations'],i=this['$']['*currentOperation'];let n='',s=!0x1;if(this['$']['*tabId']===_0x43ff2d['FILTERS']){if(s=!0x0,this['$']['*currentFilter']&&e?.['filter']?.['name']===this['$']['*currentFilter']){let i=e?.['filter']?.['amount']||0x64;n=this['$']['*currentFilter']+'\x20'+i;}else n=this['l10n'](_0x9da51e);}else{if(this['$']['*tabId']===_0x43ff2d['TUNING']&&i){s=!0x0;let r=e?.[i]||_0x377cb5[i]['zero'];n=this['l10n'](i)+'\x20'+r;}}s&&(this['$']['*operationTooltip']=n),this['ref']['tooltip-el']['classList']['toggle']('uc-info-tooltip_visible',s);},0x0);['initCallback'](){super['initCallback'](),this['$']['*sliderEl']=this['ref']['slider-el'],this['sub']('*imageSize',_0x2b9238=>{_0x2b9238&&setTimeout(()=>{this['_activateTab'](this['$']['*tabId'],{'fromViewer':!0x0});},0x0);}),this['sub']('*editorTransformations',_0x152ac2=>{let _0x160a63=_0x152ac2?.['filter']?.['name'];this['$']['*currentFilter']!==_0x160a63&&(this['$']['*currentFilter']=_0x160a63);}),this['sub']('*currentFilter',()=>{this['_updateInfoTooltip']();}),this['sub']('*currentOperation',()=>{this['_updateInfoTooltip']();}),this['sub']('*tabId',()=>{this['_updateInfoTooltip']();}),this['sub']('*originalUrl',()=>{this['$']['*faderEl']&&this['$']['*faderEl']['deactivate']();}),this['sub']('*editorTransformations',_0x4bec60=>{this['_preloadEditedImage'](),this['$']['*faderEl']&&this['$']['*faderEl']['setTransformations'](_0x4bec60);}),this['sub']('*loadingOperations',_0x51fcb8=>{let _0x260b40=!0x1;for(let [,_0x42fd26]of _0x51fcb8['entries']()){if(_0x260b40)break;for(let [,_0x246978]of _0x42fd26['entries']())if(_0x246978){_0x260b40=!0x0;break;}}this['_debouncedShowLoader'](_0x260b40);}),this['sub']('*showSlider',_0xd6e339=>{this['$']['presence.subToolbar']=_0xd6e339,this['$']['presence.mainToolbar']=!_0xd6e339;}),this['sub']('*tabList',_0x2c0f14=>{this['$']['presence.tabToggles']=_0x2c0f14['length']>0x1;for(const _0x1eeadc of _0x141909){this['$']['presence.tabToggle.'+_0x1eeadc]=_0x2c0f14['includes'](_0x1eeadc),this['ref']['tab-toggle-'+_0x1eeadc]['style']['gridColumn']=_0x2c0f14['indexOf'](_0x1eeadc)+0x1;}_0x2c0f14['includes'](this['$']['*tabId'])||this['_activateTab'](_0x2c0f14[0x0],{'fromViewer':!0x1});}),this['_updateInfoTooltip']();}['destroyCallback'](){this['$']['*showSlider']=!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>'+_0x141909['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'+_0x141909['map'](_0x45681c)['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>\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\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';class BtnUi extends _0x337de7{constructor(){super(),this['_iconReversed']=!0x1,this['_iconSingle']=!0x1,this['_iconHidden']=!0x1,this['init$']={...this['init$'],'text':'','icon':'','iconCss':this['_iconCss'](),'theme':null,'aria-role':'','aria-controls':'','title-prop':''},this['defineAccessor']('active',_0x420566=>{_0x420566?this['setAttribute']('active',''):this['removeAttribute']('active');});}['_iconCss'](){return _0x2a9f0f('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',_0x1db70c=>{this['_iconSingle']=!this['$']['text'],this['_iconHidden']=!_0x1db70c,this['$']['iconCss']=this['_iconCss']();}),this['sub']('theme',_0x39a2a4=>{'custom'!==_0x39a2a4&&(this['className']='uc-'+_0x39a2a4);}),this['sub']('text',_0x546020=>{this['_iconSingle']=!0x1;}),this['hasAttribute']('theme')||this['setAttribute']('theme','default'),this['defineAccessor']('aria-role',_0x18d239=>{this['$']['aria-role']=_0x18d239||'';}),this['defineAccessor']('aria-controls',_0x509fba=>{this['$']['aria-controls']=_0x509fba||'';}),this['defineAccessor']('title-prop',_0x5e3cc2=>{this['$']['title-prop']=_0x5e3cc2||'';});}set['reverse'](_0x24d335){this['hasAttribute']('reverse')?(this['style']['flexDirection']='row-reverse',this['_iconReversed']=!0x0):(this['_iconReversed']=!0x1,this['style']['flexDirection']=null);}}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';class _0x26f54b extends _0x337de7{constructor(){super(),this['_active']=!0x1,this['_handleTransitionEndRight']=()=>{let _0x2fdd83=this['ref']['line-el'];_0x2fdd83['style']['transition']='initial',_0x2fdd83['style']['opacity']='0',_0x2fdd83['style']['transform']='translateX(-101%)',this['_active']&&this['_start']();};}['initCallback'](){super['initCallback'](),this['defineAccessor']('active',_0x226d66=>{'boolean'==typeof _0x226d66&&(_0x226d66?this['_start']():this['_stop']());});}['_start'](){this['_active']=!0x0;let {width:_0x274752}=this['getBoundingClientRect'](),_0x1cb59d=this['ref']['line-el'];_0x1cb59d['style']['transition']='transform\x201s',_0x1cb59d['style']['opacity']='1',_0x1cb59d['style']['transform']='translateX('+_0x274752+'px)',_0x1cb59d['addEventListener']('transitionend',this['_handleTransitionEndRight'],{'once':!0x0});}['_stop'](){this['_active']=!0x1;}}_0x26f54b['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';const _0x48474d={'transition':'uc-transition','visible':'uc-visible','hidden':'uc-hidden'};class _0xc0608 extends _0x337de7{constructor(){super(),this['_visible']=!0x1,this['_visibleStyle']=_0x48474d['visible'],this['_hiddenStyle']=_0x48474d['hidden'],this['_externalTransitions']=!0x1,this['defineAccessor']('styles',_0x250dfb=>{_0x250dfb&&(this['_externalTransitions']=!0x0,this['_visibleStyle']=_0x250dfb['visible'],this['_hiddenStyle']=_0x250dfb['hidden']);}),this['defineAccessor']('visible',_0x34039f=>{'boolean'==typeof _0x34039f&&(this['_visible']=_0x34039f,this['_handleVisible']());});}['_handleVisible'](){this['style']['visibility']=this['_visible']?'inherit':'hidden',_0x334e68(this,{[_0x48474d['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'](_0x48474d['transition']),this['_handleVisible'](),setTimeout(()=>{this['classList']['toggle']('uc-initial',!0x1);},0x0);}}_0xc0608['template']='<slot></slot>\x20';class _0xb37f71 extends _0x337de7{['init$']={...this['init$'],'disabled':!0x1,'min':0x0,'max':0x64,'onInput':null,'onChange':null,'defaultValue':null,'on.sliderInput':()=>{let e=parseInt(this['ref']['input-el']['value'],0xa);this['_updateValue'](e),this['$']['onInput']&&this['$']['onInput'](e);},'on.sliderChange':()=>{let e=parseInt(this['ref']['input-el']['value'],0xa);this['$']['onChange']&&this['$']['onChange'](e);}};constructor(){super(),this['setAttribute']('with-effects','');}['initCallback'](){super['initCallback'](),this['defineAccessor']('disabled',_0x4d338c=>{this['$']['disabled']=_0x4d338c;}),this['defineAccessor']('min',_0x55a3cf=>{this['$']['min']=_0x55a3cf;}),this['defineAccessor']('max',_0x323aa3=>{this['$']['max']=_0x323aa3;}),this['defineAccessor']('defaultValue',_0x3cd18a=>{this['$']['defaultValue']=_0x3cd18a,this['ref']['input-el']['value']=_0x3cd18a,this['_updateValue'](_0x3cd18a);}),this['defineAccessor']('zero',_0x2dd029=>{this['_zero']=_0x2dd029;}),this['defineAccessor']('onInput',_0x41270c=>{_0x41270c&&(this['$']['onInput']=_0x41270c);}),this['defineAccessor']('onChange',_0x11aa7f=>{_0x11aa7f&&(this['$']['onChange']=_0x11aa7f);}),this['_updateSteps'](),this['_observer']=new ResizeObserver(()=>{this['_updateSteps']();let _0x292399=parseInt(this['ref']['input-el']['value'],0xa);this['_updateValue'](_0x292399);}),this['_observer']['observe'](this),this['_thumbSize']=parseInt(window['getComputedStyle'](this)['getPropertyValue']('--l-thumb-size'),0xa),setTimeout(()=>{let _0x46333c=parseInt(this['ref']['input-el']['value'],0xa);this['_updateValue'](_0x46333c);},0x0),this['sub']('disabled',_0x36f736=>{let _0x40513d=this['ref']['input-el'];_0x36f736?_0x40513d['setAttribute']('disabled','disabled'):_0x40513d['removeAttribute']('disabled');});let _0x499df0=this['ref']['input-el'];_0x499df0['addEventListener']('focus',()=>{this['style']['setProperty']('--color-effect','var(--hover-color-rgb)');}),_0x499df0['addEventListener']('blur',()=>{this['style']['setProperty']('--color-effect','var(--idle-color-rgb)');});}['_updateValue'](_0xc1a489){this['_updateZeroDot'](_0xc1a489);let {width:_0x3455ab}=this['getBoundingClientRect'](),_0x77cd68=0x64/(this['$']['max']-this['$']['min'])*(_0xc1a489-this['$']['min'])*(_0x3455ab-this['_thumbSize'])/0x64;window['requestAnimationFrame'](()=>{this['ref']['thumb-el']['style']['transform']='translateX('+_0x77cd68+'px)';});}['_updateZeroDot'](_0x1803d5){if(!this['_zeroDotEl'])return;_0x1803d5===this['_zero']?this['_zeroDotEl']['style']['opacity']='0':this['_zeroDotEl']['style']['opacity']='1';let {width:_0xe58fb1}=this['getBoundingClientRect'](),_0x91a9eb=0x64/(this['$']['max']-this['$']['min'])*(this['_zero']-this['$']['min'])*(_0xe58fb1-this['_thumbSize'])/0x64;window['requestAnimationFrame'](()=>{this['_zeroDotEl']['style']['transform']='translateX('+_0x91a9eb+'px)';});}['_updateSteps'](){let _0x5ccc32=this['ref']['steps-el'],{width:_0x41856f}=_0x5ccc32['getBoundingClientRect'](),_0x3c51db=Math['ceil'](_0x41856f/0x2),_0x3e1f9e=Math['ceil'](_0x3c51db/0xf)-0x2;if(this['_stepsCount']===_0x3e1f9e)return;let _0x586931=document['createDocumentFragment'](),_0x5a287b=document['createElement']('div'),_0x2d8f84=document['createElement']('div');_0x5a287b['className']='uc-minor-step',_0x2d8f84['className']='uc-border-step',_0x586931['appendChild'](_0x2d8f84);for(let _0x36df9d=0x0;_0x36df9d<_0x3e1f9e;_0x36df9d++)_0x586931['appendChild'](_0x5a287b['cloneNode']());_0x586931['appendChild'](_0x2d8f84['cloneNode']());for(let _0x423b54=0x0;_0x423b54<_0x3e1f9e;_0x423b54++)_0x586931['appendChild'](_0x5a287b['cloneNode']());_0x586931['appendChild'](_0x2d8f84['cloneNode']());let _0x3f19d3=document['createElement']('div');_0x3f19d3['className']='uc-zero-dot',_0x586931['appendChild'](_0x3f19d3),this['_zeroDotEl']=_0x3f19d3,_0x5ccc32['innerHTML']='',_0x5ccc32['appendChild'](_0x586931),this['_stepsCount']=_0x3e1f9e;}['destroyCallback'](){super['destroyCallback'](),this['_observer']?.['disconnect']();}}_0xb37f71['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';class CloudImageEditorActivity extends _0x4d0a24{['couldBeCtxOwner']=!0x0;['activityType']=ActivityBlock['activities']['CLOUD_IMG_EDIT'];['_entry'];['_instance'];get['activityParams'](){const _0x4af5da=super['activityParams'];if('internalId'in _0x4af5da)return _0x4af5da;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',_0xc77978=>{this['_instance']&&this['_instance']['getAttribute']('crop-preset')!==_0xc77978&&this['_instance']['setAttribute']('crop-preset',_0xc77978);}),this['subConfigValue']('cloudImageEditorTabs',_0x46fb96=>{this['_instance']&&this['_instance']['getAttribute']('tabs')!==_0x46fb96&&this['_instance']['setAttribute']('tabs',_0x46fb96);});}['handleApply'](_0x26da92){if(!this['_entry'])return;let _0x289fe5=_0x26da92['detail'];this['_entry']['setMultipleValues']({'cdnUrl':_0x289fe5['cdnUrl'],'cdnUrlModifiers':_0x289fe5['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:_0x3e417f}=this['activityParams'],_0x37cad8=this['uploadCollection']['read'](_0x3e417f);if(!_0x37cad8)throw new Error('Entry\x20with\x20internalId\x20\x22'+_0x3e417f+'\x22\x20not\x20found');this['_entry']=_0x37cad8;const _0x4fa172=this['_entry']['getValue']('cdnUrl');if(!_0x4fa172)throw new Error('Entry\x20with\x20internalId\x20\x22'+_0x3e417f+'\x22\x20hasn\x27t\x20uploaded\x20yet');const _0x3ca33e=new CloudImageEditorBlock(),_0x1efc57=this['cfg']['cropPreset'],_0x24a076=this['cfg']['cloudImageEditorTabs'];_0x3ca33e['setAttribute']('ctx-name',this['ctxName']),_0x3ca33e['setAttribute']('cdn-url',_0x4fa172),_0x1efc57&&_0x3ca33e['setAttribute']('crop-preset',_0x1efc57),_0x24a076&&_0x3ca33e['setAttribute']('tabs',_0x24a076),_0x3ca33e['addEventListener']('apply',_0x1088e6=>{const _0x114bc7=_0x1088e6;this['handleApply'](_0x114bc7),this['debugPrint']('editor\x20event\x20\x22apply\x22',_0x114bc7['detail']);}),_0x3ca33e['addEventListener']('cancel',_0x4c34c0=>{const _0x1e1f71=_0x4c34c0;this['handleCancel'](),this['debugPrint']('editor\x20event\x20\x22cancel\x22',_0x1e1f71['detail']);}),_0x3ca33e['addEventListener']('change',_0x19a449=>{const _0x462273=_0x19a449;this['debugPrint']('editor\x20event\x20\x22change\x22',_0x462273['detail']);}),this['innerHTML']='',this['appendChild'](_0x3ca33e),this['_instance']=_0x3ca33e;}['unmountEditor'](){this['_instance']=void 0x0,this['_entry']=void 0x0,this['innerHTML']='';}}const _0x29a79c=function(_0x1db586){return _0x1db586['replace'](/[\\-\\[]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,'\x5c$&');},_0x2ec5da=function(_0x43d69b,_0x58554d='i'){const _0x59f066=_0x43d69b['split']('*')['map'](_0x29a79c);return new RegExp('^'+_0x59f066['join']('.+')+'$',_0x58554d);};function getCssValue(_0x473785,_0x3ec980){return window['getComputedStyle'](_0x473785)['getPropertyValue'](_0x3ec980)['trim']();}const 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'];function buildThemeDefinition(_0x3f1ca9){return ucCustomProperties['reduce']((_0x49b22a,_0x200adb)=>{const _0x9764fa=getCssValue(_0x3f1ca9,_0x200adb);return _0x9764fa&&(_0x49b22a[_0x200adb]=_0x9764fa),_0x49b22a;},{});}const _0x54b525=['selected-files-change','toolbar-state-change'],isWhitelistedMessage=_0x38f89c=>!!_0x38f89c&&('object'==typeof _0x38f89c&&('type'in _0x38f89c&&_0x54b525['includes'](_0x38f89c['type'])));class _0x103d58{['_handlerMap']=new Map();['_context'];constructor(_0x74d20c){this['_context']=_0x74d20c,window['addEventListener']('message',this['_handleMessage']);}['_handleMessage']=_0x5ab182=>{if(_0x5ab182['source']!==this['_context'])return;const _0x14e542=_0x5ab182['data'];if(!isWhitelistedMessage(_0x14e542))return;const _0x380adf=this['_handlerMap']['get'](_0x14e542['type']);if(_0x380adf){for(const _0xa60efe of _0x380adf)_0xa60efe(_0x14e542);}};['on'](_0x4f57db,_0x575c10){const _0x2f1210=this['_handlerMap']['get'](_0x4f57db)??new Set();this['_handlerMap']['has'](_0x4f57db)||this['_handlerMap']['set'](_0x4f57db,_0x2f1210),_0x2f1210['add'](_0x575c10);}['send'](_0x59497c){this['_context']['postMessage'](_0x59497c,'*');}['destroy'](){window['removeEventListener']('message',this['_handleMessage']);}}function queryString(_0x12f148){let _0x5a19a0=[];for(let [_0x47b439,_0x15e355]of Object['entries'](_0x12f148))null==_0x15e355||'string'==typeof _0x15e355&&0x0===_0x15e355['length']||_0x5a19a0['push'](_0x47b439+'='+encodeURIComponent(_0x15e355));return _0x5a19a0['join']('&');}const getTopLevelOrigin=()=>{const _0x3e09af=globalThis['top']??globalThis['parent']??globalThis['self'];try{return _0x3e09af['location']['origin'];}catch(_0x5870d9){return console['warn']('Unable\x20to\x20access\x20top-level\x20window\x20location:',_0x5870d9),globalThis['location']['origin'];}},_0x3483ff={[ExternalUploadSource['GDRIVE']]:'ngdrive'};class ExternalSource extends _0x4d0a24{['couldBeCtxOwner']=!0x0;['activityType']=ActivityBlock['activities']['EXTERNAL'];constructor(){super(),this['init$']={...this['init$'],'activityIcon':'','activityCaption':'','selectedList':[],'total':0x0,'isSelectionReady':!0x1,'isDoneBtnEnabled':!0x1,'couldSelectAll':!0x1,'couldDeselectAll':!0x1,'showSelectionStatus':!0x1,'counterText':'','doneBtnTextClass':'uc-hidden','toolbarVisible':!0x0,'onDone':()=>{for(const _0x3c99f0 of this['$']['selectedList']){const _0x5a785e=this['extractUrlFromSelectedFile'](_0x3c99f0),{filename:_0x4a0c32}=_0x3c99f0,{externalSourceType:_0x6b0918}=this['activityParams'];this['api']['addFileFromUrl'](_0x5a785e,{'fileName':_0x4a0c32,'source':_0x6b0918});}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 _0x1940d3=super['activityParams'];if('externalSourceType'in _0x1940d3)return _0x1940d3;throw new Error('External\x20Source\x20activity\x20params\x20not\x20found');}['initCallback'](){super['initCallback'](),this['registerActivity'](this['activityType'],{'onActivate':()=>{let {externalSourceType:_0x14ebb7}=this['activityParams'];if(!_0x14ebb7)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':''+_0x14ebb7?.[0x0]['toUpperCase']()+_0x14ebb7?.['slice'](0x1),'activityIcon':_0x14ebb7}),this['mountIframe']();}}),this['sub']('*currentActivityParams',_0x3ad9af=>{this['isActivityActive']&&(this['unmountIframe'](),this['mountIframe']());}),this['sub']('*currentActivity',_0x211d25=>{_0x211d25!==this['activityType']&&this['unmountIframe']();}),this['subConfigValue']('multiple',_0x55d3a6=>{this['$']['showSelectionStatus']=_0x55d3a6;}),this['subConfigValue']('localeName',_0x34af09=>{this['setupL10n']();}),this['subConfigValue']('externalSourcesEmbedCss',_0x38bc1e=>{this['applyEmbedCss'](_0x38bc1e);});}['extractUrlFromSelectedFile'](_0x4fb43e){if(_0x4fb43e['alternatives']){const _0x3f1677=stringToArray(this['cfg']['externalSourcesPreferredTypes']);for(const _0x155545 of _0x3f1677){const _0x2fb667=_0x2ec5da(_0x155545);for(const [_0x3bf6d6,_0x5aee25]of Object['entries'](_0x4fb43e['alternatives']))if(_0x2fb667['test'](_0x3bf6d6))return _0x5aee25;}}return _0x4fb43e['url'];}['handleToolbarStateChange'](_0x29e581){this['set$']({'toolbarVisible':_0x29e581['isVisible']});}async['handleSelectedFilesChange'](_0x36cdba){this['cfg']['multiple']===_0x36cdba['isMultipleMode']?(this['bindL10n']('counterText',()=>this['l10n']('selected-count',{'count':_0x36cdba['selectedCount'],'total':_0x36cdba['total']})),this['set$']({'doneBtnTextClass':_0x36cdba['isReady']?'':'uc-hidden','isSelectionReady':_0x36cdba['isReady'],'isDoneBtnEnabled':_0x36cdba['isReady']&&_0x36cdba['selectedFiles']['length']>0x0,'showSelectionStatus':_0x36cdba['isMultipleMode']&&_0x36cdba['total']>0x0,'couldSelectAll':_0x36cdba['selectedCount']<_0x36cdba['total'],'couldDeselectAll':_0x36cdba['selectedCount']===_0x36cdba['total'],'selectedList':_0x36cdba['selectedFiles']})):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'](_0x30630a){this['_messageBridge']?.['send']({'type':'set-embed-css','css':_0x30630a});}['setupL10n'](){this['_messageBridge']?.['send']({'type':'set-locale-definition','localeDefinition':this['cfg']['localeName']});}['remoteUrl'](){const {pubkey:_0x56e517,remoteTabSessionKey:_0x2ba72e,socialBaseUrl:_0x51c5fe,multiple:_0x538eb8}=this['cfg'],{externalSourceType:_0x2016fb}=this['activityParams'],_0x2a4b81=_0x3483ff[_0x2016fb]??_0x2016fb,_0x449729={'lang':this['l10n']('social-source-lang')?.['split']('-')?.[0x0]||'en','public_key':_0x56e517,'images_only':(!0x1)['toString'](),'session_key':_0x2ba72e,'wait_for_theme':!0x0,'multiple':_0x538eb8['toString'](),'origin':this['cfg']['topLevelOrigin']||getTopLevelOrigin(),'debug':this['cfg']['debug']},_0x4d2a9a=new URL('/window4/'+_0x2a4b81,_0x51c5fe);return _0x4d2a9a['search']=queryString(_0x449729),_0x4d2a9a['toString']();}['mountIframe'](){let _0x4a4062=create({'tag':'iframe','attributes':{'src':this['remoteUrl'](),'marginheight':0x0,'marginwidth':0x0,'frameborder':0x0,'allowTransparency':!0x0}});_0x4a4062['addEventListener']('load',this['handleIframeLoad']['bind'](this)),this['ref']['iframeWrapper']['innerHTML']='',this['ref']['iframeWrapper']['appendChild'](_0x4a4062),_0x4a4062['contentWindow']&&(this['_messageBridge']?.['destroy'](),this['_messageBridge']=new _0x103d58(_0x4a4062['contentWindow']),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});}}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\x20type=\x22button\x22\x20class=\x22uc-done-btn\x20uc-primary-btn\x22\x20set=\x22onclick:\x20onDone;\x20@disabled:\x20!isDoneBtnEnabled;\x22>\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';class FormInput extends _0x4d0a24{['requireCtxName']=!0x0;['_createValidationInput'](){const _0x108b48=document['createElement']('input');return _0x108b48['type']='text',_0x108b48['name']=this['ctxName'],_0x108b48['required']=this['cfg']['multipleMin']>0x0,_0x108b48['tabIndex']=-0x1,applyStyles(_0x108b48,{'opacity':0x0,'height':0x0,'width':0x0}),_0x108b48;}['initCallback'](){super['initCallback'](),this['_validationInputElement']=this['_createValidationInput'](),this['appendChild'](this['_validationInputElement']),this['sub']('*collectionState',_0x49bd8c=>{{if(this['_dynamicInputsContainer']||(this['_dynamicInputsContainer']=document['createElement']('div'),this['appendChild'](this['_dynamicInputsContainer'])),!this['_validationInputElement']){const _0x138302=this['_createValidationInput']();this['appendChild'](_0x138302),this['_validationInputElement']=_0x138302;}if(this['_dynamicInputsContainer']['innerHTML']='','uploading'===_0x49bd8c['status']||'idle'===_0x49bd8c['status'])return this['_validationInputElement']['value']='',void this['_validationInputElement']['setCustomValidity']('');if('failed'===_0x49bd8c['status']){const _0x384ac0=_0x49bd8c['errors'][0x0]?.['message'];return this['_validationInputElement']['value']='',void this['_validationInputElement']['setCustomValidity'](_0x384ac0);}const _0x1ac0e6=_0x49bd8c['group']?_0x49bd8c['group']:null;if(_0x1ac0e6)return this['_validationInputElement']['value']=_0x1ac0e6['cdnUrl'],void this['_validationInputElement']['setCustomValidity']('');const _0x25ebcc=_0x49bd8c['allEntries']['map'](_0x2eca8d=>_0x2eca8d['cdnUrl']);if(!this['cfg']['multiple']&&0x1===_0x25ebcc['length'])return this['_validationInputElement']['value']=_0x25ebcc[0x0],void this['_validationInputElement']['setCustomValidity']('');this['_validationInputElement']['remove'](),this['_validationInputElement']=null;const _0x409c19=new DocumentFragment();for(let _0x425206 of _0x25ebcc){const _0x3f53fd=document['createElement']('input');_0x3f53fd['type']='hidden',_0x3f53fd['name']=this['ctxName']+'[]',_0x3f53fd['value']=_0x425206,_0x409c19['appendChild'](_0x3f53fd);}this['_dynamicInputsContainer']['replaceChildren'](_0x409c19);}},!0x1);}}class ActivityHeader extends ActivityBlock{}class Select extends _0x337de7{['init$']={...this['init$'],'currentText':'','options':[],'selectHtml':'','onSelect':e=>{e['preventDefault'](),e['stopPropagation'](),this['value']=this['ref']['select']['value'],this['$']['currentText']=this['$']['options']['find'](e=>e['value']==this['value'])?.['text']||'',this['dispatchEvent'](new Event('change'));}};['initCallback'](){super['initCallback'](),this['sub']('options',_0x518ed3=>{this['$']['currentText']=_0x518ed3?.[0x0]?.['text']||'';let _0x5d56bb='';_0x518ed3?.['forEach'](_0x183b36=>{_0x5d56bb+='<option\x20value=\x22'+_0x183b36['value']+'\x22>'+_0x183b36['text']+'</option>';}),this['$']['selectHtml']=_0x5d56bb;});}}Select['template']='\x20<select\x20ref=\x22select\x22\x20set=\x22innerHTML:\x20selectHtml;\x20onchange:\x20onSelect\x22></select>\x20';class Copyright extends _0x337de7{['initCallback'](){super['initCallback'](),this['subConfigValue']('removeCopyright',_0x38e330=>{this['toggleAttribute']('hidden',!!_0x38e330);});}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';}class _0x53ed56 extends BaseComponent{}function createSvgBlobUrl(_0x2df8eb){let _0x156b1f=new Blob([_0x2df8eb],{'type':'image/svg+xml'});return URL['createObjectURL'](_0x156b1f);}function _0x475404(_0x293977='hsl(209,\x2021%,\x2065%)',_0x498c71=0x20,_0x715ee4=0x20){return createSvgBlobUrl('\x0a\x20\x20<svg\x20width=\x22'+_0x498c71+'\x22\x20height=\x22'+_0x715ee4+'\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'+_0x293977+'\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');}function generateThumb(_0x19605f,_0x22c9d2=0x28){if('image/svg+xml'===_0x19605f['type'])return URL['createObjectURL'](_0x19605f);let _0x16c531=document['createElement']('canvas'),_0x3004ef=_0x16c531['getContext']('2d'),_0x5685fd=new Image(),_0x4d820b=new Promise((_0x323945,_0x2210b0)=>{_0x5685fd['onload']=()=>{let _0x269548=_0x5685fd['height']/_0x5685fd['width'];_0x269548>0x1?(_0x16c531['width']=_0x22c9d2,_0x16c531['height']=_0x22c9d2*_0x269548):(_0x16c531['height']=_0x22c9d2,_0x16c531['width']=_0x22c9d2/_0x269548),_0x3004ef['fillStyle']='rgb(240,\x20240,\x20240)',_0x3004ef['fillRect'](0x0,0x0,_0x16c531['width'],_0x16c531['height']),_0x3004ef['drawImage'](_0x5685fd,0x0,0x0,_0x16c531['width'],_0x16c531['height']),_0x16c531['toBlob'](_0x1b6c86=>{if(!_0x1b6c86)return void _0x2210b0();let _0x2b5471=URL['createObjectURL'](_0x1b6c86);_0x323945(_0x2b5471);});},_0x5685fd['onerror']=_0xb4fef8=>{_0x2210b0(_0xb4fef8);};});return _0x5685fd['src']=URL['createObjectURL'](_0x19605f),_0x4d820b;}_0x53ed56['template']='\x20<div\x20class=\x22uc-spinner\x22></div>\x20';const _0x4ba970=0xbb8;class _0x58f784 extends FileItemConfig{['_renderedGridOnce']=!0x1;['_thumbRect']=null;['_isIntersecting']=!0x1;['_firstViewMode']=this['cfg']['filesViewMode'];constructor(){super(),this['init$']={...this['init$'],'thumbUrl':'','badgeIcon':'','uid':''};}['_calculateThumbSize'](_0x4a1bf2=!0x1){_0x4a1bf2&&(this['_thumbRect']=this['getBoundingClientRect']());let _0x1ecc42=Math['max'](parseInt(String(this?.['_thumbRect']?.['height']||0x0)),parseInt(String(this?.['_thumbRect']?.['width']||0x0)),this['cfg']['thumbSize']);return window['devicePixelRatio']>0x1&&(_0x1ecc42*=window['devicePixelRatio']),Math['min'](_0x1ecc42,_0x4ba970);}['_generateThumbnail']=this['_withEntry'](async(e,i=!0x1)=>{const n=e['getValue']('fileInfo'),s=e['getValue']('isImage'),r=e['getValue']('uuid'),o=e['getValue']('thumbUrl');let a=this['_calculateThumbSize'](i);if(n&&s&&r){let 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}=_0x469bc9(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){const n=window['getComputedStyle'](this)['getPropertyValue']('--uc-muted-foreground');e['setValue']('thumbUrl',_0x475404(n));}});}if(e['getValue']('thumbUrl'))return;const c=e['getValue']('file');if(c?.['type']['includes']('image'))try{let i=await generateThumb(c,a);e['setValue']('thumbUrl',i);}catch(i){let n=window['getComputedStyle'](this)['getPropertyValue']('--uc-muted-foreground');e['setValue']('thumbUrl',_0x475404(n));}else{let i=window['getComputedStyle'](this)['getPropertyValue']('--uc-muted-foreground');e['setValue']('thumbUrl',_0x475404(i));}});['_debouncedGenerateThumb']=_0x31f04e(this['_generateThumbnail']['bind'](this),0x64);['_observerCallback'](_0x1e2bae){const [_0xfe87f4]=_0x1e2bae;this['_isIntersecting']=_0xfe87f4['isIntersecting'],_0xfe87f4['isIntersecting']&&(this['_thumbRect']=_0xfe87f4['boundingClientRect'],this['_debouncedGenerateThumb'](),this['_observer']?.['disconnect']()),0x0===_0xfe87f4['intersectionRatio']&&this['_debouncedGenerateThumb']['cancel']();}['_reset'](){super['_reset'](),this['_debouncedGenerateThumb']['cancel']();}['_handleEntryId'](_0x123f0b){this['_reset']();let _0xcad26c=this['uploadCollection']?.['read'](_0x123f0b);this['_entry']=_0xcad26c,_0xcad26c&&(this['_subEntry']('fileInfo',_0x5b39e8=>{_0x5b39e8?.['isImage']&&this['_isIntersecting']&&this['_debouncedGenerateThumb']();}),this['_subEntry']('thumbUrl',_0x211ffc=>{this['$']['thumbUrl']=_0x211ffc?'url('+_0x211ffc+')':'';}),this['_subEntry']('cdnUrlModifiers',()=>{this['_isIntersecting']&&this['_debouncedGenerateThumb']();}),this['_isIntersecting']&&this['_debouncedGenerateThumb']());}['initCallback'](){super['initCallback'](),this['defineAccessor']('badgeIcon',_0x2cc821=>this['$']['badgeIcon']=_0x2cc821),this['defineAccessor']('uid',_0x3becce=>{this['set$']({'uid':_0x3becce});}),this['sub']('uid',_0x4d6fff=>{this['_handleEntryId'](_0x4d6fff);}),this['subConfigValue']('filesViewMode',_0x2cb21f=>{'grid'!==_0x2cb21f||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']();}}_0x58f784['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',_0x58f784['bindAttributes']({'badgeIcon':null,'uid':null});class _0x1d826f extends SolutionBlock{static ['styleAttrs']=[...super['styleAttrs'],'uc-file-uploader-regular'];constructor(){super(),this['init$']={...this['init$'],'isHidden':!0x1};}['initCallback'](){super['initCallback'](),this['defineAccessor']('headless',_0x138795=>{this['set$']({'isHidden':_0x4c1e70(_0x138795)});});}}_0x1d826f['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',_0x1d826f['bindAttributes']({'headless':null});const _0x480572='active',_0xe0e390='';class _0x109533 extends SolutionBlock{static ['styleAttrs']=[...super['styleAttrs'],'uc-file-uploader-minimal'];constructor(){super(),this['init$']={...this['init$'],'singleUpload':!0x1,'isHiddenStartFrom':!0x1,'classUploadList':_0xe0e390,'classStartFrom':_0xe0e390};}['_handleModalOpen'](_0x288616){_0x288616['id']===ActivityBlock['activities']['CLOUD_IMG_EDIT']&&this['set$']({'classUploadList':_0x480572}),this['$']['*currentActivity']===ActivityBlock['activities']['UPLOAD_LIST']&&this['set$']({'classUploadList':_0x480572,'isHiddenStartFrom':!0x0}),this['$']['*uploadList']?.['length']<=0x0&&this['set$']({'classStartFrom':_0x480572});}['_handleModalClose'](_0x4a9cc1){_0x4a9cc1['id']===this['$']['*currentActivity']&&(this['$']['*currentActivity']=ActivityBlock['activities']['UPLOAD_LIST'],this['set$']({'isHiddenStartFrom':!0x1})),_0x4a9cc1['id']===ActivityBlock['activities']['CLOUD_IMG_EDIT']&&(this['$']['*currentActivity']=ActivityBlock['activities']['UPLOAD_LIST']);}['initCallback'](){super['initCallback']();const _0x18c41f=this['ref']['uBlock'];this['sub']('*currentActivity',_0x114581=>{_0x114581===ActivityBlock['activities']['UPLOAD_LIST']&&this['modalManager']['closeAll'](),_0x114581||(this['$']['*currentActivity']=_0x18c41f['initActivity']||ActivityBlock['activities']['START_FROM']);}),this['sub']('*uploadList',_0x17eb33=>{_0x17eb33?.['length']>0x0?(this['$']['*currentActivity']=ActivityBlock['activities']['UPLOAD_LIST'],this['set$']({'classStartFrom':_0xe0e390})):(this['set$']({'classUploadList':_0xe0e390,'isHiddenStartFrom':!0x1}),this['$']['*currentActivity']=_0x18c41f['initActivity']||ActivityBlock['activities']['START_FROM']);}),this['subConfigValue']('confirmUpload',_0x3c9512=>{!0x1!==_0x3c9512&&(this['cfg']['confirmUpload']=!0x1);}),this['subConfigValue']('filesViewMode',_0x1a8974=>{this['setAttribute']('mode',_0x1a8974),this['subConfigValue']('multiple',_0x4db181=>{'grid'===_0x1a8974?(_0x4db181?this['style']['removeProperty']('--uc-grid-col'):this['style']['setProperty']('--uc-grid-col','1'),this['$']['singleUpload']=!_0x4db181):(this['style']['removeProperty']('--uc-grid-col'),this['$']['singleUpload']=!0x1);});}),this['handleModalOpen']=this['_handleModalOpen']['bind'](this),this['handleModalClose']=this['_handleModalClose']['bind'](this),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']);}}_0x109533['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';class _0x1cd1d5 extends SolutionBlock{static ['styleAttrs']=[...super['styleAttrs'],'uc-file-uploader-inline'];constructor(){super(),this['init$']={...this['init$'],'couldCancel':!0x1,'cancel':()=>{this['couldHistoryBack']?this['$']['*historyBack']():this['couldShowList']&&(this['$']['*currentActivity']=ActivityBlock['activities']['UPLOAD_LIST']);}};}get['couldHistoryBack'](){const _0x41ffc8=this['$']['*history'];return _0x41ffc8['length']>0x1&&_0x41ffc8[_0x41ffc8['length']-0x1]!==ActivityBlock['activities']['START_FROM'];}get['couldShowList'](){return this['cfg']['showEmptyList']||this['$']['*uploadList']['length']>0x0;}['initCallback'](){super['initCallback']();const _0x27477f=this['ref']['uBlock'];this['sub']('*currentActivity',_0x108889=>{_0x108889||(this['$']['*currentActivity']=_0x27477f['initActivity']||ActivityBlock['activities']['START_FROM']);}),this['sub']('*uploadList',_0x5f064f=>{_0x5f064f?.['length']>0x0&&this['$']['*currentActivity']===(_0x27477f['initActivity']||ActivityBlock['activities']['START_FROM'])&&(this['$']['*currentActivity']=ActivityBlock['activities']['UPLOAD_LIST']);}),this['sub']('*history',()=>{this['$']['couldCancel']=this['couldHistoryBack']||this['couldShowList'];});}}_0x1cd1d5['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';class CloudImageEditor extends CloudImageEditorBlock{static ['styleAttrs']=[...super['styleAttrs'],'uc-wgt-common'];['initCallback'](){super['initCallback'](),this['a11y']?.['registerBlock'](this);}}function defineComponents(_0x2c74d4){for(let _0x436b9f in _0x2c74d4){let _0x3f140c=[..._0x436b9f]['reduce']((_0x1ad6ed,_0x57e422)=>(_0x57e422['toUpperCase']()===_0x57e422&&(_0x57e422='-'+_0x57e422['toLowerCase']()),_0x1ad6ed+_0x57e422),'');_0x3f140c['startsWith']('-')&&(_0x3f140c=_0x3f140c['replace']('-','')),_0x3f140c['startsWith']('uc-')||(_0x3f140c='uc-'+_0x3f140c),_0x2c74d4[_0x436b9f]['reg']&&_0x2c74d4[_0x436b9f]['reg'](_0x3f140c);}}const _0x563302='UC';async function _0x4abbb6(_0x159d57,_0x224d0b=!0x1){return new Promise((_0x55327b,_0x2b9a8f)=>{if('object'!=typeof document)return void _0x55327b(null);if('object'==typeof window&&window[_0x563302])return void _0x55327b(window[_0x563302]);let _0x5505e9=document['createElement']('script');_0x5505e9['async']=!0x0,_0x5505e9['src']=_0x159d57,_0x5505e9['onerror']=()=>{_0x2b9a8f();},_0x5505e9['onload']=()=>{let _0x2df209=window[_0x563302];_0x224d0b&&defineComponents(_0x2df209),_0x55327b(_0x2df209);},document['head']['appendChild'](_0x5505e9);});}var _0x261da7=Object['freeze']({'__proto__':null,'ActivityBlock':ActivityBlock,'ActivityHeader':ActivityHeader,'BaseComponent':BaseComponent,'Block':_0x337de7,'BtnUi':BtnUi,'CameraSource':_0x5119a1,'CloudImageEditor':CloudImageEditor,'CloudImageEditorActivity':CloudImageEditorActivity,'CloudImageEditorBlock':CloudImageEditorBlock,'Config':_0x308845,'Copyright':Copyright,'CropFrame':_0x3dc002,'Data':Data,'DropArea':_0x13065d,'EditorCropButtonControl':EditorCropButtonControl,'EditorFilterControl':EditorFilterControl,'EditorImageCropper':EditorImageCropper,'EditorImageFader':EditorImageFader,'EditorOperationControl':EditorOperationControl,'EditorScroller':EditorScroller,'EditorSlider':EditorSlider,'EditorToolbar':EditorToolbar,'ExternalSource':ExternalSource,'ExternalUploadSource':ExternalUploadSource,'FileItem':FileItem,'FileUploaderInline':_0x1cd1d5,'FileUploaderMinimal':_0x109533,'FileUploaderRegular':_0x1d826f,'FormInput':FormInput,'Icon':_0xaaa774,'Img':_0x1b4b6b,'LineLoaderUi':_0x26f54b,'Modal':_0x572ae5,'ModalEvents':ModalEvents,'PACKAGE_NAME':_0x568ae1,'PACKAGE_VERSION':_0x5b610b,'PresenceToggle':_0xc0608,'ProgressBar':_0x446dad,'ProgressBarCommon':_0x25cff5,'Select':Select,'SimpleBtn':SimpleBtn,'SliderUi':_0xb37f71,'SolutionBlock':SolutionBlock,'SourceBtn':SourceBtn,'SourceList':SourceList,'Spinner':_0x53ed56,'StartFrom':StartFrom,'Thumb':_0x58f784,'UID':_0x412687,'UploadCtxProvider':UploadCtxProvider,'UploadList':UploadList,'UploadSource':_0x40f277,'UploaderBlock':_0x4d0a24,'UrlSource':_0x4c8db3,'defineComponents':defineComponents,'defineLocale':_0x2c2b72,'loadFileUploaderFrom':_0x4abbb6,'toKebabCase':toKebabCase});class _0x6b6c8b extends ckeditor5['Plugin']{static get['requires'](){return[UploadcareEditing,_0xa6954b];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x571034){super(_0x571034),_0x571034['config']['define']('uploadcare.uploader.sourceList',[_0x11bda3['Local'],_0x11bda3['URL']]),defineComponents(_0x261da7);}}class UploadcareImageEditFormLoadingView extends ckeditor5['View']{constructor(_0x13ea18){super(_0x13ea18);const t=_0x13ea18['t'],_0x1460a3=this['bindTemplate'],_0x3b7e55=new ckeditor5['SpinnerView']();_0x3b7e55['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':[_0x3b7e55,{'text':_0x1460a3['to']('imageUploadProgress',_0x53987f=>t('Loading\x20image...')+'\x20('+(_0x53987f||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(_0x30a685){super(_0x30a685);const t=_0x30a685['t'];this['set']('errorType',null);const _0x141239=new ckeditor5['ButtonView'](_0x30a685);_0x141239['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x141239['withText']=!0x0,_0x141239['class']='ck-button-action',_0x141239['on']('execute',()=>{this['fire']('retry');}),_0x141239['bind']('isVisible')['to'](this,'errorType',_0x3381ce=>'NotFound'!==_0x3381ce);const _0x307399=new ckeditor5['IconView']();_0x307399['content']=ckeditor5['IconError'],_0x307399['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x1934e6=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':[_0x307399,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x1934e6['to']('errorType',_0xa9f668=>t('NotFound'!==_0xa9f668?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x141239]},{'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(_0x3261db,_0x494300){super(_0x3261db);const _0x2ccde0=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x494300,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x2ccde0['to']('imageSrc')}});}}class UploadcareImageEditFormView extends _0x5bc21c{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x124790,_0xa221f3,_0x58c95c){super(_0x124790),this['_items']=this['createCollection'](),this['_loadingView']=new UploadcareImageEditFormLoadingView(_0x124790),this['_errorView']=new UploadcareImageEditFormErrorView(_0x124790),this['_editingView']=new UploadcareImageEditFormEditingView(_0x124790,_0x58c95c),this['_focusableView']=new ckeditor5['View'](_0x124790),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0xa221f3),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'],_0x1438fc=>{this['_addUploadcareImageEditorListeners'](_0x1438fc);});}),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'](_0x3f62f5,_0x41801f){const _0x169bb5='uc-cloud-image-editor',_0x2ae6a9=_0x3f62f5['querySelector'](_0x169bb5);if(_0x2ae6a9)return _0x41801f(_0x2ae6a9);const _0x3447e2=new MutationObserver(_0x468d50=>{const _0x4ea414=_0x468d50['filter'](_0x4bdafb=>_0x4bdafb['target']===_0x3f62f5&&_0x4bdafb['addedNodes']['length']>0x0&&_0x4bdafb['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x169bb5);_0x4ea414['length']&&(_0x3447e2['disconnect'](),_0x41801f(_0x4ea414[0x0]['addedNodes'][0x0]));});_0x3447e2['observe'](_0x3f62f5,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0xcfa1e9){_0xcfa1e9['addEventListener']('apply',_0x2ca6ec=>{this['fire']('apply',{'imageSrc':_0x2ca6ec['detail']['cdnUrl']});}),_0xcfa1e9['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(_0x269d24,_0x556ea7,_0x3248b3){super(),this['_editor']=_0x269d24,this['_dialog']=_0x556ea7,this['_imageElement']=_0x3248b3,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 _0x8777c7=this['_imageElement'],_0x1bf017=_0x8777c7['getAttribute']('uploadcareImageId'),_0x11c0b0=_0x8777c7['getAttribute']('src');if(_0x1bf017)await this['_loadImageInfo'](_0x1bf017,_0x11c0b0);else{if(this['_imageCache']['has'](_0x11c0b0)){const _0x380088=this['_imageCache']['get'](_0x11c0b0);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x380088['url'],this['imageDimension']=_0x380088['dimension'],this['imageId']=_0x380088['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0xc74818}=this['_editor'],t=_0xc74818['t'],_0x5f431a=new UploadcareImageEditFormView(_0xc74818,this['imageStatus'],this['_attributes']);_0x5f431a['bind']('status')['to'](this,'imageStatus'),_0x5f431a['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x5f431a['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x5f431a['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x5f431a,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':ckeditor5['IconUploadcareImageEdit'],'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x5f431a,'position':ckeditor5['DialogViewPosition']['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x5f431a['focus']();},'onHide':()=>{_0x5f431a['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x2db90e=>!isAncestor(_0x2db90e,_0x5f431a['element'])}});}['_loadImageInfo'](_0x3f9fca,_0x3f4240){return UploadUtils['getInfo'](_0x3f9fca,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x2bd20e=>{const {width:_0x24bc3f,height:_0x4eceee}=_0x2bd20e['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x3f4240,this['imageDimension']={'width':_0x24bc3f,'height':_0x4eceee},this['imageId']=_0x3f9fca;})['catch'](_0x5f39f2=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x5f39f2['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x4066f1,_0x2589c7){return this['_getImageAsFile'](_0x4066f1)['then'](_0x518ca5=>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':_0x2589c7['signal'],'file':_0x518ca5,'onProgress':_0x56e597=>{_0x56e597&&_0x56e597['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x56e597['value']));}}))['then'](_0x534357=>{const {width:_0x5517a5,height:_0x29c2c3}=_0x534357['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x534357['cdnUrl'],this['imageDimension']={'width':_0x5517a5,'height':_0x29c2c3},this['imageId']=_0x534357['uuid'],this['imageUploadProgress']=null;const _0x76bd0d=_0x4066f1['getAttribute']('src');this['_imageCache']['set'](_0x76bd0d,{'id':_0x534357['uuid'],'url':_0x534357['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x4adc67=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x4adc67['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x1b46ea,_0x569ded){_0x1b46ea['on']('apply',(_0x488cdf,_0x376cc4)=>{this['_replaceImage'](_0x569ded,_0x376cc4['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x1b46ea['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x1b46ea['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x3ab69c,_0x2aa0e7,_0x2f6f7c){const _0x1b0f27=this['_editor'],{width:_0x22d7b8,height:_0x30ab12}=getImageDimension(_0x2aa0e7,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x3006c1,imageSources:_0x2bdd57}=getImageUrls(_0x2aa0e7,_0x22d7b8);_0x1b0f27['model']['change'](_0x30965e=>{if('$graveyard'===_0x3ab69c['root']['rootName']){_0x1b0f27['execute']('insertImage',{'imageType':_0x3ab69c['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x3ab69c['getAttributes']()),'uploadcareImageId':_0x2f6f7c,'src':_0x3006c1,'sources':_0x2bdd57,'width':_0x22d7b8,'height':_0x30ab12}});const _0x52312a=_0x3ab69c['getChildren']();_0x3ab69c=_0x1b0f27['model']['document']['selection']['getSelectedElement']();for(const _0xe2b2d0 of _0x52312a)_0x30965e['append'](_0x30965e['cloneElement'](_0xe2b2d0),_0x3ab69c);}else _0x30965e['setSelection'](_0x3ab69c,'on'),_0x1b0f27['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x3ab69c['getAttributes']()),'uploadcareImageId':_0x2f6f7c,'src':_0x3006c1,'sources':_0x2bdd57,'width':_0x22d7b8,'height':_0x30ab12},_0x3ab69c);_0x30965e['setSelection'](_0x3ab69c,'on');});}async['_getImageAsFile'](_0x470446){const _0x4b1bda=ckeditor5['global']['window'],_0x4ed0b2=ckeditor5['global']['document']['location']['href'],_0x97d958=new _0x4b1bda['URL'](_0x470446['getAttribute']('src'),_0x4ed0b2);if('data:'===_0x97d958['protocol']){const _0x1348ca=_0x97d958['href']['split'](','),_0x3aa0da=_0x1348ca[0x0]['match'](/:(.*?);/)[0x1],_0x19e07e=_0x3aa0da['split']('/')[0x1],_0x3690f1=_0x4b1bda['atob'](_0x1348ca[_0x1348ca['length']-0x1]);let _0x3910cb=_0x3690f1['length'];const _0x1bc823=new _0x4b1bda['Uint8Array'](_0x3910cb);for(;_0x3910cb--;)_0x1bc823[_0x3910cb]=_0x3690f1['charCodeAt'](_0x3910cb);return new _0x4b1bda['File']([_0x1bc823],'image.'+_0x19e07e,{'type':_0x3aa0da});}const _0x21a961=_0x97d958['href']['split']('/'),_0x4b88cf=_0x21a961[_0x21a961['length']-0x1],_0x13633f=_0x4b88cf['split']('.')[0x1];return _0x4b1bda['fetch'](_0x97d958['href'])['then'](_0x4e6ab5=>_0x4e6ab5['clone']()['blob']())['then'](_0xe49e19=>new _0x4b1bda['File']([_0xe49e19],_0x4b88cf,{'type':'image/'+_0x13633f}));}}class UploadcareImageEditCommand extends ckeditor5['Command']{['imageEditController'];static get['requires'](){return[ckeditor5['Dialog']];}['_isEditable'];constructor(_0x93d995){super(_0x93d995),this['imageEditController']=void 0x0,this['_isEditable']=createEditabilityChecker(_0x93d995['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x13f5f2=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x13f5f2);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x1036ba=this['editor']['model']['document']['selection']['getSelectedElement']();_0x1036ba&&(_0x1036ba['is']('element','imageBlock')||_0x1036ba['is']('element','imageInline'))&&(this['imageEditController']=new UploadcareImageEditController(this['editor'],this['editor']['plugins']['get'](ckeditor5['Dialog']),_0x1036ba),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class _0x3aeac2 extends ckeditor5['Command']{['refresh'](){const _0x6dc8d9=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x6dc8d9&&(_0x6dc8d9['is']('element','imageBlock')||_0x6dc8d9['is']('element','imageInline')));}['execute'](_0x37a9ad){const _0x3d8962=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x255f48=>{_0x255f48['setAttributes'](_0x37a9ad,_0x3d8962),_0x255f48['removeAttribute']('srcset',_0x3d8962),_0x255f48['removeAttribute']('sizes',_0x3d8962);});}}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:_0x19ed1b}=this;_0x19ed1b['commands']['add']('uploadcareImageEdit',new UploadcareImageEditCommand(_0x19ed1b)),_0x19ed1b['commands']['add']('uploadcareImageReplace',new _0x3aeac2(_0x19ed1b));}}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 _0x5dfc3b=this['editor'];_0x5dfc3b['ui']['componentFactory']['add']('uploadcareImageEdit',_0x57772b=>{const _0x2bac58=_0x5dfc3b['commands']['get']('uploadcareImageEdit'),_0x1ccba3=new ckeditor5['ButtonView'](_0x57772b),t=_0x57772b['t'];return _0x1ccba3['set']({'icon':ckeditor5['IconUploadcareImageEdit'],'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x1ccba3['bind']('isEnabled')['to'](_0x2bac58),_0x1ccba3['bind']('isOn')['to'](_0x2bac58,'isActive'),this['listenTo'](_0x1ccba3,'execute',()=>{_0x5dfc3b['execute']('uploadcareImageEdit'),_0x5dfc3b['editing']['view']['focus']();}),_0x1ccba3;}),this['_initConfig']();}['_initConfig'](){const _0x4d457f=ckeditor5['createElement'](document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x4d457f),this['listenTo'](this['editor'],'destroy',()=>{_0x4d457f['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;}}exports['AIActions']=AIActions,exports['AIAdapter']=AIAdapter,exports['AIAssistant']=AIAssistant,exports['AIAssistantUI']=AIAssistantUI,exports['AIBalloon']=_0x335177,exports['AIChat']=AIChat,exports['AIChatController']=AIChatController,exports['AIChatHistory']=AIChatHistory,exports['AIChatHistoryController']=AIChatHistoryController,exports['AIChatHistoryUI']=AIChatHistoryUI,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']=_0x582b95,exports['AIReviewCheckResult']=AIReviewCheckResult,exports['AIReviewCheckRun']=_0x3ac1f7,exports['AIReviewMode']=_0x46cffe,exports['AIReviewModeController']=AIReviewModeController,exports['AIReviewModeEditing']=AIReviewModeEditing,exports['AIReviewModeUI']=_0x128634,exports['AITabs']=_0x564b61,exports['AITextAdapter']=AITextAdapter,exports['AIToggleButtonUI']=AIToggleButtonUI,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']=_0x383e2b,exports['CaseChangeCommand']=_0x305ec8,exports['CaseChangeEditing']=CaseChangeEditing,exports['CaseChangeUI']=_0x14cb08,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']=_0x4497bd,exports['CopyFormatCommand']=CopyFormatCommand,exports['DATA_ID_MODEL_ATTRIBUTE']=_0x146f44,exports['DATA_ID_VIEW_ATTRIBUTE']=_0x65defd,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']=_0x33435d,exports['FontEmailIntegration']=FontEmailIntegration,exports['FormatPainter']=FormatPainter,exports['FormatPainterEditing']=FormatPainterEditing,exports['FormatPainterUI']=FormatPainterUI,exports['GeneralHtmlIntegrationSupport']=GeneralHtmlIntegrationSupport,exports['HeadingId']=_0x30325b,exports['HighlightEmailIntegration']=HighlightEmailIntegration,exports['ImageEmailIntegration']=ImageEmailIntegration,exports['ImportWord']=ImportWord,exports['ImportWordCommand']=ImportWordCommand,exports['ImportWordEditing']=ImportWordEditing,exports['ImportWordUI']=ImportWordUI,exports['InlineAnnotations']=InlineAnnotations,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['LineHeightUI']=LineHeightUI,exports['LinkEmailIntegration']=LinkEmailIntegration,exports['ListEmailIntegration']=ListEmailIntegration,exports['MarkdownEmailIntegration']=MarkdownEmailIntegration,exports['MathTypeEmailIntegration']=MathTypeEmailIntegration,exports['MediaEmbedEmailIntegration']=MediaEmbedEmailIntegration,exports['MergeFields']=_0x2049bf,exports['MergeFieldsEditing']=MergeFieldsEditing,exports['MergeFieldsEmailIntegration']=MergeFieldsEmailIntegration,exports['MergeFieldsUI']=_0x222141,exports['MultiLevelList']=MultiLevelList,exports['MultiLevelListCommand']=MultiLevelListCommand,exports['MultiLevelListEditing']=MultiLevelListEditing,exports['MultiLevelListEmailIntegration']=MultiLevelListEmailIntegration,exports['MultiLevelListUI']=MultiLevelListUI,exports['NarrowSidebar']=_0x59e16e,exports['OpenAITextAdapter']=OpenAITextAdapter,exports['Pagination']=Pagination,exports['PaginationRenderer']=PaginationRenderer,exports['PasteFormatCommand']=PasteFormatCommand,exports['PasteFromOfficeEnhanced']=PasteFromOfficeEnhanced,exports['Permissions']=_0x4e2366,exports['PresenceList']=PresenceList,exports['PresenceListUI']=PresenceListUI,exports['PreviewFinalContentCommand']=PreviewFinalContentCommand,exports['PreviewMergeFieldsCommand']=_0x37b011,exports['RealTimeCollaborationClient']=RealTimeCollaborationClient,exports['RealTimeCollaborativeComments']=RealTimeCollaborativeComments,exports['RealTimeCollaborativeEditing']=RealTimeCollaborativeEditing,exports['RealTimeCollaborativeRevisionHistory']=RealTimeCollaborativeRevisionHistory,exports['RealTimeCollaborativeTrackChanges']=RealTimeCollaborativeTrackChanges,exports['ReplaceSourceCommand']=_0x4beccc,exports['RestoreRevisionCommand']=RestoreRevisionCommand,exports['Revision']=_0x5921bf,exports['RevisionHistory']=RevisionHistory,exports['RevisionHistoryUI']=RevisionHistoryUI,exports['RevisionHistoryUtils']=RevisionHistoryUtils,exports['RevisionTracker']=_0x2a039b,exports['RevisionViewer']=_0x301cfe,exports['RevisionViewerEditor']=RevisionViewerEditor,exports['RevisionViewerIntegration']=RevisionViewerIntegration,exports['RevisionViewerLoadingOverlay']=_0x55a6e4,exports['RevisionViewerUI']=_0x5c2209,exports['RevisionsRepository']=RevisionsRepository,exports['RevisionsSidebar']=_0x41ef16,exports['Sessions']=_0x22cf0d,exports['ShowAIAssistantCommand']=ShowAIAssistantCommand,exports['ShowChangeCommand']=_0x5b3b3f,exports['Sidebar']=_0x3c5ed0,exports['SlashCommand']=_0x599882,exports['SlashCommandConfig']=_0x26ae96,exports['SlashCommandEditing']=SlashCommandEditing,exports['SlashCommandUI']=_0x4994f8,exports['SourceEditingEmailIntegration']=SourceEditingEmailIntegration,exports['SourceEditingEnhanced']=SourceEditingEnhanced,exports['Suggestion']=Suggestion,exports['SuggestionDescriptionFactory']=SuggestionDescriptionFactory,exports['SuggestionThreadView']=SuggestionThreadView,exports['SuggestionView']=SuggestionView,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']=_0x40dfcc,exports['TrackChanges']=_0x2ffeb4,exports['TrackChangesCommand']=_0x5031ab,exports['TrackChangesData']=TrackChangesData,exports['TrackChangesDataGetter']=TrackChangesDataGetter,exports['TrackChangesEditing']=TrackChangesEditing,exports['TrackChangesPreview']=_0x3b5300,exports['TrackChangesUI']=_0x2c7e15,exports['UploadEmailIntegration']=UploadEmailIntegration,exports['Uploadcare']=_0x6b6c8b,exports['UploadcareCommand']=_0x500c4f,exports['UploadcareEditing']=UploadcareEditing,exports['UploadcareImageEdit']=UploadcareImageEdit,exports['UploadcareImageEditCommand']=UploadcareImageEditCommand,exports['UploadcareImageEditEditing']=UploadcareImageEditEditing,exports['UploadcareImageEditUI']=UploadcareImageEditUI,exports['UploadcareUI']=_0xa6954b,exports['UploadcareUploadAdapter']=UploadcareUploadAdapter,exports['UserView']=_0x278fab,exports['Users']=_0x38ef77,exports['WebSocketGateway']=WebSocketGateway,exports['WideSidebar']=_0x120cfd,exports['bindAnnotationCollections']=bindAnnotationCollections,exports['createResizeButton']=createResizeButton,exports['dropImportantStyleSuffix']=dropImportantStyleSuffix,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['surroundingMarkersDetector']=surroundingMarkersDetector,exports['trimHtml']=trimHtml;});